Method and system for calculating display SOC (State of Charge) of automobile power battery in consideration of user setting
By introducing a smooth correction module and an experience mapping module into the power battery SOC calculation method, combined with following SOC variables and segmented linear function mapping, the problem of not considering user-defined scenarios in the existing technology is solved, and a more stable and controllable SOC display is achieved, improving the user experience.
Patent Information
- Application Number
- CN202510102168.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2025-04-25
AI Technical Summary
The existing method of correcting SOC display of power batteries does not consider user-defined scenarios, resulting in SOC corrections that may cause jumps and fast follow-up problems, affecting the user's driving experience.
A method for calculating the display SOC of the automotive power battery that considers the user's settings is designed. By combining the smoothing correction module and the experience mapping module, the following SOC variable is introduced and mapped through a segmented linear function to obtain the final display SOC.
It effectively solves the defect of users' inability to customize the SOC follow-up strategy, improves users' controllability for different SOC segments, reduces the jump and fast follow-up problems caused by SOC correction, and improves the user's driving experience.
Smart Images

Figure CN119881660A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power battery state of charge measurement, and in particular relates to a method and system for calculating the SOC displayed by a power battery of an automobile taking into account user settings. Background Art
[0002] The state of charge of a power battery is an important parameter that characterizes the remaining capacity of the battery. It is used to indicate the current remaining power of the power battery, referred to as SOC (State of Charge). According to the actual application in the engineering field, SOC can be divided into "real SOC" and "apparent SOC". The real SOC is the state of charge of the power battery obtained by the battery management system based on the unique electrochemical characteristics of the power battery cell through dynamic and static estimation. It is used to prevent the power battery from overcharging, over-discharging and power output. It will jump with changes in the external environment; the displayed SOC is the state of charge of the power battery output by the battery management system after smoothing based on the real SOC, to prevent SOC jumps from causing negative driving experience for users.
[0003] There are existing methods for correcting the displayed SOC of power batteries. One method is to calculate the power battery current according to whether the power battery is in a charging state, and determine the calculated value of the displayed SOC by combining the current SOC and the intermediate value of SOC. The algorithms are all based on the characteristics of the power battery itself and do not take into account user-defined scenarios.
[0004] Another method for correcting the SOC displayed by the car battery is to increase the sliding weighting coefficient according to the current temperature of the power battery to achieve stepless correction of the real SOC and the displayed SOC. Its algorithm introduces temperature for dynamic parameter correction, which improves the tracking accuracy of the displayed SOC, but still does not take into account user-defined scenarios.
[0005] In summary, the displayed SOC correction based on user-defined scenarios is generally not mentioned in the industry. In order to further improve the user's driving experience, avoid the jump and fast follow-up problems caused by SOC correction, and take into account the user's experience, it is urgent to propose a displayed SOC calculation method that fully considers user-defined settings. Summary of the invention
[0006] In order to overcome the above problems, the present invention provides a method and system for calculating the SOC displayed by an automobile power battery taking into account user settings, which consists of a smoothing correction module and an experience mapping module; wherein the smoothing correction module is designed to cope with the jump of the smooth real SOC in different stages of the power battery; the experience mapping module is designed to introduce user-defined settings, increase SOC adjustable setting options, and further enhance the user's controllability of different SOC segments; through the calculation of the above two modules, the defect that users cannot customize the displayed SOC following strategy can be effectively solved.
[0007] A method for calculating the displayed SOC taking into account user-defined settings, the specific contents are as follows:
[0008] First, introduce the following SOC as a variable, where the calculation method of following SOC is as follows:
[0009] 1. When the real SOC is 0% or 100%, the following SOC is set to the corresponding real SOC value;
[0010] 2. When the actual SOC is neither 0% nor 100%:
[0011] a) When the difference between the real SOC and the following SOC is less than 0.5%, the following SOC is adjusted to the real SOC value;
[0012] b) When the real SOC is lower than 20% and the following SOC is higher than the real SOC, as long as the current value of the power battery is not 0A, the following SOC approaches the real SOC at a rate of 1% / 10s;
[0013] c) When the real SOC is higher than 90% and the following SOC is lower than the real SOC, as long as the current value of the power battery is not 0A, the following SOC approaches the real SOC at a rate of 1% / 10s;
[0014] d) In other cases, the correction coefficient is calculated according to the corresponding relationship between the tracking SOC, the real SOC and the SOC target point, and then the tracking SOC is calculated by the correction coefficient, which is divided into the discharge process and the charging process. The specific contents are as follows:
[0015] ①Discharge process
[0016] First, the SOC target point is set, and the target points of the discharge process are set to SOC1_dischrg, SOC2_dischrg, SOC3_dischrg, and 0% respectively, and the SOC stage of the discharge process is defined as the following four stages: SOCstage1_dischrg = [100%, SOC1_dischrg], SOCstage2_dischrg = [SOC1_dischrg, SOC2_dischrg], SOCstage3_dischrg = [SOC2_dischrg, SOC3_dischrg], SOCstage4_dischrg = [SOC3_dischrg, 0%];
[0017] Secondly, determine the SOC stage of the real SOC, and calculate the deviation coefficient k1 of the real SOC in this stage, wherein when the real SOC is in the SOCstage1_dischrg stage, the deviation coefficient k1 of the real SOC in this stage = |(real SOC-SOC1_dischrg)| / (100-SOC1_dischrg);
[0018] When the actual SOC is in the SOCstage2_dischrg stage, the deviation coefficient k1 of the actual SOC in this stage = |(actual SOC-SOC2_dischrg)| / (SOC1_dischrg-SOC2_dischrg);
[0019] When the real SOC is in the SOCstage3_dischrg stage, the deviation coefficient k1 of the real SOC in this stage = |(real SOC-SOC3_dischrg)| / (SOC2_dischrg-SOC3_dischrg);
[0020] When the real SOC is in the SOCstage4_dischrg stage, the deviation coefficient k1 of the real SOC in this stage = |(real SOC-0)| / (SOC3_dischrg-0);
[0021] Next, determine the SOC stage of the following SOC. If the following SOC is greater than the real SOC, the following SOC is calculated as a negative number; if the following SOC is less than the real SOC, the following SOC is calculated as a positive number.
[0022] Determine the SOC stage in which the following SOC is located, and calculate the deviation coefficient k2 of the following SOC in this stage, wherein when the following SOC is in the SOCstage1_dischrg stage, the deviation coefficient k2 of the following SOC in this stage = |(following SOC-SOC1_dischrg)| / (100-SOC1_dischrg);
[0023] When the following SOC is in the SOCstage2_dischrg stage, the deviation coefficient k2 of the following SOC in this stage = |(following SOC-SOC2_dischrg)| / (SOC1_dischrg-SOC2_dischrg);
[0024] When the following SOC is in the SOCstage3_dischrg stage, the deviation coefficient k2 of the following SOC in this stage = |(following SOC-SOC3_dischrg)| / (SOC2_dischrg-SOC3_dischrg);
[0025] When the following SOC is in the SOCstage4_dischrg stage, the deviation coefficient k2 of the following SOC in this stage = |(following SOC-0)| / (SOC3_dischrg-0);
[0026] Finally, the correction coefficient k3 of the discharge process following the SOC is calculated, and the calculation formula is: k3 = k2 / k1;
[0027] ②Charging process
[0028] First, the SOC target point is set, and the charging process target points are set to SOC1_chrg, SOC2_chrg, SOC3_chrg, and 100% respectively, then the SOC stage of the charging process is defined as the following four stages: SOCstage1_chrg = [0%, SOC1_chrg], SOCstage2_chrg = [SOC1_chrg, SOC2_chrg], SOCstage3_chrg = [SOC2_chrg, SOC3_chrg], SOCstage4_chrg = [SOC3_chrg, 100%];
[0029] Secondly, determine the SOC stage of the real SOC, and calculate the deviation coefficient k4 of the real SOC in this stage; wherein when the real SOC is in the SOCstage1_chrg stage, the deviation coefficient k4 of the real SOC in this stage = |(real SOC-0)| / (SOC1_chrg-0);
[0030] When the actual SOC is in the SOCstage2_chrg stage, the deviation coefficient k4 of the actual SOC in this stage = |(actual SOC-SOC1_chrg)| / (SOC2_chrg-SOC1_chrg);
[0031] When the actual SOC is in the SOCstage3_chrg stage, the deviation coefficient k4 of the actual SOC in this stage = |(actual SOC-SOC3_chrg)| / (SOC2_chrg-SOC2_chrg);
[0032] When the actual SOC is in the SOCstage4_chrg stage, the deviation coefficient k4 of the actual SOC in this stage = |(actual SOC-SOC3_dischrg)| / (100-SOC3_chrg);
[0033] Next, determine the SOC stage of the following SOC, and calculate the deviation coefficient k5 of the following SOC in this stage; when the following SOC is in the SOCstage1_chrg stage, the deviation coefficient k5 of the following SOC in this stage = |(following SOC-0)| / (SOC1_chrg-0);
[0034] When the following SOC is in the SOCstage2_chrg stage, the deviation coefficient k5 of the following SOC in this stage = |(following SOC-SOC1_chrg)| / (SOC2_chrg-SOC1_chrg);
[0035] When the following SOC is in the SOCstage3_chrg stage, the deviation coefficient k5 of the following SOC in this stage = |(following SOC-SOC3_chrg)| / (SOC2_chrg-SOC2_chrg);
[0036] When the following SOC is in the SOCstage4_chrg stage, the deviation coefficient k5 of the following SOC in this stage = |(following SOC-SOC3_dischrg)| / (100-SOC3_chrg);
[0037] Finally, the correction coefficient k6 of the charging process following the SOC is calculated, and the calculation formula is: k6 = k5 / k4;
[0038] ③ After obtaining the current charging or discharging condition of the power battery, the following SOC is equal to the sum of the following SOC at the previous moment and the SOC increment calculated by the ampere-hour integration method multiplied by the corresponding following SOC correction coefficient. The calculation formula is:
[0039] SOC 追随 =SOC 追随,上一时刻 +△SOC 追随 *k
[0040] When the power battery is in a charging condition, the coefficient k in the formula is k6, and when the power battery is in a discharging condition, the coefficient k in the formula is k3;
[0041] The experience mapping module uses a piecewise linear function to convert the following SOC before outputting the SOC, and performs linear mapping on the following SOC according to user needs to obtain the final display SOC.
[0042] Second, the final display SOC calculation process is as follows:
[0043] 1. User-defined settings
[0044] 1.1. The user selects a mapping setting option through the vehicle computer or mobile phone. The mapping setting options include long range, medium range and short range;
[0045] 1.2, after setting, the array [x1, x2, y1, y2] is obtained, where x1 and x2 represent the parameters for following the SOC value, and y1 and y2 represent the parameters for displaying the SOC value;
[0046] 1.3, when x1≤previous tracking SOC≤1, y1≤previous display SOC≤1, where y1>x1, the mapping relationship between display SOC and tracking SOC at this stage is: current display SOC=[(1-y1) / (1-x1)]*current tracking SOC;
[0047] When x2≤previous tracking SOC≤x1, y2≤previous display SOC≤y1, where y2<x2 and y2 tends to 0, the mapping relationship between display SOC and tracking SOC at this stage is: current display SOC=[(y1-y2) / (x1-x2)]*current tracking SOC;
[0048] When 0≤previous moment following SOC≤x2, 0≤previous moment displayed SOC≤y2, where y2 tends to 0, the mapping relationship between displayed SOC and following SOC at this stage is: current moment displayed SOC=0.
[0049] The upper limit of k3 and k6 is 10.
[0050] The following SOC increment calculation formula is:
[0051]
[0052] Among them C N is the rated capacity of the power battery, I is the real-time current sampling value of the power battery, and t is the time.
[0053] In the step 1.2, the value range of the elements in the array [x1, x2, y1, y2] is as follows: 0.2≤x1≤0.3, 0.1≤x2≤0.2, 0.3≤y1≤0.8, y2=0.
[0054] In the step 1.2, when the user selects the long battery life mode, 0.27≤x1≤0.3, 0.17≤x2≤0.2, 0.5≤y1≤0.8, y2=0; when the user selects the medium battery life mode, 0.23≤x1≤0.27, 0.13≤x2≤0.17, 0.4≤y1≤0.5, y2=0; when the user selects the short battery life mode, 0.2≤x1≤0.23, 0.1≤x2≤0.13, 0.3≤y1≤0.4, y2=0.
[0055] A display SOC calculation system considering user-defined settings is composed of two parts: a smooth correction module and an experience mapping module; wherein the smooth correction module introduces a following SOC as a variable, and solves the following SOC according to the calculation method of the following SOC in step one; before outputting the SOC, the experience mapping module uses a piecewise linear function to convert the following SOC, and linearly maps the following SOC according to user needs to obtain the final displayed SOC.
[0056] The upper limit of k3 and k6 is set to 10 in the smoothing correction module.
[0057] Beneficial effects of the present invention:
[0058] The present invention further improves the controllability of different SOC segments by users; through the calculation of the above two modules, the defect that users cannot customize the displayed SOC following strategy can be effectively solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings used in the description of the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the contents of the embodiments of the present invention and these drawings without creative work.
[0060] Figure 1 The following is a block diagram of the calculation method of SOC. DETAILED DESCRIPTION
[0061] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0062] In the description of the present invention, unless otherwise clearly specified and limited, the terms "connected", "connected", and "fixed" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0063] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature.
[0064] In the description of this embodiment, the terms "upper", "lower", "left", "right" and other directions or positional relationships are based on the directions or positional relationships shown in the drawings, and are only for the convenience of description and simplification of operation, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operate in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used to distinguish in the description and have no special meaning.
[0065] Example 1
[0066] A method for calculating the displayed SOC taking into account user-defined settings, the specific contents are as follows:
[0067] First, introduce the follow-up SOC as a variable, such as Figure 1 As shown, the calculation method of following SOC is as follows:
[0068] 1. When the real SOC is 0% or 100%, the following SOC is set to the corresponding real SOC value;
[0069] 2. When the actual SOC is neither 0% nor 100%:
[0070] e) When the difference between the real SOC and the following SOC is less than 0.5%, the following SOC is adjusted to the real SOC value;
[0071] f) When the real SOC is lower than 20% and the following SOC is higher than the real SOC, as long as the current value of the power battery is not 0A, the following SOC approaches the real SOC at a rate of 1% / 10s;
[0072] g) When the real SOC is higher than 90% and the following SOC is lower than the real SOC, as long as the current value of the power battery is not 0A, the following SOC approaches the real SOC at a rate of 1% / 10s;
[0073] h) In other cases, the correction coefficient is calculated according to the corresponding relationship between the tracking SOC, the real SOC and the SOC target point, and then the tracking SOC is calculated by the correction coefficient, which is divided into the discharge process and the charging process. The specific contents are as follows:
[0074] ④Discharge process
[0075] First, the SOC target point is set, and the target points of the discharge process are set to SOC1_dischrg, SOC2_dischrg, SOC3_dischrg, and 0% respectively, and the SOC stage of the discharge process is defined as the following four stages: SOCstage1_dischrg = [100%, SOC1_dischrg], SOCstage2_dischrg = [SOC1_dischrg, SOC2_dischrg], SOCstage3_dischrg = [SOC2_dischrg, SOC3_dischrg], SOCstage4_dischrg = [SOC3_dischrg, 0%];
[0076] Secondly, determine the SOC stage of the real SOC, and calculate the deviation coefficient k1 of the real SOC in this stage, wherein when the real SOC is in the SOCstage1_dischrg stage, the deviation coefficient k1 of the real SOC in this stage = |(real SOC-SOC1_dischrg)| / (100-SOC1_dischrg);
[0077] When the actual SOC is in the SOCstage2_dischrg stage, the deviation coefficient k1 of the actual SOC in this stage = |(actual SOC-SOC2_dischrg)| / (SOC1_dischrg-SOC2_dischrg);
[0078] When the real SOC is in the SOCstage3_dischrg stage, the deviation coefficient k1 of the real SOC in this stage = |(real SOC-SOC3_dischrg)| / (SOC2_dischrg-SOC3_dischrg);
[0079] When the real SOC is in the SOCstage4_dischrg stage, the deviation coefficient k1 of the real SOC in this stage = |(real SOC-0)| / (SOC3_dischrg-0);
[0080] Thirdly, determine the SOC stage of the following SOC. If the following SOC value is greater than the real SOC, the following SOC is calculated as a negative number; if the following SOC value is less than the real SOC, the following SOC is calculated as a positive number.
[0081] Determine the SOC stage in which the following SOC is located, and calculate the deviation coefficient k2 of the following SOC in this stage, wherein when the following SOC is in the SOCstage1_dischrg stage, the deviation coefficient k2 of the following SOC in this stage = |(following SOC-SOC1_dischrg)| / (100-SOC1_dischrg);
[0082] When the following SOC is in the SOCstage2_dischrg stage, the deviation coefficient k2 of the following SOC in this stage = |(following SOC-SOC2_dischrg)| / (SOC1_dischrg-SOC2_dischrg);
[0083] When the following SOC is in the SOCstage3_dischrg stage, the deviation coefficient k2 of the following SOC in this stage = |(following SOC-SOC3_dischrg)| / (SOC2_dischrg-SOC3_dischrg);
[0084] When the following SOC is in the SOCstage4_dischrg stage, the deviation coefficient k2 of the following SOC in this stage = |(following SOC-0)| / (SOC3_dischrg-0);
[0085] Finally, the correction coefficient k3 of the discharge process following the SOC is calculated, and the calculation formula is: k3 = k2 / k1;
[0086] ⑤Charging process
[0087] First, the SOC target point is set, and the charging process target points are set to SOC1_chrg, SOC2_chrg, SOC3_chrg, and 100% respectively, then the SOC stage of the charging process is defined as the following four stages: SOCstage1_chrg = [0%, SOC1_chrg], SOCstage2_chrg = [SOC1_chrg, SOC2_chrg], SOCstage3_chrg = [SOC2_chrg, SOC3_chrg], SOCstage4_chrg = [SOC3_chrg, 100%];
[0088] Secondly, determine the SOC stage of the real SOC, and calculate the deviation coefficient k4 of the real SOC in this stage; wherein when the real SOC is in the SOCstage1_chrg stage, the deviation coefficient k4 of the real SOC in this stage = |(real SOC-0)| / (SOC1_chrg-0);
[0089] When the actual SOC is in the SOCstage2_chrg stage, the deviation coefficient k4 of the actual SOC in this stage = |(actual SOC-SOC1_chrg)| / (SOC2_chrg-SOC1_chrg);
[0090] When the actual SOC is in the SOCstage3_chrg stage, the deviation coefficient k4 of the actual SOC in this stage = |(actual SOC-SOC3_chrg)| / (SOC2_chrg-SOC2_chrg);
[0091] When the actual SOC is in the SOCstage4_chrg stage, the deviation coefficient k4 of the actual SOC in this stage = |(actual SOC-SOC3_dischrg)| / (100-SOC3_chrg);
[0092] Next, determine the SOC stage of the following SOC, and calculate the deviation coefficient k5 of the following SOC in this stage; when the following SOC is in the SOCstage1_chrg stage, the deviation coefficient k5 of the following SOC in this stage = |(following SOC-0)| / (SOC1_chrg-0);
[0093] When the following SOC is in the SOCstage2_chrg stage, the deviation coefficient k5 of the following SOC in this stage = |(following SOC-SOC1_chrg)| / (SOC2_chrg-SOC1_chrg);
[0094] When the following SOC is in the SOCstage3_chrg stage, the deviation coefficient k5 of the following SOC in this stage = |(following SOC-SOC3_chrg)| / (SOC2_chrg-SOC2_chrg);
[0095] When the following SOC is in the SOCstage4_chrg stage, the deviation coefficient k5 of the following SOC in this stage = |(following SOC-SOC3_dischrg)| / (100-SOC3_chrg);
[0096] Finally, the correction coefficient k6 of the charging process following the SOC is calculated, and the calculation formula is: k6 = k5 / k4;
[0097] ⑥ After obtaining the current charging or discharging condition of the power battery, the following SOC is equal to the sum of the following SOC at the previous moment and the SOC increment calculated by the ampere-hour integration method multiplied by the corresponding following SOC correction coefficient. The calculation formula is:
[0098] SOC 追随 =SOC 追随,上一时刻 +△SOC 追随*k
[0099] When the power battery is in a charging condition, the coefficient k in the formula is k6, and when the power battery is in a discharging condition, the coefficient k in the formula is k3;
[0100] The experience mapping module uses a piecewise linear function to convert the following SOC before outputting the SOC, and performs linear mapping on the following SOC according to user needs to obtain the final display SOC.
[0101] Second, the final display SOC calculation process is as follows:
[0102] 1. User-defined settings
[0103] 1.1. The user selects a mapping setting option through the vehicle computer or mobile phone. The mapping setting options include long range, medium range and short range;
[0104] 1.2, after setting, the array [x1, x2, y1, y2] is obtained, where x1 and x2 represent the parameters for following the SOC value, and y1 and y2 represent the parameters for displaying the SOC value;
[0105] 1.3, when x1≤previous tracking SOC≤1, y1≤previous display SOC≤1, where y1>x1, the display SOC decreases slower than the tracking SOC in the early stage of discharge, which is used to improve the endurance experience of the user's actual driving process; the mapping relationship between the display SOC and the tracking SOC at this stage is: current display SOC=[(1-y1) / (1-x1)]*current tracking SOC;
[0106] When x2≤previous tracking SOC≤x1, y2≤previous displayed SOC≤y1, where y2<x2 and y2 tends to 0, the displayed SOC decreases faster than the tracking SOC in the later stage of discharge, which is used for the displayed SOC to quickly catch up with the tracking SOC to avoid over-discharge; the mapping relationship between the displayed SOC and the tracking SOC at this stage is: the current displayed SOC=[(y1-y2) / (x1-x2)]*the current tracking SOC;
[0107] When 0≤previous moment following SOC≤x2, 0≤previous moment displayed SOC≤y2, where y2 tends to 0, so that when the following SOC is close to 0 at the end of discharge, the vehicle still has a certain range; the mapping relationship between displayed SOC and following SOC at this stage is: current moment displayed SOC=0.
[0108] The upper limit of k3 and k6 is 10.
[0109] The following SOC increment calculation formula is:
[0110]
[0111] Among them C N is the rated capacity of the power battery, I is the real-time current sampling value of the power battery, and t is the time.
[0112] In the step 1.2, the value range of the elements in the array [x1, x2, y1, y2] is as follows: 0.2≤x1≤0.3, 0.1≤x2≤0.2, 0.3≤y1≤0.8, y2=0.
[0113] In the step 1.2, when the user selects the long battery life mode, 0.27≤x1≤0.3, 0.17≤x2≤0.2, 0.5≤y1≤0.8, y2=0; when the user selects the medium battery life mode, 0.23≤x1≤0.27, 0.13≤x2≤0.17, 0.4≤y1≤0.5, y2=0; when the user selects the short battery life mode, 0.2≤x1≤0.23, 0.1≤x2≤0.13, 0.3≤y1≤0.4, y2=0.
[0114] A display SOC calculation system considering user-defined settings is composed of two parts: a smooth correction module and an experience mapping module; wherein the smooth correction module introduces a following SOC as a variable, and solves the following SOC according to the calculation method of the following SOC in step one; before outputting the SOC, the experience mapping module uses a piecewise linear function to convert the following SOC, and linearly maps the following SOC according to user needs to obtain the final displayed SOC.
[0115] The upper limit of k3 and k6 is set to 10 in the smoothing correction module.
[0116] Example 2
[0117] 1. Smooth Correction Module
[0118] In order to ensure that the displayed SOC presented to the user does not change when the real SOC changes, the concept of intermediate variable following SOC is introduced, where the following SOC is a variable stored inside the controller, and the initial following SOC is obtained from the controller memory, such as Figure 1 As shown, the calculation steps are as follows:
[0119] 1. The real SOC is 0% or 100%
[0120] a) When the real SOC is 0%, it means that the power battery is currently in the feeding state. To ensure the safety of the power battery, the following SOC is directly adjusted to the real SOC value;
[0121] b) When the real SOC is 100%, it means that the power battery is currently fully charged. To ensure the safety of the power battery, the following SOC is directly adjusted to the real SOC value;
[0122] 2. The actual SOC is neither 0% nor 100%
[0123] i) When the difference between the real SOC and the following SOC is less than 0.5%, the following SOC is directly adjusted to the real SOC value;
[0124] j) When the real SOC is lower than 20% and the following SOC is higher than the real SOC, the current sensor value is used to determine whether the power battery is in a discharging or charging state. As long as the current value is not 0A, the following SOC approaches the real SOC at a rate of 1% / 10s;
[0125] k) When the real SOC is higher than 90% and the following SOC is lower than the real SOC, the current sensor value is used to determine whether the power battery is in a discharging or charging state. As long as the current value is not 0A, the following SOC approaches the real SOC at a rate of 1% / 10s;
[0126] l) In other cases, the tracking SOC calculates the correction coefficient according to the corresponding relationship between the tracking SOC, the real SOC and the SOC target point, which is divided into the discharge process and the charging process;
[0127] ⑦Discharge process
[0128] First, set the SOC target point. The target points of the discharge process are set to SOC1_dischrg, SOC2_dischrg, SOC3_dischrg, and 0%. Then define the SOC stage of the discharge process as
[0129] SOCstage1_dischrg = [100%, SOC1_dischrg], SOCstage2_dischrg = [SOC1_dischrg, SOC2_dischrg], SOCstage3_dischrg = [SOC2_dischrg, SOC3_dischrg], SOCstage4_dischrg = [SOC3_dischrg, 0%], a total of 4 stages;
[0130] Secondly, determine the SOC stage of the real SOC, and calculate the deviation coefficient k1 of the real SOC in this stage, where: when the real SOC is in the SOCstage1_dischrg stage, the deviation coefficient k1 of the real SOC in this stage = |(real SOC-SOC1_dischrg)| / (100-SOC1_dischrg);
[0131] When the actual SOC is in the SOCstage2_dischrg stage, the deviation coefficient k1 of the actual SOC in this stage = |(actual SOC-SOC2_dischrg)| / (SOC1_dischrg-SOC2_dischrg);
[0132] When the real SOC is in the SOCstage3_dischrg stage, the deviation coefficient k1 of the real SOC in this stage = |(real SOC-SOC3_dischrg)| / (SOC2_dischrg-SOC3_dischrg);
[0133] When the real SOC is in the SOCstage4_dischrg stage, the deviation coefficient k1 of the real SOC in this stage = |(real SOC-0)| / (SOC3_dischrg-0);
[0134] Thirdly, determine the SOC stage of the following SOC. If the stage of the following SOC is greater than the real SOC, the following SOC is calculated as a negative number; if the stage of the following SOC is less than the real SOC, the following SOC is calculated as a positive number.
[0135] Determine the SOC stage in which the following SOC is located, and calculate the deviation coefficient k2 of the following SOC in this stage, wherein when the following SOC is in the SOCstage1_dischrg stage, the deviation coefficient k2 of the following SOC in this stage = |(following SOC-SOC1_dischrg)| / (100-SOC1_dischrg);
[0136] When the following SOC is in the SOCstage2_dischrg stage, the deviation coefficient k2 of the following SOC in this stage = |(following SOC-SOC2_dischrg)| / (SOC1_dischrg-SOC2_dischrg);
[0137] When the following SOC is in the SOCstage3_dischrg stage, the deviation coefficient k2 of the following SOC in this stage = |(following SOC-SOC3_dischrg)| / (SOC2_dischrg-SOC3_dischrg);
[0138] When the following SOC is in the SOCstage4_dischrg stage, the deviation coefficient k2 of the following SOC in this stage = |(following SOC-0)| / (SOC3_dischrg-0);
[0139] Finally, the following SOC correction coefficient k3 is calculated, and the calculation formula is: k3 = k2 / k1;
[0140] ⑧Charging process
[0141] First, the SOC target point is set, and the charging process target point is set to SOC1_chrg, SOC2_chrg, SOC3_chrg, and 100%. Then the SOC stages of the charging process are defined as SOCstage1_chrg = [0%, SOC1_chrg], SOCstage2_chrg = [SOC1_chrg, SOC2_chrg], SOCstage3_chrg = [SOC2_chrg, SOC3_chrg], and SOCstage4_chrg = [SOC3_chrg, 100%], a total of 4 stages;
[0142] Secondly, determine the SOC stage of the real SOC and calculate the deviation coefficient k4 of the real SOC in this stage; when the real SOC is in the SOCstage1_chrg stage, the deviation coefficient k4 of the real SOC in this stage = |(real SOC-0)| / (SOC1_chrg-0); when the real SOC is in the SOCstage2_chrg stage, the deviation coefficient k4 of the real SOC in this stage = |(real SOC-SOC1_chrg)| / (SOC2_chrg –SOC1_chrg); when the real SOC is in the SOCstage3_chrg stage, the deviation coefficient of the real SOC in this stage k4=|(real SOC-SOC3_chrg)| / (SOC2_chrg–SOC2_chrg); when the real SOC is in the SOCstage4_chrg stage, the deviation coefficient of the real SOC in this stage k4=|(real SOC-SOC3_dischrg)| / (100–SOC3_chrg);
[0143] Again, determine the SOC stage of the following SOC, and calculate the deviation coefficient k5 of the following SOC in this stage; when the following SOC is in the SOCstage1_chrg stage, the deviation coefficient k5 of the following SOC in this stage = |(following SOC-0)| / (SOC1_chrg-0); when the following SOC is in the SOCstage2_chrg stage, the deviation coefficient k5 of the following SOC in this stage = |(following SOC-SOC1_chrg)| / (SOC2_chrg –SOC1_chrg); when the following SOC is in the SOCstage3_chrg stage, the deviation coefficient of the following SOC in this stage k5=|(following SOC-SOC3_chrg)| / (SOC2_chrg–SOC2_chrg); when the following SOC is in the SOCstage4_chrg stage, the deviation coefficient of the following SOC in this stage k5=|(following SOC-SOC3_dischrg)| / (100–SOC3_chrg);
[0144] Finally, the following SOC correction coefficient k6 is calculated, and the calculation formula is: k6 = k5 / k4;
[0145] ③ After obtaining the current charging or discharging condition of the power battery, the following SOC is equal to the SOC increment calculated by the ampere-hour integration method multiplied by the correction coefficient calculated in the above steps; wherein, the following SOC increment calculation formula is:
[0146] C N is the rated capacity of the power battery, I is the real-time current sampling value of the power battery, and t is the time;
[0147] ④ To prevent the correction coefficient from being too large and causing the SOC to change too quickly, increase the correction system limit, which can be set to 10;
[0148] 2. Experience Mapping Module Implementation Method
[0149] Before outputting SOC, the following SOC is converted using a piecewise linear function. According to user requirements, the following SOC is linearly mapped to obtain the final displayed SOC. The calculation steps are as follows:
[0150] (1) User-defined settings
[0151] When driving a vehicle, the user can set the desired display SOC mapping level through the vehicle computer or mobile phone. Generally, the vehicle computer or mobile phone will display three SOC mapping setting options, namely "long endurance", "medium endurance" and "short endurance" through the display screen. Furthermore, the user can set the stepless adjustment display SOC mapping setting option through the display screen on the vehicle computer or mobile phone.
[0152] After the display SOC mapping is set, the array [x1, x2, y1, y2] is obtained, where x1 represents the critical SOC value of the early and late stages of the SOC, x2 represents the critical SOC value of the late and final stages of the SOC, y1 represents the critical SOC value of the early and late stages of the display SOC, and y2 represents the critical SOC value of the late and final stages of the display SOC. The array [x1, x2, y1, y2] is directly associated with the vehicle display screen setting and the display SOC mapping setting. The associated mapping relationship is stored in the memory by default, that is, after the user sets the display screen setting, the array [x1, x2, y1, y2] is automatically generated, and the array corresponds to the screen setting item one by one. Generally, the value range of the elements in the optional array [x1, x2, y1, y2] is as follows: 0.2≤x1≤0.3, 0.1≤x2≤0.2, 0.3≤y1≤0.8, y2=0. Furthermore, when the user selects the "long battery life" mode, 0.27≤x1≤0.3, 0.17≤x2≤0.2, 0.5≤y1≤0.8, y2=0; when the user selects the "medium battery life" mode, 0.23≤x1≤0.27, 0.13≤x2≤0.17, 0.4≤y1≤0.5, y2=0; when the user selects the "short battery life" mode, 0.2≤x1≤0.23, 0.1≤x2≤0.13, 0.3≤y1≤0.4, y2=0.
[0153] For example, if the array [x1, x2, y1, y2] = [0.2, 0.1, 0.3, 0] is set, the array is brought into the SOC mapping module as follows
[0154] (2) Display SOC mapping strategy
[0155] a) 0.2≤previous tracking SOC≤1, 0.3≤previous displayed SOC≤1, so that the displayed SOC decreases slower than the tracking SOC in the early stage of discharge, which is used to improve the endurance experience of the user's actual driving process. The mapping relationship between the displayed SOC and the tracking SOC at this stage is: displayed SOC=displayed SOC-0.875*Δtracking SOC
[0156] b) When 0.1≤previous tracking SOC≤0.2, 0≤previous displayed SOC≤0.3, so that the displayed SOC drops faster than the tracking SOC in the later stage of discharge, which is used for the displayed SOC to quickly catch up with the tracking SOC to avoid over-discharge. The mapping relationship between the displayed SOC and the tracking SOC at this stage is: displayed SOC=displayed SOC-3*tracking ΔSOC
[0157] c) When 0≤previous tracking SOC≤x2, 0≤previous displayed SOC≤y2, where y2 tends to 0, so that when the tracking SOC at the end of discharge is close to 0, the vehicle still has a certain range. The mapping relationship between displayed SOC and tracking SOC at this stage is: displayed SOC=0
[0158] The preferred embodiments of the present invention are described in detail above in conjunction with the accompanying drawings. However, the protection scope of the present invention is not limited to the specific details in the above embodiments. Within the technical concept of the present invention, any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention. These simple variations all belong to the protection scope of the present invention.
[0159] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present invention will not further describe various possible combinations.
[0160] In addition, various embodiments of the present invention may be arbitrarily combined, and as long as they do not violate the concept of the present invention, they should also be regarded as the contents disclosed by the present invention.
Claims
1. A method for calculating the displayed SOC taking into account user-defined settings, characterized in that: The specific contents are as follows: First, introduce the following SOC as a variable, where the calculation method of following SOC is as follows:
1. When the real SOC is 0% or 100%, the following SOC is set to the corresponding real SO value; 2. When the actual SOC is neither 0% nor 100%: a) When the difference between the real SOC and the following SOC is less than 0.5%, the following SOC is adjusted to the real SOC value; b) When the real SOC is lower than 20% and the following SOC is higher than the real SOC, as long as the current value of the power battery is not 0A, the following SOC approaches the real SOC at a rate of 1% / 10s; c) When the real SOC is higher than 90% and the following SOC is lower than the real SOC, as long as the current value of the power battery is not 0A, the following SOC approaches the real SOC at a rate of 1% / 10s; d) In other cases, the correction coefficient is calculated according to the corresponding relationship between the tracking SOC, the real SOC and the SOC target point, and then the tracking SOC is calculated by the correction coefficient, which is divided into the discharge process and the charging process. The specific contents are as follows: ①Discharge process First, the SOC target point is set, and the target points of the discharge process are set to SOC1_dischrg, SOC2_dischrg, SOC3_dischrg, and 0% respectively, and the SOC stage of the discharge process is defined as the following four stages: SOCstage1_dischrg = [100%, SOC1_dischrg], SOCstage2_dischrg = [SOC1_dischrg, SOC2_dischrg], SOCstage3_dischrg = [SOC2_dischrg, SOC3_dischrg], SOCstage4_dischrg = [SOC3_dischrg, 0%]; Secondly, determine the SOC stage of the real SOC, and calculate the deviation coefficient k1 of the real SOC in this stage, wherein when the real SOC is in the SOCstage1_dischrg stage, the deviation coefficient k1 of the real SOC in this stage = |(real SOC-SOC1_dischrg)| / (100-SOC1_dischrg); When the actual SOC is in the SOCstage2_dischrg stage, the deviation coefficient k1 of the actual SOC in this stage is |(actual SOC- SOC2_dischrg)| / (SOC1_dischrg–SOC2_dischrg); When the actual SOC is in the SOCstage3_dischrg stage, the deviation coefficient k1 of the actual SOC in this stage is |(actual SOC- SOC3_dischrg)| / (SOC2_dischrg–SOC3_dischrg); When the real SOC is in the SOCstage4_dischrg stage, the deviation coefficient k1 of the real SOC in this stage = |(real SOC-0)| / (SOC3_dischrg-0); Next, determine the SOC stage of the following SOC. If the following SOC is greater than the real SOC, the following SOC is calculated as a negative number; if the following SOC is less than the real SOC, the following SOC is calculated as a positive number. Determine the SOC stage in which the following SOC is located, and calculate the deviation coefficient k2 of the following SOC in this stage. When the following SOC is in the SOCstage1_dischrg stage, the deviation coefficient k2 of the following SOC in this stage = |(following SOC-SOC1_dischrg)| / (100-SOC1_ dischrg); When the following SOC is in the SOCstage2_dischrg stage, the deviation coefficient k2 of the following SOC in this stage is |(following SOC- SOC2_dischrg)| / (SOC1_dischrg–SOC2_dischrg); When the following SOC is in the SOCstage3_dischrg stage, the deviation coefficient k2 of the following SOC in this stage is |(following SOC- SOC3_dischrg)| / (SOC2_dischrg–SOC3_dischrg); When the following SOC is in the SOCstage4_dischrg stage, the deviation coefficient k2 of the following SOC in this stage = |(following SOC-0)| / (SOC3_dischrg-0); Finally, the correction coefficient k3 of the discharge process following the SOC is calculated, and the calculation formula is: k3 = k2 / k1; ②Charging process First, the SOC target point is set. The charging process target points are set to SOC1_chrg, SOC2_chrg, SOC3_chrg, and 100%, respectively. The SOC stage of the charging process is defined as the following four stages: SOCstage1_chrg = [0%, SOC1_chrg], SOCstage2_chrg=[SOC1_chrg, SOC2_chrg], SOCstage3_chrg=[SOC2_chrg, SOC3_chrg], SOCstage4_chrg=[SOC3_chrg, 100%]; Secondly, determine the SOC stage of the real SOC, and calculate the deviation coefficient k4 of the real SOC in this stage; wherein when the real SOC is in the SOCstage1_chrg stage, the deviation coefficient k4 of the real SOC in this stage = |(real SOC-0)| / (SOC1_chrg-0); When the actual SOC is in the SOCstage2_chrg stage, the deviation coefficient k4 of the actual SOC in this stage = |(actual SOC-SOC1_chrg)| / (SOC2_chrg-SOC1_chrg); When the actual SOC is in the SOCstage3_chrg stage, the deviation coefficient k4 of the actual SOC in this stage = |(actual SOC-SOC3_chrg)| / (SOC2_chrg-SOC2_chrg); When the actual SOC is in the SOCstage4_chrg stage, the deviation coefficient k4 of the actual SOC in this stage = |(actual SOC-SOC3_dischrg)| / (100-SOC3_chrg); Next, determine the SOC stage of the following SOC, and calculate the deviation coefficient k5 of the following SOC in this stage; when the following SOC is in the SOCstage1_chrg stage, the deviation coefficient k5 of the following SOC in this stage = |(following SOC-0)| / (SOC1_chrg-0); When the following SOC is in the SOCstage2_chrg stage, the deviation coefficient k5 of the following SOC in this stage = |(following SOC-SOC1_chrg)| / (SOC2_chrg-SOC1_chrg); When the following SOC is in the SOCstage3_chrg stage, the deviation coefficient k5 of the following SOC in this stage = |(following SOC-SOC3_chrg)| / (SOC2_chrg-SOC2_chrg); When the following SOC is in the SOCstage4_chrg stage, the deviation coefficient k5 of the following SOC in this stage = |(following SOC-SOC3_dischrg)| / (100-SOC3_chrg); Finally, the correction coefficient k6 of the charging process following the SOC is calculated, and the calculation formula is: k6 = k5 / k4; ③ After obtaining the current charging or discharging condition of the power battery, the following SOC is equal to the sum of the following SOC at the previous moment and the SOC increment calculated by the ampere-hour integration method multiplied by the corresponding following SOC correction coefficient. The calculation formula is: SOC 追随 =SOC 追随,上一时刻 +△SOC 追随 *k When the power battery is in a charging condition, the coefficient k in the formula is k6, and when the power battery is in a discharging condition, the coefficient k in the formula is k3; The experience mapping module uses a piecewise linear function to convert the following SOC before outputting the SOC, and performs linear mapping on the following SOC according to user needs to obtain the final display SOC.
2. A method for calculating the displayed SOC taking into account user-defined settings according to claim 1, characterized in that: The final display SOC calculation process is as follows:
1. User-defined settings 1.
1. The user selects a mapping setting option through the vehicle computer or mobile phone. The mapping setting options include long range, medium range and short range; 1.2, after setting, the array [x1, x2, y1, y2] is obtained, where x1 and x2 represent the parameters for following the SOC value, and y1 and y2 represent the parameters for displaying the SOC value; 1.3, when x1≤previous tracking SOC≤1, y1≤previous display SOC≤1, where y1>x1, the mapping relationship between display SOC and tracking SOC at this stage is: current display SOC=[(1-y1) / (1-x1)]*current tracking SOC; When x2≤previous tracking SOC≤x1, y2≤previous display SOC≤y1, where y2<x2 and y2 tends to 0, the mapping relationship between display SOC and tracking SOC at this stage is: current display SOC=[(y1-y2) / (x1-x2)]*current tracking SOC; When 0≤previous moment following SOC≤x2, 0≤previous moment displayed SOC≤y2, where y2 tends to 0, the mapping relationship between displayed SOC and following SOC at this stage is: current moment displayed SOC=0. The upper limit of k3 and k6 is 10.
3. A method for calculating the displayed SOC taking into account user-defined settings according to claim 2, characterized in that: The following SOC increment calculation formula is: Among them C N is the rated capacity of the power battery, I is the real-time current sampling value of the power battery, and t is the time.
4. The method for calculating the displayed SOC considering user-defined settings according to claim 1, characterized in that: In the step 1.2, the value range of the elements in the array [x1, x2, y1, y2] is as follows: 0.2≤x1≤0.3, 0.1≤x2≤0.2, 0.3≤y1≤0.8, y2=0.
5. The method for calculating the displayed SOC considering user-defined settings according to claim 1, characterized in that: In the step 1.2, when the user selects the long battery life mode, 0.27≤x1≤0.3, 0.17≤x2≤0.2, 0.5≤y1≤0.8, y2=0; when the user selects the medium battery life mode, 0.23≤x1≤0.27, 0.13≤x2≤0.17, 0.4≤y1≤0.5, y2=0; when the user selects the short battery life mode, 0.2≤x1≤0.23, 0.1≤x2≤0.13, 0.3≤y1≤0.4, y2=0.
6. A computing system applied to the method for calculating the displayed SOC taking into account user-defined settings as described in any one of claims 1 to 5, characterized in that: It consists of two parts: a smooth correction module and an experience mapping module; wherein the smooth correction module introduces the following SOC as a variable, and solves the following SOC according to the calculation method of the following SOC in step one; the experience mapping module uses a piecewise linear function to convert the following SOC before outputting the SOC, and linearly maps the following SOC according to user needs to obtain the final displayed SOC.
7. A display SOC calculation system according to any one of claim 6, characterized in that: The upper limit of k3 and k6 is set to 10 in the smoothing correction module.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for calculating the displayed SOC taking into account user-defined settings as described in any one of claims 1 to 5 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for calculating the displayed SOC taking into account user-defined settings as described in any one of claims 1 to 5 is implemented.