Method, device and electronic equipment for calculating driving range
By calculating the average power consumption of electric vehicles over the long and short distance cycles and combining vehicle driving data, the problem of low accuracy in the calculation of mileage in the existing technology is solved, and a more accurate mileage prediction is achieved.
Patent Information
- Application Number
- CN202110352401.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-31
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2041-03-31
AI Technical Summary
In the prior art, the calculation accuracy of the driving range of electric vehicles is low, which cannot reflect the real-time changes in the power consumption of electric vehicles, resulting in the accuracy of users in using the driving range for vehicle operations.
By calculating the average power consumption of the long-distance cycle and short-distance cycle of the electric vehicle, combining the vehicle driving data, the current comprehensive power consumption of the electric vehicle is calculated, and the mileage range is determined.
The accuracy of mileage calculation is improved, ensuring that the calculation results are more in line with the current driving state of the vehicle, reducing the inaccurate calculation of energy consumption caused by short-term state changes, and improving the accuracy of mileage prediction.
Smart Images

Figure CN115139802B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electric vehicles, and more particularly to a method and device for calculating driving range, and an electronic device. Background Art
[0002] During the driving of an electric vehicle, the battery management system (BMS) can calculate the electric vehicle's range and then display the range, thereby reminding the user of the electric vehicle's mileage, allowing the user to perform vehicle operations such as charging in time when the electric vehicle's mileage is less.
[0003] Currently, the driving range of electric vehicles is determined based on the ratio of the remaining available energy in the power battery to the preset standard power consumption. However, the accuracy of the electric vehicle driving range calculated in this way is low, which makes the accuracy of vehicle operations performed by users based on the electric vehicle driving range also low. Summary of the Invention
[0004] In view of this, the present invention provides a method, device and electronic device for calculating the driving range to solve the problem of low accuracy of the driving range of an electric vehicle calculated in the prior art.
[0005] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0006] A method for calculating driving range, comprising:
[0007] Calculating, based on the acquired driving data of the electric vehicle, a first average power consumption in a long-distance cycle at a current moment and a second average power consumption in a short-distance cycle at the current moment; wherein the distance length of the long-distance cycle is greater than the distance length of the short-distance cycle;
[0008] Calculating a current comprehensive power consumption of the electric vehicle based on the first average power consumption and the second average power consumption;
[0009] The remaining available energy of the power battery of the electric vehicle is obtained, and the ratio of the remaining available energy to the current comprehensive power consumption is determined as the driving range of the electric vehicle.
[0010] Optionally, calculating the first average power consumption in the long-distance period at the current moment and the second average power consumption in the short-distance period at the current moment based on the acquired vehicle driving data of the electric vehicle includes:
[0011] Obtaining the accumulated discharge energy and accumulated mileage in the previous long-distance cycle corresponding to the long-distance cycle at the current moment;
[0012] Calculating a first average power consumption in the long-distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in a previous long-distance cycle corresponding to the long-distance cycle at the current moment;
[0013] Obtaining the cumulative discharge energy and cumulative mileage in the previous short-distance cycle corresponding to the short-distance cycle at the current moment;
[0014] The second average power consumption in the short distance cycle at the current moment is calculated based on the accumulated discharge energy and accumulated mileage in the previous short distance cycle corresponding to the short distance cycle at the current moment.
[0015] Optionally, calculating the first average power consumption in the long-distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in a previous long-distance cycle corresponding to the long-distance cycle at the current moment includes:
[0016] Calculating a reference first average power consumption in the long-distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in a previous long-distance cycle corresponding to the long-distance cycle at the current moment;
[0017] The first average power consumption in the long distance period at the current moment is calculated based on the first average power consumption in the previous long distance period corresponding to the long distance period at the current moment and the reference first average power consumption in the long distance period at the current moment.
[0018] Optionally, calculating the first average power consumption in the long-distance period at the current moment based on the first average power consumption in a previous long-distance period corresponding to the long-distance period at the current moment and the reference first average power consumption in the long-distance period at the current moment includes:
[0019] Calculating, based on a ratio of the accumulated mileage during the long-distance period in which the current moment is located to the distance length of the long-distance period, weight values corresponding to the first average power consumption during the previous long-distance period corresponding to the long-distance period in which the current moment is located and the reference first average power consumption during the long-distance period in which the current moment is located;
[0020] The first average power consumption in the long-distance cycle at the current moment is calculated based on the first average power consumption in the previous long-distance cycle corresponding to the long-distance cycle at the current moment, the weight value corresponding to the first average power consumption in the previous long-distance cycle corresponding to the long-distance cycle at the current moment, the reference first average power consumption in the long-distance cycle at the current moment, and the weight value corresponding to the reference first average power consumption in the long-distance cycle at the current moment.
[0021] Optionally, calculating the current comprehensive power consumption of the electric vehicle based on the first average power consumption and the second average power consumption includes:
[0022] Calculating the current comprehensive power consumption of the electric vehicle based on the obtained current comprehensive energy consumption calculation formula, the first average power consumption, and the second average power consumption;
[0023] The calculated current comprehensive power consumption of the electric vehicle is filtered.
[0024] Optionally, the current comprehensive power consumption of the electric vehicle is calculated based on the obtained current comprehensive energy consumption calculation formula, the first average power consumption, and the second average power consumption, including:
[0025] Calculating a percentage difference between the first average power consumption and the second average power consumption;
[0026] Determine a current comprehensive energy consumption calculation formula corresponding to the difference percentage value;
[0027] The current comprehensive power consumption of the electric vehicle is calculated based on the current comprehensive energy consumption calculation formula, the first average power consumption, and the second average power consumption.
[0028] A device for calculating driving range, comprising:
[0029] A first power consumption calculation module is configured to calculate, based on the acquired driving data of the electric vehicle, a first average power consumption within a long-distance period at a current moment and a second average power consumption within a short-distance period at the current moment; the long-distance period being longer than the short-distance period;
[0030] a second power consumption calculation module, configured to calculate the current comprehensive power consumption of the electric vehicle based on the first average power consumption and the second average power consumption;
[0031] The mileage calculation module is used to obtain the remaining available energy of the power battery of the electric vehicle and determine the ratio of the remaining available energy to the current comprehensive power consumption as the driving range of the electric vehicle.
[0032] Optionally, the first power consumption calculation module includes:
[0033] A first acquisition submodule is configured to acquire the accumulated discharge energy and accumulated mileage in the previous long-distance cycle corresponding to the long-distance cycle at the current moment;
[0034] a first calculation submodule, configured to calculate a first average power consumption in the long-distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in a previous long-distance cycle corresponding to the long-distance cycle at the current moment;
[0035] The second acquisition submodule is used to obtain the accumulated discharge energy and accumulated mileage in the previous short distance cycle corresponding to the short distance cycle at the current moment;
[0036] The second calculation submodule is used to calculate the second average power consumption in the short distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in the previous short distance cycle corresponding to the short distance cycle at the current moment.
[0037] Optionally, the first calculation submodule includes:
[0038] a first calculation unit, configured to calculate a reference first average power consumption in the long-distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in a previous long-distance cycle corresponding to the long-distance cycle at the current moment;
[0039] The second calculation unit is used to calculate the first average power consumption in the long-distance period where the current moment is located based on the first average power consumption in the previous long-distance period corresponding to the long-distance period where the current moment is located and the reference first average power consumption in the long-distance period where the current moment is located.
[0040] An electronic device comprising: a memory and a processor;
[0041] Wherein, the memory is used to store programs;
[0042] The processor calls the program and is used to:
[0043] Calculating, based on the acquired driving data of the electric vehicle, a first average power consumption in a long-distance cycle at a current moment and a second average power consumption in a short-distance cycle at the current moment; wherein the distance length of the long-distance cycle is greater than the distance length of the short-distance cycle;
[0044] Calculating a current comprehensive power consumption of the electric vehicle based on the first average power consumption and the second average power consumption;
[0045] The remaining available energy of the power battery of the electric vehicle is obtained, and the ratio of the remaining available energy to the current comprehensive power consumption is determined as the driving range of the electric vehicle.
[0046] Compared with the prior art, the present invention has the following beneficial effects:
[0047] The present invention provides a method, device, and electronic device for calculating driving range. These methods reference the vehicle's driving data when calculating a first average power consumption within a long-distance cycle and a second average power consumption within a short-distance cycle. That is, the calculation of the first and second average power consumptions takes into account the vehicle's current driving state, making the calculated first and second average power consumptions more consistent with the vehicle's current driving state and more accurate. Furthermore, the present invention calculates the electric vehicle's current comprehensive power consumption based on the first average power consumption within the long-distance cycle and the second average power consumption within the short-distance cycle. That is, when calculating the current comprehensive power consumption, the present invention considers both the vehicle's long-term and short-term driving energy consumption, avoiding inaccurate energy consumption calculations caused by situations where the vehicle's short-term driving state fluctuates significantly but its long-term driving state fluctuates less, or vice versa. This results in more accurate calculated energy consumption, and consequently, a more accurate calculation of the electric vehicle's driving range based on this energy consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0049] Figure 1 A flow chart of a method for calculating driving range provided by an embodiment of the present invention;
[0050] Figure 2 A flow chart of another method for calculating driving range provided by an embodiment of the present invention;
[0051] Figure 3 A flow chart of another method for calculating driving range provided by an embodiment of the present invention;
[0052] Figure 4 A flow chart of another method for calculating driving range provided by an embodiment of the present invention;
[0053] Figure 5 A schematic diagram of the structure of a driving range calculation device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0054] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0055] During the driving of an electric vehicle, the battery management system (BMS) can calculate the electric vehicle's range and then display the range, thereby reminding the user of the battery vehicle's mileage, allowing the user to perform vehicle operations such as charging in a timely manner when the electric vehicle's mileage is less.
[0056] Currently, the electric vehicle's driving range is determined by the ratio of the remaining available energy in the power battery to a preset standard power consumption. The preset standard power consumption is the average power consumption under a typical operating condition. This typical operating condition can be the test conditions recommended in GB / T 18386-2017, "Test Method for Energy Consumption Rate and Driving Range of Electric Vehicles," which primarily simulates driving conditions on urban and suburban roads. The preset standard power consumption (AECDefault) under this operating condition can be obtained through bench testing and written as a fixed value into controller software, such as the battery management system (BMS).
[0057] However, the actual average power consumption of electric vehicles is affected by numerous factors during driving. Typically, at high speeds, electric vehicles experience increased wind resistance and reduced motor efficiency, resulting in higher actual average power consumption than under standard operating conditions. Activating the air conditioning compressor or heating components in hot or cold conditions can also significantly increase actual average power consumption. Furthermore, energy recovery also affects average power consumption. Test results show that for electric vehicles with the same battery capacity, depending on operating conditions, the actual range (the range of an electric vehicle) can differ by 20-50% compared to the range calculated under standard operating conditions.
[0058] Therefore, the existing range estimation method estimates the range according to the average power consumption under a certain standard operating condition, which cannot reflect the real-time changes in the power consumption of electric vehicles. That is, the range calculated based on the average power consumption under the standard operating condition has low accuracy. When the actual average power consumption of the vehicle differs greatly from the typical operating condition, it is impossible to provide users with accurate range information.
[0059] In order to solve the problem of low accuracy of the calculated driving range mentioned above, an embodiment of the present invention provides a method for calculating the driving range, in which the vehicle driving data of the electric vehicle is referred to when calculating the first average power consumption in the long-distance period at the current moment and the second average power consumption in the short-distance period at the current moment. That is, the current driving state of the vehicle is taken into account when calculating the first average power consumption and the second average power consumption, so that the calculated first and second average power consumptions are more consistent with the current driving state of the vehicle and have higher accuracy. Furthermore, the present invention calculates the current comprehensive power consumption of the electric vehicle based on the first average power consumption in the long-distance period at the current moment and the second average power consumption in the short-distance period at the current moment. That is, when calculating the current comprehensive power consumption, the present invention takes into account the long-term driving energy consumption and the short-term driving energy consumption of the vehicle, avoiding the problem of inaccurate energy consumption calculation caused by the situation that the vehicle's short-term driving state changes greatly but the long-term driving state changes less, or the long-term driving state changes greatly but the short-term driving state changes less, thereby making the calculated energy consumption more accurate, and thus the accuracy of the electric vehicle's driving range calculated based on the energy consumption is higher. Specifically, with reference to Figure 1 , the calculation method of driving range may include:
[0060] S11 . Calculate, based on the acquired driving data of the electric vehicle, a first average power consumption in a long-distance period at a current moment and a second average power consumption in a short-distance period at the current moment.
[0061] In practical applications, the present invention pre-sets two distance cycles, namely a long distance cycle and a short distance cycle. The distance length of the long distance cycle is greater than the distance length of the short distance cycle. The long distance cycle can be set to 100KM and the short distance cycle can be set to 30KM. Taking the long distance cycle as an example, each 100KM is a cycle. When it exceeds 100KM, it automatically enters the next cycle.
[0062] In the embodiment of the present invention, the long-distance period and the short-distance period are set so that the long-distance energy consumption and the short-distance energy consumption can be considered when calculating the comprehensive energy consumption, so that the calculated energy consumption is more accurate.
[0063] Electric vehicle driving data can include the battery's state of charge (SOC), state of health (SOH), cell temperature T, battery bus voltage, battery bus current, vehicle speed, cumulative discharge energy over different cycles, and accumulated mileage. Jitter in any of these driving data can affect the final output. Filtering can be performed on the SOC, SOH, T, battery bus voltage, battery bus current, and vehicle speed to suppress fluctuations in driving range. A typical approach is to use a sliding average filter to eliminate jitter.
[0064] S12. Calculate the current comprehensive power consumption of the electric vehicle based on the first average power consumption and the second average power consumption.
[0065] In practical applications, the impact of the first average power consumption and the second average power consumption on the current comprehensive energy consumption of electric vehicles is comprehensively considered. Specifically, the comprehensive power consumption AEC Mixed The first average power consumption AEC 100KM and the second average power consumption AEC 30KM The values are mixed according to certain rules.
[0066] In another implementation of the present invention, step S12 may include:
[0067] 1) Calculating the current comprehensive power consumption of the electric vehicle based on the obtained current comprehensive energy consumption calculation formula, the first average power consumption, and the second average power consumption.
[0068] In this embodiment, the current comprehensive energy consumption calculation formula is preset, which is as follows:
[0069] Diff Rate =|(AEC 30km -AEC 100km )| / AEC 100km
[0070]
[0071] The current comprehensive energy consumption calculation formula uses the piecewise function driving, Diff Rate It can be called the percentage difference between the first average power consumption and the second average power consumption, AEC 30KM is the second average power consumption, AEC 100KM is the first average power consumption, AEC Mixed is the current comprehensive power consumption.
[0072] AEC Mixed Based on Diff Rate The values of Diff are calculated using different formulas. Rate When ≤0.2, AECMixed For AEC 100KM , in Diff Rate When ≥0.8, AEC Mixed For AEC 30KM , in Diff Rate >0.2 and Diff Rate When <0.8, the calculation formula is:
[0073]
[0074] In summary, referring to Figure 2 , based on the obtained current comprehensive energy consumption calculation formula, the first average power consumption, and the second average power consumption, the current comprehensive power consumption of the electric vehicle is calculated, including:
[0075] S21. Calculate the difference percentage between the first average power consumption and the second average power consumption;
[0076] S22. Determine a current comprehensive energy consumption calculation formula corresponding to the difference percentage value;
[0077] S23. Calculate the current comprehensive power consumption of the electric vehicle based on the current comprehensive energy consumption calculation formula, the first average power consumption, and the second average power consumption.
[0078] 2) Filtering the calculated current comprehensive power consumption of the electric vehicle.
[0079] In order to avoid the problem of inaccurate final calculated electric vehicle range due to jitter in the calculated current comprehensive power consumption, the current comprehensive power consumption can be filtered. Specifically, a sliding average filter method can be used to eliminate jitter.
[0080] S13. Obtain the remaining available energy of the power battery of the electric vehicle, and determine the ratio of the remaining available energy to the current comprehensive power consumption as the driving range of the electric vehicle.
[0081] In actual applications, during normal operation, the BMS obtains information such as the total battery voltage, total current, cell voltage, and cell temperature T through voltage, current, and temperature sensors. The battery management system calculates the state of charge (SOC) based on the total battery voltage (UPack) and discharge current (I). It also calculates the state of health (SOH) based on parameters such as the total battery voltage (UPack), cell voltage (UCell), and discharge current (I).
[0082] Based on inputs such as SOC, SOH, and cell temperature T, the BMS can estimate the remaining available energy (E) of the power battery. A typical method is to obtain this estimate through a table lookup. By calibrating the battery pack's energy and performing full charge and discharge cycles at different SOC and cell temperature T conditions, a table showing the rated remaining available energy (E) as a function of SOC and cell temperature (T) is obtained and written into the BMS program. During vehicle use, the real-time SOC and cell temperature (T) are used to look up the table to obtain the rated remaining available energy, which is then multiplied by the SOH to obtain the remaining available energy (E) for the current lifespan. Finally, the real-time updated remaining available energy (E) is divided by the current comprehensive power consumption (AECMixed) to obtain the electric vehicle's range (VehElecRng).
[0083] It should be noted that a soft switch is pre-set on the instrument panel or the front central control screen to allow the user to choose whether to calculate the driving range according to the "preset standard power consumption" or the "actual power consumption". If the "preset standard power consumption" is selected, the driving range is calculated directly according to the scheme in the background technology. If the "actual power consumption" is selected, the driving range is calculated according to the contents of steps S11-S14 of the present invention.
[0084] In the embodiment of the present invention, the instrument panel (IPK) described above may be an LCD, a black-and-white screen, or a monochrome screen, and is used to display the range value during driving. When the IPK is an LCD, the user can select their preferred range calculation method, i.e., "Preset Standard Power Consumption" or "Actual Power Consumption," on the user interface provided by the display. When the IPK is not an LCD, the range calculation method selection function can also be implemented through the user interface of the front center control display (FCD).
[0085] In this embodiment, when calculating the first average power consumption within the long-distance cycle at the current moment and the second average power consumption within the short-distance cycle at the current moment, the vehicle driving data of the electric vehicle is referenced. That is, the current driving state of the vehicle is taken into account when calculating the first and second average power consumptions, making the calculated first and second average power consumptions more consistent with the current driving state of the vehicle and having higher accuracy. Furthermore, the present invention calculates the current comprehensive power consumption of the electric vehicle based on the first average power consumption within the long-distance cycle at the current moment and the second average power consumption within the short-distance cycle at the current moment. That is, when calculating the current comprehensive power consumption, the present invention takes into account the vehicle's long-term and short-term driving energy consumption, avoiding the problem of inaccurate energy consumption calculation caused by situations such as large changes in the short-term driving state of the vehicle but small changes in the long-term driving state, or large changes in the long-term driving state but small changes in the short-term driving state. This makes the calculated energy consumption more accurate, and the electric vehicle's range calculated based on this energy consumption is more accurate.
[0086] On the basis of the above embodiment, another implementation of the present invention provides a specific implementation process of step S12. Figure 3 , step S12 may include:
[0087] S31 , obtaining the accumulated discharge energy and accumulated mileage in the previous long-distance cycle corresponding to the long-distance cycle at the current moment.
[0088] Since the long distance period and the short distance period are pre-set, there may be multiple long distance periods, such as the long distance period at the current moment, the previous long distance period corresponding to the long distance period at the current moment, and the next long distance period corresponding to the long distance period at the current moment.
[0089] In this embodiment, when calculating the first average energy consumption of the long-distance cycle at the current moment, data such as the accumulated discharge energy and the accumulated mileage in the previous long-distance cycle are used.
[0090] S32. Calculate a first average power consumption in the long-distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in a previous long-distance cycle corresponding to the long-distance cycle at the current moment.
[0091] For the convenience of description, the previous long distance period corresponding to the long distance period at the current moment is called the previous long distance period, and the long distance period at the current moment is called the current long distance period, and the short distance period is similar.
[0092] In another implementation of the present invention, step S32 may specifically include:
[0093] S41. Calculate a reference first average power consumption in the long-distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in a previous long-distance cycle corresponding to the long-distance cycle at the current moment.
[0094] Specifically, the accumulated discharge energy and accumulated mileage of the current long-distance cycle and the previous long-distance cycle are all calculated through the vehicle driving data of the electric vehicle.
[0095] Among them, the vehicle driving data of electric vehicles includes the state of charge (SOC), state of health (SOH), battery cell temperature T, power battery bus voltage, power battery bus current, vehicle speed and other data of the power battery.
[0096] Taking the current long-distance cycle as an example, the process of calculating its cumulative discharge energy and cumulative mileage is given, with reference to formulas (1) and (2) for details.
[0097] E i+1 =E i +U i *I i *Δt (1)
[0098] S i+1 =S i +V i *I i *Δt (2)
[0099] In the above formula, U i Refers to the power battery bus voltage. i Refers to the power battery bus current. V i is the vehicle speed, E i Refers to the cumulative discharge energy in the previous cycle, S i is the cumulative mileage in the previous cycle, and Δt is the driving time of the current long-distance cycle.
[0100] Reference second average power consumption AEC of the current short distance cycle 30KM_CrntCycle , Reference first average power consumption AEC of the current long distance cycle 100KM_CrntCycle The update formula is as follows:
[0101]
[0102] AEC i This is the final calculated AEC 100KM_CrntCycle .
[0103] It should be noted that the preset discharge energy calculation formula is the above-mentioned formula (1), and the preset mileage calculation formula is the above-mentioned formula (2). The calculation process of the reference first average power consumption in the long-distance cycle at the current moment and the reference second average power consumption in the short-distance cycle at the current moment are similar.
[0104] S44. Calculate the first average power consumption in the long-distance period at the current moment based on the first average power consumption in the previous long-distance period corresponding to the long-distance period at the current moment and the reference first average power consumption in the long-distance period at the current moment.
[0105] In actual application, when the BMS system is started, the BMS reads the first average power consumption in the last long distance period stored in its own memory (EEPROM) (specifically, the actual average power consumption of the last 100km), hereinafter referred to as AEC 100KM_LastCycle The second average power consumption in the last short distance cycle (specifically, the actual average power consumption of the last 30km) will also be read, hereinafter referred to as AEC 30KM_LastCycleThe instrument panel or central control screen reads the user-selected mileage calculation method stored in the EEPROM and sends the information to the BMS so that the BMS can calculate the mileage.
[0106] During the vehicle's driving process, the controller calculates the average power consumption AEC of the vehicle based on the second average power consumption AEC in the previous short distance cycle. 30KM_LastCycle , the first average power consumption AEC in the last long distance cycle 100KM_LastCycle , and the second average power consumption AEC of the current short distance cycle 30KM_CrntCycle , the first average power consumption AEC of the current long distance cycle 100KM_CrntCycle , the first average power consumption AEC used in the algorithm 100KM , Second average power consumption AEC 30KM to update.
[0107] In practical applications, step S44 may include:
[0108] 1) Calculating, based on the ratio of the accumulated mileage during the long-distance period in which the current moment is located to the distance length of the long-distance period, the weight values corresponding to the first average power consumption during the previous long-distance period corresponding to the long-distance period in which the current moment is located and the reference first average power consumption during the long-distance period in which the current moment is located;
[0109] 2) Based on the first average power consumption in the previous long-distance period corresponding to the long-distance period at the current moment, the weight value corresponding to the first average power consumption in the previous long-distance period corresponding to the long-distance period at the current moment, the reference first average power consumption in the long-distance period at the current moment, and the weight value corresponding to the reference first average power consumption in the long-distance period at the current moment, the first average power consumption in the long-distance period at the current moment is calculated.
[0110] Specifically, the first average power consumption AEC 100KM Take the following example to give the specific process.
[0111] The first average power consumption AEC of the last long distance cycle 100KM_LastCycle , the reference first average power consumption AEC of the current long distance cycle 100KM_CrntCycle , the first average power consumption AEC used in the algorithm 100KM , the calculation relationship between the three is as follows.
[0112] Factor Crnt =S i / 100
[0113] Factor Last =1-Factor Crnt
[0114] AEC 100km =Factor Crnt *AEC 100km _ CrntCycle +Factor Last *AEC 100km _LastCycle
[0115] In the above formula, Factor Crnt is the current cycle power consumption weight, Factor Last is the power consumption weight of the previous cycle.
[0116] As the cumulative travel distance S i As the accumulated driving distance S increases, the current cycle's power consumption weight gradually increases, and the previous cycle's power consumption weight gradually decreases. i When the upper limit of 100km is reached, AEC 100km Equal to AEC 100km_CrntCycle , the program will reset the accumulated discharge energy E i , cumulative driving distance S i Clear and set AEC 100km Assign to AEC 100KM_LastCycle , restart the next round of calculation.
[0117] S33: Obtain the accumulated discharge energy and accumulated mileage in the previous short-distance cycle corresponding to the short-distance cycle at the current moment.
[0118] S34. Calculate a second average power consumption in the short distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in the previous short distance cycle corresponding to the short distance cycle at the current moment.
[0119] The specific implementation process of steps S33-S34 is similar to the specific implementation process of steps S31-S32, and specific reference is made to the above implementation process.
[0120] In this embodiment, when calculating the first average power consumption within the long-distance cycle at the current moment and the second average power consumption within the short-distance cycle at the current moment, the vehicle driving data of the electric vehicle is referenced. That is, the current driving state of the vehicle is taken into account when calculating the first and second average power consumptions, making the calculated first and second average power consumptions more consistent with the current driving state of the vehicle and having higher accuracy. Furthermore, the present invention calculates the current comprehensive power consumption of the electric vehicle based on the first average power consumption within the long-distance cycle at the current moment and the second average power consumption within the short-distance cycle at the current moment. That is, when calculating the current comprehensive power consumption, the present invention takes into account the vehicle's long-term and short-term driving energy consumption, avoiding the problem of inaccurate energy consumption calculation caused by situations such as large changes in the short-term driving state of the vehicle but small changes in the long-term driving state, or large changes in the long-term driving state but small changes in the short-term driving state. This makes the calculated energy consumption more accurate, and the electric vehicle's range calculated based on this energy consumption is more accurate.
[0121] Furthermore, in actual use, the average power consumption based on standard operating conditions (preset standard power consumption) will only vary with battery life and ambient temperature. If the user's actual driving average power consumption differs significantly from the preset standard power consumption, the preset standard power consumption will have a large error. However, the user can use this value to determine the remaining battery capacity and, therefore, whether the battery capacity has declined.
[0122] In this embodiment, the range estimated based on actual comprehensive power consumption varies with battery life, ambient temperature, and the user's average power consumption. Compared to conventional range calculation methods based on fixed operating conditions, this range estimation accuracy can be improved by 20-50%, helping users better plan their travel and charging. The ultimate goal is to improve range prediction accuracy. The filtering and processing methods implemented in the algorithm can reduce user confusion and improve the customer experience.
[0123] Optionally, based on the above embodiment of the method for calculating the mileage, another implementation of the present invention provides a device for calculating the mileage, referring to Figure 5 , which may include:
[0124] The first power consumption calculation module 11 is configured to calculate, based on the acquired driving data of the electric vehicle, a first average power consumption in a long-distance period at a current moment and a second average power consumption in a short-distance period at the current moment; the distance length of the long-distance period is greater than the distance length of the short-distance period;
[0125] A second power consumption calculation module 12 is configured to calculate the current comprehensive power consumption of the electric vehicle based on the first average power consumption and the second average power consumption;
[0126] The mileage calculation module 13 is used to obtain the remaining available energy of the power battery of the electric vehicle, and determine the ratio of the remaining available energy to the current comprehensive power consumption as the driving range of the electric vehicle.
[0127] Furthermore, the first power consumption calculation module includes:
[0128] A first acquisition submodule is configured to acquire the accumulated discharge energy and accumulated mileage in the previous long-distance cycle corresponding to the long-distance cycle at the current moment;
[0129] a first calculation submodule, configured to calculate a first average power consumption in the long-distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in a previous long-distance cycle corresponding to the long-distance cycle at the current moment;
[0130] The second acquisition submodule is used to obtain the accumulated discharge energy and accumulated mileage in the previous short distance cycle corresponding to the short distance cycle at the current moment;
[0131] The second calculation submodule is used to calculate the second average power consumption in the short distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in the previous short distance cycle corresponding to the short distance cycle at the current moment.
[0132] Furthermore, the first calculation submodule includes:
[0133] a first calculation unit, configured to calculate a reference first average power consumption in the long-distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in a previous long-distance cycle corresponding to the long-distance cycle at the current moment;
[0134] The second calculation unit is used to calculate the first average power consumption in the long-distance period where the current moment is located based on the first average power consumption in the previous long-distance period corresponding to the long-distance period where the current moment is located and the reference first average power consumption in the long-distance period where the current moment is located.
[0135] Furthermore, the second power consumption calculation module 12 is specifically configured to:
[0136] Calculating the current comprehensive power consumption of the electric vehicle based on the obtained current comprehensive energy consumption calculation formula, the first average power consumption, and the second average power consumption;
[0137] The calculated current comprehensive power consumption of the electric vehicle is filtered.
[0138] Furthermore, the second power consumption calculation module 12 is specifically configured to calculate the current comprehensive power consumption of the electric vehicle based on the obtained current comprehensive energy consumption calculation formula, the first average power consumption, and the second average power consumption, and is specifically configured to:
[0139] Calculating a percentage difference between the first average power consumption and the second average power consumption;
[0140] Determine a current comprehensive energy consumption calculation formula corresponding to the difference percentage value;
[0141] The current comprehensive power consumption of the electric vehicle is calculated based on the current comprehensive energy consumption calculation formula, the first average power consumption, and the second average power consumption.
[0142] In this embodiment, when calculating the first average power consumption within the long-distance cycle at the current moment and the second average power consumption within the short-distance cycle at the current moment, the vehicle driving data of the electric vehicle is referenced. That is, the current driving state of the vehicle is taken into account when calculating the first and second average power consumptions, making the calculated first and second average power consumptions more consistent with the current driving state of the vehicle and having higher accuracy. Furthermore, the present invention calculates the current comprehensive power consumption of the electric vehicle based on the first average power consumption within the long-distance cycle at the current moment and the second average power consumption within the short-distance cycle at the current moment. That is, when calculating the current comprehensive power consumption, the present invention takes into account the vehicle's long-term and short-term driving energy consumption, avoiding the problem of inaccurate energy consumption calculation caused by situations such as large changes in the short-term driving state of the vehicle but small changes in the long-term driving state, or large changes in the long-term driving state but small changes in the short-term driving state. This makes the calculated energy consumption more accurate, and the electric vehicle's range calculated based on this energy consumption is more accurate.
[0143] It should be noted that, for the working process of each module, sub-module and unit in this embodiment, please refer to the corresponding description in the above embodiment, which will not be repeated here.
[0144] Optionally, based on the above embodiments of the method and device for calculating the driving range, another embodiment of the present invention provides an electronic device, including: a memory and a processor;
[0145] Wherein, the memory is used to store programs;
[0146] The processor calls the program and is used to:
[0147] Calculating, based on the acquired driving data of the electric vehicle, a first average power consumption in a long-distance cycle at a current moment and a second average power consumption in a short-distance cycle at the current moment; wherein the distance length of the long-distance cycle is greater than the distance length of the short-distance cycle;
[0148] Calculating a current comprehensive power consumption of the electric vehicle based on the first average power consumption and the second average power consumption;
[0149] The remaining available energy of the power battery of the electric vehicle is obtained, and the ratio of the remaining available energy to the current comprehensive power consumption is determined as the driving range of the electric vehicle.
[0150] Furthermore, based on the acquired vehicle driving data of the electric vehicle, a first average power consumption in a long-distance period at a current moment and a second average power consumption in a short-distance period at the current moment are calculated, including:
[0151] Obtaining the accumulated discharge energy and accumulated mileage in the previous long-distance cycle corresponding to the long-distance cycle at the current moment;
[0152] Calculating a first average power consumption in the long-distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in a previous long-distance cycle corresponding to the long-distance cycle at the current moment;
[0153] Obtaining the cumulative discharge energy and cumulative mileage in the previous short-distance cycle corresponding to the short-distance cycle at the current moment;
[0154] The second average power consumption in the short distance cycle at the current moment is calculated based on the accumulated discharge energy and accumulated mileage in the previous short distance cycle corresponding to the short distance cycle at the current moment.
[0155] Furthermore, a first average power consumption in the long-distance cycle at the current moment is calculated based on the accumulated discharge energy and accumulated mileage in the previous long-distance cycle corresponding to the long-distance cycle at the current moment, including:
[0156] Calculating a reference first average power consumption in the long-distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in a previous long-distance cycle corresponding to the long-distance cycle at the current moment;
[0157] The first average power consumption in the long distance period at the current moment is calculated based on the first average power consumption in the previous long distance period corresponding to the long distance period at the current moment and the reference first average power consumption in the long distance period at the current moment.
[0158] Furthermore, the first average power consumption in the long-distance period at the current moment is calculated based on the first average power consumption in the previous long-distance period corresponding to the long-distance period at the current moment and the reference first average power consumption in the long-distance period at the current moment, including:
[0159] Calculating, based on a ratio of the accumulated mileage during the long-distance period in which the current moment is located to the distance length of the long-distance period, weight values corresponding to the first average power consumption during the previous long-distance period corresponding to the long-distance period in which the current moment is located and the reference first average power consumption during the long-distance period in which the current moment is located;
[0160] The first average power consumption in the long-distance cycle at the current moment is calculated based on the first average power consumption in the previous long-distance cycle corresponding to the long-distance cycle at the current moment, the weight value corresponding to the first average power consumption in the previous long-distance cycle corresponding to the long-distance cycle at the current moment, the reference first average power consumption in the long-distance cycle at the current moment, and the weight value corresponding to the reference first average power consumption in the long-distance cycle at the current moment.
[0161] Furthermore, the current comprehensive power consumption of the electric vehicle is calculated based on the first average power consumption and the second average power consumption, including:
[0162] Calculating the current comprehensive power consumption of the electric vehicle based on the obtained current comprehensive energy consumption calculation formula, the first average power consumption, and the second average power consumption;
[0163] The calculated current comprehensive power consumption of the electric vehicle is filtered.
[0164] Furthermore, based on the obtained current comprehensive energy consumption calculation formula, the first average power consumption, and the second average power consumption, the current comprehensive power consumption of the electric vehicle is calculated, including:
[0165] Calculating a percentage difference between the first average power consumption and the second average power consumption;
[0166] Determine a current comprehensive energy consumption calculation formula corresponding to the difference percentage value;
[0167] The current comprehensive power consumption of the electric vehicle is calculated based on the current comprehensive energy consumption calculation formula, the first average power consumption, and the second average power consumption.
[0168] In this embodiment, when calculating the first average power consumption within the long-distance cycle at the current moment and the second average power consumption within the short-distance cycle at the current moment, the vehicle driving data of the electric vehicle is referenced. That is, the current driving state of the vehicle is taken into account when calculating the first and second average power consumptions, making the calculated first and second average power consumptions more consistent with the current driving state of the vehicle and having higher accuracy. Furthermore, the present invention calculates the current comprehensive power consumption of the electric vehicle based on the first average power consumption within the long-distance cycle at the current moment and the second average power consumption within the short-distance cycle at the current moment. That is, when calculating the current comprehensive power consumption, the present invention takes into account the vehicle's long-term and short-term driving energy consumption, avoiding the problem of inaccurate energy consumption calculation caused by situations such as large changes in the short-term driving state of the vehicle but small changes in the long-term driving state, or large changes in the long-term driving state but small changes in the short-term driving state. This makes the calculated energy consumption more accurate, and the electric vehicle's range calculated based on this energy consumption is more accurate.
[0169] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for calculating driving range, characterized in that: include: Calculating, based on the acquired driving data of the electric vehicle, a first average power consumption in a long-distance cycle at a current moment and a second average power consumption in a short-distance cycle at the current moment; wherein the distance length of the long-distance cycle is greater than the distance length of the short-distance cycle; Calculating the current comprehensive power consumption of the electric vehicle based on the first average power consumption and the second average power consumption, wherein: when a difference percentage value between the first average power consumption and the second average power consumption is less than or equal to a first threshold, the current comprehensive power consumption is the first average power consumption; when the difference percentage value is greater than or equal to a second threshold, the current comprehensive power consumption is the second average power consumption; when the difference percentage value is greater than the first threshold and less than the second threshold, the current comprehensive power consumption is determined using the difference percentage value, the first threshold, the second threshold, the first average power consumption, and the second average power consumption; The remaining available energy of the power battery of the electric vehicle is obtained, and the ratio of the remaining available energy to the current comprehensive power consumption is determined as the driving range of the electric vehicle.
2. The calculation method according to claim 1, characterized in that Calculating a first average power consumption in a long-distance period at a current moment and a second average power consumption in a short-distance period at the current moment based on the acquired vehicle driving data of the electric vehicle includes: Obtaining the accumulated discharge energy and accumulated mileage in the previous long-distance cycle corresponding to the long-distance cycle at the current moment; Calculating a first average power consumption in the long-distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in a previous long-distance cycle corresponding to the long-distance cycle at the current moment; Obtaining the cumulative discharge energy and cumulative mileage in the previous short-distance cycle corresponding to the short-distance cycle at the current moment; The second average power consumption in the short distance cycle at the current moment is calculated based on the accumulated discharge energy and accumulated mileage in the previous short distance cycle corresponding to the short distance cycle at the current moment.
3. The calculation method according to claim 1, characterized in that Calculating the current comprehensive power consumption of the electric vehicle based on the first average power consumption and the second average power consumption includes: Calculating the current comprehensive power consumption of the electric vehicle based on the obtained current comprehensive energy consumption calculation formula, the first average power consumption, and the second average power consumption; The calculated current comprehensive power consumption of the electric vehicle is filtered.
4. The calculation method according to claim 3, characterized in that The current comprehensive power consumption of the electric vehicle is calculated based on the obtained current comprehensive energy consumption calculation formula, the first average power consumption, and the second average power consumption, including: Calculating a percentage difference between the first average power consumption and the second average power consumption; Determine a current comprehensive energy consumption calculation formula corresponding to the difference percentage value; The current comprehensive power consumption of the electric vehicle is calculated based on the current comprehensive energy consumption calculation formula, the first average power consumption, and the second average power consumption.
5. A device for calculating driving range, characterized in that: include: A first power consumption calculation module is configured to calculate, based on the acquired driving data of the electric vehicle, a first average power consumption within a long-distance period at a current moment and a second average power consumption within a short-distance period at the current moment; the long-distance period being longer than the short-distance period; a second power consumption calculation module, configured to calculate a current comprehensive power consumption of the electric vehicle based on the first average power consumption and the second average power consumption, wherein: when a difference percentage value between the first average power consumption and the second average power consumption is less than or equal to a first threshold, the current comprehensive power consumption is the first average power consumption; when the difference percentage value is greater than or equal to a second threshold, the current comprehensive power consumption is the second average power consumption; when the difference percentage value is greater than the first threshold and less than the second threshold, the current comprehensive power consumption is determined using the difference percentage value, the first threshold, the second threshold, the first average power consumption, and the second average power consumption; The mileage calculation module is used to obtain the remaining available energy of the power battery of the electric vehicle and determine the ratio of the remaining available energy to the current comprehensive power consumption as the driving range of the electric vehicle.
6. The computing device according to claim 5, wherein: The first power consumption calculation module includes: A first acquisition submodule is configured to acquire the accumulated discharge energy and accumulated mileage in the previous long-distance cycle corresponding to the long-distance cycle at the current moment; a first calculation submodule, configured to calculate a first average power consumption in the long-distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in a previous long-distance cycle corresponding to the long-distance cycle at the current moment; The second acquisition submodule is used to obtain the accumulated discharge energy and accumulated mileage in the previous short distance cycle corresponding to the short distance cycle at the current moment; The second calculation submodule is used to calculate the second average power consumption in the short distance cycle at the current moment based on the accumulated discharge energy and accumulated mileage in the previous short distance cycle corresponding to the short distance cycle at the current moment.
7. An electronic device, characterized in that: include: memory and processor; Wherein, the memory is used to store programs; The processor calls the program and is used to: Calculating, based on the acquired driving data of the electric vehicle, a first average power consumption in a long-distance cycle at a current moment and a second average power consumption in a short-distance cycle at the current moment; wherein the distance length of the long-distance cycle is greater than the distance length of the short-distance cycle; Calculating the current comprehensive power consumption of the electric vehicle based on the first average power consumption and the second average power consumption, wherein: when a difference percentage value between the first average power consumption and the second average power consumption is less than or equal to a first threshold, the current comprehensive power consumption is the first average power consumption; when the difference percentage value is greater than or equal to a second threshold, the current comprehensive power consumption is the second average power consumption; when the difference percentage value is greater than the first threshold and less than the second threshold, the current comprehensive power consumption is determined using the difference percentage value, the first threshold, the second threshold, the first average power consumption, and the second average power consumption; The remaining available energy of the power battery of the electric vehicle is obtained, and the ratio of the remaining available energy to the current comprehensive power consumption is determined as the driving range of the electric vehicle.
Citation Information
Patent Citations
Estimation method for remaining energy of battery and estimation method and device for remaining mileage of vehicle
CN109693545A
Method for estimating endurance mileage of new energy vehicle
CN110065452A