Battery charging and discharging control method and battery charging and discharging control circuit
By adjusting the outputs of the Buck/Boost circuit and the CLLLC circuit in real time in the interleaved Boost integrated CLLLC resonant converter, the current surge problem is solved, the battery life is extended, and the charging and discharging efficiency is improved.
Patent Information
- Application Number
- CN202410290740.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-14
- Publication Date
- 2025-09-16
AI Technical Summary
The interleaved Boost integrated CLLLC resonant converter continues to charge and discharge after the battery voltage reaches the set value, resulting in current surge, shortening battery life and reducing efficiency.
Through the series connection of Buck/Boost circuit and CLLLC circuit, the battery voltage and current are detected in real time, and the output voltage and pulse are adjusted to avoid current shock. This includes starting the CLLLC circuit after controlling the output voltage in the Buck/Boost circuit to climb to the preset value, and entering the intermittent working mode when no load is applied.
It effectively avoids battery current shock, prolongs battery life and improves charging and discharging efficiency.
Smart Images

Figure CN120657882A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power conversion controllers, and in particular to a battery charge and discharge control method and a battery charge and discharge control circuit. Background Art
[0002] The interleaved boost integrated CLLLC resonant converter is an integration of the current mainstream CLLLC circuit and the Buck / Boost circuit, and has the following advantages:
[0003] It can achieve zero-voltage turn-on at a high switching frequency and has the characteristics of high power density and high efficiency. It consists of a front-stage interleaved Buck / Boost circuit and a back-stage CLLLC circuit. However, after the output voltage of the Buck / Boost circuit reaches the set value, it will not take further action until the charging or discharging process is completed. In this case, when the actual battery voltage has met the requirement but the output voltage of the circuit continues to rise, it will generate a current shock to the battery, shorten the battery life, and further reduce the circuit charging and discharging efficiency. Summary of the Invention
[0004] In view of this, the purpose of this application is to provide at least a battery charge and discharge control method and a battery charge and discharge control circuit, which adjusts the corresponding output of the battery charge and discharge control circuit by the battery voltage or the battery charge and discharge current, thereby avoiding current shock in the battery and improving the battery life.
[0005] This application mainly includes the following aspects:
[0006] In a first aspect, an embodiment of the present application provides a battery charge and discharge control method, which is applied to a battery charge and discharge control circuit, the battery charge and discharge control circuit including a Buck / Boost circuit and a CLLLC circuit connected in series, wherein the method includes: determining that the battery charge and discharge control circuit is in a charging state, switching the battery charge and discharge control circuit to a charging control mode, so that the charging device charges the battery through the Buck / Boost circuit and the CLLLC circuit in sequence; adjusting the first output voltage corresponding to the Buck / Boost circuit and the first output pulse corresponding to the CLLLC circuit according to the real-time detected battery charging current, battery voltage and the first loop control amount corresponding to the CLLLC circuit to complete charging of the battery; determining that the battery charge and discharge control circuit is in a discharging state, switching the battery charge and discharge control circuit to a discharge control mode, so that the battery discharges to a load through the CLLLC circuit and the Buck / Boost circuit in sequence; adjusting the second output pulse corresponding to the CLLLC circuit and the third output pulse corresponding to the Buck / Boost circuit according to the second loop control amount corresponding to the CLLLC circuit and the third loop control amount corresponding to the Buck / Boost circuit respectively, to complete discharging of the battery to the load.
[0007] In one possible embodiment, after the Buck / Boost circuit and the CLLLC circuit are switched to a charging control mode, the method further includes: starting the Buck / Boost circuit and controlling a first output voltage corresponding to the Buck / Boost circuit to climb to a first preset voltage value, where the first preset voltage value is determined based on the battery voltage; and during the process of the first output voltage climbing to the first preset voltage value: if it is detected that the first output voltage is greater than or equal to a second preset voltage value, starting the CLLLC circuit, where the second preset voltage value is a minimum voltage for maintaining normal operation of the CLLLC circuit, and the first preset voltage value is greater than the second preset voltage value.
[0008] In one possible implementation, the first output voltage corresponding to the Buck / Boost circuit is adjusted in the following manner: if it is determined that the battery charging current is greater than or equal to a preset charging current, or the battery voltage is greater than or equal to a preset battery voltage, the first output voltage is reduced by the Buck / Boost circuit; if it is determined that the battery charging current is less than the preset charging current, or the battery voltage is less than the preset battery voltage, the first output voltage is increased by the Buck / Boost circuit.
[0009] In one possible implementation, before adjusting the first output pulse corresponding to the CLLLC circuit, the method further includes: adjusting the operating frequency of the CLLLC circuit; collecting the second output voltage corresponding to the CLLLC circuit; and adjusting the phase shift angle corresponding to the CLLLC circuit based on the second output voltage.
[0010] In one possible embodiment, before adjusting the first output pulse corresponding to the CLLLC circuit, the method further includes: controlling the operating frequency of the CLLLC circuit to drop from the highest operating frequency to the resonant frequency; collecting a second output voltage corresponding to the CLLLC circuit when the CLLLC circuit is at the highest operating frequency; determining whether the battery voltage is greater than the minimum battery voltage; if the second output voltage is greater than the minimum battery voltage, increasing the phase shift angle corresponding to the CLLLC circuit; if the second output voltage is less than the minimum battery voltage, reducing the phase shift angle corresponding to the CLLLC circuit, and returning to execute the control of the operating frequency of the CLLLC circuit to drop from the highest operating frequency to the resonant frequency.
[0011] In one possible implementation, the first loop control quantity includes a first current control quantity and a first voltage control quantity, wherein the first output pulse corresponding to the CLLLC circuit is adjusted in the following manner: determining whether the first current control quantity is greater than or equal to the first voltage control quantity; if the first current control quantity is greater than or equal to the first voltage control quantity, determining the first pulse width modulation period corresponding to the CLLLC circuit based on the first voltage control quantity; and determining the first output pulse corresponding to the CLLLC circuit based on the determined first pulse width modulation period.
[0012] In one possible implementation, the first output pulse corresponding to the CLLLC circuit is adjusted in the following manner: determining whether the first current control amount is less than the first voltage control amount; if the first current control amount is less than the first voltage control amount, determining the first pulse width modulation period corresponding to the CLLLC circuit based on the first current control amount; and determining the first output pulse corresponding to the CLLLC circuit based on the determined first pulse width modulation period.
[0013] In one possible implementation, after switching the battery charge and discharge control circuit to the discharge control mode, the method further includes: synchronously starting the Buck / Boost circuit and the CLLLC circuit; determining whether the battery charge and discharge control circuit is in a no-load state; if the battery charge and discharge control circuit is in the no-load state, controlling the Buck / Boost circuit and the CLLLC circuit to enter an intermittent operation mode; and if the battery charge and discharge control circuit is not in the no-load state, determining a second loop control variable.
[0014] In one possible implementation, whether the battery charge and discharge control circuit is in a no-load state is determined by: collecting a third output voltage output by the Buck / Boost circuit to the load according to a preset collection period; if, within a preset time period, the third output voltage is within a preset output voltage range and the output current corresponding to the Buck / Boost circuit is less than a preset current threshold, then it is determined that the battery charge and discharge control circuit is in a no-load state.
[0015] In one possible implementation, the second loop control quantity includes a second current control quantity and a second voltage control quantity, wherein the second output pulse of the CLLLC circuit is adjusted in the following manner: determining whether the second current control quantity is greater than or equal to the second voltage control quantity; if the second current control quantity is greater than or equal to the second voltage control quantity, determining the second pulse width modulation period corresponding to the CLLLC circuit according to the second voltage control quantity; and determining the second output pulse corresponding to the CLLLC circuit based on the determined second pulse width modulation period.
[0016] In one possible implementation, the second output pulse of the CLLLC circuit is adjusted in the following manner: determining whether the second current control amount is less than the second voltage control amount; if the second current control amount is less than the second voltage control amount, determining the second pulse width modulation period corresponding to the CLLLC circuit based on the second current control amount; and determining the second output pulse corresponding to the CLLLC circuit based on the determined second pulse width modulation period.
[0017] In one possible implementation, the third loop control variable includes a third current control variable and a third voltage control variable, wherein the third output pulse of the Buck / Boost circuit is adjusted in the following manner: determining whether the third current control variable is greater than or equal to the third voltage control variable; if the third current control variable is greater than or equal to the third voltage control variable, determining a third pulse width modulation period corresponding to the Buck / Boost circuit based on the third voltage control variable; and determining a third output pulse corresponding to the Buck / Boost circuit based on the determined third pulse width modulation period.
[0018] In one possible implementation, the third output pulse of the Buck / Boost circuit is adjusted in the following manner: determining whether the third current control amount is less than the third voltage control amount; if the third current control amount is less than the third voltage control amount, determining a third pulse width modulation period corresponding to the Buck / Boost circuit based on the third current control amount; and determining a third output pulse corresponding to the Buck / Boost circuit based on the determined third pulse width modulation period.
[0019] In a second aspect, an embodiment of the present application further provides a battery charge and discharge control circuit, which applies the battery charge and discharge control method provided by any of the above embodiments. The battery charge and discharge control circuit includes a controller and a Buck / Boost circuit and a CLLLC circuit connected in series, and the controller is connected to the Buck / Boost circuit and the CLLLC circuit respectively.
[0020] An embodiment of the present application provides a battery charge and discharge control method and a battery charge and discharge control circuit, comprising: determining that the battery charge and discharge control circuit is in a charging state, and completing charging of the battery according to the battery charging current, the battery voltage, and the first loop control value; determining that the battery charge and discharge control circuit is in a discharging state, and switching the battery charge and discharge control circuit to a discharge control mode; and completing discharge of the battery to a load according to the second loop control value corresponding to the CLLLC circuit and the third loop control value corresponding to the Buck / Boost circuit. In the present application, the corresponding output of the battery charge and discharge control circuit is adjusted according to the battery voltage or the battery charge and discharge current to avoid current shock in the battery and improve the battery life.
[0021] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 A flow chart of a battery charge and discharge control method provided in an embodiment of the present application is shown;
[0024] Figure 2 One of the structural schematic diagrams of a battery charge and discharge control circuit provided in an embodiment of the present application is shown;
[0025] Figure 3 The second structural diagram of a battery charge and discharge control circuit provided in an embodiment of the present application is shown;
[0026] Figure 4 A battery charging control flow chart provided in an embodiment of the present application is shown;
[0027] Figure 5 A battery discharge control flow chart provided in an embodiment of the present application is shown;
[0028] Figure 6 A functional module diagram of a battery charge and discharge control device provided in an embodiment of the present application is shown;
[0029] Figure 7 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of illustration and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowcharts can be implemented out of sequence, and steps without logical context can be reversed or implemented simultaneously. In addition, those skilled in the art, under the guidance of the contents of this application, can add one or more other operations to the flowchart, or remove one or more operations from the flowchart.
[0031] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.
[0032] Advantages of the CLLLC circuit: When operating near the resonant frequency, the peak conversion efficiency reaches 98% due to the soft switching characteristics of the topology. Disadvantages: The voltage regulation range is narrow and cannot meet the wide voltage range requirements of most loads.
[0033] The advantages of the buck / boost circuit are: a wide output voltage range to meet the needs of various loads; the disadvantage is that the circuit operates in a hard-switching state, and the reverse recovery characteristics of the power devices increase the cost of the EMI circuit.
[0034] The interleaved boost integrated CLLLC resonant converter is an integration of the current mainstream CLLLC circuit and the Buck / Boost circuit, and has the following advantages:
[0035] It can achieve zero-voltage turn-on at a high switching frequency and has the characteristics of high power density and high efficiency. It consists of a front-stage interleaved Buck / Boost circuit and a back-stage CLLLC circuit. However, after the output voltage of the Buck / Boost circuit reaches the set value, it will not take further action until the charging or discharging process is completed. In this case, when the actual battery voltage has met the requirement but the output voltage of the circuit continues to rise, it will generate a current shock to the battery, shorten the battery life, and further reduce the circuit charging and discharging efficiency.
[0036] Based on this, the embodiments of the present application provide a battery charge and discharge control method and a battery charge and discharge control circuit, which adjust the corresponding output of the battery charge and discharge control circuit by the battery voltage or the battery charge and discharge current, thereby avoiding current shock in the battery and improving the battery life. The details are as follows:
[0037] See also Figure 1 , Figure 1 A flow chart of a battery charge and discharge control method provided by an embodiment of the present application is shown. Figure 2 , Figure 2 FIG1 shows one of the structural diagrams of a battery charge and discharge control circuit provided in an embodiment of the present application. Figure 2 As shown, the battery charge and discharge control circuit includes a controller (not shown) and a Buck / Boost circuit 1 and a CLLLC circuit 2 connected in series. The controller is connected to the Buck / Boost circuit 1 and the CLLLC circuit 2, respectively, wherein the Buck / Boost circuit 1 is arranged on the high-voltage side, the CLLLC circuit 2 is arranged on the side close to the battery 3, the input end of the Buck / Boost circuit 1 is connected to the charging device or load, the first capacitor C1 is connected in parallel between the Buck / Boost circuit 1 and the charging device or load, the output end of the Buck / Boost circuit 1 is connected to the input end of the CLLLC circuit 2, and the output end of the CLLLC circuit 2 is connected to the battery BAT, and the second capacitor C2 is connected in parallel between the Buck / Boost circuit 1 and the CLLLC circuit 2.
[0038] like Figure 1 As shown, the method provided in the embodiment of the present application is applied to a controller in a battery charge and discharge control circuit, comprising the following steps:
[0039] S100: Determine that the battery charge and discharge control circuit is in a charging state, and switch the battery charge and discharge control circuit to a charging control mode, so that the charging device charges the battery through the Buck / Boost circuit and the CLLLC circuit in sequence.
[0040] S200: According to the real-time monitored battery charging current, battery voltage, and loop control variable corresponding to the CLLLC circuit, adjust the first output voltage corresponding to the Buck / Boost circuit and the first output pulse corresponding to the CLLLC circuit to complete charging of the battery.
[0041] S300: Determine that the battery charge and discharge control circuit is in a discharge state, and switch the battery charge and discharge control circuit to a discharge control mode, so that the battery discharges to the load through the CLLLC circuit and the Buck / Boost circuit in sequence.
[0042] S400: Adjust the second output pulse corresponding to the CLLLC circuit and the third output pulse corresponding to the Buck / Boost circuit according to the second loop control amount corresponding to the CLLLC circuit and the third loop control amount corresponding to the Buck / Boost circuit, so as to complete the discharge of the battery to the load.
[0043] In this application, please see Figure 3 , Figure 3 FIG2 shows a second structural diagram of a battery charge and discharge control circuit provided by an embodiment of the present application. Figure 3 As shown, the Buck / Boost circuit 1 consists of four switching tubes Q1, Q2, Q3, and Q4 and an inductor L. The common drains of the switching tubes Q1 and Q2 are connected in series to form a first bridge arm, and the common drains of the switching tubes Q3 and Q4 are connected in series to form a second bridge arm. The first bridge arm and the second bridge arm are connected in parallel. One end of the inductor L is connected to the midpoint of the first bridge arm, which is drawn from the common drain of the switching tubes Q1 and Q2. The other end of the inductor L is connected to the midpoint of the second bridge arm, which is drawn from the common drain of the switching tubes Q3 and Q4.
[0044] The capacitor C1, the first bridge arm, the capacitor C2, the second bridge arm, and the CLLLC circuit 2 are connected in parallel and then connected to the battery BAT.
[0045] In step S100, a startup flag corresponding to the battery charge and discharge control circuit is first obtained, and it is determined whether the startup flag indicates that the battery charge and discharge control circuit is in the startup state. If the startup flag indicates that the battery charge and discharge control circuit is in the startup state, the charge and discharge state of the battery charge and discharge control circuit is determined. For example, if the startup flag Flag_OnOff == 1, it is determined that the battery charge and discharge control circuit is in the startup state; otherwise, it is determined that the battery charge and discharge control circuit is in the shutdown state.
[0046] After determining that the battery charge and discharge control circuit is in the charge and discharge state, it is judged whether the battery charge and discharge control circuit is in the charging state. If it is in the charging state, the battery charge and discharge control circuit is initialized to switch the battery charge and discharge control circuit to the charging control mode. The charging initialization process includes: setting the high-voltage side of the CLLLC circuit to the active pulse mode, the low-voltage side of the CLLLC circuit to the synchronous rectification mode, and the Buck / Boost circuit to the charging control mode. The charging control mode of the Buck / Boost circuit is: in the BUST mode, Q1 is in the PWM control mode, Q2 and Q1 have complementary outputs, Q4 is normally closed, and Q3 is normally open. In the Boost mode, the switch tube Q4 is in the PWM control mode, Q4 and Q3 have complementary outputs, Q1 is normally closed, and Q2 is normally open.
[0047] After switching the Buck / Boost circuit and the CLLLC circuit to the charge control mode, the method further includes:
[0048] The Buck / Boost circuit is started, and the first output voltage corresponding to the Buck / Boost circuit is controlled to climb to a first preset voltage value. During the process of the first output voltage climbing to the first preset voltage value, if it is detected that the first output voltage is greater than or equal to a second preset voltage value, the CLLLC circuit is started, wherein the second preset voltage value is the minimum voltage for maintaining normal operation of the CLLLC circuit, and the first preset voltage value is greater than the second preset voltage value.
[0049] After the Buck / Boost circuit operates in the charging control mode, the Buck / Boost circuit is first started to control the first output voltage VPRE1 corresponding to the Buck / Boost circuit to climb from 0V to the first preset voltage value VPRE1Setting. In this application, the switch tube on the high-voltage side of the CLLLC circuit is a high-voltage switch tube, and the feedback capacitor Crss and output capacitor Coss of the high-voltage switch tube have very different values at different voltages. Therefore, if the input voltage of the CLLLC circuit needs to meet its normal operating rated voltage, that is, the first output voltage VPRE1 needs to be greater than or equal to the second preset voltage value (for example, 200V), only under such conditions will the CLLLC circuit be in a normal working state. After the first output voltage VPRE1 ≥ the second preset voltage value, the pulse output of the CLLLC circuit will be started.
[0050] The above method, whether to increase the first output voltage VPRE1 from 0V to the first preset voltage value VPRE1Setting or to start the Buck / Boost circuit first and then the CLLLC circuit, can protect the circuit and extend its service life.
[0051] In the present application, the first preset voltage value is determined according to the battery voltage. When a load is connected to the high-voltage side of the Buck / Boost circuit and it is determined that the battery charge and discharge control circuit is in a charging state, the load connected to the high-voltage side of the Buck / Boost circuit sends a charging request to the controller through CAN communication. The charging request carries the maximum limit value of the first output voltage VPRE1 output by the Buck / Boost circuit. In the present application, the first preset voltage value is less than the maximum limit value of the first output voltage VPRE1.
[0052] In a specific embodiment, the first output voltage corresponding to the Buck / Boost circuit is adjusted by:
[0053] If it is determined that the battery charging current is greater than or equal to the preset charging current, or the battery voltage is greater than or equal to the preset battery voltage, the first output voltage is reduced through the Buck / Boost circuit; if it is determined that the battery charging current is less than the preset charging current, or the battery voltage is less than the preset battery voltage, the first output voltage is increased through the Buck / Boost circuit.
[0054] Specifically, after the CLLLC circuit starts and enters the charging control mode, the Buck / Boost circuit and the CLLLC circuit work together to charge the battery. At this time, the first output voltage VPRE1 output by the Buck / Boost circuit needs to be adjusted according to the battery charging current and charging voltage corresponding to the battery. Specifically, it is necessary to determine the battery charging current I Bat With the preset charging current I BatSetting The comparison result between the battery voltage V Bat With the preset battery voltage V BatSetting The comparison result between the preset battery voltage V BatSetting Refers to the rated voltage of the battery, to determine whether it meets (I Bat ≥I BatSetting )||(V Bat ≥V BatSetting ), if (I Bat ≥I BatSetting )||(V Bat ≥V BatSetting ), the first output voltage VPRE1 output by the Buck / Boost circuit is controlled to no longer increase, and the Buck / Boost circuit is controlled to slowly decrease the first output voltage VPRE1. If the first output voltage VPRE1 decreases and I Bat BatSetting or V Bat <V BatSetting , increase the output pulse corresponding to the Buck / Boost circuit to increase the first output voltage VPRE1 again, and repeat the above-mentioned adjustment and control process of the first output voltage until the battery reaches the condition of being fully charged.
[0055] Specifically, the process of increasing or decreasing the first output voltage VPRE1 includes:
[0056] Determine a fourth current control amount and a fourth voltage control amount corresponding to the Buck / Boost circuit, determine whether the fourth current control amount corresponding to the Buck / Boost circuit is greater than or equal to the fourth voltage control amount, if the fourth current control amount is greater than or equal to the fourth voltage control amount, determine a fourth pulse width modulation period corresponding to the Buck / Boost circuit based on the fourth voltage control amount, if the fourth current control amount is less than the fourth voltage control amount, determine a fourth pulse width modulation period corresponding to the Buck / Boost circuit based on the fourth current control amount, determine a fourth output pulse corresponding to the Buck / Boost circuit based on the determined fourth pulse width modulation period, and increase or decrease the first output voltage VPRE1 through the fourth output pulse.
[0057] In a preferred embodiment, before adjusting the first output pulse corresponding to the CLLLC circuit, the method further includes:
[0058] The operating frequency of the CLLLC circuit is adjusted, a second output voltage corresponding to the CLLLC circuit is collected, and a phase shift angle corresponding to the CLLLC circuit is adjusted according to the second output voltage.
[0059] Specifically, the present application increases the shift control of the CLLLC circuit by adjusting the operating frequency of the CLLLC circuit and detecting the second output voltage corresponding to the CLLLC circuit at each operating frequency. The purpose is to increase the battery charging current from 0 at the beginning of battery charging to realize the charging process of the battery, thereby avoiding circuit damage caused by a surge in battery charging current.
[0060] In a preferred embodiment, before adjusting the first output pulse corresponding to the CLLLC circuit, the method further includes:
[0061] Control the operating frequency of the CLLLC circuit to drop from the highest operating frequency to the resonant frequency, collect the second output voltage corresponding to the CLLLC circuit at the highest operating frequency, determine whether the battery voltage is greater than the minimum battery voltage, if the second output voltage is greater than the minimum battery voltage, increase the phase shift angle corresponding to the CLLLC circuit, if the second output voltage is less than the minimum battery voltage, reduce the phase shift angle corresponding to the CLLLC circuit, and return to execute the control of the operating frequency of the CLLLC circuit to drop from the highest operating frequency to the resonant frequency.
[0062] Specifically, after the CLLLC circuit is started, in order to maximize the high efficiency of the CLLLC circuit in the resonant state, the operating frequency of the CLLLC circuit is controlled to gradually decrease from the maximum value to the resonant frequency. In the process of the operating frequency of the CLLLC circuit gradually decreasing from the maximum value to the resonant frequency, the battery charging current gradually increases, and the second output voltage also gradually increases. When the operating frequency of the CLLLC circuit is at the highest value, the second output voltage V is collected and obtained. Bat_Fmax , and judge the second output voltage V Bat_Fmax Is it greater than the minimum battery voltage V BatMin , minimum battery voltage V BatMin The remaining voltage of the battery before charging, V Bat_Fmax >V BatMin When the phase shift angle corresponding to the CLLLC circuit is increased, that is, the dead time corresponding to the CLLLC circuit is increased. Bat_Fmax <V BatMin When the phase shift angle corresponding to the CLLLC circuit is reduced, that is, the dead time corresponding to the CLLLC circuit is reduced, and then the control of the operating frequency of the CLLLC circuit is returned to re-execute and decrease from the highest operating frequency to the resonant frequency, and the above V is repeated. Bat_Fmax The adjustment process until V Bat_Fmax =V BatMin The purpose of this process is to increase the battery charging current from 0 to realize the charging process of the battery at the beginning of battery charging, so as to avoid circuit damage caused by the surge of battery charging current.
[0063] In the present application, when the battery charge and discharge control circuit is in the charging state, phase shift control is added to the CLLLC circuit, that is, phase shift control is performed using a variable dead time. When the dead time is equal to half a cycle value of the CLLLC circuit, the corresponding output power of the CLLLC circuit is 0. When the dead time is the minimum value (for example, 200ns), the CLLLC circuit outputs maximum power.
[0064] The first loop control variable includes a first current control variable and a first voltage control variable. In a preferred embodiment, the first output pulse corresponding to the CLLLC circuit is adjusted in the following manner:
[0065] Determine whether the first current control amount is greater than or equal to the first voltage control amount. If the first current control amount is greater than or equal to the first voltage control amount, determine the first pulse width modulation period corresponding to the CLLLC circuit based on the first voltage control amount. If the first current control amount is less than the first voltage control amount, determine the first pulse width modulation period corresponding to the CLLLC circuit based on the first current control amount, and determine the first output pulse corresponding to the CLLLC circuit based on the determined first pulse width modulation period.
[0066] Specifically, the first current control variable I OUT1 It is the current control value corresponding to the current loop formed by the CLLLC circuit, and its value range is between 0 and 1. The first voltage control value V OUT1 It is the output voltage control value corresponding to the voltage loop formed by the CLLLC circuit, and its value range is between 0 and 1. OUT1 ≥V OUT1 When the first voltage control value V OUT1 Determine the first pulse width modulation cycle corresponding to the CLLLC circuit, OUT1 <V OUT1 When the first current control quantity I OUT1 Determine the first pulse width modulation period corresponding to the CLLLC circuit, that is, always according to the first current control amount I OUT1 and the first voltage control quantity V OUT1 The smaller one determines the first pulse width modulation period corresponding to the CLLLC circuit.
[0067] In step S300, after determining that the battery charge and discharge control circuit is in a discharge state, the battery charge and discharge control circuit is discharged and initialized to switch the battery charge and discharge control circuit to a discharge control mode. The discharge initialization process includes: setting the high-voltage side of the CLLLC circuit to an active pulse mode, the low-voltage side of the CLLLC circuit to a synchronous rectification mode, and the Buck / Boost circuit to a discharge control mode.
[0068] The discharge control mode of the Buck / Boost circuit is: in BUST mode, Q4 is in PWM control mode, Q3 and Q4 have complementary outputs, Q1 is normally closed, and Q2 is normally open. In Boost mode, the switch tube Q1 is in PWM control mode, Q1 and Q2 have complementary outputs, Q4 is normally closed, and Q3 is normally open.
[0069] In a preferred embodiment, after switching the battery charge and discharge control circuit to the discharge control mode, the method further includes:
[0070] The Buck / Boost circuit and the CLLLC circuit are started synchronously to determine whether the battery charge and discharge control circuit is in a no-load state. If the battery charge and discharge control circuit is in a no-load state, the Buck / Boost circuit and the CLLLC circuit are controlled to enter an intermittent working mode. If the battery charge and discharge control circuit is not in a no-load state, the second loop control amount is determined.
[0071] Specifically, the determination of the no-load state includes: collecting the third output voltage output by the Buck / Boost circuit to the load according to a preset collection period (for example, once every 0.1ms). If, within a preset time period (for example, within 5ms), the third output voltage is within a preset output voltage range and the output current corresponding to the Buck / Boost circuit is less than a preset current threshold, it can be determined that the battery charge and discharge control circuit is in a no-load state.
[0072] Specifically, the preset output voltage range=the preset third output voltage±the preset tolerance value, the preset third output voltage is determined by the load connected to the high-voltage side of the Buck / Boost circuit, and the preset current threshold may be 0.1A.
[0073] In another preferred embodiment, the Buck / Boost circuit and the CLLLC circuit are controlled to enter the intermittent operation mode in the following manner:
[0074] The CBC functions corresponding to the Buck / Boost circuit and the CLLLC circuit are respectively started, so that the Buck / Boost circuit and the CLLLC circuit directly enter the intermittent working mode.
[0075] In a preferred embodiment, the second output pulse of the CLLLC circuit is adjusted by the following method, including:
[0076] Determine whether the second current control amount is greater than or equal to the second voltage control amount. If the second current control amount is greater than or equal to the second voltage control amount, determine the second pulse width modulation period corresponding to the CLLLC circuit based on the second voltage control amount. If the second current control amount is less than the second voltage control amount, determine the second pulse width modulation period corresponding to the CLLLC circuit based on the second current control amount. Based on the determined second pulse width modulation period, determine the second output pulse corresponding to the CLLLC circuit.
[0077] Specifically, the second current control variable I OUT2 It is the current control value corresponding to the current loop formed by the CLLLC circuit in the discharge state, and its value range is between 0 and 1. The second voltage control value V OUT2 It is the output voltage control value corresponding to the voltage loop formed by the CLLLC circuit in the discharge state. The value range is between 0 and 1. OUT2 ≥V OUT2 When the second voltage control quantity V OUT2 Determine the second pulse width modulation cycle corresponding to the CLLLC circuit, OUT2 <V OUT2 When the second current control quantity I OUT2 A second pulse width modulation period corresponding to the CLLLC circuit is determined.
[0078] In another preferred embodiment, the third output pulse of the Buck / Boost circuit is adjusted in the following manner:
[0079] Determine whether the third current control amount is greater than or equal to the third voltage control amount. If the third current control amount is greater than or equal to the third voltage control amount, determine a third pulse width modulation period corresponding to the Buck / Boost circuit based on the third voltage control amount. If the third current control amount is less than the third voltage control amount, determine a third pulse width modulation period corresponding to the Buck / Boost circuit based on the third current control amount. Determine a third output pulse corresponding to the Buck / Boost circuit based on the determined third pulse width modulation period.
[0080] The third output pulse corresponding to the Buck / Boost circuit is controlled by comparing the third current control amount with the third voltage control amount, thereby achieving regulation control of the second output voltage output to the load.
[0081] See also Figure 4 , Figure 4 FIG1 shows a battery charging control flow chart provided by an embodiment of the present application. Figure 4 As shown, if the battery charge and discharge control circuit is in the charging state, the method includes:
[0082] S500: Initialize the battery charge and discharge control circuit to switch the battery charge and discharge control circuit to a charge control mode.
[0083] S501: Start the Buck / Boost circuit.
[0084] S502: Determine whether VPRE1 ≥ 220V.
[0085] If VPRE1<220V, execute step S502.
[0086] S503: If VPRE1≥220V, start the pulse output to the CLLLC circuit.
[0087] S504: Collect the battery charging current I corresponding to the battery Bat and the battery voltage V Bat .
[0088] S505, determine whether (I Bat ≥I BatSetting )||(V Bat ≥V BatSetting ).
[0089] S506, if (I Bat ≥I BatSetting )||(V Bat ≥VBatSetting ), the fourth output pulse corresponding to the Buck / Boost circuit is increased, thereby increasing the first output voltage VPRE1.
[0090] S507, if (I Bat ≥I BatSetting )||(V Bat ≥V BatSetting ), the fourth output pulse corresponding to the Buck / Boost circuit is reduced, and the first output voltage VPRE1 is reduced.
[0091] S508 : Collect the battery voltage vBat corresponding to when the CLLLC circuit is at the highest operating frequency Fmax.
[0092] S509, determine whether V is satisfied Bat >Minimum battery voltage V BatMin .
[0093] S510, if V is satisfied Bat >V BatMin , then increase the phase shift angle corresponding to the CLLLC circuit, and return to step S508.
[0094] S511, if V Bat <V BatMin , then reduce the phase shift angle corresponding to the CLLLC circuit and return to step S508.
[0095] S512, if V is satisfied Bat =V BatMin , then determine the first current control quantity I OUT1 and the first voltage control quantity V OUT1 .
[0096] S513, determine whether I is satisfied OUT1 ≥V OUT1 .
[0097] S514, if I is satisfied OUT1 ≥V OUT1 , then according to V OUT1 A first pulse width modulation period pwmPeriod1 is determined.
[0098] S515, if I OUT1 <V OUT1 , then according to I OUT1 A first pulse width modulation period pwmPeriod1 is determined.
[0099] S516 . Determine a first output pulse corresponding to the CLLLC circuit according to the first pulse width modulation period pwmPeriod1 .
[0100] See also Figure 5 , Figure 5 shows a battery discharge control flow chart provided by an embodiment of the present application. As Figure 5 shown, if the battery charge-discharge control circuit is in a discharge state, the method includes:
[0101] S517. Perform discharge initialization on the battery charge-discharge control circuit to switch the battery charge-discharge control circuit to a discharge control mode.
[0102] S518. Start the Buck / Boost circuit and the CLLLC circuit simultaneously.
[0103] S519. Determine whether the battery charge-discharge control circuit is in an idle state. <00D0330>
[0104] S520. If the battery charge-discharge control circuit is in an idle state, control the Buck / Boost circuit and the CLLLC circuit to enter the intermittent working mode burst respectively, and return to execute step S519.
[0105] S521. If the battery charge-discharge control circuit is not in an idle state, determine the second current control amount I OUT2 and the second voltage control amount V OUT2 .
[0106] S522. Determine whether it satisfies I OUT2 ≥ V OUT2 .
[0107] S523. If it satisfies I OUT2 ≥ V OUT2 , determine the second pulse width modulation period pwmPeriod2 according to V OUT2 .
[0108] S524. If I OUT2 <c_gv_out, determine the second pulse width modulation period pwmPeriod2 according to I OUT2 .
[0109] S525. Determine the second output pulse corresponding to the CLLLC circuit according to the second pulse width modulation period pwmPeriod2.
[0110] S526. Determine the third current control amount I OUT3 and the third voltage control amount V OUT3 .
[0111] S527. Determine whether it satisfies I OUT3 ≥ V OUT3 .
[0112] S528. If it satisfies I OUT3≥V OUT3 , then according to V OUT3 A third pulse width modulation period pwmPeriod3 is determined.
[0113] S529, if I OUT3 <V OUT3 , then according to I OUT3 The third pulse width modulation period pwmDuty is determined.
[0114] S530 : Determine a third output pulse corresponding to the Buck / Boost circuit according to the third pulse width modulation period pwmPeriod3 .
[0115] Based on the same application concept, the embodiments of the present application also provide a battery charge and discharge control device corresponding to the battery charge and discharge control method provided in the above embodiments. Since the principle of solving the problem by the device in the embodiments of the present application is similar to that of the battery charge and discharge control method in the above embodiments of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0116] See also Figure 6 , Figure 6 FIG1 shows a functional module diagram of a battery charge and discharge control device provided by an embodiment of the present application. Figure 6 As shown, it is applied to a battery charge and discharge control circuit, which includes a controller and a Buck / Boost circuit and a CLLLC circuit connected in series. The controller is connected to the Buck / Boost circuit and the CLLLC circuit respectively. The device includes:
[0117] The first state determination module 600 is used to determine that the battery charge and discharge control circuit is in the charging state, and switch the battery charge and discharge control circuit to the charging control mode, so that the charging device charges the battery through the Buck / Boost circuit and the CLLLC circuit in sequence.
[0118] a first regulating module 610, configured to regulate a first output voltage corresponding to the Buck / Boost circuit and a first output pulse corresponding to the CLLLC circuit according to the real-time detected battery charging current, battery voltage, and a first loop control variable corresponding to the CLLLC circuit, so as to complete charging of the battery;
[0119] A second state determination module 620 is configured to determine that the battery charge and discharge control circuit is in a discharge state, and switch the battery charge and discharge control circuit to a discharge control mode so that the battery discharges to the load through the CLLLC circuit and the Buck / Boost circuit in sequence;
[0120] The second regulation module 630 is used to adjust the second output pulse corresponding to the CLLLC circuit and the third output pulse corresponding to the Buck / Boost circuit according to the second loop control amount corresponding to the CLLLC circuit and the third loop control amount corresponding to the Buck / Boost circuit, so as to complete the discharge of the battery to the load.
[0121] Based on the same application idea, please refer to Figure 7 , Figure 7 FIG. 1 shows a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 7 As shown, the electronic device 700 includes: a processor 710, a memory 720 and a bus 730. The memory 720 stores machine-readable instructions executable by the processor 710. When the electronic device 700 is running, the processor 710 and the memory 720 communicate with each other through the bus 730. The machine-readable instructions are executed by the processor 710 when running, such as the steps of the battery charge and discharge control method provided in any of the above embodiments.
[0122] Based on the same application concept, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the battery charge and discharge control method provided in the above embodiment are executed.
[0123] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0124] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0125] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0126] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0127] The above are only specific embodiments of the present application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A battery charge and discharge control method, characterized in that: The method is applied to a battery charge and discharge control circuit, which includes a controller and a Buck / Boost circuit and a CLLLC circuit connected in series, wherein the controller is connected to the Buck / Boost circuit and the CLLLC circuit respectively. The method comprises: Determining that the battery charge and discharge control circuit is in a charging state, switching the battery charge and discharge control circuit to a charging control mode, so that the charging device charges the battery through the Buck / Boost circuit and the CLLLC circuit in sequence; Adjusting a first output voltage corresponding to the Buck / Boost circuit and a first output pulse corresponding to the CLLLC circuit according to the real-time detected battery charging current, battery voltage, and a first loop control variable corresponding to the CLLLC circuit to complete charging of the battery; Determining that the battery charge and discharge control circuit is in a discharge state, switching the battery charge and discharge control circuit to a discharge control mode, so that the battery discharges to the load through the CLLLC circuit and the Buck / Boost circuit in sequence; According to the second loop control amount corresponding to the CLLLC circuit and the third loop control amount corresponding to the Buck / Boost circuit, the second output pulse corresponding to the CLLLC circuit and the third output pulse corresponding to the Buck / Boost circuit are adjusted to complete the discharge of the battery to the load.
2. The method according to claim 1, characterized in that After switching the Buck / Boost circuit and the CLLLC circuit to the charging control mode, the method further includes: Starting the Buck / Boost circuit and controlling a first output voltage corresponding to the Buck / Boost circuit to climb to a first preset voltage value, where the first preset voltage value is determined according to the battery voltage; During the process of the first output voltage climbing to the first preset voltage value: If it is detected that the first output voltage is greater than or equal to a second preset voltage value, the CLLLC circuit is started, wherein the second preset voltage value is a rated voltage for maintaining normal operation of the CLLLC circuit, and the first preset voltage value is greater than the second preset voltage value.
3. The method according to claim 1, characterized in that The first output voltage corresponding to the Buck / Boost circuit is adjusted by: determining that the battery charging current is greater than or equal to a preset charging current, or the battery voltage is greater than or equal to a preset battery voltage, and then reducing the first output voltage by the Buck / Boost circuit; If it is determined that the battery charging current is less than a preset charging current, or the battery voltage is less than a preset battery voltage, the first output voltage is increased by the Buck / Boost circuit.
4. The method according to claim 1, wherein Before adjusting the first output pulse corresponding to the CLLLC circuit, the method further includes: Adjusting the operating frequency of the CLLLC circuit; collecting a second output voltage corresponding to the CLLLC circuit; According to the second output voltage, a phase shift angle corresponding to the CLLLC circuit is adjusted.
5. The method according to claim 4, characterized in that Before adjusting the first output pulse corresponding to the CLLLC circuit, the method further includes: Controlling the operating frequency of the CLLLC circuit to drop from a maximum operating frequency to a resonant frequency; collecting a second output voltage corresponding to when the CLLLC circuit is at a highest operating frequency; determining whether the second output voltage is greater than a minimum battery voltage; If the second output voltage is greater than the minimum battery voltage, increasing the phase shift angle corresponding to the CLLLC circuit; If the second output voltage is less than the minimum battery voltage, the phase shift angle corresponding to the CLLLC circuit is reduced, and the operation of controlling the operating frequency of the CLLLC circuit to decrease from the highest operating frequency to the resonant frequency is returned to execution.
6. The method according to claim 1, characterized in that The first loop control variable includes a first current control variable and a first voltage control variable, The first output pulse corresponding to the CLLLC circuit is adjusted in the following manner: determining whether the first current control amount is greater than or equal to a first voltage control amount; If the first current control amount is greater than or equal to the first voltage control amount, determining a first pulse width modulation period corresponding to the CLLLC circuit according to the first voltage control amount; A first output pulse corresponding to the CLLLC circuit is determined based on the determined first pulse width modulation period.
7. The method according to claim 6, characterized in that The method further comprises: determining whether the first current control amount is less than the first voltage control amount; If the first current control amount is less than the first voltage control amount, determining a first pulse width modulation period corresponding to the CLLLC circuit according to the first current control amount; A first output pulse corresponding to the CLLLC circuit is determined based on the determined first pulse width modulation period.
8. The method according to claim 1, characterized in that After switching the battery charge and discharge control circuit to the discharge control mode, the method further includes: Synchronously start the Buck / Boost circuit and CLLLC circuit; Determining whether the battery charge and discharge control circuit is in a no-load state; If the battery charge and discharge control circuit is in a no-load state, the Buck / Boost circuit and the CLLLC circuit are controlled to enter an intermittent working mode; If the battery charge and discharge control circuit is not in a no-load state, the second loop control variable is determined.
9. The method according to claim 8, characterized in that Determine whether the battery charge and discharge control circuit is in a no-load state by the following methods: collecting a third output voltage outputted by the Buck / Boost circuit to the load according to a preset collection period; If, within a preset time period, the third output voltage is within a preset output voltage range and the output current corresponding to the Buck / Boost circuit is less than a preset current threshold, it is determined that the battery charge and discharge control circuit is in a no-load state.
10. The method according to claim 1, characterized in that The second loop control variable includes a second current control variable and a second voltage control variable, The second output pulse of the CLLLC circuit is adjusted in the following manner: determining whether the second current control amount is greater than or equal to the second voltage control amount; If the second current control amount is greater than or equal to the second voltage control amount, determining a second pulse width modulation period corresponding to the CLLLC circuit according to the second voltage control amount; Based on the determined second pulse width modulation period, a second output pulse corresponding to the CLLLC circuit is determined.
11. The method according to claim 10, characterized in that The second output pulse of the CLLLC circuit is adjusted by: determining whether the second current control amount is less than the second voltage control amount; If the second current control amount is less than the second voltage control amount, determining a second pulse width modulation period corresponding to the CLLLC circuit according to the second current control amount; Based on the determined second pulse width modulation period, a second output pulse corresponding to the CLLLC circuit is determined.
12. The method according to claim 1, characterized in that The third loop control variable includes a third current control variable and a third voltage control variable, The third output pulse of the Buck / Boost circuit is adjusted in the following manner: determining whether the third current control amount is greater than or equal to a third voltage control amount; If the third current control amount is greater than or equal to the third voltage control amount, determining a third pulse width modulation period corresponding to the Buck / Boost circuit according to the third voltage control amount; Based on the determined third pulse width modulation period, a third output pulse corresponding to the Buck / Boost circuit is determined.
13. The method according to claim 12, characterized in that The third output pulse of the Buck / Boost circuit is adjusted in the following way: determining whether the third current control amount is less than a third voltage control amount; If the third current control amount is less than the third voltage control amount, determining a third pulse width modulation period corresponding to the Buck / Boost circuit according to the third current control amount; Based on the determined third pulse width modulation period, a third output pulse corresponding to the Buck / Boost circuit is determined.
14. A battery charge and discharge control circuit, characterized in that: The battery charge and discharge control circuit applies the battery charge and discharge control method according to any one of claims 1 to 13. The battery charge and discharge control circuit includes a controller and a Buck / Boost circuit and a CLLLC circuit connected in series. The controller is connected to the Buck / Boost circuit and the CLLLC circuit respectively.