CN111030663A - Adaptive gating circuit, method, apparatus and device - Google Patents
Adaptive gating circuit, method, apparatus and device Download PDFInfo
- Publication number
- CN111030663A CN111030663A CN201911102062.2A CN201911102062A CN111030663A CN 111030663 A CN111030663 A CN 111030663A CN 201911102062 A CN201911102062 A CN 201911102062A CN 111030663 A CN111030663 A CN 111030663A
- Authority
- CN
- China
- Prior art keywords
- circuit
- voltage
- port
- microcontroller
- shunt
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000003044 adaptive effect Effects 0.000 title claims abstract description 56
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000004891 communication Methods 0.000 claims description 8
- 230000005669 field effect Effects 0.000 claims description 5
- 230000000694 effects Effects 0.000 abstract description 9
- 230000001960 triggered effect Effects 0.000 abstract description 4
- 238000005516 engineering process Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/51—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used
- H03K17/56—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of semiconductor devices
- H03K17/687—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of semiconductor devices the devices being field-effect transistors
Landscapes
- Measurement Of Current Or Voltage (AREA)
Abstract
The application relates to an adaptive gating circuit, a method, a device and equipment. Based on the self-adaptive gating circuit, the shunt port is connected with the COM port through the corresponding switching tube circuit, and the microcontroller is respectively connected with the control end of each switching tube circuit, so that the connection and disconnection of each switching tube circuit can be controlled, and the selection of a path is realized. Specifically, the microcontroller is respectively connected with each shunt port, can acquire the voltage value of each shunt port, and outputs gating and turn-off enabling based on the comparison result of each voltage value and the reference voltage, thereby avoiding the ping-pong effect and improving the reliability; the voltage value of the shunt port can be triggered by the COM port through the DC-DC circuit, and can also be triggered by connected external equipment. Based on above-mentioned structure, microcontroller can switch on corresponding branch port under the state of combiner or branching unit, has abundant mode, and simultaneously, circuit structure is simple, and the safety of feed circuit and equipment can be ensured to microcontroller mode configuration and later stage extension of being convenient for.
Description
Technical Field
The present application relates to the field of radio frequency communication technologies, and in particular, to an adaptive gating circuit, method, apparatus, and device.
Background
A combiner used in an antenna feed system often needs to provide a signal gating circuit including a direct current signal and a radio frequency control signal (AISG) for transmitting power and control signals to a tower top amplifier and an electrical tuning control device.
The conventional technology can realize the on or off control of the direct current and the control signal path, but in the realization process, the inventor finds that at least the following problems exist in the conventional technology: the traditional technology is easy to generate ping-pong effect, causes the switch to switch back and forth, and affects the normal power supply gating work and the reliability of the product.
Disclosure of Invention
Therefore, it is necessary to provide a self-adaptive gating circuit, a method, a device and an apparatus for solving the problems that the conventional technology is easy to generate a ping-pong effect, causes the switch to switch back and forth, and affects the normal power supply gating work of a system and the reliability of a product.
In order to achieve the above object, in one aspect, an embodiment of the present application provides an adaptive gating circuit, including:
a DC-DC circuit; the input end of the DC-DC circuit is used for connecting a COM port, and the output end of the DC-DC circuit is used for respectively connecting each shunt port;
the switch tube circuits correspond to the branch ports one by one; the first end of the switching tube circuit is used for connecting the corresponding shunt port, and the second end of the switching tube circuit is used for connecting the COM port;
the microcontroller is respectively connected with the control end of each switching tube circuit and is used for respectively connecting each shunt port;
the microcontroller is used for collecting the voltage value of each shunt circuit port and controlling the corresponding switch tube circuit to be conducted based on the comparison result of each voltage value and the reference voltage.
In one embodiment, the adaptive gating circuit further comprises:
and the input end of the COM port voltage division circuit is connected with a COM port, and the output end of the COM port voltage division circuit is connected with the microcontroller.
In one embodiment, the adaptive gating circuit further comprises:
the shunt port bleeder circuits correspond to the shunt ports one by one; the input end of the shunt port voltage division circuit is used for being connected with the corresponding shunt port, and the output end of the shunt port voltage division circuit is connected with the microcontroller.
In one embodiment, the adaptive gating circuit further comprises:
the anode of the first diode is connected with the COM port, and the cathode of the first diode is connected with the input end of the DC-DC circuit;
the second diodes correspond to the branch ports one by one; the anode of the second diode is connected with the output end of the DC-DC circuit, and the cathode of the second diode is used for connecting the corresponding shunt port;
a plurality of third diodes corresponding to the respective branch ports one to one; the anode of the third diode is used for connecting the corresponding shunt port, and the cathode of the third diode is used as the input end of the DC-DC circuit;
the output end of the DC-DC circuit is also connected with the microcontroller.
In one embodiment, the switching tube circuit is a field effect tube switching circuit.
On the other hand, the embodiment of the present application further provides an adaptive gating method, which is applied to the adaptive gating circuit.
The adaptive gating method comprises the following steps:
the microcontroller collects the voltage value of each shunt circuit port; the voltage value is obtained by the shunt port according to the judgment voltage or the working voltage; the judgment voltage is a voltage transmitted to the shunt port by the COM port through the DC-DC circuit; the working voltage is the voltage transmitted by the external equipment connected with the shunt port;
and the microcontroller compares each voltage value with the reference voltage respectively and controls the corresponding switching tube circuit to be conducted based on the obtained comparison result.
In one embodiment, before the step of acquiring the voltage value of each shunt port by the microcontroller, the method further comprises the steps of:
the microcontroller detects whether an external input voltage exists in the COM port: if so, the voltage value is obtained by the shunt port according to the judgment voltage; if not, the voltage value is obtained by the shunt port according to the working voltage.
In one embodiment, the step of comparing, by the microcontroller, each voltage value with the reference voltage, and controlling the conduction of the corresponding switching tube circuit based on the obtained comparison result includes:
and when the COM port has external input voltage and the voltage value is greater than the reference voltage, the microcontroller switches on the shunt port corresponding to the voltage value.
In one embodiment, the step of comparing, by the microcontroller, each voltage value with the reference voltage, and controlling the conduction of the corresponding switching tube circuit based on the obtained comparison result includes:
and when the COM port has no external input voltage and at least one voltage value is greater than the reference voltage, the microcontroller conducts the shunt port corresponding to one voltage value according to a set working mode.
In one embodiment, when the COM port does not have an external input voltage and at least one voltage value is greater than the reference voltage, the step of turning on the shunt port corresponding to one of the voltage values by the microcontroller according to the set working mode includes at least one of the following steps:
and when the working mode of the microcontroller is a first-in first-pass mode, the shunt port corresponding to the voltage value which is reached firstly is conducted.
And when the working mode of the microcontroller is the priority mode, the shunt port corresponding to the voltage value with the highest priority is conducted.
And when the working mode of the microcontroller is an exclusive/exclusive mode, the shunt port corresponding to the voltage value greater than the threshold voltage is conducted.
In one embodiment, the adaptive gating method further includes the steps of:
and when the microcontroller acquires the preset voltage through the COM port, the microcontroller enters a configuration mode and is in communication connection with an external terminal through the shunt port.
In one embodiment, there is provided an adaptive gating apparatus, provided in a microcontroller of the above adaptive gating circuit, including:
the voltage value acquisition module is used for acquiring the voltage value of each shunt port; the voltage value is obtained by the shunt port according to the judgment voltage or the working voltage; the judgment voltage is a voltage transmitted to the shunt port by the COM port through the DC-DC circuit; the working voltage is the voltage transmitted by the external equipment connected with the shunt port.
And the path gating module is used for comparing each voltage value with the reference voltage respectively and controlling the corresponding switching tube circuit to be conducted based on the obtained comparison result.
In one embodiment, there is provided an apparatus comprising:
a COM port;
a plurality of drop ports;
such as the adaptive gating circuit described above.
One of the above technical solutions has the following advantages and beneficial effects:
the shunt port is connected with the COM port through the corresponding switch tube circuit, and the microcontroller is respectively connected with the control end of each switch tube circuit, so that the connection and disconnection of each switch tube circuit can be controlled, and the selection of a path is realized. Specifically, the microcontroller is respectively connected with each shunt port, can acquire the voltage value of each shunt port, and outputs gating and turn-off enabling based on the comparison result of each voltage value and the reference voltage, thereby avoiding the ping-pong effect and improving the reliability; the voltage value of the shunt port can be triggered by the COM port through the DC-DC circuit, and can also be triggered by connected external equipment. Based on above-mentioned structure, microcontroller can switch on corresponding branch port under the state of combiner or branching unit, has abundant mode, and simultaneously, circuit structure is simple, and the safety of feed circuit and equipment can be ensured to microcontroller mode configuration and later stage extension of being convenient for.
Drawings
The foregoing and other objects, features and advantages of the application will be apparent from the following more particular description of preferred embodiments of the application, as illustrated in the accompanying drawings. The same reference numerals are used throughout the drawings to denote the same parts, and the drawings are not intended to be drawn to scale in actual dimensions, with emphasis instead being placed upon illustrating the subject matter of the present application:
FIG. 1 is a first schematic block diagram of an adaptive gating circuit in one embodiment;
FIG. 2 is a second schematic block diagram of an adaptive gating circuit in one embodiment;
FIG. 3 is a third schematic block diagram of an adaptive gating circuit in one embodiment;
FIG. 4 is a first schematic flow chart diagram of an adaptive gating method in one embodiment;
FIG. 5 is a first schematic flow chart diagram of an adaptive gating method in one embodiment;
fig. 6 is a schematic structural diagram of an adaptive gating apparatus in an embodiment.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present application are shown in the drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element and be integral therewith, or intervening elements may also be present. The terms "on", "input", "output" and the like are used herein for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The traditional technology has realized the automatic gating of the combiner and the splitter, but all the automatic gating and the automatic gating are realized by hardware-only circuits. The operational amplifier is used for comparing voltage sampling with reference voltage to judge on-off, if the sampling voltage is in a critical state, a ping-pong effect is generated, so that the switch is switched back and forth, and the normal power supply gating work of a system is influenced; in addition, a mechanical switch is adopted for switching on and off, so that the defects of low response speed (millisecond level), large internal resistance (hundred milliohm level), short service life, large working current (dozens of milliampere level) and the like exist, and especially when multiple paths work simultaneously, the total power consumption is large, and the reliability of a product is influenced; meanwhile, the threshold voltage is set to a fixed value, and when the impedance of the detection port changes (such as connection to a load or internal multi-path parallel connection), the threshold may be inappropriate, so that the corresponding channel cannot be correctly gated and shut off. The traditional technology can realize the gating of direct current and control signals when the device is used as a combiner, but cannot realize the gating of direct current and control signals when the device is used as a splitter. Therefore, the embodiment of the present application provides an intelligent adaptive gating circuit, which can solve the above problems.
In one embodiment, there is provided an adaptive gating circuit, as shown in fig. 1, comprising:
a DC-DC circuit; the input end of the DC-DC circuit is used for connecting a COM port, and the output end of the DC-DC circuit is used for respectively connecting each shunt port.
The switch tube circuits correspond to the branch ports one by one; the first end of the switching tube circuit is used for connecting the corresponding shunt port, and the second end of the switching tube circuit is used for connecting the COM port.
And the microcontroller is respectively connected with the control end of each switching tube circuit and is used for respectively connecting each shunt port.
The microcontroller is used for collecting the voltage value of each shunt circuit port and controlling the corresponding switch tube circuit to be conducted based on the comparison result of each voltage value and the reference voltage.
Specifically, the adaptive gating circuit comprises a microcontroller, a DC-DC circuit and a plurality of switching tube circuits; the switch tube circuits are connected between the corresponding branch ports and the combining port, and the microcontroller is respectively connected with the control end of each switch tube circuit and each branch port. Based on the structure, the microcontroller can collect the voltage values of the shunt ports, compare the voltage values with the reference voltage respectively, and control the conduction of the corresponding switch tube circuit based on the obtained comparison result, so as to complete the conduction of the corresponding shunt port and a COM port (combined port), thereby realizing the gating of the plurality of shunt ports. Specifically, the voltage value may be obtained by the shunt port according to the judgment voltage or the working voltage; the judgment voltage is a voltage transmitted to the shunt port by the COM port through the DC-DC circuit; the working voltage is the voltage transmitted by the external equipment connected with the shunt port.
In one example, the microcontroller may turn on a shunt port having a voltage value greater than the reference voltage in the shunt state. In another example, the microcontroller may turn on one of the shunt ports having a voltage value greater than the reference voltage in the combiner state; furthermore, the microcontroller can also determine a shunt port needing to be conducted from a plurality of voltage values larger than the reference voltage according to the set working mode; the working modes at least comprise a first-in first-through mode, a priority mode and an exclusive/exclusive mode.
It should be noted that the microcontroller may set a plurality of reference voltages for different operating modes or circuit states to meet the gating requirements for connecting different types of devices. Further, the microcontroller may switch circuit states, i.e., switching of combiner and splitter states; illustratively, the switching can be carried out according to an external indication signal, and the external indication signal can also be used for determining whether an external input voltage exists in the COM port or not. In the process that the microcontroller controls the on-off of the switching tube circuit according to the comparison result of the voltage value and the reference voltage, because the shunt port can be connected with different devices, such as an antenna, an electric regulation control device and the like, the impedance of the shunt port and the fixed resistor are divided to obtain a voltage value, and the microcontroller can judge the state of the shunt port according to the voltage value. For example, if the shunt port is directly connected to the antenna and the impedance is small, the voltage value of the shunt port is close to zero, and the microcontroller determines that the voltage value is smaller than the reference voltage and does not conduct the shunt port; if the shunt port is connected with the electric regulation control equipment, the impedance is large, the shunt port can detect a certain voltage value, and the microcontroller judges that the voltage value is larger than the reference voltage, so that the shunt port can be conducted. The microcontroller may acquire the voltage of the shunt port by an ADC (analog to digital converter) voltage acquisition method, and the specific structure may be set according to actual requirements, which is not specifically limited herein.
The switching tube circuit may be a triode switching circuit, a field effect tube switching circuit, etc., and is not limited herein. The switching mode of the traditional technology causes large total working current, and cannot distinguish the alarm threshold of the original CWA (current window alarm) TMA (Tower amplifier), but the switching tube circuit has the advantages of high switching speed (nanosecond level), low power consumption (microampere level of working current), small internal resistance (less than or equal to 0.1 ohm), low voltage, long service life and the like based on the matching of a microcontroller and the switching tube circuit; the total operating current of the circuit can be as low as ten milliamperes, and the system is compatible with system application using a CWA alarm mode TMA on a 2G (2-Generation Wireless telephone technology, second-Generation mobile phone communication specification)/3G (3rd-Generation, third-Generation mobile communication technology) tower. It should be noted that the switching tube circuit is default to the open state, and when receiving the control signal sent by the microcontroller, the switching tube circuit is in the conducting state, thereby realizing the conduction between the corresponding shunt port and the COM port.
The DC-DC circuit can be used for reducing the voltage of the input voltage of the COM port and then transmitting the reduced voltage to each shunt port, so that the microcontroller can conveniently judge the state of the shunt port. It should be noted that the number of the input terminals and the output terminals of the DC-DC circuit may be plural, and is not particularly limited herein.
According to the embodiment of the application, the microcontroller is used for collecting the voltage value of the shunt port and comparing the voltage value with the set reference voltage, and then gating off enabling is output. Based on this, can set up the comparison window in the microcontroller, avoid the ping-pong effect, guarantee the normal operating of power supply gating work, improve the reliability of product.
In one embodiment, as shown in fig. 2, the adaptive gating circuit further includes:
and the input end of the COM port voltage division circuit is connected with a COM port, and the output end of the COM port voltage division circuit is connected with the microcontroller.
Specifically, the microcontroller is also connected with a COM port through a COM port voltage division circuit. Based on the structure, the microcontroller can detect whether the COM port has external input voltage or not, and further confirm whether the circuit state is a combiner or a splitter. The embodiment of the application adopts a simple circuit structure to realize state switching and reduce circuit cost.
In one example, if an external input voltage exists in the COM port, the circuit state is determined to be the shunt, at this time, each path formed by the COM port and each shunt port is in an off state, and the DC-DC circuit steps down the input voltage of the COM port to obtain a judgment voltage and then respectively transmits the judgment voltage to each shunt port; the shunt port impedance and the fixed resistor are divided to obtain a voltage value, and the microcontroller judges the port state according to the voltage value.
In another example, if the COM port does not have the external input voltage, it is determined that the circuit state is the combiner, at this time, each path formed by the COM port and each shunt port is in the off state, and the microcontroller may determine whether the voltage value is the electrical tuning control device according to the voltage value accessed by the shunt port, and if so, turn on the shunt port corresponding to one of the voltage values according to the set working mode. Based on this, when this application embodiment is used as the combiner, a maximum conduction route can prevent to connect by mistake and destroy equipment.
In one embodiment, as shown in fig. 2, the adaptive gating circuit further includes:
the shunt port bleeder circuits correspond to the shunt ports one by one; the input end of the shunt port voltage division circuit is used for being connected with the corresponding shunt port, and the output end of the shunt port voltage division circuit is connected with the microcontroller.
Specifically, the microcontroller is connected with the corresponding branch ports through the branch port voltage division circuits respectively, and then the voltage values of the branch ports can be acquired. Illustratively, the voltage of each shunt port is divided by a voltage dividing circuit and then transmitted to the microcontroller; the microcontroller calculates the actual voltage value of the shunt port through the ADC, and then can judge and output control signals according to different working modes. According to the embodiment of the application, the voltage data of the shunt port and the COM port are collected through the voltage division circuit, and the safety and the reliability of the circuit are improved.
In one embodiment, as shown in fig. 3, the adaptive gating circuit further includes:
and a first diode 310, wherein the anode of the first diode 310 is used for connecting the COM port, and the cathode of the first diode 310 is connected with the input end of the DC-DC circuit.
A plurality of second diodes 320 corresponding to the respective shunt ports one to one; the anode of the second diode 320 is connected to the output of the DC-DC circuit, and the cathode of the second diode 320 is used to connect to the corresponding shunt port.
A plurality of third diodes 330 corresponding to the respective shunt ports one to one; the anode of the third diode 330 is used to connect the corresponding shunt port, and the cathode of the third diode 330 is used to connect the input of the DC-DC circuit.
The output end of the DC-DC circuit is also connected with the microcontroller.
Specifically, the first diode 310 is used to be connected between the COM port and the input terminal of the DC-DC circuit, the third diode 330 is connected between the corresponding shunt port and the input terminal of the DC-DC circuit, and the output terminal of the DC-DC circuit is also connected to the microcontroller. Meanwhile, a second diode 320 is connected between the shunt port and the output terminal of the DC-DC circuit. Based on the structure, when the connection of each shunt port and the COM port has DC voltage, stable working voltage can be provided for the microcontroller through the DC-DC circuit, and voltage signals among lines cannot interfere with each other; based on this, the embodiment of the application can simplify the structure of the circuit and reduce the cost.
In one embodiment, the switching tube circuit is a field effect tube switching circuit.
Specifically, the field effect transistor switch circuit has the advantages of high switching speed (nanosecond), low power consumption (microampere of working current), small internal resistance (less than or equal to 0.1 ohm), low voltage drop, long service life and the like, can enable the total working current of the self-adaptive gating circuit to be as low as more than ten milliamperes, and can be compatible with the system application of using a CWA alarm mode TMA on a tower in 2G/3G times.
In one embodiment, the microcontroller is further configured to detect whether an external input voltage is present at the COM port: if so, the voltage value is obtained by the shunt port according to the judgment voltage; if not, the voltage value is obtained by the shunt port according to the working voltage.
In one embodiment, the microcontroller is further configured to turn on the shunt port corresponding to the voltage value when the external input voltage is present at the COM port and the voltage value is greater than the reference voltage.
In one embodiment, the microcontroller is further configured to turn on the shunt port corresponding to one of the voltage values according to the set operating mode when the external input voltage does not exist in the COM port and at least one of the voltage values is greater than the reference voltage. Illustratively, at least one of the following steps may be included:
when the working mode of the microcontroller is a first-in first-through mode, a shunt port corresponding to a voltage value which is reached firstly is conducted;
when the working mode of the microcontroller is the priority mode, the shunt port corresponding to the voltage value with the highest priority is conducted;
and when the working mode of the microcontroller is an exclusive/exclusive mode, the shunt port corresponding to the voltage value greater than the threshold voltage is conducted.
In one embodiment, the microcontroller is further configured to enter a configuration mode and be in communication connection with an external terminal through the shunt port when acquiring a preset voltage through the COM port.
In one embodiment, there is provided an adaptive gating method applied to the adaptive gating circuit as described above, as shown in fig. 4, including the steps of:
step S110, the microcontroller collects the voltage values of all the shunt circuit ports; the voltage value is obtained by the shunt port according to the judgment voltage or the working voltage; the judgment voltage is a voltage transmitted to the shunt port by the COM port through the DC-DC circuit; the working voltage is the voltage transmitted by the external equipment connected with the shunt port.
And step S120, comparing each voltage value with the reference voltage by the microcontroller, and controlling the corresponding switching tube circuit to be conducted based on the obtained comparison result.
Specifically, if the adaptive gating circuit is in the state of the shunt, the microcontroller acquires a voltage value generated by the shunt port according to the judgment voltage; if the self-adaptive gating circuit is in the state of the combiner, the voltage value generated by the shunt port according to the working voltage is acquired by the microcontroller. Further, the microcontroller can determine the state of the shunt port connection equipment according to the comparison result of the voltage value and the reference voltage, and further obtain the shunt port needing to be conducted. The state of the shunt circuit port is identified by the reference voltage arranged in the microcontroller, so that the ping-pong effect can be avoided, and the reliability of the product is improved.
In one embodiment, as shown in fig. 5, before the step of the microcontroller acquiring the voltage value of each shunt port, the method further includes the steps of:
step S108, the microcontroller detects whether an external input voltage exists in the COM port: if so, the voltage value is obtained by the shunt port according to the judgment voltage; if not, the voltage value is obtained by the shunt port according to the working voltage.
Specifically, the microcontroller may first detect whether the COM port has an external input voltage to distinguish whether the circuit is used as a splitter or a combiner. When voltage of the COM port is detected, the device is used as a shunt, and at the moment, the voltage value acquired by the microcontroller is obtained by a shunt port according to the judgment voltage; the judgment voltage is obtained by reducing the voltage of the external input voltage of the COM port through the DC-DC circuit. When the COM port is detected to have no voltage, the circuit is used as a combiner, and at the moment, the voltage value acquired by the microcontroller is obtained by the shunt port according to the working voltage; the working voltage is obtained by external equipment transmission connected with the shunt port; further, the microcontroller can also judge the type of the device connected with the shunt port according to the voltage value. Based on this, microcontroller can carry out the switching of combiner state and branching unit state, simplifies the operation procedure.
In one embodiment, as shown in fig. 5, the step of comparing, by the microcontroller, each voltage value with the reference voltage, and controlling the corresponding switching tube circuit to be turned on based on the obtained comparison result includes:
and step S122, when the external input voltage exists in the COM port and the voltage value is greater than the reference voltage, the microcontroller turns on the shunt port corresponding to the voltage value.
Specifically, when the microcontroller checking circuit is used as a shunt, the voltage value generated by each shunt port based on the judgment voltage is detected, and if the voltage value is greater than the reference voltage, the conduction of the shunt port and the COM port is controlled through the switching tube circuit, so that the transmission of signals from the COM port to the shunt port is realized. Based on this, when the circuit is in the state of the shunt, the embodiment of the application has the microcontroller to realize the gating of the shunt port, thereby avoiding the ping-pong effect and improving the gating reliability.
In one embodiment, as shown in fig. 5, the step of comparing, by the microcontroller, each voltage value with the reference voltage, and controlling the corresponding switching tube circuit to be turned on based on the obtained comparison result includes:
and step S126, when the COM port does not have external input voltage and at least one voltage value is greater than the reference voltage, the microcontroller turns on the shunt port corresponding to one voltage value according to the set working mode.
Specifically, when the microcontroller checking circuit is used as a combiner, voltage values generated by the shunt ports based on the operating voltage are detected, and if at least one voltage value is larger than the reference voltage, the conduction between the shunt port and the COM port is controlled by the switching tube circuit according to a preset operating mode, so that the transmission of signals from the shunt port to the COM port is realized. Based on this, when the circuit is in the combiner state, the embodiment of the application has the microcontroller to realize gating of the shunt port, so that the ping-pong effect is avoided, and the gating reliability is improved. Moreover, the microcontroller can set various working modes according to requirements, and the configuration is convenient. Meanwhile, when the combiner is used, at most one path is conducted, so that the equipment can be prevented from being damaged due to misconnection.
In one example, the microcontroller determines whether the voltage value obtained by the voltage dividing circuit according to the voltage accessed by the shunt port is the electrical tuning control device, and if so, determines whether to gate the path according to a set working mode.
In one embodiment, when the COM port does not have an external input voltage and at least one voltage value is greater than the reference voltage, the step of turning on the shunt port corresponding to one of the voltage values by the microcontroller according to the set working mode includes the steps of:
and when the working mode of the microcontroller is a first-in first-pass mode, the shunt port corresponding to the voltage value which is reached firstly is conducted.
Specifically, when the voltage values of the plurality of branch ports are larger than the reference voltage, the microcontroller turns on the path of the port which is firstly turned on by the effective voltage, and the other ports are kept in an off state regardless of whether the voltage values of the other ports are larger than the reference voltage.
For example, in the first-in first-through mode, in all the branch ports, when any one port is firstly connected with an effective DC voltage, the corresponding path of the port is connected, and the other ports are kept in an off state regardless of whether the DC voltage exists.
In one embodiment, when the COM port does not have an external input voltage and at least one voltage value is greater than the reference voltage, the step of turning on the shunt port corresponding to one of the voltage values by the microcontroller according to the set working mode includes the steps of:
and when the working mode of the microcontroller is the priority mode, the shunt port corresponding to the voltage value with the highest priority is conducted.
Specifically, the microcontroller may set priorities to the branch ports according to requirements, and when the voltage values of the plurality of branch ports are greater than the reference voltage, the effective port with the highest priority among the plurality of branch ports is turned on, and the rest of the ports are kept in an off state.
Exemplarily, in the priority mode, the microcontroller sets priorities for a plurality of ports according to requirements, and then switches on the effective port with the highest priority, and the rest ports keep off states; when the higher priority port detects a DC voltage, then all ports are turned off and then the higher priority port is turned on.
In one embodiment, when the COM port does not have an external input voltage and at least one voltage value is greater than the reference voltage, the step of turning on the shunt port corresponding to one of the voltage values by the microcontroller according to the set working mode includes the steps of:
and when the working mode of the microcontroller is an exclusive/exclusive mode, the shunt port corresponding to the voltage value greater than the threshold voltage is conducted.
Specifically, the microcontroller may be provided with a threshold voltage, and when the voltage value of one of the shunt ports is greater than the threshold voltage, the shunt port voltage is an effective voltage, the path corresponding to the port is turned on, and all the other paths are turned off. It should be noted that the threshold voltage may be set according to actual requirements, and for example, the value of the threshold voltage may range from 7.5V (volt) to 31V, such as 15V, 24V, or 30V, and is not limited herein.
In one embodiment, the adaptive gating method further comprises the steps of:
and when the microcontroller acquires the preset voltage through the COM port, the microcontroller enters a configuration mode and is in communication connection with an external terminal through the shunt port.
Specifically, a voltage in a specific range is connected to the COM port, and when the voltage is detected to be in a preset voltage range by the microcontroller, the configuration mode is automatically entered; and computer on-line communication can be carried out from the branch port through the special cable. Furthermore, OMT (Operation & Maintenance Terminal) can be used for mode setting, monitoring, diagnosis and the like, and functions of function mode configuration (first-in first-out, priority mode and exclusive/exclusive mode), communication with a host computer, alarm and the like can be realized, so that the diversified requirements of customers are met.
The embodiment of the application also has the function of setting the working mode by external connection, namely, the modification of the working mode can be realized under the condition that the device cover plate is not disassembled.
According to the method, the microcontroller is used for detecting the voltage of each shunt port, and the corresponding port is selected to be conducted according to the working mode; meanwhile, the circuit can be automatically detected to be used as a combiner or a splitter; when the circuit is used as a combiner, three working modes can be realized, namely a first-pass mode, a priority mode and an exclusive mode. Moreover, the circuit structure related to the embodiment of the application is relatively simple, and later expansion is facilitated.
It should be understood that although the steps in the flowcharts of fig. 4 and 5 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 4 and 5 may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
In one embodiment, an adaptive gating apparatus is provided, which is disposed in a microcontroller of the adaptive gating circuit, as shown in fig. 6, and includes:
the voltage value acquisition module is used for acquiring the voltage value of each shunt port; the voltage value is obtained by the shunt port according to the judgment voltage or the working voltage; the judgment voltage is a voltage transmitted to the shunt port by the COM port through the DC-DC circuit; the working voltage is the voltage transmitted by the external equipment connected with the shunt port.
And the path gating module is used for comparing each voltage value with the reference voltage respectively and controlling the corresponding switching tube circuit to be conducted based on the obtained comparison result.
For specific limitations of the adaptive gating apparatus, reference may be made to the above limitations of the adaptive gating method, which are not described herein again. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation. The various modules in the adaptive gating device described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, there is provided an apparatus comprising:
a COM port;
a plurality of drop ports;
such as the adaptive gating circuit described above.
For specific limitations of the device, reference may be made to the limitations of the adaptive gating circuit and method described above, and further description thereof is omitted here.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims (13)
1. An adaptive gating circuit, comprising:
a DC-DC circuit; the input end of the DC-DC circuit is used for connecting a COM port, and the output end of the DC-DC circuit is used for respectively connecting each shunt port;
a plurality of switching tube circuits corresponding to the branching ports one to one; the first end of the switching tube circuit is used for connecting the corresponding shunt port, and the second end of the switching tube circuit is used for connecting the COM port;
the microcontroller is respectively connected with the control end of each switching tube circuit and is used for respectively connecting each shunt port;
the microcontroller is used for collecting voltage values of the shunt ports and controlling the corresponding switch tube circuit to be conducted based on comparison results of the voltage values and the reference voltage.
2. The adaptive gating circuit of claim 1, further comprising:
and the input end of the COM port voltage division circuit is connected with the COM port, and the output end of the COM port voltage division circuit is connected with the microcontroller.
3. The adaptive gating circuit of claim 1, further comprising:
a plurality of branch port voltage division circuits corresponding to the branch ports one to one; the input end of the branch port voltage division circuit is used for being connected with the corresponding branch port, and the output end of the branch port voltage division circuit is connected with the microcontroller.
4. The adaptive gating circuit of claim 1, further comprising:
the anode of the first diode is connected with the COM port, and the cathode of the first diode is connected with the input end of the DC-DC circuit;
a plurality of second diodes corresponding to the branching ports one to one; the anode of the second diode is connected with the output end of the DC-DC circuit, and the cathode of the second diode is used for connecting the corresponding shunt port;
a plurality of third diodes corresponding to the branching ports one to one; the anode of the third diode is used for being connected with the corresponding shunt port, and the cathode of the third diode is used for being connected with the input end of the DC-DC circuit;
the output end of the DC-DC circuit is also connected with the microcontroller.
5. The adaptive gating circuit of any of claims 1 to 4,
the switching tube circuit is a field effect tube switching circuit.
6. An adaptive gating method is characterized by being applied to an adaptive gating circuit;
the adaptive gating circuit includes:
a DC-DC circuit; the input end of the DC-DC circuit is used for connecting a COM port, and the output end of the DC-DC circuit is used for respectively connecting each shunt port;
a plurality of switching tube circuits corresponding to the branching ports one to one; the first end of the switching tube circuit is used for connecting the corresponding shunt port, and the second end of the switching tube circuit is used for connecting the COM port;
the microcontroller is respectively connected with the control end of each switching tube circuit and is used for respectively connecting each shunt port;
the adaptive gating method includes the steps of:
the microcontroller collects the voltage value of each shunt port; the voltage value is obtained by the shunt port according to judgment voltage or working voltage; the judgment voltage is a voltage transmitted to the shunt port from the COM port through the DC-DC circuit; the working voltage is transmitted by external equipment connected with the shunt port;
and the microcontroller compares each voltage value with the reference voltage respectively and controls the corresponding switching tube circuit to be conducted based on the obtained comparison result.
7. The adaptive gating method of claim 6, wherein the step of the microcontroller collecting the voltage value at each of the shunting ports is preceded by the step of:
the microcontroller detects whether an external input voltage exists in the COM port: if yes, the voltage value is obtained by the shunt port according to the judgment voltage; if not, the voltage value is obtained by the shunt port according to the working voltage.
8. The adaptive gating method of claim 7, wherein the step of comparing each voltage value with a reference voltage by the microcontroller and controlling the corresponding switching tube circuit to be turned on based on the comparison result comprises:
and when the external input voltage exists in the COM port and the voltage value is greater than the reference voltage, the microcontroller conducts the shunt port corresponding to the voltage value.
9. The adaptive gating method of claim 7, wherein the step of comparing each voltage value with a reference voltage by the microcontroller and controlling the corresponding switching tube circuit to be turned on based on the comparison result comprises:
and when the external input voltage does not exist in the COM port and at least one voltage value is greater than the reference voltage, the microcontroller conducts the shunt port corresponding to one voltage value according to a set working mode.
10. The adaptive gating method according to claim 9, wherein the step of turning on the shunt port corresponding to one of the voltage values according to a set operation mode when the external input voltage is not present at the COM port and at least one of the voltage values is greater than the reference voltage by the microcontroller comprises at least one of the following steps:
when the working mode is a first-in first-through mode, the microcontroller conducts the shunt port corresponding to the voltage value which is reached firstly;
when the working mode is a priority mode, the microcontroller conducts the shunt port corresponding to the voltage value with the highest priority;
and when the working mode is an exclusive/exclusive mode, the microcontroller switches on the shunt port corresponding to the voltage value greater than the threshold voltage.
11. The adaptive gating method according to any one of claims 6 to 10, further comprising the steps of:
and when the microcontroller acquires the preset voltage through the COM port, the microcontroller enters a configuration mode and is in communication connection with an external terminal through the shunt port.
12. An adaptive gating device is characterized by being applied to an adaptive gating circuit;
the adaptive gating circuit includes:
a DC-DC circuit; the input end of the DC-DC circuit is used for connecting a COM port, and the output end of the DC-DC circuit is used for respectively connecting each shunt port;
a plurality of switching tube circuits corresponding to the branching ports one to one; the first end of the switching tube circuit is used for connecting the corresponding shunt port, and the second end of the switching tube circuit is used for connecting the COM port;
the microcontroller is respectively connected with the control end of each switching tube circuit and is used for respectively connecting each shunt port;
the self-adaptive gating device is arranged in the microcontroller and comprises:
the voltage value acquisition module is used for acquiring the voltage value of each shunt port; the voltage value is obtained by the shunt port according to judgment voltage or working voltage; the judgment voltage is a voltage transmitted to the shunt port from the COM port through the DC-DC circuit; the working voltage is transmitted by external equipment connected with the shunt port;
and the path gating module is used for comparing each voltage value with the reference voltage and controlling the corresponding switching tube circuit to be conducted based on the obtained comparison result.
13. An apparatus, comprising:
a COM port;
a plurality of drop ports;
an adaptive gating circuit as claimed in any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911102062.2A CN111030663A (en) | 2019-11-12 | 2019-11-12 | Adaptive gating circuit, method, apparatus and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911102062.2A CN111030663A (en) | 2019-11-12 | 2019-11-12 | Adaptive gating circuit, method, apparatus and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111030663A true CN111030663A (en) | 2020-04-17 |
Family
ID=70205498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911102062.2A Pending CN111030663A (en) | 2019-11-12 | 2019-11-12 | Adaptive gating circuit, method, apparatus and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111030663A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030203717A1 (en) * | 1998-04-27 | 2003-10-30 | Chuprun Jeffery Scott | Satellite based data transfer and delivery system |
CN101335934A (en) * | 2008-07-31 | 2008-12-31 | 京信通信系统(中国)有限公司 | Multi-system access platform and multi-band combining and splitting device |
CN101459463A (en) * | 2008-12-29 | 2009-06-17 | 杭州华三通信技术有限公司 | Method, system and device for data transmission |
CN101673938A (en) * | 2009-09-29 | 2010-03-17 | 杭州士兰微电子股份有限公司 | Soft recovery control circuit for output short circuit and application thereof in DC-DC converter |
CN104883751A (en) * | 2015-04-22 | 2015-09-02 | 京信通信技术(广州)有限公司 | Combiner/demultiplexer and DC channel adaptive gating circuit |
WO2016176917A1 (en) * | 2015-05-07 | 2016-11-10 | 中兴通讯股份有限公司 | Input self-adaptive switching power supply |
-
2019
- 2019-11-12 CN CN201911102062.2A patent/CN111030663A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030203717A1 (en) * | 1998-04-27 | 2003-10-30 | Chuprun Jeffery Scott | Satellite based data transfer and delivery system |
CN101335934A (en) * | 2008-07-31 | 2008-12-31 | 京信通信系统(中国)有限公司 | Multi-system access platform and multi-band combining and splitting device |
CN101459463A (en) * | 2008-12-29 | 2009-06-17 | 杭州华三通信技术有限公司 | Method, system and device for data transmission |
CN101673938A (en) * | 2009-09-29 | 2010-03-17 | 杭州士兰微电子股份有限公司 | Soft recovery control circuit for output short circuit and application thereof in DC-DC converter |
CN104883751A (en) * | 2015-04-22 | 2015-09-02 | 京信通信技术(广州)有限公司 | Combiner/demultiplexer and DC channel adaptive gating circuit |
WO2016176917A1 (en) * | 2015-05-07 | 2016-11-10 | 中兴通讯股份有限公司 | Input self-adaptive switching power supply |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106533455B (en) | A kind of antenna switching system and switching method | |
CN101483281B (en) | Method and apparatus for controlling terminal antenna | |
CN110109403A (en) | A kind of double control switch | |
CN106941374B (en) | A kind of switching system and method for visible light communication and power line communication | |
CN101728866A (en) | Device and method for realizing switching of power supply | |
CN106912069B (en) | Distributed antenna system remote terminal and uplink signal link detection method and device thereof | |
CN203673071U (en) | Beidou dual mode user machine external antenna switching apparatus and antenna apparatus | |
CN101895697A (en) | A kind of rapid-action N+1 television emission system | |
US10079688B2 (en) | Network port and ethernet device integrating powered device and power sourcing equivalent in a port | |
CN110535666B (en) | Nonstandard PoE power management device | |
CN108563601B (en) | Super adaptation system of serial ports | |
CN107817886B (en) | Power supply control method and electronic equipment | |
CN206674204U (en) | A kind of industrial control equipment voluntarily switched according to signal intensity | |
CN111030663A (en) | Adaptive gating circuit, method, apparatus and device | |
CN110719124A (en) | Automatic turn-off circuit system based on power line broadband carrier communication technology | |
EP2990893B1 (en) | Power supply returning apparatus | |
CN208722186U (en) | The super adaption system of serial ports | |
CN114115079B (en) | Control circuit and communication device | |
CN103581973B (en) | A kind of cell information source backup, Apparatus and system | |
CN204517833U (en) | Power over Ethernet system and feeder ear equipment thereof | |
CN115442217A (en) | A satellite modem 1:1 Hot backup switching device | |
CN113991632A (en) | Power device-based power distribution control system and method | |
CN205249230U (en) | A automatic spare switching circuit for among cable television light transmission system | |
CN221467396U (en) | Power supply control circuit, device and endoscope system | |
CN115528793A (en) | Multi-power smooth switching method and multi-power circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200417 |