CN-120073942-B - Programmable lithium battery charging and discharging circuit
Abstract
The invention relates to a programmable lithium battery charging and discharging circuit which comprises a control module, a WIFI/manual charging and discharging control module, a charging and discharging mode detection module, a sampling module and a charging and discharging module, wherein the control module is used for controlling the working mode of the four-switch Buck-Boost charging and discharging module according to the current and the voltage under the charging and discharging working conditions of a lithium battery, the working mode comprises the step-up charging or discharging, the step-down charging and discharging of the lithium battery, the WIFI/manual charging and discharging control module is used for controlling the mode of the four-switch Buck-Boost charging and discharging module to be connected to a power supply or a load, the charging and discharging mode detection module is used for detecting the working mode of the charging and discharging module, the sampling module is used for sampling and outputting the current and the voltage under the charging and discharging working conditions of the lithium battery, and the charging and discharging module is used for carrying out bidirectional step-up and step-down charging and discharging on the lithium battery according to the control of the control module. The invention can meet the flexibility requirements of different charging schemes of the lithium battery and realize the light-weight requirement.
Inventors
- DONG GUANGZHONG
- CHEN JIAN
- CHEN JUNYU
- SUN LI
- LOU YUNJIANG
- WANG YIFEI
Assignees
- 哈尔滨工业大学(深圳)(哈尔滨工业大学深圳科技创新研究院)
Dates
- Publication Date
- 20260512
- Application Date
- 20250227
Claims (7)
- 1. The programmable lithium battery charging and discharging circuit is characterized by comprising a control module, a WIFI/manual charging and discharging control module, a charging and discharging mode detection module, a sampling module and a four-switch Buck-Boost charging and discharging module, wherein an output port of the control module is connected with the four-switch Buck-Boost charging and discharging module, and a detection port of the control module is connected with an output port of the charging and discharging mode detection module and the sampling module in series; The control module is used for controlling the working mode of the four-switch Buck-Boost charging and discharging module according to the current and the voltage under the charging and discharging working conditions of the lithium battery, wherein the working mode comprises the step-up charging or discharging, the step-down charging and discharging of the lithium battery; The WIFI/manual charge and discharge control module is used for controlling the mode that the four-switch Buck-Boost charge and discharge module is connected with a power supply or a load; The WIFI/manual charge-DISCHARGE control module comprises a WIFI control unit, a manual control unit and a switch U37, wherein an output port of the switch U37 is used as an output port of the WIFI/manual charge-DISCHARGE control module, an input port of the switch U37 is respectively connected with an output port of the manual control unit and an output port of the WIFI control unit in series, the WIFI control unit or the manual control unit is selectively connected through the manual toggle switch U37, the WIFI control unit comprises a U34 programmable WIFI device ESP8266 and a peripheral circuit, output ports IO12, IO13 and IO14 of the U34 are respectively connected with bases of a triode Q17, a triode Q16 and a triode Q18, so that control over a relay K4, a relay K5 and a relay K6 is realized, and the relay K4, the relay K5 and the relay K6 are jointly controlled to selectively connect a power source VIN or a load DISARGE; The charging and discharging mode detection module is used for detecting the working mode of the four-switch Buck-Boost charging and discharging module; The sampling module is used for sampling and outputting current and voltage under the charging and discharging working conditions of the lithium battery; and the four-switch Buck-Boost charge-discharge module is used for carrying out bidirectional Buck-Boost charge-discharge on the lithium battery according to the control of the control module.
- 2. The programmable lithium battery charge-discharge circuit of claim 1, wherein the detection port of the control module is connected IN series with the output port of the charge-discharge mode detection module and the sampling module comprises detection ports ADC1, ADC2 and ADC3 of the control module respectively connected IN series with the output port of the charge-discharge mode detection module and I_IN+ and V_ADC ports of the sampling module respectively for detecting the current and the voltage of the lithium battery and the output voltage of the charge-discharge mode detection module.
- 3. The programmable lithium battery charging and discharging circuit according to claim 1, wherein the manual control unit is used for manually controlling the four-switch Buck-Boost charging and discharging module to be connected to a power supply or a load; The WIFI control unit is used for controlling the four-switch Buck-Boost charging and discharging module to be connected with a power supply or a load through WIFI.
- 4. The programmable lithium battery charging and discharging circuit of claim 1, wherein the charging and discharging mode detection module detects the working mode of the four-switch Buck-Boost charging and discharging module, and the four-switch Buck-Boost charging and discharging module is judged to be in a suspended state, a charging mode or a discharging mode according to states of an input port and an output port.
- 5. The programmable lithium battery charge-discharge circuit of claim 1, wherein the sampling module comprises an operational amplifier U40.2, a resistor R37, a resistor R38, a resistor R39, and a capacitor C88, the inverting input of the operational amplifier U40.2 is connected IN series with the output port and serves as the output port v_adc of the sampling module, the non-inverting input of the operational amplifier U40.2 is connected IN series with the resistor R38, the resistor R39, and the capacitor C88, the other port of the resistor R38 serves as the first input port of the sampling module, the other port of the resistor R39 is connected IN series with the other port of the capacitor C88 and is grounded, and one port of the resistor R37 serves as the second input port of the sampling module and the other port i_in+ of the resistor R37 is grounded.
- 6. The programmable lithium battery charge-discharge circuit of claim 1, wherein the sampling module sampling output the current and the voltage of the lithium battery under the charge-discharge condition comprises reading a sampling resistor voltage by using a sampling resistor in series battery to obtain the current, and amplifying the sampling voltage by an operational amplifier to obtain the voltage.
- 7. The programmable lithium battery charging and discharging circuit according to claim 1, wherein the four-switch Buck-Boost charging and discharging module is composed of four MOS tubes and an inductor and is symmetrical based on the inductor.
Description
Programmable lithium battery charging and discharging circuit Technical Field The invention relates to the technical field of batteries, in particular to a programmable lithium battery charging and discharging circuit. Background Along with the continuous increase of global demands for clean energy and high-efficiency energy storage technologies, lithium batteries are widely applied to the fields of electric automobiles, portable electronic equipment, energy storage systems and the like by virtue of the advantages of high energy density, long cycle life, low self-discharge rate and the like. The charge and discharge process of a lithium battery is a core function, and is directly related to the performance, service life and safety of the battery. At present, the main current lithium battery charging and discharging circuit mainly comprises a linear charging mode and a switch charging mode, and the charging modes are constant-current and constant-voltage charging methods. The linear charging module comprises a transistor for transmitting electric energy, input and output capacitors, a resistor for adjusting the magnitude of charging current, and the like. The transistor is used for providing a charging loop and reducing the input voltage to the voltage at two ends of the battery, and the switch charging mode is generally a circuit similar to a synchronous BUCK (BUCK) converter formed by a PWM control chip, a MOSFET, an inductor, a capacitor, a Schottky diode and the like. The circuit may reduce the input voltage to the battery terminal voltage. The switch charging has the greatest advantage over the linear charging in that it can maintain a high conversion efficiency over a wide range of input voltages and battery voltages, and is therefore very suitable for high power applications. It is not difficult to find that both of the above-described lithium battery charging and discharging circuits control only the charging process, but not the discharging process of the lithium battery. In order to meet the demand of increasingly miniaturized integrated lithium battery charging and discharging circuits, the invention provides a programmable lithium battery charging and discharging circuit. Disclosure of Invention The invention aims to provide a programmable lithium battery charging and discharging circuit, which has a bidirectional charging and discharging function and high-efficiency voltage conversion capability, and can effectively prolong the service life of a battery and improve the energy utilization rate. In order to achieve the above object, the present invention provides the following solutions: The programmable lithium battery charging and discharging circuit comprises a control module, a WIFI/manual charging and discharging control module, a charging and discharging mode detection module, a sampling module and a four-switch Buck-Boost charging and discharging module, wherein an output port of the control module is connected with the four-switch Buck-Boost charging and discharging module, and a detection port of the control module is connected with an output port of the charging and discharging mode detection module and the sampling module in series; The control module is used for controlling the working mode of the four-switch Buck-Boost charging and discharging module according to the current and the voltage under the charging and discharging working conditions of the lithium battery, wherein the working mode comprises the step-up charging or discharging, the step-down charging and discharging of the lithium battery; The WIFI/manual charge and discharge control module is used for controlling the mode that the four-switch Buck-Boost charge and discharge module is connected with a power supply or a load; The charging and discharging mode detection module is used for detecting the working mode of the four-switch Buck-Boost charging and discharging module; The sampling module is used for sampling and outputting current and voltage under the charging and discharging working conditions of the lithium battery; and the four-switch Buck-Boost charge-discharge module is used for carrying out bidirectional Buck-Boost charge-discharge on the lithium battery according to the control of the control module. Optionally, the serial connection of the detection port of the control module with the output port of the charge-discharge mode detection module and the sampling module includes that the detection ports ADC1, ADC2 and ADC3 of the control module are respectively connected with the output port of the charge-discharge mode detection module and the I_IN+ and V_ADC ports of the sampling module IN series for detecting the current and the voltage of the lithium battery and the output voltage of the charge-discharge mode detection module. Optionally, the WIFI/manual charge-discharge control module comprises a WIFI control unit, a manual control unit and a switch U37, wherein an input port of the switch U37 is respectively