Disclosure of Invention
The embodiment of the invention provides a battery charging circuit and a battery management system, which are used for solving the problem of lower charging safety in the prior art.
In a first aspect, an embodiment of the present invention provides a battery charging circuit, applied to a battery management system, including a first interface terminal, a second interface terminal, a flyback sub-circuit, a control sub-circuit, and a battery, where the flyback sub-circuit includes a transformer, a first electronic switch, a first inductor, and a first diode,
The transformer comprises a primary winding and a secondary winding, the first inductor and the first electronic switch are arranged on a first passage where the primary winding is located in series, one end of the first passage is electrically connected with the negative electrode of the battery, and the other end of the first passage is electrically connected with the second interface end; a first diode is arranged on a second path where the secondary winding is arranged in series, one end of the second path is electrically connected with the first interface end, and the other end of the second path is electrically connected with the negative electrode of the battery;
the control sub-circuit is electrically connected with the first electronic switch;
The control sub-circuit is used for controlling the on-off of the first electronic switch according to the current of the first passage.
Optionally, the control sub-circuit comprises a Micro Control Unit (MCU) chip, and the MCU chip is electrically connected with the first electronic switch;
The MCU chip drives the first electronic switch to be conducted through a driving signal, and controls the on-off frequency of the first electronic switch through controlling the duty ratio of the driving signal.
Optionally, the control sub-circuit further comprises an integrated circuit IC chip, and the MCU chip is electrically connected with the first electronic switch through the IC chip;
The MCU chip instructs the IC chip to generate driving current through a driving signal so as to drive the first electronic switch to be turned on; the MCU chip controls the on-off frequency of the first electronic switch by controlling the duty ratio of the driving signal.
Optionally, the flyback sub-circuit further includes a shunt, where the shunt is disposed on the first path in series and electrically connected to the MCU chip, and is configured to collect current of the first path, convert a current signal of the first path into a voltage signal, and transmit the voltage signal to the MCU chip.
Optionally, the flyback sub-circuit further includes a second inductor, a third inductor, and a fourth inductor, where the second inductor and the third inductor are disposed in series in the first path, and the fourth inductor is disposed in series in the second path;
The second inductor, the third inductor and the fourth inductor are three-phase common-mode inductors;
The flyback sub-circuit further comprises a first capacitor, wherein the first capacitor is arranged between the cathode of the battery and the second interface end and is connected with the first channel in parallel.
Optionally, the flyback sub-circuit further includes a second diode and a second capacitor, the second diode is disposed in series on the second path and between the first diode and the first interface terminal, and the second capacitor is disposed between the first diode and the second diode and is connected in parallel with the second path.
Optionally, the flyback sub-circuit further includes a third capacitor, and the third capacitor is disposed between the first inductor and the primary winding and is connected in parallel with the first path.
Optionally, the number of the third capacitors is 3.
Optionally, the first electronic switch is a field effect MOS transistor.
In a second aspect, an embodiment of the present invention further provides a battery management system, including a second electronic switch, a third electronic switch, and a battery charging circuit as set forth in any one of the preceding claims, where a battery in the battery charging circuit is connected in series with the second electronic switch and the third electronic switch, and the second electronic switch is disposed on a low side of the battery management system, and the third electronic switch is disposed on a high side of the battery management system.
The embodiment of the invention realizes the current-limiting charging of the battery through the flyback sub-circuit and the control sub-circuit, and the voltage difference between the charging voltage and the battery is gradually reduced in the charging process because the flyback sub-circuit adopts the transformer for boosting, but the voltage relationship of the primary and secondary windings can be regulated according to the turns ratio of the primary and secondary windings of the transformer by the flyback sub-circuit, so that the boosting is realized, the flyback sub-circuit can work at a lower duty ratio, and the safety of the battery in charging is improved.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Unless defined otherwise, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The terms "first," "second," and the like, as used herein, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. Likewise, the terms "a" or "an" and the like do not denote a limitation of quantity, but rather denote the presence of at least one. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", etc. are used merely to indicate a relative positional relationship, which changes accordingly when the absolute position of the object to be described changes.
Referring to fig. 1 to 4, an embodiment of the present invention provides a battery charging circuit applied to a battery management system, including a first interface terminal 101, a second interface terminal 102, a flyback sub-circuit including a transformer 210, a first electronic switch 220, a first inductor 230 and a first diode 240, and a battery 400,
The transformer 210 includes a primary winding 211 and a secondary winding 212, the primary winding 211 is provided with the first inductor 230 and the first electronic switch 220 in series on a first path, one end of the first path is electrically connected with the negative electrode of the battery 400, and the other end is electrically connected with the second interface end 102; a first diode 240 is arranged in series on a second path where the secondary winding 212 is located, one end of the second path is electrically connected with the first interface end 101, and the other end is electrically connected with the negative electrode of the battery 400;
the control sub-circuit is electrically connected to the first electronic switch 220;
The control sub-circuit is configured to control on/off of the first electronic switch 220 according to the current of the first path.
In the embodiment of the present invention, the charger may be electrically connected to the first interface terminal 101 and the second interface terminal 102, respectively, to charge the battery 400. The constant current charging process is a charging process in which the average value of the charging current is constant, and the charging process is divided into two stages according to the on and off of the first electronic switch 220.
Referring to fig. 1, the path of the a-primary winding 211-b in fig. 1 is a first path, and the path of the c-secondary winding 212-d is a second path. When the first electronic switch 220 is turned on, the battery 400 is divided by the first path, and the charging current flows through the battery 400 and the first path to charge the battery 400. In the first path, since the charge voltage between the first interface terminal 101 and the second interface terminal 102 is maintained constant, the current of the first path linearly rises due to the input voltage, and the induced electromotive force of the primary winding 211 is applied to both ends of the first diode 240 of the secondary side by electromagnetic induction. It should be understood that, as shown in fig. 1, according to the same name of the primary and secondary side and the guiding arrangement of the first diode 240 in fig. 1, the first diode 240 may be ensured to be in a reverse off state, so as to avoid the conduction of the second path. Meanwhile, the first inductor 230 stores a part of the electric energy.
When the first electronic switch 220 is turned off, the current of the first path does not instantaneously change to 0 due to the induced current of the first inductor 230, but rapidly decreases after being turned off. At this time, the induced current generates an induced electromotive force opposite to that generated when the first electronic switch 220 is turned on in the primary winding 211, and is applied to the secondary side by electromagnetic induction, so that the first diode 240 is turned on in a forward direction, and the current flows through the second path and the battery 400, thereby charging the battery 400. In other words, when the first electronic switch 220 is turned off, the electric energy stored in the first inductor 230 is transferred to the battery 400 through the transformer 210.
Since the charging voltage is required to be greater than the terminal voltage across the battery 400 during the charging process, the number of turns of the primary winding 211 is smaller than the number of turns of the secondary winding 212, thereby boosting the voltage. In the constant current charging process, the control sub-circuit controls the on/off of the first electronic switch 220 to control the average value of the first current, so as to avoid the problem of overlarge current caused by overlarge voltage difference between the charging voltage and the battery 400.
It will be appreciated that the longer the on-time of the first electronic switch 220, the higher the instantaneous maximum value of the current in the first path, which results in a higher average value of the current in the first path, and vice versa, the lower the average value of the current in the first path. Therefore, the current of the first path, that is, the average value of the charging current, can be controlled by controlling the driving duty ratio of the flyback sub-circuit.
Specifically, the control sub-circuit may control the on/off of the first electronic switch 220 by sending a driving signal. When the first electronic switch 220 is turned on, since the current of the first electronic switch 220 changes linearly, the average value of the current can be obtained by the instantaneous maximum value of the current, the control sub-circuit can collect the instantaneous value of the current of the first electronic switch in a preset period and compare with a preset reference value, and when the instantaneous value of the current is smaller than the preset reference value, the control sub-circuit can increase the duty ratio of the driving signal, so that the on time of the first electronic switch 220 in the period is increased until the instantaneous value of the current of the first electronic switch is equal to the preset reference value, thereby limiting the average value of the charging current to be kept constant.
Since the voltage of the battery 400 gradually increases during the charging, the voltage difference between the charging voltage and the voltage of the battery 400 decreases, and thus the input voltage of the flyback sub-circuit gradually decreases. In other words, the voltage division of the first path is reduced, which results in a decrease in the current of the first path, and at this time, the control sub-circuit may use the method to increase the duty ratio of the driving signal, thereby increasing the average value of the charging current. Of course, in some embodiments, the control sub-circuit may also reduce the duty cycle of the driving signal, thereby reducing the average value of the charging current, which is not limited herein.
It should be noted that, in the flyback sub-circuit, there are a continuous conduction mode (Continous Conduction Mode, CCM) and an intermittent conduction mode (Discontinous Conduction Mode, DCM), in which the current of the first path does not drop to zero during the time that the first electronic switch 220 is turned off, and the energy of the primary inductor is not completely transferred to the secondary capacitor. In order to simplify the calculation, the flyback sub-circuit in the embodiment of the invention can work in the DCM mode, in which the current of the first path is approximately as shown in FIG. 2, and the average value of the current can be obtained according to the area of the triangle, so that the calculation is simpler.
In the embodiment of the invention, the current-limiting charging of the battery 400 is realized through the flyback sub-circuit and the control sub-circuit, and the voltage difference between the charging voltage and the battery 400 is gradually reduced in the charging process because the transformer 210 is adopted in the flyback sub-circuit, but the voltage relationship of the primary and secondary windings 212 can be regulated according to the turns ratio of the primary and secondary windings 212 of the transformer 210 to realize the voltage boosting, so that the flyback sub-circuit can work at a lower duty ratio, and the safety of the battery 400 in charging is improved.
In addition, since the voltage of the primary and secondary windings 212 is adjusted by adjusting the turns ratio of the primary and secondary windings 212 of the transformer 210 under the condition of larger charging voltage, for example, under the condition of charging the multi-string battery 400, the voltage of the primary and secondary windings 212 is boosted by the transformer 210, so that the flyback circuit can work at a lower duty ratio, and the safety of the battery 400 during charging is further improved.
Optionally, the control sub-circuit may include a micro control unit (Micro Controller Unit, MCU) chip, and the MCU chip 310 is electrically connected to the first electronic switch 220;
The MCU chip 310 drives the first electronic switch 220 to be turned on by a driving signal, and controls the on-off frequency of the first electronic switch 220 by controlling the duty ratio of the driving signal.
Further, the control sub-circuit may further include an integrated circuit (INTEGRATED CIRCUIT, IC) chip, and the MCU chip 310 is electrically connected to the first electronic switch 220 through the IC chip 320;
The MCU chip 310 instructs the IC chip 320 to generate a driving current by a driving signal to drive the first electronic switch 220 to be turned on; the MCU chip 310 controls the on-off frequency of the first electronic switch 220 by controlling the duty ratio of the driving signal.
In this embodiment of the present invention, the MCU chip 310 may be configured to send a driving signal according to the collected current value of the charging circuit, where the driving signal makes the first electronic switch 220 be turned on. Since the driving capability of the MCU chip 310 is weak, a sufficient driving current may not be generated to turn on the first electronic switch 220, and thus, referring to fig. 3, the MCU chip 310 may transmit a driving signal to the IC chip 320, and the IC chip 320 transmits the driving current according to the driving signal, and the driving current turns on the first electronic switch 220, thereby reducing a failure rate of the flyback sub-circuit.
Specifically, the types of the MCU chip 310 and the IC chip 320 may be set according to actual needs. In the embodiment of the present invention, the MCU chip 310 may implement the above functions in a model including, but not limited to, S KEAZ _128, and the IC chip 320 may implement the above functions in a model including, but not limited to, ucc_27517, which is not further limited herein.
Further, the flyback sub-circuit may further include a shunt 250, where the shunt 250 is disposed in series on the first path and electrically connected to the MCU chip 310, and is configured to collect a current of the first path, convert a current signal of the first path into a voltage signal, and transmit the voltage signal to the MCU chip 310.
In the embodiment of the present invention, the shunt 250 may be regarded as a resistor with a smaller resistance, and the MCU chip 310 may obtain the instantaneous current of the first path by collecting the voltages at two ends of the shunt 250.
Optionally, the flyback sub-circuit further includes a second inductor 261, a third inductor 262, a fourth inductor 263 and a first capacitor 270, wherein the second inductor 261 and the third inductor 262 are disposed in series in the first path, and the fourth inductor 263 is disposed in series in the second path;
The second inductor 261, the third inductor 262 and the fourth inductor 263 are three-phase common-mode inductors;
the first capacitor 270 is disposed between the negative electrode of the battery 400 and the second interface terminal 102, and is connected in parallel with the first path.
In an embodiment of the present invention, in order to suppress common mode noise in the flyback sub-circuit, referring to fig. 1, a three-phase common mode inductor may be disposed in the flyback sub-circuit, and the first capacitor 270 and the second inductor 261 form a noise suppression loop to suppress noise generated by the transformer 210, thereby reducing interference with a battery management system and external devices.
Optionally, the flyback sub-circuit may further include a second diode 281 and a second capacitor 282, where the second diode 281 is disposed in series on the second path and between the first diode 240 and the first interface terminal 101, and the second capacitor 282 is disposed between the first diode 240 and the second diode 281 and is connected in parallel with the second path.
In the embodiment of the present invention, the second capacitor 282 may be regarded as an output filter capacitor, and plays a role of voltage stabilizing and filtering, and the second diode 281 may avoid the battery charger from directly charging the second capacitor 282 through the first interface terminal 101 and the second interface terminal 102, so as to cause a filtering function failure of the second capacitor 282.
Optionally, to reduce the ripple current of the charging, the flyback sub-circuit may further include a third capacitor 290, and the third capacitor 290 is disposed between the first inductor 230 and the primary winding 211 and is connected in parallel with the first path.
Further, in order to increase the total capacitance of the third capacitor 290, thereby increasing the filtering efficiency, the number of the third capacitors 290 may be 3.
Alternatively, the first electronic switch 220 may be a Metal-Oxide-Semiconductor (MOS) transistor. Of course, in other alternative embodiments, the first electronic switch 220 may also be an electronic switching device such as an insulated gate bipolar transistor (Insulated Gate Bipolar Transistor, IGBT) or the like, and may be specifically set according to practical needs.
Referring to fig. 4, an embodiment of the present invention further provides a battery management system, which includes a second electronic switch 500, a third electronic switch 600, and the battery charging circuit according to any one of the embodiments above, where the battery 400 in the battery charging circuit is connected in series with the second electronic switch 500 and the third electronic switch 600, and the second electronic switch 500 is disposed on a low side of the battery management system, and the third electronic switch 600 is disposed on a high side of the battery management system.
In the embodiment of the present invention, the second electronic switch 500 and the third electronic switch 600 may be separately disposed, and the second electronic switch 500 may be located at a low side and may be controlled by a control sub-circuit in the battery charging circuit. And the third electronic switch 600 is located at the high side and can be controlled by an Analog Front End (AFE) in the battery management system, thereby facilitating the arrangement of the battery charging circuit.
During charging, the third electronic switch 600 is turned on, the second electronic switch 500 is turned off, and the charging current flows through the battery 400 and the first path to charge the battery 400. At the time of discharging, the third electronic switch 600 and the second electronic switch 500 are turned on, and the battery 400 is discharged through the first interface terminal 101 and the second interface terminal 102.
The foregoing is merely illustrative embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think about variations or substitutions within the technical scope of the present invention, and the invention should be covered. Therefore, the protection scope of the invention is subject to the protection scope of the claims.