Bidirectional converter control circuit, bidirectional converter and power module
By designing the control circuit of the bidirectional converter, including current control, voltage control and directional mode control, the problem of difficulty in balancing voltage and current control in the existing technology is solved, and the charge and discharge control and application range of the bidirectional converter are expanded. .
Patent Information
- Application Number
- CN202010500647.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-04
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2040-06-04
AI Technical Summary
The existing technology is difficult to effectively control the voltage and current of the bidirectional DC-DC converter, resulting in a limited application range, especially when charging a large capacitor or battery pack and supplying load power, it cannot take into account the control of the bidirectional working method.
A control circuit for a bidirectional converter is designed, including a current control circuit, a voltage control circuit, a direction mode control circuit, a PWM circuit, a drive circuit, a voltage reference source and an auxiliary power supply circuit. Through these circuits, the charging and discharging of the bidirectional converter is realized. Control, control the voltage and current according to the operating mode, and stop working when the voltage on the reverse output side reaches the threshold.
Effective control of the bidirectional converter is achieved, and the voltage and current on the output side can be controlled respectively during forward and reverse operation, and the operation is stopped when the voltage reaches the threshold, which expands the application range of the bidirectional converter.
Smart Images

Figure CN111917150B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of electronic circuits of power modules, and relates to a control circuit for a bidirectional DC-DC converter, a bidirectional converter and a power module. Background Art
[0002] General DC-DC converters are unidirectional and can only transfer the energy of the power supply from one direction to another. Bidirectional DC-DC converters can realize bidirectional transmission of energy. For example, a charger with bidirectional function is used to charge the battery when the power supply network is normal. Once the power supply network is interrupted, the charger can return the battery power to the power grid for short-term emergency power supply. Because bidirectional DC-DC converters can work in forward or reverse directions, their control methods are more complicated than unidirectional DC-DC converters.
[0003] In order to achieve the control of the converter output, the commonly used control methods in the prior art are: peak current type control, average current type control, and voltage type control. Peak current type control and average current type control can control the peak current and average current respectively, but when applied to a bidirectional converter, it is difficult to be compatible with the control of the two working directions because the current directions of the bidirectional converter are different in different working directions. Voltage type control can stabilize the voltage on the output side of the converter at a set value, but when the output side is connected to a large capacitor or battery pack, the voltage of the capacitor or battery pack is almost unchanged in a short time and cannot reach the set voltage value, thus causing the operational amplifier of the voltage loop to enter the saturation zone and the current cannot be controlled. In applications such as backup power supply, when charging a large capacitor or battery pack, the current on the output side of the converter needs to be controlled, and the charging needs to be stopped when the voltage of the capacitor or battery pack reaches a certain threshold; when supplying power to a load, the voltage on the output side needs to be controlled. The existing technology cannot take into account the voltage and current control of different working methods of the bidirectional converter.
[0004] In summary, the existing methods are difficult to apply to the control of bidirectional converters, which limits their application scope. Summary of the invention
[0005] In view of this, the technical problem solved by the present invention is to overcome the shortcomings of the existing methods and propose a control circuit of a bidirectional converter to achieve charge and discharge control of a bidirectional converter power module.
[0006] The technical solution of the present invention to solve the above technical problems is as follows:
[0007] A control circuit of a bidirectional converter, comprising: a current control circuit, used for controlling the charging current when charging a battery pack C1; a voltage control circuit, used for controlling the output voltage when discharging the battery pack C1; a direction mode control circuit, including a forward working mode control circuit, a reverse working mode control circuit and a reverse stop working mode control circuit, used for controlling the energy transmission direction of the bidirectional converter; a PWM circuit, used for converting feedback signals of the current control circuit and the voltage control circuit into PWM signals; a drive circuit, used for outputting a drive signal according to the received PWM signal, so as to drive a switch tube in the bidirectional converter; a voltage reference source VREF is used to provide a reference voltage for the current control circuit and the voltage control circuit; the auxiliary power supply circuit is used to provide a pull-up voltage for the current control circuit and the voltage control circuit; when the bidirectional converter is working in the forward direction, the current control circuit does not work, and the voltage on the forward output side of the bidirectional converter is controlled by the feedback signal of the voltage control circuit; when the bidirectional converter is working in the reverse direction, the voltage control circuit does not work, and the current on the reverse output side of the bidirectional converter is controlled by the feedback signal of the current control circuit; when the voltage on the reverse output side reaches the normal voltage upper limit of the battery pack C1, the drive circuit no longer outputs the drive signal, and the bidirectional converter stops working.
[0008] Preferably, the forward working mode control circuit and the voltage control circuit constitute a forward control module, the forward working mode control circuit includes a buffer B2 and a switch S2; the voltage control circuit includes a resistor R9, a resistor R10, a resistor R11, a capacitor C7, a capacitor C8, an operational amplifier OP2 and a diode D4, wherein the input end of the buffer B2 serves as the control end of the forward control module, and is used to be connected to the input end EN of the bidirectional converter, the output end of the buffer B2 is connected to the gate of the switch S2, the source of the switch S2 is grounded, the drain of the switch S2 is connected to one end of the capacitor C7, the other end of the capacitor C7 is respectively connected to the cathode of the diode D4 and the output end of the operational amplifier OP2, and the diode The anode of D4 is led out as the output end of the forward control module, which is used to provide a voltage feedback signal to the PWM circuit; the negative input end of the operational amplifier OP2 is respectively connected to one end of the resistor R9, one end of the resistor R10, one end of the resistor R11 and the drain of the switch S2, the other end of the resistor R10 is grounded, the other end of the resistor R11 is connected to one end of the capacitor C8, and the other end of the capacitor C8 is connected to the output end of the operational amplifier OP2, and the positive input end of the operational amplifier OP2 is led out as the first input end of the forward control module, which is used to be connected to the voltage reference source VREF; the other end of the resistor R9 is led out as the second input end of the forward control module, which is used to be connected to the output positive end Vo+ of the bidirectional converter.
[0009] Preferably, the reverse working mode control circuit and the current control circuit constitute a reverse control module, the reverse working mode control circuit includes an inverter U2 and a switch S1; the current control circuit includes a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a capacitor C5, a capacitor C6, an operational amplifier OP1 and a diode D3, wherein the input end of the inverter U2 is led out as the control end of the reverse control module, which is used to be connected to the input end EN of the bidirectional converter, the output end of the inverter U2 is connected to the gate of the switch S1, the source of the switch S1 is grounded, the drain of the switch S1 is connected to one end of the capacitor C5, the other end of the capacitor C5 is respectively connected to the cathode of the diode D3 and the output end of the operational amplifier OP1, the anode of the diode D3 is led out as the output end of the reverse control module, and the output end of the bidirectional converter ... bidirectional converter. The operational amplifier OP1 is used to provide a current feedback signal to the PWM circuit; the negative input terminal of the operational amplifier OP1 is respectively connected to one end of the resistor R5, one end of the resistor R6, one end of the resistor R7 and the drain of the switch S1, the other end of the resistor R6 is grounded, the other end of the resistor R7 is connected to one end of the capacitor C6, and the other end of the capacitor C6 is connected to the output terminal of the operational amplifier OP1; the positive input terminal of the operational amplifier OP1 is respectively connected to one end of the resistor R2, one end of the resistor R3 and one end of the resistor R4, the other end of the resistor R3 is grounded, the other end of the resistor R4 is connected to the other end of the resistor R5 and then led out as the first input terminal of the reverse control module, which is used to be connected to the voltage reference source VREF; the other end of the resistor R2 is led out as the second input terminal of the reverse control module, which is used to be connected to the negative input terminal Vin- of the bidirectional converter.
[0010] Preferably, the reverse stop working mode control circuit comprises a resistor R12, a resistor R13, a comparator CP2, a diode D5 and a diode D6, wherein the positive input terminal of the comparator CP2 is led out as the first input terminal of the reverse stop working mode control circuit, for connecting to a voltage reference source VREF; the negative input terminal of the comparator CP2 is respectively connected to one end of the resistor R12 and one end of the resistor R13, the other end of the resistor R13 is grounded, and the other end of the resistor R12 is led out as the control terminal of the reverse stop working mode control circuit, for connecting to the positive input terminal Vin+ of the bidirectional converter; the output terminal of the comparator CP2 is respectively connected to the cathode of the diode D5 and the cathode of the diode D6; the anode of the diode D5 is led out as the first output terminal of the reverse stop working mode control circuit, for connecting to a PWM circuit; the anode of the diode D6 is led out as the second output terminal of the reverse stop working mode control circuit, for connecting to a PWM circuit.
[0011] Preferably, the PWM circuit comprises a comparator CP1, a buffer B1, an inverter U1, a resistor R14, a resistor R15 and a sawtooth wave generating circuit, wherein the positive input terminal of the comparator CP1 is led out as the input terminal of the PWM circuit for connecting to the output terminal of the forward control module and the output terminal of the reverse control module, the negative input terminal of the comparator CP1 is connected to the sawtooth wave generating circuit, the output terminal of the comparator CP1 is respectively connected to the input terminal of the buffer B1 and the input terminal of the inverter U1, the output terminal of the buffer B1 is connected to one end of the resistor R14, and the other end of the resistor R14 is led out as the first output terminal of the PWM circuit for connecting to the drive circuit; the output terminal of the inverter U1 is connected to one end of the resistor R15, and the other end of the resistor R15 is led out as the second output terminal of the PWM circuit for connecting to the drive circuit.
[0012] Preferably, the auxiliary power supply circuit includes an auxiliary power supply VCC and a resistor R8, one end of the auxiliary power supply VCC is grounded, the other end of the auxiliary power supply VCC is connected to one end of the resistor R8, and the other end of the resistor R8 is connected to the input end of the PWM circuit.
[0013] Preferably, the control circuit of the bidirectional converter also includes a diode D1 and a capacitor C3, the anode of the diode D1 is led out as the first input terminal of the control circuit of the bidirectional converter, and is used to connect the opposite-name end of the secondary winding of the transformer of the flyback power module; the cathode of the diode D1 is connected to one end of the capacitor C3, and the cathode of the diode D1 is also led out as the working status signal terminal EN, which is used to provide the working status signal of the power module to the bidirectional converter; the other end of the capacitor C3 is led out as the second input terminal of the control circuit of the bidirectional converter, and is used to connect the same-name end of the secondary winding of the transformer of the flyback power module.
[0014] The present invention also provides a control circuit of a bidirectional converter, which is used to control the charging and discharging of a battery pack C1, wherein: it includes a current control circuit, a voltage control circuit, a mode control circuit, a PWM circuit, a drive circuit, a voltage reference circuit and an auxiliary power supply circuit, wherein the auxiliary power supply circuit is respectively connected to the current control circuit, the voltage control circuit and the PWM circuit, the voltage reference circuit is respectively connected to the current control circuit, the voltage control circuit and the mode control circuit, the mode control circuit is also connected to the current control circuit, the voltage control circuit, the PWM circuit and the drive circuit, the mode control circuit also leads out its first input end and the second input end, which are used to connect the input positive end Vin+ of the bidirectional converter through its first input end, and connect the input end EN of the bidirectional converter through its second input end; the current control circuit also leads out its first input end, which is used to connect the input negative end Vin- of the bidirectional converter; the voltage control circuit also leads out its first input end, which is used to connect the output positive end Vo+ of the bidirectional converter; the drive circuit also leads out its first output end and the second output end, which are used to connect the switch tube Q1 of the bidirectional converter through its first output end, and the second output end is connected to the switch tube Q2 of the bidirectional converter.
[0015] Preferably, in the control circuit of the bidirectional converter, when the bidirectional converter is working in the forward direction, the current control circuit does not work, and the voltage on the forward output side of the bidirectional converter is controlled by the feedback signal of the voltage control circuit; when the bidirectional converter is working in the reverse direction, the voltage control circuit does not work, and the current on the reverse output side of the bidirectional converter is controlled by the feedback signal of the current control circuit; when the voltage on the reverse output side reaches the normal voltage upper limit of the battery pack C1, the drive circuit no longer outputs the drive signal, and the bidirectional converter stops working.
[0016] The present invention further provides a bidirectional converter, including the control circuit of the bidirectional converter described above, and also including a battery pack C1, an inductor L, a switch tube Q1, a switch tube Q2, a capacitor C2, and a current sampling resistor R1, wherein the positive electrode of the battery pack C1 is connected to one end of the inductor L, and the positive electrode of the battery pack C1 is also led out as the input positive terminal of the bidirectional converter, the other end of the inductor L is respectively connected to the drain of the switch tube Q1 and the source of the switch tube Q2, the drain of the switch tube Q2 is led out as the output positive terminal of the bidirectional converter, the negative electrode of the battery pack C1 is connected to one end of the resistor R1, and the positive electrode of the battery pack C1 is connected to the negative electrode of the resistor R1. The negative electrode is also led out as the negative input terminal of the bidirectional converter, the other end of the resistor R1 is connected to the source of the switch tube Q1, the resistor R1 is also led out as the negative output terminal of the bidirectional converter, the capacitor C2 is connected in parallel between the positive output terminal and the negative output terminal of the bidirectional converter, wherein the positive input terminal of the bidirectional converter is connected to the mode control circuit of the control circuit of the bidirectional converter, the negative input terminal of the bidirectional converter is connected to the current control circuit of the control circuit of the bidirectional converter, the positive output terminal of the bidirectional converter is connected to the voltage control circuit of the control circuit of the bidirectional converter, and the negative output terminal of the bidirectional converter is grounded.
[0017] The present invention further provides a power module, including the above-mentioned bidirectional converter, and also including a transformer T and a diode D2, wherein the opposite-name end of the secondary winding of the transformer T is connected to the anode of the diode D2, the cathode of the diode D2 is led out as the positive output end of the power module, and the same-name end of the secondary winding of the transformer T is led out as the negative output end of the power module, wherein the bidirectional converter collects the working status signal of the power module at both ends of the secondary winding of the transformer T and provides it to the bidirectional converter as an enable signal, when the power module works normally, the working mode of the bidirectional converter is a reverse working direction, that is, the output energy of the power module is provided to the battery pack C1 for charging through the reverse transmission of the bidirectional converter, and the current on the reverse output side of the bidirectional converter is controlled by the feedback signal of the current control circuit; when the voltage on the reverse output side reaches the charging voltage of the battery pack C1, the drive circuit no longer outputs the drive signal, and the bidirectional converter stops working; when the power module is abnormally powered off, the working mode of the bidirectional converter is a forward working direction, that is, the energy stored in the battery pack C1 is output to the load through the forward transmission of the bidirectional converter, and the voltage on the forward output side of the bidirectional converter is controlled by the feedback signal of the voltage control circuit.
[0018] As described above, a control circuit of a bidirectional converter of the present invention comprises:
[0019] A current control circuit, used for controlling the charging current when the energy is charged to the battery pack C1 through the bidirectional converter;
[0020] A voltage control circuit, used for controlling the converter output voltage when the battery pack is discharged through the bidirectional converter;
[0021] A mode control circuit, used for controlling the working direction of the bidirectional converter;
[0022] A PWM circuit, used for converting feedback signals of a current control circuit and a voltage control circuit into PWM signals;
[0023] A driving circuit, used for driving the switch tube Q1 and the switch tube Q2 in the bidirectional converter according to the received PWM signal;
[0024] A voltage reference circuit, used for providing a reference voltage for a current control circuit and a voltage control circuit;
[0025] The auxiliary power supply circuit is used to provide a pull-up voltage for the current control circuit and the voltage control circuit.
[0026] The working principle of the above-mentioned scheme proposed in the present invention is described in detail in the specific embodiment. The beneficial effect of the present invention is that it overcomes the shortcomings of the converter control technology in the prior art, can control the voltage on the forward output side when the bidirectional converter is working in the forward direction, and control the current on the reverse output side when working in the reverse direction, and stop the bidirectional converter from working after the voltage on the reverse output side reaches a certain threshold. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 The schematic diagram of the overall implementation circuit of the present invention as a bidirectional converter applied to a power module;
[0028] Figure 2 is a structural block diagram of a control circuit of a bidirectional converter of the present invention;
[0029] Figure 3 The schematic diagram of the control circuit of the bidirectional converter according to the preferred embodiment of the present invention. DETAILED DESCRIPTION
[0030] The specific implementation of the present invention is described below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0031] Figure 1 The present invention is a schematic diagram of the overall implementation circuit principle of the present invention as a bidirectional converter applied to a power module. A power module of a bidirectional converter includes: a flyback circuit and a bidirectional converter connected to the output side of the flyback circuit, wherein the flyback circuit includes a primary flyback circuit, a transformer T, a diode D2 and an output capacitor C4. The bidirectional converter includes: a diode D1, a capacitor C3, a battery pack C1, an inductor L, a switch tube Q1, a switch tube Q2, a capacitor C2, a current sampling resistor R1 and a control circuit of the bidirectional converter. The control circuit of the bidirectional converter is used for: when the power module is working normally, the output energy of the power module is provided to the battery pack C1 for charging through the reverse transmission of the bidirectional converter; when the power module is abnormally powered off, the energy stored in the battery pack C1 is output through the forward transmission of the bidirectional converter to power the load.
[0032] Figure 2The present invention is a block diagram of a control circuit of a bidirectional converter, a control circuit of a bidirectional converter, comprising: a current control circuit, a voltage control circuit, a direction mode control circuit, a PWM circuit, a drive circuit, a voltage reference circuit and an auxiliary power supply circuit, wherein the current control circuit is used to control the charging current when the energy of the power source is charged to the battery pack C1 through the bidirectional converter; the voltage control circuit is used to control the converter output voltage when the battery pack is discharged through the bidirectional converter; the direction mode control circuit is used to control the current control circuit and the voltage control circuit according to the energy transmission direction of the bidirectional converter; the PWM circuit is used to convert the feedback signals of the current control circuit during charging and the voltage control circuit during discharging into PWM signals; the drive circuit is used to drive the switch tube Q1 and the switch tube Q2 in the bidirectional converter according to the received PWM signal; the voltage reference circuit VREF is used to provide a reference voltage for the current control circuit and the voltage control circuit; the auxiliary power supply circuit is used to provide a pull-up voltage for the current control circuit and the voltage control circuit.
[0033] The connection relationship of the control circuit of the bidirectional converter of the present invention is that the auxiliary power supply circuit is respectively connected to the current control circuit, the voltage control circuit and the PWM circuit, the voltage reference circuit is respectively connected to the current control circuit, the voltage control circuit and the direction mode control circuit, the direction mode control circuit is also connected to the current control circuit, the voltage control circuit, the PWM circuit and the drive circuit, the direction mode control circuit also leads out its first input end and the second input end, which are used to connect the input positive end Vin+ of the bidirectional converter through its first input end and connect the input end EN of the bidirectional converter through its second input end; the current control circuit also leads out its first input end, which is used to connect the input negative end Vin- of the bidirectional converter; the voltage control circuit also leads out its first input end, which is used to connect the output positive end Vo+ of the bidirectional converter; the drive circuit also leads out its first output end and the second output end, which are used to connect the switch tube Q1 of the bidirectional converter through its first output end, and its second output end is connected to the switch tube Q2 of the bidirectional converter.
[0034] The working principle of the control circuit of the bidirectional converter of the present invention is that the bidirectional converter collects the working status signal of the power module at both ends of the secondary winding of the transformer T as an enable signal, and provides it to the bidirectional converter through the input terminal EN of the bidirectional converter.
[0035] When the working state signal of the power module is normal, the working mode of the bidirectional converter is the reverse working direction, that is, the output energy of the power module is provided to the battery pack C1 for charging through the reverse transmission of the bidirectional converter, and the current on the reverse output side of the bidirectional converter is controlled by the feedback signal of the current control circuit; when the voltage on the reverse output side reaches the charging voltage of the battery pack C1, the drive circuit no longer outputs the drive signal, and the bidirectional converter stops working;
[0036] When the working status signal of the power module is abnormal, the working mode of the bidirectional converter is the forward working direction, that is, the energy stored in the battery pack C1 is output to power the load through the forward transmission of the bidirectional converter, and the voltage on the forward output side of the bidirectional converter is controlled by the feedback signal of the voltage control circuit.
[0037] Figure 3 The preferred embodiment of the control circuit of the bidirectional converter of the present invention is applied to the control circuit principle diagram of the bidirectional converter. The control circuit of the bidirectional converter in this embodiment is specifically:
[0038] The current control circuit includes a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a capacitor C5, a capacitor C6, an operational amplifier OP1 and a diode D3.
[0039] The voltage control circuit includes a resistor R9, a resistor R10, a resistor R11, a capacitor C7, a capacitor C8, an operational amplifier OP2 and a diode D4.
[0040] The mode control circuit includes a forward working mode control circuit, a reverse working mode control circuit and a reverse stop working mode control circuit, wherein the forward working mode control circuit includes a buffer B2 and a switch S2; the reverse working mode control circuit includes an inverter U2 and a switch S1; and the reverse stop working mode control circuit includes a resistor R12, a resistor R13, a comparator CP2, a diode D5 and a diode D6.
[0041] The PWM circuit includes a comparator CP1, a buffer B1, an inverter U1, a resistor R14, a resistor R15 and a sawtooth wave generating circuit.
[0042] The voltage reference circuit includes a voltage reference source VREF.
[0043] The auxiliary power supply circuit includes an auxiliary power supply VCC and a resistor R8.
[0044] The connection relationship of the control circuit of the bidirectional converter of the present invention is:
[0045] The forward working mode control circuit and the voltage control circuit constitute a forward control module, wherein the input end of the buffer B2 is used as the control end of the forward control module and is used to be connected to the input end EN of the bidirectional converter, the output end of the buffer B2 is connected to the gate of the switch S2, the source of the switch S2 is grounded, the drain of the switch S2 is connected to one end of the capacitor C7, the other end of the capacitor C7 is respectively connected to the cathode of the diode D4 and the output end of the operational amplifier OP2, the anode of the diode D4 is led out as the output end of the forward control module and is used to provide a voltage feedback signal to the PWM circuit; the operational amplifier The negative input terminal of the amplifier OP2 is respectively connected to one end of a resistor R9, one end of a resistor R10, one end of a resistor R11 and the drain of a switch S2, the other end of the resistor R10 is grounded, the other end of the resistor R11 is connected to one end of a capacitor C8, the other end of the capacitor C8 is connected to the output terminal of the operational amplifier OP2, the positive input terminal of the operational amplifier OP2 is led out as the first input terminal of the forward control module, for being connected to the voltage reference source VREF; the other end of the resistor R9 is led out as the second input terminal of the forward control module, for being connected to the output positive terminal Vo+ of the bidirectional converter.
[0046] The reverse working mode control circuit and the current control circuit constitute a reverse control module, wherein the input end of the inverter U2 is led out as the control end of the reverse control module, which is used to be connected to the input end EN of the bidirectional converter, the output end of the inverter U2 is connected to the gate of the switch S1, the source of the switch S1 is grounded, the drain of the switch S1 is connected to one end of the capacitor C5, the other end of the capacitor C5 is respectively connected to the cathode of the diode D3 and the output end of the operational amplifier OP1, the anode of the diode D3 is led out as the output end of the reverse control module, which is used to provide a current feedback signal to the PWM circuit; the negative input end of the operational amplifier OP1 is respectively connected to one end of the resistor R5, the negative input end of the resistor R6, and the negative input end of the operational amplifier OP1. One end of the reverse control module is connected to one end of the resistor R2, one end of the resistor R3 and one end of the resistor R4, the other end of the resistor R3 is connected to the ground, the other end of the resistor R4 is connected to one end of the reverse control module, and the other end of the resistor R5 is connected to the other end of the resistor R5, and then the first input end of the reverse control module is led out, which is used to be connected to the voltage reference source VREF; the other end of the resistor R2 is led out as the second input end of the reverse control module, which is used to be connected to the negative input end Vin- of the bidirectional converter.
[0047] A reverse stop working mode control circuit, wherein the positive input terminal of the comparator CP2 is led out as the first input terminal of the reverse stop working mode control circuit, which is used to be connected to the voltage reference source VREF; the negative input terminal of the comparator CP2 is respectively connected to one end of the resistor R12 and one end of the resistor R13, the other end of the resistor R13 is grounded, and the other end of the resistor R12 is led out as the control terminal of the reverse stop working mode control circuit, which is used to be connected to the input positive terminal Vin+ of the bidirectional converter; the output terminal of the comparator CP2 is respectively connected to the cathode of the diode D5 and the cathode of the diode D6; the anode of the diode D5 is led out as the first output terminal of the reverse stop working mode control circuit, which is used to be connected to the PWM circuit; the anode of the diode D6 is led out as the second output terminal of the reverse stop working mode control circuit, which is used to be connected to the PWM circuit.
[0048] A PWM circuit, wherein the positive input end of the comparator CP1 is led out as the input end of the PWM circuit, and is used to be connected to the output end of the forward control module and the output end of the reverse control module, the negative input end of the comparator CP1 is connected to the sawtooth wave generating circuit, the output end of the comparator CP1 is respectively connected to the input end of the buffer B1 and the input end of the inverter U1, the output end of the buffer B1 is connected to one end of the resistor R14, and the other end of the resistor R14 is led out as the first output end of the PWM circuit, and is used to be connected to the drive circuit; the output end of the inverter U1 is connected to one end of the resistor R15, and the other end of the resistor R15 is led out as the second output end of the PWM circuit, and is used to be connected to the drive circuit.
[0049] The auxiliary power supply circuit includes an auxiliary power supply VCC and a resistor R8, wherein one end of the auxiliary power supply VCC is grounded, the other end of the auxiliary power supply VCC is connected to one end of the resistor R8, and the other end of the resistor R8 is connected to the input end of the PWM circuit.
[0050] The control circuit of the bidirectional converter of the present invention also includes a diode D1 and a capacitor C3, wherein the anode of the diode D1 is led out as a first input end of the control circuit of the bidirectional converter, and is used to connect to the opposite-name end of the secondary winding of the transformer of the flyback power module; the cathode of the diode D1 is connected to one end of the capacitor C3, and the cathode of the diode D1 is also led out as an input end EN, and is used to provide a working status signal of the power module to the bidirectional converter; the other end of the capacitor C3 is led out as a second input end of the control circuit of the bidirectional converter, and is used to connect to the same-name end of the secondary winding of the transformer of the flyback power module.
[0051] The working direction of the bidirectional converter is defined as follows: when energy is transferred from the battery pack C1 side to the capacitor C2 side, it is the forward working direction, and vice versa, it is the reverse working direction. The working principle of the control circuit of the bidirectional converter in this embodiment is:
[0052] When the primary side flyback circuit is powered off, the current of the diode D1 disappears, the voltage of the input terminal EN of the direction mode control circuit gradually drops to zero, the direction mode control circuit makes the bidirectional converter work in the forward direction, and the battery pack C1 supplies power to the load through the bidirectional converter; when the primary side flyback circuit works normally, the diode D1 is turned on, the voltage of the input terminal EN of the direction mode control circuit rises to a high level, the direction mode control circuit makes the bidirectional converter work in the reverse direction, and the bidirectional converter charges the battery pack C1.
[0053] When the voltage at the input terminal EN is low, the buffer B2 outputs a low level, the switch S2 is turned off, and the resistor R9 samples the output voltage and divides it with the resistor R10. The divided voltage output is used as the inverting input of the operational amplifier OP2. The values of R9, R10, R11, C7, and C8 are reasonably set. After the circuit works stably, the operational amplifier OP2 will work in the linear amplification area. The output voltage of the operational amplifier OP2 decreases with the increase of the voltage on the forward output side of the bidirectional converter (the voltage at the output terminal Vo+). The diode D4 is turned on, and the voltage control circuit works normally. The PWM generates a PWM signal according to the voltage output by the voltage control circuit. The lower the voltage output by the operational amplifier OP2, the smaller the duty cycle of the PWM signal output by the comparator CP1. The duty cycle of the PWM signal output by the comparator CP1 decreases, which reduces the duty cycle of the buffer B1 output, reduces the conduction duty cycle of the switch tube Q1, and reduces the voltage at the forward output terminal Vo+ of the bidirectional converter. At the same time, because the voltage of the input terminal EN is low, the inverter U2 outputs a high level, the switch S1 is turned on, the inverting input terminal of the operational amplifier OP1 is equivalent to being short-circuited to the ground, the operational amplifier OP1 works in the saturation region, the diode D3 is turned off, and the current control circuit does not work, so that the current control circuit can be prevented from affecting the PWM circuit. Therefore, the voltage on the forward output side of the bidirectional converter can be controlled when the bidirectional converter is working forward, and the process is: the voltage on the forward output side of the bidirectional converter rises when the bidirectional converter is working forward → the voltage output of the operational amplifier OP2 decreases → the duty cycle of the PWM signal output by the comparator CP1 decreases → the duty cycle of the buffer B1 output decreases → the conduction duty cycle of the switch tube Q1 decreases → the voltage on the forward output side of the bidirectional converter decreases when the bidirectional converter is working forward. On the contrary, when the voltage control circuit detects that the voltage on the forward output side of the bidirectional converter is decreasing when the bidirectional converter is working forward, it will increase the voltage on the forward output side through feedback regulation. Such a feedback control process enables the voltage on the forward output side of the bidirectional converter to be controlled when the bidirectional converter is working forward.
[0054] When the voltage at the input terminal EN is high, the inverter U2 outputs a low level, the switch S1 is turned off, and the voltage output of the current sampling resistor R1 passes through R2 as the in-phase input of the operational amplifier OP1. The values of R2, R3, R4, R5, R6, R7, C5, and C6 are reasonably set. After the circuit works stably, the operational amplifier OP1 will work in the linear amplification area. The output voltage of the operational amplifier OP1 increases with the increase of the current on the reverse output side of the bidirectional converter (reference positive direction is Vin+→Vin-), the diode D3 is turned on, the current control circuit works normally, and the PWM generates a PWM signal according to the voltage output by the current control circuit. The higher the voltage output by the operational amplifier OP1, the higher the duty cycle of the PWM signal output by the comparator CP1. The increase in the duty cycle of the PWM signal output by the comparator CP1 reduces the duty cycle of the inverter U1 output, reduces the conduction duty cycle of the switch tube Q2, and reduces the current on the reverse output side of the bidirectional converter. At the same time, because the voltage of the input terminal EN is high level, the buffer B2 outputs high level, the switch S2 is turned on, the inverting input terminal of the operational amplifier OP2 is equivalent to being short-circuited to the ground, the operational amplifier OP2 works in the saturation region, the diode D4 is turned off, and the voltage control circuit does not work, so that the voltage control circuit can be prevented from affecting the PWM circuit. Therefore, the current on the reverse output side of the bidirectional converter can be controlled when the bidirectional converter works in reverse, and the process is: the current on the reverse output side rises when the bidirectional converter works in reverse → the voltage output of the operational amplifier OP1 rises → the duty cycle of the PWM signal output by the comparator CP1 increases → the duty cycle of the inverter U1 output decreases → the on-duty cycle of the switch tube Q2 decreases → the current on the reverse output side of the bidirectional converter decreases when the bidirectional converter works in reverse. On the contrary, when the current control circuit detects that the current on the reverse output side of the bidirectional converter decreases when the bidirectional converter works in reverse, it will increase the current on the reverse output side through feedback regulation. Such a feedback control process enables the current on the reverse output side of the bidirectional converter to be controlled when the bidirectional converter works in reverse.
[0055] When the bidirectional converter works in reverse, because the bidirectional converter charges the battery pack C1, the voltage on the reverse output side of the bidirectional converter gradually rises, and the inverting input voltage of the comparator CP2 also gradually rises. Therefore, when the battery pack C1 is full, that is, the voltage on the reverse output side of the bidirectional converter reaches a certain threshold (that is, the normal voltage upper limit of the battery pack C1), the inverting input voltage of the comparator CP2 is greater than the non-inverting input voltage, and the comparator CP2 outputs a low level. The diodes D5 and D6 are turned on, and the input end of the drive circuit is clamped at a low level. The drive circuit no longer outputs a drive signal, the switch tubes Q1 and Q2 are turned off, and the bidirectional converter stops working.
[0056] The above are only preferred embodiments of the present invention. It should be pointed out that the above preferred embodiments should not be regarded as limiting the present invention. For ordinary technicians in this technical field, without departing from the spirit and scope of the present invention, several improvements and modifications can be made, such as using current transformers instead of resistors for current sampling, using MOS tubes or transistors to replace the switches in the text, and changing the primary side flyback circuit to a forward circuit. These improvements and modifications should also be regarded as the protection scope of the present invention. They will not be repeated here with embodiments. The protection scope of the present invention shall be based on the scope defined by the claims. In addition, all the connection / connection relationships involved in the patent do not refer to the direct connection of components, but refer to the fact that a better connection structure can be formed by adding or reducing connection accessories according to the specific implementation situation. The various technical features in the invention can be combined interactively without conflicting with each other.
Claims
1. A control circuit for a bidirectional converter, characterized in that: include: A current control circuit, used for controlling the charging current when charging the battery pack C1; A voltage control circuit, used for controlling the output voltage of the battery pack C1 when discharging; A direction mode control circuit, including a forward working mode control circuit, a reverse working mode control circuit and a reverse stop working mode control circuit, is used to control the current control circuit and the voltage control circuit according to the energy transmission direction of the bidirectional converter; A PWM circuit, used for converting feedback signals of a current control circuit and a voltage control circuit into PWM signals; A driving circuit, used for outputting a driving signal according to the received PWM signal, so as to drive the switch tube in the bidirectional converter; A voltage reference source VREF is used to provide a reference voltage for a current control circuit and a voltage control circuit; An auxiliary power supply circuit, used for providing a pull-up voltage for a current control circuit and a voltage control circuit; When the bidirectional converter is working in the forward direction, the current control circuit does not work, and the voltage on the forward output side of the bidirectional converter is controlled by the feedback signal of the voltage control circuit; When the bidirectional converter works in reverse, the voltage control circuit does not work, and the current on the reverse output side of the bidirectional converter is controlled by the feedback signal of the current control circuit; when the voltage on the reverse output side reaches the upper limit of the normal voltage of the battery pack C1, the drive circuit no longer outputs the drive signal, and the bidirectional converter stops working; The forward working mode control circuit and the voltage control circuit constitute a forward control module, the forward working mode control circuit includes a buffer B2 and a switch S2; the voltage control circuit includes a resistor R9, a resistor R10, a capacitor C7, an operational amplifier OP2 and a diode D4, wherein the input end of the buffer B2 serves as the control end of the forward control module and is used to be connected to the input end EN of the bidirectional converter, the output end of the buffer B2 is connected to the gate of the switch S2, the source of the switch S2 is grounded, the drain of the switch S2 is connected to one end of the capacitor C7, and the other end of the capacitor C7 is connected to the cathode of the diode D4. The output end of the operational amplifier OP2 and the anode of the diode D4 are led out as the output end of the forward control module, which is used to provide a voltage feedback signal to the PWM circuit; the negative input end of the operational amplifier OP2 is respectively connected to one end of the resistor R9, one end of the resistor R10 and the drain of the switch S2, the other end of the resistor R10 is grounded, and the positive input end of the operational amplifier OP2 is led out as the first input end of the forward control module, which is used to be connected to the voltage reference source VREF; the other end of the resistor R9 is led out as the second input end of the forward control module, which is used to be connected to the output positive end Vo+ of the bidirectional converter; The reverse working mode control circuit and the current control circuit constitute a reverse control module, the reverse working mode control circuit includes an inverter U2 and a switch S1; the current control circuit includes a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a capacitor C5, an operational amplifier OP1 and a diode D3, wherein the input end of the inverter U2 is led out as the control end of the reverse control module, which is used to be connected to the input end EN of the bidirectional converter, the output end of the inverter U2 is connected to the gate of the switch S1, the source of the switch S1 is grounded, the drain of the switch S1 is connected to one end of the capacitor C5, the other end of the capacitor C5 is respectively connected to the cathode of the diode D3 and the output end of the operational amplifier OP1, and the anode of the diode D3 is led out as the output end of the reverse control module , the output end of the reverse control module is connected to the output end of the forward control module, and the anode of the diode D3 is used to provide a current feedback signal to the PWM circuit; the negative input end of the operational amplifier OP1 is respectively connected to one end of the resistor R5, one end of the resistor R6 and the drain of the switch S1, and the other end of the resistor R6 is grounded; the positive input end of the operational amplifier OP1 is respectively connected to one end of the resistor R2, one end of the resistor R3 and one end of the resistor R4, and the other end of the resistor R3 is grounded, and the other end of the resistor R4 is connected to the other end of the resistor R5 and then led out as the first input end of the reverse control module for connecting to the voltage reference source VREF; the other end of the resistor R2 is led out as the second input end of the reverse control module for connecting to the negative input end Vin- of the bidirectional converter; The control circuit of the bidirectional converter also includes a diode D1 and a capacitor C3. The anode of the diode D1 is led out as the first input terminal of the control circuit of the bidirectional converter, and is used to connect the opposite-name end of the secondary winding of the transformer of the flyback power module; the cathode of the diode D1 is connected to one end of the capacitor C3, and the cathode of the diode D1 is also led out as the input terminal EN, and is used to provide the working status signal of the power module to the bidirectional converter; the other end of the capacitor C3 is led out as the second input terminal of the control circuit of the bidirectional converter, and is used to connect the same-name end of the secondary winding of the transformer of the flyback power module.
2. The control circuit of the bidirectional converter according to claim 1, characterized in that: The reverse stop working mode control circuit comprises a resistor R12, a resistor R13, a comparator CP2, a diode D5 and a diode D6, wherein the positive input terminal of the comparator CP2 is led out as the first input terminal of the reverse stop working mode control circuit, which is used to be connected to a voltage reference source VREF; the negative input terminal of the comparator CP2 is respectively connected to one end of the resistor R12 and one end of the resistor R13, the other end of the resistor R13 is grounded, and the other end of the resistor R12 is led out as the control terminal of the reverse stop working mode control circuit, which is used to be connected to the input positive terminal Vin+ of the bidirectional converter; the output terminal of the comparator CP2 is respectively connected to the cathode of the diode D5 and the cathode of the diode D6; the anode of the diode D5 is led out as the first output terminal of the reverse stop working mode control circuit, which is used to be connected to a PWM circuit; the anode of the diode D6 is led out as the second output terminal of the reverse stop working mode control circuit, which is used to be connected to the PWM circuit.
3. The control circuit of the bidirectional converter according to claim 1, characterized in that: The PWM circuit includes a comparator CP1, a buffer B1, an inverter U1, a resistor R14, a resistor R15 and a sawtooth wave generating circuit, wherein the positive input end of the comparator CP1 is led out as the input end of the PWM circuit, and is used to be connected to the output end of the forward control module and the output end of the reverse control module, the negative input end of the comparator CP1 is connected to the sawtooth wave generating circuit, the output end of the comparator CP1 is respectively connected to the input end of the buffer B1 and the input end of the inverter U1, the output end of the buffer B1 is connected to one end of the resistor R14, and the other end of the resistor R14 is led out as the first output end of the PWM circuit, and is used to be connected to the drive circuit; the output end of the inverter U1 is connected to one end of the resistor R15, and the other end of the resistor R15 is led out as the second output end of the PWM circuit, and is used to be connected to the drive circuit.
4. The control circuit of the bidirectional converter according to claim 1, characterized in that: The auxiliary power supply circuit includes an auxiliary power supply VCC and a resistor R8. One end of the auxiliary power supply VCC is grounded, the other end of the auxiliary power supply VCC is connected to one end of the resistor R8, and the other end of the resistor R8 is connected to the input end of the PWM circuit.
5. A control circuit of a bidirectional converter, used for controlling the charging and discharging of a battery pack C1, characterized in that: It includes a current control circuit, a voltage control circuit, a direction mode control circuit, a PWM circuit, a drive circuit, a voltage reference circuit and an auxiliary power supply circuit. Wherein, the auxiliary power supply circuit is respectively connected to the current control circuit, the voltage control circuit and the PWM circuit, the voltage reference circuit is respectively connected to the current control circuit, the voltage control circuit and the direction mode control circuit, the direction mode control circuit is also connected to the current control circuit, the voltage control circuit, the PWM circuit and the drive circuit, the direction mode control circuit also leads out its first input end and the second input end, which are used to connect the input positive end Vin+ of the bidirectional converter through its first input end, and connect the input end EN of the bidirectional converter through its second input end; the PWM circuit is also connected to the current control circuit and the voltage control circuit; the current control circuit also leads out its first input end, which is used to connect the input negative end Vin- of the bidirectional converter; the voltage control circuit also leads out its first input end, which is used to connect the output positive end Vo+ of the bidirectional converter; the drive circuit also leads out its first output end and the second output end, which are used to connect the switch tube Q1 of the bidirectional converter through its first output end, and its second output end is connected to the switch tube Q2 of the bidirectional converter; The direction mode control circuit includes a forward working mode control circuit and a reverse working mode control circuit; The forward working mode control circuit and the voltage control circuit constitute a forward control module, the forward working mode control circuit includes a buffer B2 and a switch S2; the voltage control circuit includes a resistor R9, a resistor R10, a capacitor C7, an operational amplifier OP2 and a diode D4, wherein the input end of the buffer B2 serves as the control end of the forward control module and is used to be connected to the input end EN of the bidirectional converter, the output end of the buffer B2 is connected to the gate of the switch S2, the source of the switch S2 is grounded, the drain of the switch S2 is connected to one end of the capacitor C7, and the other end of the capacitor C7 is connected to the cathode of the diode D4 and the cathode of the diode D4. and the output end of the operational amplifier OP2, the anode of the diode D4 is led out as the output end of the forward control module, used to provide a voltage feedback signal to the PWM circuit; the negative input end of the operational amplifier OP2 is respectively connected to one end of the resistor R9, one end of the resistor R10 and the drain of the switch S2, the other end of the resistor R10 is grounded, the positive input end of the operational amplifier OP2 is led out as the first input end of the forward control module, used to be connected to the voltage reference source VREF; the other end of the resistor R9 is led out as the second input end of the forward control module, used to be connected to the output positive end Vo+ of the bidirectional converter; The reverse working mode control circuit and the current control circuit constitute a reverse control module, the reverse working mode control circuit includes an inverter U2 and a switch S1; the current control circuit includes a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a capacitor C5, an operational amplifier OP1 and a diode D3, wherein the input end of the inverter U2 is led out as the control end of the reverse control module, which is used to be connected to the input end EN of the bidirectional converter, the output end of the inverter U2 is connected to the gate of the switch S1, the source of the switch S1 is grounded, the drain of the switch S1 is connected to one end of the capacitor C5, the other end of the capacitor C5 is respectively connected to the cathode of the diode D3 and the output end of the operational amplifier OP1, the anode of the diode D3 is led out as the output end of the reverse control module, The output end of the reverse control module is connected to the output end of the forward control module, and the anode of the diode D3 is used to provide a current feedback signal to the PWM circuit; the negative input end of the operational amplifier OP1 is respectively connected to one end of the resistor R5, one end of the resistor R6 and the drain of the switch S1, and the other end of the resistor R6 is grounded; the positive input end of the operational amplifier OP1 is respectively connected to one end of the resistor R2, one end of the resistor R3 and one end of the resistor R4, and the other end of the resistor R3 is grounded, and the other end of the resistor R4 is connected to the other end of the resistor R5 and then led out as the first input end of the reverse control module, which is used to be connected to the voltage reference source VREF; the other end of the resistor R2 is led out as the second input end of the reverse control module, which is used to be connected to the negative input end Vin- of the bidirectional converter; The control circuit of the bidirectional converter also includes a diode D1 and a capacitor C3. The anode of the diode D1 is led out as the first input terminal of the control circuit of the bidirectional converter, which is used to connect the opposite-name terminal of the secondary winding of the transformer of the flyback power module; the cathode of the diode D1 is connected to one end of the capacitor C3, and the cathode of the diode D1 is also led out as the input terminal EN, which is used to provide the working status signal of the power module to the bidirectional converter; the other end of the capacitor C3 is led out as a bidirectional conversion.
6. The control circuit of the bidirectional converter according to claim 5, characterized in that: When the bidirectional converter is working in the forward direction, the current control circuit does not work, and the voltage on the forward output side of the bidirectional converter is controlled by the feedback signal of the voltage control circuit; When the bidirectional converter works in reverse, the voltage control circuit does not work, and the current on the reverse output side of the bidirectional converter is controlled by the feedback signal of the current control circuit; when the voltage on the reverse output side reaches the normal voltage upper limit of the battery pack C1, the drive circuit no longer outputs the drive signal, and the bidirectional converter stops working.
7. A bidirectional converter, comprising a control circuit of the bidirectional converter according to any one of claims 1 to 6, further comprising a battery pack C1, an inductor L, a switch tube Q1, a switch tube Q2, a capacitor C2, and a current sampling resistor R1, wherein the positive electrode of the battery pack C1 is connected to one end of the inductor L, and the positive electrode of the battery pack C1 is also led out as the positive input end of the bidirectional converter, the other end of the inductor L is respectively connected to the drain of the switch tube Q1 and the source of the switch tube Q2, the drain of the switch tube Q2 is led out as the positive output end of the bidirectional converter, the negative electrode of the battery pack C1 is connected to one end of the resistor R1, and the negative electrode of the battery pack C1 is also led out as the negative input end of the bidirectional converter, the other end of the resistor R1 is connected to the source of the switch tube Q1, and the resistor R1 is also led out as the negative output end of the bidirectional converter, and the capacitor C2 is connected in parallel between the positive output end and the negative output end of the bidirectional converter, characterized in that: The positive input end of the bidirectional converter is connected to the direction mode control circuit of the control circuit of the bidirectional converter, the negative input end of the bidirectional converter is connected to the current control circuit of the control circuit of the bidirectional converter, the positive output end of the bidirectional converter is connected to the voltage control circuit of the control circuit of the bidirectional converter, and the negative output end of the bidirectional converter is grounded.
8. A power module, comprising the bidirectional converter according to claim 7, further comprising a transformer T and a diode D2, wherein the opposite-name end of the secondary winding of the transformer T is connected to the anode of the diode D2, the cathode of the diode D2 is led out as the positive output end of the power module, and the same-name end of the secondary winding of the transformer T is led out as the negative output end of the power module, characterized in that: The bidirectional converter collects the working status signal of the power module at both ends of the secondary winding of the transformer T and provides it to the bidirectional converter as an enable signal. When the power module is working normally, the working mode of the bidirectional converter is the reverse working direction, that is, the output energy of the power module is provided to the battery pack C1 for charging through the reverse transmission of the bidirectional converter, and the current on the reverse output side of the bidirectional converter is controlled by the feedback signal of the current control circuit; when the voltage on the reverse output side reaches the charging voltage of the battery pack C1, the drive circuit no longer outputs the drive signal, and the bidirectional converter stops working; When the power module is abnormally powered off, the working mode of the bidirectional converter is the forward working direction, that is, the energy stored in the battery pack C1 is output to power the load through the forward transmission of the bidirectional converter, and the voltage on the forward output side of the bidirectional converter is controlled by the feedback signal of the voltage control circuit.
