WO2022041890A1 - Switching value acquisition circuit and method - Google Patents
Switching value acquisition circuit and method Download PDFInfo
- Publication number
- WO2022041890A1 WO2022041890A1 PCT/CN2021/096656 CN2021096656W WO2022041890A1 WO 2022041890 A1 WO2022041890 A1 WO 2022041890A1 CN 2021096656 W CN2021096656 W CN 2021096656W WO 2022041890 A1 WO2022041890 A1 WO 2022041890A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- optocoupler
- power supply
- acquisition
- collection
- control power
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000001514 detection method Methods 0.000 claims abstract description 28
- 230000033228 biological regulation Effects 0.000 claims description 6
- 230000004913 activation Effects 0.000 claims description 2
- 230000005540 biological transmission Effects 0.000 abstract description 8
- 230000001629 suppression Effects 0.000 abstract description 3
- 230000003044 adaptive effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 238000005065 mining Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 229920006395 saturated elastomer Polymers 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/25—Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
- G01R19/2506—Arrangements for conditioning or analysing measured signals, e.g. for indicating peak values ; Details concerning sampling, digitizing or waveform capturing
- G01R19/2509—Details concerning sampling, digitizing or waveform capturing
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R15/00—Details of measuring arrangements of the types provided for in groups G01R17/00 - G01R29/00, G01R33/00 - G01R33/26 or G01R35/00
- G01R15/14—Adaptations providing voltage or current isolation, e.g. for high-voltage or high-current networks
- G01R15/146—Measuring arrangements for current not covered by other subgroups of G01R15/14, e.g. using current dividers, shunts, or measuring a voltage drop
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R15/00—Details of measuring arrangements of the types provided for in groups G01R17/00 - G01R29/00, G01R33/00 - G01R33/26 or G01R35/00
- G01R15/14—Adaptations providing voltage or current isolation, e.g. for high-voltage or high-current networks
- G01R15/22—Adaptations providing voltage or current isolation, e.g. for high-voltage or high-current networks using light-emitting devices, e.g. LED, optocouplers
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/40—Testing power supplies
Definitions
- the invention relates to the technical field of industrial automation and relay protection, in particular to a switching value acquisition circuit and method.
- DC power supply In the field of industrial automation and relay protection, in order to ensure the reliability of the control system, DC power supply is mostly used. When the capacity of the DC system is high, a lower control voltage is generally used to reduce the number of battery packs. For example, there are two kinds of control power supply often used in power field: 110V DC and 220V DC. In these systems, due to the dual requirements of collecting the state of the main equipment and anti-electromagnetic interference, all switching signals are powered by the control power supply, connected to the control device by the strong current, and then rectified, filtered, stepped down, and limited current. Then it is sent to the main control CPU after being isolated by the optocoupler, and then the switching value is collected.
- the purpose of the present invention is to overcome the deficiencies in the prior art, and to provide a switching value acquisition circuit and method. According to the difference of the control power supply voltage, one group of optocoupler outputs or two groups of optocoupler parallel outputs are selected to realize the switching value acquisition.
- the loop transmission gain is adaptive.
- the present invention adopts the following technical solutions to realize:
- the invention provides a switching quantity acquisition circuit, comprising a control power state detection circuit, an MCU signal acquisition control circuit and at least one switching quantity acquisition circuit; the switching quantity acquisition circuit comprises a main acquisition optocoupler and a secondary acquisition optocoupler;
- the control power supply state detection circuit is used to detect the state of the control power supply supplying power for the switch signal
- the MCU signal acquisition control loop is used to control the disconnection of the sub-acquisition optocoupler according to the detected state of the control power supply, and only collect the switching signal through the main acquisition photocoupler, or to control the activation of the sub-acquisition photocoupler and the main acquisition photocoupler to jointly acquire the switch. quantity signal.
- the switch quantity acquisition loop further includes a controlled power switch, a shunt resistor and a first output resistor;
- the shunt resistor is connected in parallel with the positive and negative poles of the input terminals of the main collection optocoupler, the positive pole of the input terminal of the main collection optocoupler is connected with the negative pole of the input terminal of the auxiliary collection optocoupler, and the negative pole of the input terminal of the main collection optocoupler is connected with the switch input terminal. ;
- the positive pole of the input terminal of the auxiliary collection optocoupler is connected to the control power supply;
- the collector of the output end of the main collection optocoupler is connected to the low-potential side power supply VCC, and the MCU signal collection control loop controls the on-off of the output end collector of the sub-collection optocoupler and the low-potential side power supply VCC through the controlled power switch ;
- the MCU signal collection control loop collects switching signals through the output end emitter of the main collection optocoupler, and the output end emitter of the main collection optocoupler is connected to the output end emitter of the auxiliary collection optocoupler and grounded through the first output resistor.
- the switching value acquisition loop further includes a first current limiting resistor, a first rectifier diode, a first reverse protection diode, a first voltage regulator tube and a second current limiting resistor;
- the first current limiting resistor and the first rectifier diode are connected in series between the positive electrode of the control power supply and the positive electrode of the input end of the auxiliary collection optocoupler; the first voltage regulator tube and the second current limiting resistor are connected in series with the switch input end and the main collection optocoupler Between the negative poles of the input terminals;
- the cathode of the first reverse protection diode is connected to the anode of the input terminal of the secondary collection optocoupler, and the anode of the first reverse protection diode is connected to the cathode of the input terminal of the main collection optocoupler.
- the controlled power switch includes a PNP triode and a base pull-up resistor of the PNP triode, an NPN triode and a base current limiting resistor of the NPN triode;
- the base of the NPN triode is connected to the MCU signal acquisition control loop through the base current limiting resistor, the emitter of the NPN triode is grounded, and the collector of the NPN triode is connected to the base of the PNP triode;
- the collector of the PNP triode is connected to the collector of the output end of the secondary collection optocoupler, the emitter of the PNP triode is connected to the low potential side power supply VCC, and the base of the PNP triode is connected through the base pull-up resistor. to the low potential side power supply VCC.
- control power supply state detection loop includes a third current limiting resistor, a second rectifier diode, a second reverse protection diode, a second voltage regulator tube, a fourth current limiting resistor, a control power supply state acquisition optocoupler, and a second output resistance;
- the positive pole of the control power supply is connected in series with a third current limiting resistor, and the second rectifier diode is connected to the positive pole of the input terminal of the control power supply state collection optocoupler;
- the negative pole of the control power supply is connected in series with the fourth current limiting resistor, the second voltage regulator tube and the control power supply state collection light
- the negative pole of the input terminal of the coupling is connected;
- the second reverse protection diode is connected in reverse parallel to the positive and negative terminals of the input terminal of the control power supply state acquisition optocoupler;
- the output terminal collector of the control power state acquisition optocoupler is connected to the low potential side power supply VCC, and the output terminal emitter of the control power state acquisition optocoupler is grounded through the second output resistor, and is connected to the MCU signal acquisition control loop. Controls the power state acquisition port connection.
- the collectors of the output terminals of the sub-collecting optocouplers in each switching quantity acquisition circuit are connected in parallel to the rear end of the same controlled power switch.
- the voltage regulation value U z6 of the first voltage regulator satisfies: V c_l >U z6 >V c_l_th , wherein V c_l_th is the low-level threshold of the switching quantity when the control power supply voltage is V c_l , and V c_l is used by the control power supply. Voltage value at low supply voltage.
- V c_h_th is the low level threshold value of the switching quantity when the control power supply voltage is V c_h
- V c_h is the voltage value when the control power supply uses a high power supply voltage
- U z6 is the voltage regulation value of the first voltage regulator
- V F3 is the main Collecting the forward turn-on voltage of the light-emitting tube of the optocoupler
- R 3 , R 4 , and R 6 are the resistance values of the first current limiting resistor, the second current limiting resistor, and the shunt resistor, respectively.
- a switching value acquisition method includes the following steps:
- the method for disconnecting the secondary collection optocoupler includes the following steps:
- the MCU signal acquisition control loop controls the shutdown of the PNP transistor by controlling the shutdown of the NPN transistor, and then disconnects the collector power supply of the secondary acquisition optocoupler, so that the secondary acquisition optocoupler stops working;
- the method for turning on the secondary collection optocoupler includes the following steps:
- the MCU signal acquisition control loop controls the opening of the PNP transistor by controlling the opening of the NPN transistor, and turns on the collector power supply of the output end of the auxiliary collection optocoupler, so that the emitter output of the auxiliary collection optocoupler is connected in parallel to the emitter of the main collection optocoupler.
- control power state is collected, and the secondary collection optocoupler is controlled to be disconnected or turned on according to the control power state.
- the switching value acquisition circuit provided by the present invention can detect the voltage state of the control power supply in real time, and according to different control power supply voltages, control to disconnect the secondary acquisition optocoupler and only collect the switching value signal through the main acquisition optical coupler, or control to enable the secondary acquisition optocoupler and the The main collection optocoupler collects the switching signal together;
- the switching value acquisition circuit adopts the design of the main acquisition optocoupler, the auxiliary acquisition optocoupler and the controlled power switch. According to the different voltage levels of the control power supply, one set of optocoupler output or two sets of optocoupler parallel output can be selected to realize the acquisition loop.
- the transmission gain is dynamically changed to meet the noise suppression threshold required by different control power supply voltages;
- the high-potential side of the present invention improves the reliability of the circuit system and reduces the engineering debugging cost based on the passive device design.
- FIG. 1 is a schematic diagram of a single-channel switch quantity acquisition according to an embodiment of the present invention
- FIG. 2 is a schematic diagram of a control power supply state detection according to an embodiment of the present invention.
- FIG. 3 is a schematic diagram of a complete multi-channel switch value acquisition according to an embodiment of the present invention.
- FIG. 4 is a flowchart of a method for collecting a switching value according to an embodiment of the present invention
- FIG. 5 is a flow chart of the power supply control of the secondary acquisition loop according to an embodiment of the present invention.
- the terms “installed”, “connected” and “connected” should be understood in a broad sense, unless otherwise expressly specified and limited, for example, it may be a fixed connection or a detachable connection Connection, or integral connection; can be mechanical connection, can also be electrical connection; can be directly connected, can also be indirectly connected through an intermediate medium, can be internal communication between two elements.
- installed should be understood in a broad sense, unless otherwise expressly specified and limited, for example, it may be a fixed connection or a detachable connection Connection, or integral connection; can be mechanical connection, can also be electrical connection; can be directly connected, can also be indirectly connected through an intermediate medium, can be internal communication between two elements.
- the embodiment of the present invention provides a switching quantity acquisition circuit, which includes a control power supply state detection circuit, an MCU signal acquisition control circuit, and at least one mining quantity acquisition circuit.
- the control power state detection circuit is used to detect the control power supply state, and output the state signal of the control power supply;
- the switch value acquisition circuit is used to collect the switch value;
- the MCU signal acquisition control circuit is used to receive the control power transmitted by the control power supply state detection circuit The power state signal is controlled, and the switch quantity acquisition circuit is controlled to collect the switch quantity signal according to the control power state signal.
- the switching value acquisition loop includes a first current limiting resistor R3, a first rectifier diode V4, a first reverse protection diode V5, a first Zener tube V6, a second current limiting resistor R4, and a main collection optocoupler U3, secondary collection optocoupler U2, controlled power switch, shunt resistor R6 and first output resistor R8; wherein, the controlled power switch includes PNP transistor VT2 and base pull-up resistor R9 of PNP transistor VT2, NPN transistor VT1 and NPN The base current limiting resistor R10 of the triode VT1.
- the specific connection relationship of the switching value acquisition loop is that one end of the first current limiting resistor R3 is connected to the positive pole of the control power supply, the other end is connected to the positive terminal A of the first rectifier diode V4, and the negative terminal K of the first rectifier diode V4 is connected.
- the negative terminal K of the input terminal of the secondary collection optocoupler U2 is connected to the positive terminal A of the input terminal of the main collection optocoupler U3, and the negative terminal K of the input terminal of the main collection optocoupler U3 is It is connected to the negative terminal K of the first voltage regulator tube V6; one end of the second current limiting resistor R4 is connected to the switch input terminal, and the other end is connected to the positive terminal A of the first voltage regulator tube V6 to form a signal path on the high potential side.
- the negative terminal K of a reverse protection diode V5 is connected to the positive terminal A of the secondary collection optocoupler U2, and the negative terminal A of the first reverse protection diode V5 is connected to the negative K terminal of the input terminal of the main collection optocoupler U3 to realize the acquisition of In the loop, the reverse input voltage protection of the main collection optocoupler U3 and the secondary collection optocoupler U2, the shunt resistor R6 is connected in parallel with the positive A terminal and the negative K terminal of the main collection optocoupler U3.
- the output end emitter E of the sub-collection optocoupler U2 of the switching value collection circuit is connected with the output end emitter E of the main collection optocoupler U3, and the connection point is grounded through the first output resistor R8, and the low
- the switch output on the potential side is output through the emitter E of the output end of the main collection optocoupler U3.
- the output collector C of the main collection optocoupler U3 of the switching value collection circuit is directly connected to the low-potential side power supply VCC, while the output collector C of the auxiliary collection optocoupler U2 is connected to the PNP transistor VT2.
- the collector C , and the emitter E of the PNP transistor VT2 is connected to the low potential side power supply VCC, while the base B of the PNP transistor VT2 is connected to the low potential side power supply VCC through the base pull-up resistor R9.
- the emitter E of the NPN transistor VT1 in the switching value acquisition loop is grounded, the collector C is connected to the base B of the PNP transistor VT2, and the base B of the NPN transistor VT1 is connected to the MCU through its base current limiting resistor R10
- the output IO pin CTRL of the signal acquisition control loop, the MCU signal acquisition control loop can control the on and off of the PNP transistor VT2 through this pin.
- the control power supply state detection loop collects the state signal of the control power supply, where the state signal of the control power supply is a level signal;
- the control power supply state detection loop includes a third current limiting resistor R1, a second rectifier diode V1, The second reverse protection diode V2, the second voltage regulator tube V3, the fourth current limiting resistor R2, the control power supply state collection optocoupler U1 and the second output resistor R7.
- one end of the third current limiting resistor R1 is connected to the positive pole of the control power supply, the other end is connected to the positive pole A terminal of the second rectifier diode V1, and the negative pole K terminal of the second rectifier diode V1 is connected to the control power supply state acquisition
- the positive terminal A of the input terminal of the optocoupler U1 is connected to the negative terminal K of the input terminal of the optocoupler U1, and the negative terminal K of the input terminal of the optocoupler U1 is connected to the negative terminal K of the second voltage regulator tube V3; Negative, the other end is connected to the positive terminal A of the second voltage regulator tube V3;
- the positive terminal A of the second reverse protection diode V2 is connected to the positive terminal K of the input terminal of the control power state acquisition optocoupler U1, and the second reverse protection diode
- the negative pole K of the diode V2 is connected to the negative pole A of the input terminal of the control power supply state collection optocoupler U1.
- the output end emitter E of the control power state acquisition optocoupler U1 of the control power state detection loop is connected to the ground through the second output resistor R7, and the output end collector C of the control power state acquisition optocoupler U1 is directly connected to the low potential
- the side power supply VCC and the control power state output signal is output from the output end emitter E of the control power state acquisition optocoupler U1, and is connected to the input IO pin PWR of the MCU signal acquisition control loop.
- the MCU signal acquisition control loop in the embodiment of the present invention includes the MCU and its auxiliary circuit, wherein the output signal of the control power state detection loop and the output signal of the switch value acquisition loop are respectively connected to the input IO of the MCU
- the pins PWR and DIN, and the output IO pin CTRL of the MCU is connected to one end of the base current limiting resistor R10 of the NPN triode VT1 in the switch quantity acquisition loop.
- the output terminal collectors of the auxiliary acquisition optocouplers in the output terminal collectors of the auxiliary acquisition optocouplers U2 of each switching quantity acquisition circuit are connected in parallel Connected to the back end of the same controlled power switch, it can also be understood as: the controlled power switch composed of the PNP transistor VT2 and the NPN transistor VT1 is shared by the acquisition channels of multiple digital acquisition circuits, and the assumption is that the same digital acquisition The switch quantity on the module uses the same control power supply.
- each switching value acquisition circuit is connected to the positive terminal of the control power supply, and the negative terminal of each switching value acquisition circuit is used as the switching value input terminal to obtain the switching value signal from the outside, which is collected by the switching value acquisition circuit and then input to the corresponding MCU.
- Input IO pin DIN is used as the switching value input terminal to obtain the switching value signal from the outside, which is collected by the switching value acquisition circuit and then input to the corresponding MCU.
- the switching value acquisition circuit selects to use one set of optocoupler outputs or two sets of optocoupler parallel outputs according to the different control power supply voltage levels, and dynamically changes the transmission gain of the acquisition loop by collecting the control power supply voltage state, which can meet different control requirements.
- the noise suppression threshold required by the power supply voltage, and the design of the high-potential side based on passive components further improves the reliability of the circuit system and reduces the cost of engineering debugging.
- the parameters of the components involved should be selected according to the difference between the two control power supply voltages in the project:
- control power supply state detection loop collects the state signal of the control power supply, where the state signal of the control power supply is a level signal, that is, a high level and a low level.
- the high control power supply voltage value is V c_h
- the corresponding control power state detection loop output signal is high level
- the low control power supply voltage value is V c_l , which corresponds to The control power state detection loop output signal is low level.
- the high control power supply voltage and the low control power supply voltage in the present invention can be adjusted according to the actual situation by adjusting the components such as the second voltage regulator tube V3, the third current limiting resistor R1 and the fourth current limiting resistor R2 in the circuit.
- the determination of the high and low voltage ranges, here, the high control power supply voltage and the low control power supply voltage can also be understood as a relative comparison between voltages, and no specific numerical range is limited, so as to realize the technical solution of the present invention.
- V c_h V c_h >U z3 >V c_l ,
- the selection principle of the third current limiting resistor R1 and the fourth current limiting resistor R2 is to first ensure that when the high control power supply voltage is V c_h , the forward current IF flowing through the light-emitting tube of the control power supply state collection optocoupler U1 is as small as possible to To reduce power consumption, the second is to ensure the transmission gain of the loop, so that when the high control power supply voltage is V c_h , the output of the control power state acquisition optocoupler U1 is high; in the control power state detection loop, the control power supply adopts a high control power supply voltage When the control power state acquisition optocoupler U1 is turned on, the output control power state signal is high level; when the control power supply adopts a low control power supply voltage; the control power state acquisition optocoupler U1 is turned off, and the output control power state signal is low level.
- the selection principle of the voltage regulation value U z6 of the first voltage regulator tube V6 is to ensure that when the low control power supply voltage is V c_l , it satisfies the requirement of the low level threshold value V c_l_th of the switching quantity (that is, when the input terminal voltage of the switching quantity is less than V c_l_th , the acquisition circuit is reliable.
- the selection principle of the resistance value of the shunt resistor R6 is to ensure that when the high control power supply voltage is V c_h , it meets the requirement of the low level threshold V c_h_th of the switching value (that is, when the input voltage of the switching value is less than V c_h_th , the acquisition circuit can reliably output a low level, which needs to be Ensure that the light-emitting tube current of the main collection optocoupler U3 is close to 0), and the constraint conditions for the selection of the resistance value of the shunt resistor R6 are:
- V c_h_th corresponds to the threshold value at which the switching value acquisition loop reliably outputs a low level when the control power supply adopts a high control power supply voltage V c_h
- U z6 corresponds to the voltage stabilization value of the first voltage regulator tube V6
- V F3 corresponds to the main collection optocoupler U3.
- the forward turn-on voltage of the light-emitting tube, R 3 , R 4 , and R 6 correspond to the resistance values of the first current limiting resistor R3 , the second current limiting resistor R4 , and the shunt resistor R6 .
- the shunt resistor R6 performs current shunt.
- the shunt resistor R6 makes the current flowing through the light-emitting tube of the main collection optocoupler U3 close to 0, which cannot make the main collection
- the phototransistor at the back end of the optocoupler is saturated and turned on, so that the output acquisition signal is low level.
- the selection principle of the first current limiting resistor R3 and the second current limiting resistor R4 is to ensure that when the control power supply adopts a high control power supply voltage V c_h , the power consumption of the acquisition loop is as low as possible while ensuring the circuit transmission gain.
- the selection principle of the first output resistor R8 is to ensure that when the circuit has different control power supply voltages, the voltage of the switch input terminal (switch signal level) is lower than the allowable threshold of the system (V c_h_th when the control power supply voltage is high, and V c_h_th when the control power supply voltage is low.
- V c_l_th the allowable threshold of the system
- the PNP transistor VT2 is used as a controlled power switch.
- the selection principle is the lowest possible saturation conduction voltage drop, and the current parameter of the saturation conduction depends on the number of switching acquisition channels.
- the base pull-up resistor R9 of the PNP transistor VT2 It can ensure that the leakage current of the NPN triode VT1 in the circuit will not pull down the base voltage of VT2, and the controlled power switch composed of the PNP triode VT2 and the NPN triode VT1 is shared by multiple acquisition channels.
- the condition is that the digital value on the same digital value acquisition module uses the same control power supply.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- an embodiment of the present invention provides a switching value acquisition method, which includes the following steps:
- the state signal of the control power supply is collected by the control power supply state detection loop, and the state signal of the control power supply is a level signal. If the control power supply state signal is at a high level, the MCU turns off the NPN by controlling The triode is used to control the closing of the PNP triode, and then disconnect the secondary collection optocoupler;
- the MCU controls the turning on of the NPN transistor to turn on the PNP transistor, so that the secondary collection optocoupler output is connected in parallel with the main collection optocoupler output to improve the transmission gain of the switching value collection circuit.
- the switch value input channel 1 is taken as an example to illustrate the switch value acquisition operation:
- the MCU signal acquisition control loop responds to the above low level signal, and controls the NPN transistor VT1 to turn on, and then controls the PNP transistor VT2 to turn on, Realize the parallel output of the main collection optocoupler U3 and the auxiliary collection optocoupler U2 in the switching value collection circuit, so that the transmission gain of the collection circuit increases, and the switching value status signal is determined by the parallel output of the main collection optocoupler U3 and the auxiliary output optocoupler U2;
- the level signal output by the control power state detection loop is high level
- the MCU signal acquisition control loop responds to the above high level signal, and controls the NPN transistor VT1 to close, and then controls the PNP transistor VT2 to close, the switch
- the quantity status signal is determined by the output of the main acquisition optocoupler U3.
- the MCU signal acquisition control loop first checks the MCU setting value state after starting:
- the output state of the control power detection loop is ignored, and the output IO pin CTRL is driven according to the pre-set value, namely:
- the NPN transistor VT1 is controlled to be turned on, and then the PNP transistor VT2 is controlled to be turned on to realize the parallel output of the main collection optocoupler U3 and the auxiliary collection optocoupler U2 in the switching value collection circuit;
- the MCU controls the NPN transistor VT1 to turn off, and then controls the PNP transistor VT2 to turn off, and the switch value acquisition loop only uses the output of the main acquisition optocoupler U3.
- control power supply state signal is obtained by the control power supply detection circuit, and the auxiliary acquisition optocoupler is controlled to be turned on or off according to the control power supply voltage state.
- the MCU obtains the low level signal, and inverts the signal to a high level, and turns on the NPN transistor VT1 through the output IO pin CTRL, and then turns on the NPN transistor VT1.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Dc-Dc Converters (AREA)
- Power Conversion In General (AREA)
Abstract
A switching value acquisition circuit. The circuit comprises a control power supply state detection loop, an MCU signal acquisition control loop, and at least one switching value acquisition loop; the switching value acquisition loop comprises a primary acquisition optocoupler (U3) and a secondary acquisition optocoupler (U2); and the MCU signal acquisition control loop is used for controlling, in response to level signals detected by the control power supply state detection loop, to disconnect the secondary acquisition optocoupler (U2) to acquire switching value signals only by the primary acquisition optocoupler (U3), or to enable both the secondary acquisition optocoupler (U2) and the primary acquisition optocoupler (U3) to acquire switching value signals. The switching value acquisition circuit can choose to output using one optocoupler or two optocouplers in parallel and acquire the control power supply voltage to dynamically change the transmission gain of the acquisition loop, such that noise suppression thresholds required by different control power supply voltages can be satisfied, and the design of the high potential side based on a passive device improves the reliability of the circuit system and reduces the cost of engineering debugging. Also provided is a switching value acquisition method.
Description
本发明涉及工业自动化和继电保护技术领域,具体涉及一种开关量采集电路和方法。The invention relates to the technical field of industrial automation and relay protection, in particular to a switching value acquisition circuit and method.
在工业自动化和继电保护领域,为保证控制系统可靠性,多采用直流供电,在直流系统容量要求高时,为减少蓄电池组数量一般会采用较低的控制电压。比如电力现场经常使用的控制电源就有110V DC和220V DC两种。在这些系统中,因为采集主设备的状态和抗电磁干扰的双重要求,所有开关量信号都是经过控制电源供电,由强电接入控制装置,再经整流,滤波,降压,限流,然后经光耦隔离后送入主控CPU,然后进行开关量的采集。In the field of industrial automation and relay protection, in order to ensure the reliability of the control system, DC power supply is mostly used. When the capacity of the DC system is high, a lower control voltage is generally used to reduce the number of battery packs. For example, there are two kinds of control power supply often used in power field: 110V DC and 220V DC. In these systems, due to the dual requirements of collecting the state of the main equipment and anti-electromagnetic interference, all switching signals are powered by the control power supply, connected to the control device by the strong current, and then rectified, filtered, stepped down, and limited current. Then it is sent to the main control CPU after being isolated by the optocoupler, and then the switching value is collected.
工程上为了适应不同控制电源电压的需要,往往需要设计两套不同的采集模块,采用不同的降压限流回路,这就给开关量采集模块的生产、调试以及现场管理带来了不便,增加了设计和生产成本。In order to meet the needs of different control power supply voltages in engineering, it is often necessary to design two sets of different acquisition modules and use different voltage-reducing current-limiting circuits, which brings inconvenience to the production, debugging and on-site management of the switching value acquisition module. design and production costs.
目前,对控制电源系统自适应开关量采集方法有ADC采样法、基于FPGA的脉冲宽度检测法、变基准比较器法等,这些方法虽能在一定程度上解决的不同控制电源电压下开关量采集问题,但也均存在一些不足,如系统复杂,调试麻烦、电路可靠性差、门槛不易整定等问题。因此,寻求一种高电位侧基于无源器件且电路简单可靠性高和工程调试方便的自适应开关量采集电路和方法是当前首要解决的问题。At present, there are ADC sampling method, FPGA-based pulse width detection method, variable reference comparator method, etc. for the adaptive switching value acquisition method of control power supply system. Although these methods can solve the problem of switching value acquisition under different control power supply voltages to a certain extent However, there are also some shortcomings, such as complex system, troublesome debugging, poor circuit reliability, and difficulty in setting the threshold. Therefore, it is the primary problem to seek an adaptive switching value acquisition circuit and method with high potential side based on passive devices, simple circuit, high reliability and convenient engineering debugging.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于克服现有技术中的不足,提供一种开关量采集电路和方 法,根据控制电源电压的不同,选择采用一组光耦输出或者两组光耦并联输出,实现了开关量采集回路传输增益自适应。The purpose of the present invention is to overcome the deficiencies in the prior art, and to provide a switching value acquisition circuit and method. According to the difference of the control power supply voltage, one group of optocoupler outputs or two groups of optocoupler parallel outputs are selected to realize the switching value acquisition. The loop transmission gain is adaptive.
为达到上述目的,本发明是采用下述技术方案实现的:To achieve the above object, the present invention adopts the following technical solutions to realize:
第一方面:first:
本发明提供了一种开关量采集电路,包括控制电源状态检测回路、MCU信号采集控制回路和至少一路开关量采集回路;所述开关量采集回路包括主采集光耦和副采集光耦;The invention provides a switching quantity acquisition circuit, comprising a control power state detection circuit, an MCU signal acquisition control circuit and at least one switching quantity acquisition circuit; the switching quantity acquisition circuit comprises a main acquisition optocoupler and a secondary acquisition optocoupler;
所述控制电源状态检测回路用于检测为开关量信号供电的控制电源的状态;The control power supply state detection circuit is used to detect the state of the control power supply supplying power for the switch signal;
所述MCU信号采集控制回路用于根据所检测的控制电源的状态控制断开副采集光耦仅通过主采集光耦采集开关量信号,或控制启用副采集光耦与主采集光耦共同采集开关量信号。The MCU signal acquisition control loop is used to control the disconnection of the sub-acquisition optocoupler according to the detected state of the control power supply, and only collect the switching signal through the main acquisition photocoupler, or to control the activation of the sub-acquisition photocoupler and the main acquisition photocoupler to jointly acquire the switch. quantity signal.
进一步的,所述开关量采集回路还包括受控电源开关、分流电阻和第一输出电阻;Further, the switch quantity acquisition loop further includes a controlled power switch, a shunt resistor and a first output resistor;
所述分流电阻并联于主采集光耦的输入端正负极,主采集光耦的输入端正极与副采集光耦的输入端负极相连接,主采集光耦的输入端负极与开关量输入端相连接;副采集光耦的输入端正极与控制电源相连接;The shunt resistor is connected in parallel with the positive and negative poles of the input terminals of the main collection optocoupler, the positive pole of the input terminal of the main collection optocoupler is connected with the negative pole of the input terminal of the auxiliary collection optocoupler, and the negative pole of the input terminal of the main collection optocoupler is connected with the switch input terminal. ; The positive pole of the input terminal of the auxiliary collection optocoupler is connected to the control power supply;
所述主采集光耦的输出端集电极接入低电位侧电源VCC,所述MCU信号采集控制回路通过受控电源开关控制副采集光耦的输出端集电极与低电位侧电源VCC的通断;The collector of the output end of the main collection optocoupler is connected to the low-potential side power supply VCC, and the MCU signal collection control loop controls the on-off of the output end collector of the sub-collection optocoupler and the low-potential side power supply VCC through the controlled power switch ;
所述MCU信号采集控制回路通过主采集光耦的输出端发射极采集开关量信号,主采集光耦的输出端发射极与副采集光耦的输出端发射极相连经第一输出电阻接地。The MCU signal collection control loop collects switching signals through the output end emitter of the main collection optocoupler, and the output end emitter of the main collection optocoupler is connected to the output end emitter of the auxiliary collection optocoupler and grounded through the first output resistor.
进一步的,所述开关量采集回路还包括第一限流电阻、第一整流二极管、第一反向保护二极管、第一稳压管和第二限流电阻;Further, the switching value acquisition loop further includes a first current limiting resistor, a first rectifier diode, a first reverse protection diode, a first voltage regulator tube and a second current limiting resistor;
第一限流电阻与第一整流二极管串联于控制电源正极和副采集光耦的输入端正极之间;第一稳压管、第二限流电阻串联于开关量输入端和主采集光耦的输入端负极之间;The first current limiting resistor and the first rectifier diode are connected in series between the positive electrode of the control power supply and the positive electrode of the input end of the auxiliary collection optocoupler; the first voltage regulator tube and the second current limiting resistor are connected in series with the switch input end and the main collection optocoupler Between the negative poles of the input terminals;
所述第一反向保护二极管的负极与副采集光耦的输入端正极相连接,第一反向保护二极管的正极与主采集光耦的输入端负极相连接。The cathode of the first reverse protection diode is connected to the anode of the input terminal of the secondary collection optocoupler, and the anode of the first reverse protection diode is connected to the cathode of the input terminal of the main collection optocoupler.
进一步的,所述受控电源开关包括PNP三极管及PNP三极管的基极上拉电阻、NPN三极管及NPN三极管的基极限流电阻;Further, the controlled power switch includes a PNP triode and a base pull-up resistor of the PNP triode, an NPN triode and a base current limiting resistor of the NPN triode;
所述NPN三极管的基极经基极限流电阻连接于所述MCU信号采集控制回路,所述NPN三极管的发射极接地,所述NPN三极管的集电极连接到所述PNP三极管的基极;The base of the NPN triode is connected to the MCU signal acquisition control loop through the base current limiting resistor, the emitter of the NPN triode is grounded, and the collector of the NPN triode is connected to the base of the PNP triode;
所述PNP三极管的集电极和所述副采集光耦的输出端集电极相连接,所述PNP三极管的发射极连接低电位侧电源VCC,所述PNP三极管的基极经基极上拉电阻连接到低电位侧电源VCC。The collector of the PNP triode is connected to the collector of the output end of the secondary collection optocoupler, the emitter of the PNP triode is connected to the low potential side power supply VCC, and the base of the PNP triode is connected through the base pull-up resistor. to the low potential side power supply VCC.
进一步的,所述控制电源状态检测回路包括第三限流电阻、第二整流二极管、第二反向保护二极管、第二稳压管、第四限流电阻、控制电源状态采集光耦和第二输出电阻;Further, the control power supply state detection loop includes a third current limiting resistor, a second rectifier diode, a second reverse protection diode, a second voltage regulator tube, a fourth current limiting resistor, a control power supply state acquisition optocoupler, and a second output resistance;
控制电源的正极串联第三限流电阻、第二整流二极管与控制电源状态采集光耦的输入端正极相连;控制电源的负极串联第四限流电阻、第二稳压管与控制电源状态采集光耦的输入端负极相连;第二反向保护二极管反向并联于控制电源状态采集光耦的输入端正负极两端;The positive pole of the control power supply is connected in series with a third current limiting resistor, and the second rectifier diode is connected to the positive pole of the input terminal of the control power supply state collection optocoupler; the negative pole of the control power supply is connected in series with the fourth current limiting resistor, the second voltage regulator tube and the control power supply state collection light The negative pole of the input terminal of the coupling is connected; the second reverse protection diode is connected in reverse parallel to the positive and negative terminals of the input terminal of the control power supply state acquisition optocoupler;
所述控制电源状态采集光耦的输出端集电极连接低电位侧电源VCC,所述控制电源状态采集光耦的输出端发射极经第二输出电阻接地,且与所述MCU信号采集控制回路的控制电源状态采集端口连接。The output terminal collector of the control power state acquisition optocoupler is connected to the low potential side power supply VCC, and the output terminal emitter of the control power state acquisition optocoupler is grounded through the second output resistor, and is connected to the MCU signal acquisition control loop. Controls the power state acquisition port connection.
进一步的,当存在多路开关量采集回路时,各开关量采集回路中副采集光耦的输出端集电极并联连接在同一受控电源开关后端。Further, when there are multiple switching quantity acquisition circuits, the collectors of the output terminals of the sub-collecting optocouplers in each switching quantity acquisition circuit are connected in parallel to the rear end of the same controlled power switch.
进一步的,第一稳压管的稳压值U
z6满足:V
c_l>U
z6>V
c_l_th,其中,V
c_l_th是控制电源电压为V
c_l时开关量低电平阈值,V
c_l为控制电源使用低电源电压时的电压值。
Further, the voltage regulation value U z6 of the first voltage regulator satisfies: V c_l >U z6 >V c_l_th , wherein V c_l_th is the low-level threshold of the switching quantity when the control power supply voltage is V c_l , and V c_l is used by the control power supply. Voltage value at low supply voltage.
进一步的,分流电阻的阻值约束条件为:Further, the resistance constraints of the shunt resistor are:
其中,V
c_h_th是控制电源电压为V
c_h时开关量低电平阈值,V
c_h为控制电源使用高电源电压时的电压值,U
z6为第一稳压管的稳压值,V
F3为主采集光耦的发光管正向开通电压,R
3,R
4,R
6分别为第一限流电阻、第二限流电阻、分流电阻的阻值。
Among them, V c_h_th is the low level threshold value of the switching quantity when the control power supply voltage is V c_h , V c_h is the voltage value when the control power supply uses a high power supply voltage, U z6 is the voltage regulation value of the first voltage regulator, and V F3 is the main Collecting the forward turn-on voltage of the light-emitting tube of the optocoupler, R 3 , R 4 , and R 6 are the resistance values of the first current limiting resistor, the second current limiting resistor, and the shunt resistor, respectively.
第二方面,一种开关量采集方法,所述方法包括如下步骤:In a second aspect, a switching value acquisition method, the method includes the following steps:
采集控制电源的状态信号;Collect the status signal of the control power supply;
根据控制电源的状态信号,控制断开副采集光耦仅通过主采集光耦采集开关量信号,或控制启用副采集光耦与主采集光耦共同采集开关量信号。According to the status signal of the control power supply, control to disconnect the sub-collection optocoupler to collect the switch signal only through the main collection optocoupler, or control to enable the sub-collection optocoupler and the main collection optocoupler to collect the switch signal together.
进一步的,断开副采集光耦的方法包括如下步骤:Further, the method for disconnecting the secondary collection optocoupler includes the following steps:
MCU信号采集控制回路通过控制关闭NPN三极管来控制关闭PNP三极管,进而断开副采集光耦的集电极电源,使副采集光耦停止工作;The MCU signal acquisition control loop controls the shutdown of the PNP transistor by controlling the shutdown of the NPN transistor, and then disconnects the collector power supply of the secondary acquisition optocoupler, so that the secondary acquisition optocoupler stops working;
开启副采集光耦的方法包括如下步骤:The method for turning on the secondary collection optocoupler includes the following steps:
MCU信号采集控制回路通过控制开启NPN三极管来控制开启PNP三极管,接通副采集光耦的输出端集电极电源,使副采集光耦的发射极输出并联到主采集光耦的发射极。The MCU signal acquisition control loop controls the opening of the PNP transistor by controlling the opening of the NPN transistor, and turns on the collector power supply of the output end of the auxiliary collection optocoupler, so that the emitter output of the auxiliary collection optocoupler is connected in parallel to the emitter of the main collection optocoupler.
进一步的,在采集控制电源状态信号之前,首先判断是否使用软件模式:Further, before collecting the control power status signal, first determine whether to use the software mode:
若是,则利用预设软件设置值控制断开或开启副采集光耦;If so, use the preset software setting value to control the disconnection or opening of the secondary collection optocoupler;
若否,则采集控制电源状态,并根据控制电源状态控制断开或开启副采集光耦。If not, the control power state is collected, and the secondary collection optocoupler is controlled to be disconnected or turned on according to the control power state.
与现有技术相比,本发明所达到的有益效果:Compared with the prior art, the beneficial effects achieved by the present invention:
本发明提供的开关量采集电路能够实时检测控制电源的电压状态,根据不同的控制电源电压,控制断开副采集光耦仅通过主采集光耦采集开关量信号,或控制启用副采集光耦与主采集光耦共同采集开关量信号;The switching value acquisition circuit provided by the present invention can detect the voltage state of the control power supply in real time, and according to different control power supply voltages, control to disconnect the secondary acquisition optocoupler and only collect the switching value signal through the main acquisition optical coupler, or control to enable the secondary acquisition optocoupler and the The main collection optocoupler collects the switching signal together;
开关量采集回路采用主采集光耦、副采集光耦以及受控电源开关的设计,能够根据控制电源电压等级的不同,选择采用一组光耦输出或者两组光耦并联输出,实现了采集回路传输增益动态改变,能够满足不同控制电源电压所要求的噪声抑制门限;The switching value acquisition circuit adopts the design of the main acquisition optocoupler, the auxiliary acquisition optocoupler and the controlled power switch. According to the different voltage levels of the control power supply, one set of optocoupler output or two sets of optocoupler parallel output can be selected to realize the acquisition loop. The transmission gain is dynamically changed to meet the noise suppression threshold required by different control power supply voltages;
此外,本发明高电位侧基于无源器件的设计提高电路系统的可靠性和降低了工程调试成本。In addition, the high-potential side of the present invention improves the reliability of the circuit system and reduces the engineering debugging cost based on the passive device design.
图1是本发明一种实施例的单通道开关量采集示意图;FIG. 1 is a schematic diagram of a single-channel switch quantity acquisition according to an embodiment of the present invention;
图2是本发明一种实施例的控制电源状态检测示意图;FIG. 2 is a schematic diagram of a control power supply state detection according to an embodiment of the present invention;
图3是本发明一种实施例的完整多通道开关量采集示意图;3 is a schematic diagram of a complete multi-channel switch value acquisition according to an embodiment of the present invention;
图4是本发明一种实施例的开关量采集方法的流程图;FIG. 4 is a flowchart of a method for collecting a switching value according to an embodiment of the present invention;
图5是本发明一种实施例的副采集回路电源控制流程图。FIG. 5 is a flow chart of the power supply control of the secondary acquisition loop according to an embodiment of the present invention.
下面结合附图对本发明作进一步描述。以下实施例仅用于更加清楚地说明本发明的技术方案,而不能以此来限制本发明的保护范围。The present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solutions of the present invention more clearly, and cannot be used to limit the protection scope of the present invention.
在本发明的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”等的特征可以明示或者隐含地包括一个或者更多个该特征。在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the description of the present invention, it should be understood that the terms "center", "portrait", "horizontal", "top", "bottom", "front", "rear", "left", "right", " The orientation or positional relationship indicated by vertical, horizontal, top, bottom, inner, outer, etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and The description is simplified rather than indicating or implying that the device or element referred to must have a particular orientation, be constructed and operate in a particular orientation, and therefore should not be construed as limiting the invention. In addition, the terms "first", "second", etc. are used for descriptive purposes only, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as "first", "second", etc., may expressly or implicitly include one or more of that feature. In the description of the present invention, unless otherwise specified, "plurality" means two or more.
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以通过具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that the terms "installed", "connected" and "connected" should be understood in a broad sense, unless otherwise expressly specified and limited, for example, it may be a fixed connection or a detachable connection Connection, or integral connection; can be mechanical connection, can also be electrical connection; can be directly connected, can also be indirectly connected through an intermediate medium, can be internal communication between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood through specific situations.
实施例一:Example 1:
本发明实施例提供了一种开关量采集电路,该开关量采集电路包括控制电源状态检测回路、MCU信号采集控制回路和至少一路开采量采集回路。其中,控制电源状态检测回路用于检测控制电源状态,并输出控制电源的状态信号;开关量采集回路用于采集开关量;MCU信号采集控制回路用于接收所述控制电源状态检测回路传输的控制电源状态信号,并根据所述控制电源状态信号控制所述开关量采集回路采集开关量信号。The embodiment of the present invention provides a switching quantity acquisition circuit, which includes a control power supply state detection circuit, an MCU signal acquisition control circuit, and at least one mining quantity acquisition circuit. Among them, the control power state detection circuit is used to detect the control power supply state, and output the state signal of the control power supply; the switch value acquisition circuit is used to collect the switch value; the MCU signal acquisition control circuit is used to receive the control power transmitted by the control power supply state detection circuit The power state signal is controlled, and the switch quantity acquisition circuit is controlled to collect the switch quantity signal according to the control power state signal.
如图1所示,开关量采集回路包括第一限流电阻R3、第一整流二极管V4、第一反向保护二极管V5、第一稳压管V6、第二限流电阻R4、主采集光耦U3、副采集光耦U2、受控电源开关、分流电阻R6和第一输出电阻R8;其中,受控电源开关包括PNP三极管VT2和PNP三极管VT2的基极上拉电阻R9、NPN三极管VT1和NPN三极管VT1的基极限流电阻R10。As shown in Figure 1, the switching value acquisition loop includes a first current limiting resistor R3, a first rectifier diode V4, a first reverse protection diode V5, a first Zener tube V6, a second current limiting resistor R4, and a main collection optocoupler U3, secondary collection optocoupler U2, controlled power switch, shunt resistor R6 and first output resistor R8; wherein, the controlled power switch includes PNP transistor VT2 and base pull-up resistor R9 of PNP transistor VT2, NPN transistor VT1 and NPN The base current limiting resistor R10 of the triode VT1.
如图1所示,开关量采集回路的具体连接关系为第一限流电阻R3一端连接控制电源的正极,另一端连接第一整流二极管V4的正极A端,第一整流二极管V4的负极K端连接副采集光耦U2的输入端正极A端;副采集光耦U2的输入端负极K端又连接主采集光耦U3的输入端正极A端,主采集光耦U3的输入端负极K端则连接到第一稳压管V6的负极K端;第二限流电阻R4一端连接开关量输入端,另一端则连接第一稳压管V6的正极A端构成高电位侧的信号通路,其中第一反向保护二极管V5的负极K端连接副采集光耦U2的正极A端,第一反向保护二极管V5的负极A端则连接到主采集光耦U3的输入端负极K端,实现对采集回路中主采集光耦U3和副采集光耦U2的反向输入电压保护,分流电阻R6并联在主采集光耦U3的正极A端和负极K端。As shown in Figure 1, the specific connection relationship of the switching value acquisition loop is that one end of the first current limiting resistor R3 is connected to the positive pole of the control power supply, the other end is connected to the positive terminal A of the first rectifier diode V4, and the negative terminal K of the first rectifier diode V4 is connected. Connect the positive terminal A of the input terminal of the secondary collection optocoupler U2; the negative terminal K of the input terminal of the secondary collection optocoupler U2 is connected to the positive terminal A of the input terminal of the main collection optocoupler U3, and the negative terminal K of the input terminal of the main collection optocoupler U3 is It is connected to the negative terminal K of the first voltage regulator tube V6; one end of the second current limiting resistor R4 is connected to the switch input terminal, and the other end is connected to the positive terminal A of the first voltage regulator tube V6 to form a signal path on the high potential side. The negative terminal K of a reverse protection diode V5 is connected to the positive terminal A of the secondary collection optocoupler U2, and the negative terminal A of the first reverse protection diode V5 is connected to the negative K terminal of the input terminal of the main collection optocoupler U3 to realize the acquisition of In the loop, the reverse input voltage protection of the main collection optocoupler U3 and the secondary collection optocoupler U2, the shunt resistor R6 is connected in parallel with the positive A terminal and the negative K terminal of the main collection optocoupler U3.
具体地,开关量采集回路的副采集光耦U2的输出端发射极E端和主采集光耦U3的输出端发射极E连接在一起,同时该连接点经第一输出电阻R8接地,而低电位侧开关量输出则经由主采集光耦U3的输出端发射极E输出。Specifically, the output end emitter E of the sub-collection optocoupler U2 of the switching value collection circuit is connected with the output end emitter E of the main collection optocoupler U3, and the connection point is grounded through the first output resistor R8, and the low The switch output on the potential side is output through the emitter E of the output end of the main collection optocoupler U3.
具体地,开关量采集回路的主采集光耦U3的输出端集电极C直接接入低电位侧电源VCC,而副采集光耦U2的输出端集电极C则连接到PNP三极管VT2的集电极C,而PNP三极管VT2的发射极E连接到低电位侧电源VCC,同时PNP三极管VT2的基极B经基极上拉电阻R9连接到低电位侧电源VCC。Specifically, the output collector C of the main collection optocoupler U3 of the switching value collection circuit is directly connected to the low-potential side power supply VCC, while the output collector C of the auxiliary collection optocoupler U2 is connected to the PNP transistor VT2. The collector C , and the emitter E of the PNP transistor VT2 is connected to the low potential side power supply VCC, while the base B of the PNP transistor VT2 is connected to the low potential side power supply VCC through the base pull-up resistor R9.
具体地,开关量采集回路中的NPN三极管VT1的发射极E接地,集电极C连接到PNP三极管VT2的基极B,而NPN三极管VT1的基极B则经过其基极限流电阻R10连接到MCU信号采集控制回路的输出IO引脚CTRL,MCU信号采集控制回路可以通过该引脚控制PNP三极管VT2的导通与关闭。Specifically, the emitter E of the NPN transistor VT1 in the switching value acquisition loop is grounded, the collector C is connected to the base B of the PNP transistor VT2, and the base B of the NPN transistor VT1 is connected to the MCU through its base current limiting resistor R10 The output IO pin CTRL of the signal acquisition control loop, the MCU signal acquisition control loop can control the on and off of the PNP transistor VT2 through this pin.
在本发明实施例中,控制电源状态检测回路采集控制电源的状态信号,此处控制电源的状态信号为电平信号;控制电源状态检测回路包括第三限流电阻R1、第二整流二极管V1、第二反向保护二极管V2、第二稳压管V3、第四限流电阻R2、控制电源状态采集光耦U1和第二输出电阻R7。In the embodiment of the present invention, the control power supply state detection loop collects the state signal of the control power supply, where the state signal of the control power supply is a level signal; the control power supply state detection loop includes a third current limiting resistor R1, a second rectifier diode V1, The second reverse protection diode V2, the second voltage regulator tube V3, the fourth current limiting resistor R2, the control power supply state collection optocoupler U1 and the second output resistor R7.
如图2所示,本实施例中第三限流电阻R1一端连接控制电源的正极,另一端连接第二整流二极管V1的正极A端,第二整流二极管V1的负极K端连接控制电源状态采集光耦U1的输入端正极A端,控制电源状态采集光耦U1的输入端负极K端则连接到第二稳压管V3的负极K端;而第四限流电阻R2则一端连接控制电源的负极,另一端连接到第二稳压管V3的正极A端;其中第二反向保护二极管V2的正极A端连接到控制电源状态采集光耦U1的输入端正极K端,第二反向保护二极管V2的负极K连接到控制电源状态采集光耦U1的输入端负 极A端。As shown in Fig. 2, in this embodiment, one end of the third current limiting resistor R1 is connected to the positive pole of the control power supply, the other end is connected to the positive pole A terminal of the second rectifier diode V1, and the negative pole K terminal of the second rectifier diode V1 is connected to the control power supply state acquisition The positive terminal A of the input terminal of the optocoupler U1 is connected to the negative terminal K of the input terminal of the optocoupler U1, and the negative terminal K of the input terminal of the optocoupler U1 is connected to the negative terminal K of the second voltage regulator tube V3; Negative, the other end is connected to the positive terminal A of the second voltage regulator tube V3; the positive terminal A of the second reverse protection diode V2 is connected to the positive terminal K of the input terminal of the control power state acquisition optocoupler U1, and the second reverse protection diode The negative pole K of the diode V2 is connected to the negative pole A of the input terminal of the control power supply state collection optocoupler U1.
具体地,控制电源状态检测回路的控制电源状态采集光耦U1的输出端发射极E经过第二输出电阻R7连接到地,控制电源状态采集光耦U1的输出端集电极C直接连接到低电位侧电源VCC,而控制电源状态输出信号则从控制电源状态采集光耦U1的输出端发射极E输出,连接到MCU信号采集控制回路的输入IO引脚PWR。Specifically, the output end emitter E of the control power state acquisition optocoupler U1 of the control power state detection loop is connected to the ground through the second output resistor R7, and the output end collector C of the control power state acquisition optocoupler U1 is directly connected to the low potential The side power supply VCC, and the control power state output signal is output from the output end emitter E of the control power state acquisition optocoupler U1, and is connected to the input IO pin PWR of the MCU signal acquisition control loop.
如图1和图3所示,本发明实施例的MCU信号采集控制回路包括MCU及其辅助电路,其中控制电源状态检测回路的输出信号和开关量采集回路的输出信号分别连接到MCU的输入IO引脚PWR和DIN,而MCU的输出IO引脚CTRL则连接到开关量采集回路中NPN三极管VT1的基极限流电阻R10的一端。As shown in FIG. 1 and FIG. 3 , the MCU signal acquisition control loop in the embodiment of the present invention includes the MCU and its auxiliary circuit, wherein the output signal of the control power state detection loop and the output signal of the switch value acquisition loop are respectively connected to the input IO of the MCU The pins PWR and DIN, and the output IO pin CTRL of the MCU is connected to one end of the base current limiting resistor R10 of the NPN triode VT1 in the switch quantity acquisition loop.
如图3所示,本发明实施例中,当存在多路开关量采集回路时,各开关量采集回路的副采集光耦U2的输出端集电极C中副采集光耦的输出端集电极并联连接在同一受控电源开关后端,也可以理解为:PNP三极管VT2和NPN三极管VT1构成的受控电源开关为多个开关量采集回路的采集通道所共享,其假设条件是同一个开关量采集模块上的开关量使用同一个控制电源。具体地,各开关量采集回路的正端共同连接控制电源正极,各开关量采集回路的负端作为开关量输入端从外部获取开关量信号,经开关量采集回路采集后输入到各自对应的MCU输入IO引脚DIN。As shown in FIG. 3 , in the embodiment of the present invention, when there are multiple switching value acquisition circuits, the output terminal collectors of the auxiliary acquisition optocouplers in the output terminal collectors of the auxiliary acquisition optocouplers U2 of each switching quantity acquisition circuit are connected in parallel Connected to the back end of the same controlled power switch, it can also be understood as: the controlled power switch composed of the PNP transistor VT2 and the NPN transistor VT1 is shared by the acquisition channels of multiple digital acquisition circuits, and the assumption is that the same digital acquisition The switch quantity on the module uses the same control power supply. Specifically, the positive terminal of each switching value acquisition circuit is connected to the positive terminal of the control power supply, and the negative terminal of each switching value acquisition circuit is used as the switching value input terminal to obtain the switching value signal from the outside, which is collected by the switching value acquisition circuit and then input to the corresponding MCU. Input IO pin DIN.
本发明提供的开关量采集电路根据控制电源电压等级的不同,选择采用一组光耦输出或者两组光耦并联输出,通过采集控制电源电压状态,动态的改变采集回路传输增益,能够满足不同控制电源电压所要求的噪声抑制门限,而高电位侧基于无源器件的设计进一步提高电路系统可靠性,降低工程调试成本。The switching value acquisition circuit provided by the present invention selects to use one set of optocoupler outputs or two sets of optocoupler parallel outputs according to the different control power supply voltage levels, and dynamically changes the transmission gain of the acquisition loop by collecting the control power supply voltage state, which can meet different control requirements. The noise suppression threshold required by the power supply voltage, and the design of the high-potential side based on passive components further improves the reliability of the circuit system and reduces the cost of engineering debugging.
具体地,为了更好地实现上述开关量采集电路,其中所涉及元器件参数应该根据工程中两种控制电源电压的不同来选择:Specifically, in order to better realize the above-mentioned switching value acquisition circuit, the parameters of the components involved should be selected according to the difference between the two control power supply voltages in the project:
在本发明一种实施例中,控制电源状态检测回路采集控制电源的状态信号,此处控制电源的状态信号为电平信号,即高电平和低电平。In an embodiment of the present invention, the control power supply state detection loop collects the state signal of the control power supply, where the state signal of the control power supply is a level signal, that is, a high level and a low level.
在如图2所示控制电源状态检测回路中,若设高控制电源电压值为V
c_h,其对应的控制电源状态检测回路输出信号为高电平,低控制电源电压值为V
c_l,其对应的控制电源状态检测回路输出信号为低电平。需要说明的是,本发明中的高控制电源电压和低控制电源电压可根据实际情况通过调整电路中第二稳压管V3、第三限流电阻R1和第四限流电阻R2等元器件进行高、低电压范围的确定,此处,高控制电源电压和低控制电源电压也可理解为电压之间相对比较,不作特定数值范围的限定,以能够实现本发明的技术方案即可。
In the control power state detection loop shown in FIG. 2 , if the high control power supply voltage value is V c_h , the corresponding control power state detection loop output signal is high level, and the low control power supply voltage value is V c_l , which corresponds to The control power state detection loop output signal is low level. It should be noted that the high control power supply voltage and the low control power supply voltage in the present invention can be adjusted according to the actual situation by adjusting the components such as the second voltage regulator tube V3, the third current limiting resistor R1 and the fourth current limiting resistor R2 in the circuit. The determination of the high and low voltage ranges, here, the high control power supply voltage and the low control power supply voltage can also be understood as a relative comparison between voltages, and no specific numerical range is limited, so as to realize the technical solution of the present invention.
如附图2,控制电源状态检测回路各元器件参数选择原则如下:As shown in Figure 2, the selection principle of each component parameter of the control power state detection loop is as follows:
第二稳压管V3的稳压值U
z3选择原则是:V
c_h>U
z3>V
c_l,
The selection principle of the voltage regulation value U z3 of the second voltage regulator tube V3 is: V c_h >U z3 >V c_l ,
第三限流电阻R1和第四限流电阻R2的选择原则是首先保证在高控制电源电压为V
c_h时流过控制电源状态采集光耦U1的发光管的正向电流I
F尽可能小以降低功耗,其次是保证该回路的传输增益,使得高控制电源电压为V
c_h时控制电源状态采集光耦U1输出为高电平;在控制电源状态检测回路中,控制电源采用高控制电源电压时,控制电源状态采集光耦U1导通,输出控制电源状态信号为高电平;控制电源采用低控制电源电压时;控制电源状态采集光耦U1截止,输出控制电源状态信号为低电平。
The selection principle of the third current limiting resistor R1 and the fourth current limiting resistor R2 is to first ensure that when the high control power supply voltage is V c_h , the forward current IF flowing through the light-emitting tube of the control power supply state collection optocoupler U1 is as small as possible to To reduce power consumption, the second is to ensure the transmission gain of the loop, so that when the high control power supply voltage is V c_h , the output of the control power state acquisition optocoupler U1 is high; in the control power state detection loop, the control power supply adopts a high control power supply voltage When the control power state acquisition optocoupler U1 is turned on, the output control power state signal is high level; when the control power supply adopts a low control power supply voltage; the control power state acquisition optocoupler U1 is turned off, and the output control power state signal is low level.
在开关量采集回路中:In the switch value acquisition circuit:
第一稳压管V6的稳压值U
z6选择原则是保证低控制电源电压为V
c_l时满足开 关量低电平阈值V
c_l_th要求(即当开关量的输入端电压小于V
c_l_th,采集电路可靠输出低电平):V
c_l>U
z6>V
c_l_th;第一稳压管V6能够在开关量输入端电压小于开关量低电平阈值V
c_l_th(例如接近0,或者开关量输入端断开、悬空等)时,不因外界因素(电击、静电等)变化而造成瞬间电压波动而错误输出高电平;在低控制电源电压V
c_l时,第一稳压管V6能够确保当开关量输入端的电压超过V
c_l_th时输出高电平。
The selection principle of the voltage regulation value U z6 of the first voltage regulator tube V6 is to ensure that when the low control power supply voltage is V c_l , it satisfies the requirement of the low level threshold value V c_l_th of the switching quantity (that is, when the input terminal voltage of the switching quantity is less than V c_l_th , the acquisition circuit is reliable. Output low level): V c_l >U z6 >V c_l_th ; the voltage of the first voltage regulator tube V6 can be lower than the low level threshold V c_l_th of the switching quantity at the input terminal of the switching quantity (for example, close to 0, or the switching quantity input terminal is disconnected, When floating, etc.), it will not incorrectly output a high level due to instantaneous voltage fluctuations caused by changes in external factors (electric shock, static electricity, etc.); when the control power supply voltage V c_1 is low, the first Zener tube V6 can ensure that when the switching value input terminal Output high when the voltage exceeds V c_l_th .
分流电阻R6的阻值选择原则是保证高控制电源电压为V
c_h时满足开关量低电平阈值V
c_h_th要求(即当开关量的输入端电压小于V
c_h_th,采集电路可靠输出低电平,需保证主采集光耦U3的发光管电流接近0),而分流电阻R6阻值选择的约束条件为:
The selection principle of the resistance value of the shunt resistor R6 is to ensure that when the high control power supply voltage is V c_h , it meets the requirement of the low level threshold V c_h_th of the switching value (that is, when the input voltage of the switching value is less than V c_h_th , the acquisition circuit can reliably output a low level, which needs to be Ensure that the light-emitting tube current of the main collection optocoupler U3 is close to 0), and the constraint conditions for the selection of the resistance value of the shunt resistor R6 are:
其中,V
c_h_th对应控制电源采用高控制电源电压V
c_h时开关量采集回路可靠输出低电平的阈值,U
z6对应第一稳压管V6的稳压值,V
F3对应主采集光耦U3的发光管正向开通电压,R
3,R
4,R
6对应为第一限流电阻R3、第二限流电阻R4、分流电阻R6的阻值。在本实施例中,分流电阻R6进行电流分流,当开关量输入端电压小于开关量低电平阈值时,分流电阻R6使流过主采集光耦U3发光管的电流接近0,无法使主采集光耦后端的光敏三极管饱和导通,从而输出采集信号为低电平。
Among them, V c_h_th corresponds to the threshold value at which the switching value acquisition loop reliably outputs a low level when the control power supply adopts a high control power supply voltage V c_h , U z6 corresponds to the voltage stabilization value of the first voltage regulator tube V6, and V F3 corresponds to the main collection optocoupler U3. The forward turn-on voltage of the light-emitting tube, R 3 , R 4 , and R 6 correspond to the resistance values of the first current limiting resistor R3 , the second current limiting resistor R4 , and the shunt resistor R6 . In this embodiment, the shunt resistor R6 performs current shunt. When the voltage at the input terminal of the switch value is less than the low level threshold of the switch value, the shunt resistor R6 makes the current flowing through the light-emitting tube of the main collection optocoupler U3 close to 0, which cannot make the main collection The phototransistor at the back end of the optocoupler is saturated and turned on, so that the output acquisition signal is low level.
第一限流电阻R3和第二限流电阻R4的选择原则是保证控制电源采用高控制电源电压V
c_h时,在保证电路传输增益时采集回路的功耗尽可能低。
The selection principle of the first current limiting resistor R3 and the second current limiting resistor R4 is to ensure that when the control power supply adopts a high control power supply voltage V c_h , the power consumption of the acquisition loop is as low as possible while ensuring the circuit transmission gain.
第一输出电阻R8的选择原则是要保证电路在不同控制电源电压时,开关量输入端的电压(开关量信号电平)低于系统允许的阈值(高控制电源电压时为 V
c_h_th,低控制电源电压时为V
c_l_th)时开关量采集回路输出为低电平。
The selection principle of the first output resistor R8 is to ensure that when the circuit has different control power supply voltages, the voltage of the switch input terminal (switch signal level) is lower than the allowable threshold of the system (V c_h_th when the control power supply voltage is high, and V c_h_th when the control power supply voltage is low. When the voltage is V c_l_th ), the output of the switch value acquisition loop is low level.
PNP三极管VT2作为受控的电源开关,其选择原则是尽可能低的饱和导通压降,而且饱和导通的电流参数则取决于开关量采集通道数量,PNP三极管VT2的基极上拉电阻R9能保证电路中NPN三级管VT1关闭时其漏电流不会拉低VT2的基极电压,而PNP三极管VT2和NPN三级管VT1构成的受控电源开关为多个采集通道所共享,其假设条件是同一个开关量采集模块上的开关量使用同一个控制电源。The PNP transistor VT2 is used as a controlled power switch. The selection principle is the lowest possible saturation conduction voltage drop, and the current parameter of the saturation conduction depends on the number of switching acquisition channels. The base pull-up resistor R9 of the PNP transistor VT2 It can ensure that the leakage current of the NPN triode VT1 in the circuit will not pull down the base voltage of VT2, and the controlled power switch composed of the PNP triode VT2 and the NPN triode VT1 is shared by multiple acquisition channels. The condition is that the digital value on the same digital value acquisition module uses the same control power supply.
实施例二:Embodiment 2:
如图4所示,本发明实施例提供了一种开关量采集方法,该方法包括如下步骤:As shown in FIG. 4 , an embodiment of the present invention provides a switching value acquisition method, which includes the following steps:
采集控制电源的状态信号;Collect the status signal of the control power supply;
根据控制电源的状态信号,断开或开启副采集光耦;According to the status signal of the control power supply, disconnect or turn on the secondary collection optocoupler;
控制断开副采集光耦仅通过主采集光耦采集开关量信号,或控制启用副采集光耦与主采集光耦共同采集开关量信号。Control the disconnection of the sub-collection optocoupler to collect digital signals only through the main collection optocoupler, or control to enable the sub-collection optocoupler and the main collection optocoupler to jointly collect the digital signal.
具体地,在本发明的一个实施例中,通过控制电源状态检测回路采集控制电源的状态信号,控制电源的状态信号为电平信号,若控制电源状态信号为高电平时,MCU通过控制关闭NPN三极管来控制关闭PNP三极管,进而断开副采集光耦;Specifically, in an embodiment of the present invention, the state signal of the control power supply is collected by the control power supply state detection loop, and the state signal of the control power supply is a level signal. If the control power supply state signal is at a high level, the MCU turns off the NPN by controlling The triode is used to control the closing of the PNP triode, and then disconnect the secondary collection optocoupler;
若控制电源状态信号为低电平时,MCU通过控制开启NPN三极管来控制开启PNP三极管,进而使副采集光耦输出并联到主采集光耦输出,提高开关量采集电路的传输增益。If the control power status signal is low level, the MCU controls the turning on of the NPN transistor to turn on the PNP transistor, so that the secondary collection optocoupler output is connected in parallel with the main collection optocoupler output to improve the transmission gain of the switching value collection circuit.
作为本发明的一种实施例,如图3所示,本发明多通道开关量采集控制示意电路,现以开关量输入通道1为例说明开关量采集操作:As an embodiment of the present invention, as shown in FIG. 3 , the schematic circuit of the multi-channel switch value acquisition control of the present invention, the switch value input channel 1 is taken as an example to illustrate the switch value acquisition operation:
当采用低控制电源电压时,控制电源状态检测回路输出的电平信号为低电平,MCU信号采集控制回路响应上述低电平信号,并控制NPN三极管VT1导通,进而控制PNP三极管VT2开通,实现开关量采集回路中主采集光耦U3和副采集光耦U2并联输出,使得采集回路的传输增益上升,开关量状态信号由主采集光耦U3和副输出光耦U2并联输出决定;When a low control power supply voltage is used, the level signal output by the control power state detection loop is low level, the MCU signal acquisition control loop responds to the above low level signal, and controls the NPN transistor VT1 to turn on, and then controls the PNP transistor VT2 to turn on, Realize the parallel output of the main collection optocoupler U3 and the auxiliary collection optocoupler U2 in the switching value collection circuit, so that the transmission gain of the collection circuit increases, and the switching value status signal is determined by the parallel output of the main collection optocoupler U3 and the auxiliary output optocoupler U2;
当采用高控制电源电压时,控制电源状态检测回路输出的电平信号为高电平,MCU信号采集控制回路响应上述高电平信号,并控制NPN三极管VT1关闭,进而控制PNP三极管VT2关闭,开关量状态信号由主采集光耦U3输出决定。When a high control power supply voltage is used, the level signal output by the control power state detection loop is high level, the MCU signal acquisition control loop responds to the above high level signal, and controls the NPN transistor VT1 to close, and then controls the PNP transistor VT2 to close, the switch The quantity status signal is determined by the output of the main acquisition optocoupler U3.
作为本发明的一种实施例,如图5所示,在采集控制电源状态信号之前,首先判断是否使用软件模式:As an embodiment of the present invention, as shown in Figure 5, before collecting the control power state signal, first determine whether to use the software mode:
若是,则利用预设软件设置值控制断开或开启副采集光耦;If so, use the preset software setting value to control the disconnection or opening of the secondary collection optocoupler;
若否,则采集控制电源状态,并根据其结果控制断开或开启副采集光耦。If not, the state of the control power is collected and controlled to disconnect or turn on the secondary collection optocoupler according to the result.
具体地,在本发明的一个实施例中,MCU信号采集控制回路在启动后首先检查MCU整定值状态:Specifically, in an embodiment of the present invention, the MCU signal acquisition control loop first checks the MCU setting value state after starting:
如果事先设置为软件模式,则忽略控制电源检测回路的输出状态,并根据事先整定的值驱动输出IO引脚CTRL,即:If the software mode is set in advance, the output state of the control power detection loop is ignored, and the output IO pin CTRL is driven according to the pre-set value, namely:
如事先配置系统采用低控制电源电压时,则控制开通NPN三极管VT1,进而控制PNP三极管VT2开通,实现开关量采集回路中主采集光耦U3的和副采集光耦U2的并联输出;If the pre-configured system adopts a low control power supply voltage, the NPN transistor VT1 is controlled to be turned on, and then the PNP transistor VT2 is controlled to be turned on to realize the parallel output of the main collection optocoupler U3 and the auxiliary collection optocoupler U2 in the switching value collection circuit;
如事先配置系统采用高控制电源电压时,由MCU控制NPN三极管VT1关闭,进而控制PNP三极管VT2关闭,开关量采集回路只使用主采集光耦U3的输出。If the pre-configured system adopts a high control power supply voltage, the MCU controls the NPN transistor VT1 to turn off, and then controls the PNP transistor VT2 to turn off, and the switch value acquisition loop only uses the output of the main acquisition optocoupler U3.
如果不采用软件模式,则通过控制电源检测回路的获取控制电源状态信号,根据控制电源电压状态来控制开启或断开副采集光耦。If the software mode is not used, the control power supply state signal is obtained by the control power supply detection circuit, and the auxiliary acquisition optocoupler is controlled to be turned on or off according to the control power supply voltage state.
具体地,在本发明一个实施例中,若控制电源状态信号为低电平,MCU获取该低电平信号,并取反为高电平,并由输出IO引脚CTRL开启NPN三极管VT1,进而开启PNP三极管VT2,使得副采集光耦输出端集电极接入电源,开关量采集回路由主采集光耦U3和副采集光耦U2并联输出;同样的,若控制电源状态信号为高电平,并取反为低电平,并由输出IO引脚CTRL关闭NPN三极管VT1,进而关闭PNP三极管VT2,使得副采集光耦U2的输出端集电极与电源断开,开关量采集回路由主采集光耦U3单独输出。Specifically, in an embodiment of the present invention, if the control power state signal is at a low level, the MCU obtains the low level signal, and inverts the signal to a high level, and turns on the NPN transistor VT1 through the output IO pin CTRL, and then turns on the NPN transistor VT1. Turn on the PNP transistor VT2, so that the collector of the output terminal of the auxiliary collection optocoupler is connected to the power supply, and the switch value collection circuit is output in parallel by the main collection optocoupler U3 and the auxiliary collection optocoupler U2; similarly, if the control power status signal is high, And the inversion is low level, and the NPN transistor VT1 is turned off by the output IO pin CTRL, and then the PNP transistor VT2 is turned off, so that the collector of the output end of the auxiliary collection optocoupler U2 is disconnected from the power supply, and the switching value collection loop is controlled by the main collection light. Coupling U3 separate output.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明技术原理的前提下,还可以做出若干改进和变形,这些改进和变形也应视为本发明的保护范围。The above are only the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the technical principle of the present invention, several improvements and modifications can also be made. These improvements and modifications It should also be regarded as the protection scope of the present invention.
Claims (11)
- 一种开关量采集电路,其特征在于,包括控制电源状态检测回路、MCU信号采集控制回路和至少一路开关量采集回路;所述开关量采集回路包括主采集光耦和副采集光耦;A switching value acquisition circuit, characterized in that it includes a control power supply state detection circuit, an MCU signal acquisition control circuit and at least one switching value acquisition circuit; the switching value acquisition circuit includes a main acquisition optocoupler and a secondary acquisition optocoupler;所述控制电源状态检测回路用于检测为开关量信号供电的控制电源的状态;The control power supply state detection circuit is used to detect the state of the control power supply supplying power for the switch signal;所述MCU信号采集控制回路用于根据所检测的控制电源的状态控制断开副采集光耦仅通过主采集光耦采集开关量信号,或控制启用副采集光耦与主采集光耦共同采集开关量信号。The MCU signal acquisition control loop is used to control the disconnection of the sub-acquisition optocoupler according to the detected state of the control power supply, and only collect the switching signal through the main acquisition photocoupler, or to control the activation of the sub-acquisition photocoupler and the main acquisition photocoupler to jointly acquire the switch. quantity signal.
- 根据权利要求1所述的开关量采集电路,其特征在于,所述开关量采集回路还包括受控电源开关、分流电阻和第一输出电阻;The switch quantity acquisition circuit according to claim 1, wherein the switch quantity acquisition circuit further comprises a controlled power switch, a shunt resistor and a first output resistor;所述分流电阻并联于主采集光耦的输入端正负极,主采集光耦的输入端正极与副采集光耦的输入端负极相连接,主采集光耦的输入端负极与开关量输入端相连接;副采集光耦的输入端正极与控制电源相连接;The shunt resistor is connected in parallel with the positive and negative poles of the input terminals of the main collection optocoupler, the positive pole of the input terminal of the main collection optocoupler is connected with the negative pole of the input terminal of the auxiliary collection optocoupler, and the negative pole of the input terminal of the main collection optocoupler is connected with the switch input terminal. ; The positive pole of the input terminal of the auxiliary collection optocoupler is connected to the control power supply;所述主采集光耦的输出端集电极接入低电位侧电源,所述MCU信号采集控制回路通过所述受控电源开关控制副采集光耦的输出端集电极与低电位侧电源的通断;The collector of the output end of the main collection optocoupler is connected to the low-potential side power supply, and the MCU signal collection control loop controls the on-off of the output end collector of the sub-collection optocoupler and the low-potential side power supply through the controlled power switch. ;所述MCU信号采集控制回路通过主采集光耦的输出端发射极采集开关量信号,主采集光耦的输出端发射极与副采集光耦的输出端发射极相连经第一输出电阻接地。The MCU signal collection control loop collects switching signals through the output end emitter of the main collection optocoupler, and the output end emitter of the main collection optocoupler is connected to the output end emitter of the auxiliary collection optocoupler and grounded through the first output resistor.
- 根据权利要求2所述的开关量采集电路,其特征在于,所述开关量采集回路还包括第一限流电阻、第一整流二极管、第一反向保护二极管、第一稳压管和第二限流电阻;The switching value acquisition circuit according to claim 2, wherein the switching value acquisition circuit further comprises a first current limiting resistor, a first rectifier diode, a first reverse protection diode, a first voltage regulator and a second Current limiting resistor;第一限流电阻与第一整流二极管串联于控制电源正极和副采集光耦的输入端正极之间;第一稳压管、第二限流电阻串联于开关量输入端和主采集光耦的输入端负极之间;The first current limiting resistor and the first rectifier diode are connected in series between the positive electrode of the control power supply and the positive electrode of the input end of the auxiliary collection optocoupler; the first voltage regulator tube and the second current limiting resistor are connected in series with the switch input end and the main collection optocoupler Between the negative poles of the input terminals;所述第一反向保护二极管的负极与副采集光耦的输入端正极电连,第一反向保护二极管的正极与主采集光耦的输入端负极电连。The cathode of the first reverse protection diode is electrically connected to the anode of the input terminal of the secondary collection optocoupler, and the anode of the first reverse protection diode is electrically connected to the cathode of the input terminal of the main collection optocoupler.
- 根据权利要求2所述的开关量采集电路,其特征在于,所述受控电源开关包括PNP三极管、PNP三级管的基极上拉电阻、NPN三极管和NPN三极管基极限流电阻;The switching quantity acquisition circuit according to claim 2, wherein the controlled power switch comprises a PNP triode, a base pull-up resistor of the PNP triode, an NPN triode and a base current limiting resistor of the NPN triode;所述NPN三极管的基极经基极限流电阻连接于所述MCU信号采集控制回路,所述NPN三极管的发射极接地,所述NPN三极管的集电极连接到所述PNP三极管的基极;The base of the NPN triode is connected to the MCU signal acquisition control loop through the base current limiting resistor, the emitter of the NPN triode is grounded, and the collector of the NPN triode is connected to the base of the PNP triode;所述PNP三极管的集电极和所述副采集光耦的输出端集电极相连接,所述PNP三极管的发射极连接低电位侧电源,所述PNP三极管的基极经基极上拉电阻连接到低电位侧电源。The collector of the PNP triode is connected to the collector of the output end of the secondary collection optocoupler, the emitter of the PNP triode is connected to the low-potential side power supply, and the base of the PNP triode is connected to the base pull-up resistor. Low potential side power supply.
- 根据权利要求1所述的开关量采集电路,其特征在于,所述控制电源状态检测回路包括第三限流电阻、第二整流二极管、第二反向保护二极管、第二稳压管、第四限流电阻、控制电源状态采集光耦和第二输出电阻;The switching value acquisition circuit according to claim 1, wherein the control power supply state detection loop comprises a third current limiting resistor, a second rectifier diode, a second reverse protection diode, a second voltage regulator, a fourth Current limiting resistor, control power state acquisition optocoupler and second output resistor;控制电源的正极串联第三限流电阻、第二整流二极管与控制电源状态采集光耦的输入端正极电连;控制电源的负极串联第四限流电阻、第二稳压管与控 制电源状态采集光耦的输入端负极电连;第二反向保护二极管反向并联于控制电源状态采集光耦的输入端正负极两端;The positive pole of the control power supply is connected in series with the third current limiting resistor, the second rectifier diode is electrically connected to the positive pole of the input terminal of the control power supply state acquisition optocoupler; the negative pole of the control power supply is connected in series with the fourth current limiting resistor, the second voltage regulator tube and the control power supply state acquisition The negative pole of the input end of the optocoupler is electrically connected; the second reverse protection diode is connected in reverse parallel to both ends of the positive and negative poles of the input end of the optocoupler for controlling the power supply state collection;所述控制电源状态采集光耦的输出端集电极连接低电位侧电源,所述控制电源状态采集光耦的输出端发射极经第二输出电阻接地,且与所述MCU信号采集控制回路的控制电源状态采集端口连接。The collector of the output end of the control power state acquisition optocoupler is connected to the low potential side power supply, and the emitter of the output end of the control power state acquisition optocoupler is grounded through the second output resistor, and is connected with the control of the MCU signal acquisition control loop. Power status collection port connection.
- 根据权利要求2所述的开关量采集电路,其特征在于,当存在多路开关量采集回路时,各开关量采集回路中副采集光耦的输出端集电极并联连接在同一受控电源开关后端。The switching value acquisition circuit according to claim 2, wherein when there are multiple switching value acquisition circuits, the output terminal collectors of the sub-collecting optocouplers in each switching value acquisition circuit are connected in parallel after the same controlled power switch. end.
- 根据权利要求3所述的开关量采集电路,其特征在于,第一稳压管的稳压值U z6满足:V c_l>U z6>V c_l_th,其中,V c_l_th是控制电源电压为V c_l时开关量低电平阈值,V c_l为控制电源使用低电源电压时的电压值。 The switching value acquisition circuit according to claim 3, wherein the voltage regulation value U z6 of the first voltage regulator satisfies: V c_l >U z6 >V c_l_th , wherein V c_l_th is when the control power supply voltage is V c_l The low level threshold of the switching quantity, V c_l is the voltage value when the control power supply uses a low power supply voltage.
- 根据权利要求3所述的开关量采集电路,其特征在于,分流电阻的阻值约束条件为:The switching value acquisition circuit according to claim 3, wherein the resistance constraint condition of the shunt resistor is:其中,V c_h_th是控制电源电压为V c_h时开关量低电平阈值,V c_h为控制电源使用高电源电压时的电压值,U z6为第一稳压管的稳压值,V F3为主采集光耦的发光管正向开通电压,R 3,R 4,R 6分别为第一限流电阻、第二限流电阻、分流电阻的阻值。 Among them, V c_h_th is the low level threshold value of the switching quantity when the control power supply voltage is V c_h , V c_h is the voltage value when the control power supply uses a high power supply voltage, U z6 is the voltage regulation value of the first voltage regulator, and V F3 is the main Collecting the forward turn-on voltage of the light-emitting tube of the optocoupler, R 3 , R 4 , and R 6 are the resistance values of the first current limiting resistor, the second current limiting resistor, and the shunt resistor, respectively.
- 一种开关量采集方法,其特征在于,所述方法包括如下步骤:A switching value acquisition method, characterized in that the method comprises the following steps:采集控制电源的状态信号;Collect the status signal of the control power supply;根据控制电源的状态信号,控制断开副采集光耦仅通过主采集光耦采集开关量信号,或控制启用副采集光耦与主采集光耦共同采集开关量信号。According to the status signal of the control power supply, control to disconnect the sub-collection optocoupler to collect the switch signal only through the main collection optocoupler, or control to enable the sub-collection optocoupler and the main collection optocoupler to collect the switch signal together.
- 根据权利要求9所述的开关量采集方法,其特征在于,断开副采集光耦的方法包括如下步骤:The switching quantity collection method according to claim 9, wherein the method for disconnecting the secondary collection optocoupler comprises the following steps:MCU信号采集控制回路通过控制关闭NPN三极管来控制关闭PNP三极管,进而断开副采集光耦的集电极电源,使副采集光耦停止工作;The MCU signal acquisition control loop controls the shutdown of the PNP transistor by controlling the shutdown of the NPN transistor, and then disconnects the collector power supply of the secondary acquisition optocoupler, so that the secondary acquisition optocoupler stops working;开启副采集光耦的方法包括如下步骤:The method for turning on the secondary collection optocoupler includes the following steps:MCU信号采集控制回路通过控制开启NPN三极管来控制开启PNP三极管,接通副采集光耦的输出端集电极电源,使副采集光耦的发射极输出并联到主采集光耦的发射极。The MCU signal acquisition control loop controls the opening of the PNP transistor by controlling the opening of the NPN transistor, and turns on the collector power supply of the output end of the auxiliary collection optocoupler, so that the emitter output of the auxiliary collection optocoupler is connected in parallel to the emitter of the main collection optocoupler.
- 根据权利要求9所述的开关量采集方法,其特征在于,在采集控制电源状态信号之前,首先判断是否使用软件模式:The switching value acquisition method according to claim 9, wherein, before collecting the control power supply status signal, first determine whether to use the software mode:若是,则利用预设软件设置值控制断开或开启副采集光耦;If so, use the preset software setting value to control the disconnection or opening of the secondary collection optocoupler;若否,则采集控制电源状态,并根据控制电源状态控制断开或开启副采集光耦。If not, the control power state is collected, and the secondary collection optocoupler is controlled to be disconnected or turned on according to the control power state.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010855663.7 | 2020-08-24 | ||
CN202010855663.7A CN111983298B (en) | 2020-08-24 | 2020-08-24 | Switching value acquisition circuit and method |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022041890A1 true WO2022041890A1 (en) | 2022-03-03 |
Family
ID=73443703
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/096656 WO2022041890A1 (en) | 2020-08-24 | 2021-05-28 | Switching value acquisition circuit and method |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN111983298B (en) |
WO (1) | WO2022041890A1 (en) |
ZA (1) | ZA202106320B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111208767A (en) * | 2020-02-28 | 2020-05-29 | 浙江明度智控科技有限公司 | A kind of intelligent circuit and switch quantity acquisition method |
CN114659545A (en) * | 2022-04-29 | 2022-06-24 | 东风电驱动系统有限公司 | Double-range self-adaptive measurement method and device |
CN114675572A (en) * | 2022-03-10 | 2022-06-28 | 河南卓正电子科技有限公司 | Intelligent screen display switching circuit and method for instrument |
CN114859100A (en) * | 2022-04-22 | 2022-08-05 | 佛山市顺德区锜科电子科技有限公司 | Measuring circuit and measuring method of alternating voltage and intelligent equipment |
CN114900179A (en) * | 2022-07-12 | 2022-08-12 | 天津光电集团有限公司 | Interface circuit of flexible adaptive sensor and application thereof |
CN114925007A (en) * | 2022-06-09 | 2022-08-19 | 盈帜科技(常州)有限公司 | Signal conversion circuit |
CN115402377A (en) * | 2022-08-31 | 2022-11-29 | 中车大连电力牵引研发中心有限公司 | Time-sharing control circuit and method for motor train unit with adjustable current and voltage acquisition |
CN115473206A (en) * | 2022-09-21 | 2022-12-13 | 东风电子科技股份有限公司 | Short circuit protection circuit for high side drive relay coil |
CN115483916A (en) * | 2022-11-14 | 2022-12-16 | 福建顺昌虹润精密仪器有限公司 | Phase-shifting trigger controller with power regulation and power limitation |
CN115755841A (en) * | 2022-11-10 | 2023-03-07 | 中国兵器装备集团上海电控研究所 | Multi-state signal acquisition circuit and test device |
CN115877200A (en) * | 2023-02-21 | 2023-03-31 | 中电装备山东电子有限公司 | Broken wire detection system |
CN117644850A (en) * | 2023-11-27 | 2024-03-05 | 东风汽车集团股份有限公司 | Brake pedal control circuit and control method meeting functional safety |
CN118731475A (en) * | 2024-09-03 | 2024-10-01 | 深蓝汽车南京研究院有限公司 | Battery voltage detection circuit, charging system, vehicle, method, device and medium |
CN119335943A (en) * | 2024-12-24 | 2025-01-21 | 杭州杭途科技有限公司 | A circuit for collecting both switching quantity and analog quantity |
CN119376609A (en) * | 2024-12-26 | 2025-01-28 | 上海宏力达信息技术股份有限公司 | A collection circuit and collection method for collecting multiple open input quantities |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111983298B (en) * | 2020-08-24 | 2023-03-17 | 南京磐能电力科技股份有限公司 | Switching value acquisition circuit and method |
CN112506107A (en) * | 2020-12-15 | 2021-03-16 | 成都众山科技有限公司 | Switching value signal acquisition RTU |
CN115118275A (en) * | 2021-03-18 | 2022-09-27 | 安科瑞电气股份有限公司 | Switching value input signal acquisition circuit with self-checking and low power consumption and method |
CN113346344A (en) * | 2021-05-28 | 2021-09-03 | 苏州科韵激光科技有限公司 | Signal control device and method and laser equipment |
CN113824792A (en) * | 2021-09-27 | 2021-12-21 | 长沙威克电力技术科技有限公司 | Remote control terminal DTU equipment capable of preventing switch from being switched on and off mistakenly |
CN113933693B (en) * | 2021-09-28 | 2023-10-20 | 科大智能电气技术有限公司 | Detection circuit suitable for multiple types of opening and closing quantities and control method |
CN114439337A (en) * | 2022-01-19 | 2022-05-06 | 上海轨道交通设备发展有限公司 | Dynamic and static circuit and control method for rail platform door control |
CN117110946B (en) * | 2023-10-25 | 2024-01-23 | 西安热工研究院有限公司 | Analog signal output broken line detection circuit |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE2842965A1 (en) * | 1978-10-02 | 1980-04-17 | Schaltbau Gmbh | CIRCUIT TO Distinguish between high DC and AC voltages |
EP0608477A2 (en) * | 1993-01-26 | 1994-08-03 | Carlo Gavazzi AG | Semiconductor relay |
CN201935986U (en) * | 2010-12-10 | 2011-08-17 | 许继集团有限公司 | Self-checking circuit for switch quantity output |
CN201974508U (en) * | 2010-12-30 | 2011-09-14 | 上海申瑞电力科技股份有限公司 | AC/DC self-adaptive switch quantity acquisition circuit |
CN202333774U (en) * | 2011-12-15 | 2012-07-11 | 广东电网公司佛山供电局 | Electric power capacitor protecting device |
CN202841086U (en) * | 2012-10-11 | 2013-03-27 | 华自科技股份有限公司 | Switching value input module |
CN106970257A (en) * | 2017-03-31 | 2017-07-21 | 上海紫通信息科技有限公司 | Power equipment control output signal Acquisition Circuit |
CN111983298A (en) * | 2020-08-24 | 2020-11-24 | 南京磐能电力科技股份有限公司 | Switching value acquisition circuit and method |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104280598B (en) * | 2014-09-19 | 2017-06-20 | 惠而浦(中国)股份有限公司 | Power supply detection method and detection system for microwave oven |
CN204575823U (en) * | 2014-12-31 | 2015-08-19 | 深圳市科陆电子科技股份有限公司 | A kind of circuit that can carry out voltage sample to cell any in series battery |
CN204374294U (en) * | 2015-01-16 | 2015-06-03 | 四川瑞新轨道交通科技发展有限公司 | The time interleaving sampled voltage testing circuit of track traffic automatic grounding system |
CN205787014U (en) * | 2016-05-24 | 2016-12-07 | 深圳市沃特玛电池有限公司 | A kind of D.C. contactor main contacts testing circuit |
CN205920160U (en) * | 2016-07-15 | 2017-02-01 | 安徽南瑞继远电网技术有限公司 | Detection module of communication electrical power generating system branch road state of insulation |
CN106226681A (en) * | 2016-08-04 | 2016-12-14 | 刘超 | A kind of power circuit failure detector circuit and electronic equipment |
CN206248742U (en) * | 2016-11-24 | 2017-06-13 | 华自科技股份有限公司 | Multi-way switching values signal pickup assembly and its on-off model Acquisition Circuit |
CN109839561B (en) * | 2017-11-27 | 2021-07-16 | 中国航空工业集团公司西安航空计算技术研究所 | Switching signal acquisition circuit with state detection function |
CN209673879U (en) * | 2019-01-23 | 2019-11-22 | 苏州德亚交通技术有限公司 | Gate power failure detection circuit and gate control device based on two-way optocoupler |
CN110346643A (en) * | 2019-07-23 | 2019-10-18 | 安徽贵博新能科技有限公司 | A kind of battery insulation resistance detecting circuit and detection method |
-
2020
- 2020-08-24 CN CN202010855663.7A patent/CN111983298B/en active Active
-
2021
- 2021-05-28 WO PCT/CN2021/096656 patent/WO2022041890A1/en active Application Filing
- 2021-08-30 ZA ZA2021/06320A patent/ZA202106320B/en unknown
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE2842965A1 (en) * | 1978-10-02 | 1980-04-17 | Schaltbau Gmbh | CIRCUIT TO Distinguish between high DC and AC voltages |
EP0608477A2 (en) * | 1993-01-26 | 1994-08-03 | Carlo Gavazzi AG | Semiconductor relay |
CN201935986U (en) * | 2010-12-10 | 2011-08-17 | 许继集团有限公司 | Self-checking circuit for switch quantity output |
CN201974508U (en) * | 2010-12-30 | 2011-09-14 | 上海申瑞电力科技股份有限公司 | AC/DC self-adaptive switch quantity acquisition circuit |
CN202333774U (en) * | 2011-12-15 | 2012-07-11 | 广东电网公司佛山供电局 | Electric power capacitor protecting device |
CN202841086U (en) * | 2012-10-11 | 2013-03-27 | 华自科技股份有限公司 | Switching value input module |
CN106970257A (en) * | 2017-03-31 | 2017-07-21 | 上海紫通信息科技有限公司 | Power equipment control output signal Acquisition Circuit |
CN111983298A (en) * | 2020-08-24 | 2020-11-24 | 南京磐能电力科技股份有限公司 | Switching value acquisition circuit and method |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111208767A (en) * | 2020-02-28 | 2020-05-29 | 浙江明度智控科技有限公司 | A kind of intelligent circuit and switch quantity acquisition method |
CN111208767B (en) * | 2020-02-28 | 2025-04-11 | 明度智云(浙江)科技有限公司 | Intelligent circuit and switch quantity acquisition method |
CN114675572A (en) * | 2022-03-10 | 2022-06-28 | 河南卓正电子科技有限公司 | Intelligent screen display switching circuit and method for instrument |
CN114859100A (en) * | 2022-04-22 | 2022-08-05 | 佛山市顺德区锜科电子科技有限公司 | Measuring circuit and measuring method of alternating voltage and intelligent equipment |
CN114659545B (en) * | 2022-04-29 | 2024-01-09 | 东风电驱动系统有限公司 | Double-range self-adaptive measurement method and device |
CN114659545A (en) * | 2022-04-29 | 2022-06-24 | 东风电驱动系统有限公司 | Double-range self-adaptive measurement method and device |
CN114925007A (en) * | 2022-06-09 | 2022-08-19 | 盈帜科技(常州)有限公司 | Signal conversion circuit |
CN114900179A (en) * | 2022-07-12 | 2022-08-12 | 天津光电集团有限公司 | Interface circuit of flexible adaptive sensor and application thereof |
CN115402377B (en) * | 2022-08-31 | 2023-10-20 | 中车大连电力牵引研发中心有限公司 | Time-sharing control circuit and method for motor train unit with adjustable current and voltage |
CN115402377A (en) * | 2022-08-31 | 2022-11-29 | 中车大连电力牵引研发中心有限公司 | Time-sharing control circuit and method for motor train unit with adjustable current and voltage acquisition |
CN115473206A (en) * | 2022-09-21 | 2022-12-13 | 东风电子科技股份有限公司 | Short circuit protection circuit for high side drive relay coil |
CN115755841A (en) * | 2022-11-10 | 2023-03-07 | 中国兵器装备集团上海电控研究所 | Multi-state signal acquisition circuit and test device |
CN115483916A (en) * | 2022-11-14 | 2022-12-16 | 福建顺昌虹润精密仪器有限公司 | Phase-shifting trigger controller with power regulation and power limitation |
CN115877200A (en) * | 2023-02-21 | 2023-03-31 | 中电装备山东电子有限公司 | Broken wire detection system |
CN117644850A (en) * | 2023-11-27 | 2024-03-05 | 东风汽车集团股份有限公司 | Brake pedal control circuit and control method meeting functional safety |
CN118731475A (en) * | 2024-09-03 | 2024-10-01 | 深蓝汽车南京研究院有限公司 | Battery voltage detection circuit, charging system, vehicle, method, device and medium |
CN119335943A (en) * | 2024-12-24 | 2025-01-21 | 杭州杭途科技有限公司 | A circuit for collecting both switching quantity and analog quantity |
CN119376609A (en) * | 2024-12-26 | 2025-01-28 | 上海宏力达信息技术股份有限公司 | A collection circuit and collection method for collecting multiple open input quantities |
Also Published As
Publication number | Publication date |
---|---|
CN111983298A (en) | 2020-11-24 |
ZA202106320B (en) | 2021-10-27 |
CN111983298B (en) | 2023-03-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022041890A1 (en) | Switching value acquisition circuit and method | |
CN103647316B (en) | A kind of serial lithium battery group power supply equalization management system | |
CN206321756U (en) | Power failure detection circuit and switching power supply circuit | |
CN103607016A (en) | Non-polarity automatic judgment charging circuit and charger | |
CN105071469A (en) | Solar charging circuit | |
CN103166175A (en) | Input overvoltage protection circuit for light-emitting diode (LED) driving power supply | |
CN203839984U (en) | Power balance management system for series lithium battery pack | |
CN113991610A (en) | Power on/off enabling and under-voltage locking device | |
CN117081218A (en) | Charging pile with automatic charging mode switching function | |
CN211351695U (en) | Output overcurrent protection circuit of high accuracy secondary control | |
CN206294067U (en) | A kind of fool proof insulating power supply circuit being applied on BMS | |
CN116577540B (en) | Primary side voltage detection circuit, charging device and electric vehicle | |
CN203929855U (en) | A kind of servo control mechanism cell voltage test circuit | |
CN209030069U (en) | A kind of multiple-output electric power | |
CN215772524U (en) | Charger mains voltage abnormity protection circuit | |
CN212229004U (en) | Optical coupling isolation detection circuit with low power consumption and wide voltage | |
CN108649798A (en) | A kind of high-power linear power supply and its control circuit | |
CN110875687A (en) | Aviation isolation type flyback switching power supply converter | |
CN213398814U (en) | Overvoltage and undervoltage detection circuit | |
CN213027797U (en) | Solid-state power relay based on hybrid integrated circuit | |
CN210156319U (en) | Contactor voltage control circuit and contactor system | |
CN203205828U (en) | LED driving power supply input overvoltage protection circuit | |
CN103458556B (en) | Constant power control circuit | |
CN202453405U (en) | Alternating current detection circuit and automatic power-off circuit with power-off zero power consumption | |
CN201742312U (en) | Single-voltage switch state converting circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21859735 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21859735 Country of ref document: EP Kind code of ref document: A1 |