A voltage loop and current loop regulation system
By designing a voltage loop and current loop adjustment system in the lithium battery test system, using delay circuits and differential circuits to control the switching of the voltage loop and current loop, the problems of voltage overshoot and fluctuation are solved, and the stability and accuracy of the system are achieved. Adapt to the load of batteries of different capacities.
Patent Information
- Application Number
- CN202410864910.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-07-01
AI Technical Summary
In the existing technology, voltage overshoot and fluctuation are prone to occur when the current loop and voltage loop are switched, causing misjudgments in the lithium battery testing system. Especially when using lithium battery cells with different capacities, the output of the high-voltage DC power supply is unstable, leading to short circuits. or overshoot problem.
A voltage loop and current loop adjustment system is designed, including a delay circuit, a differential circuit, a comparator and a modulator. By controlling the on and off of the switch circuit, the switching points of the voltage loop and current loop are adjusted to ensure the output voltage is constant. Smooth to avoid voltage overshoots and fluctuations.
It effectively solves the problem of voltage overshoot and fluctuation when switching between current loop and voltage loop, ensures the accuracy and stability of the test system, adapts to the load of cells with different capacities, and avoids misjudgment.
Smart Images

Figure CN118409626B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of electric variable regulation, and in particular, relates to a voltage loop and current loop regulation system. Background Art
[0002] With the promotion of new energy, lithium batteries are being used more and more widely. Whether the quality of lithium batteries is qualified is directly related to safety issues. Therefore, lithium batteries need to be tested during the production process. In terms of structure, the positive and negative electrodes of lithium-ion batteries, as well as the electrodes and the outer shell, must be insulated. In the production process of lithium-ion batteries, if metal foreign matter is mixed in or the diaphragm is damaged, the insulation resistance will become low. If the insulation state cannot be maintained, the battery life will be reduced or a fire accident will occur.
[0003] In order to meet the needs of the electric vehicle industry, lithium-ion batteries used in electric vehicles need to have high energy density, be able to be charged with large currents, have long life, and be safe and non-flammable. In order to achieve these characteristics, it is necessary to perform performance testing on lithium-ion batteries during the battery manufacturing process. There are currently two main methods for testing lithium battery cells. The first method uses a pulse test method to charge the battery cell to a specified voltage and then stop, testing whether the battery voltage will drop rapidly. After the test time is reached, the cell is discharged. The second insulation test method is to test the insulation resistance of the cell after applying a specified voltage to it. Both of these test methods use a high-voltage DC power supply, and have high requirements for the fluctuation of the output voltage of the high-voltage DC power supply.
[0004] The equivalent model of a lithium battery cell before injection is a capacitor, and the equivalent capacitance of cells of different capacities is different, which requires that the high-voltage DC power supply used to test the cell can adapt to loads of different capacitance values. Cells with large capacitance values can cause output short circuits and misjudgment of outputs. Cells with small capacitance values can cause output overshoot of the high-voltage DC power supply, and voltage overshoot can cause a certain degree of damage to the cell.
[0005] The solution to small capacitor overshoot and large capacitor short circuit is to use the voltage loop and current loop dual-loop control method. However, when the voltage loop and the current loop are switched, overshoot, sag, fluctuation and other problems may occur, which will cause the system testing the battery cell to misjudge. Summary of the invention
[0006] The present invention provides a voltage loop and current loop regulating system, which solves the technical problem in the prior art that voltage overshoot and fluctuation are likely to occur when the current loop and the voltage loop are switched.
[0007] In order to achieve the above technical objectives, the present invention adopts the following technical solutions:
[0008] A voltage loop and current loop regulation system, comprising:
[0009] Voltage loop;
[0010] Current loop;
[0011] A delay circuit, comprising a delay resistor and a delay capacitor;
[0012] A control circuit, which is used to output a set voltage and a set current, and the output set voltage is transmitted to the first input end of the voltage loop through the delay resistor; one end of the delay capacitor is connected to the first input end of the voltage loop, and the other end of the delay capacitor is grounded;
[0013] A voltage measurement loop, which is used to detect the output voltage of the power module, and whose output end is connected to the second input end of the voltage loop;
[0014] A current measurement loop, which is used to detect the output current of the power module, and whose output end is connected to the second input end of the current loop;
[0015] A divider, used for calculating the ratio of the output voltage of the voltage measurement loop to the set voltage;
[0016] a multiplier, which is used to calculate the product of the ratio of the output of the divider and the set current; an output end of the multiplier is connected to the subtractor through a switch path of a switch circuit;
[0017] a subtractor, configured to calculate a difference between the set current and a product of the multiplier output, and transmit the calculated difference to a first input terminal of the current loop;
[0018] A first comparator, wherein a first input terminal of the first comparator is connected to the output terminal of the voltage loop, a second input terminal of the first comparator is connected to the output terminal of the current loop, and an output terminal of the first comparator is connected to the control circuit; when a signal received at the first input terminal of the first comparator is smaller than a signal received at the second input terminal of the first comparator, the first comparator outputs a shutdown signal to the control circuit;
[0019] A differential circuit, which is used to detect the voltage change rate of the integral capacitor of the voltage loop;
[0020] a second comparator, wherein a first input terminal of the second comparator is connected to the output terminal of the differential circuit, a second input terminal of the second comparator is connected to a set reference value, and an output terminal of the second comparator is connected to the control circuit; when a signal received at the first input terminal of the second comparator is smaller than a signal received at the second input terminal, the second comparator outputs a conduction signal to the control circuit;
[0021] A PWM output modulator, whose input end is connected to the supply voltage through a pull-up resistor, whose input end is connected to the output end of the voltage loop through a first diode, and whose input end is connected to the output end of the current loop through a second diode; whose output end outputs a modulated PWM signal to the power module;
[0022] When the control circuit receives the on signal output by the second comparator, it controls the switch circuit to be on; when the control circuit receives the off signal output by the first comparator, it controls the switch circuit to be off.
[0023] In some embodiments of the present application, when the control circuit receives the conduction signal output by the second comparator, the control circuit controls the switch circuit to be turned on, specifically including:
[0024] When the control circuit receives the conduction signal output by the second comparator, it calculates the ratio of the output voltage V2 of the voltage measurement circuit to the set voltage V1 at this time;
[0025] If the ratio is less than the first set ratio, when the output voltage of the voltage measurement circuit reaches the first voltage threshold, the switch circuit is controlled to be turned on;
[0026] If the ratio ∈ [first set ratio, second set ratio], when the output voltage of the voltage measurement circuit reaches the second voltage threshold, the switch circuit is controlled to be turned on; wherein the first voltage threshold is greater than the second voltage threshold;
[0027] If the ratio is greater than the second set ratio, the switch circuit is controlled to be turned on.
[0028] In some embodiments of the present application, the first setting ratio is 0.6, and the second setting ratio is 0.8;
[0029] First voltage threshold = V1×0.8+V1×0.2× (1-V2 / ( V1×0.6));
[0030] The second voltage threshold is V1×0.8.
[0031] In some embodiments of the present application, the delay resistor is a digital potentiometer; and the control circuit controls the output resistance value of the digital potentiometer.
[0032] In some embodiments of the present application, the calculation formula of the output resistance value of the digital potentiometer is:
[0033] R = (V1 × C0) / (K × C1 × I1);
[0034] Where R is the output resistance value of the digital potentiometer;
[0035] V1 is the set voltage; I1 is the set current;
[0036] C0 is the filter capacitor at the output end of the power module; C1 is the delay capacitor; K is a fixed constant.
[0037] In some embodiments of the present application, the voltage loop includes an operational amplifier A1, an integrating capacitor C2, a resistor R2, and a resistor R3;
[0038] The non-inverting input terminal of the operational amplifier A1 is connected to the control circuit via the delay resistor;
[0039] The reverse input terminal of the operational amplifier A1 is connected to the output terminal of the voltage measurement loop through a resistor R2; the reverse input terminal of the operational amplifier A1 is connected to one end of an integrating capacitor C2 through a resistor R3, and the other end of the integrating capacitor C2 is connected to the anode of the first diode.
[0040] In some embodiments of the present application, the current loop includes an operational amplifier A2, a capacitor C3, a resistor R8, and a resistor R9;
[0041] The non-inverting input terminal of the operational amplifier A2 is connected to the output terminal of the subtractor;
[0042] The inverting input terminal of the operational amplifier A2 is connected to the output terminal of the current measurement loop through a resistor R8; the inverting input terminal of the operational amplifier A1 is connected to one end of a capacitor C3 through a resistor R9, and the other end of the capacitor C3 is connected to the anode of the second diode.
[0043] In some embodiments of the present application, the differential circuit includes an operational amplifier A4, a capacitor C4, a resistor R10, and a resistor R11;
[0044] The capacitor C4 and the resistor R10 are connected in series to form a series branch;
[0045] The reverse input terminal of the operational amplifier A4 is connected to one end of the integral capacitor of the voltage loop through the series branch; the reverse input terminal of the operational amplifier A4 is connected to the output terminal of the operational amplifier A4 through the resistor R11;
[0046] The non-inverting input terminal of the operational amplifier A4 is connected to the other end of the integrating capacitor.
[0047] In some embodiments of the present application, the second input terminal of the second comparator is connected to the supply voltage through a voltage divider circuit.
[0048] In some embodiments of the present application, the switch circuit is a MOS tube.
[0049] Compared with the prior art, the advantages and positive effects of the present invention are as follows: the voltage loop and current loop regulation system of the present invention, by designing a delay circuit, makes the voltage at the first input end of the voltage loop rise slowly; by designing a differential circuit, it is used to detect the voltage change rate of the integral capacitor of the voltage loop; by designing a second comparator, it is used to compare the voltage change rate of the integral capacitor of the voltage loop with the set reference value; when the voltage change rate of the integral capacitor of the voltage loop is less than the set reference value, the second comparator outputs a conduction signal to the control circuit, and the control circuit controls the switch circuit to turn on; by designing a divider, a multiplier, and a subtractor, when the switch circuit is in the on state, it can be made possible to start before the output voltage reaches the set voltage. The invention finally ensures that the voltage difference between the two input ends of the current loop is smaller than the voltage difference between the two input ends of the voltage loop, and the PWM output modulator is controlled by the current loop; a first comparator is designed to compare the output voltage of the voltage loop with the output voltage of the current loop; when the output voltage of the voltage loop is lower than the output voltage of the current loop, it indicates that the charge of the integral capacitor has been released, and the first comparator outputs a shutdown signal to the control circuit, and the control circuit controls the switch circuit to disconnect, and switches from the current loop to the voltage loop to control the PWM output modulator, so as to avoid the problem of output voltage overshoot and fluctuation when switching from the current loop to the voltage loop, and solves the technical problem of voltage overshoot and fluctuation when switching between the current loop and the voltage loop in the prior art.
[0050] Other features and advantages of the present invention will become more apparent after reading the detailed description of the embodiments of the present invention in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0052] Figure 1 It is a principle block diagram of an embodiment of the voltage loop and current loop regulation system proposed by the present invention;
[0053] Figure 2 It is a circuit principle diagram of an embodiment of the voltage loop and current loop regulation system proposed by the present invention;
[0054] Figure 3 It is a connection diagram between the voltage loop and current loop regulation system and the power module. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
[0056] It should be noted that in the description of the present invention, the terms "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" and the like indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings, which are only for the convenience of description, and do not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0057] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0058] The voltage loop and current loop regulation system of this embodiment includes a control circuit, a voltage measurement loop, a current measurement loop, a delay circuit, a voltage loop, a current loop, a divider, a multiplier, a subtractor, a first comparator, a differentiator circuit, a second comparator, a PWM output modulator, etc., see Figure 1 , Figure 2 shown.
[0059] The delay circuit includes a delay resistor and a delay capacitor C1. The delay circuit of this embodiment is an RC delay circuit.
[0060] The control circuit is used to output a set voltage and a set current. The set voltage output by the control circuit is transmitted to the first input end of the voltage loop through the delay resistor as a given value of the voltage loop. One end of the delay capacitor C1 is connected to the first input end of the voltage loop, and the other end of the delay capacitor C1 is grounded.
[0061] The voltage measurement loop is used to detect the output voltage of the power module, perform proportional calculations and finally convert it into a low-voltage analog quantity. The input end of the voltage measurement loop is connected to the power module, and the output end is connected to the second input end of the voltage loop. The voltage signal output by the voltage measurement loop is used as the feedback value of the voltage loop.
[0062] The current measurement loop is used to detect the output current of the power module, perform proportional calculations and finally convert it into a low-voltage analog quantity. The input end of the current measurement loop is connected to the power module, and the output end is connected to the second input end of the current loop. The current signal output by the current measurement loop is used as the feedback value of the current loop.
[0063] The divider U4 is used to calculate the ratio of the output voltage of the voltage measurement loop to the set voltage. The first input terminal (A input terminal) of the divider is connected to the output terminal of the voltage measurement loop to receive the output voltage of the voltage measurement loop. The second input terminal (B input terminal) of the divider is connected to the control circuit to receive the set voltage output by the control module. The divider divides the signals input to its A and B input terminals and converts them into analog voltages. The output terminal of the divider outputs the ratio, which is the ratio = output voltage / set voltage.
[0064] The multiplier U3 is used to calculate the product of the ratio of the divider output and the set current. The first input terminal (A input terminal) of the multiplier is connected to the output terminal of the divider, and the second input terminal (B input terminal) of the multiplier is connected to the control circuit to access the set current. The multiplier will perform multiplication operation on its A and B input terminals and convert them into analog signals. The output terminal of the multiplier outputs the product, and the product = (output voltage / set voltage) × set current. The output terminal of the multiplier is connected to the subtractor through the switch path of the switch circuit.
[0065] The subtractor is used to calculate the difference between the set current and the product of the multiplier output, and transmit the calculated difference to the first input terminal of the current loop as the given value of the current loop. The output terminal of the subtractor outputs the difference, which is the set current-(output voltage / set voltage) × set current.
[0066] The first input of the subtractor is connected to the set current, and the first input is connected to the output of the multiplier through the switch path of the switch circuit, the second input is grounded through the current limiting resistor R7, and the output is connected to the first input of the current loop. The two signals connected to the first input of the subtractor are subtracted.
[0067] The first comparator U1 has a first input terminal connected to the output terminal of the voltage loop, a second input terminal connected to the output terminal of the current loop, and an output terminal connected to the control circuit. The first comparator outputs a shutdown signal to the control circuit when the signal received at the first input terminal is smaller than the signal received at the second input terminal.
[0068] The differential circuit is used to detect the voltage change rate of the integral capacitor of the voltage loop and convert it into an analog voltage output.
[0069] The second comparator U2 has a first input terminal connected to the output terminal of the differential circuit, a second input terminal connected to the set reference value, and an output terminal connected to the control circuit. The second comparator outputs a conduction signal to the control circuit when the signal received at the first input terminal is smaller than the signal received at the second input terminal.
[0070] A PWM output modulator, whose input end is connected to a power supply voltage (such as a 12V DC power supply) through a pull-up resistor R4, whose input end is connected to an output end of a voltage loop through a first diode D1, and whose input end is connected to an output end of a current loop through a second diode D2; whose output end outputs a modulated PWM signal to a power module to control the output voltage of the power module.
[0071] The cathode of the first diode D1 is connected to the output end of the voltage loop, and the anode of the first diode D1 is connected to the input end of the PWM output modulator.
[0072] The cathode of the second diode D2 is connected to the output end of the current loop, and the anode of the second diode D2 is connected to the input end of the PWM output modulator.
[0073] When the output voltage of the current loop is less than the output voltage of the voltage loop, due to the action of the first diode D1, the second diode D2, and the pull-up resistor R4, the input voltage of the PWM output modulator is equal to the output voltage of the current loop, and the PWM signal output by the PWM output modulator is controlled by the current loop.
[0074] When the output voltage of the voltage loop is less than the output voltage of the current loop, due to the action of the first diode D1, the second diode D2, and the pull-up resistor R4, the input voltage of the PWM output modulator is equal to the output voltage of the voltage loop, and the PWM signal output by the PWM output modulator is controlled by the voltage loop.
[0075] When the control circuit receives the on signal output by the second comparator, the control circuit controls the switch circuit to be on. When the control circuit receives the off signal output by the first comparator, the control circuit controls the switch circuit to be off.
[0076] The power module, i.e., the high-voltage DC power supply, includes a DC power supply, a switching power supply, and a high-voltage output module connected in sequence. Figure 3 The DC power supply outputs DC power to the switching power supply, and the switching power supply outputs DC power to the high-voltage output module. The high-voltage output module boosts the received voltage and outputs high-voltage DC power, such as 25V to 2000V.
[0077] A sampling resistor R1 is connected in series to one output end of the high-voltage output module; a filter capacitor C0 is connected in parallel between the two output ends of the high-voltage output module; and a load capacitor is connected in parallel between the two output ends of the high-voltage output module.
[0078] The voltage measurement circuit detects the output voltage of the high-voltage output module; the current measurement circuit uses the sampling resistor R1 to detect the output current of the high-voltage output module.
[0079] The PWM output modulator outputs a PWM signal to the switching power supply to control the output voltage of the switching power supply, thereby controlling the output voltage of the high-voltage output module.
[0080] Working principle:
[0081] (1) The high-voltage DC output of the power module supplies power to the load capacitor. After the power module is powered on, its output voltage gradually rises from 0 to the voltage required by the load capacitor. Before the power module supplies power to the load capacitor, the switch circuit is turned off.
[0082] The set voltage output by the control circuit is transmitted to the delay circuit, and the voltage across the delay capacitor C1 is transmitted to the first input end of the voltage loop. At the same time, the set current output by the control circuit is transmitted to the subtractor, and then transmitted to the first input end of the current loop through the subtractor.
[0083] Due to the effect of the delay circuit, the voltage at the first input terminal of the voltage loop slowly increases from 0 V. The output voltage fed back by the voltage measurement loop slowly increases.
[0084] The current at the first input of the current loop will quickly increase to the set current.
[0085] (2) If the load capacitor is light (small capacitance), the output current fed back by the current measurement loop increases slowly. Therefore, the voltage difference between the two input ends of the voltage loop is smaller than the voltage difference between the two input ends of the current loop, the output voltage of the voltage loop is smaller than the output voltage of the current loop, and the PWM signal output by the PWM output modulator is completely controlled by the voltage loop.
[0086] The voltage waveform at the first input end of the voltage loop is consistent with the voltage waveform across the delay capacitor C1, and finally reaches the set voltage, which can effectively suppress the voltage overshoot caused by the voltage rising too fast under light load.
[0087] Therefore, if the load capacitance is light, the voltage across the voltage loop integrating capacitor changes at a relatively fast rate, the output voltage of the second comparator will not become low, the switch circuit is always turned off, and the output of the PWM output modulator is completely controlled by the voltage loop.
[0088] (3) If the load capacitance is medium or heavy (large capacitance).
[0089] The capacitance C of the load capacitor, the current I flowing through the load capacitor, the voltage △v across the load capacitor, and the time △t have the following relationship: I=C×(△v / △t).
[0090] According to this relationship, the larger the capacitance, the greater the current required to increase the same voltage in the same amount of time. As the capacitance of the load capacitor increases, the output current of the power module increases, and the output current fed back by the current measurement loop increases, rapidly approaching the set current.
[0091] Therefore, the voltage difference between the two input ends of the current loop is smaller than the voltage difference between the two input ends of the voltage loop, the output voltage of the current loop is smaller than the output voltage of the voltage loop, and the PWM signal output by the PWM output modulator is completely controlled by the current loop.
[0092] When the voltage change rate of the integral capacitor of the voltage loop is less than the set reference value, it indicates that the integral capacitor is saturated, and the second comparator outputs a conduction signal to the control circuit; the control circuit controls the switch circuit to conduct.
[0093] After the switch circuit is turned on, the ratio of the output voltage of the voltage measurement module to the set voltage is calculated by the divider and then multiplied by the set current. Then, the set current is subtracted from the value output by the multiplier through the subtractor and finally transmitted to the current loop. The current transmitted to the first input terminal of the current loop = set current - (output voltage / set voltage) × set current.
[0094] The numerical value obtained through division, multiplication and subtraction operations is passed to the current loop, so that before the output voltage reaches the set voltage, the voltage difference between the two input ends of the current loop can always be guaranteed to be smaller than the voltage difference between the two input ends of the voltage loop. The output voltage is then controlled by the current loop, and the output current continues to decrease until the output voltage approaches the set voltage.
[0095] As the output voltage fed back by the voltage measurement module rises, the voltage difference between the two input ends of the voltage loop is constantly decreasing, and will eventually be less than the voltage difference between the two input ends of the current loop. Therefore, the output voltage of the voltage loop is less than the output voltage of the current loop. When the output voltage of the voltage loop is lower than the output voltage of the current loop, it means that the charge accumulated in the integral capacitor has been released, and the first comparator outputs a shutdown signal to the control circuit to control the switch circuit to shut down. The PWM signal output by the PWM output modulator is completely controlled by the voltage loop.
[0096] Because the output voltage is controlled by the current loop before switching to the voltage loop, the voltage across the integral capacitor of the voltage loop increases continuously until it reaches the maximum value. If the output voltage is controlled by the voltage loop at this time, the existence of the integral capacitor of the voltage loop will cause the output voltage to overshoot and fluctuate. Therefore, in order to allow the voltage loop to control the output voltage without being affected by the integral capacitor, the present embodiment determines the switching point between the voltage loop and the current loop by measuring the output voltages of the voltage loop and the current loop. When the output voltage of the voltage loop is lower than the output voltage of the current loop, it means that the accumulated charge of the integral capacitor has been released. The first comparator outputs a shutdown signal to the control circuit, and the control circuit controls the switch circuit to disconnect. The output voltage is controlled by the voltage loop and is precisely constant at the set voltage, avoiding the problem of output voltage overshoot and fluctuation when switching from the current loop to the voltage loop.
[0097] The current loop controlling the output voltage cannot make the output voltage reach the set voltage accurately. Only the voltage loop can control the output voltage to reach the set voltage stably and accurately.
[0098] Therefore, if the load capacitor is medium or heavy, the current loop starts to control the output of the PWM output modulator. When the output voltage of the voltage loop is lower than the output voltage of the current loop, the voltage loop switches to control the output of the PWM output modulator.
[0099] The voltage loop and current loop regulation system of this embodiment, by designing a delay circuit, makes the voltage of the first input end of the voltage loop rise slowly; by designing a differential circuit, it is used to detect the voltage change rate of the integral capacitor of the voltage loop; by designing a second comparator, it is used to compare the voltage change rate of the integral capacitor of the voltage loop with the size of the set reference value; when the voltage change rate of the integral capacitor of the voltage loop is less than the set reference value, the second comparator outputs a conduction signal to the control circuit, and the control circuit controls the switch circuit to conduct; by designing a divider, a multiplier, and a subtractor, when the switch circuit is in the conduction state, it can be ensured that the two inputs of the current loop are always equal before the output voltage reaches the set voltage. The voltage difference between the two input ends is smaller than the voltage difference between the two input ends of the voltage loop, and the PWM output modulator is controlled by the current loop; a first comparator is designed to compare the output voltage of the voltage loop with the output voltage of the current loop; when the output voltage of the voltage loop is lower than the output voltage of the current loop, it means that the charge of the integrating capacitor has been released, and the first comparator outputs a shutdown signal to the control circuit, and the control circuit controls the switch circuit to disconnect, and the current loop switches to the voltage loop to control the PWM output modulator, thereby avoiding the problem of output voltage overshoot and fluctuation when switching from the current loop to the voltage loop, and solving the technical problem of voltage overshoot and fluctuation when switching between the current loop and the voltage loop in the prior art.
[0100] The voltage loop and current loop regulation system of this embodiment can be used to solve the problem of misjudgment caused by output voltage fluctuation caused by current loop and voltage loop switching when testing lithium-ion batteries (load capacitors).
[0101] The differential circuit detects the voltage change rate of the integral capacitor C2 of the voltage loop, and converts it into an analog voltage and outputs it to the first input terminal of the second comparator. The second comparator compares the voltage change rate with the set reference value.
[0102] When the voltage change rate is greater than the set reference value, the switch circuit remains in the off state.
[0103] When the voltage change rate is less than the set reference value, the second comparator outputs a conduction signal to the control circuit.
[0104] In some embodiments of the present application, when the control circuit receives the conduction signal output by the second comparator, the control circuit controls the switch circuit to be turned on, which specifically includes the following steps:
[0105] Step (11), when the control circuit receives the conduction signal output by the second comparator, it records the output voltage V2 of the voltage measurement circuit at this time, and calculates the ratio of the output voltage V2 of the voltage measurement circuit at this time to the set voltage V1.
[0106] The smaller the ratio calculated by the control circuit, the larger the capacitance of the load capacitor. The larger the ratio, the smaller the capacitance of the load capacitor.
[0107] Step (12): If the ratio is less than the first set ratio, it means that the load capacitance is heavy (capacitance is very large), then when the output voltage of the voltage measurement loop reaches the first voltage threshold, the switch circuit is controlled to be turned on.
[0108] If the ratio ∈ [first set ratio, second set ratio], it means that the load capacitance is medium (large capacitance), then when the output voltage of the voltage measurement loop reaches the second voltage threshold, the switch circuit is controlled to be turned on. The first voltage threshold is greater than the second voltage threshold.
[0109] If the ratio is greater than the second set ratio, it means that the load capacitance is medium (large capacitance), and the control switch circuit is immediately turned on.
[0110] Therefore, when the load capacitance is heavily loaded, if the voltage change rate is less than the set reference value, the switch circuit is immediately controlled to be turned on, which will cause the output voltage of the voltage measurement loop to rise slowly. Therefore, when it is detected that the voltage change rate is less than the set reference value, if the ratio of the output voltage of the voltage measurement loop to the set voltage is less than the first set ratio (the load capacitance is medium load), the switch circuit is controlled to be turned on only when the output voltage of the power module rises to the first voltage threshold, so as to reduce the rise time of the output voltage of the voltage measurement loop.
[0111] Similarly, when it is detected that the voltage change rate is less than the set reference value, if the ratio of the output voltage of the voltage measurement circuit to the set voltage is within the range of the first set ratio to the second set ratio, the switch circuit is controlled to turn on only when the output voltage of the voltage measurement circuit rises to the second voltage threshold, so as to reduce the rise time of the output voltage of the voltage measurement circuit.
[0112] When it is detected that the voltage change rate is less than the set reference value, if the ratio of the output voltage of the voltage measurement circuit to the set voltage is greater than the second set ratio, the switch circuit is controlled to be turned on immediately.
[0113] In some embodiments of the present application, the first setting ratio is 0.6 and the second setting ratio is 0.8.
[0114] First voltage threshold = V1×0.8+V1×0.2× (1-V2 / ( V1×0.6));
[0115] The second voltage threshold is V1×0.8.
[0116] Wherein, V1 is a set voltage; V2 is an output voltage of a voltage measurement loop when the control circuit receives a conduction signal output by the second comparator.
[0117] That is, if the ratio is less than 0.6, when the output voltage of the voltage measurement circuit reaches V1×0.8+V1×0.2×(1-V2 / ( V1×0.6)), the switch circuit is controlled to be turned on.
[0118] If the ratio ∈[0.6, 0.8], when the output voltage of the voltage measurement loop reaches V1×0.8, the switch circuit is controlled to turn on.
[0119] If the ratio is greater than 0.8, the switch circuit is controlled to be turned on immediately.
[0120] By selecting the above values, the rise time of the output voltage of the voltage measurement circuit can be reasonably reduced when the load is heavy or partly medium.
[0121] In some embodiments of the present application, the delay resistor is a digital potentiometer; and the control circuit controls the output resistance value of the digital potentiometer.
[0122] If a delay resistor with a fixed resistance is used to form a delay circuit with the delay capacitor C1, the low voltage will rise too slowly, and the high voltage will effectively suppress the light load overshoot. Therefore, in order to adapt to all set voltages, in this embodiment, the control circuit adjusts the output resistance value of the digital potentiometer according to the set voltage to adapt to different set voltages.
[0123] In some embodiments of the present application, the calculation formula of the output resistance value of the digital potentiometer is:
[0124] R = (V1 × C0) / (K × C1 × I1);
[0125] Where R is the output resistance value of the digital potentiometer;
[0126] V1 is the set voltage; I1 is the set current;
[0127] C0 is the filter capacitor at the output end of the power module; C1 is the delay capacitor; K is a fixed constant.
[0128] The filter capacitor is connected in parallel between the two output terminals of the power module.
[0129] The output resistance value of the digital potentiometer is calculated by the above formula, and then the control circuit controls the digital potentiometer to output the resistance value to adapt to different set voltages.
[0130] In some embodiments of the present application, the voltage loop includes an operational amplifier A1, an integrating capacitor C2, a resistor R2, and a resistor R3. The non-inverting input terminal of the operational amplifier A1 is connected to the control circuit through a delay resistor (digital potentiometer); the reverse input terminal of the operational amplifier A1 is connected to the output terminal of the voltage measurement loop through a resistor R2; the reverse input terminal of the operational amplifier A1 is connected to one end of the integrating capacitor C2 through a resistor R3, and the other end of the integrating capacitor C2 is connected to the anode of the first diode D1. The voltage loop is a PI adjustment circuit composed of an operational amplifier A1, an integrating capacitor C2, a resistor R2, and a resistor R3, and the output voltage of the operational amplifier A1 is adjusted according to the voltage values of the non-inverting input terminal and the reverse input terminal of the operational amplifier A1.
[0131] The first input end of the voltage loop is the non-inverting input end of the operational amplifier A1, the second input end of the voltage loop is the inverting input end of the operational amplifier A1, and the output end of the voltage loop is the output end of the operational amplifier A1.
[0132] The voltage loop of the above structure not only ensures the stability of its output voltage, but also has a simple circuit structure and is easy to build.
[0133] In some embodiments of the present application, the current loop includes an operational amplifier A2, a capacitor C3, a resistor R8, and a resistor R9. The same-direction input terminal of the operational amplifier A2 is connected to the output terminal of the subtractor; the reverse input terminal of the operational amplifier A2 is connected to the output terminal of the current measurement loop through the resistor R8; the reverse input terminal of the operational amplifier A1 is connected to one end of the capacitor C3 through the resistor R9, and the other end of the capacitor C3 is connected to the anode of the second diode D2. The current loop is a PI adjustment circuit composed of the operational amplifier A2, the capacitor C3, the resistor R8, and the resistor R9, and the output voltage of the operational amplifier A2 is adjusted according to the voltage values of the same-direction input terminal and the reverse input terminal of the operational amplifier A2.
[0134] The first input terminal of the current loop is the non-inverting input terminal of the operational amplifier A2, the second input terminal of the current loop is the reverse input terminal of the operational amplifier A2, and the output terminal of the current loop is the output terminal of the operational amplifier A2.
[0135] The current loop of the above structure not only ensures the stability of its output voltage, but also has a simple circuit structure and is easy to build.
[0136] In some embodiments of the present application, the differential circuit includes an operational amplifier A4, a capacitor C4, a resistor R10, and a resistor R11. The capacitor C4 and the resistor R10 are connected in series to form a series branch; the inverting input terminal of the operational amplifier A4 is connected to one end of the integral capacitor C2 through the series branch; the inverting input terminal of the operational amplifier A4 is connected to the output terminal of the operational amplifier A4 through the resistor R11; and the non-inverting input terminal of the operational amplifier A4 is connected to the other end of the integral capacitor C2.
[0137] The differential circuit of the above structure can not only accurately detect the voltage change rate across the voltage loop integrating capacitor, but also has a simple circuit structure and is easy to build.
[0138] In some embodiments of the present application, the second input terminal of the second comparator U2 is connected to the supply voltage through a voltage divider circuit.
[0139] The voltage divider circuit includes a voltage divider resistor R12 and a voltage divider resistor R13. The power supply voltage (such as provided by a 12V DC power supply) is connected to one end of the voltage divider resistor R12, the other end of the voltage divider resistor R12 is connected to one end of the voltage divider resistor R13, and the other end of the voltage divider resistor R13 is connected to the system ground. The voltage dividing node between the voltage divider resistor R12 and the voltage divider resistor R13 is connected to the second input terminal of the second comparator U2, and the voltage at the voltage dividing node is fixed, providing a fixed set reference value for the second comparator U2.
[0140] The supply voltage and the voltage divider circuit are used to provide a set reference value for the second comparator U2 to compare with the output of the differentiating circuit.
[0141] In some embodiments of the present application, the switching circuit is a switching tube.
[0142] In some embodiments of the present application, the switch circuit is a MOS tube Q1. The MOS tube has stable performance and is convenient for on-off control.
[0143] The control circuit includes an MCU control chip, a DAC chip, and an ADC chip. The MCU control chip sets the set voltage and set current according to user requirements, and transmits the set voltage and set current to the DAC chip. The DAC chip converts digital signals into analog signals and outputs them. The ADC chip converts analog signals into digital signals and outputs them.
[0144] The MCU control chip outputs a digital signal of a set voltage and a digital signal of a set current to the DAC chip, which are converted into analog signals by the DAC chip. The voltage output end of the DAC chip outputs an analog signal of the set voltage, and the current output end of the DAC chip outputs an analog signal of the set current.
[0145] The output end of the ADC chip is connected to the MCU control chip. The ADC chip converts the received analog signal into a digital signal and then sends it to the MCU control chip. For example, the output end of the voltage measurement loop is connected to the input end of the ADC chip, the voltage measurement loop outputs an analog signal and sends it to the ADC chip, and the ADC chip converts the received analog signal into a digital signal and sends it to the MCU control chip.
[0146] The MCU control chip is connected to the input end of the DAC chip, the voltage output end of the DAC chip is connected to the digital potentiometer, and the digital potentiometer is connected to the same-direction input end of the operational amplifier A1. The control end of the digital potentiometer is connected to the MCU control chip. The voltage across the delay capacitor C1 increases slowly and eventually equals the set voltage output by the DAC chip.
[0147] The current output end of the DAC chip is connected to the second input end of the multiplier and the first input end of the subtractor respectively. The output end of the first comparator and the output end of the second comparator are connected to the MCU control chip respectively.
[0148] In some embodiments of the present application, the subtractor includes an operational amplifier A3, a resistor R5, and a resistor R6. The reverse input terminal of the operational amplifier A3 is connected to the current output terminal of the DAC chip through the resistor R5. The reverse input terminal of the operational amplifier A3 is connected to one end of the switch path of the MOS tube Q1 through the resistor R5, and the other end of the switch path of the MOS tube Q1 is connected to the output terminal of the multiplier U3. The in-phase input terminal of the operational amplifier A3 is grounded through the resistor R7. The output terminal of the operational amplifier A3 is connected to the reverse input terminal of the operational amplifier A3 through the resistor R6 and the resistor R5. When the MOS tube Q1 is turned on, the two input signals connected to the reverse input terminal of the operational amplifier A3 are subtracted.
[0149] In some embodiments of the present application, the DAC chip is AD7612, and the operational amplifier A1, operational amplifier A2, operational amplifier A3, and operational amplifier A4 are AD8510.
[0150] The following is a detailed description of the regulation method applied in the voltage loop and current loop regulation system.
[0151] Step (21), the MCU control chip determines the magnitude of the set voltage and the set current. The MCU control chip adjusts the output resistance value of the digital potentiometer according to the set voltage. The MCU control chip controls the MOS tube Q1 to turn off.
[0152] The output resistance of the digital potentiometer and the delay capacitor C1 form a delay circuit to adjust the rising speed of the given voltage of the voltage loop.
[0153] The MCU control chip controls the DAC chip to output an analog signal of a set voltage. After the analog signal passes through the digital potentiometer and the delay capacitor C1, the analog signal is transmitted to the non-inverting input terminal of the operational amplifier A1 of the voltage loop.
[0154] The MCU control chip controls the DAC chip to output an analog signal of a set current and transmits the analog signal to the multiplier and subtractor.
[0155] The output voltage of the voltage measurement circuit is transmitted to the ADC chip, and the ADC chip converts the received analog signal into a digital signal and transmits it to the MCU control chip.
[0156] The differential circuit detects the change speed of the voltage across the integral capacitor of the voltage loop. When the voltage change speed is less than a set reference value, the second comparator U2 outputs a low-level conduction signal.
[0157] The MCU control chip monitors the high and low levels of the output end of the second comparator U2 in real time.
[0158] Step (22), when the MCU control chip detects that the second comparator U2 outputs a low-level conduction signal, it records the output voltage V2 of the voltage measurement circuit at this time, and calculates the ratio of the output voltage V2 of the voltage measurement circuit at this time to the set voltage V1.
[0159] Step (23): If the ratio is less than 0.6, it means that the load capacitor is overloaded. Then, when the output voltage of the voltage measurement circuit reaches V1×0.8+V1×0.2× (1-V2 / ( V1×0.6)), the MOS tube Q1 is controlled to be turned on.
[0160] If the ratio ∈[0.6, 0.8], it means that the load capacitance is medium load. Then, when the output voltage of the voltage measurement loop reaches 80% of the set voltage, the MOS tube Q1 is controlled to be turned on.
[0161] If the ratio is greater than 0.8, it means that the load capacitance is medium load, and the control MOS tube Q1 is turned on immediately.
[0162] After the MOS tube Q1 is turned on, the given current transmitted to the current loop will gradually decrease, and its decreasing rate is controlled by the divider, multiplier, and subtractor.
[0163] The output voltage of the voltage measurement loop is transmitted to the divider, which simultaneously receives the analog signal of the set voltage output by the DAC chip, divides the two signals, calculates (output voltage / set voltage), and outputs it to the multiplier. The multiplier multiplies the signal output by the divider with the set current output by the DAC chip to obtain (output voltage / set voltage) × set current.
[0164] After the MOS tube Q1 is turned on, the multiplier outputs a signal to the subtractor. The subtractor subtracts the output signal of the multiplier from the set current output by the DAC chip to obtain the set current - (output voltage / set voltage) × set current, which is then transmitted to the current loop to adjust the given value of the current loop in real time.
[0165] The given value finally transmitted to the current loop = set current - (output voltage / set voltage) × set current.
[0166] After the MOS tube Q1 is turned on, the PWM output modulator is controlled by the current loop.
[0167] Step (24): When the MCU control chip detects that the first comparator U1 outputs a low-level shutdown signal, it controls the MOS tube Q1 to be turned off.
[0168] When the output voltage of the voltage loop is lower than the output voltage of the current loop, it means that the charge in the integral capacitor of the voltage loop has been released, and the first comparator U1 outputs a low-level shutdown signal. After the MOS tube Q1 is turned off, the given value of the current loop becomes the maximum, and the voltage loop controls the PWM output modulator.
[0169] In this embodiment, the MCU control chip determines the switch state of the MOS tube according to the high and low changes of the first comparator, controls the switching time of the voltage loop and the current loop, and realizes a smooth output of the output voltage without fluctuation.
[0170] After the MOS tube Q1 is turned on, the output voltage of the voltage measurement module is controlled by the current loop. The current loop control cannot accurately reach the set voltage. In order to make the output voltage accurately reach the set voltage, the MOS tube Q1 is controlled to be turned on when the first comparator U1 outputs a low level, and switched to be controlled by the voltage loop.
[0171] Beneficial effects of this application:
[0172] (1) The present application is an adaptive regulation system that makes the switching between the current loop and the voltage loop smoother, and can effectively suppress the fluctuation of the output voltage caused by connecting the high-voltage DC power supply to capacitive loads of different sizes.
[0173] (2) The present application adjusts the given value of the current loop according to the rising speed of the output voltage. When the voltage rises quickly, the given change speed of the current loop is fast, and when the voltage changes slowly, the given speed of the current loop is slow. This can prevent voltage overshoot caused by excessively fast voltage rise speed and prevent slow voltage rise caused by heavy output load.
[0174] (3) The present application adjusts the given value of the current loop according to the ratio of the output voltage to the set voltage, is not limited by the output voltage, and has good voltage adaptability.
[0175] (4) The present application adopts an analog circuit, and the output regulated voltage is continuous and smooth, which can achieve continuous and smooth switching when the output load is adjusted, effectively avoiding the output voltage fluctuation caused by the discontinuous output control of the digital circuit.
[0176] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A voltage loop and current loop regulation system, characterized in that: include: Voltage loop; Current loop; A delay circuit, comprising a delay resistor and a delay capacitor; A control circuit, which is used to output a set voltage and a set current, and the output set voltage is transmitted to the first input end of the voltage loop through the delay resistor; one end of the delay capacitor is connected to the first input end of the voltage loop, and the other end of the delay capacitor is grounded; A voltage measurement loop, which is used to detect the output voltage of the power module, and whose output end is connected to the second input end of the voltage loop; A current measurement loop, which is used to detect the output current of the power module, and whose output end is connected to the second input end of the current loop; A divider, used for calculating the ratio of the output voltage of the voltage measurement loop to the set voltage; a multiplier for calculating the product of the ratio of the divider output and the set current; Its output end is connected to the subtractor through a switch path of the switch circuit; a subtractor, configured to calculate a difference between the set current and a product of the multiplier output, and transmit the calculated difference to a first input terminal of the current loop; A first comparator, wherein a first input terminal of the first comparator is connected to the output terminal of the voltage loop, a second input terminal of the first comparator is connected to the output terminal of the current loop, and an output terminal of the first comparator is connected to the control circuit; when a signal received at the first input terminal of the first comparator is smaller than a signal received at the second input terminal of the first comparator, the first comparator outputs a shutdown signal to the control circuit; A differential circuit, which is used to detect the voltage change rate of the integral capacitor of the voltage loop; a second comparator, wherein a first input terminal of the second comparator is connected to the output terminal of the differential circuit, a second input terminal of the second comparator is connected to a set reference value, and an output terminal of the second comparator is connected to the control circuit; when a signal received at the first input terminal of the second comparator is smaller than a signal received at the second input terminal, the second comparator outputs a conduction signal to the control circuit; A PWM output modulator, whose input end is connected to the supply voltage through a pull-up resistor, whose input end is connected to the output end of the voltage loop through a first diode, and whose input end is connected to the output end of the current loop through a second diode; Its output terminal outputs a modulated PWM signal to the power module; Wherein, when the control circuit receives the on signal output by the second comparator, it controls the switch circuit to be on; when the control circuit receives the off signal output by the first comparator, it controls the switch circuit to be off; The voltage loop includes an operational amplifier A1, an integrating capacitor C2, a resistor R2, and a resistor R3; The non-inverting input terminal of the operational amplifier A1 is connected to the control circuit via the delay resistor; The reverse input terminal of the operational amplifier A1 is connected to the output terminal of the voltage measurement loop through a resistor R2; the reverse input terminal of the operational amplifier A1 is connected to one end of an integral capacitor C2 through a resistor R3, and the other end of the integral capacitor C2 is connected to the anode of the first diode; The current loop includes an operational amplifier A2, a capacitor C3, a resistor R8, and a resistor R9; The non-inverting input terminal of the operational amplifier A2 is connected to the output terminal of the subtractor; The reverse input terminal of the operational amplifier A2 is connected to the output terminal of the current measurement loop through a resistor R8; the reverse input terminal of the operational amplifier A1 is connected to one end of a capacitor C3 through a resistor R9, and the other end of the capacitor C3 is connected to the anode of the second diode; The differential circuit includes an operational amplifier A4, a capacitor C4, a resistor R10, and a resistor R11; The capacitor C4 and the resistor R10 are connected in series to form a series branch; The reverse input terminal of the operational amplifier A4 is connected to one end of the integral capacitor of the voltage loop through the series branch; the reverse input terminal of the operational amplifier A4 is connected to the output terminal of the operational amplifier A4 through the resistor R11; The non-inverting input terminal of the operational amplifier A4 is connected to the other end of the integrating capacitor.
2. The voltage loop and current loop regulation system according to claim 1, characterized in that: When the control circuit receives the conduction signal output by the second comparator, the control circuit controls the switch circuit to conduct, specifically including: When the control circuit receives the conduction signal output by the second comparator, it calculates the ratio of the output voltage V2 of the voltage measurement circuit to the set voltage V1 at this time; If the ratio is less than the first set ratio, when the output voltage of the voltage measurement circuit reaches the first voltage threshold, the switch circuit is controlled to be turned on; If the ratio ∈ [first set ratio, second set ratio], when the output voltage of the voltage measurement circuit reaches the second voltage threshold, the switch circuit is controlled to be turned on; wherein the first voltage threshold is greater than the second voltage threshold; If the ratio is greater than the second set ratio, the switch circuit is controlled to be turned on.
3. The voltage loop and current loop regulation system according to claim 2, characterized in that: The first setting ratio is 0.6, and the second setting ratio is 0.8; First voltage threshold = V1×0.8+V1×0.2× (1-V2 / ( V1×0.6)); The second voltage threshold is V1×0.
8.
4. The voltage loop and current loop regulation system according to claim 1, characterized in that: The delay resistor is a digital potentiometer; the control circuit controls the output resistance value of the digital potentiometer.
5. The voltage loop and current loop regulation system according to claim 4, characterized in that: The calculation formula of the output resistance value of the digital potentiometer is: R = (V1×C0) / (K×C1×I1); Where R is the output resistance value of the digital potentiometer; V1 is the set voltage; I1 is the set current; C0 is the filter capacitor at the output end of the power module; C1 is the delay capacitor; K is a fixed constant.
6. The voltage loop and current loop regulation system according to claim 1, characterized in that: The second input terminal of the second comparator is connected to the supply voltage through a voltage divider circuit.
7. The voltage loop and current loop regulation system according to any one of claims 1 to 6, characterized in that: The switch circuit is a MOS tube.
Citation Information
Patent Citations
Voltage stabilizing method and device for single phase DC-to-AC converter
CN101420182A
Battery protection method and system
CN101425678A
High power factor correction control circuit and device
CN104038045A
Single-phase rectification analog control circuit
CN110120753A
Voice coil motor driver and current loop hardware circuit thereof
CN111969907A
