Battery discharge control method and device and battery system
The charging and discharging switch of lithium batteries is controlled through PWM pulse width modulation technology, and the predischarge current and load voltage are detected in real time, solving the risks of connector ignition and short circuit during power supply of lithium batteries, achieving low-cost and intelligent predischarge effects.
Patent Information
- Application Number
- CN202510592990.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-09
- Publication Date
- 2025-08-15
AI Technical Summary
When lithium batteries supply power to large capacitive loads, they can easily lead to risks such as connector ignition, short-circuit protection triggering, and overheating and ignition on the load side. The existing predischarge circuit increases material cost and circuit board area.
PWM pulse width modulation technology is used to control the charging and discharge power switch, detect the predischarge current in real time and adjust the duty cycle, and control the switch status with the load voltage to achieve intelligent predischarge.
Reduces material costs and circuit board area, supports user configuration parameters, enhances product adaptability, and achieves low-cost and intelligent pre-discharge.
Smart Images

Figure CN120498068A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of charging protection technology, and in particular, to a battery discharge control method, device, and battery system. Background Art
[0002] In lithium battery applications, when a lithium battery pack supplies power to a large capacitive load, the following problems may occur depending on the load side:
[0003] When the load is not faulty, the large capacitor needs to be charged during the initial discharge phase, which is equivalent to a short circuit in the circuit. This can easily cause the connector connecting the battery pack to the load to spark, severely shortening the service life of the connector. It can also easily trigger the short-circuit protection of the battery pack, and the internal circuit of the battery pack (especially the MOS tube and fuse) is at risk of burning out.
[0004] When a load fault occurs (for example, a short circuit occurs in the internal circuit of the load), the internal circuit of the battery pack is subjected to the short-circuit current impact, and serious ignition is likely to occur on the load side (there is a risk of overheating and fire).
[0005] In order to solve the above problems, a pre-discharging technology has emerged in the field of lithium battery management and application. A pre-discharging circuit is added to the existing main discharge circuit. Figure 1 As shown in Figure 2, before the main discharge circuit (Chg-MOS + Dsg-MOS high-current discharge circuit) is activated, the pre-discharge circuit is used to charge the load's capacitive components with a low current. This eliminates the risks associated with suddenly activating the main circuit and charging the load's capacitive components with a high current.
[0006] This section is intended to provide a background or context to the embodiments of the present application that are recited in the claims. No admission is made that the description herein is prior art by virtue of its inclusion in this section. Summary of the Invention
[0007] The purpose of this application is to provide a battery discharge control method, device and battery system, which can at least solve one of the above-mentioned technical problems existing in current electrical response components.
[0008] An embodiment of the present application provides a battery discharge control method, comprising: controlling a charging power switch to turn on in response to a discharge indication signal, and controlling the discharging power switch to turn on intermittently using a pulse width modulation signal to pre-charge a load; detecting the pre-discharge current of the battery in real time, and adjusting the duty cycle of the pulse width modulation signal according to the pre-discharge current so that the pre-discharge current of the battery remains within a target range; detecting the voltage of the load when the pre-charge duration of the load reaches the target duration; and controlling the operating states of the charging power switch and the discharging power switch according to the voltage of the load so that the battery can normally supply power to the load or stop supplying power to the load.
[0009] In some embodiments, the real-time detection of the pre-discharge current of the battery includes: real-time acquisition of the voltage across a sampling resistor, wherein the negative terminal of the load is grounded through the sampling resistor; and determining the real-time pre-discharge current of the battery based on the real-time acquired voltage and the resistance value of the sampling resistor.
[0010] In some embodiments, the duty cycle of the pulse width modulation signal is adjusted according to the pre-discharge current so that the pre-discharge current of the battery remains within a target range, including: if the current pre-discharge current is not within the target range, adjusting the duty cycle of the pulse width modulation signal, and using the adjusted pulse width modulation signal to control the intermittent opening of the discharge power switch to continue pre-charging the load.
[0011] In some embodiments, the method further includes: if the current pre-discharge current is within the target range, continuing to use the pulse width modulation signal to control the discharge power switch to be intermittently turned on, so as to continue pre-charging the load.
[0012] In some embodiments, adjusting the duty cycle of the pulse width modulation signal includes: adjusting the duty cycle of the pulse width modulation signal in a stepwise manner and / or in a deductive manner.
[0013] In some embodiments, the duty cycle of the pulse width modulation signal is adjusted in a step-by-step manner, including: if the current pre-discharge current is greater than the upper limit of the target range, the duty cycle of the pulse width modulation signal is reduced by a first set value to obtain an adjusted pulse width modulation signal; if the current pre-discharge current is less than the lower limit of the target range, the duty cycle of the pulse width modulation signal is increased by a second set value to obtain an adjusted pulse width modulation signal.
[0014] In some embodiments, the duty cycle of the pulse width modulation signal is adjusted in a deductive manner, including: calculating the duty cycle of the pulse width modulation signal corresponding to the target current based on the relationship between the current pre-discharge current and the duty cycle of the pulse width modulation signal; and generating an adjusted pulse width modulation signal based on the duty cycle.
[0015] In some embodiments, controlling the operating states of the charging power switch and the discharging power switch according to the voltage of the load so that the battery can supply power to the load normally or stop supplying power to the load includes: if the voltage of the load is greater than a third set value, controlling the charging power switch and the discharging power switch to be turned on so that the battery can supply power to the load normally.
[0016] In some embodiments, controlling the operating states of the charging power switch and the discharging power switch according to the voltage of the load so that the battery supplies power to the load normally or stops supplying power to the load includes: if the voltage of the load is less than a third set value, controlling the charging power switch and the discharging power switch to be turned off so that the battery stops supplying power to the load.
[0017] In some embodiments, if the voltage of the load is less than a third set value, the method further includes: sending fault information to a target device.
[0018] An embodiment of the present application also provides a control device, comprising: a power switch driving module, connected to a charging power switch and a discharging power switch, for controlling the charging power switch to turn on in response to a discharge indication signal, and controlling the discharging power switch to be intermittently turned on using a pulse width modulation signal to pre-charge a load; a first detection module, connected to a discharge circuit of a battery, for detecting the pre-discharge current of the battery in real time; an adjustment module, connected to the first detection module and the power switch driving module, respectively, for adjusting the duty cycle of the pulse width modulation signal according to the pre-discharge current so that the pre-discharge current of the battery remains within a target range; a second detection module, connected to the positive terminal of the load, for detecting the voltage of the load when the pre-charging time of the load reaches a target time; the power switch driving module is also connected to the second detection module, for controlling the working states of the charging power switch and the discharging power switch according to the voltage of the load, so that the battery can normally supply power to the load or stop supplying power to the load.
[0019] In some embodiments, the first detection module detects the pre-discharge current of the battery in real time, including: acquiring the voltage across a sampling resistor in real time, wherein the negative terminal of the load is grounded through the sampling resistor; and determining the real-time pre-discharge current of the battery based on the voltage acquired in real time and the resistance value of the sampling resistor.
[0020] In some embodiments, the adjustment module adjusts the duty cycle of the pulse width modulation signal according to the pre-discharge current so that the pre-discharge current of the battery remains within a target range, including: if the current pre-discharge current is not within the target range, adjusting the duty cycle of the pulse width modulation signal, and using the adjusted pulse width modulation signal to control the intermittent opening of the discharge power switch to continue pre-charging the load.
[0021] In some embodiments, the adjustment module is further configured to: if the current pre-discharge current is within the target range, continue to use the pulse width modulation signal to control the discharging power switch to be intermittently turned on, so as to continue to pre-charge the load.
[0022] In some embodiments, the adjustment module adjusts the duty cycle of the pulse width modulation signal, including: step-by-step adjustment and / or deductive adjustment of the duty cycle of the pulse width modulation signal.
[0023] In some embodiments, the adjustment module stepwise adjusts the duty cycle of the pulse width modulation signal, including: if the current pre-discharge current is greater than the upper limit of the target range, reducing the duty cycle of the pulse width modulation signal by a first set value to obtain an adjusted pulse width modulation signal; if the current pre-discharge current is less than the lower limit of the target range, increasing the duty cycle of the pulse width modulation signal by a second set value to obtain an adjusted pulse width modulation signal.
[0024] In some embodiments, the adjustment module inferentially adjusts the duty cycle of the pulse width modulation signal, including: calculating the duty cycle of the pulse width modulation signal corresponding to the target current based on the relationship between the current pre-discharge current and the duty cycle of the pulse width modulation signal; and generating an adjusted pulse width modulation signal based on the duty cycle.
[0025] In some embodiments, the power switch driving module controls the working states of the charging power switch and the discharging power switch according to the voltage of the load so that the battery can supply power to the load normally or stop supplying power to the load, including: if the voltage of the load is greater than a third set value, controlling the charging power switch and the discharging power switch to turn on so that the battery can supply power to the load normally.
[0026] In some embodiments, the power switch driving module controls the working states of the charging power switch and the discharging power switch according to the voltage of the load so that the battery can normally supply power to the load or stop supplying power to the load, including: if the voltage of the load is less than a third set value, controlling the charging power switch and the discharging power switch to be turned off so that the battery stops supplying power to the load.
[0027] In some embodiments, the control device further includes: a sending module connected to the second detection module, configured to send fault information to a target device when the voltage of the load is less than a third set value.
[0028] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the method described in any of the above embodiments are implemented.
[0029] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in any of the above embodiments are implemented.
[0030] An embodiment of the present application also provides a battery system, comprising a battery, a charging power switch, a discharging power switch, and the control device described in any of the above embodiments; wherein the battery is connected to a load; and the charging power switch and the discharging power switch are connected in series between the battery and the load.
[0031] The battery discharge control method, device and battery system provided in the embodiments of the present application, by introducing PWM pulse width modulation pre-discharge control technology, can not only solve the problems of directly charging a large capacitive load when the original battery pack is turned on, causing ignition or triggering a short circuit, but also avoid the problems of increased material costs and increased circuit board area in the existing technical solutions. In addition, it also supports users to modify configuration parameters to achieve different pre-discharge current outputs, enhance product adaptability, and achieve the effects of "low cost" and "intelligent pre-discharge". BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0033] Figure 1 It is a structural diagram of an existing battery system.
[0034] Figure 2This is a detailed working process diagram of an existing battery system.
[0035] Figure 3 This is a flow chart of an existing battery control method.
[0036] Figure 4 It is a structural diagram of a battery system provided in an embodiment of the present application.
[0037] Figure 5 It is a flow chart of a battery discharge control method provided in an embodiment of the present application.
[0038] Figure 6 It is a structural schematic diagram of a control device provided in an embodiment of the present application.
[0039] Figure 7 This is a structural diagram of a battery system provided in an embodiment of the present application.
[0040] Figure 8 This is a schematic diagram of the working process of a battery system provided in an embodiment of the present application.
[0041] Figure 9 It is a flow chart of a battery discharge control method provided in an embodiment of the present application.
[0042] Figure 10 This is a flow chart of controlling the main discharge MOS tube in a PWM manner provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0044] With reference to the following description and accompanying drawings, specific embodiments of the present application are disclosed in detail, indicating the manner in which the principles of the present application can be employed. It should be understood that the embodiments of the present application are not limited in scope. Within the spirit and scope of the appended claims, the embodiments of the present application include many variations, modifications and equivalents.
[0045] Features described and / or illustrated with respect to one embodiment may be used in the same or similar manner in one or more other embodiments, combined with features in other embodiments, or substituted for features in other embodiments.
[0046] It should be emphasized that the term "include / comprising" when used herein refers to the presence of features, integers, steps or components, but does not exclude the presence or addition of one or more other features, integers, steps or components.
[0047] In this application, discharging refers to the discharge of a battery, specifically including pre-discharge of the battery, normal discharge of the battery after pre-discharge, or stop of discharge; charging refers to the charging of a load.
[0048] In order to better understand this application, the research background of this application is first described in detail below.
[0049] Figure 1 It is a structural diagram of an existing battery system.
[0050] Figure 2 This is a detailed working process diagram of an existing battery system.
[0051] See also Figure 1 and Figure 2 , the startup process of the battery system with a pre-discharge circuit is as follows:
[0052] Step 1: The user issues a power-on command (presses the power button or turns on the switch), and the battery pack control IC receives a discharge start signal from the main control board.
[0053] Step 2: The battery pack control IC (Integrated Circuit) turns off the Dsg-MOS (discharge MOS tube), opens the Chg-MOS (charge MOS tube) and the Pre-discharging (pre-discharging) circuit, and enables the battery pack to charge the load with a small current ( Figure 1 The thinner arrows indicate the direction of current flow).
[0054] Step 3: After a period of small current pre-discharge, the capacitive components in the load circuit are charged and the voltage rises;
[0055] Step 4: The battery pack control IC starts the AD module (analog-to-digital conversion module) to detect the voltage at the P+ point (the P+ terminal voltage is the positive voltage of the battery pack and also the positive voltage of the load), and determines whether the load is normal (normal or short-circuited) based on the AD value.
[0056] Step 5. Determine the next action based on the result of step 4: If there is no problem on the load side, the battery pack completes the pre-charging of the load, the control IC closes the Pre-discharging circuit, and opens the Chg-MOS and Dsg-MOS main circuits for discharge ( Figure 1The thicker arrow in the figure indicates the current flow direction), and the startup is completed, and the load can work normally. If an abnormality such as a short circuit is detected on the load side, the control IC closes the Pre-discharging circuit and Dsg-MOS, stops powering the load, and reports the fault to the main control board to inform the user of the abnormality.
[0057] Figure 3 This is a flow chart of an existing battery control method. Figure 3 As shown in FIG, the current control method uses an open-loop control pre-discharge circuit to determine whether to open the main discharge circuit based on the load voltage detection result. Figure 3 In the program, the delay setting time refers to the pre-discharge duration, which is generally set as a fixed parameter in the program.
[0058] Although the above method can solve the problems of ignition when starting or false triggering of short circuit detection, it still has the following disadvantages:
[0059] The added pre-discharge circuit increases the material cost of the battery pack control board.
[0060] The added pre-discharge circuit increases the circuit board area and is not suitable for projects with limited area.
[0061] The pre-discharge circuit cannot adapt to different pre-discharge currents. That is, the pre-discharge circuit controls the current size by hardware and cannot automatically set the current size according to the load requirements, so its adaptability is limited.
[0062] In pre-discharge circuits, current-limiting resistors are often used for low-cost solutions. When pre-discharging a fully charged battery pack, the high current causes the current-limiting resistor to heat up significantly. When pre-discharging a low-charge battery pack, the low current results in a longer pre-discharge time.
[0063] In order to solve the above technical problems, the present application proposes a battery discharge control method, which can be applied to a battery system that eliminates the pre-discharge circuit. By introducing PWM pulse width modulation pre-discharge control technology, it can not only solve the problems of directly charging a large capacitive load when the original battery pack is turned on, causing ignition or triggering a short circuit, but also avoid the problems of increased material costs, increased circuit board area and inability to adjust the pre-discharge current in the existing technical solutions, thereby achieving the effects of "low cost" and "intelligent pre-discharge".
[0064] Figure 4 This is a schematic diagram of the structure of a battery system provided in an embodiment of the present application. Figure 4 Taking the battery system shown as an example, the battery discharge control method provided in this application is described in detail.
[0065] Figure 5This is a flow chart of a battery discharge control method provided by an embodiment of the present application. This method can be applied to Figure 4 Control devices in Figure 5 As shown, an embodiment of the present application provides a battery discharge control method, including:
[0066] S1. In response to a discharge indication signal, the charging power switch is controlled to be turned on, and the discharge power switch is controlled to be turned on intermittently using a pulse width modulation signal to pre-charge the load;
[0067] In step S1, the discharge indication signal may be a power-on instruction issued by the main control board triggered by the user pressing the power button or turning on the switch. After receiving the discharge indication signal, the control device controls the Chg-MOS (charging power switch) to turn on, and uses the PWM signal to intermittently turn on the Dsg-MOS (discharging power switch) to achieve pre-discharge of the load.
[0068] S2. detecting a pre-discharge current of the battery in real time, and adjusting a duty cycle of the pulse width modulation signal according to the pre-discharge current so that the pre-discharge current of the battery remains within a target range;
[0069] In step S2, the battery may be a single battery cell / battery module, or may be composed of battery cells and / or battery modules connected in series and / or parallel. The specific form of the battery is not limited in this embodiment. The control device detects the pre-discharge current of the battery in real time and automatically modulates the pulse width, i.e., the duty cycle, of the PWM signal based on the pre-discharge current, so that the battery pre-discharges at a low current.
[0070] S3. When the pre-charging time of the load reaches the target time, detecting the voltage of the load;
[0071] In step S3, after the battery is pre-discharged with a small current for a period of time, the capacitive element in the load circuit is charged. Under normal circumstances, the voltage of the load will rise. At this time, the voltage of the load is detected, and whether the load is normal can be judged based on the detected voltage value.
[0072] S4. Control the operating states of the charging power switch and the discharging power switch according to the voltage of the load, so that the battery can normally supply power to the load or stop supplying power to the load.
[0073] In step S4, whether the load is normal is determined based on the voltage of the load (the voltage will be pulled down when short-circuited). When the load is normal, the working states of the charging power switch and the discharging power switch are controlled so that the battery can supply power to the load normally. When the load is abnormal, the working states of the charging power switch and the discharging power switch are controlled so that the battery stops supplying power to the load.
[0074] The battery discharge control method provided in an embodiment of the present application controls the charging power switch to turn on in response to a discharge indication signal, and uses a pulse width modulation signal to control the discharging power switch to turn on intermittently to pre-charge the load; detects the battery's pre-discharge current in real time, and adjusts the duty cycle of the pulse width modulation signal according to the pre-discharge current so that the battery's pre-discharge current remains within a target range; detects the load's voltage when the pre-charge duration of the load reaches the target duration; and controls the operating states of the charging power switch and the discharging power switch according to the load voltage so that the battery can normally supply power to the load or stop supplying power to the load. In this way, by introducing PWM pulse width modulation pre-discharge control technology, the existing battery pack can not only solve the problem of directly charging a large capacitive load when powered on, causing sparks or triggering short circuits, but also avoid the problems of increased material costs and circuit board area in existing technical solutions. In addition, it supports user modification of configuration parameters to achieve different output pre-discharge currents, enhancing product adaptability and achieving the effects of "low cost" and "intelligent pre-discharge".
[0075] In some embodiments, in the above step S2, the real-time detection of the pre-discharge current of the battery includes: real-time acquisition of the voltage across a sampling resistor, wherein the negative terminal of the load is grounded through the sampling resistor; and determining the real-time pre-discharge current of the battery based on the real-time acquired voltage and the resistance value of the sampling resistor.
[0076] For example, if Figure 4 As shown, the negative terminal of the load (motor driver PCBA) is grounded through a sampling resistor IR. The voltage difference across the sampling resistor IR (i.e., the voltage across the sampling resistor IR) can be monitored by the current sensing unit of the battery system's control IC. The current sensing unit then calculates the battery's pre-discharge current based on the voltage difference and the resistance of the sampling resistor IR. In one specific embodiment, the current sensing unit can be a Sigma-Delta A / D converter to achieve high-precision current monitoring.
[0077] In some embodiments, in the above step S2, the duty cycle of the pulse width modulation signal is adjusted according to the pre-discharge current so that the pre-discharge current of the battery is maintained within a target range, including: if the current pre-discharge current is not within the target range, then the duty cycle of the pulse width modulation signal is adjusted, and the adjusted pulse width modulation signal is used to control the intermittent opening of the discharge power switch to continue pre-charging the load.
[0078] In some embodiments, the method further includes: if the current pre-discharge current is within the target range, continuing to use the pulse width modulation signal to control the discharge power switch to be intermittently turned on, so as to continue pre-charging the load.
[0079] In some embodiments, adjusting the duty cycle of the pulse width modulation signal includes: adjusting the duty cycle of the pulse width modulation signal in a stepwise manner and / or in a deductive manner.
[0080] In some embodiments, the duty cycle of the pulse width modulation signal is adjusted in a stepwise manner, including: if the current pre-discharge current is greater than the upper limit of the target range, the duty cycle of the pulse width modulation signal is reduced by a first set value to obtain an adjusted pulse width modulation signal; if the current pre-discharge current is less than the lower limit of the target range, the duty cycle of the pulse width modulation signal is increased by a second set value to obtain an adjusted pulse width modulation signal. The first set value and the second set value can be customized, and the first set value and the second set value can be equal or unequal. For example, if the first set value is greater than the second set value, it can be quickly reduced when the pre-discharge current is large, and slowly increased when the pre-discharge current is small, so as to avoid the pre-discharge current from easily exceeding the target range after adjustment.
[0081] In some embodiments, the duty cycle of the pulse width modulation signal is adjusted in a deductive manner, including: calculating the duty cycle of the pulse width modulation signal corresponding to the target current based on the relationship between the current pre-discharge current and the duty cycle of the pulse width modulation signal; and generating an adjusted pulse width modulation signal based on the duty cycle.
[0082] Specifically, the current pre-discharge current of the battery is related to the duty cycle of the current pulse width modulation signal. Therefore, based on this correlation, the duty cycle of the pulse width modulation signal corresponding to the target current can be calculated, and then a new pulse width modulation signal is generated according to the duty cycle value, that is, the adjusted pulse width modulation signal. Then, the duty cycle is finely adjusted in real time according to the monitored current (the adjustment can be a step-by-step adjustment).
[0083] It can be seen that compared with the deductive adjustment, the entire time of step adjustment to the target current is longer, but compared with the deductive adjustment, the amount of code is smaller and the logic control is simpler.
[0084] In some embodiments, controlling the operating states of the charging power switch and the discharging power switch according to the voltage of the load so that the battery can supply power to the load normally or stop supplying power to the load includes: if the voltage of the load is greater than a third set value, controlling the charging power switch and the discharging power switch to be turned on so that the battery can supply power to the load normally.
[0085] In some embodiments, controlling the operating states of the charging power switch and the discharging power switch according to the voltage of the load so that the battery supplies power to the load normally or stops supplying power to the load includes: if the voltage of the load is less than a third set value, controlling the charging power switch and the discharging power switch to be turned off so that the battery stops supplying power to the load.
[0086] In some embodiments, if the voltage of the load is less than a third set value, the method further includes: sending fault information to a target device.
[0087] Based on the same inventive concept, an embodiment of the present application also provides a control device. Figure 6 This is a schematic diagram of the structure of a control device provided by an embodiment of the present application. Figure 6 As shown, an embodiment of the present application provides a control device 100, including:
[0088] The power switch driving module 10 is connected to the charging power switch and the discharging power switch, and is used to control the charging power switch to turn on in response to the discharge indication signal, and to control the discharging power switch to turn on intermittently using a pulse width modulation signal to pre-charge the load;
[0089] A first detection module 20 is connected to the discharge circuit of the battery and is used to detect the pre-discharge current of the battery in real time;
[0090] an adjustment module 30, connected to the first detection module 20 and the power switch driving module 10, respectively, for adjusting the duty cycle of the pulse width modulation signal according to the pre-discharge current so that the pre-discharge current of the battery remains within a target range;
[0091] A second detection module 40 is connected to the positive terminal of the load and is used to detect the voltage of the load when the pre-charging time of the load reaches the target time;
[0092] The power switch driving module 10 is also connected to the second detection module 40, and is used to control the working states of the charging power switch and the discharging power switch according to the voltage of the load, so that the battery can normally supply power to the load or stop supplying power to the load.
[0093] The control device, its working principle, and beneficial effects can be found in the description of the above embodiments and will not be repeated here. By executing the battery discharge control method described in the above embodiments, the control device not only solves the problems of the original battery pack directly charging a large capacitive load when powered on, causing sparks or triggering short circuits, but also avoids the problems of increased material costs and increased circuit board area in the existing technical solutions. In addition, it supports users to modify configuration parameters to achieve different pre-discharge current outputs, enhance product adaptability, and achieve the effects of "low cost" and "intelligent pre-discharge".
[0094] In some embodiments, the first detection module 20 detects the pre-discharge current of the battery in real time, including: acquiring the voltage across a sampling resistor in real time, wherein the negative terminal of the load is grounded through the sampling resistor; and determining the real-time pre-discharge current of the battery based on the voltage acquired in real time and the resistance value of the sampling resistor.
[0095] In some embodiments, the adjustment module 30 adjusts the duty cycle of the pulse width modulation signal according to the pre-discharge current so that the pre-discharge current of the battery remains within a target range, including: if the current pre-discharge current is not within the target range, adjusting the duty cycle of the pulse width modulation signal, and using the adjusted pulse width modulation signal to control the intermittent opening of the discharge power switch to continue pre-charging the load.
[0096] In some embodiments, the adjustment module 30 is further configured to: if the current pre-discharge current is within the target range, continue to use the pulse width modulation signal to control the discharge power switch to be intermittently turned on, so as to continue pre-charging the load.
[0097] In some embodiments, the adjustment module 30 adjusts the duty cycle of the pulse width modulation signal, including: step-by-step adjustment and / or deductive adjustment of the duty cycle of the pulse width modulation signal.
[0098] In some embodiments, the adjustment module 30 step-by-step adjusts the duty cycle of the pulse width modulation signal, including: if the current pre-discharge current is greater than the upper limit of the target range, reducing the duty cycle of the pulse width modulation signal by a first set value to obtain an adjusted pulse width modulation signal; if the current pre-discharge current is less than the lower limit of the target range, increasing the duty cycle of the pulse width modulation signal by a second set value to obtain an adjusted pulse width modulation signal.
[0099] In some embodiments, the adjustment module 30 inferentially adjusts the duty cycle of the pulse width modulation signal, including: calculating the duty cycle of the pulse width modulation signal corresponding to the target current based on the relationship between the current pre-discharge current and the duty cycle of the pulse width modulation signal; and generating an adjusted pulse width modulation signal based on the duty cycle.
[0100] In some embodiments, the power switch driving module 10 controls the working states of the charging power switch and the discharging power switch according to the voltage of the load so that the battery can supply power to the load normally or stop supplying power to the load, including: if the voltage of the load is greater than a third set value, controlling the charging power switch and the discharging power switch to be turned on so that the battery can supply power to the load normally.
[0101] In some embodiments, the power switch driving module 10 controls the working states of the charging power switch and the discharging power switch according to the voltage of the load, so that the battery can normally supply power to the load or stop supplying power to the load, including: if the voltage of the load is less than a third set value, controlling the charging power switch and the discharging power switch to be turned off, so that the battery stops supplying power to the load.
[0102] like Figure 6 As shown, in some embodiments, the control device 100 further includes: a sending module 50, connected to the second detection module 40, for sending fault information to the target device when the voltage of the load is less than a third set value.
[0103] Based on the same inventive concept, an embodiment of the present application also provides a battery system. Figure 7 This is a schematic diagram of the structure of a battery system provided by an embodiment of the present application. Figure 7 As shown, an embodiment of the present application provides a battery system 200, comprising: a battery 01, a charging power switch 02, a discharging power switch 03, and the control device 100 described in any of the above embodiments; wherein the battery 01 is connected to a load 300; the charging power switch 02 and the discharging power switch 03 are connected in series between the battery 01 and the load 300.
[0104] The battery system and its working principle and beneficial effects can be referred to the description of the above embodiments and will not be repeated here. By applying the battery discharge control method described in the above embodiments, the battery system not only solves the problems of the original battery pack directly charging a large capacitive load when powered on, causing sparks or triggering short circuits, but also avoids the problems of increased material costs and increased circuit board area in the existing technical solutions. In addition, it also supports users to modify configuration parameters to achieve different pre-discharge current outputs, enhance product adaptability, and achieve the effects of "low cost" and "intelligent pre-discharge".
[0105] To better understand the present application, the battery discharge control method, device, and battery system provided by the present application are described in detail below through a specific embodiment.
[0106] The structure of the low-cost PWM pulse width modulation battery system provided in this embodiment is as follows: Figure 4 shown.
[0107] like Figure 4 As shown, the battery system provided in this embodiment cancels the pre-discharge circuit in the existing solution, and instead uses PWM pulse width modulation to control the Dsg-MOS in the main discharge circuit, and combines the pre-discharge current in the sampling circuit to achieve a closed-loop intelligent pre-discharge function. The specific working process is as follows:
[0108] Step 1: The user issues a power-on command (presses the power button or turns on the switch), and the battery pack control IC receives a discharge start signal from the main control board.
[0109] Step 2: The battery pack control IC turns on the Chg-MOS (charging MOS tube) and intermittently turns on the Dsg-MOS (discharging MOS tube) using PWM pulse width modulation to pre-charge the load.
[0110] Step 3: The battery pack control IC detects the pre-discharge current in the circuit, compares it with the target value, automatically modulates the PWM pulse width, and uses a software algorithm to achieve discharge that maintains the target current value.
[0111] Step 4: After a period of low current pre-discharge, the capacitive components in the load circuit are charged and the voltage rises;
[0112] Step 5: The battery pack control IC starts the AD module, detects the voltage of the P+ point (the positive terminal of the battery pack), and determines whether the load is normal (the voltage will be pulled down when short-circuited).
[0113] Step 6. The next action is determined based on the result of step 5: If there is no problem on the load side, the battery pack completes pre-charging of the load, opens the Chg-MOS and Dsg-MOS main circuits for discharge, and the load begins to operate normally; if an abnormality such as a short circuit is detected on the load side, the control IC closes the Chg-MOS and Dsg-MOS, reports the fault to the main control board, and informs the user of the abnormality.
[0114] As can be seen, the PWM pulse-width modulation (PWM) Dsg-MOS transistor method proposed in this embodiment eliminates the pre-discharging circuit, reducing costs while also adding the ability to automatically control the pre-discharge current. Compared to existing technologies, this embodiment implements sampling closed-loop control of pre-discharge, adjusting the PWM duty cycle based on the set pre-discharge current to achieve pre-discharge. Simultaneously, the load voltage detection result determines whether to activate the main discharge circuit.
[0115] Figure 8 This is a schematic diagram of the working process of a battery system provided in an embodiment of the present application.
[0116] Figure 9 It is a flow chart of a battery discharge control method provided in an embodiment of the present application.
[0117] Figure 10 This is a flow chart of controlling the main discharge MOS tube in a PWM manner provided in an embodiment of the present application.
[0118] The duty cycle of the PWM signal may be adjusted by adopting step-by-step adjustment and / or deduction adjustment.
[0119] Thus, the battery discharge control method, device, and battery system provided by the embodiments of the present application reduce the number of circuit board components while also adding the function of adjusting the pre-discharge current, thereby achieving at least the following technical effects:
[0120] Reduced circuit board costs: The pre-discharge circuit is eliminated, reducing component and processing costs.
[0121] The battery pack PCBA area is reduced.
[0122] Functional improvement: Parameters can be set through software to output different pre-discharge currents, and product adaptability is enhanced (as long as the parameters are configured, it can be applied to different capacitive load products).
[0123] Reduce the weight of the circuit board (very applicable in fields such as drones).
[0124] Reduce the heat generated by the circuit board during pre-release.
[0125] It can be seen that the embodiment of the present application adopts PWM pulse width modulation to control the main discharge MOS tube, replacing the function implemented by the pre-discharging circuit in the existing solution; and combined with the fast current sampling built into the control IC, a pre-discharge technology with freely settable discharge current is implemented to achieve the purpose of reducing costs and increasing efficiency.
[0126] An embodiment of the present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments.
[0127] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program enables the computer to execute the methods provided by the above-mentioned method embodiments.
[0128] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0129] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0130] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0131] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0132] It should be noted that, in this document, relational terms such as first and second are merely used to distinguish one entity or operation from another, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprise," "include," or any other variants thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article, or device. In the absence of further restrictions, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element. The orientation or positional relationship indicated by the terms "upper," "lower," etc. is based on the orientation or positional relationship shown in the accompanying drawings, and is intended only to facilitate the description of this application and simplify the description, rather than to indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore should not be understood as a limitation on this application. Unless otherwise specified or limited, the terms "mounted," "connected," and "connected" should be interpreted broadly. For example, they can refer to fixed, removable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediary; and internal communication between two components. Those skilled in the art will understand the specific meanings of these terms in this application based on specific circumstances.
[0133] The various embodiments in this specification are described in a progressive manner. The same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments. In the description of this specification, the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" mean that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiments of this specification. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in an appropriate manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.
[0134] Specific embodiments are used in this application to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A battery discharge control method, characterized in that: include: In response to the discharge indication signal, the charging power switch is controlled to be turned on, and the discharge power switch is controlled to be turned on intermittently using a pulse width modulation signal to achieve pre-charging of the load; detecting a pre-discharge current of the battery in real time, and adjusting a duty cycle of the pulse width modulation signal according to the pre-discharge current so that the pre-discharge current of the battery remains within a target range; When the pre-charging time of the load reaches the target time, detecting the voltage of the load; According to the voltage of the load, the operating states of the charging power switch and the discharging power switch are controlled so that the battery can normally supply power to the load or stop supplying power to the load.
2. The method according to claim 1, characterized in that The real-time detection of the pre-discharge current of the battery includes: collecting the voltage across a sampling resistor in real time, wherein the negative terminal of the load is grounded through the sampling resistor; The real-time pre-discharge current of the battery is determined according to the voltage collected in real time and the resistance value of the sampling resistor.
3. The method according to claim 1 or 2, characterized in that The step of adjusting the duty cycle of the pulse width modulation signal according to the pre-discharge current so that the pre-discharge current of the battery remains within a target range includes: If the current pre-discharge current is not within the target range, the duty cycle of the pulse width modulation signal is adjusted, and the adjusted pulse width modulation signal is used to control the discharge power switch to be intermittently turned on to continue pre-charging the load.
4. The method according to claim 3, characterized in that The method further comprises: If the current pre-discharge current is within the target range, the pulse width modulation signal is continued to be used to control the discharging power switch to be intermittently turned on, so as to continue pre-charging the load.
5. The method according to claim 3, characterized in that The adjusting the duty cycle of the pulse width modulation signal includes: adjusting the duty cycle of the pulse width modulation signal in a stepwise manner and / or in a deductive manner.
6. The method according to claim 5, characterized in that Step-by-step adjusting the duty cycle of the pulse width modulation signal, comprising: If the current pre-discharge current is greater than the upper limit of the target range, the duty cycle of the pulse width modulation signal is reduced by a first set value to obtain an adjusted pulse width modulation signal; If the current pre-discharge current is less than the lower limit of the target range, the duty cycle of the pulse width modulation signal is increased by a second set value to obtain an adjusted pulse width modulation signal.
7. The method according to claim 5, characterized in that The duty cycle of the pulse width modulation signal is adjusted in a derivational manner, comprising: Calculating the duty cycle of the pulse width modulation signal corresponding to the target current according to the relationship between the current pre-discharge current and the duty cycle of the pulse width modulation signal; An adjusted pulse width modulation signal is generated according to the duty cycle.
8. The method according to claim 1, characterized in that The controlling the operating states of the charging power switch and the discharging power switch according to the voltage of the load so that the battery normally supplies power to the load or stops supplying power to the load includes: If the voltage of the load is greater than a third set value, the charging power switch and the discharging power switch are controlled to be turned on, so that the battery can normally supply power to the load.
9. The method according to claim 1 or 8, characterized in that The controlling the operating states of the charging power switch and the discharging power switch according to the voltage of the load so that the battery normally supplies power to the load or stops supplying power to the load includes: If the voltage of the load is less than a third set value, the charging power switch and the discharging power switch are controlled to be turned off, so that the battery stops supplying power to the load.
10. The method according to claim 8, characterized in that If the voltage of the load is less than a third set value, the method further includes: Send fault information to the target device.
11. A control device, characterized in that: include: a power switch driver module connected to the charging power switch and the discharging power switch, configured to control the charging power switch to be turned on in response to a discharge indication signal, and to control the discharging power switch to be turned on intermittently using a pulse width modulation signal to pre-charge the load; A first detection module is connected to the discharge circuit of the battery and is used to detect the pre-discharge current of the battery in real time; an adjustment module, connected to the first detection module and the power switch driving module respectively, and configured to adjust the duty cycle of the pulse width modulation signal according to the pre-discharge current so that the pre-discharge current of the battery remains within a target range; a second detection module, connected to the positive terminal of the load, and configured to detect the voltage of the load when the pre-charging time of the load reaches a target time; The power switch driving module is also connected to the second detection module, and is used to control the working states of the charging power switch and the discharging power switch according to the voltage of the load, so that the battery can normally supply power to the load or stop supplying power to the load.
12. The control device according to claim 11, characterized in that The first detection module detects the pre-discharge current of the battery in real time, including: collecting the voltage across a sampling resistor in real time, wherein the negative terminal of the load is grounded through the sampling resistor; The real-time pre-discharge current of the battery is determined according to the voltage collected in real time and the resistance value of the sampling resistor.
13. The control device according to claim 11 or 12, characterized in that: The adjusting module adjusts the duty cycle of the pulse width modulation signal according to the pre-discharge current so that the pre-discharge current of the battery remains within a target range, including: If the current pre-discharge current is not within the target range, the duty cycle of the pulse width modulation signal is adjusted, and the adjusted pulse width modulation signal is used to control the discharge power switch to be intermittently turned on to continue pre-charging the load.
14. The control device according to claim 13, characterized in that The adjustment module is further configured to: If the current pre-discharge current is within the target range, the pulse width modulation signal is continued to be used to control the discharging power switch to be intermittently turned on, so as to continue pre-charging the load.
15. The control device according to claim 13, characterized in that The adjustment module adjusts the duty cycle of the pulse width modulation signal, including: step-by-step adjustment and / or deductive adjustment of the duty cycle of the pulse width modulation signal.
16. The control device according to claim 15, characterized in that The adjustment module adjusts the duty cycle of the pulse width modulation signal in a step-by-step manner, including: If the current pre-discharge current is greater than the upper limit of the target range, the duty cycle of the pulse width modulation signal is reduced by a first set value to obtain an adjusted pulse width modulation signal; If the current pre-discharge current is less than the lower limit of the target range, the duty cycle of the pulse width modulation signal is increased by a second set value to obtain an adjusted pulse width modulation signal.
17. The control device according to claim 15, characterized in that The adjustment module inferentially adjusts the duty cycle of the pulse width modulation signal, including: Calculating the duty cycle of the pulse width modulation signal corresponding to the target current according to the relationship between the current pre-discharge current and the duty cycle of the pulse width modulation signal; An adjusted pulse width modulation signal is generated according to the duty cycle.
18. The control device according to claim 11, characterized in that The power switch driving module controls the operating states of the charging power switch and the discharging power switch according to the voltage of the load, so that the battery can normally supply power to the load or stop supplying power to the load, including: If the voltage of the load is greater than a third set value, the charging power switch and the discharging power switch are controlled to be turned on, so that the battery can normally supply power to the load.
19. The control device according to claim 11 or 18, characterized in that: The power switch driving module controls the operating states of the charging power switch and the discharging power switch according to the voltage of the load, so that the battery can normally supply power to the load or stop supplying power to the load, including: If the voltage of the load is less than a third set value, the charging power switch and the discharging power switch are controlled to be turned off, so that the battery stops supplying power to the load.
20. The control device according to claim 18, characterized in that The control device further comprises: A sending module is connected to the second detection module and is used to send fault information to a target device when the voltage of the load is less than a third set value.
21. A computer program product, characterized in that The computer program product comprises a computer program, which implements the steps of the method according to any one of claims 1 to 10 when executed by a processor.
22. A battery system, characterized in that: It comprises a battery, a charging power switch, a discharging power switch and the control device according to any one of claims 11 to 20 above; wherein, The battery is connected to a load; The charging power switch and the discharging power switch are connected in series between the battery and the load.