A processing circuit and method for processing a constant current source output voltage convex wave
By designing a constant current source output voltage convex wave processing circuit, using real-time collection and monitoring of voltage and current values, and adjusting the voltage output, the problem of voltage convex wave caused by the disconnection of the output circuit during the lithium battery pack test was solved, and related devices were protected and improved. improve the stability of the circuit.
Patent Information
- Application Number
- CN202010258146.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-03
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-04-03
AI Technical Summary
In the existing technology, during the test of the lithium battery pack, the output circuit is disconnected, causing the current to be shut off instantly, causing the circuit to lose control and the output voltage to convex, damaging related devices.
A processing circuit for the output voltage convex wave of a constant current source is designed, including a main control circuit, a front-end switching power supply BACK circuit, a constant voltage and constant current control circuit, a linear adjustment control circuit, a voltage and current acquisition circuit and a current acquisition and processing circuit. Through real-time Collect and monitor voltage and current values, adjust voltage output, and quickly eliminate voltage convex waves.
It effectively eliminates the voltage convex wave caused by the disconnection of the output circuit, protects related devices, and improves the usability and stability of the circuit.
Smart Images

Figure CN111458542B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of lithium battery pack testing, and in particular to a processing circuit and method for a constant current source output voltage convex wave. Background Art
[0002] During the production process of finished lithium battery packs and their protection boards, the charging overcurrent protection of finished lithium battery packs and their protection boards must be fully tested. As manufacturers control costs, the voltage withstand value fluctuation space of the related devices used in the finished lithium battery packs and their protection boards is controlled very small; when testing the charging overcurrent protection, the current is instantly shut off due to the output circuit disconnection, and the entire circuit will instantly lose control and cause output voltage surges. This voltage surge is required not to exceed the voltage withstand value of the related devices in the finished lithium battery pack and its protection board, otherwise it will damage the related devices.
[0003] In the prior art, there are mainly two methods for processing voltage spurs: the first method is to require the output wiring impedance to be reduced to a certain value, which can be specifically set to a smaller output value by adjusting the front-end voltage of the constant current source. In this way, when the output peripheral circuit of the constant current source is disconnected instantly, the voltage spur caused will be relatively smaller; however, reducing the output wiring impedance is a treatment method that only treats the symptoms but not the root cause. It can only be based on setting the low point of the front-end voltage to minimize the output voltage spur so that it does not exceed the requirements. The second method is to adjust the regulation characteristics and shutdown output index of the feedback circuit, sacrifice the circuit response time characteristics, and try to limit the voltage spur after the charging overcurrent protection; however, adjusting the regulation characteristics of the feedback circuit is to slow down the rise time of the voltage spur at the expense of the response time of the overall feedback circuit. When it is quickly shut down, the overall usability of the circuit will be limited, and it is completely unsuitable for some fields that require rapid protection and shutdown. Therefore, it is urgent to provide a voltage spur processing solution to effectively solve the problem that the current is instantly shut down due to the disconnection of the output circuit, resulting in the instantaneous loss of control of the entire circuit, causing the output voltage spur and damaging related devices. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a processing circuit and a processing method for a constant current source output voltage spur wave, which is used to effectively solve the problem that the output circuit is disconnected and the current is instantly shut down, resulting in the entire circuit being instantly out of control, causing output voltage spur wave and damaging related devices.
[0005] The present invention is implemented as follows: a processing circuit for a constant current source output voltage convex wave, comprising a main control circuit, a front-end switching power supply BACK circuit, a constant voltage and constant current control circuit, a linear regulation control circuit, a voltage and current acquisition circuit, a current acquisition processing circuit and a front-end voltage output adjustment circuit;
[0006] The main control circuit is connected to the front-end switching power supply BACK circuit, and the front-end switching power supply BACK circuit is connected to the front-end voltage output adjustment circuit; the constant voltage and constant current control circuit is connected to the main control circuit; the linear regulation control circuit is connected to the constant voltage and constant current control circuit; the voltage and current acquisition circuit is respectively connected to the main control circuit, the constant voltage and constant current control circuit and the current acquisition processing circuit; the current acquisition processing circuit is respectively connected to the main control circuit and the front-end voltage output adjustment circuit; the front-end voltage output adjustment circuit is connected to the linear regulation control circuit;
[0007] When performing an overcurrent protection test, the test load is connected to the linear regulation control circuit and the voltage and current acquisition circuit respectively;
[0008] During operation, the power supply output of the front-end switching power supply BACK circuit and the driving level output of the constant voltage and constant current control circuit are controlled by the main control circuit; the current acquisition processing circuit and the front-end voltage output adjustment circuit together control the magnitude output of the front-end voltage; the front-end voltage output adjustment circuit and the constant voltage and constant current control circuit together control the linear adjustment output of the linear adjustment control circuit; the voltage and current acquisition circuit real-time acquires the voltage and current values on the loop; the voltage and current acquisition circuit provides the collected voltage and current values to the main control circuit for real-time monitoring and processing, the voltage and current acquisition circuit provides the collected voltage and current values to the constant voltage and constant current control circuit for real-time feedback and regulation to output a high level drive to the main control circuit, the voltage and current acquisition circuit provides the collected current value to the current acquisition processing circuit for real-time comparison and processing; the current acquisition processing circuit provides the output level to the main control circuit for real-time monitoring and processing.
[0009] Furthermore, the front-end switching power supply BACK circuit includes a driver, an isolation driving inductor, a first MOS tube, a second MOS tube and an energy storage inductor;
[0010] The input end of the driver is connected to the main control circuit, and the input end of the isolated driving inductor is connected to the output end of the driver; the isolated driving inductor has two outputs, one of which is respectively connected to the G pole and the S pole of the first MOS tube, and the D pole of the first MOS tube is connected to the power supply, and the other output is respectively connected to the G pole and the S pole of the second MOS tube, and the S pole of the second MOS tube is grounded; the S pole of the first MOS tube and the D pole of the second MOS tube are both connected to the input end of the energy storage inductor, and the output end of the energy storage inductor is connected to the front-end voltage output adjustment circuit.
[0011] Furthermore, the front-end voltage output adjustment circuit includes a first capacitor, a third MOS transistor, a fourth MOS transistor, a first resistor and a second resistor;
[0012] One end of the first capacitor is connected to the current acquisition and processing circuit, and the other end of the first capacitor is connected to the G pole of the third MOS tube; the D pole of the third MOS tube is connected to the G pole of the fourth MOS tube; the front-end switching power supply BACK circuit is connected to the D pole of the fourth MOS tube, and the D pole of the fourth MOS tube is connected to the S pole of the fourth MOS tube through the first resistor; one end of the second resistor is connected to the S pole of the fourth MOS tube, and the other end of the second resistor and the S pole of the third MOS tube are grounded together.
[0013] Furthermore, the constant voltage and constant current control circuit includes a voltage operational amplifier, a current operational amplifier, a first diode and a second diode;
[0014] The positive input terminals of the voltage operational amplifier and the current operational amplifier are both connected to the main control circuit; the negative input terminals of the voltage operational amplifier and the current operational amplifier are both connected to the voltage and current acquisition circuit; the output terminals of the voltage operational amplifier and the current operational amplifier are both connected to the linear regulation control circuit; the first diode is connected in parallel to the output terminal of the current operational amplifier, and the second diode is connected in parallel to the output terminal of the voltage operational amplifier.
[0015] Furthermore, the linear regulation control circuit includes a fifth MOS tube and a third resistor;
[0016] The G pole of the fifth MOS tube is connected to the constant voltage and constant current control circuit, and the D pole of the fifth MOS tube is connected to the front-end voltage output adjustment circuit; the S pole of the fifth MOS tube is connected to the positive voltage sampling end of the voltage and current acquisition circuit; one end of the third resistor is respectively connected to the negative voltage sampling end and the positive current sampling end of the voltage and current acquisition circuit, and the other end of the third resistor is respectively connected to the ground and the negative current sampling end of the voltage and current acquisition circuit.
[0017] Furthermore, the voltage and current acquisition circuit includes a voltage acquisition operational amplifier and a current acquisition operational amplifier;
[0018] The input end of the voltage acquisition amplifier is connected to the two voltage output ends of the linear regulation control circuit, and the output end of the voltage acquisition amplifier is connected to the main control circuit and the constant voltage and constant current control circuit respectively;
[0019] The input end of the current acquisition amplifier is connected to the two current acquisition ends of the linear regulation control circuit, and the output end of the current acquisition amplifier is respectively connected to the main control circuit, the current acquisition processing circuit and the constant voltage and constant current control circuit.
[0020] Furthermore, the current acquisition and processing circuit includes a fast comparator, a fourth resistor, a fifth resistor and a sixth resistor;
[0021] The negative input terminal of the fast comparator is connected to the voltage and current acquisition circuit; one end of the fourth resistor is connected to the reference voltage, one end of the fifth resistor is grounded, and the other ends of the fourth resistor and the fifth resistor are both connected to the positive input terminal of the fast comparator; the output terminal of the fast comparator is respectively connected to the main control circuit and the front-end voltage output adjustment circuit; one end of the sixth resistor is connected to the output terminal of the fast comparator, and the other end is connected to the pull-up power supply.
[0022] Furthermore, the main control circuit adopts a TMS320F28377S chip.
[0023] The present invention is implemented as follows: a method for processing a convex wave of a constant current source output voltage, the method needs to use the above-mentioned processing circuit, and the processing method includes:
[0024] The main control circuit sets the voltage output value V set And the current output value I set , V set and I set The signal is output to the constant voltage and constant current control circuit; at the same time, the PWMA and PWMB signals are output to the front-end switching power supply BACK circuit through the main control circuit;
[0025] After receiving the PWMA and PWMB signals, the front-end switching power supply BACK circuit is enabled to drive the first MOS transistor and the second MOS transistor in the front-end switching power supply BACK circuit to be turned on, so as to output the voltage VPP signal to the front-end voltage output adjustment circuit; after receiving the voltage VPP signal, the front-end voltage output adjustment circuit is enabled to drive the fourth MOS transistor in the front-end voltage output adjustment circuit to be turned on, so as to output the voltage VCC signal to the linear regulation control circuit;
[0026] The constant voltage and constant current control circuit receives V set and I set After the signal is received, the voltage operational amplifier and the current operational amplifier of the constant voltage and constant current control circuit are enabled to output a high level, so as to drive the fifth MOS tube in the linear regulation control circuit to conduct, thereby outputting the voltage and current values;
[0027] The voltage and current acquisition circuit acquires the voltage VFB and current IFB in the loop; the voltage and current acquisition circuit feeds back the collected voltage VFB and IFB current signals to the constant voltage and constant current control circuit in real time, so that the constant voltage and constant current control circuit can adjust the conduction degree of the fifth MOS tube in the linear regulation control circuit, so that the linear regulation control circuit can stably output the required voltage and current values; the voltage and current acquisition circuit feeds back the collected voltage VFB and current IFB signals to the main control circuit in real time, so that the main control circuit can perform real-time monitoring and processing; the voltage and current acquisition circuit feeds back the collected current IFB signal to the current acquisition processing circuit in real time; the current acquisition processing circuit compares the received current IFB signal with the internally set reserved value, and enables the fast comparator of the current acquisition processing circuit to output a low-level pulse;
[0028] When the external loop is disconnected and the current is turned off, causing the linear regulation control circuit to lose control, the linear regulation control circuit directly outputs the voltage VCC in the front-end voltage output adjustment circuit, so that the output voltage forms a convex wave;
[0029] After the voltage and current acquisition circuit acquires the changes of the voltage VFB and the current IFB in the loop, the changes of the voltage VFB and the current IFB signals are fed back to the main control circuit, and the main control circuit enables the first MOS tube and the second MOS tube in the front-end switching power supply BACK circuit to be driven to be turned off, thereby indirectly turning off the voltage and current value output of the linear regulation control circuit; at the same time, the voltage and current acquisition circuit feeds back the changes of the current IFB signal to the current acquisition processing circuit, and after the current acquisition processing circuit compares the received current IFB signal, it enables the fast comparator of the current acquisition processing circuit to output a high-level pulse to the front-end voltage output adjustment circuit, and through the high-level pulse, the third MOS tube in the front-end voltage output adjustment circuit is turned on and the fourth MOS tube is turned off, so that the voltage VPP input to the front-end voltage output adjustment circuit is divided by the first resistor and the second resistor, and then the voltage VCC is output.
[0030] The present invention has the following advantages: the present invention compares the collected current value in real time through the current collection and processing circuit, and outputs a high-level pulse when a voltage convex wave appears, so as to enable the front-end voltage output adjustment circuit to quickly adjust the size of the output voltage VCC; at the same time, the first MOS tube and the second MOS tube in the front-end switching power supply BACK circuit are driven to be turned off through the main control circuit, thereby indirectly turning off the voltage and current value output of the linear regulation control circuit; through the combined effect of the above two, the problem of instantaneous current shutdown due to the disconnection of the output loop, resulting in instantaneous loss of control of the entire circuit, causing output voltage convex waves and damage to related devices can be effectively eliminated. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The present invention will be further described below in conjunction with embodiments with reference to the accompanying drawings.
[0032] Figure 1 The present invention is a circuit principle block diagram of a circuit for processing a constant current source output voltage convex wave.
[0033] Figure 2 4 is a circuit structure diagram of the main control circuit in the present invention.
[0034] Figure 3 It is a circuit structure diagram of the front-end switching power supply BACK circuit in the present invention.
[0035] Figure 4 It is a circuit structure diagram of the constant voltage and constant current control circuit and the linear regulation control circuit in the present invention.
[0036] Figure 5 It is a circuit structure diagram of the voltage and current acquisition circuit in the present invention.
[0037] Figure 6 It is a circuit structure diagram of the current acquisition and processing circuit in the present invention.
[0038] Figure 7 It is a circuit structure diagram of the front-end voltage output adjustment circuit in the present invention. DETAILED DESCRIPTION
[0039] See also Figures 1 to 7 As shown, a preferred embodiment of a processing circuit 100 for a constant current source output voltage convex wave of the present invention, the processing circuit 100 includes a main control circuit 1, a front-end switching power supply BACK circuit 2, a constant voltage and constant current control circuit 3, a linear regulation control circuit 4, a voltage and current acquisition circuit 5, a current acquisition processing circuit 6 and a front-end voltage output adjustment circuit 7;
[0040] The main control circuit 1 is connected to the front-end switching power supply BACK circuit 2, and the front-end switching power supply BACK circuit 2 is connected to the front-end voltage output adjustment circuit 7; the constant voltage and constant current control circuit 3 is connected to the main control circuit 1; the linear regulation control circuit 4 is connected to the constant voltage and constant current control circuit 3; the voltage and current acquisition circuit 5 is respectively connected to the main control circuit 1, the constant voltage and constant current control circuit 3 and the current acquisition processing circuit 6; the current acquisition processing circuit 6 is respectively connected to the main control circuit 1 and the front-end voltage output adjustment circuit 7; the front-end voltage output adjustment circuit 7 is connected to the linear regulation control circuit 4;
[0041] When performing an overcurrent protection test, the test load 200 (i.e., the finished product of the lithium battery pack and its protection board) is connected to the linear regulation control circuit 4 and the voltage and current acquisition circuit 5 respectively;
[0042] During operation, the main control circuit 1 controls the power supply output of the front-end switching power supply BACK circuit 2 and controls the driving level output of the constant voltage and constant current control circuit 3; the current acquisition processing circuit 6 controls the magnitude output of the front-end voltage together with the front-end voltage output adjustment circuit 7; the front-end voltage output adjustment circuit 7 controls the linear adjustment output of the linear regulation control circuit 4 together with the constant voltage and constant current control circuit 3; the voltage and current acquisition circuit 5 acquires the voltage and current values on the loop in real time; the voltage and current acquisition circuit 5 provides the acquired voltage and current values to the main control circuit 1 for real-time monitoring. Control processing, in specific implementation, the main control circuit 1 will collect, monitor, display and other processing of the received voltage and current values, the voltage and current acquisition circuit 5 will provide the collected voltage and current values to the constant voltage and constant current control circuit 3 for real-time feedback adjustment and output high level drive to the main control circuit 1, the voltage and current acquisition circuit 5 will provide the collected current value to the current acquisition processing circuit 6 for real-time comparison processing; the current acquisition processing circuit 6 will provide the output level to the main control circuit 1 for real-time monitoring processing, and the main control circuit 1 will collect, monitor, display and other processing of the output level. Among them, the main control circuit 1 is implemented by TMS320F28377S chip.
[0043] In this embodiment, please refer to Figure 3 As shown, the front-end switching power supply BACK circuit 2 includes a driver U6, an isolation driving inductor T1, a first MOS transistor Q4, a second MOS transistor Q5 and an energy storage inductor L1;
[0044] The input end of the driver U6 is connected to the main control circuit 1, and the input end of the isolation driving inductor T1 is connected to the output end of the driver U6; the isolation driving inductor T1 has two outputs, one of which is respectively connected to the G pole and S pole of the first MOS tube Q4, and the D pole of the first MOS tube Q4 is connected to the power supply POWER, and the other output is respectively connected to the G pole and S pole of the second MOS tube Q5, and the S pole of the second MOS tube Q5 is grounded GND; the S pole of the first MOS tube Q4 and the D pole of the second MOS tube Q5 are both connected to the input end of the energy storage inductor L1, and the output end of the energy storage inductor L1 is connected to the front-end voltage output adjustment circuit 7. Among them, the driver U6 is mainly used for enhancing the signal; the isolation driving inductor T1 is mainly used to realize the output of two sets of complementary isolated signals; the energy storage inductor L1 is mainly used to play the role of energy storage.
[0045] In the front-end switching power supply BACK circuit 2, the driver U6 is implemented by the UCC27424 chip, and the pin 1 of the UCC27424 chip is connected to the PWMA signal output pin of the TMS320F28377S chip, and the pin 4 of the UCC27424 chip is connected to the PWMB signal output pin of the TMS320F28377S chip; the pin 5 and the pin 7 of the UCC27424 chip are respectively connected to the two input ends of the isolation drive inductor T1, and a capacitor C3 is also arranged between the pin 7 of the UCC27424 chip and the input end of the isolation drive inductor T1, and the capacitor C3 mainly plays the role of isolating direct current. Resistors R31, R32 and resistors R29, R30 are respectively arranged on the two outputs of the isolation drive inductor T1, wherein the role of the resistor R31 and the resistor R29 is to control the corresponding time of the driving rising edge, and the resistor R32 and the resistor R30 mainly play the role of discharge. The S pole of the second MOS tube Q5 is also connected to the output end of the energy storage inductor L1 through a resistor R28 and a capacitor C2, wherein the resistor R28 is a dummy load and the capacitor C2 mainly plays the role of energy storage and filtering.
[0046] When the front-end switching power supply BACK circuit 2 is working, the driver U6 performs enhancement processing on the PWMA signal and the PWMB signal output by the main control circuit 1, and outputs the enhanced PWMA signal and the PWMB signal to the isolation driving inductor T1; the isolation driving inductor T1 divides the PWMA signal and the PWMB signal into two groups of complementary isolated BPWMA / BPWM-A and BPWMB / BPWM-B signals, and drives the first MOS transistor Q4 and the second MOS transistor Q5 to conduct respectively, and then outputs the voltage to the front-end voltage output adjustment circuit 7 through the energy storage inductor L1. At the same time, in the specific implementation, the duty cycle of the PWMA signal and the PWMB signal output by the main control circuit 1 can be adjusted to adjust the output voltage VPP of the front-end switching power supply BACK circuit 2.
[0047] In this embodiment, please refer to Figure 7 As shown, the front-end voltage output adjustment circuit 7 includes a first capacitor C1, a third MOS transistor Q3, a fourth MOS transistor Q2, a first resistor R1 and a second resistor R6;
[0048] One end of the first capacitor C1 is connected to the current acquisition processing circuit 6, and the other end of the first capacitor C1 is connected to the G pole of the third MOS tube Q3; the D pole of the third MOS tube Q3 is connected to the G pole of the fourth MOS tube Q2; the front-end switch power supply BACK circuit 2 is connected to the D pole of the fourth MOS tube Q2, and the D pole of the fourth MOS tube Q2 is connected to the S pole of the fourth MOS tube Q2 through the first resistor R1; one end of the second resistor R6 is connected to the S pole of the fourth MOS tube Q2, and the other end of the second resistor R6 and the S pole of the third MOS tube Q3 are grounded GND. Among them, the first capacitor C1 mainly plays the role of isolating DC voltage control; the first resistor R1 and the second resistor R6 mainly play the role of voltage division.
[0049] In the front-end voltage output adjustment circuit 7, a resistor R8 is further arranged between the first capacitor C1 and the G pole of the third MOS tube Q3, a resistor R9 is further arranged between the G pole and the S pole of the third MOS tube Q3, and a resistor R5 is further arranged between the D pole and the G pole of the fourth MOS tube Q2, and the resistors R8, R9 and R5 all play a driving role.
[0050] When the front-end voltage output adjustment circuit 7 is working, in the default state, the third MOS tube Q3 is in the off state, the fourth MOS tube Q2 is in the on state, the first resistor R1 is short-circuited, and the second resistor R6 is used purely as a dummy load. Therefore, the voltage VPP signal outputs a voltage VCC after passing through the front-end voltage output adjustment circuit 7, and the voltage VCC = the voltage VPP. When the first capacitor C1 receives a high-level pulse transmitted by the current acquisition processing circuit 6, the third MOS tube Q3 is enabled to be turned on, and the fourth MOS tube Q2 is indirectly controlled to be turned off, so that the voltage VPP signal outputs the voltage VCC after being divided by the first resistor R1 and the second resistor R6.
[0051] In this embodiment, please refer to Figure 4 As shown, the constant voltage and constant current control circuit 3 includes a voltage operational amplifier N1A, a current operational amplifier N1B, a first diode D1 and a second diode D2;
[0052] The positive input terminals of the voltage amplifier N1A and the current amplifier N1B are connected to the main control circuit 1; the negative input terminals of the voltage amplifier N1A and the current amplifier N1B are connected to the voltage and current acquisition circuit 5; the output terminals of the voltage amplifier N1A and the current amplifier N1B are connected to the linear regulation control circuit 4; the first diode D1 is connected in parallel to the output terminal of the current amplifier N1B, and the second diode D2 is connected in parallel to the output terminal of the voltage amplifier N1A. The voltage amplifier N1A and the current amplifier N1B can be implemented by using the ADA4522-2 amplifier.
[0053] In the constant voltage and constant current control circuit 3, the two input terminals of the voltage amplifier N1A are respectively provided with a resistor R10 and a resistor R12, and the output terminal of the voltage amplifier N1A is provided with a resistor R11; the two input terminals of the current amplifier N1B are respectively provided with a resistor R2 and a resistor R4, and the output terminal of the current amplifier N1B is provided with a resistor R3; wherein the resistors R10, R12, R2 and R4 mainly play a matching role, and the resistors R11 and R3 mainly play a driving role. wherein the first diode D1 mainly plays a role in accelerating the shutdown and protecting the resistor R3, and the second diode D2 mainly plays a role in accelerating the shutdown and protecting the resistor R11.
[0054] When the constant voltage and constant current control circuit 3 is working, when the constant voltage and constant current control circuit 3 receives the V set and output by the main control circuit 1 set and I set When the voltage amplifier N1A and the current amplifier N1B are fed back by the voltage and current acquisition circuit 5, the voltage amplifier N1A and the current amplifier N1B are enabled to output a high level to the linear regulation control circuit 4. When the constant voltage and constant current control circuit 3 receives the voltage VFB and current IFB signals fed back by the voltage and current acquisition circuit 5, the voltage amplifier N1A and the current amplifier N1B are enabled to adjust the output high level.
[0055] In this embodiment, please refer to Figure 4 As shown, the linear regulation control circuit 4 includes a fifth MOS tube Q1 and a third resistor R7;
[0056] The G pole of the fifth MOS tube Q1 is connected to the constant voltage and constant current control circuit 3, and the D pole of the fifth MOS tube Q1 is connected to the front-end voltage output adjustment circuit 7; the S pole of the fifth MOS tube Q1 is connected to the positive voltage sampling end of the voltage and current acquisition circuit 5; one end of the third resistor R7 is respectively connected to the negative voltage sampling end and the positive current sampling end of the voltage and current acquisition circuit 5, and the other end of the third resistor R7 is respectively connected to the ground GND and the negative current sampling end of the voltage and current acquisition circuit 5; the third resistor R7 is mainly used for sampling.
[0057] When the linear regulation control circuit 4 is working, the output terminal PV+ / PV- of the linear regulation control circuit 4 needs to be connected to the test load 200 to load the output voltage onto the test load 200 for testing; when the linear regulation control circuit 4 receives the high level output by the constant voltage and constant current control circuit 3, it will drive the fifth MOS tube Q1 to conduct, thereby outputting the voltage and current value. At the same time, according to the constant voltage and constant current control circuit 3, the high level output is adjusted to drive the fifth MOS tube Q1 to adjust the conduction degree, so as to achieve the voltage and current value required for stable output.
[0058] In this embodiment, please refer to Figure 5 As shown, the voltage and current acquisition circuit 5 includes a voltage acquisition operational amplifier N2A and a current acquisition operational amplifier N2B;
[0059] The input end of the voltage acquisition amplifier N2A is connected to the two voltage output ends PV+ / PV- of the linear regulation control circuit 4, and the output end of the voltage acquisition amplifier N2A is connected to the main control circuit 1 and the constant voltage and constant current control circuit 3 respectively;
[0060] The input end of the current acquisition amplifier N2B is connected to the two current acquisition terminals Is+ / Is- of the linear regulation control circuit 4, and the output end of the current acquisition amplifier N2B is respectively connected to the main control circuit 1, the current acquisition processing circuit 6 and the constant voltage and constant current control circuit 3. Among them, the voltage acquisition amplifier N2A and the current acquisition amplifier N2B can be implemented by ADA4522-2 operational amplifier.
[0061] In the voltage and current acquisition circuit 5, a resistor R16 is provided at the negative input terminal of the voltage acquisition amplifier N2A, a resistor R14 and a resistor R13 are provided in parallel at the positive input terminal of the voltage acquisition amplifier N2A, and one end of the resistor R13 is grounded GND; a resistor R24 is provided at the negative input terminal of the current acquisition amplifier N2B, a resistor R21 and a resistor R19 are provided in parallel at the positive input terminal of the voltage acquisition amplifier N2B, and one end of the resistor R19 is grounded GND; the output terminal of the voltage acquisition amplifier N2A A resistor R15 is provided, and a resistor R17 is provided between the output terminal and the negative input terminal of the voltage acquisition amplifier N2A; a resistor R23 is provided at the output terminal of the current acquisition amplifier N2B, and a resistor R27 is provided between the output terminal and the negative input terminal of the current acquisition amplifier N2B; wherein, the resistors R13, R14, R16, R19, R21, and R24 mainly play a matching role, and the resistors R15, R17, R23, and R27 mainly play a driving role.
[0062] When the voltage and current acquisition circuit 5 is working, the voltage output by the linear regulation control circuit 4 can be acquired through the voltage acquisition operational amplifier N2A, and the current of the third resistor R7 in the linear regulation control circuit 4 can be acquired through the current acquisition operational amplifier N2B; the collected voltage VFB and current IFB signals are fed back to the main control circuit 1, the current acquisition processing circuit 6 and the constant voltage and constant current control circuit 3 respectively.
[0063] In this embodiment, please refer to Figure 6 As shown, the current acquisition and processing circuit 6 includes a fast comparator N3A, a fourth resistor R26, a fifth resistor R25 and a sixth resistor R18;
[0064] The negative input terminal of the fast comparator N3A is connected to the voltage and current acquisition circuit 5; one end of the fourth resistor R26 is connected to the reference voltage VREF, one end of the fifth resistor R25 is grounded GND, and the other ends of the fourth resistor R26 and the fifth resistor R25 are connected to the positive input terminal of the fast comparator N3A; the output terminal of the fast comparator N3A is respectively connected to the main control circuit 1 and the front-end voltage output adjustment circuit 7; one end of the sixth resistor R18 is connected to the output terminal of the fast comparator N3A, and the other end is connected to the pull-up power supply VCCD. Among them, the fast comparator N3A is mainly used to compare the current IFB signal fed back by the voltage and current acquisition circuit 5 with the internally set reserved value, and output the corresponding level according to the comparison result. The fast comparator N3A can use the SGM8745 comparator; the fourth resistor R26 and the fifth resistor R25 mainly play the role of voltage division; the sixth resistor R18 plays the role of pulling up the voltage.
[0065] In the current acquisition and processing circuit 6, a resistor R20 is provided at the negative input end of the fast comparator N3A, and a resistor R22 is provided at the positive input end of the fast comparator N3A; the resistor R20 and the resistor R22 mainly play a matching role.
[0066] When the current acquisition and processing circuit 6 is working, it will compare the current IFB signal fed back by the voltage and current acquisition circuit 5 with the internally set reserved value, and if the current IFB signal is greater than the internally set reserved value, it will output a high-level pulse; if the current IFB signal is less than or equal to the internally set reserved value, it will output a low-level pulse; at the same time, the level pulse will also be output to the main control circuit 1 and the front-end voltage output adjustment circuit 7.
[0067] The present invention further provides a method for processing a convex wave of a constant current source output voltage. The method needs to use the above-mentioned processing circuit 100. The processing method includes:
[0068] The main control circuit 1 sets the voltage output value V set And the current output value I set , V can be set according to actual output requirements set and I set , V set and I set The signal is output to the constant voltage and constant current control circuit 3; at the same time, the main control circuit 1 outputs PWMA and PWMB signals with a certain duty cycle to the front-end switching power supply BACK circuit 2; of course, the duty cycle of the PWMA signal and the PWMB signal output by the main control circuit 1 can also be adjusted to adjust the output voltage VPP of the front-end switching power supply BACK circuit 2;
[0069] After receiving the PWMA and PWMB signals, the front-end switching power supply BACK circuit 2 enables driving the first MOS transistor Q4 and the second MOS transistor Q5 in the front-end switching power supply BACK circuit 2 to conduct, so as to output the voltage VPP signal to the front-end voltage output adjustment circuit 7; after receiving the voltage VPP signal, the front-end voltage output adjustment circuit 7 enables driving the fourth MOS transistor Q2 in the front-end voltage output adjustment circuit 7 to conduct, so as to output the voltage VCC signal to the linear regulation control circuit 4;
[0070] The constant voltage and constant current control circuit 3 receives V set and I set After the signal is received, the voltage amplifier N1A and the current amplifier N1B of the constant voltage and constant current control circuit 3 are enabled to output a high level, so as to drive the fifth MOS tube Q1 in the linear regulation control circuit 4 to be turned on, thereby outputting the voltage and current values;
[0071] The voltage and current acquisition circuit 5 acquires the voltage VFB and current IFB in the loop; the voltage and current acquisition circuit 5 feeds back the collected voltage VFB and IFB current signals to the constant voltage and constant current control circuit 3 in real time, so that the constant voltage and constant current control circuit 3 can adjust the conduction degree of the fifth MOS tube in the linear regulation control circuit 4, so that the linear regulation control circuit 4 can stably output the required voltage and current values, where the voltage value is recorded as V+; the voltage and current acquisition circuit 5 feeds back the collected voltage VFB and current IFB signals to the main control circuit 1 in real time, so that the main control circuit Circuit 1 performs real-time monitoring processing (specifically, it can perform collection, monitoring, display and other processing); the voltage and current acquisition circuit 5 feeds back the collected current IFB signal to the current acquisition processing circuit 6 in real time; the current acquisition processing circuit 6 compares the received current IFB signal with the internally set reserved value, and enables the fast comparator N3A of the current acquisition processing circuit 6 to output a low-level pulse; since when no convex wave appears, the current IFB signal received by the current acquisition processing circuit 6 will be less than or equal to the internally set reserved value, at this time the fast comparator N3A will output a low-level pulse by default;
[0072] When the external loop is disconnected and the current is turned off, causing the linear regulation control circuit 4 to lose control, that is, when the external loop is disconnected and the current is instantly turned off, the linear regulation control circuit 4 will lose control, and the linear regulation control circuit 4 will directly output the voltage VCC in the front-end voltage output adjustment circuit 7, so that the output voltage forms a convex wave; because the voltage VCC output by the front-end voltage output adjustment circuit 7 will be greater than V+, the output voltage V+ will be pulled up instantly, and a convex wave will be formed at this time;
[0073] After the voltage and current acquisition circuit 5 acquires the changes of the voltage VFB and the current IFB in the loop, the changes of the voltage VFB and the current IFB signals are fed back to the main control circuit 1, and the main control circuit 1 enables the first MOS transistor Q4 and the second MOS transistor Q5 in the front-end switching power supply BACK circuit 2 to be driven off, thereby indirectly shutting off the voltage and current value output of the linear regulation control circuit 4. This process is too slow, so it is not possible to completely eliminate the output voltage convex wave;
[0074] At the same time, the voltage and current acquisition circuit 5 feeds back the change of the current IFB signal to the current acquisition processing circuit 6. After comparing the received current IFB signal, the current acquisition processing circuit 6 enables the fast comparator N3A of the current acquisition processing circuit 6 to output a high-level pulse to the front-end voltage output adjustment circuit 7 (when a voltage spur appears, the current IFB signal received by the current acquisition processing circuit 6 will be greater than the internally set reserved value, and the fast comparator N3A will output a high-level pulse at this time), and through the high-level pulse, the third MOS tube Q3 in the front-end voltage output adjustment circuit 7 is turned on and the fourth MOS tube Q2 is turned off, so that the voltage VPP input to the front-end voltage output adjustment circuit 7 is divided by the first resistor R1 and the second resistor R6, and then the voltage VCC is output; because the voltage VPP is divided by the first resistor R1 and the second resistor R6, the output of the voltage VCC will be greatly reduced, so that the voltage VCC is less than V+.
[0075] In summary, the present invention compares the collected current values in real time through the current collection and processing circuit, and outputs a high-level pulse when a voltage swell occurs, which can enable the front-end voltage output adjustment circuit to quickly adjust the size of the output voltage VCC; at the same time, the main control circuit enables the first MOS tube and the second MOS tube in the front-end switching power supply BACK circuit to be turned off, thereby indirectly turning off the voltage and current value output of the linear regulation control circuit; through the combined effect of the above two, the problem of instantaneous current shutdown due to the output loop disconnection, resulting in the instantaneous loss of control of the entire circuit, causing output voltage swells and damage to related devices can be effectively eliminated.
[0076] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.
Claims
1. A circuit for processing a convex wave of a constant current source output voltage, characterized in that: It includes a main control circuit, a front-end switching power supply BACK circuit, a constant voltage and constant current control circuit, a linear regulation control circuit, a voltage and current acquisition circuit, a current acquisition processing circuit and a front-end voltage output adjustment circuit; The main control circuit is connected to the front-end switching power supply BACK circuit, and the front-end switching power supply BACK circuit is connected to the front-end voltage output adjustment circuit; the constant voltage and constant current control circuit is connected to the main control circuit; the linear regulation control circuit is connected to the constant voltage and constant current control circuit; the voltage and current acquisition circuit is respectively connected to the main control circuit, the constant voltage and constant current control circuit and the current acquisition processing circuit; the current acquisition processing circuit is respectively connected to the main control circuit and the front-end voltage output adjustment circuit; the front-end voltage output adjustment circuit is connected to the linear regulation control circuit; When performing an overcurrent protection test, the test load is connected to the linear regulation control circuit and the voltage and current acquisition circuit respectively; When working, the main control circuit controls the power supply output of the front-end switching power supply BACK circuit and controls the driving level output of the constant voltage and constant current control circuit; The current acquisition processing circuit and the front-end voltage output adjustment circuit together control the magnitude output of the front-end voltage; the front-end voltage output adjustment circuit and the constant voltage and constant current control circuit together control the linear adjustment output of the linear regulation control circuit; the voltage and current acquisition circuit real-time acquires the voltage and current values on the loop; The voltage and current acquisition circuit provides the collected voltage and current values to the main control circuit for real-time monitoring and processing; the voltage and current acquisition circuit provides the collected voltage and current values to the constant voltage and constant current control circuit for real-time feedback regulation and outputs a high level drive to the main control circuit; the voltage and current acquisition circuit provides the collected current value to the current acquisition processing circuit for real-time comparison and processing; the current acquisition processing circuit provides the output level to the main control circuit for real-time monitoring and processing; The front-end switching power supply BACK circuit includes a driver, an isolation driving inductor, a first MOS tube, a second MOS tube and an energy storage inductor; The input end of the driver is connected to the main control circuit, and the input end of the isolation driving inductor is connected to the output end of the driver; the isolation driving inductor has two outputs, one of which is respectively connected to the G pole and the S pole of the first MOS tube, and the D pole of the first MOS tube is connected to the power supply, and the other output is respectively connected to the G pole and the S pole of the second MOS tube, and the S pole of the second MOS tube is grounded; the S pole of the first MOS tube and the D pole of the second MOS tube are both connected to the input end of the energy storage inductor, and the output end of the energy storage inductor is connected to the front-end voltage output adjustment circuit; The front-end voltage output adjustment circuit includes a first capacitor, a third MOS transistor, a fourth MOS transistor, a first resistor and a second resistor; One end of the first capacitor is connected to the current acquisition and processing circuit, and the other end of the first capacitor is connected to the G pole of the third MOS tube; the D pole of the third MOS tube is connected to the G pole of the fourth MOS tube; the front-end switching power supply BACK circuit is connected to the D pole of the fourth MOS tube, and the D pole of the fourth MOS tube is connected to the S pole of the fourth MOS tube through the first resistor; one end of the second resistor is connected to the S pole of the fourth MOS tube, and the other end of the second resistor and the S pole of the third MOS tube are grounded together.
2. The circuit for processing a convex wave of a constant current source output voltage according to claim 1, characterized in that: The constant voltage and constant current control circuit comprises a voltage operational amplifier, a current operational amplifier, a first diode and a second diode; The positive input terminals of the voltage operational amplifier and the current operational amplifier are both connected to the main control circuit; the negative input terminals of the voltage operational amplifier and the current operational amplifier are both connected to the voltage and current acquisition circuit; the output terminals of the voltage operational amplifier and the current operational amplifier are both connected to the linear regulation control circuit; the first diode is connected in parallel to the output terminal of the current operational amplifier, and the second diode is connected in parallel to the output terminal of the voltage operational amplifier.
3. The circuit for processing a convex wave of a constant current source output voltage according to claim 1, characterized in that: The linear regulation control circuit includes a fifth MOS tube and a third resistor; The G pole of the fifth MOS tube is connected to the constant voltage and constant current control circuit, and the D pole of the fifth MOS tube is connected to the front-end voltage output adjustment circuit; the S pole of the fifth MOS tube is connected to the positive voltage sampling end of the voltage and current acquisition circuit; one end of the third resistor is respectively connected to the negative voltage sampling end and the positive current sampling end of the voltage and current acquisition circuit, and the other end of the third resistor is respectively connected to the ground and the negative current sampling end of the voltage and current acquisition circuit.
4. The circuit for processing a convex wave of a constant current source output voltage according to claim 1, characterized in that: The voltage and current acquisition circuit includes a voltage acquisition operational amplifier and a current acquisition operational amplifier; The input end of the voltage acquisition amplifier is connected to the two voltage output ends of the linear regulation control circuit, and the output end of the voltage acquisition amplifier is connected to the main control circuit and the constant voltage and constant current control circuit respectively; The input end of the current acquisition amplifier is connected to the two current acquisition ends of the linear regulation control circuit, and the output end of the current acquisition amplifier is respectively connected to the main control circuit, the current acquisition processing circuit and the constant voltage and constant current control circuit.
5. The circuit for processing a convex wave of a constant current source output voltage according to claim 1, characterized in that: The current acquisition and processing circuit includes a fast comparator, a fourth resistor, a fifth resistor and a sixth resistor; The negative input terminal of the fast comparator is connected to the voltage and current acquisition circuit; one end of the fourth resistor is connected to the reference voltage, one end of the fifth resistor is grounded, and the other ends of the fourth resistor and the fifth resistor are both connected to the positive input terminal of the fast comparator; the output terminal of the fast comparator is respectively connected to the main control circuit and the front-end voltage output adjustment circuit; one end of the sixth resistor is connected to the output terminal of the fast comparator, and the other end is connected to the pull-up power supply.
6. The circuit for processing a convex wave of a constant current source output voltage according to claim 1, characterized in that: The main control circuit adopts TMS320F28377S chip.
7. A method for processing a convex wave of a constant current source output voltage, characterized in that: The method needs to use the processing circuit as described in any one of claims 1 to 6, and the processing method includes: The voltage output value is set by the main control circuit and current output value ,Will and The signal is output to the constant voltage and constant current control circuit; at the same time, the PWMA and PWMB signals are output to the front-end switching power supply BACK circuit through the main control circuit; After receiving the PWMA and PWMB signals, the front-end switching power supply BACK circuit is enabled to drive the first MOS transistor and the second MOS transistor in the front-end switching power supply BACK circuit to be turned on, so as to output the voltage VPP signal to the front-end voltage output adjustment circuit; after receiving the voltage VPP signal, the front-end voltage output adjustment circuit is enabled to drive the fourth MOS transistor in the front-end voltage output adjustment circuit to be turned on, so as to output the voltage VCC signal to the linear regulation control circuit; The constant voltage and constant current control circuit receives and After the signal is received, the voltage operational amplifier and the current operational amplifier of the constant voltage and constant current control circuit are enabled to output a high level, so as to drive the fifth MOS tube in the linear regulation control circuit to conduct, thereby outputting the voltage and current values; The voltage and current acquisition circuit acquires the voltage VFB and current IFB in the loop; the voltage and current acquisition circuit feeds back the collected voltage VFB and IFB current signals to the constant voltage and constant current control circuit in real time, so that the constant voltage and constant current control circuit can adjust the conduction degree of the fifth MOS tube in the linear regulation control circuit, so that the linear regulation control circuit can stably output the required voltage and current values; the voltage and current acquisition circuit feeds back the collected voltage VFB and current IFB signals to the main control circuit in real time, so that the main control circuit can perform real-time monitoring and processing; the voltage and current acquisition circuit feeds back the collected current IFB signal to the current acquisition processing circuit in real time; the current acquisition processing circuit compares the received current IFB signal with the internally set reserved value, and enables the fast comparator of the current acquisition processing circuit to output a low-level pulse; When the external loop is disconnected and the current is turned off, causing the linear regulation control circuit to lose control, the linear regulation control circuit directly outputs the voltage VCC in the front-end voltage output adjustment circuit, so that the output voltage forms a convex wave; After the voltage and current acquisition circuit acquires the changes of the voltage VFB and the current IFB in the loop, the changes of the voltage VFB and the current IFB signals are fed back to the main control circuit, and the main control circuit enables the first MOS tube and the second MOS tube in the front-end switching power supply BACK circuit to be driven to be turned off, thereby indirectly turning off the voltage and current value output of the linear regulation control circuit; at the same time, the voltage and current acquisition circuit feeds back the changes of the current IFB signal to the current acquisition processing circuit, and after the current acquisition processing circuit compares the received current IFB signal, it enables the fast comparator of the current acquisition processing circuit to output a high-level pulse to the front-end voltage output adjustment circuit, and through the high-level pulse, the third MOS tube in the front-end voltage output adjustment circuit is turned on and the fourth MOS tube is turned off, so that the voltage VPP input to the front-end voltage output adjustment circuit is divided by the first resistor and the second resistor, and then the voltage VCC is output.
