Battery control method and device, storage medium, controller and vehicle

By selecting a derating strategy based on the direction of voltage change within the battery voltage hysteresis range, the power fluctuation problem caused by voltage detection error is solved, improving the smoothness of battery charging and discharging and the user experience.

CN120986254APending Publication Date: 2025-11-21BEIJING AUTOMOBILE RES GENERAL INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510996978.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-18
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

In the prior art, the derating strategy of vehicle battery charge and discharge controllers leads to power fluctuations and a decline in user experience due to voltage detection errors.

Method used

By setting a preset voltage hysteresis range, the target derating strategy is selected based on the direction of battery voltage change and the derating threshold voltage corresponding to the hysteresis range, thereby reducing power jumps caused by voltage detection errors.

Benefits of technology

It improves the smoothness of power adjustment during battery charging and discharging, thus enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120986254A_ABST
    Figure CN120986254A_ABST
Patent Text Reader

Abstract

The invention discloses a battery control method and device, a storage medium, a controller and a vehicle, and relates to the technical field of battery control. The method comprises the following steps: acquiring the current voltage of a battery; and under the condition of determining that the current voltage is in the preset voltage hysteresis interval, determining a target derating strategy based on the voltage change direction of the battery and the derating graded voltage corresponding to the preset voltage hysteresis interval, so as to perform charging control or discharging control on the battery based on the target derating strategy. According to the method, under the condition that the current voltage of the battery is in the preset voltage hysteresis interval, the derating strategy is selected according to the voltage change direction and the derating graded voltage corresponding to the preset voltage hysteresis interval, so that the situation that the charging and discharging power of the battery is changed due to a voltage detection error in related technologies is reduced; the adjustment smoothness of the battery power is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of battery control, and in particular to a battery control method, a computer readable storage medium, a battery control device, a controller and a vehicle. BACKGROUND

[0002] In actual application of a vehicle, due to the influence of ambient temperature and heat generated by itself during work, the internal parts of the vehicle may malfunction, and the devices may be damaged. In order to avoid the above heat runaway damage to the devices, the vehicle-mounted charger and other power controllers may start a power reduction strategy (referred to as derating) to reduce the temperature of the power controller core when the inlet water temperature reaches a certain temperature or the temperature of the internal key parts reaches a certain temperature.

[0003] In related technologies, the derating strategy of the vehicle-mounted charger is formulated according to the voltage range of the power battery. However, when voltage sampling fluctuation occurs, this method may cause the control strategy to jump multiple times, thereby reducing the user experience. SUMMARY

[0004] The present application aims to solve the technical problems proposed in the background. To this end, the first purpose of the present application is to propose a battery control method. When the current voltage of the battery is in a preset voltage hysteresis interval, a derating strategy is selected according to the voltage change direction and the derating sub-grade voltage corresponding to the preset voltage hysteresis interval, thereby reducing the occurrence of battery charging and discharging power reciprocating jump caused by voltage detection error in related technologies, improving the smoothness of battery power adjustment, and improving the user experience.

[0005] The second purpose of the present application is to propose a computer readable storage medium.

[0006] The third purpose of the present application is to propose a battery control device.

[0007] The fourth purpose of the present application is to propose a controller.

[0008] The fifth purpose of the present application is to propose a vehicle.

[0009] To achieve the above purpose, the first embodiment of the present application proposes a battery control method, which comprises: acquiring the current voltage of the battery; determining the target derating strategy based on the voltage change direction of the battery and the derating sub-grade voltage corresponding to the preset voltage hysteresis interval when it is determined that the current voltage is in the preset voltage hysteresis interval, so as to control the charging or discharging of the battery based on the target derating strategy.

[0010] According to the battery control method of the embodiment of the present application, by obtaining the current voltage of the battery, in the case that the current voltage is in the preset voltage hysteresis interval, the target derating strategy is determined based on the voltage change direction of the battery and the derating grading voltage corresponding to the preset voltage hysteresis interval, so as to control the charging or discharging of the battery based on the target derating strategy. Thus, in the case that the current voltage of the battery is in the preset voltage hysteresis interval, the derating strategy is selected according to the voltage change direction and the derating grading voltage corresponding to the preset voltage hysteresis interval, thereby reducing the occurrence of the battery charging and discharging power reciprocating jump caused by the voltage detection error in the related art, improving the adjustment smoothness of the battery power, and improving the user experience.

[0011] In addition, the battery control method according to the above-mentioned embodiments of the present application can also have the following additional technical features: According to an embodiment of the present application, the derating grading voltage corresponding to the preset voltage hysteresis interval is used to divide the first derating interval and the second derating interval, the voltage value of the first derating interval is smaller than the voltage value of the second derating interval, and the target derating strategy is determined based on the voltage change direction of the battery and the derating grading voltage corresponding to the preset voltage hysteresis interval, including: in the case that the battery is in the voltage rising change direction, the derating control strategy corresponding to the first derating interval is taken as the target derating strategy; and in the case that the battery is in the voltage falling change direction, the derating control strategy corresponding to the second derating interval is taken as the target derating strategy.

[0012] According to an embodiment of the present application, the battery control method further includes: obtaining a maximum value of the grading voltages in the plurality of derating grading voltages corresponding to the battery; determining a target hysteresis voltage based on the maximum value of the grading voltages; and determining the preset voltage hysteresis interval corresponding to each derating grading voltage based on the target hysteresis voltage.

[0013] According to an embodiment of the present application, the determination of the preset hysteresis voltage based on the maximum value of the grading voltages includes: obtaining the product between the maximum value of the grading voltages and a preset sampling deviation coefficient to obtain the target hysteresis voltage.

[0014] According to an embodiment of the present application, the determination of the preset voltage hysteresis interval corresponding to each derating grading voltage based on the target hysteresis voltage includes: determining a target hysteresis range based on the target hysteresis voltage; and mapping the target hysteresis range to each derating grading voltage to determine the preset voltage hysteresis interval corresponding to each derating grading voltage, wherein each derating grading voltage is in the corresponding preset voltage hysteresis interval.

[0015] According to an embodiment of the present application, the battery control method further includes: when the current voltage is outside the preset voltage hysteresis interval, determining the target derating strategy based on the current voltage.

[0016] To achieve the above object, the second aspect of the present application provides a computer readable storage medium, which stores a battery control program, and the battery control program is executed by a processor to implement the battery control method.

[0017] The computer readable storage medium according to the embodiments of the present application stores the battery control program, and the battery control program is executed by the processor to implement the battery control method. According to the battery control method, the target derating strategy is formulated, the situation that the battery charging and discharging power reciprocally jumps due to the voltage detection error in the related art is reduced, the smoothness of the battery power adjustment is improved, and the user experience is improved.

[0018] To achieve the above object, the third aspect of the present application provides a battery control device, which comprises: an acquisition module configured to acquire a current voltage of a battery; and a control module configured to, in a case where it is determined that the current voltage is within a preset voltage hysteresis interval, determine a target derating strategy based on a voltage variation direction of the battery and a derating sub-grade voltage corresponding to the preset voltage hysteresis interval, so as to perform charging control or discharging control on the battery based on the target derating strategy.

[0019] The battery control device according to the embodiments of the present application acquires the current voltage of the battery by the acquisition module, and in a case where it is determined that the current voltage is within the preset voltage hysteresis interval, the control module determines the target derating strategy based on the voltage variation direction of the battery and the derating sub-grade voltage corresponding to the preset voltage hysteresis interval, so as to perform the charging control or the discharging control on the battery based on the target derating strategy. Therefore, in a case where the current voltage of the battery is within the preset voltage hysteresis interval, the device selects the derating strategy according to the voltage variation direction and the derating sub-grade voltage corresponding to the preset voltage hysteresis interval, thereby reducing the situation that the battery charging and discharging power reciprocally jumps due to the voltage detection error in the related art, improving the smoothness of the battery power adjustment, and improving the user experience.

[0020] To achieve the above object, the fourth aspect of the present application provides a controller, which comprises a memory, a processor, and a battery control program stored in the memory and executable on the processor, and the processor implements the battery control method when executing the battery control program.

[0021] The controller according to the embodiments of the present application implements the battery control method when the processor executes the battery control program. According to the battery control method, the situation that the battery charging and discharging power reciprocally jumps due to the voltage detection error in the related art is reduced, the smoothness of the battery power adjustment is improved, and the user experience is improved.

[0022] To achieve the above object, the fifth aspect of the present application provides a vehicle, comprising: a battery; a controller configured to acquire a current voltage of the battery, and determine a target derating strategy based on a voltage variation direction of the battery and a derating step voltage corresponding to a preset voltage hysteresis interval, in a case that the current voltage is within the preset voltage hysteresis interval, to perform charging control or discharging control on the battery based on the target derating strategy.

[0023] According to the vehicle of the present application, the controller determines the target derating strategy based on the voltage variation direction of the battery and the derating step voltage corresponding to the preset voltage hysteresis interval, in a case that the current voltage is within the preset voltage hysteresis interval, to perform charging control or discharging control on the battery based on the target derating strategy, thereby reducing the occurrence of the battery charging and discharging power reciprocating jump due to voltage detection error in the related art, improving the adjustment smoothness of the battery power, and improving the user experience. BRIEF DESCRIPTION OF DRAWINGS

[0024] Figure 1 a schematic diagram of a derating strategy in the related art; Figure 2 a flowchart of a control method of a battery according to some embodiments of the present application; Figure 3 a schematic diagram of a preset voltage hysteresis interval according to one specific embodiment of the present application; Figure 4 a flowchart of a control method of a battery according to one specific embodiment of the present application; Figure 5 a connection schematic diagram of a control device of a battery according to some embodiments of the present application; Figure 6 a block schematic diagram of a controller according to some embodiments of the present application; Figure 7 a block schematic diagram of a vehicle according to some embodiments of the present application. DETAILED DESCRIPTION

[0025] The control method of a battery, computer readable storage medium, control device of a battery, controller and vehicle of the present application will be described in detail below with reference to the accompanying drawings.

[0026] Taking the application of the battery in a vehicle as an example, in the actual application of the vehicle, the power controller such as the battery charging and discharging controller (such as the vehicle-mounted charger), the motor controller and the like products are affected by the environmental temperature and the heat generated by the working of the parts, and the temperature of the internal core parts such as the power switch, the transformer and the like devices can be as high as more than one hundred degrees. If no corresponding measures are taken, the internal core parts will be damaged due to overheating.

[0027] In order to avoid the above damage caused by thermal runaway, and at the same time make the vehicle work in the normal state as much as possible, the power controller such as the on-board charger will start the power output reduction strategy, i.e. the derating strategy, when the inlet temperature reaches a certain temperature or the temperature of the internal key components reaches a certain temperature, so as to reduce the temperature of the power core of the power controller. It can be understood that the higher the temperature, the higher the derating ratio. When the temperature reaches a certain degree, the power controller will shut down the power output.

[0028] The power switches, transformers, electrolytic capacitors, inductors and other power devices on the power core of the battery charging and discharging controller are affected by the control strategy under different power battery voltages, and the heating conditions are different. Therefore, when formulating the derating strategy of the battery charging and discharging controller, the voltage and temperature of the power battery are related. In the related art, the derating strategy of the battery charging and discharging controller generally starts to derate with a certain derating coefficient when the temperature is higher than a certain specific value within a certain range of power battery voltage. For example, as shown in Figure 1 If the temperature is greater than 65℃ when the battery voltage is in the range of 300V-420V, the battery charging and discharging controller controls the battery power to derate with a derating coefficient of 0.03; if the temperature is greater than 72℃ when the battery voltage is in the range of 420V-450V, the battery charging and discharging controller controls the battery power to derate with a derating coefficient of 0.05, and so on.

[0029] However, due to the influence of device precision, the battery power controlled by the derating will fluctuate at the voltage at the junction of the two derating ranges due to the influence of voltage sampling fluctuation factors. The performance on the vehicle is that during the charging and discharging process, the charging and discharging current may fluctuate, causing user confusion. For example: when the battery voltage is 420V, due to battery voltage fluctuation or sampling circuit precision problem, the voltage will fluctuate around 420V. If the temperature of the on-board charger is above 72℃ at this time, when the battery voltage is slightly lower than 420V, the derating scheme adopted is to derate with a derating coefficient of 0.03 based on 65℃; when the voltage is slightly higher than 420V, the derating scheme adopted is to derate with a derating coefficient of 0.05 based on 72℃. Due to the different derating strategies at the voltage around 420V, the actual charging and discharging power of the vehicle will fluctuate, further causing the charging and discharging current to jump, which brings a bad experience to the customer.

[0030] To solve the above technical problems, the application provides a battery control method, which sets a preset voltage hysteresis interval based on a derating step voltage, determines a target derating strategy according to a voltage change direction of the battery and the derating step voltage corresponding to the preset voltage hysteresis interval when the battery voltage is in the preset voltage hysteresis interval, and adjusts the battery charging and discharging power by using the target derating strategy, so as to reduce the voltage fluctuation caused by voltage detection error, avoid the repeated jump of the actual output power of the battery, and improve the power adjustment smoothness in the battery charging and discharging process.

[0031] The battery charging and discharging control method is implemented by a vehicle charging and discharging controller, and the implementation of the method is described in detail below with reference to the accompanying drawings.

[0032] Figure 2 A flowchart of the battery control method according to some embodiments of the application.

[0033] With reference to Figure 2 The battery control method according to the embodiments of the application includes the following steps: S1, obtaining a current voltage of the battery.

[0034] Specifically, the vehicle charging and discharging controller can obtain the current voltage of the battery by a voltage sensor, and can directly obtain the current voltage of the battery from a battery management system (BMS) based on CAN (controller area network) bus communication between the vehicle BMS and the BMS.

[0035] S2, determining a target derating strategy based on a voltage change direction of the battery and a derating step voltage corresponding to a preset voltage hysteresis interval when the current voltage is in the preset voltage hysteresis interval, and performing charging control or discharging control on the battery based on the target derating strategy.

[0036] Specifically, the preset voltage hysteresis interval is set corresponding to the derating step voltage, which is used to limit the buffer switching range of the derating strategy at each derating step voltage. Figure 1 For example, the derating step voltage includes 300V, 420V, 450V, 490V and 550V, and a corresponding preset voltage hysteresis interval can be set for each derating step voltage.

[0037] The span of the preset voltage hysteresis interval corresponding to each derating voltage level can be set according to the actual situation. It is necessary to ensure that there is no overlapping area between adjacent preset voltage hysteresis intervals. For example, the same width can be used to construct the preset voltage hysteresis interval corresponding to each derating voltage level, such as a span of 5V, 7V, etc. Depending on the actual situation (such as the change range of the derating strategy), different spans can be used to construct the preset voltage hysteresis interval corresponding to each derating voltage level. For example, a 6V span can be used to construct the preset voltage hysteresis interval corresponding to the derating voltage level of 420V, and a 10V span can be used to construct the derating voltage levels of 450V and 490V, etc.

[0038] by Figure 3 For example, the preset voltage hysteresis range corresponding to the derating voltage of 420V is 417V~423V. When the current battery voltage is determined to be within 417V~423V, the potential voltage fluctuations are predicted based on the direction of voltage change. This, combined with the derating voltage of 420V, determines the target derating strategy. For instance, one of the derating strategies corresponding to the left and right sides of the 420V derating voltage can be matched based on the direction of voltage change as the target derating strategy; or, a preset temperature from one of the derating strategies corresponding to the left and right sides of the 420V derating voltage can be used as the temperature threshold in the target derating strategy, and the derating coefficient from the other strategy can be used as the derating coefficient in the target derating strategy. The specific approach is not limited. Then, the charging or discharging power of the battery is controlled according to the determined target derating strategy.

[0039] This embodiment determines the target derating strategy based on the direction of battery voltage change and the preset derating strategies on both sides of the derating voltage when the current voltage is within the preset voltage hysteresis range corresponding to the derating threshold voltage. The charging power or discharging power of the battery is then controlled based on the target derating strategy. This solves the problem of voltage fluctuations caused by voltage detection errors, which leads to changes in the actual output power of the battery. The power adjustment is smoother, improving the user experience.

[0040] In some embodiments of this application, a derating threshold voltage corresponding to a preset voltage hysteresis interval is used to divide a first derating interval and a second derating interval. The voltage value of the first derating interval is less than the voltage value of the second derating interval. A target derating strategy is determined based on the direction of voltage change of the battery and the derating threshold voltage corresponding to the preset voltage hysteresis interval. This includes: when the battery is in a voltage increase direction, using the derating control strategy corresponding to the first derating interval as the target derating strategy; and when the battery is in a voltage decrease direction, using the derating control strategy corresponding to the second derating interval as the target derating strategy.

[0041] Specifically, the target derating strategy is determined based on the voltage change direction of the battery and the derating sub-grade voltage corresponding to the preset voltage hysteresis interval, so as to Figure 3 For example, the current voltage is in the preset voltage hysteresis interval (417V-423V) corresponding to the derating sub-grade voltage 420V, and in combination with Figure 1 As shown in the figure, the derating sub-grade voltage 420V is used to divide the interval (300V, 420V) (i.e. the first derating interval) and the interval [420V, 450V] (i.e. the second derating interval).

[0042] The voltage change direction of the battery can be determined according to the current voltage and the historical voltage obtained at the last time. When the current voltage is greater than the historical voltage obtained at the last time, it is considered that the battery is in a voltage increasing change direction; when the current voltage is less than the historical voltage obtained at the last time, it is considered that the battery is in a voltage decreasing change direction. In addition, the voltage change direction of the battery can also be determined based on the voltage change in the previous time interval corresponding to the current voltage, so as to improve the accuracy of direction determination, which is not limited.

[0043] When the current voltage is in the preset voltage hysteresis interval (417V-423V) and the battery is in a voltage increasing change direction, the derating control strategy corresponding to the interval (300V, 420V) is taken as the target derating strategy, that is, the derating strategy with a derating temperature of 65℃ and a derating coefficient of 0.03 is executed, that is, when the temperature is greater than 65℃, the rated power is reduced in a manner of 0.03 / ℃.

[0044] When the current voltage is in the preset voltage hysteresis interval (417V-423V) and the battery is in a voltage decreasing change direction, the derating control strategy corresponding to the interval [420V, 450V] is taken as the target derating strategy, that is, the derating strategy with a derating temperature of 72℃ and a derating coefficient of 0.05 is executed, that is, when the temperature is greater than 72℃, the rated power is reduced in a manner of 0.05 / ℃. It can be understood that the derating temperature in the derating strategy can be set according to the actual temperature of the battery, or can be set according to the internal temperature of the corresponding charge and discharge controller.

[0045] The embodiment takes the derating strategy corresponding to the left side (i.e. less than 420V) of the derating sub-grade voltage 420V as the target derating strategy when the battery is in a voltage increasing change direction, and takes the derating strategy corresponding to the right side (i.e. greater than or equal to 420V) of the derating sub-grade voltage 420V as the target strategy when the battery is in a voltage decreasing change direction, which can realize smooth adjustment of the output power at the derating sub-grade voltage and reduce the occurrence of the charge and discharge power fluctuation of the battery caused by voltage sampling fluctuation.

[0046] In some embodiments of the present application, the control method of the battery further comprises: obtaining a maximum value of the step-down voltage corresponding to the battery; determining a target hysteresis voltage based on the maximum value of the step-down voltage; and determining a preset voltage hysteresis interval corresponding to each step-down voltage based on the target hysteresis voltage.

[0047] Specifically, taking the step-down strategy of the battery shown in Figure 1 as an example, the step-down voltages corresponding to the battery are 300V, 420V, 450V, 490V and 550V, and the maximum value of the step-down voltage is 550V.

[0048] The target hysteresis voltage is used to represent the span of the preset voltage hysteresis interval allowed by the battery. The relationship between the maximum value of the step-down voltage and the target hysteresis voltage can be pre-set, for example, a mapping table between the maximum value of the step-down voltage and the target hysteresis voltage is pre-constructed, and when the maximum value of the step-down voltage corresponding to the battery is determined, the target hysteresis voltage is determined by looking up the table; or a relationship between the maximum value of the step-down voltage and the target hysteresis voltage can be constructed, and the corresponding target hysteresis voltage can be obtained by formula calculation, which is not limited in particular.

[0049] After determining the target hysteresis voltage, the target hysteresis voltage can be directly used as the span of the preset voltage hysteresis interval, or the span of the preset voltage hysteresis interval can be calculated in a coefficient conversion manner, so as to determine the preset voltage hysteresis interval corresponding to each step-down voltage. In some embodiments of the present application, the target hysteresis voltage is determined based on the maximum value of the step-down voltage, which comprises: obtaining the product of the maximum value of the step-down voltage and a preset sampling deviation coefficient to obtain the target hysteresis voltage.

[0050] That is, the calculation formula of the target hysteresis voltage is as follows: V=k*Vmax Wherein, V is the target hysteresis voltage; k is a preset sampling deviation coefficient, for example, 1%; Vmax is the maximum value of the step-down voltage.

[0051] Suppose the sampling deviation of voltage detection is 1%, that is, the preset sampling deviation coefficient is 1%, and continue to take Figure 1 as an example, the maximum value of the step-down voltage is 550V, and the target hysteresis voltage is calculated to be 5.5V by substituting the above formula. In order to facilitate display, the target hysteresis voltage can be processed by integer, and the final target hysteresis voltage is 6V.

[0052] This embodiment considers the sampling error of voltage detection and calculates the target hysteresis voltage in combination with the maximum value of the step-down voltage, thereby improving the control accuracy.

[0053] In some embodiments of the present application, determining the preset voltage hysteresis interval corresponding to each derating sub-grade voltage based on the target hysteresis voltage comprises: determining a target hysteresis range based on the target hysteresis voltage; and mapping the target hysteresis range to each derating sub-grade voltage to determine the preset voltage hysteresis interval corresponding to each derating sub-grade voltage, wherein each derating sub-grade voltage is within the corresponding preset voltage hysteresis interval.

[0054] Specifically, taking the target hysteresis voltage as 6V as an example, the target hysteresis range is 0V-6V. The target hysteresis range is mapped in the form of spanning the derating sub-grade voltage to obtain the preset voltage hysteresis interval corresponding to each derating sub-grade voltage, so that Figure 3 Taking the derating sub-grade voltage 420V shown in the figure as an example, the corresponding preset voltage hysteresis interval obtained by mapping is 417V-423V.

[0055] In some embodiments of the present application, the control method of the battery further comprises: when the current voltage is outside the preset voltage hysteresis interval, determining a target derating strategy based on the current voltage.

[0056] Specifically, in combination with Figure 1 and Figure 3 If it is assumed that the current voltage of the battery is 350V, which is outside the preset voltage hysteresis interval and is within the interval (300V, 420V), a derating strategy with a derating temperature of 65℃ and a derating coefficient of 0.03 is executed. If it is assumed that the current voltage of the battery is 440V, which is outside the preset voltage hysteresis interval and is within the interval [420V, 450V), a derating strategy with a derating temperature of 72℃ and a derating coefficient of 0.05 is executed.

[0057] This embodiment considers that when the current voltage of the battery is not within the preset voltage hysteresis interval, the situation that the battery power changes due to voltage detection sampling error will not occur, and then directly takes the preset derating strategy corresponding to the interval in which the current voltage is located as the target derating strategy.

[0058] As a specific embodiment of the present application, as shown in Figure 4 The control method of the battery can comprise the following steps: S101, obtaining the current voltage of the battery.

[0059] S102, determining whether the current voltage is within the preset voltage hysteresis interval. If yes, executing step S103, and if no, executing step S106.

[0060] S103, obtaining the historical voltage of the battery at the previous sampling time.

[0061] S104, determining the voltage change direction of the battery according to the current voltage and the historical voltage.

[0062] S105, determine the target derating strategy according to the voltage change direction of the battery and the derating sub-grade voltage corresponding to the preset voltage hysteresis interval. Step S107 is executed.

[0063] S106, take the preset derating strategy corresponding to the interval in which the current voltage is located as the target derating strategy.

[0064] S107, perform charging control or discharging control on the battery according to the target derating strategy.

[0065] In summary, according to the battery control method of the embodiments of the present application, by obtaining the current voltage of the battery, in the case where it is determined that the current voltage is in the preset voltage hysteresis interval, the target derating strategy is determined based on the voltage change direction of the battery and the derating sub-grade voltage corresponding to the preset voltage hysteresis interval, and the charging control or discharging control on the battery is performed based on the target derating strategy. Therefore, in the case where the current voltage of the battery is in the preset voltage hysteresis interval, the derating strategy is selected according to the voltage change direction and the derating sub-grade voltage corresponding to the preset voltage hysteresis interval, thereby reducing the occurrence of the battery charging and discharging power reciprocating jump caused by the voltage detection error in the related art, improving the smoothness of the battery power adjustment, and improving the user experience.

[0066] Corresponding to the above-mentioned embodiments, the present application also proposes a computer readable storage medium.

[0067] The computer readable storage medium of the embodiments of the present application has a battery control program stored thereon, and the battery control program is executed by a processor to implement the battery control method.

[0068] The computer readable storage medium according to the embodiments of the present application has a battery control program stored thereon, and the battery control program is executed by a processor to implement the above-mentioned battery control method. Based on the above-mentioned battery control method, by formulating the target derating strategy, the occurrence of the battery charging and discharging power reciprocating jump caused by the voltage detection error in the related art can be reduced, the smoothness of the battery power adjustment is improved, and the user experience is improved.

[0069] Corresponding to the above-mentioned embodiments, the present application also proposes a battery control device.

[0070] Referring to Figure 5 , the battery control device 200 of the embodiments of the present application comprises an acquisition module 210 and a control module 220.

[0071] The acquisition module 210 is configured to acquire the current voltage of the battery, and the control module 220 is configured to, in the case where it is determined that the current voltage is in the preset voltage hysteresis interval, determine the target derating strategy based on the voltage change direction of the battery and the derating sub-grade voltage corresponding to the preset voltage hysteresis interval, and perform charging control or discharging control on the battery based on the target derating strategy.

[0072] According to one embodiment of the present application, the step of determining the target de-rating strategy comprises: determining the target de-rating strategy based on the voltage variation direction of the battery and the de-rating sub-grade voltage corresponding to the preset voltage hysteresis interval, specifically: taking the de-rating control strategy corresponding to the first de-rating interval as the target de-rating strategy when the battery is in the voltage rising variation direction, and taking the de-rating control strategy corresponding to the second de-rating interval as the target de-rating strategy when the battery is in the voltage falling variation direction.

[0073] According to one embodiment of the present application, the control module 220 is further configured to: obtain a maximum value of the de-rating sub-grade voltages corresponding to the battery; determine a target hysteresis voltage based on the maximum value of the de-rating sub-grade voltages; and determine the preset voltage hysteresis interval corresponding to each de-rating sub-grade voltage based on the target hysteresis voltage.

[0074] According to one embodiment of the present application, the control module 220 determines the preset hysteresis voltage based on the maximum value of the de-rating sub-grade voltages, specifically: obtains a product between the maximum value of the de-rating sub-grade voltages and a preset sampling deviation coefficient to obtain the target hysteresis voltage.

[0075] According to one embodiment of the present application, the control module 220 determines the preset voltage hysteresis interval corresponding to each de-rating sub-grade voltage based on the target hysteresis voltage, specifically: determines a target hysteresis range based on the target hysteresis voltage; and maps the target hysteresis range to each de-rating sub-grade voltage to determine the preset voltage hysteresis interval corresponding to each de-rating sub-grade voltage, wherein each de-rating sub-grade voltage is in the corresponding preset voltage hysteresis interval.

[0076] According to one embodiment of the present application, the control module 220 is further configured to: determine the target de-rating strategy based on the current voltage when the current voltage is outside the preset voltage hysteresis interval.

[0077] It should be noted that the above explanations and descriptions of the embodiments of the battery control method and the advantages are also applicable to the battery control device of the embodiments of the present application. To avoid redundancy, they will not be described in detail here.

[0078] In summary, according to the battery control device of the application, the current voltage of the battery is obtained by the obtaining module, and the control module determines the target derating strategy based on the voltage change direction of the battery and the derating sub-grade voltage corresponding to the preset voltage hysteresis interval, if the current voltage is determined to be within the preset voltage hysteresis interval, to control the charging or discharging of the battery based on the target derating strategy. Therefore, in the case that the current voltage of the battery is within the preset voltage hysteresis interval, the derating strategy is selected according to the voltage change direction and the derating sub-grade voltage corresponding to the preset voltage hysteresis interval, thereby reducing the occurrence of the battery charging and discharging power reciprocating jump caused by voltage detection error in the related art, improving the smoothness of battery power adjustment, and improving the user experience.

[0079] Corresponding to the above embodiment, the application further provides a controller.

[0080] With reference to Figure 6 The controller 300 of the embodiment of the application includes a memory 310, a processor 320, and a battery control program stored in the memory 310 and executable on the processor 320. When the processor executes the battery control program, the above-mentioned battery control method is implemented.

[0081] According to the controller of the embodiment of the application, when the processor executes the battery control program, the above-mentioned battery control method is implemented. Based on the above-mentioned battery control method, the occurrence of the battery charging and discharging power reciprocating jump caused by voltage detection error in the related art can be reduced, the smoothness of battery power adjustment is improved, and the user experience is improved.

[0082] Corresponding to the above embodiment, the application further provides a vehicle.

[0083] With reference to Figure 7 The vehicle 400 of the application includes a battery 410 and a controller 420. The controller 420 is configured to obtain the current voltage of the battery, and determine the target derating strategy based on the voltage change direction of the battery and the derating sub-grade voltage corresponding to the preset voltage hysteresis interval, if the current voltage is determined to be within the preset voltage hysteresis interval, to control the charging or discharging of the battery based on the target derating strategy.

[0084] According to the vehicle of the embodiment of the present application, when the controller determines that the current voltage is within the preset voltage hysteresis interval, the target derating strategy is determined based on the voltage variation direction of the battery and the derating step voltage corresponding to the preset voltage hysteresis interval, so that the charging control or discharging control of the battery is performed based on the target derating strategy, thereby reducing the occurrence of the battery charging and discharging power reciprocating jump due to the voltage detection error in the related art, improving the adjustment smoothness of the battery power, and improving the user experience. It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a list of executable instructions for implementing logic functions, which can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus or device, such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute the instructions, or in conjunction with these instruction execution systems, apparatus or devices. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transport programs for use by or in connection with an instruction execution system, apparatus or device, or in conjunction with these instruction execution systems, apparatus or devices. More specific examples (non-exhaustive list) of computer-readable medium include the following: electrical connections having one or more wires (electronic devices), portable computer diskette (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), fiber optic devices, and portable compact disc read-only memory (CD ROM). In addition, the computer-readable medium can even be paper or other suitable medium on which the program can be printed, because the program can be electronically obtained, for example, by optical scanning of the paper or other medium, followed by editing, interpretation or processing, if necessary, in other suitable manner, and then stored in the computer memory.

[0085] It should be understood that parts of the present application can be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any of the following technologies known in the art or their combinations can be used: discrete logic circuit with logic gate circuit for implementing logic functions on data signals, application specific integrated circuit with suitable combination logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA), etc.

[0086] In the description of the specification, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the description of the specification, the illustrative description of the above terms does not necessarily mean the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0087] In addition, the terms "first", "second" are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "a plurality of" is at least two, for example, two, three, etc., unless otherwise explicitly specified and limited.

[0088] In the present application, unless otherwise explicitly specified and limited, the terms "mounting", "connection", "connection", "fixing" and other terms should be understood in a broad sense, for example, can be fixedly connected, can also be detachably connected, or integrated; can be mechanically connected, can also be electrically connected; can be directly connected, can also be indirectly connected through an intermediate medium, can be the internal communication of two elements or the interaction relationship between two elements, unless otherwise explicitly limited. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.

[0089] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above embodiments within the scope of the present application.

Claims

1. A control method of a battery, characterized by, The method comprises: acquiring a current voltage of the battery; determining a target derating strategy based on a voltage variation direction of the battery and a derating sub-grade voltage corresponding to the preset voltage hysteresis interval, when it is determined that the current voltage is within a preset voltage hysteresis interval, to control charging or discharging of the battery based on the target derating strategy.

2. The control method of a battery according to claim 1, characterized by, The derating sub-grade voltage corresponding to the preset voltage hysteresis interval is used to divide a first derating interval and a second derating interval, the voltage value of the first derating interval is less than the voltage value of the second derating interval, and the target derating strategy is determined based on the voltage variation direction of the battery and the derating sub-grade voltage corresponding to the preset voltage hysteresis interval, comprising: in the case that the battery is in a voltage rising variation direction, the derating control strategy corresponding to the first derating interval is taken as the target derating strategy; in the case that the battery is in a voltage falling variation direction, the derating control strategy corresponding to the second derating interval is taken as the target derating strategy.

3. The control method of a battery according to claim 1, characterized by, Further comprising: acquiring a maximum value of a sub-grade voltage in a plurality of derating sub-grade voltages corresponding to the battery; determining a target hysteresis voltage based on the maximum value of the sub-grade voltage; determining a preset voltage hysteresis interval corresponding to each derating sub-grade voltage based on the target hysteresis voltage.

4. The control method of a battery according to claim 3, characterized by, Determining a preset hysteresis voltage based on the maximum value of the sub-grade voltage, comprising: obtaining a product between the maximum value of the sub-grade voltage and a preset sampling deviation coefficient to obtain the target hysteresis voltage.

5. The control method of a battery according to claim 3, characterized by, Determining a preset voltage hysteresis interval corresponding to each derating sub-grade voltage based on the target hysteresis voltage, comprising: determining a target hysteresis range based on the target hysteresis voltage; mapping the target hysteresis range to each derating sub-grade voltage to determine a preset voltage hysteresis interval corresponding to each derating sub-grade voltage, wherein each derating sub-grade voltage is within the corresponding preset voltage hysteresis interval.

6. The control method of a battery according to any one of claims 1 to 5, characterized by, Further comprising: determining a target derating strategy based on the current voltage when the current voltage is outside the preset voltage hysteresis interval.

7. A computer readable storage medium characterized in that, A storage medium having a battery control program stored thereon, which, when executed by a processor, implements the battery control method according to any one of claims 1-6.

8. A control device of a battery, characterized by comprising: The device comprises: an acquisition module configured to acquire a current voltage of the battery; a control module configured to determine a target derating strategy based on a voltage variation direction of the battery and a derating sub-grade voltage corresponding to the preset voltage hysteresis interval, when it is determined that the current voltage is within a preset voltage hysteresis interval, to control charging or discharging of the battery based on the target derating strategy.

9. A controller characterized by comprising: A memory, a processor, and a battery control program stored on the memory and executable on the processor, wherein the processor executes the battery control program to implement the battery control method according to any one of claims 1-6.

10. A vehicle characterized by comprising: Comprising: a battery; A controller is configured to acquire a current voltage of the battery, and determine a target derating strategy based on a voltage variation direction of the battery and a derating voltage corresponding to a preset voltage hysteresis interval, in a case where the current voltage is within the preset voltage hysteresis interval, to perform charging control or discharging control on the battery based on the target derating strategy.