A method and device for SOC charge and discharge terminal calibration applied in BMS
By adopting the SOC charge and discharge end calibration method in the BMS system and using the charge/discharge end correction and cutoff correction, the problem of SOC estimation error accumulation caused by the ampere-hour integration method is solved, and the accuracy of SOC calculation and user experience are improved.
Patent Information
- Application Number
- CN202210800596.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-08
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-07-08
AI Technical Summary
Existing SOC estimation algorithms, such as the ampere-hour integration method, will continue to increase the cumulative error as the use time increases, resulting in inaccurate estimation of the battery state of charge and difficulty in meeting the requirements of engineering applications.
In the BMS system, the SOC charge and discharge end calibration method is adopted. After judging that the battery enters the charge/discharge state, the charge/discharge ampere-hour integration method is used to estimate the state of charge, and charge/discharge end correction is performed when specific conditions are met, including Charge end correction and discharge end correction, as well as charge/discharge cutoff correction, to dynamically calibrate the SOC calculation online.
The accuracy of SOC calculation is improved, ensuring that the SOC is 100% at the end of charging and 0% at the end of discharge, which improves the user experience and solves the problem of calculation error accumulation caused by the ampere-hour integration method.
Smart Images

Figure CN115061045B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of battery management systems, and in particular to a method and device for SOC charge and discharge terminal calibration applied in a BMS. Background Art
[0002] With the rise of new energy, energy storage systems and electric vehicles are developing rapidly. Lithium iron phosphate batteries are widely used in energy storage systems and electric vehicles due to their high energy density, good stability, high safety, and long cycle life. Therefore, the development and optimization of battery management systems (BMS) have become very important. Battery state of charge (SOC) estimation, as the core algorithm in the BMS system, plays a vital role in the BMS system. Accurate estimation of SOC is the basis for ensuring the safe operation of the battery, which is of great significance for large-scale engineering applications.
[0003] At present, the commonly used algorithms are the ampere-hour integration method, the open circuit voltage method, the Kalman filter method and the neural network method. The open circuit voltage method requires the battery to be stationary for a long time, but it is not applicable under actual working conditions; the Kalman filter method relies heavily on the accuracy of the battery model, and the algorithm is relatively complex and the amount of calculation is relatively large; the neural network method has high requirements for hardware, data samples and training methods. Although there are many different SOC estimation algorithms, the traditional ampere-hour integration method is still used in general engineering applications. Although the ampere-hour integration method has a simple structure and a small amount of calculation, due to the error in ampere-hour measurement, the cumulative error will become larger and larger as the use time increases, so using this method alone to estimate the battery SOC cannot achieve good results. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a method for SOC charge and discharge terminal calibration applied in a BMS system, which can perform terminal correction based on the traditional ampere-hour integration method to solve the problem of increasing cumulative error in ampere-hour integration.
[0005] In order to solve the above technical problems, the first aspect of the present invention provides a method for SOC charge and discharge terminal calibration applied in a BMS system, comprising the following steps:
[0006] S1, after determining that the battery enters the charge / discharge state, the charge / discharge ampere-hour integration method is used to estimate the state of charge SOC at the end of the charge / discharge;
[0007] S2, determine whether to enter the charge / discharge end correction, when the charge / discharge voltage meets the charge / discharge end correction condition, enter step S3; otherwise, calculate the SOC by the ampere-hour integration method, when the SOC obtained by the charge / discharge ampere-hour integration is greater than 99% / less than 1%, SOC = 99% / 1%, otherwise the SOC is the SOC obtained by the charge / discharge ampere-hour integration method;
[0008] S3, enter the charge / discharge end correction, when the SOC obtained by the charge / discharge end correction is greater than 99% / less than 1%, SOC = 99% / 1%, otherwise it is the SOC obtained by the charge / discharge end correction;
[0009] S4, judging whether the charge / discharge cut-off correction is entered in step S3, when the charge / discharge voltage meets the charge / discharge cut-off condition, the charge / discharge cut-off correction is performed to obtain SOC=100% / 0%, otherwise the SOC is obtained by the charge / discharge end correction.
[0010] In a possible design, the charging terminal correction condition in step S2 is that, in the charging state, when the highest cell voltage of the battery cell is greater than the charging terminal correction voltage and lasts for 3S, the SOC can enter the charging terminal correction stage;
[0011] The end-of-discharge correction condition in step S2 is that, in the discharge state, when the lowest cell voltage of the battery cell is less than the end-of-discharge correction voltage and lasts for 3S, the SOC can enter the end-of-discharge correction stage.
[0012] In a possible design, the charging terminal correction voltage is based on the curve SOC_OCV of SOC and open circuit voltage OCV provided by the manufacturer during charging. When the charging curve SOC_OCV of the highest cell voltage is ≥90%, the corresponding highest voltage at this time is the charging terminal correction voltage.
[0013] The discharge end correction voltage is the discharge end correction voltage when the discharge curve SOC_OCV≤10% of the minimum single cell voltage of the battery cell during discharge. At this time, the corresponding minimum voltage is the discharge end correction voltage.
[0014] In a possible design, the specific process of the charging terminal correction is:
[0015] According to the SOC_OCV≥90% in the charging curve, the terminal correction starts. Let the curve of SOC and time in the charging curve be the theoretical SOC curve SOC_Time1. At this time, the actual SOC has not reached or exceeded 90%. Let the curve of SOC and time here be the actual SOC curve SOC_Time2. The charging terminal correction is to gradually bring SOC_Time2 closer to SOC_Time1 as time changes under the charging terminal correction conditions. The correction curve is SOC_Time3; assuming that the three curves are linear changes, according to the slope of the theoretical SOC curve SOC_Time1, it can be obtained:
[0016]
[0017] Among them, SOC1 is any point on the SOC_Time1 curve that is greater than 90%, t is the time corresponding to this point, and t0 is the time corresponding to 100% on the SOC_Time1 curve;
[0018] Similarly, according to the slope of the modified SOC curve SOC_Time3, we can get:
[0019]
[0020] Where t is the time mentioned above, SOC2 is the SOC corresponding to time t on the SOC_Time3 curve, and SOC D It is the point on the SOC_Time3 curve corresponding to when the SOC_Time1 curve is 90%, that is, the SOC value when entering the charging terminal correction;
[0021] According to the SOC correspondence between the theoretical SOC curve SOC_Time1 and the modified SOC curve SOC_Time3 at the same time and the SOC2 value on the modified SOC curve SOC_Time3 at the current time, the SOC2 value of the SOC_Time3 curve at the next time can be obtained as follows:
[0022]
[0023] Among them, SOC2(t) represents the SOC2 at the current time t, and SOC2(t+1) is the SOC2 at the next time t+1; SOC1-90 in the formula is the change value of SOC_Time1 after entering the terminal correction, which can be replaced by the change value ΔSOC of the ampere-hour integral. Assuming that the charging is positive, ΔSOC is positive, then the SOC value SOC2(t+1) corrected at the charging terminal is:
[0024]
[0025] In a possible design, the specific process of the discharge end correction is:
[0026] According to the SOC_OCV≤10% in the discharge curve, the end correction is started. The curve of SOC and time in the discharge curve is assumed to be the theoretical SOC curve SOC_Time1. At this time, the actual SOC has not reached or exceeded 10%. The curve of SOC and time here is assumed to be the actual SOC curve SOC_Time2. The end correction of discharge is to gradually bring SOC_Time2 closer to SOC_Time1 as time changes under the conditions of the end correction of discharge. The correction curve is SOC_Time3. Assuming that the three curves are all linear changes, according to the slope of the theoretical SOC curve SOC_Time1, it can be obtained:
[0027]
[0028] Among them, SOC1 is any point on the SOC_Time1 curve that is less than 10%, t is the time corresponding to this point, and t0 is the time corresponding to 0% on the SOC_Time1 curve;
[0029] Similarly, according to the slope of the modified SOC curve SOC_Time3, we can get:
[0030]
[0031] Where t is the time mentioned above, SOC2 is the SOC corresponding to time t on the SOC_Time3 curve, and SOC D It is the point on the SOC_Time3 curve corresponding to when the SOC_Time1 curve is 10%, that is, the corrected SOC value when entering the end-of-discharge correction;
[0032] According to the SOC correspondence between the theoretical SOC curve SOC_Time1 and the modified SOC curve SOC_Time3 at the same time and the SOC2 value on the modified SOC curve SOC_Time3 at the current time, the SOC2 value of the SOC_Time3 curve at the next time can be obtained as follows:
[0033]
[0034] Among them, SOC2(t) represents the SOC2 at the current time t, and SOC2(t+1) represents the SOC2 at the next time t+1; assuming that the discharge is negative, the change value of SOC_Time1 after entering the terminal correction is a negative number, which can be replaced by the change value ΔSOC of the ampere-hour integral, and the SOC1 entering the discharge terminal correction is:
[0035] SOC1=10+ΔSOC
[0036] Then the corrected SOC value SOC2(t+1) at the end of discharge is:
[0037]
[0038] In a possible design, in the charging cut-off correction in step S4, when the SOC is equal to 99% in the charging state, the charging terminal correction or the ampere-hour integration is stopped first, and the SOC is kept unchanged until the full charging condition is reached and the SOC jumps to 100%;
[0039] In the discharge cut-off correction in step S4, when the SOC is equal to 1% in the discharge state, the discharge end correction or the ampere-hour integration is stopped first, and the SOC is kept unchanged until the emptying condition is met and the SOC jumps to 0%.
[0040] In a possible design, the full charge condition is that the highest single cell voltage of the battery cell is higher than the full charge voltage threshold of the SOC and the duration is 1S;
[0041] The discharge condition is that the lowest cell voltage of the battery is lower than the SOC reset voltage threshold and lasts for 1S.
[0042] In a possible design, the full charge voltage threshold is based on the highest cell voltage and the SOC charging curve of the battery cell during charging. When SOC_OCV=100% in the charging curve, the corresponding highest voltage is the full charge voltage threshold.
[0043] The reset voltage threshold is based on the minimum cell voltage of the battery cell and the SOC discharge curve during discharge. When SOC_OCV=0% in the discharge curve, the corresponding minimum voltage is the reset voltage threshold.
[0044] The second aspect of the present invention also provides a device for SOC charge and discharge terminal calibration used in a BMS, the device comprising at least one processor and at least one memory, the processor and the memory being coupled; a computer program is stored in the memory; when the processor executes the computer program stored in the memory, the device executes the method described in the first aspect.
[0045] The third aspect of the present invention further provides a computer-readable storage medium, in which a program or instruction is stored. When the program or instruction is executed by a processor, the computer executes the method described in the first aspect.
[0046] The present invention provides a method and device for SOC charge-discharge terminal calibration applied in BMS. By adopting charge-discharge terminal correction based on ampere-hour integration, online dynamic calibration can be performed to improve the accuracy of SOC calculation; the charge-discharge terminal cut-off correction can make the SOC just 100% when charging is cut off and just 0% when discharging is cut off, thereby improving the user experience. Compared with other methods, the present invention is simple in calculation and has less calculation amount. The use of ampere-hour integration and charge-discharge terminal calibration enables smooth switching of SOC. It not only inherits the advantages of simple design of traditional methods, but also solves the problem of continuous accumulation of calculation errors caused by ampere-hour integration for SOC estimation, and realizes real-time correction of SOC by the BMS system under charge and discharge state. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A flow chart of a method for SOC charge and discharge terminal calibration applied in a BMS system provided by the present invention.
[0048] Figure 2 This is a schematic diagram of the charging terminal correction algorithm provided by the present invention.
[0049] Figure 3 This is a schematic diagram of the discharge end correction algorithm provided by the present invention.
[0050] Figure 4 The present invention is a simplified block diagram of the structure of the SOC charge and discharge terminal calibration device used in the BMS system. DETAILED DESCRIPTION
[0051] Embodiment 1:
[0052] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0053] like Figure 1 As shown, in order to better understand the discharge end correction algorithm of the SOC charge and discharge end calibration method applied in the BMS according to the embodiment of the present invention, the workflow of the method is described, including the following steps:
[0054] S1, after determining that the battery enters the charge / discharge state, the charge / discharge ampere-hour integration method is used to estimate the state of charge SOC at the end of the charge / discharge;
[0055] S2, determine whether to enter the charge / discharge end correction, when the charge / discharge voltage meets the charge / discharge end correction condition, enter step S3; otherwise, calculate the SOC by the ampere-hour integration method, when the SOC obtained by the charge / discharge ampere-hour integration is greater than 99% / less than 1%, SOC = 99% / 1%, otherwise the SOC is the SOC obtained by the charge / discharge ampere-hour integration method;
[0056] S3, enter the charge / discharge end correction, when the SOC obtained by the charge / discharge end correction is greater than 99% / less than 1%, SOC = 99% / 1%, otherwise it is the SOC obtained by the charge / discharge end correction;
[0057] S4, judging whether the charge / discharge cut-off correction is entered in step S3, when the charge / discharge voltage meets the charge / discharge cut-off condition, the charge / discharge cut-off correction is performed to obtain SOC=100% / 0%, otherwise the SOC is obtained by the charge / discharge end correction.
[0058] Among them, the charge / discharge SOC estimated by the charge / discharge ampere-hour integration method is:
[0059]
[0060] In formula (1), SOC0 is the initial charge value of the battery state of charge; C E is the rated capacity of the battery; I(t) is the charge and discharge current of the battery at time t; t is the charge and discharge time; η is the charge and discharge efficiency coefficient, also known as the Coulomb efficiency coefficient, which represents the power dissipation inside the battery during the charge and discharge process, and is generally based on the charge and discharge rate and temperature correction coefficient.
[0061] In step S2, when the charge / discharge voltage meets the charge / discharge terminal correction condition, the charge / discharge terminal correction is performed to obtain the SOC, otherwise the SOC is calculated by the ampere-hour integration method;
[0062] The charging terminal correction condition is that when the highest cell voltage of the battery is greater than the charging terminal correction voltage and lasts for 3S in the charging state, the SOC can enter the charging terminal correction stage; the discharging terminal correction condition is that when the lowest cell voltage of the battery is less than the discharging terminal correction voltage and lasts for 3S in the discharging state, the SOC can enter the discharging terminal correction stage;
[0063] The charging terminal correction voltage is based on the curve (SOC_OCV) of SOC and open circuit voltage (OCV) provided by the manufacturer during charging. When the charging curve of the highest cell voltage SOC_OCV≥90%, the corresponding highest voltage at this time is the charging terminal correction voltage; the discharging terminal correction voltage is based on the discharge curve of the lowest cell voltage SOC_OCV≤10% during discharging. The corresponding lowest voltage at this time is the discharging terminal correction voltage;
[0064] If the charge / discharge terminal correction conditions are not met, the SOC is estimated by the charge / discharge ampere-hour integration method.
[0065] When the SOC obtained by the charge / discharge ampere-hour integration is greater than 99% / less than 1%, SOC = 99% / 1%, otherwise the SOC is the SOC obtained by the charge / discharge ampere-hour integration method;
[0066] In step S3, if the charge / discharge terminal correction condition is met, the charge / discharge terminal correction estimation SOC is entered.
[0067] Charging terminal correction Figure 2 As shown, Figure 2 This is a schematic diagram of the SOC charging terminal correction algorithm provided by the present invention. The charging terminal correction starts with the terminal correction based on the SOC_OCV≥90% in the charging curve. The curve of SOC and time in the charging curve is assumed to be the theoretical SOC curve SOC_Time1, and the actual SOC may not have reached or exceeded 90% at this time. The curve of SOC and time here is assumed to be the actual SOC curve SOC_Time2. The charging terminal correction is to gradually bring SOC_Time2 closer to SOC_Time1 as time changes under the correction conditions, and the correction curve is SOC_Time3. Assuming that the three curves are all linear changes, according to the slope of the theoretical SOC curve SOC_Time1, it can be obtained:
[0068]
[0069] In formula (2), SOC1 is any point on the SOC_Time1 curve that is greater than 90%, t is the time corresponding to the point, and t0 is the time corresponding to 100% on the SOC_Time1 curve.
[0070] Similarly, according to the slope of the modified SOC curve SOC_Time3, we can get:
[0071]
[0072] In formula (3), t is the time described in formula (2), SOC2 is the SOC corresponding to time t on the SOC_Time3 curve, and SOCD is the point on the SOC_Time3 curve corresponding to 90% of the SOC_Time1 curve, that is, the corrected SOC value when entering the charging terminal correction.
[0073] Combining equation (2) and equation (3) we get:
[0074]
[0075] Formula (4) is simplified to:
[0076]
[0077] Discretizing equation (5) yields:
[0078]
[0079] In formula (6), SOC2(t) represents the SOC2 at the current time t, and SOC2(t+1) represents the SOC2 at the next time t+1. SOC1-90 in formula (6) is the change value of SOC_Time1 after entering the terminal correction. Here, the change value ΔSOC of the ampere-hour integral can be used instead. Assuming that the charging is positive, ΔSOC is positive, that is, the SOC corrected at the charging terminal is:
[0080]
[0081] Discharge end correction Figure 3 As shown, Figure 3 This is a schematic diagram of the SOC end-of-discharge correction algorithm provided by the present invention. The end-of-discharge correction is based on the SOC_OCV≤10% in the discharge curve. The curve of SOC and time in the discharge curve is set as the theoretical SOC curve SOC_Time1. At this time, the actual SOC may not have reached or exceeded 10%. The curve of SOC and time here is set as the actual SOC curve SOC_Time2. The end-of-discharge correction is to gradually bring SOC_Time2 closer to SOC_Time1 as time changes under the correction conditions. The correction curve is SOC_Time3. Assuming that the three curves are all linear changes, according to the slope of the theoretical SOC curve SOC_Time1, it can be obtained:
[0082]
[0083] In formula (8), SOC1 is any point on the SOC_Time1 curve that is less than 10%, t is the time corresponding to the point, and t0 is the time corresponding to the SOC_Time1 curve reaching 0%.
[0084] Similarly, according to the slope of the modified SOC curve SOC_Time3, we can get:
[0085]
[0086] In formula (9), t is the time described in formula (8), SOC2 is the SOC corresponding to time t on the SOC_Time3 curve, and SOCD is the point on the SOC_Time3 curve corresponding to when the SOC_Time1 curve is 10%, that is, the corrected SOC value when entering the end-of-discharge correction.
[0087] Combining equation (8) and equation (9) we get:
[0088]
[0089] Formula (10) is simplified to:
[0090]
[0091] Discretizing equation (11) yields:
[0092]
[0093] In formula (12), SOC2(t) represents SOC2 at the current time t, and SOC2(t+1) represents SOC2 at the next time t+1.
[0094] Assuming that the discharge is negative, the change value of SOC_Time1 after entering the terminal correction is negative. Here, the change value ΔSOC of the ampere-hour integral can be used instead. Then the SOC1 entering the discharge terminal correction is:
[0095] SOC1=10+ΔSOC (13)
[0096] Substituting equation (13) into equation (12), the corrected SOC at the end of discharge is obtained as:
[0097]
[0098] In step S4, charge / discharge cutoff correction is performed.
[0099] When the charge / discharge voltage meets the charge / discharge cut-off condition, the charge / discharge cut-off correction is performed to obtain SOC=100% / 0%, otherwise the SOC is obtained by charge / discharge end correction.
[0100] When the charge and discharge cut-off correction conditions are met, enter the charge and discharge cut-off correction to estimate the SOC.
[0101] The charging cut-off correction is to stop charging terminal correction or ampere-hour integration when the SOC is equal to 99% in the charging state, and keep the SOC unchanged until the full charging condition is reached and the SOC jumps to 100%;
[0102] The discharge cut-off correction is to stop the discharge end correction or ampere-hour integration when the SOC is equal to 1% in the discharge state, and keep the SOC unchanged until the emptying condition is reached and the SOC jumps to 0%;
[0103] The full charge condition is that the highest cell voltage of the battery is higher than the full charge voltage threshold of the SOC and lasts for 1S; the emptying condition is that the lowest cell voltage of the battery is lower than the zero voltage threshold of the SOC and lasts for 1S;
[0104] When charging, based on the highest single cell voltage of the battery cell and the SOC charging curve, when SOC_OCV=100% in the charging curve, the corresponding highest voltage at this time is the full charge voltage threshold; when discharging, based on the lowest single cell voltage of the battery cell and the SOC discharge curve, when SOC_OCV=0% in the discharge curve, the corresponding lowest voltage at this time is the zero voltage threshold.
[0105] Embodiment 2:
[0106] like Figure 4 As shown, the present invention also provides a device for SOC charge and discharge terminal calibration applied in BMS, the device includes at least one processor and at least one memory, and also includes a communication interface and an internal bus; a computer program is stored in the memory; when the processor executes the computer program stored in the memory, the device executes the method as described in Example 1. The internal bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus. The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a U disk, a mobile hard disk, a read-only memory, a disk or an optical disk, etc.
[0107] The device may be provided as a terminal, a server or other forms of devices.
[0108] Figure 4 is a block diagram of a device shown as an example. The device may include one or more of the following components: a processing component, a memory, a power component, a multimedia component, an audio component, an input / output (I / O) interface, a sensor component, and a communication component. The processing component generally controls the overall operation of the electronic device, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component may include one or more processors to execute instructions to complete all or part of the steps of the above method. In addition, the processing component may include one or more modules to facilitate interaction between the processing component and other components. For example, the processing component may include a multimedia module to facilitate interaction between the multimedia component and the processing component.
[0109] The memory is configured to store various types of data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0110] The power supply assembly provides power to various components of the electronic device. The power supply assembly may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device. The multimedia assembly includes a screen that provides an output interface between the electronic device and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia assembly includes a front camera and / or a rear camera. When the electronic device is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0111] The audio component is configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the electronic device is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal. The I / O interface provides an interface between the processing component and the peripheral interface module, and the above-mentioned peripheral interface module can be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
[0112] The sensor assembly includes one or more sensors for providing various aspects of status assessment for the electronic device. For example, the sensor assembly can detect the on / off state of the electronic device, the relative positioning of components, such as the display and keypad of the electronic device, and the sensor assembly can also detect the position change of the electronic device or a component of the electronic device, the presence or absence of user contact with the electronic device, the orientation or acceleration / deceleration of the electronic device and the temperature change of the electronic device. The sensor assembly may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0113] The communication component is configured to facilitate wired or wireless communication between the electronic device and other devices. The electronic device can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0114] In an exemplary embodiment, the electronic device may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.
[0115] Embodiment 3:
[0116] The present invention also provides a non-volatile computer-readable storage medium, in which a program or instruction is stored. When the program or instruction is executed by a processor, the computer executes the method described in Example 1.
[0117] Specifically, a system, device or equipment equipped with a readable storage medium may be provided, on which a software program code for implementing the functions of any of the above-mentioned embodiments is stored, and a computer or processor of the system, device or equipment reads and executes the instructions stored in the readable storage medium. In this case, the program code read from the readable medium itself can implement the functions of any of the above-mentioned embodiments, so the machine-readable code and the readable storage medium storing the machine-readable code constitute a part of the present invention.
[0118] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk (such as CD-ROM, CD-R, CD-RW, DVD-20ROM, DVD-RAM, DVD-RW, DVD-RW), magnetic tape, etc. The storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0119] It should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented by a hardware processor or implemented by a combination of hardware and software modules in the processor.
[0120] It should be understood that the storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in a terminal or server.
[0121] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0122] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0123] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0124] Although the above describes the specific implementation methods of the present invention, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.
Claims
1. A method for SOC charge and discharge terminal calibration applied in BMS, characterized in that: The following steps are involved: S1, after determining that the battery enters the charge / discharge state, the charge / discharge ampere-hour integration method is used to estimate the state of charge SOC at the end of the charge / discharge; S2, determine whether to enter the charge / discharge end correction, and enter step S3 when the charge / discharge voltage meets the charge / discharge end correction condition; Otherwise, the SOC is calculated by the ampere-hour integration method. When the SOC obtained by the charge / discharge ampere-hour integration is greater than 99% / less than 1%, SOC=99% / 1%. Otherwise, the SOC is the SOC obtained by the charge / discharge ampere-hour integration method. S3, enter the charge / discharge end correction, when the SOC obtained by the charge / discharge end correction is greater than 99% / less than 1%, SOC = 99% / 1%, otherwise it is the SOC obtained by the charge / discharge end correction; The specific process of charging terminal correction is as follows: According to the SOC_OCV≥90% in the charging curve, the terminal correction starts. Let the curve of SOC and time in the charging curve be the theoretical SOC curve SOC_Time1. At this time, the actual SOC has not reached or exceeded 90%. Let the curve of SOC and time here be the actual SOC curve SOC_Time2. The charging terminal correction is to gradually bring SOC_Time2 closer to SOC_Time1 as time changes under the charging terminal correction conditions. The correction curve is SOC_Time3; assuming that the three curves are linear changes, according to the slope of the theoretical SOC curve SOC_Time1, it can be obtained: Among them, SOC1 is any point on the SOC_Time1 curve that is greater than 90%, t is the time corresponding to this point, and t0 is the time corresponding to 100% on the SOC_Time1 curve; Similarly, according to the slope of the modified SOC curve SOC_Time3, we can get: Where t is the time mentioned above, SOC2 is the SOC corresponding to time t on the SOC_Time3 curve, and SOC D It is the point on the SOC_Time3 curve corresponding to when the SOC_Time1 curve is 90%, that is, the SOC value when entering the charging terminal correction; According to the SOC correspondence between the theoretical SOC curve SOC_Time1 and the modified SOC curve SOC_Time3 at the same time and the SOC2 value on the modified SOC curve SOC_Time3 at the current time, the SOC2 value of the SOC_Time3 curve at the next time can be obtained as follows: Among them, SOC2(t) represents the SOC2 at the current time t, and SOC2(t+1) is the SOC2 at the next time t+1; SOC1-90 in the formula is the change value of SOC_Time1 after entering the terminal correction, which can be replaced by the change value ΔSOC of the ampere-hour integral. Assuming that the charging is positive, ΔSOC is positive, then the SOC value SOC2(t+1) corrected at the charging terminal is: The specific process of discharge end correction is: According to the SOC_OCV≤10% in the discharge curve, the end correction is started. The curve of SOC and time in the discharge curve is assumed to be the theoretical SOC curve SOC_Time1. At this time, the actual SOC has not reached or exceeded 10%. The curve of SOC and time here is assumed to be the actual SOC curve SOC_Time2. The end correction of discharge is to gradually bring SOC_Time2 closer to SOC_Time1 as time changes under the conditions of the end correction of discharge. The correction curve is SOC_Time3. Assuming that the three curves are all linear changes, according to the slope of the theoretical SOC curve SOC_Time1, it can be obtained: Among them, SOC1 is any point on the SOC_Time1 curve that is less than 10%, t is the time corresponding to this point, and t0 is the time corresponding to 0% on the SOC_Time1 curve; Similarly, according to the slope of the modified SOC curve SOC_Time3, we can get: Where t is the time mentioned above, SOC2 is the SOC corresponding to time t on the SOC_Time3 curve, and SOC D It is the point on the SOC_Time3 curve corresponding to when the SOC_Time1 curve is 10%, that is, the corrected SOC value when entering the end-of-discharge correction; According to the SOC correspondence between the theoretical SOC curve SOC_Time1 and the modified SOC curve SOC_Time3 at the same time and the SOC2 value on the modified SOC curve SOC_Time3 at the current time, the SOC2 value of the SOC_Time3 curve at the next time can be obtained as follows: Among them, SOC2(t) represents the SOC2 at the current time t, and SOC2(t+1) represents the SOC2 at the next time t+1; assuming that the discharge is negative, the change value of SOC_Time1 after entering the terminal correction is a negative number, which can be replaced by the change value ΔSOC of the ampere-hour integral, and the SOC1 entering the discharge terminal correction is: SOC1=10+ΔSOC According to the formula, the corrected SOC value SOC2(t+1) at the end of discharge is: S4, judging whether the charge / discharge cut-off correction is entered in step S3, when the charge / discharge voltage meets the charge / discharge cut-off condition, the charge / discharge cut-off correction is performed to obtain SOC=100% / 0%, otherwise the SOC is obtained by the charge / discharge end correction.
2. A method for SOC charge and discharge terminal calibration applied in a BMS as claimed in claim 1, characterized in that: The charging terminal correction condition in step S2 is that, in the charging state, when the highest cell voltage of the battery cell is greater than the charging terminal correction voltage and lasts for 3S, the SOC can enter the charging terminal correction stage; The end-of-discharge correction condition in step S2 is that, in the discharge state, when the lowest cell voltage of the battery cell is less than the end-of-discharge correction voltage and lasts for 3S, the SOC can enter the end-of-discharge correction stage.
3. A method for SOC charge and discharge terminal calibration applied in a BMS as claimed in claim 2, characterized in that: The charging terminal correction voltage is based on the SOC and open circuit voltage OCV curve SOC_OCV provided by the manufacturer during charging. When the charging curve SOC_OCV of the highest single cell voltage of the battery cell is ≥90%, the corresponding highest voltage at this time is the charging terminal correction voltage; The discharge end correction voltage is the discharge end correction voltage when the discharge curve SOC_OCV≤10% of the minimum single cell voltage of the battery cell during discharge. At this time, the corresponding minimum voltage is the discharge end correction voltage.
4. A method for SOC charge and discharge terminal calibration applied in a BMS as claimed in claim 1, characterized in that: In the charging cut-off correction in step S4, when the SOC is equal to 99% in the charging state, the charging end correction or the ampere-hour integration is stopped first, and the SOC is kept unchanged until the full charging condition is reached and the SOC jumps to 100%; In the discharge cut-off correction in step S4, when the SOC is equal to 1% in the discharge state, the discharge end correction or the ampere-hour integration is stopped first, and the SOC is kept unchanged until the emptying condition is met and the SOC jumps to 0%.
5. A method for SOC charge and discharge terminal calibration applied in a BMS as claimed in claim 4, characterized in that: The full charge condition is that the highest cell voltage of the battery cell is higher than the full charge voltage threshold of the SOC and the duration is 1S; The discharge condition is that the lowest cell voltage of the battery is lower than the SOC reset voltage threshold and lasts for 1S.
6. A method for SOC charge and discharge terminal calibration applied in a BMS as claimed in claim 5, characterized in that: The full charge voltage threshold is based on the highest single cell voltage and SOC charging curve of the battery cell during charging. When SOC_OCV=100% in the charging curve, the corresponding highest voltage is the full charge voltage threshold. The reset voltage threshold is based on the minimum cell voltage of the battery cell and the SOC discharge curve during discharge. When SOC_OCV=0% in the discharge curve, the corresponding minimum voltage is the reset voltage threshold.
7. A device for SOC charge and discharge terminal calibration used in BMS, characterized by: The device includes at least one processor and at least one memory, the processor and the memory are coupled; a computer program is stored in the memory; when the processor executes the computer program stored in the memory, the device executes the method according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the computer executes the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Lithium iron phosphate SOC terminal correction method
CN110794306A
