Vehicle soc correction method, device, apparatus and storage medium
By acquiring the vehicle timer status and static voltage to calculate the static SOC, the SOC value after abnormal power-off of the electric vehicle is corrected, solving the problem of mismatch in the SOC display of the electric vehicle and ensuring charging and discharging safety.
Patent Information
- Application Number
- CN202411183707.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2044-08-27
AI Technical Summary
When an electric vehicle experiences an abnormal power outage, it fails to store the SOC (State of Charge) at that time. If the vehicle restarts after a long period of time, the displayed SOC will not match the actual SOC, leading to malfunctions during charging and discharging, and even affecting safety.
By acquiring the timer status and historical SOC of the target vehicle, the vehicle's power-off state is determined. When there is an abnormal power-off and the static correction condition is met, the static voltage is acquired to calculate the static SOC. Based on the static SOC, the historical SOC is corrected to obtain the target SOC.
It can quickly and accurately correct the SOC value after abnormal power-off to match the actual battery capacity, avoid charging and discharging failures caused by SOC mismatch, and improve safety.
Smart Images

Figure CN119159995B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle data processing technology, and in particular to vehicle SOC correction methods, apparatus, equipment and storage media. Background Technology
[0002] The increasing popularity of electric vehicles is not only an important measure for my country to achieve green development and a low-carbon economy, but also a crucial way to promote national technological innovation and enhance international competitiveness. To prevent static correction from being triggered before the cell polarization reaction stops after charging and discharging, which could lead to the SOC being corrected to a value inconsistent with the actual capacity and thus causing deviations in power limits and charging rate limits from reality.
[0003] There are many limitations to static SOC correction, such as the inability to perform correction after battery aging, temperature correction, different chemical systems, or abnormal power outages (loss of low-voltage power). In practical applications, if a vehicle is stored and left unused for a long time, the low-voltage power supply is usually disconnected to prevent battery depletion. When the vehicle is used again, static SOC correction is required due to self-discharge and other reasons. Static SOC correction does not store the SOC after an abnormal power outage. When the vehicle is restarted after a long period of time, the displayed SOC will not match the actual SOC, leading to malfunctions during charging and discharging, and even affecting safety.
[0004] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main objective of this application is to provide a vehicle SOC calibration method, device, equipment, and storage medium, which aims to solve the technical problem that when an electric vehicle is abnormally powered off, the SOC is not stored, and when the vehicle is restarted after a long period of time, the displayed SOC and the actual SOC do not match, resulting in malfunctions during vehicle charging and discharging that affect safety.
[0006] To achieve the above objectives, this application proposes a vehicle SOC correction method, the vehicle SOC correction method comprising:
[0007] Obtain the timer status and historical SOC of the target vehicle, and determine the vehicle's power-down state based on the timer status;
[0008] When the vehicle power-down state is abnormal power-down and the target vehicle meets the static correction conditions, the static voltage of the target vehicle is obtained, and the static SOC is obtained based on the static voltage;
[0009] The historical SOC is corrected based on the static SOC to obtain the target SOC.
[0010] In one embodiment, when the vehicle's power-down state is an abnormal power-down and the target vehicle meets the static correction conditions, obtaining the static voltage of the target vehicle and obtaining the static SOC based on the static voltage includes:
[0011] When the vehicle's power-down state is an abnormal power-down, the current power-up stage is obtained;
[0012] When the current power-on phase is the initial power-on phase, the current voltage state is obtained;
[0013] When the current voltage state is a preset state, obtain the SOC calibration conditions;
[0014] When the target vehicle meets the SOC calibration conditions, it is determined that the target vehicle meets the static correction conditions;
[0015] Obtain the static voltage of the target vehicle, and calculate the static state of charge (SOC) based on the static voltage.
[0016] In one embodiment, determining that the target vehicle meets the static correction condition when the target vehicle meets the SOC calibration condition includes:
[0017] Based on the SOC calibration conditions, the power-on time interval, time threshold, historical low-voltage time interval, and number of times the target vehicle was started are obtained.
[0018] The target vehicle is determined to meet the SOC calibration conditions when any one of the following conditions is met: the timer is in an invalid state, the power-on time interval is greater than the time threshold, the historical low-voltage time interval is greater than the time threshold, or the number of times the target vehicle is started is a preset number.
[0019] In one embodiment, the step of correcting the historical SOC based on the static SOC to obtain the target SOC includes:
[0020] Compare the static SOC and the historical SOC to obtain the comparison result;
[0021] The historical SOC is corrected based on the comparison results to obtain the target SOC.
[0022] In one embodiment, correcting the historical SOC based on the comparison result to obtain the target SOC includes:
[0023] When the comparison result shows that the historical SOC is greater than the static SOC, the static SOC is taken as the target SOC;
[0024] When the comparison result shows that the historical SOC is less than or equal to the static SOC, the historical SOC is taken as the target SOC.
[0025] In one embodiment, obtaining the timer state and historical SOC of the target vehicle, and determining the vehicle's power-down state based on the timer state, includes:
[0026] Obtain the timer status and historical SOC of the target vehicle;
[0027] When the timer state is the first flag bit, an abnormal power-down is considered as a vehicle power-down state;
[0028] When the timer state is set to zero, normal power-off is considered as the vehicle being powered off.
[0029] In one embodiment, before obtaining the timer state and historical SOC of the target vehicle, and before obtaining the vehicle power-down state based on the timer state, the method further includes:
[0030] Obtain the vehicle start signal of the target vehicle, activate the timer of the target vehicle based on the vehicle start signal, and obtain the first flag bit;
[0031] When a power-down command is detected, the timer's flag bit is controlled to switch from the first flag bit to the zero flag bit based on the power-down command.
[0032] Furthermore, to achieve the above objectives, this application also proposes a vehicle SOC correction device, the vehicle SOC correction device comprising:
[0033] The acquisition module is used to acquire the timer status and historical SOC of the target vehicle, and to obtain the vehicle power-off status based on the timer status.
[0034] The acquisition module is further configured to acquire the static voltage of the target vehicle when the vehicle power-off state is abnormal power-off and the target vehicle meets the static correction conditions, and obtain the static SOC based on the static voltage;
[0035] The SOC correction module is used to correct the historical SOC based on the static SOC to obtain the target SOC.
[0036] In addition, to achieve the above objectives, this application also proposes a vehicle SOC correction device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the vehicle SOC correction method as described above.
[0037] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the vehicle SOC correction method as described above.
[0038] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the vehicle SOC correction method described above.
[0039] One or more technical solutions proposed in this application have at least the following technical effects:
[0040] By determining whether the vehicle has experienced an abnormal power-down based on the timer status at startup, and quickly obtaining a more accurate static SOC based on the static voltage when an abnormal power-down meets the static correction conditions, the system corrects the historical SOC from the last power-down based on the static SOC. This ensures that the SOC value after an abnormal power-down matches the displayed battery SOC value as closely as possible to the actual battery capacity. This prevents situations where the electric vehicle has not stored the SOC after an abnormal power-down, leading to a mismatch between the displayed SOC and the actual SOC when restarting after a long period of time, which could cause malfunctions during charging and discharging, or even affect safety. Attached Figure Description
[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0042] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is a flowchart illustrating an embodiment of the vehicle SOC correction method of this application.
[0044] Figure 2 A complete step diagram showing the correction of vehicle SOC based on static voltage provided in an embodiment of the vehicle SOC correction method of this application;
[0045] Figure 3 This is a flowchart illustrating Embodiment 2 of the vehicle SOC correction method of this application;
[0046] Figure 4 This is a schematic diagram of the module structure of the vehicle SOC correction device according to an embodiment of this application;
[0047] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the vehicle SOC correction method in the embodiments of this application. Detailed Implementation
[0048] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0049] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0050] The main solution of this application embodiment is: to obtain the timer state and historical SOC of the target vehicle, and to obtain the vehicle power-off state based on the timer state; when the vehicle power-off state is an abnormal power-off and the target vehicle meets the static correction conditions, to obtain the static voltage of the target vehicle, and to obtain the static SOC based on the static voltage; and to correct the historical SOC based on the static SOC to obtain the target SOC.
[0051] In this embodiment, for ease of description, the following description will focus on the vehicle SOC correction device as the execution subject.
[0052] With the increasing adoption of electric vehicles due to current technology, promoting their widespread use is not only an important measure for my country to achieve green development and a low-carbon economy, but also a crucial way to drive national scientific and technological innovation and enhance international competitiveness. To prevent static correction from being triggered when the cell polarization reaction has not stopped after charging and discharging, which could lead to the SOC being corrected to a value inconsistent with the actual capacity, thus causing deviations between power limits and charging rate limits and the actual situation.
[0053] There are many limitations to static SOC correction, such as the inability to perform correction after battery aging, temperature correction, different chemical systems, or abnormal power outages (loss of low-voltage power). In practical applications, if a vehicle is stored and left unused for a long time, the low-voltage power supply is usually disconnected to prevent battery depletion. When the vehicle is used again, static SOC correction is required due to self-discharge and other reasons. Static SOC correction does not store the SOC after an abnormal power outage. When the vehicle is restarted after a long period of time, the displayed SOC will not match the actual SOC, leading to malfunctions during charging and discharging, and even affecting safety.
[0054] This application provides a solution that corrects the displayed battery SOC value as much as possible after an abnormal power outage, so as to match the actual battery capacity.
[0055] As can be seen from the above embodiments, this application discloses a vehicle SOC correction method, apparatus, device, and storage medium, relating to the field of vehicle data processing technology. The method discloses: acquiring the timer state and historical SOC of the target vehicle; obtaining the vehicle's power-down state based on the timer state; when the vehicle's power-down state is abnormal and the target vehicle meets the static correction conditions, acquiring the target vehicle's static voltage and obtaining the static SOC based on the static voltage; correcting the historical SOC based on the static SOC to obtain the target SOC. This method determines whether the vehicle has experienced an abnormal power-down by using the timer state when the vehicle starts. For abnormal power-downs that meet the static correction conditions, a more accurate static SOC is obtained based on the static voltage. The historical SOC from the previous power-down is corrected based on the static SOC, ensuring that the SOC value after an abnormal power-down is as close as possible to the displayed battery SOC value, matching the actual battery capacity and reducing safety risks during vehicle use.
[0056] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device capable of performing the above functions, such as a vehicle SOC calibration device. The following description uses a vehicle SOC calibration device as an example to illustrate this embodiment and the subsequent embodiments.
[0057] Based on this, embodiments of this application provide a vehicle SOC correction method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the vehicle SOC correction method of this application.
[0058] In this embodiment, the vehicle SOC correction method includes steps S10 to S40:
[0059] Step S10: Obtain the timer status and historical SOC of the target vehicle, and obtain the vehicle power-off status based on the timer status.
[0060] Understandably, the timer on the target vehicle could be an in-vehicle clock or another timekeeping device.
[0061] It should be understood that the historical SOC can be the SOC of the target vehicle recorded last time before startup.
[0062] It should be noted that the timer state can include state 1 and state 0; the vehicle power-off state can include normal power-off and abnormal power-off.
[0063] In one feasible implementation, step S10 may include steps A11 to A13:
[0064] Step A11: Obtain the timer status and historical SOC of the target vehicle.
[0065] It should be noted that this embodiment can be implemented either when starting the target vehicle for the first time or after normal use. If it is the first time starting the vehicle, there may be no historical SOC, or the historical SOC may be regarded as 0. If it is the vehicle after normal use, the historical SOC can be understood as the SOC updated last time the target vehicle was stopped.
[0066] In step A12, when the timer state is the first flag bit, the abnormal power-down is taken as the vehicle power-down state.
[0067] Understandably, the first flag of the timer can be interpreted as an output signal. When the timer outputs the first flag signal, the last time the vehicle was powered down was an abnormal power-down.
[0068] It should be understood that there are many reasons why an electric vehicle might experience an abnormal power outage, such as battery aging, poor contact due to damaged wiring, charging system malfunction, controller failure, or excessive motor load.
[0069] Step A13: When the timer state is zero, normal power-off is taken as the vehicle power-off state.
[0070] Understandably, a normal power-off can be understood as the user actively or automatically turning off the engine after using the target vehicle.
[0071] It should be noted that when the vehicle is powered on, the electric vehicle's timer automatically remains in the timer state it was in when the engine was off. At the same time, when the vehicle is normally turned off, the vehicle is controlled to be in the marked position.
[0072] In this embodiment, the state of the timer when the vehicle starts is used to determine whether the vehicle is experiencing an abnormal power-down, thereby enabling further correction of the target vehicle's State of Charge (SOC) in response to the abnormal power-down situation.
[0073] The above are merely feasible implementation methods for step S10 provided in this embodiment. This embodiment does not specifically limit the specific implementation method of step S10.
[0074] It should be emphasized that, before obtaining the timer status and historical SOC of the target vehicle, and determining the vehicle's power-off state based on the timer status, the process also includes:
[0075] The system acquires the vehicle start signal of the target vehicle, activates the timer of the target vehicle based on the vehicle start signal, and obtains a first flag bit; when a power-down command is detected, the system controls the flag bit of the timer to switch from the first flag bit to the zero flag bit based on the power-down command.
[0076] It is understood that the vehicle start signal can be a signal generated when the user starts the vehicle, or it can be a vehicle start signal generated when the vehicle starts automatically based on a pre-set scenario. The pre-set automatic start scenario can be customized according to the manufacturer or user's needs, and this embodiment does not limit it.
[0077] In specific implementation, when the vehicle starts, the timer of the target vehicle is activated based on the vehicle start signal, and the state of the timer is obtained. It can be understood that the state of the timer at this time is the state when the power is off. If the power is off normally, the timer state is the zero flag bit. If the power is off abnormally, the timer state is the first flag bit. This is because each time the vehicle is started and the timer is activated, the timer state is adjusted to the first flag bit. When the power is off normally, the timer state is adjusted to the zero flag bit.
[0078] It should be understood that if there is an abnormal power failure, the timer state will not be adjusted. The timer state will remain at the first flag bit of the start state. When the vehicle is started again, the timer state can be used to determine whether the vehicle had an abnormal power failure last time.
[0079] It should be further explained that the SOC change value of the target vehicle is obtained, and when the SOC change value is greater than or equal to the change threshold, the historical SOC is obtained based on the SOC change value.
[0080] The SOC change value can be understood as how much the vehicle's SOC decreases or increases when the vehicle is started and used.
[0081] It should be understood that the threshold for change can be 1%, 2%, 3%, 5%, etc. of the total battery power of the electric vehicle, and can be adjusted according to the actual situation.
[0082] It should be noted that when the change in the SOC of the target vehicle is greater than or equal to the change threshold, the current SOC of the target vehicle recorded is updated. It is emphasized here that the SOC updated last before power-off is the historical SOC when the target vehicle is restarted.
[0083] Step S20: When the vehicle power-down state is abnormal power-down and the target vehicle meets the static correction conditions, the static voltage of the target vehicle is obtained, and the static SOC is obtained based on the static voltage.
[0084] It should be understood that the static voltage of the target vehicle can be the battery voltage measured directly using a multimeter or other measuring tools when the vehicle is off and all electrical loads are turned off. This voltage reflects the battery's charge storage level under no-load conditions and is a basic indicator for assessing the battery's health.
[0085] It should be noted that the static SOC (State of Charge) of an electric vehicle refers to the percentage of remaining charge in the battery relative to its fully charged state, when the vehicle is not charging or discharging, i.e., under static conditions. This is an important indicator for assessing the current state of energy stored in the battery. Although SOC cannot be directly measured, it can be estimated based on the battery's static voltage. Static voltage refers to the voltage measurement when there is no external load, the vehicle is not running, and the battery is in an open-circuit state. Because the battery voltage is related to its state of charge, the battery voltage typically changes with the SOC.
[0086] It is important to emphasize that the static correction of the State of Charge (SOC) in electric vehicles is generally triggered after certain conditions are met during the BMS initialization phase. To prevent static correction from being triggered before the cell polarization reaction has stopped after charging and discharging, which could lead to the SOC being corrected to a value that does not match the actual capacity and thus cause deviations in power limits and charging rate limits from the actual situation, specific conditions may be added to the static correction of the SOC. These conditions may include: the time between BMS initialization and the power-down of the previous cycle being greater than 1 hour; and the SOC stored value being invalid during BMS initialization.
[0087] It should be noted that the vehicle's SOC will be updated at intervals. The specific interval can be set according to the time interval or according to the amount of SOC decrease. For example, the SOC can be updated every 10 minutes, or the SOC can be detected in real time, and the vehicle's displayed SOC will be updated every time the SOC decreases by 5%.
[0088] Step S30: Correct the historical SOC based on the static SOC to obtain the target SOC.
[0089] Understandably, the target SOC is the corrected value that is closest to the true SOC of the target vehicle.
[0090] In one feasible implementation, step S30 may include steps A31-A32:
[0091] Step A11: Compare the size of the static SOC and the historical SOC to obtain the comparison result.
[0092] Understandably, the comparison results can include static SOC being greater than historical SOC, static SOC being less than historical SOC, and static SOC being equal to historical SOC.
[0093] Step A12: Correct the historical SOC based on the comparison results to obtain the target SOC.
[0094] It should be noted that the step of correcting the historical SOC based on the comparison result to obtain the target SOC includes: when the comparison result shows that the historical SOC is greater than the static SOC, the static SOC is taken as the target SOC; when the comparison result shows that the historical SOC is less than or equal to the static SOC, the historical SOC is taken as the target SOC.
[0095] In practical implementation, the complete steps for correcting the vehicle's State of Charge (SOC) based on the static voltage can be found in [reference needed]. Figure 2 , Figure 2 First, KL15 is closed (i.e., the vehicle is started). Then, the vehicle controller wakes up the vehicle and initializes the timer (which can be simply understood as adjusting the timer state to the first flag bit). After the vehicle starts, the internal timer starts counting and stores the vehicle's SOC in real time. Every time the vehicle's SOC changes by 5%, the vehicle's SOC is stored again as Asoc (i.e., historical SOC). If the vehicle is not powered by KL30, the vehicle is abnormally powered down. After the vehicle restarts, KL30 re-energizes the power supply, and the vehicle controller is initialized. At this time, the controller reads the vehicle's internal timer. If the timer's stored value is not 0, the vehicle is in the abnormal power-down flag bit 1. Then, the vehicle's Asoc is read to determine whether the current vehicle meets the static correction conditions for battery level. If not, Asoc is directly used as the current SOC (i.e., target SOC). If the static correction conditions are met, Csoc is obtained through static voltage. Asoc and Csoc are compared. If Asoc is greater than Csoc, Csoc is used as the target SOC; if Asoc is not greater than Csoc, Asoc is used as the target SOC.
[0096] In this embodiment, by comparing in real time, it is possible to promptly detect and correct SOC estimation deviations caused by various factors (such as temperature changes, battery aging, measurement errors, etc.), making the target SOC closer to the actual state of the battery and improving the accuracy of the entire battery management system.
[0097] The above are merely feasible implementation methods for step S30 provided in this embodiment. This embodiment does not specifically limit the specific implementation method of step S30.
[0098] This embodiment provides a vehicle SOC correction method. It determines whether the vehicle has experienced an abnormal power-off by checking the timer status when the vehicle starts. When an abnormal power-off occurs and the static correction conditions are met, it quickly obtains a more accurate static SOC based on the static voltage. Based on the static SOC, it corrects the historical SOC from the last power-off, ensuring that the SOC value after an abnormal power-off matches the displayed battery SOC value as closely as possible to the actual battery capacity. This avoids the situation where the electric vehicle does not store the power-off SOC when it experiences an abnormal power-off, leading to a mismatch between the displayed SOC and the actual SOC when restarting after a long period of time. This can cause malfunctions during vehicle charging and discharging, and even affect safety.
[0099] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 2 Step S20, the vehicle SOC correction method further includes steps S21 to S25:
[0100] Step S21: When the vehicle power-off state is abnormal power-off, obtain the current power-on stage.
[0101] Understandably, the timer state will switch to the first flag bit after the vehicle starts. In order to determine the vehicle's power-off state, a problem arises: if the timer state has already automatically switched to the first flag bit after the vehicle starts driving, there is no way to identify whether the target vehicle was in the zero flag bit or the first flag bit when it was last powered off.
[0102] It should be understood that the current power-on phase can be simply divided into the initial power-on phase and the power-on driving phase. The initial power-on phase can be understood as the first moment after the vehicle is powered on, and the timer status is judged based on this time point. The power-on driving phase can be understood as the control phase in which the timer has automatically switched to the first flag bit after the vehicle is powered on.
[0103] Step S22: When the current power-on stage is the initial power-on stage, obtain the current voltage state.
[0104] Understandably, while the target vehicle is in the initial power-on phase, it is also necessary to determine the current voltage status.
[0105] It should be understood that the current voltage state can include plateau and non-plateau regions.
[0106] It should be noted that the non-plateau region typically refers to the area on the battery's voltage-capacity characteristic curve where changes are more pronounced. The change in battery voltage with its state of charge (SOC) is not linear, but rather exhibits specific curvilinear characteristics.
[0107] It is important to emphasize that within the plateau region, the battery voltage is relatively stable, and even if the State of Charge (SOC) changes, the voltage change is not significant. This typically occurs when the battery is close to full charge or near full discharge. Within the plateau region, it is difficult to accurately determine minute changes in SOC based solely on voltage.
[0108] It should be further emphasized that the non-plateau region is where the voltage is most sensitive to changes in SOC. Typically, this occurs during the initial stage of battery charging or the final stage of discharging, where the battery voltage responds significantly to changes in SOC, rising or falling rapidly as SOC increases or decreases.
[0109] Step S23: When the current voltage state is a preset state, obtain the SOC calibration conditions.
[0110] It is important to emphasize that static correction of the State of Charge (SOC) of an electric vehicle should be performed when the voltage is in a non-plateau region. This is because correction should be performed at a time when the battery voltage is sensitive to changes in SOC, as voltage changes at this point more accurately reflect actual SOC changes. Correction in the non-plateau region yields a more direct and accurate SOC estimate, thereby improving the overall accuracy of SOC estimation. This method utilizes the rapid changes in battery voltage, combined with other measurement parameters (such as current and temperature), to calculate a more precise battery state of charge using algorithms.
[0111] Understandably, the default state is the non-platform zone state.
[0112] It should be noted that the SOC calibration conditions include whether the time interval between power-down and power-up is long enough, whether the historical SOC is valid, whether the historical low voltage duration is long enough, and whether the timer flag is abnormal.
[0113] Step S24: When the target vehicle meets the SOC calibration conditions, determine that the target vehicle meets the static correction conditions.
[0114] In one feasible implementation, step S24 may include steps A241-A242:
[0115] Step A241: Based on the SOC calibration conditions, obtain the power-on time interval, time threshold, historical low-voltage time interval, and number of times the target vehicle is started.
[0116] Understandably, the power-on time interval can be the time interval between the last normal / abnormal power-off time and the current power-on time.
[0117] It is understood that the time threshold can be set to the shortest time value at which the SOC needs to be updated. This time threshold can be set based on the shortest time for the SOC to change, or it can be set according to the actual situation. This embodiment does not limit this.
[0118] It should be noted that the low voltage state of an electric vehicle usually refers to the voltage of the electric vehicle's power system (especially the low voltage auxiliary power supply, such as the 12V lead-acid battery) being lower than the normal operating range, which affects the normal operation of some functions of the vehicle.
[0119] It should be emphasized that the causes of low voltage state may include battery aging, insufficient charging, internal battery faults, wiring connection problems (such as poor contact or short circuit), and insufficient charging of the low voltage system by the high voltage system (in a hybrid system with high voltage and low voltage batteries).
[0120] Understandably, the time interval between the point in time when a low-pressure state occurs and the point in time when the vehicle is started is the historical low-pressure time interval.
[0121] It should be understood that the number of times the target vehicle is started can be used to determine whether the target vehicle is starting for the first time. If it is starting for the first time, there is no historical SOC, and the target SOC is directly based on the static SOC corresponding to the static voltage.
[0122] It can also include determining whether the timer flag is valid. If it is invalid, it directly determines the size of the historical SOC and the static SOC, and determines the target SOC based on the comparison result.
[0123] Step A242: When any one of the following conditions is met, the target vehicle is determined to meet the SOC calibration conditions: the timer state is invalid, the power-on time interval is greater than the time threshold, the historical low voltage time interval is greater than the time threshold, and the number of times the target vehicle is started is a preset number.
[0124] Understandably, if any one of these conditions is met, the target vehicle is considered to meet the SOC calibration conditions.
[0125] It should be understood that the preset number of times can be 0, that is, the SOC calibration conditions are met if the target vehicle has never been started.
[0126] In this embodiment, by setting specific conditions (such as power-on time interval, time threshold, historical low voltage time interval, and number of starts), the system can selectively perform SOC calibration at the most appropriate time. By setting precise condition settings and logical judgments, the timeliness and effectiveness of SOC calibration are ensured, which improves the overall performance of the electric vehicle.
[0127] The above are merely feasible implementation methods for step S24 provided in this embodiment. This embodiment does not specifically limit the specific implementation method of step S24.
[0128] Step S25: Obtain the static voltage of the target vehicle and obtain the static SOC based on the static voltage.
[0129] It should be noted that calculating static SOC can involve constructing an OCV-SOC mapping table or model: First, battery manufacturers experimentally determine the battery's static voltage at different SOCs, generating an OCV-SOC curve or mapping table. This table or model reflects the relationship between voltage and remaining capacity when the battery is under no load (i.e., open-circuit conditions). This step can vary between battery types and batches, making accuracy crucial. With the vehicle stationary and no charging or discharging activity, the battery's open-circuit voltage is accurately measured using a Battery Management System (BMS) or other measurement tools. The measured static voltage value is then compared to the pre-established OCV-SOC mapping table or model. Based on the mapping table or model, the SOC value closest to the measured voltage is found, or the corresponding SOC is calculated using a mathematical model.
[0130] This embodiment provides a vehicle SOC correction method. By filtering abnormal power-down, power-on initial stage, and preset voltage state through multi-level conditions, it can accurately identify scenarios that do require static correction and perform targeted calibration, thereby improving the effectiveness and accuracy of calibration.
[0131] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the vehicle SOC correction method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0132] This application also provides a vehicle SOC correction device, please refer to... Figure 4 The vehicle SOC correction device includes:
[0133] The acquisition module 10 is used to acquire the timer status and historical SOC of the target vehicle, and to obtain the vehicle power-off status based on the timer status.
[0134] The acquisition module 10 is further configured to acquire the static voltage of the target vehicle when the vehicle power-off state is abnormal power-off and the target vehicle meets the static correction conditions, and obtain the static SOC based on the static voltage;
[0135] SOC correction module 20 is used to correct the historical SOC based on the static SOC to obtain the target SOC.
[0136] The vehicle SOC calibration device provided in this application, employing the vehicle SOC calibration method described in the above embodiments, can solve the technical problem of electric vehicles not storing the SOC after abnormal power-off, resulting in a mismatch between the displayed SOC and the actual SOC upon restarting after a long period, leading to malfunctions during charging and discharging and affecting safety. Compared with the prior art, the beneficial effects of the vehicle SOC calibration device provided in this application are the same as those of the vehicle SOC calibration method provided in the above embodiments, and other technical features in the vehicle SOC calibration device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0137] This application provides a vehicle SOC correction device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the vehicle SOC correction method in the first embodiment described above.
[0138] The following is for reference. Figure 5 The diagram illustrates a structural schematic suitable for implementing a vehicle SOC correction device according to embodiments of this application. The vehicle SOC correction device in embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The vehicle SOC correction device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this application.
[0139] like Figure 5As shown, the vehicle SOC calibration device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.) that can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the vehicle SOC calibration device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. The communication device 1009 allows the vehicle SOC correction equipment to communicate wirelessly or wiredly with other devices to exchange data. Although the figures show vehicle SOC correction equipment with various systems, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0140] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0141] The vehicle SOC calibration device provided in this application, employing the vehicle SOC calibration method described in the above embodiments, can solve the technical problem of electric vehicles not storing the SOC after abnormal power-off, resulting in a mismatch between the displayed SOC and the actual SOC upon restarting after a long period, leading to malfunctions during charging and discharging and affecting safety. Compared with the prior art, the beneficial effects of the vehicle SOC calibration device provided in this application are the same as those of the vehicle SOC calibration method provided in the above embodiments, and other technical features of this vehicle SOC calibration device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0142] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0143] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0144] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the vehicle SOC correction method in the above embodiments.
[0145] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0146] The aforementioned computer-readable storage medium may be included in the vehicle SOC calibration device; or it may exist independently and not be installed in the vehicle SOC calibration device.
[0147] The aforementioned computer-readable storage medium carries one or more programs that, when executed by the vehicle SOC correction device, cause the vehicle SOC correction device to: acquire the timer state and historical SOC of the target vehicle, and obtain the vehicle power-off state based on the timer state; when the vehicle power-off state is an abnormal power-off and the target vehicle meets the static correction conditions, acquire the static voltage of the target vehicle, and obtain the static SOC based on the static voltage; and correct the historical SOC based on the static SOC to obtain the target SOC.
[0148] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can 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 can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0149] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0150] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0151] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described vehicle SOC correction method. This solves the technical problem of electric vehicles not storing the SOC after abnormal power-off, resulting in a mismatch between the displayed SOC and the actual SOC upon restarting after a long period, leading to malfunctions during charging and discharging and affecting safety. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the vehicle SOC correction method provided in the above embodiments, and will not be repeated here.
[0152] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the vehicle SOC correction method described above.
[0153] The computer program product provided in this application can solve the technical problem that when an electric vehicle experiences an abnormal power outage, it fails to store the SOC (State of Charge) after the power outage, and when it is restarted after a long period of time, the displayed SOC and the actual SOC of the vehicle do not match, leading to malfunctions during vehicle charging and discharging and affecting safety. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the vehicle SOC correction method provided in the above embodiments, and will not be repeated here.
[0154] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A vehicle SOC correction method characterized by, The vehicle SOC correction method comprises: obtaining a timer state and a historical SOC of a target vehicle, and obtaining a vehicle power-off state according to the timer state; when the vehicle power-off state is abnormal power-off and the target vehicle meets a static correction condition, obtaining a static voltage of the target vehicle, and obtaining a static SOC according to the static voltage; correcting the historical SOC based on the static SOC to obtain a target SOC; when the vehicle power-off state is abnormal power-off and the target vehicle meets the static correction condition, obtaining a static voltage of the target vehicle, and obtaining a static SOC according to the static voltage, comprises: when the vehicle power-off state is abnormal power-off, obtaining a current power-on stage; when the current power-on stage is a power-on initial stage, obtaining a current voltage state; when the current voltage state is a preset state, obtaining an SOC calibration condition; when the target vehicle meets the SOC calibration condition, determining that the target vehicle meets the static correction condition; obtaining a static voltage of the target vehicle, and obtaining a static SOC according to the static voltage; when the target vehicle meets the SOC calibration condition, determining that the target vehicle meets the static correction condition, comprises: based on the SOC calibration condition, obtaining a power-on time interval of the target vehicle, a time threshold, a historical low-voltage time interval, and a target vehicle start-up number; when any one of the following conditions is met, determining that the target vehicle meets the SOC calibration condition: the timer state is an invalid state, the power-on time interval is greater than the time threshold, the historical low-voltage time interval is greater than the time threshold, and the target vehicle start-up number is a preset number.
2. The vehicle SOC correction method according to claim 1, characterized by, correcting the historical SOC based on the static SOC to obtain a target SOC, comprises: comparing the static SOC and the historical SOC to obtain a comparison result; correcting the historical SOC based on the comparison result to obtain a target SOC.
3. The vehicle SOC correction method according to claim 2, characterized by, correcting the historical SOC based on the comparison result to obtain a target SOC, comprises: when the comparison result is that the historical SOC is greater than the static SOC, taking the static SOC as the target SOC; when the comparison result is that the historical SOC is less than or equal to the static SOC, taking the historical SOC as the target SOC.
4. The vehicle SOC correction method according to claim 1, characterized by, obtaining a timer state and a historical SOC of a target vehicle, and obtaining a vehicle power-off state according to the timer state, comprises: obtaining a timer state and a historical SOC of a target vehicle; when the timer state is a first flag bit, taking abnormal power-off as the vehicle power-off state; when the timer state is a zero flag bit, taking normal power-off as the vehicle power-off state.
5. The vehicle SOC correction method according to claim 4, characterized in that, Before obtaining a timer state and a historical SOC of a target vehicle, and obtaining a vehicle power-off state according to the timer state, the method further comprises: obtaining a vehicle start-up signal of the target vehicle, and activating a timer of the target vehicle based on the vehicle start-up signal to obtain a first flag bit; when a power-off instruction is detected, switching the flag bit of the timer from the first flag bit to a zero flag bit based on the power-off instruction.
6. A vehicle SOC correction device characterized by comprising: The vehicle SOC correction device is used for realizing the vehicle SOC correction method as claimed in claim 1, and the vehicle SOC correction device comprises: an acquisition module, configured to acquire a timer state and a historical SOC of a target vehicle, and obtain a vehicle power-off state according to the timer state; the acquisition module is further configured to acquire a static voltage of the target vehicle when the vehicle power-off state is an abnormal power-off and the target vehicle satisfies a static correction condition, and obtain a static SOC according to the static voltage; an SOC correction module, configured to correct the historical SOC based on the static SOC, and obtain a target SOC.
7. A vehicle SOC correction apparatus characterized by comprising: The device comprises a memory, a processor, and a vehicle SOC correction program stored on the memory and executable on the processor, and the vehicle SOC correction program is configured to realize the vehicle SOC correction method as claimed in any one of claims 1 to 5.
8. A storage medium, characterized by The storage medium has a vehicle SOC correction program stored thereon, and the vehicle SOC correction program is executed by a processor to realize the vehicle SOC correction method as claimed in any one of claims 1 to 5.
Citation Information
Patent Citations
Method for correcting full life cycle SOC of power battery system
CN117250514A
Battery management device
JP2023047588A