Method and apparatus for processing state of charge, vehicle, and storage medium

By adjusting and rounding the preset conditions for the battery system's state of charge, the problem of inaccurate state of charge display in electric vehicles is solved, improving the reliability of the display and user trust, and alleviating the driver's range anxiety.

CN116605093BActive Publication Date: 2025-12-05CHINA FAW CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310756322.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-26
Publication Date
2025-12-05
Estimated Expiration
2043-06-26

AI Technical Summary

Technical Problem

In existing electric vehicles, the accuracy of the state of charge directly displayed from the battery management system is relatively low, leading to range anxiety and distrust among drivers.

Method used

By collecting the state of charge (SOC) of the battery system and adjusting it in conjunction with the first and second preset conditions, the adjusted SOC is output to avoid data overflow and fluctuations. The SOC change trend is processed by rounding up or down to ensure the accuracy of the displayed SOC.

Benefits of technology

It improves the accuracy of the status of charge display, alleviates drivers' range anxiety, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116605093B_ABST
    Figure CN116605093B_ABST
Patent Text Reader

Abstract

The application discloses a state of charge processing method and device, vehicle and storage medium. Wherein, the method comprises: collecting a first state of charge from a battery system of a vehicle; based on the first state of charge, a first preset condition and a second preset condition, adjusting the first state of charge to obtain a second state of charge, wherein the first preset condition is used to represent a condition for determining that the first state of charge has data overflow or the absolute value of the difference between the first state of charge and the preset endpoint value is less than the preset threshold value, and the second preset condition is used to represent a condition for determining the change trend of the first state of charge; and outputting the second state of charge. The application solves the technical problem of low accuracy of the displayed state of charge caused by directly displaying the state of charge obtained from the battery management system to the driver.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicles, and more particularly, to a method, apparatus, vehicle, and storage medium for processing a state of charge. Background Technology

[0002] With the increasing popularity of electric vehicles, their driving experience is receiving more and more attention from drivers. Functions that are easy to understand and perceive, such as instrument displays, have naturally become key to enhancing the driving experience.

[0003] Traditional cars and electric vehicles differ fundamentally in their principles for displaying "remaining fuel" on dashboards. Traditional cars rely on conventional mechanical structures and simple sensors, while electric vehicles rely on complex algorithms and numerous sensors, making them more prone to fluctuations or errors that can negatively impact the driver's experience. In current electric vehicles, the State of Charge (SOC) sent directly from the Battery Management System (BMS) is typically displayed to the driver. While this is a realistic design, it's not the best driving experience. The directly displayed SOC is susceptible to obvious and unexpected jumps or fluctuations, leading to driver distrust and consequently anxiety and panic regarding the vehicle's remaining range.

[0004] There is currently no effective solution to the above problems. Summary of the Invention

[0005] This invention provides a method, apparatus, vehicle, and storage medium for processing state of charge (SOC), to at least address the technical problem of low accuracy in displaying SOC caused by directly displaying the SOC obtained from the battery management system to the driver.

[0006] According to one aspect of the present invention, a method for processing state of charge (SOC) is provided, comprising: acquiring a first SOC from a vehicle's battery system; adjusting the first SOC based on the first SOC, a first preset condition, and a second preset condition to obtain a second SOC, wherein the first preset condition characterizes a condition that determines whether the first SOC has data overflow or the absolute value of the difference between the first SOC and a preset endpoint value is less than a preset threshold, and the second preset condition characterizes a condition corresponding to a trend in the first SOC; and outputting the second SOC.

[0007] Optionally, the first state of charge is adjusted based on the first state of charge, the first preset condition, and the second preset condition to obtain the second state of charge, including: determining the second state of charge as a preset endpoint value in response to the first state of charge satisfying the first preset condition; and determining the second state of charge based on the first state of charge, the second preset condition, and the historical first state of charge in response to the first state of charge not having data overflow, or the absolute value of the difference between the first state of charge and the preset endpoint value being equal to or greater than a preset threshold, wherein the historical first state of charge is the state of charge collected from the vehicle's battery system in the adjacent previous cycle of the cycle in which the first state of charge was collected.

[0008] Optionally, the preset endpoint value includes a first endpoint value and a second endpoint value, wherein the first endpoint value is greater than the second endpoint value. In response to the first state of charge satisfying the first preset condition, the second state of charge is determined as the preset endpoint value. Determining the second state of charge as the preset endpoint value includes: in response to the absolute value of the difference between the first state of charge and the first endpoint value being less than a preset threshold, or the first state of charge being greater than or equal to the first endpoint value, the second state of charge is determined as the first endpoint value; in response to the absolute value of the difference between the first state of charge and the second endpoint value being less than a preset threshold, or the first state of charge being less than or equal to the second endpoint value, the second state of charge is determined as the second endpoint value.

[0009] Optionally, in response to the absence of data overflow in the first state of charge, or the absolute value of the difference between the first state of charge and the preset endpoint value being equal to or greater than a preset threshold, determining the second state of charge based on the first state of charge, the second preset condition, and the historical first state of charge includes: in response to the first state of charge and the historical first state of charge satisfying the second preset condition, rounding up the historical first state of charge to obtain the third state of charge; and determining the second state of charge based on the historical first state of charge and the third state of charge.

[0010] Optionally, determining the second state of charge based on the historical first state of charge, the historical first state of charge, and the third state of charge includes: determining the second state of charge as the third state of charge in response to the first state of charge being greater than the third state of charge; and determining the second state of charge as the historical second state of charge in response to the first state of charge being equal to or less than the third state of charge, wherein the historical second state of charge is the state of charge determined based on the historical first state of charge.

[0011] Optionally, in response to the absence of data overflow in the first state of charge, or the absolute value of the difference between the first state of charge and the preset endpoint value being equal to or greater than a preset threshold, determining the second state of charge based on the first state of charge, the second preset condition, and the historical first state of charge includes: in response to the first state of charge and the historical first state of charge not satisfying the second preset condition, rounding down the historical first state of charge to obtain the fourth state of charge; and determining the second state of charge based on the historical first state of charge and the fourth state of charge.

[0012] Optionally, determining the second state of charge based on the historical first state of charge, the historical first state of charge, and the fourth state of charge includes: determining the second state of charge as the fourth state of charge in response to the first state of charge being less than the fourth state of charge; and determining the second state of charge as the historical second state of charge in response to the first state of charge being equal to or greater than the fourth state of charge.

[0013] According to another aspect of the present invention, a state of charge (SOC) processing apparatus is also provided, comprising: a data acquisition module for acquiring a first SOC from a vehicle's battery system; a determination module for adjusting the first SOC based on the first SOC, a first preset condition, and a second preset condition to obtain a second SOC, wherein the first preset condition characterizes a condition that determines whether the first SOC has data overflow or the absolute value of the difference between the first SOC and a preset endpoint value is less than a preset threshold, and the second preset condition characterizes a condition corresponding to the changing trend of the first SOC; and an output module for outputting the second SOC.

[0014] Optionally, the determining module includes a first state of charge determining unit, configured to determine a second state of charge as a preset endpoint value in response to the first state of charge satisfying a first preset condition; and a second state of charge determining unit, configured to determine a second state of charge based on the first state of charge, the second preset condition, and a historical first state of charge in response to the first state of charge not having data overflow, or the absolute value of the difference between the first state of charge and the preset endpoint value being equal to or greater than a preset threshold, wherein the historical first state of charge is the state of charge collected from the vehicle's battery system in the adjacent previous cycle of the cycle in which the first state of charge was collected.

[0015] Optionally, the preset endpoint value includes a first endpoint value and a second endpoint value, wherein the first endpoint value is greater than the second endpoint value. The first state of charge determination unit is further configured to determine the second state of charge as the first endpoint value in response to the absolute value of the difference between the first state of charge and the first endpoint value being less than a preset threshold, or the first state of charge being greater than or equal to the first endpoint value; and to determine the second state of charge as the second endpoint value in response to the absolute value of the difference between the first state of charge and the second endpoint value being less than a preset threshold, or the first state of charge being less than or equal to the second endpoint value.

[0016] Optionally, the second state of charge determination unit is further configured to, in response to the first state of charge and the historical first state of charge satisfying the second preset condition, round up the historical first state of charge to obtain the third state of charge; and determine the second state of charge based on the historical first state of charge and the third state of charge.

[0017] Optionally, the second state of charge determination unit is further configured to determine the second state of charge as the third state of charge in response to the first state of charge being greater than the third state of charge; and to determine the second state of charge as a historical second state of charge in response to the first state of charge being equal to or less than the third state of charge, wherein the historical second state of charge is a state of charge determined based on the historical first state of charge.

[0018] Optionally, the second state of charge determination unit is further configured to, in response to the first state of charge and the historical first state of charge not satisfying the second preset condition, round down the historical first state of charge to obtain the fourth state of charge; and determine the second state of charge based on the historical first state of charge and the fourth state of charge.

[0019] Optionally, the second state of charge determination unit is further configured to determine the second state of charge as the fourth state of charge in response to the first state of charge being less than the fourth state of charge; and to determine the second state of charge as a historical second state of charge in response to the first state of charge being equal to or greater than the fourth state of charge.

[0020] According to another aspect of the present invention, a vehicle is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program a method for processing any of the states of charge in the embodiments of this application.

[0021] According to another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer storage medium, and the computer program is configured to be executed by a processor to perform any of the charging state processing methods in the embodiments of the present application.

[0022] In this embodiment of the invention, after acquiring a first state of charge from the vehicle's battery system, the first state of charge can be adjusted based on the first state of charge, a first preset condition, and a second preset condition to obtain a second state of charge, which is then output. It is worth noting that this application outputs the second state of charge after adjustment based on the first and second preset conditions, rather than directly outputting the first state of charge acquired from the battery system. This avoids fluctuations in the output state of charge, thereby improving the reliability of the output state of charge and achieving the technical effect of alleviating the driver's range anxiety. It also solves the technical problem of low accuracy in displaying the state of charge due to directly displaying the state of charge obtained from the battery management system to the driver. Attached Figure Description

[0023] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0024] Figure 1 This is a flowchart illustrating a method for processing the state of charge according to an embodiment of the present invention.

[0025] Figure 2 This is a schematic diagram of the control model of a method for processing the state of charge in an embodiment of this application;

[0026] Figure 3 This is a flowchart illustrating a preferred embodiment of a method for processing the state of charge in this application;

[0027] Figure 4 This is a structural block diagram of a state-of-charge processing apparatus according to one embodiment of this application. Detailed Implementation

[0028] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0029] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0030] According to an embodiment of the present invention, a method for processing a state of charge is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0031] Figure 1 This is a flowchart illustrating a method for processing the state of charge according to an embodiment of the present invention, as shown below. Figure 1 As shown, the method includes the following steps:

[0032] Step S102: Collect the first state of charge from the vehicle's battery system.

[0033] Specifically, the vehicle's battery system can be a battery management system, which has functions such as real-time monitoring of battery physical parameters, battery status estimation, online diagnostics, and early warning charging.

[0034] Step S104: Based on the first state of charge, the first preset condition, and the second preset condition, the first state of charge is adjusted to obtain the second state of charge. The first preset condition is used to characterize the condition that the first state of charge has data overflow or the absolute value of the difference between it and the preset endpoint value is less than the preset threshold. The second preset condition is used to characterize the condition corresponding to the changing trend of the first state of charge.

[0035] Specifically, after acquiring the first state of charge from the battery system, the first state of charge needs to be sent to the vehicle controller for processing. During this process, under certain special conditions, such as communication abnormalities between the battery system and the vehicle controller or mismatches in their communication protocols, or the battery system being in an initialization state or having logical problems in the battery system software, the first state of charge may experience data overflow. This application adjusts the first state of charge in conjunction with the first preset conditions to avoid data overflow in the output second state of charge.

[0036] Secondly, the aforementioned preset endpoint value can be an endpoint value that displays the state of charge. Under normal circumstances, the state of charge in the battery system is prone to fluctuations when it approaches the endpoint value, making the driver feel that the endpoint value is unreliable and does not match the actual usage time, causing range anxiety. For example, when the state of charge starts to discharge from 100%, it will quickly drop to 99%, or when the state of charge is 0%, the battery will quickly drop to 1%, giving the driver the feeling that the preset endpoint value is particularly unreliable and not durable. Therefore, it is necessary to evaluate the difference between the first state of charge and the preset endpoint value. If the absolute value of the difference is less than the preset threshold, the change in charge is very small, and the preset endpoint value is confirmed as the second state of charge.

[0037] In an optional embodiment, if there is no data overflow in the first state of charge, or if the absolute value of the difference between the first state of charge and the preset endpoint value is equal to or greater than the preset threshold, the first state of charge can be further adjusted based on the second preset condition.

[0038] It should be noted that the method provided in this application is applicable to application scenarios where the SOC display accuracy reaches 1%.

[0039] Step S106: Output the second state of charge.

[0040] Specifically, the second state of charge can be displayed on vehicle-related displays, including but not limited to any display with display function such as the vehicle's instrument panel, central control unit, projection, holographic display, and mobile terminal.

[0041] As an optional embodiment, Figure 2 This is a schematic diagram of a control model for a method of processing the state of charge in an embodiment of this application. The implementation of this control model depends on the vehicle's battery management system, vehicle controller, and display. However, it should be noted that the aforementioned vehicle controller can also be replaced by the controller in the battery management system or the instrument display controller. Figure 2 As shown, the control model mainly includes three stages. First, the initial SOC (equivalent to the first state of charge mentioned above in this application) is obtained. After obtaining the initial SOC from the battery management system, the initial SOC is processed in the vehicle controller to obtain the display SOC (equivalent to the second state of charge mentioned above in this application). Finally, the display SOC is output on the display.

[0042] Through the above steps, after acquiring the first state of charge from the vehicle's battery system, the first state of charge can be adjusted based on the first state of charge, the first preset condition, and the second preset condition to obtain the second state of charge, which is then output. It is worth noting that this application outputs the second state of charge after adjustment based on the first and second preset conditions, rather than directly outputting the first state of charge acquired from the battery system. This avoids fluctuations in the output state of charge, thereby improving the reliability of the output state of charge and achieving the technical effect of alleviating the driver's range anxiety. In turn, it solves the technical problem of low accuracy in displaying the state of charge due to directly displaying the state of charge obtained from the battery management system to the driver.

[0043] Optionally, the first state of charge is adjusted based on the first state of charge, the first preset condition, and the second preset condition to obtain the second state of charge, including: determining the second state of charge as a preset endpoint value in response to the first state of charge satisfying the first preset condition; and determining the second state of charge based on the first state of charge, the second preset condition, and the historical first state of charge in response to the first state of charge not having data overflow, or the absolute value of the difference between the first state of charge and the preset endpoint value being equal to or greater than a preset threshold, wherein the historical first state of charge is the state of charge collected from the vehicle's battery system in the adjacent previous cycle of the cycle in which the first state of charge was collected.

[0044] Specifically, after obtaining the first state of charge, if the first state of charge meets the first preset condition, that is, if the first state of charge has data overflow, or if the absolute value of the difference between the first state of charge and the preset endpoint value is less than the preset threshold, the second state of charge is confirmed to be the preset endpoint value. For example, the preset endpoint values ​​are 0 and 100%. If the first state of charge is negative, it means that the first state of charge has data overflow, and the second state of charge can be confirmed to be 0. If the first state of charge is greater than 100%, the first state of charge has data overflow, and the second state of charge is confirmed to be 100%.

[0045] If there is no data overflow in the first state of charge, or if the absolute value of the difference between the first state of charge and the preset endpoint value is equal to or greater than the preset threshold, it is necessary to further adjust the first state of charge based on its changing trend. For example, the changing trend of the battery system's state of charge can be confirmed based on the first state of charge and the historical first state of charge. If the first state of charge is greater than the historical first state of charge, it is confirmed that the battery system's state of charge is showing an upward trend. Then, the second state of charge can be confirmed based on the first state of charge and the historical first state of charge rounded up. If the first state of charge is equal to or less than the historical first state of charge, it is confirmed that the battery system's state of charge is showing a downward trend. Then, the second state of charge can be confirmed based on the first state of charge and the historical first state of charge rounded down.

[0046] Optionally, the preset endpoint value includes a first endpoint value and a second endpoint value, wherein the first endpoint value is greater than the second endpoint value. In response to the first state of charge satisfying the first preset condition, the second state of charge is determined as the preset endpoint value. Determining the second state of charge as the preset endpoint value includes: in response to the absolute value of the difference between the first state of charge and the first endpoint value being less than a preset threshold, or the first state of charge being greater than or equal to the first endpoint value, the second state of charge is determined as the first endpoint value; in response to the absolute value of the difference between the first state of charge and the second endpoint value being less than a preset threshold, or the first state of charge being less than or equal to the second endpoint value, the second state of charge is determined as the second endpoint value.

[0047] In an optional embodiment, the preset endpoint values ​​are 0 and 100%, the first endpoint value can be 100%, the second endpoint value is 0, and the preset threshold can be 0.05. The second state of charge can be confirmed using the following formula:

[0048]

[0049] Where A is used to characterize the first preset condition, α n This is used to characterize the first state of charge acquired in the nth cycle, where the aforementioned cycle refers to the execution cycle for acquiring the first state of charge, f(α).n ) A Used for the second state of charge after adjustment according to the first preset conditions.

[0050] Optionally, in response to the absence of data overflow in the first state of charge, or the absolute value of the difference between the first state of charge and the preset endpoint value being equal to or greater than a preset threshold, determining the second state of charge based on the first state of charge, the second preset condition, and the historical first state of charge includes: in response to the first state of charge and the historical first state of charge satisfying the second preset condition, rounding up the historical first state of charge to obtain the third state of charge; and determining the second state of charge based on the historical first state of charge and the third state of charge.

[0051] As an alternative implementation, if the historical first state of charge is 3.4%, the third state of charge is obtained by rounding up.

[0052] Optionally, determining the second state of charge based on the historical first state of charge, the historical first state of charge, and the third state of charge includes: determining the second state of charge as the third state of charge in response to the first state of charge being greater than the third state of charge; and determining the second state of charge as the historical second state of charge in response to the first state of charge being equal to or less than the third state of charge, wherein the historical second state of charge is the state of charge determined based on the historical first state of charge.

[0053] In an optional embodiment, the second preset condition may be that the first state of charge is greater than the historical first state of charge, i.e. (α) n -α n-1 )>0, α n α is used to characterize the first state of charge. n-1 Used to characterize the historical first state of charge, when the first state of charge is greater than the historical first state of charge, i.e., the first state of charge and the historical first state of charge satisfy the second preset condition, the second state of charge can be confirmed by the following formula:

[0054]

[0055] Here, Ceil is used to characterize the function for rounding up, Ceil(α) n-1 α is used to characterize the third state of charge. n α is used to characterize the first state of charge acquired in the nth cycle. n-1 The first state of charge in the (n-1)th cycle, i.e., the aforementioned historical first state of charge, f(α) n-1 The second state of charge obtained in the (n-1)th cycle is used to represent the historical second state of charge in this application. This is used to characterize the second state of charge when the first state of charge is met and the historical first state of charge meets the second preset condition.

[0056] It should be noted that all variables in the formulas involved in this application are expressed in units of 1%, for example, α n The value is 82, but α n The actual characterized state of charge is 82%.

[0057] In the above optional embodiments of this application, it is confirmed that when the state of charge (SBC) shows an upward trend, if the first SBC is greater than the rounded-up value, it indicates that the SBC is increasing significantly. If the first SBC is displayed directly, the output second SBC may increase by at least 2%, giving the user the feeling that the battery level is fluctuating and the charged battery is not durable. However, with the solution of this application, if the actual first SBC increases too quickly when the battery level is increasing, the third SBC, after being rounded up, is displayed. This gives the user the intuitive feeling that the SBC is increasing in 1% increments and will not suddenly jump significantly. If the first SBC is less than or equal to the third SBC, it indicates that the SBC is increasing less than 1%. In this case, the second SBC is determined to be the historical second SBC, which can prevent the displayed SBC from increasing too quickly, thereby increasing the user's trust in the value of the second SBC and improving the user experience.

[0058] Optionally, in response to the absence of data overflow in the first state of charge, or the absolute value of the difference between the first state of charge and the preset endpoint value being equal to or greater than a preset threshold, determining the second state of charge based on the first state of charge, the second preset condition, and the historical first state of charge includes: in response to the first state of charge and the historical first state of charge not satisfying the second preset condition, rounding down the historical first state of charge to obtain the fourth state of charge; and determining the second state of charge based on the historical first state of charge and the fourth state of charge.

[0059] Specifically, if the first state of charge does not meet the second preset condition (i.e., the first state of charge is less than or equal to the historical first state of charge), the second state of charge can be further confirmed based on the historical first state of charge and the fourth state of charge.

[0060] As an optional embodiment, if the historical first state of charge is 3.4%, after rounding down, the fourth state of charge is 3%.

[0061] Optionally, determining the second state of charge based on the historical first state of charge, the historical first state of charge, and the fourth state of charge includes: determining the second state of charge as the fourth state of charge in response to the first state of charge being less than the fourth state of charge; and determining the second state of charge as the historical second state of charge in response to the first state of charge being equal to or greater than the fourth state of charge.

[0062] In an optional embodiment, the second preset condition may be that the first state of charge is greater than the historical first state of charge, i.e. (α) n -α n-1 )>0, α n α is used to characterize the first state of charge. n-1 To characterize the historical first state of charge, when the first state of charge is less than or equal to the historical first state of charge (i.e., the first state of charge and the historical first state of charge do not satisfy the second preset condition), the second state of charge can be confirmed using the following formula:

[0063]

[0064] Floor() is used to denote the function of rounding down, Floor(α) n-1 α is used to characterize the fourth state of charge. n α is used to characterize the first state of charge acquired in the nth cycle. n-1 The first state of charge in the (n-1)th cycle, i.e., the aforementioned historical first state of charge, f(α) n-1 The second state of charge obtained in the (n-1)th cycle is used to represent the historical second state of charge in this application. This is used to characterize the second state of charge when the first state of charge is met and the historical first state of charge meets the second preset condition.

[0065] In the above optional embodiments of this application, if the first state of charge is less than the historical first state of charge, and the first state of charge is less than the fourth state of charge, it indicates that the charge is decreasing too rapidly. If the first state of charge is directly displayed to the user, the displayed state of charge will decrease rapidly, for example, directly from 58% to 50%, resulting in a jump in the state of charge. However, with the technical solution of this application, only the fourth state of charge will be displayed, so that the displayed state of charge decreases in 1% increments, without sudden large jumps. If the first state of charge is equal to or greater than the fourth state of charge, it indicates that the decrease in the state of charge is small, less than 1%. In this case, the second state of charge is determined to be the historical second state of charge, which can prevent the displayed state of charge from decreasing too rapidly, thereby increasing the user's trust in the value of the second state of charge and improving the user experience.

[0066] Figure 3 This is a flowchart illustrating a preferred embodiment of a method for processing the state of charge, as shown below. Figure 3 As shown, after obtaining the first state of charge, the first step is to determine the first state of charge α. n If the first preset condition A is met, and the first preset condition A is met in the first state of charge, output the second state of charge f(α). n) A If the first state of charge does not meet the first preset condition A, check whether the first state of charge and the historical first state of charge meet the second preset condition B. If the second preset condition B is met, output the second state of charge. If the second preset condition B is not met, output the second state of charge.

[0067] This application also provides an apparatus for implementing the above embodiments and preferred embodiments, which will not be repeated hereafter. As used below, the terms "unit" and "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0068] Figure 4 This is a structural block diagram of a state-of-charge processing apparatus according to one embodiment of this application, such as... Figure 4 As shown, the device includes:

[0069] Acquisition module 42 is used to acquire the first state of charge from the vehicle's battery system;

[0070] The determination module 44 is used to adjust the first state of charge based on the first state of charge, the first preset condition, and the second preset condition to obtain the second state of charge. The first preset condition is used to characterize the condition that the first state of charge has data overflow or the absolute value of the difference between it and the preset endpoint value is less than the preset threshold. The second preset condition is used to characterize the condition corresponding to the changing trend of the first state of charge.

[0071] Output module 46 outputs the second state of charge.

[0072] In this embodiment of the invention, after acquiring a first state of charge from the vehicle's battery system, the first state of charge can be adjusted based on the first state of charge, a first preset condition, and a second preset condition to obtain a second state of charge, which is then output. It is worth noting that this application outputs the second state of charge after adjustment based on the first and second preset conditions, rather than directly outputting the first state of charge acquired from the battery system. This avoids fluctuations in the output state of charge, thereby improving the reliability of the output state of charge and achieving the technical effect of alleviating the driver's range anxiety. It also solves the technical problem of low accuracy in displaying the state of charge due to directly displaying the state of charge obtained from the battery management system to the driver.

[0073] Optionally, the determining module includes a first state of charge determining unit, configured to determine a second state of charge as a preset endpoint value in response to the first state of charge satisfying a first preset condition; and a second state of charge determining unit, configured to determine a second state of charge based on the first state of charge, the second preset condition, and a historical first state of charge in response to the first state of charge not having data overflow, or the absolute value of the difference between the first state of charge and the preset endpoint value being equal to or greater than a preset threshold, wherein the historical first state of charge is the state of charge collected from the vehicle's battery system in the adjacent previous cycle of the cycle in which the first state of charge was collected.

[0074] Optionally, the preset endpoint value includes a first endpoint value and a second endpoint value, wherein the first endpoint value is greater than the second endpoint value. The first state of charge determination unit is further configured to determine the second state of charge as the first endpoint value in response to the absolute value of the difference between the first state of charge and the first endpoint value being less than a preset threshold, or the first state of charge being greater than or equal to the first endpoint value; and to determine the second state of charge as the second endpoint value in response to the absolute value of the difference between the first state of charge and the second endpoint value being less than a preset threshold, or the first state of charge being less than or equal to the second endpoint value.

[0075] Optionally, the second state of charge determination unit is further configured to, in response to the first state of charge and the historical first state of charge satisfying the second preset condition, round up the historical first state of charge to obtain the third state of charge; and determine the second state of charge based on the historical first state of charge and the third state of charge.

[0076] Optionally, the second state of charge determination unit is further configured to determine the second state of charge as the third state of charge in response to the first state of charge being greater than the third state of charge; and to determine the second state of charge as a historical second state of charge in response to the first state of charge being equal to or less than the third state of charge, wherein the historical second state of charge is a state of charge determined based on the historical first state of charge.

[0077] Optionally, the second state of charge determination unit is further configured to, in response to the first state of charge and the historical first state of charge not satisfying the second preset condition, round down the historical first state of charge to obtain the fourth state of charge; and determine the second state of charge based on the historical first state of charge and the fourth state of charge.

[0078] Optionally, the second state of charge determination unit is further configured to determine the second state of charge as the fourth state of charge in response to the first state of charge being less than the fourth state of charge; and to determine the second state of charge as a historical second state of charge in response to the first state of charge being equal to or greater than the fourth state of charge.

[0079] According to another aspect of the present invention, a vehicle is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program a method for processing any of the states of charge in the embodiments of this application.

[0080] According to another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer storage medium, and the computer program is configured to be executed by a processor to perform any of the charging state processing methods in the embodiments of the present application.

[0081] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: determining a second state of charge as a preset endpoint value in response to a first state of charge satisfying a first preset condition; determining a second state of charge based on the first state of charge, the second preset condition, and a historical first state of charge in response to no data overflow in the first state of charge, or the absolute value of the difference between the first state of charge and the preset endpoint value being equal to or greater than a preset threshold, wherein the historical first state of charge is the state of charge collected from the vehicle's battery system in the adjacent previous cycle of the cycle in which the first state of charge was collected.

[0082] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: determining a second charge state as the first endpoint value in response to the absolute value of the difference between the first charge state and the first endpoint value being less than a preset threshold, or the first charge state being greater than or equal to the first endpoint value; and determining a second charge state as the second endpoint value in response to the absolute value of the difference between the first charge state and the second endpoint value being less than a preset threshold, or the first charge state being less than or equal to the second endpoint value.

[0083] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: in response to a first state of charge and a historical first state of charge satisfying a second preset condition, rounding up the historical first state of charge to obtain a third state of charge; and determining a second state of charge based on the historical first state of charge and the third state of charge.

[0084] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: determining a second charge state as a third charge state in response to a first charge state being greater than a third charge state; and determining a second charge state as a historical second charge state in response to a first charge state being equal to or less than a third charge state, wherein the historical second charge state is a charge state determined based on a historical first charge state.

[0085] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: in response to the first state of charge and the historical first state of charge not satisfying the second preset condition, rounding down the historical first state of charge to obtain a fourth state of charge; and determining a second state of charge based on the historical first state of charge and the fourth state of charge.

[0086] Optionally, the computer-readable storage medium is further configured to store program code for performing the following steps: determining a second charge state as a fourth charge state in response to a first charge state being less than a fourth charge state; and determining a second charge state as a historical second charge state in response to a first charge state being equal to or greater than a fourth charge state.

[0087] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0088] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0089] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0090] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0091] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0092] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0093] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method of processing state of charge, characterized by, The method comprises: collecting a first state of charge from a battery system of a vehicle; adjusting the first state of charge based on the first state of charge, a first preset condition and a second preset condition to obtain a second state of charge, wherein the first preset condition is used to represent a condition for determining that the first state of charge has data overflow or an absolute value of a difference between the first state of charge and a preset endpoint value is less than a preset threshold, and the second preset condition is used to represent a condition for determining a change trend of the first state of charge, in a case where the first state of charge meets the first preset condition, the second state of charge is the preset endpoint value, in a case where the first state of charge does not meet the first preset condition and the first state of charge and a historical first state of charge meet the second preset condition, the second state of charge is a historical second state of charge or a third state of charge, the third state of charge is obtained by rounding up the historical first state of charge, the historical first state of charge is a state of charge collected from the battery system of the vehicle in a period adjacent to a previous period of the period in which the first state of charge is collected, and the historical second state of charge is a state of charge determined based on the historical first state of charge, in a case where the first state of charge does not meet the first preset condition and the first state of charge and the historical first state of charge do not meet the second preset condition, the second state of charge is the historical second state of charge or a fourth state of charge, and the fourth state of charge is obtained by rounding down the historical first state of charge; outputting the second state of charge.

2. The method of claim 1, wherein, The adjusting the first state of charge based on the first state of charge, the first preset condition and the second preset condition to obtain a second state of charge comprises: in response to the first state of charge meeting the first preset condition, determining that the second state of charge is the preset endpoint value; in response to the first state of charge not having data overflow or an absolute value of a difference between the first state of charge and the preset endpoint value being equal to or greater than the preset threshold, determining the second state of charge based on the first state of charge, the second preset condition and the historical first state of charge.

3. The method of claim 2, wherein, The preset endpoint value comprises a first endpoint value and a second endpoint value, the first endpoint value is greater than the second endpoint value, and in response to the first state of charge meeting the first preset condition, determining that the second state of charge is the preset endpoint value comprises: in response to an absolute value of a difference between the first state of charge and the first endpoint value being less than the preset threshold or the first state of charge being greater than or equal to the first endpoint value, determining that the second state of charge is the first endpoint value; in response to an absolute value of a difference between the first state of charge and the second endpoint value being less than the preset threshold or the first state of charge being less than or equal to the second endpoint value, determining that the second state of charge is the second endpoint value.

4. The method of claim 2, wherein, in response to the first state of charge not having data overflow, or an absolute value of a difference between the first state of charge and the preset endpoint value being equal to or greater than the preset threshold, determining the second state of charge based on the first state of charge, the second preset condition and a historical first state of charge, including: in response to the first state of charge and the historical first state of charge satisfying the second preset condition, rounding up the historical first state of charge to obtain the third state of charge; determining the second state of charge based on the historical first state of charge and the third state of charge.

5. The method of claim 4, wherein, determining the second state of charge based on the historical first state of charge, the historical first state of charge and the third state of charge, including: in response to the first state of charge being greater than the third state of charge, determining the second state of charge as the third state of charge; in response to the first state of charge being equal to or less than the third state of charge, determining the second state of charge as the historical second state of charge.

6. The method of claim 2, wherein, in response to the first state of charge not having data overflow, or an absolute value of a difference between the first state of charge and the preset endpoint value being equal to or greater than the preset threshold, determining the second state of charge based on the first state of charge, the second preset condition and a historical first state of charge, including: in response to the first state of charge and the historical first state of charge not satisfying the second preset condition, rounding down the historical first state of charge to obtain the fourth state of charge; determining the second state of charge based on the historical first state of charge and the fourth state of charge.

7. The method of claim 6, wherein, determining the second state of charge based on the historical first state of charge, the historical first state of charge and the fourth state of charge, including: in response to the first state of charge being less than the fourth state of charge, determining the second state of charge as the fourth state of charge; in response to the first state of charge being equal to or greater than the fourth state of charge, determining the second state of charge as the historical second state of charge.

8. A state of charge processing apparatus characterized by comprising: including: a collection module, configured to collect a first state of charge from a battery system of a vehicle; determining a second state of charge based on the first state of charge, a first preset condition and a second preset condition, wherein the first preset condition is used to represent a condition that the first state of charge is determined to have data overflow or an absolute value of a difference between the first state of charge and a preset endpoint value is less than a preset threshold value, the second preset condition is used to represent a condition that a change trend of the first state of charge corresponds to, in a case that the first state of charge satisfies the first preset condition, the second state of charge is the preset endpoint value, in a case that the first state of charge does not satisfy the first preset condition and the first state of charge and a historical first state of charge satisfy the second preset condition, the second state of charge is a historical second state of charge or a third state of charge, the third state of charge is obtained by rounding up the historical first state of charge, the historical first state of charge is a state of charge collected from the battery system of the vehicle in a previous period adjacent to a period in which the first state of charge is collected, the historical second state of charge is a state of charge determined based on the historical first state of charge, in a case that the first state of charge does not satisfy the first preset condition and the first state of charge and the historical first state of charge do not satisfy the second preset condition, the second state of charge is the historical second state of charge or a fourth state of charge, the fourth state of charge is obtained by rounding down the historical first state of charge; an output module configured to output the second state of charge.

9. A vehicle comprising a memory and a processor, characterized in that The memory has stored therein a computer program, and the processor is configured to execute the computer program to perform the processing method of the state of charge according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium has stored therein a computer program, and the computer program is configured to be executed by the processor to perform the processing method of the state of charge according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Battery SOC correction method and device, and computer readable storage medium

    CN113820605A

  • Lithium iron phosphate battery state-of-charge correction method, apparatus and device, and vehicle

    CN115840147A