A reverse current detection system
By introducing a correction circuit into the reverse current detection system to compensate for the mismatch voltage of the comparator, the problem of reverse current detection error in the traditional system is solved and the accuracy of detection is improved.
Patent Information
- Application Number
- CN201810204520.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-03-13
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2038-03-13
AI Technical Summary
The differential input terminal of the comparator in the traditional reverse current detection system is prone to mismatch, which leads to errors in the reverse current detection judgment value and affects detection accuracy.
A correction circuit is introduced between the comparator and the power device to reduce the reverse current detection error by compensating the mismatch voltage of the comparator.
The compensation voltage is output by the correction circuit to offset the mismatch voltage of the comparator, significantly reducing the reverse current detection error and improving detection accuracy.
Smart Images

Figure CN108387771B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of reverse current detection, and in particular to a reverse current detection system. Background Art
[0002] To ensure the normal operation of components such as battery management and motor control and avoid reverse current failures caused by short circuits, overloads, etc., the following are usually used. Figure 1 The conventional reverse current detection system shown is used for detection.
[0003] The conventional reverse current detection system includes: a comparator 10 and a power device 12 . The comparator 10 determines whether there is a reverse current by comparing the voltages at both ends of the power device 12 .
[0004] The inventor of the present application discovered during the long-term research and development process that the comparator 10 often has process deviations, and the differential input terminal of the comparator 10 is prone to mismatch, which is equivalent to adding an input mismatch voltage V0 to the input terminal of the comparator 10. Under the influence of the mismatch voltage V0, the judgment value of the reverse current detection will have an error, and the error value is I0, I0 = V0 / R on , where R on is the equivalent impedance of the power device 12 being tested. Summary of the invention
[0005] The main technical problem solved by the present application is to provide a reverse current detection system, which can reduce the detection error when the reverse current detection system performs reverse current detection.
[0006] In order to solve the above technical problems, a technical solution adopted in the present application is: to provide a reverse current detection system, the system includes: a power device, a comparator and a correction circuit, the correction circuit is coupled between the comparator and the power device, and the correction circuit is used to compensate for the mismatch voltage of the comparator so that the detection error of the reverse current detection system is reduced when performing reverse current detection.
[0007] The beneficial effect of the present application is: different from the prior art, the reverse current detection system adopted in the present application includes a correction circuit coupled between the comparator and the power device, and the correction circuit can output a compensation voltage, which offsets the mismatch voltage of the comparator, so that the detection error of the reverse current detection system is reduced when performing reverse current detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0009] Figure 1 is a circuit diagram of an implementation method of a conventional reverse current detection system;
[0010] Figure 2 It is a circuit diagram of an implementation method of a reverse current detection system of the present application;
[0011] Figure 3 yes Figure 2 Schematic diagram of a switching cycle of a medium power device and a single pole double throw switch in one embodiment. DETAILED DESCRIPTION
[0012] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0013] See also Figure 2 , Figure 2 This is a circuit diagram of an embodiment of a reverse current detection system of the present application, the system includes: a power device 20, a comparator 22 and a correction circuit 24, the correction circuit 24 is coupled between the comparator 22 and the power device 20, and the correction circuit 24 is used to compensate for the mismatch voltage V1 of the comparator 22, so that the detection error of the reverse current detection system is reduced when performing reverse current detection. It should be noted that Figure 2 V1 is just a mismatch voltage inside the comparator 22 and is not a real circuit element. For the sake of clarity in the subsequent description, it is drawn inside the comparator 22 with a dotted line.
[0014] Specifically, in one embodiment, the power device 20 includes a first terminal 200 and a second terminal 202. The first terminal 200 has a first input voltage V p , the second terminal 202 has a second input voltage V m. In this embodiment, the power device 20 is a two-terminal device. In other embodiments, the power device 20 may also be other multi-terminal devices, such as a three-terminal device, a four-terminal device, etc. In one application scenario, the power device 20 is a combination of any one or more of a bipolar junction transistor BJT and a metal-oxide semiconductor field effect transistor MOSFET. For example, the power device 20 is a combination of at least two bipolar junction transistors, or the power device 20 is a combination of a bipolar junction transistor BJT and a metal-oxide semiconductor field effect transistor MOSFET, etc. In other application scenarios, the power device 20 may also be other, which is not limited in this application.
[0015] The comparator 22 includes a first input terminal 220, a second input terminal 222 and an output terminal 224. In an application scenario, the first input terminal is a non-inverting input terminal and the second input terminal is an inverting input terminal. When the voltage input to the first input terminal 220 is greater than the voltage input to the second input terminal 222, the output terminal 224 outputs a high-level signal. Conversely, when the voltage input to the first input terminal 220 is less than the voltage input to the second input terminal 222, the output terminal 224 outputs a low-level signal.
[0016] The correction circuit 24 includes a control subcircuit 240 and a compensation subcircuit 242. The compensation subcircuit 242 is used to output a compensation voltage V2 to compensate for the mismatch voltage V1 of the comparator 22. The control subcircuit 240 is used to receive a feedback voltage signal output by the output terminal 224 of the comparator 22, and adjust the compensation voltage output by the compensation subcircuit 242 according to the feedback voltage signal, thereby reducing the detection error when the reverse current detection system performs reverse current detection. Specifically, the adjustment principle of the control subcircuit 240 is: the mismatch voltage of the comparator 22 is V1, and the control subcircuit 240 adjusts the output voltage V2 of the compensation subcircuit 242 according to the feedback voltage signal output by the comparator 22, so that the value of V1+V2 is 0, thereby offsetting the mismatch voltage V1 of the comparator 22. Of course, there is no complete 'zero value' in physical phenomena and real life. The value of V1+V2 in the reverse current detection system provided in this application switches repeatedly around + / - "zero value", and this value can be made very precise and can be approximated as 'zero value' in practical applications.
[0017] In an application scenario, see Figure 2The compensation subcircuit 242 is coupled between the first input terminal 220 of the comparator 22 and the first terminal 200 of the power device 20, and the control subcircuit 240 is coupled between the output terminal 224 of the comparator 22 and the compensation subcircuit 242. The control subcircuit 240 adjusts the compensation voltage V2 output by the compensation subcircuit 242 according to the feedback voltage signal output by the output terminal 224 of the comparator 22, thereby reducing the detection error when the reverse current detection system performs reverse current detection. In other application scenarios, the coupling method of the compensation subcircuit 242 with the comparator 22 and the power device 20 can also be other, and this application does not limit this. Any equivalent Figure 2 The coupling methods in the embodiment are all within the protection scope of the present application. For example, the compensation subcircuit 242 may be coupled to the first terminal 200 of the power device 20, the first input terminal 220, and the second input terminal 222 of the comparator 22; for another example, the compensation subcircuit 242 may be coupled only to the first input terminal 220 and the second input terminal 222 of the comparator 22.
[0018] In one application scenario, the control subcircuit 240 is a logic gate circuit. After receiving the feedback voltage signal output by the comparator 22, the control subcircuit 240 outputs an adjustment signal to the compensation subcircuit 242 according to its built-in logic adjustment method. The compensation subcircuit 242 adjusts the compensation voltage output by itself according to the adjustment signal. In another application scenario, the compensation subcircuit 242 includes a coupled resistor and an amplifier circuit, or a coupled capacitor and an amplifier circuit. In other application scenarios, the compensation subcircuit 242 may also be other, and this application does not limit this.
[0019] In another embodiment, please refer to Figure 2 , the reverse current detection system provided in the present application also includes a single-pole double-throw switch 26, which includes a fixed end A, a first closed end B and a second closed end C, the fixed end A is coupled to the second input end 222 of the comparator 22, the first closed end B is coupled to the first end 200 of the power device 20, and the second closed end C is coupled to the second end 202 of the power device 20. In an application scenario, the power device 20 includes a first switching frequency, the single-pole double-throw switch 26 includes a first switching frequency, and the first switching frequency is the same as the first switching frequency. In other embodiments, the single-pole double-throw switch 26 can also be replaced by a type of switch device, which is not limited in the present application.
[0020] The reverse current detection system provided by the present application is further described below using a specific application scenario.
[0021] The power device 20 provided in the present application has a preset first switching frequency, and the single-pole double-throw switch 26 has a preset first switching frequency, so that the reverse current detection system provided in the present application is switched between a reverse current detection state and a correction state, wherein, when the power device is turned on, the reverse current detection system operates in the reverse current detection state to perform a reverse current detection operation; when the power device is disconnected, the reverse current detection system operates in the correction state to perform a correction operation.
[0022] The following description will be made by taking the Nth switching cycle of the power device 20 as an example.
[0023] (1) Detection state: In this state, the power device 20 is turned on, and the fixed terminal A of the single-pole double-throw switch 26 is connected to the second closed terminal C. At this time, the comparator 22, the compensation sub-circuit 242, and the power device 20 form a circuit loop. The output voltage of the compensation sub-circuit 242 at this time is the compensation voltage V at the end of the previous switching cycle, that is, the N-1th switching cycle. 2(N-1) , the reverse current detection system performs normal reverse current detection.
[0024] (2) Correction state: In this state, the power device 20 is disconnected, and the fixed end A of the single-pole double-throw switch 26 is connected to the first closed end B, so that the comparator 22 is short-circuited. At this time, the comparator 22 and the compensation sub-circuit 242 form a circuit loop. The output end 224 of the comparator 22 outputs a feedback voltage signal to the input end of the control sub-circuit 240. The control sub-circuit 240 outputs an adjustment signal to the compensation sub-circuit 242 according to the feedback voltage signal. The compensation sub-circuit 242 adjusts the original compensation voltage V according to the adjustment signal. 2(N-1) Adjust to V 2(N) Then output, the adjusted compensation voltage V 2(N) is the output voltage of the compensation sub-circuit 242 when the next switching cycle, ie, the Nth switching cycle, is in the detection state.
[0025] In an application scenario, please combine Figure 3 , when the reverse current detection system starts to perform the reverse current detection operation, the time t10 when the fixed end A of the single-pole double-throw switch 26 is switched to be connected to the second closed end C is no later than the time t20 when the power device 20 is turned on, that is, t10≤t20; in another application scenario, when the reverse current detection system starts to perform the correction operation, the time t11 when the fixed end A of the single-pole double-throw switch 26 is switched to be connected to the first closed end B is no earlier than the time t21 when the power device 20 is turned off, that is, t11≥t21. In short, any correction operation that utilizes the time when the power device 20 is turned off is within the protection scope of this application.
[0026] In an application scenario, the mismatch voltage V1 of the comparator 22 is positive, and the output voltage V2(N-1) If the output terminal 224 of the comparator 22 outputs a high level feedback voltage signal to the control subcircuit 240 at this time, the control subcircuit 240 determines that V1+V 2(N-1) The value of is greater than zero, the control subcircuit 240 outputs the compensation voltage V currently output by the compensation subcircuit 242. 2(N-1) The adjustment signal is adjusted down by one bit according to the predetermined step length ΔV to the compensation sub-circuit 242. At this time, the compensation sub-circuit 242 outputs the compensation voltage V 2(N) V 2(N-1) -ΔV, that is, V 2(N) =V 2(N-1) -ΔV, the predetermined step size ΔV may be 1V, 0.1V, 0.01V, etc.
[0027] In another application scenario, if the output terminal 224 of the comparator 22 outputs a low-level feedback voltage signal to the control subcircuit 240, the control subcircuit 240 determines that V1+V 2(N-1) The value of is less than zero, the control subcircuit 240 outputs the compensation voltage V currently output by the compensation subcircuit 242. 2(N-1) The adjustment signal is increased by one bit according to the predetermined step length ΔV to the compensation sub-circuit 242. At this time, the compensation sub-circuit 242 outputs the compensation voltage V 2(N) Adjust to V 2(N-1) +ΔV, that is, V 2(N) =V 2(N-1) +ΔV, the predetermined step size ΔV may be 1V, 0.1V, 0.01V, etc.
[0028] In other application scenarios, in order to avoid the above reverse current detection system from making a misjudgment and causing continuous adjustment of the compensation voltage V2, the control subcircuit 240 may adjust the current compensation voltage V2 only when the feedback voltage signal is a high level signal for a predetermined number of consecutive times, or a low level for a predetermined number of consecutive times. The above predetermined number of times includes but is not limited to 0 times, 1 times, 2 times, 3 times, and 4 times.
[0029] In another embodiment, when the power device 20 is in the first switching cycle, the compensation sub-circuit 242 may preset an initial compensation voltage V 20 , the initial compensation voltage V 20 The value of can be set based on previous experience.
[0030] In other embodiments, the control subcircuit 240 may use other methods to adjust the compensation voltage V2 output by the current compensation subcircuit 242, which is not limited in the present application.
[0031] In summary, different from the prior art, the reverse current detection system adopted in the present application includes a correction circuit coupled between the comparator and the power device. The correction circuit can output a compensation voltage, which offsets the mismatch voltage of the comparator, so that the detection error of the reverse current detection system is reduced when performing reverse current detection.
[0032] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A reverse current detection system, characterized in that: The system comprises: A power device, a comparator, a correction circuit and a single-pole double-throw switch, wherein the correction circuit is coupled between the comparator and the power device; The power device comprises a first terminal and a second terminal, the first terminal having a first input voltage Vp, and the second terminal having a second input voltage Vm; The comparator comprises a first input terminal, a second input terminal and an output terminal; The correction circuit includes a control subcircuit and a compensation subcircuit, wherein the compensation subcircuit is used to output a compensation voltage to compensate for the mismatch voltage of the comparator, and the control subcircuit receives a feedback voltage signal output by the output end of the comparator, and adjusts the compensation voltage output by the compensation subcircuit according to the feedback voltage signal, thereby reducing the detection error of the reverse current detection system when performing reverse current detection; The single-pole double-throw switch comprises a fixed end, a first closed end and a second closed end, the fixed end is coupled to the second input end of the comparator, the first closed end is coupled to the first end of the power device, and the second closed end is coupled to the second end of the power device; The reverse current detection system switches between a reverse current detection state and a deviation correction state. When the power device is turned on, the reverse current detection system works in the reverse current detection state to perform a reverse current detection operation; when the power device is turned off, the reverse current detection system works in the deviation correction state to perform a deviation correction operation; When the reverse current detection system operates in the deviation correction state, the comparator outputs the feedback voltage signal to the control subcircuit, the control subcircuit outputs an adjustment signal to the compensation subcircuit according to the feedback voltage signal, and the compensation subcircuit adjusts and outputs the compensation voltage according to the adjustment signal; Among them, the control subcircuit outputs an adjustment signal to the compensation subcircuit according to the feedback voltage signal, and the compensation subcircuit adjusts the output compensation voltage according to the adjustment signal, including: the feedback voltage signal is a low-level signal for a predetermined number of consecutive times, the control subcircuit outputs a signal to the compensation subcircuit that increases the current compensation voltage of the compensation subcircuit by one position according to a predetermined step length, the compensation subcircuit increases the current compensation voltage by one position according to a predetermined step length, and outputs the adjusted compensation voltage; the feedback voltage signal is a high-level signal for a predetermined number of consecutive times, the control subcircuit outputs a signal to the compensation subcircuit that decreases the current compensation voltage of the compensation subcircuit by one position according to a predetermined step length, the compensation subcircuit decreases the current compensation voltage by one position according to a predetermined step length, and outputs the adjusted compensation voltage; the predetermined number of times includes 1 time, 2 times, 3 times, and 4 times.
2. The system according to claim 1, characterized in that When the reverse current detection system operates in the reverse current detection state, the power device is turned on, the fixed end of the single-pole double-throw switch is connected to the second closed end, the output voltage of the compensation subcircuit is the compensation voltage, and the reverse current detection system performs reverse current detection; When the reverse current detection system operates in the deviation correction state, the power device is disconnected, and the fixed end of the single-pole double-throw switch is connected to the first closed end, so that the comparator is short-circuited.
3. The system according to claim 2, characterized in that When the reverse current detection system starts to perform the reverse current detection operation, the fixed end of the single-pole double-throw switch is switched to be connected to the second closed end at a time no later than the time when the power device is turned on; And / or, when the reverse current detection system starts to perform the deviation correction operation, the moment when the fixed end of the single-pole double-throw switch is switched to be connected to the first closed end is no earlier than the moment when the power device is disconnected.
4. The system according to claim 1, characterized in that The compensation subcircuit includes a coupled resistor and an amplifier circuit; or, the compensation subcircuit includes a coupled capacitor and an amplifier circuit.
5. The system according to claim 1, characterized in that The power device includes any one or more combinations of a bipolar junction transistor (BJT) and a metal-oxide semiconductor field effect transistor (MOSFET).
Citation Information
Patent Citations
Switching regulator
CN101252316A
Zero-current detection circuit and method, and voltage conversion circuit
CN103424605A
Zero-cross detection circuit and detection method used for synchronous buck converter
CN103616556A
Direct current fragmentary current detection and error automatically removed circuit of direct current transducer
CN207234669U
Contrary current detection system
CN208537611U
