Electric vehicle remaining mileage estimation method, system, electronic device and storage medium

By detecting the working status of the electric vehicle and adopting different calculation rules, combining the energy consumption values ​​of standard working conditions and historical working conditions, the remaining mileage of the electric vehicle is calculated, and the problems of low accuracy and high cost in the existing technology are solved, and the problem of low accuracy and high cost is realized. Higher calculation accuracy and reliability.

CN115476726BActive Publication Date: 2025-02-11五羊本田摩托(广州)有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211179680.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-27
Publication Date
2025-02-11
Estimated Expiration
2042-09-27

AI Technical Summary

Technical Problem

The existing remaining mileage estimate method for electric vehicles has problems of low accuracy and unintuitiveness, which leads to drivers' mileage anxiety, and the algorithm is complex and costly, making it difficult to directly apply to electric vehicles.

Method used

By detecting the current working status of the electric vehicle, different calculation rules are used to calculate the remaining mileage. The specific steps include calculating the standard operating conditions energy consumption value and historical operating conditions in the initial power-on standstill or charging state; in the running state, the cumulative mileage and the current operating conditions energy consumption value and history Calculate the energy consumption value of the working condition.

Benefits of technology

It improves the accuracy and reliability of the range calculation of electric vehicles, avoids the calculation error of residual mileage caused by special working conditions, and reduces the calculation complexity and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115476726B_ABST
    Figure CN115476726B_ABST
Patent Text Reader

Abstract

The present invention provides a method, system, electronic device and storage medium for estimating the remaining mileage of an electric vehicle, wherein the method includes: S1, detecting the current working state of the electric vehicle; S2, when the working state is the initial power-on static state or the charging state, calculating the remaining mileage of the electric vehicle according to the first calculation rule: comparing the remaining mileage calculated by the average energy consumption value of the historical working condition with the remaining mileage calculated by the energy consumption value of the standard working condition, if the deviation is within the specified range, then taking the remaining mileage calculated according to the average energy consumption value of the historical working condition, otherwise taking the remaining mileage calculated by the energy consumption value of the standard working condition; when the working state is the running state, calculating the remaining mileage of the electric vehicle according to the second calculation rule: calculating the remaining mileage by the current working condition energy consumption value and different historical working condition energy consumption values. The present invention improves the calculation accuracy of the electric vehicle's cruising range and has high reliability, thereby ensuring the reliable and stable operation of the electric vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of electric vehicles, and in particular relates to a method, system, electronic device and storage medium for estimating the remaining mileage of an electric vehicle. Background Art

[0002] At present, the use of electric vehicles is becoming more and more common, which has brought convenience to people's travel and contributed to energy conservation and emission reduction. The mileage of traditional electric vehicles is estimated by the driver through the remaining power displayed on the instrument. There are problems such as large errors and non-intuitive estimation results, which easily cause drivers to have "mileage anxiety". In addition, the existing mileage estimation algorithms are mainly used in electric vehicles. The algorithms are complex and costly, and it is difficult to apply them directly to electric vehicles. The current method for estimating the remaining mileage of electric vehicles is mainly to calculate the remaining available power (State Of Charge, SOC) of the current power battery reported by the battery management system and the energy consumption of the electric vehicle under standard test conditions (New European Driving Cycle, NEDC). Due to the single factor involved in the calculation of the endurance, the calculated endurance of the electric vehicle has a low accuracy. Summary of the invention

[0003] The object of the present invention is to provide a method for estimating the remaining mileage of an electric vehicle, which improves the calculation accuracy of the cruising range of the electric vehicle and has high reliability, thereby ensuring the reliable and stable operation of the electric vehicle.

[0004] The present invention is achieved through the following technical solutions:

[0005] A method for estimating the remaining mileage of an electric vehicle comprises the following steps:

[0006] S1. Detect the current working state of the electric vehicle, which includes the initial power-on static state, running state and charging state;

[0007] S2. When the working state is the initial power-on static state or the charging state, the remaining mileage of the electric vehicle is calculated according to the first calculation rule:

[0008] S21, obtaining the energy consumption value of the standard working condition, obtaining several energy consumption values ​​of the historical working conditions stored in the first storage area, and calculating the average energy consumption value of the historical working conditions by the following formula:

[0009] A″=∑ i=1 a i *A i / i, where i = 1, 2, ..., n, where A″ is the average energy consumption value of historical operating conditions, n is the number of historical operating condition energy consumption values ​​obtained, and a i A i The corresponding weighted average coefficient, A iis the energy consumption value of historical working conditions;

[0010] S22, obtaining the current battery power of the electric vehicle, calculating the first calculated mileage from the battery power and the energy consumption value under standard working conditions, and calculating the second calculated mileage from the battery power and the average energy consumption under historical working conditions;

[0011] S23, determining whether the absolute value of the difference between the first calculated mileage and the second calculated mileage is greater than a preset deviation value;

[0012] S24, if yes, taking the first calculated mileage as the remaining mileage of the electric vehicle; if no, taking the second calculated mileage as the remaining mileage of the electric vehicle;

[0013] S3. When the working state is the running state, the remaining mileage of the electric vehicle is calculated according to the second calculation rule:

[0014] S31, starting to accumulate the mileage of the electric vehicle;

[0015] S32, determining whether the accumulated mileage has reached a preset mileage, and if so, determining the current operating condition energy consumption value of the newly reached preset mileage, the current operating condition energy consumption value being the power consumption per unit mileage of the electric vehicle;

[0016] S33, obtaining several historical working condition energy consumption values ​​stored in the first storage area, and calculating the average energy consumption value of the current working condition by the following formula:

[0017] A=(∑ i=1 a i *A i +a n+1 A n+1 ) / (i+1), where i=1, 2, ..., n, where A is the average energy consumption value of the current working condition, a n+1 A n+1 The corresponding weighted average coefficient, A n+1 The current operating condition energy consumption value of the newly achieved preset mileage;

[0018] S34, obtaining the current battery power of the electric vehicle, and calculating the remaining mileage of the electric vehicle based on the battery power and the average energy consumption value of the current working condition;

[0019] S35, storing the current working condition energy consumption value in the first storage area as a historical working condition energy consumption value;

[0020] S36, restart the accumulation of the mileage of the electric vehicle, and repeat steps S32 to S36 until the working state changes.

[0021] Further, if yes, then the first calculated mileage is used as the remaining mileage of the electric vehicle; if no, then the second calculated mileage is used as the remaining mileage of the electric vehicle, after the step, the method further includes:

[0022] S25, obtaining the current gear position of the electric vehicle, and obtaining the correction coefficient corresponding to the gear position according to the predetermined correspondence relationship between the gear position and the correction coefficient;

[0023] S26. Correct the remaining mileage of the electric vehicle to obtain a corrected remaining mileage. The corrected remaining mileage is calculated using the following formula:

[0024] Sfix=η*S, where S is the remaining mileage of the electric vehicle, Sfix is ​​the corrected remaining mileage, and η is the correction coefficient.

[0025] Furthermore, when the working state is the initial power-on static state or the charging state, after the step of calculating the remaining mileage of the electric vehicle according to the first calculation rule, the method further includes:

[0026] S4, when it is detected that the working state is the initial power-on static state or the charging state, the timing starts;

[0027] S5, determining whether the duration of the working state being the initial power-on static state or the charging state reaches a preset time;

[0028] S6. If yes, calculate the remaining mileage of the electric vehicle according to the first calculation rule, restart the timing, and repeat step S5 until the working state changes.

[0029] Furthermore, before starting the step of accumulating the mileage of the electric vehicle, the method further includes:

[0030] S31a, obtaining the current battery power of the electric vehicle, and storing the obtained battery power in the second storage area;

[0031] The steps of determining the current operating condition energy consumption value of the newly achieved preset mileage include:

[0032] S321, obtaining the current battery power of the electric vehicle, and calculating the current working condition energy consumption value of the newly reached preset mileage according to the following formula:

[0033] A n+1 =(SOC1-SOC2) / S3, where SOC1 is the battery power stored in the second storage area, SOC2 is the currently acquired battery power, and S3 is the preset mileage;

[0034] S322: Delete the battery power stored in the second storage area, and store the acquired battery power of the electric vehicle in the second storage area.

[0035] Furthermore, the working state also includes a parking state; and the method further includes:

[0036] S7, when the working state is detected to be a mid-trip parking state, start timing;

[0037] S8, determining whether the duration of the working state being the midway parking state reaches a preset time;

[0038] S9, if yes, then obtain the current working condition average energy consumption value calculated last time before the midway stop state, obtain the current battery power of the electric vehicle, and calculate the remaining mileage of the electric vehicle according to the battery power and the current working condition average energy consumption value;

[0039] S10, restart the timing, and repeat steps S8 to S10 until the working state changes.

[0040] Furthermore, the step of storing the current operating condition energy consumption value in the first storage area includes:

[0041] S341, determining whether the number of historical operating condition energy consumption values ​​in the first storage area reaches a preset number;

[0042] S342, if not, storing the current working condition energy consumption value in the first storage area in order;

[0043] S343: If yes, delete the historical operating condition energy consumption value first stored in the first storage area, and store the current operating condition energy consumption value in the first storage area in sequence.

[0044] Furthermore, the step of detecting the working state of the electric vehicle includes:

[0045] S11, after receiving the power-on signal of the electric vehicle, the current working state of the electric vehicle is assumed to be the initial power-on static state;

[0046] S12, when the working state is the initial power-on static state, determining whether the speed of the electric vehicle is greater than a set threshold, and determining whether a charging signal is received;

[0047] S13, if the speed of the electric vehicle is greater than the set threshold and no charging signal is received, the current working state of the electric vehicle is switched to the running state; if the speed of the electric vehicle is less than the set threshold and a charging signal is received, the working state of the electric vehicle is switched to the charging state;

[0048] S14, when the working state is the running state, determining whether the speed of the electric vehicle is less than a set threshold, and determining whether a charging signal is received;

[0049] S15. If the speed of the electric vehicle is less than the set threshold and no charging signal is received, the working state of the electric vehicle is switched to the midway parking state; if the speed of the electric vehicle is less than the set threshold and a charging signal is received, the working state of the electric vehicle is switched to the charging state;

[0050] S16, when the working state is the charging state, determining whether a charging signal is received;

[0051] S17, if no charging signal is received, switching the working state of the electric vehicle to the initial power-on static state;

[0052] S18, when the working state is a mid-way parking state, determining whether the speed of the electric vehicle is less than a set threshold, and determining whether a charging signal is received;

[0053] S19. If the speed of the electric vehicle is less than a set threshold and a charging signal is received, the working state of the electric vehicle is switched to a charging state; if the speed of the electric vehicle is greater than a set threshold and no charging signal is received, the working state of the electric vehicle is switched to a running state.

[0054] The present invention also provides a system for estimating the remaining mileage of an electric vehicle, comprising:

[0055] The detection module is used to detect the current working state of the electric vehicle, including the initial power-on static state, the running state and the charging state;

[0056] A first calculation module is used to calculate the remaining mileage of the electric vehicle according to a first calculation rule when the working state is a static state or a charging state after powering on;

[0057] The first calculation module includes:

[0058] The first acquisition submodule is used to obtain the standard working condition energy consumption value, obtain several historical working condition energy consumption values ​​stored in the first storage area, and calculate the historical working condition average energy consumption value by the following formula:

[0059] A″=∑ i=1 a i *A i / i, where i = 1, 2, ..., n, where A″ is the average energy consumption value of historical operating conditions, n is the number of historical operating condition energy consumption values ​​obtained, and a i A i The corresponding weighted average coefficient, A i is the energy consumption value of historical working conditions;

[0060] The second acquisition submodule is used to obtain the current battery power of the electric vehicle, calculate the first calculated mileage from the battery power and the energy consumption value of the standard working condition, and calculate the second calculated mileage from the battery power and the average energy consumption of the historical working condition;

[0061] A first judgment submodule, used to judge whether the absolute value of the difference between the first calculated mileage and the second calculated mileage is greater than a preset deviation value;

[0062] As a submodule, if the judgment of the first judgment submodule is yes, then the first calculated mileage is used as the remaining mileage of the electric vehicle; if the judgment of the first judgment submodule is no, then the second calculated mileage is used as the remaining mileage of the electric vehicle;

[0063] A second calculation module, used for calculating the remaining mileage of the electric vehicle according to a second calculation rule when the working state is the running state;

[0064] The second calculation module includes:

[0065] The accumulation submodule is used to start accumulating the mileage of the electric vehicle;

[0066] The second judgment submodule is used to judge whether the accumulated mileage has reached the preset mileage, and if so, to determine the current working condition energy consumption value of the newly reached preset mileage, where the current working condition energy consumption value is the power consumption per unit mileage of the electric vehicle;

[0067] The third acquisition submodule is used to obtain several historical operating condition energy consumption values ​​stored in the first storage area, and calculate the average energy consumption value of the current operating condition by the following formula:

[0068] A=(∑ i=1 a i *A i +a n+1 A n+1 ) / (i+1), where i=1, 2, ..., n, where A is the average energy consumption value of the current working condition, a n+1 A n+1 The corresponding weighted average coefficient, A n+1 The current operating condition energy consumption value of the newly achieved preset mileage;

[0069] The fourth acquisition submodule is used to obtain the current battery power of the electric vehicle, and calculate the remaining mileage of the electric vehicle based on the battery power and the average energy consumption value of the current working condition;

[0070] A first storage submodule, used for storing the current operating condition energy consumption value in a first storage area as a historical operating condition energy consumption value;

[0071] The repeating submodule restarts to accumulate the mileage of the electric vehicle, and repeatedly executes the second judging submodule to the repeating submodule until the working state changes.

[0072] The present invention also discloses an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.

[0073] The present invention also discloses a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above methods are implemented.

[0074] Compared with the prior art, the present invention has the following beneficial effects:

[0075] (1) In the initial power-on static state or charging state, the remaining mileage calculated by the average energy consumption value of the historical working conditions is compared with the remaining mileage calculated by the energy consumption value of the standard working conditions. If the deviation is within the specified range, the remaining mileage calculated by the average energy consumption value of the historical working conditions is used, otherwise the remaining mileage calculated by the energy consumption value of the standard working conditions is used. This can avoid the user riding in special working conditions before the power is turned off during the last ride, which may cause a large deviation in the estimated remaining mileage. This can maintain the user's riding habits and fit the riding habits of most users. It has high universal applicability and accuracy, improves the calculation accuracy of the electric vehicle's cruising range, and has high reliability, thereby ensuring the reliable and stable operation of the electric vehicle;

[0076] (2) In the running state, the remaining mileage is calculated by comparing the current working condition energy consumption value with the energy consumption values ​​of different historical working conditions. This takes into account both the current riding conditions and the historical riding conditions, and can effectively avoid the large remaining mileage calculation error caused by short-term riding under special working conditions (such as long downhill and long uphill), while ensuring the timeliness of the remaining mileage, thereby improving the calculation accuracy of the electric vehicle's cruising range and having high reliability, thereby ensuring the reliable and stable operation of the electric vehicle; and there is no need to add additional sensors to determine whether the vehicle is riding on a flat road, uphill or downhill, saving costs;

[0077] (3) According to the current working status of the electric vehicle, the corresponding calculation model is adopted to calculate the corresponding remaining mileage, so that the overall calculation method is simple in design and has a small amount of calculation, which improves reliability while reducing costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] Figure 1 A flowchart of the method for estimating the remaining mileage of an electric vehicle according to the present invention;

[0079] Figure 2 A schematic diagram of a module of a system for estimating remaining mileage of an electric vehicle according to the present invention;

[0080] Figure 3 It is a structural schematic diagram of an embodiment of an electronic device of the present invention;

[0081] Figure 4 The present invention is a schematic block diagram of a computer-readable storage medium according to an embodiment of the present invention. DETAILED DESCRIPTION

[0082] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0083] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0084] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0085] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0086] In the description of the present invention, it should be noted that the terms "upper", "lower", "inside", "outside", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, or are directions or positional relationships in which the product of the invention is usually placed when in use. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as a limitation on the present invention.

[0087] Please refer to Figure 1 ,

[0088] A method for estimating the remaining mileage of an electric vehicle comprises the following steps:

[0089] S1. Detect the current working state of the electric vehicle, which includes the initial power-on static state, running state and charging state;

[0090] S2. When the working state is the initial power-on static state or the charging state, the remaining mileage of the electric vehicle is calculated according to the first calculation rule:

[0091] S21, obtaining the energy consumption value of the standard working condition, obtaining several energy consumption values ​​of the historical working conditions stored in the first storage area, and calculating the average energy consumption value of the historical working conditions by the following formula:

[0092] A″=∑ i=1 a i *A i / i, where i = 1, 2, ..., n, where A″ is the average energy consumption value of historical operating conditions, n is the number of historical operating condition energy consumption values ​​obtained, and a i A i The corresponding weighted average coefficient, A i is the energy consumption value of historical working conditions;

[0093] S22, obtaining the current battery power of the electric vehicle, calculating the first calculated mileage from the battery power and the energy consumption value under standard working conditions, and calculating the second calculated mileage from the battery power and the average energy consumption under historical working conditions;

[0094] S23, determining whether the absolute value of the difference between the first calculated mileage and the second calculated mileage is greater than a preset deviation value;

[0095] S24, if yes, taking the first calculated mileage as the remaining mileage of the electric vehicle; if no, taking the second calculated mileage as the remaining mileage of the electric vehicle;

[0096] S3. When the working state is the running state, the remaining mileage of the electric vehicle is calculated according to the second calculation rule:

[0097] S31, starting to accumulate the mileage of the electric vehicle;

[0098] S32, determining whether the accumulated mileage has reached a preset mileage, and if so, determining the current operating condition energy consumption value of the newly reached preset mileage, the current operating condition energy consumption value being the power consumption per unit mileage of the electric vehicle;

[0099] S33, obtaining several historical working condition energy consumption values ​​stored in the first storage area, and calculating the average energy consumption value of the current working condition by the following formula:

[0100] A=(∑ i=1 a i *A i +a n+1 A n+1) / (i+1), where i=1, 2, ..., n, where A is the average energy consumption value of the current working condition, a n+1 A n+1 The corresponding weighted average coefficient, A n+1 The current operating condition energy consumption value of the newly achieved preset mileage;

[0101] S34, obtaining the current battery power of the electric vehicle, and calculating the remaining mileage of the electric vehicle based on the battery power and the average energy consumption value of the current working condition;

[0102] S35, storing the current working condition energy consumption value in the first storage area as a historical working condition energy consumption value;

[0103] S36, restart the accumulation of the mileage of the electric vehicle, and repeat steps S32 to S36 until the working state changes.

[0104] In the above step S1, the current working state of the electric vehicle is determined according to the operating parameters of the electric vehicle, and then different calculation models are adopted according to the current working state of the electric vehicle to calculate the remaining mileage corresponding to the current working state of the electric vehicle, so that the overall calculation method is simple in design and has a small amount of calculation, which improves reliability and reduces costs. The working state of the electric vehicle generally includes the initial power-on static state, the running state and the charging state.

[0105] In the above step 2, when the working state is switched to the initial power-on static state and the charging state, it means that the last ride of the electric vehicle has ended. Therefore, the algorithm for calculating the remaining mileage of the electric vehicle is the same when the electric vehicle is in the initial power-on static state and the charging state.

[0106] In the above step S21, after detecting that the working state is the initial power-on static state and the charging state, the standard working condition energy consumption value A is obtained. ′ The standard working condition energy consumption value is obtained by the electric vehicle manufacturer through the corresponding regulatory test before leaving the factory. The standard working condition energy consumption value is the power consumption of the electric vehicle per unit mileage under the standard working condition. And obtain the n historical working condition energy consumption values ​​stored in the first storage area. The historical working condition energy consumption value is the power consumption of the electric vehicle per unit mileage under the historical driving conditions, and then through A″=∑ i=1 a i *A i / i, where i = 1, 2, ..., n, calculate the average energy consumption value A″ of historical operating conditions. Weighted average coefficient a iIt can be set according to the distance from the current calculation time. For example, N = 5 groups of historical working condition energy consumption values ​​are recorded and sorted by the order of driving, that is, the first group is the data with the longest distance from the current calculation time, and the fifth group is the data closest to the current calculation time. Then the driving condition of the first group of data is the most different from the current driving condition, and the fifth group is the smallest difference. Then the weighted average coefficient of the first group should be set smaller, and the weight of the fifth group should be larger. Therefore, the weighted average coefficients corresponding to the historical working condition energy consumption values ​​of the first group to the fifth group increase in the order of driving. The specific value of the weighted average coefficient can be obtained in advance by experiment. In this way, it can avoid the fluctuation of the calculated remaining mileage data as much as possible, and it can also be as close to the current driving condition as possible, timely and truly reflect the user's driving energy consumption, and take into account the timeliness of the filtering algorithm and data update.

[0107] In the above step S22, the current battery power SOC of the electric vehicle is obtained, the first calculated mileage is calculated by S1 = SOC / A′, and the second calculated mileage is calculated by S2 = SOC / A″.

[0108] In the above steps S23 to S24, in order to avoid a large deviation in the calculated remaining mileage caused by the user riding in special working conditions during the last ride, such as riding a long downhill or a long uphill, the stored historical working condition energy consumption value will be relatively large or relatively small. In this way, if the remaining mileage is calculated directly using the historical working condition energy consumption value, it will also be relatively large or relatively small, which will lead to a large error with the remaining mileage calculated by the user in normal use. Therefore, the first calculated mileage is compared with the second calculated mileage, S′=|S1-S2| is calculated, and it is determined whether S′ is greater than the preset deviation value. If S′ is less than or equal to the preset deviation value, it means that the deviation is within the specified range, and the second calculated mileage S2 calculated according to the user's historical working condition average energy consumption value A″ is taken as the remaining mileage of the electric vehicle; if S′ is greater than the preset deviation value, it means that the deviation is outside the specified range, and the first calculated mileage S1 calculated by the standard working condition energy consumption value A′ is taken as the remaining mileage of the electric vehicle.

[0109] Furthermore, considering that some electric vehicles have several gears, the output power of each gear of the electric vehicle is different, resulting in deviations in the remaining mileage of the endurance. Therefore, after the step of taking the first calculated mileage as the remaining mileage of the electric vehicle if yes and taking the second calculated mileage as the remaining mileage of the electric vehicle in step S2, the method further includes:

[0110] S25, obtaining the current gear position of the electric vehicle, and obtaining the correction coefficient corresponding to the gear position according to the predetermined correspondence relationship between the gear position and the correction coefficient;

[0111] S26. Correct the remaining mileage of the electric vehicle to obtain a corrected remaining mileage. The corrected remaining mileage is calculated using the following formula:

[0112] Sfix=η*S, where S is the remaining mileage of the electric vehicle, Sfix is ​​the corrected remaining mileage, and η is the correction coefficient.

[0113] In the above steps S25 to S26, the correction coefficient of the gear position is tested according to the national special working condition test method according to different gear positions. For example, an electric vehicle has 3 gear positions. The standard default electric vehicle is in the 2nd gear when the electric door is locked. Then, after fully charged, the working condition test is carried out and the vehicle is driven until it is out of power. In this way, the fully charged cruising range of the 2nd gear is obtained. In the same way, the fully charged cruising range of the 1st and 3rd gears can be obtained. There will be a proportional coefficient between them and the 2nd gear. The cruising range of different gear positions is different, so it is necessary to use one gear position as a reference. When selecting different gear positions, the calculated remaining mileage is corrected according to the correction coefficient of the different gear positions and the reference gear position. Therefore, after obtaining the correction coefficient η corresponding to the gear position, the remaining mileage of the electric vehicle is corrected by Sfix=η*S to obtain the corrected remaining mileage.

[0114] Furthermore, when the working state is the initial power-on static state or the charging state, after the step of calculating the remaining mileage of the electric vehicle according to the first calculation rule, the method further includes:

[0115] S4, when it is detected that the working state is the initial power-on static state or the charging state, the timing starts;

[0116] S5, determining whether the duration of the working state being the initial power-on static state or the charging state reaches a preset time;

[0117] S6. If yes, calculate the remaining mileage of the electric vehicle according to the first calculation rule, restart the timing, and repeat step S5 until the working state changes.

[0118] In the above steps S4 to S6, when the working state of the electric vehicle is the initial power-on static state or the charging state, the latest remaining mileage is recalculated and updated every preset time. This is because when the electric vehicle is in the initial power-on static state, although the electric vehicle is not running, the power is also being consumed. Therefore, the remaining mileage is updated every 1 minute, and the user can be reminded by the remaining mileage that the vehicle is consuming power to achieve the purpose of energy saving. In the charging state, the user can check whether the remaining mileage of the electric vehicle has met his travel needs, so as to facilitate the user to arrange travel. Preferably, the remaining mileage can be displayed through the instrument of the electric vehicle or the mobile phone APP, which is convenient for the user to view. The preset time is set to 1 minute to 2 minutes. If the setting time is too long, the calculation is not timely. If the setting time is too short, there is no change in the remaining mileage. Preferably, the preset time is set to 1 minute.

[0119] In the above step S3, when the working state of the electric vehicle is the running state, the remaining mileage of the electric vehicle is calculated every time the electric vehicle reaches a predetermined mileage.

[0120] In the above steps S31 to 32, when the working state of the electric vehicle is switched to the running state, the mileage of the electric vehicle for the current time begins to be accumulated. When the accumulated mileage reaches the preset mileage, the current working condition energy consumption value of the newly reached preset mileage is calculated based on the battery power before and after driving and the preset mileage. Because the cruising range of an electric vehicle is not long, generally tens of kilometers, if the preset mileage is set too large, the data update is too slow, and it is meaningless to calculate the remaining mileage. Therefore, generally speaking, under daily driving conditions, it is best to update the remaining mileage every 1km to 2km, so that users can grasp the remaining mileage more timely.

[0121] Furthermore, in order to facilitate calculation of the current working condition energy consumption value of the newly reached preset mileage, before starting the step of accumulating the mileage of the electric vehicle, the method further includes:

[0122] S31a, obtaining the current battery power of the electric vehicle, and storing the obtained battery power in the second storage area;

[0123] The steps of determining the current operating condition energy consumption value of the newly achieved preset mileage include:

[0124] S321, obtaining the current battery power of the electric vehicle, and calculating the current working condition energy consumption value of the newly reached preset mileage according to the following formula:

[0125] A n+1 =(SOC1-SOC2) / S3, where SOC1 is the battery power stored in the second storage area, SOC2 is the currently acquired battery power, and S3 is the preset mileage;

[0126] S322: Delete the battery power stored in the second storage area, and store the acquired battery power of the electric vehicle in the second storage area.

[0127] In the above step S31a, when the working state of the electric vehicle is switched to the running state, the current battery power SOC1 of the electric vehicle is first obtained. This battery power SOC1 is the power of the electric vehicle before traveling a preset mileage, and the battery power SOC1 is stored in the second storage area for subsequent calculations.

[0128] In the above steps S321 to S322, when the accumulated mileage of the electric vehicle reaches the preset mileage, the current battery power SOC2 of the electric vehicle is obtained. The battery power SOC2 is the power of the electric vehicle after the electric vehicle reaches the preset mileage. n+1 = (SOC1-SOC2) / S3 to calculate the current working condition energy consumption value of the newly reached preset mileage. Then the battery power SOC2 is stored to replace the battery power SOC1 stored in the second storage area, and the battery power SOC2 is used as the power before the next preset mileage.

[0129] In the above steps S33 to S34, the n historical operating condition energy consumption values ​​stored in the first storage area are obtained, combined with the current operating condition energy consumption value of the newly reached preset mileage, according to A=(∑ i=1 a i *A i +a n+1 A n+1 ) / (i+1), where i=1, 2, ..., n, calculate the average energy consumption value A of the current working condition, then obtain the current battery power SOC of the electric vehicle, and calculate the remaining mileage S of the electric vehicle by S=SOC / A. Since the weighted average coefficient increases in the order of driving, and A n+1 is the energy consumption value of the current working condition, which is the latest data from the current calculation time, so A n+1 The corresponding weighted average coefficient a i+1 is the largest, and the specific value of the weighted average coefficient can be obtained in advance by experiments.

[0130] In the above step S35, the calculated current operating condition energy consumption value is stored in the first storage area as a historical operating condition energy consumption value, so that it can be quickly obtained when the remaining mileage is calculated later.

[0131] Furthermore, the step of storing the current operating condition energy consumption value in the first storage area includes:

[0132] S341, determining whether the number of historical operating condition energy consumption values ​​in the first storage area reaches a preset number;

[0133] S342, if not, storing the current working condition energy consumption value in the first storage area in order;

[0134] S343: If yes, delete the historical operating condition energy consumption value first stored in the first storage area, and store the current operating condition energy consumption value in the first storage area in sequence.

[0135] In the above steps S341 to S343, limiting the number of historical operating condition energy consumption values ​​stored in the first storage area can reduce the storage space required for the first storage area, thereby reducing hardware costs. At the same time, when calculating the remaining mileage, all historical operating condition energy consumption values ​​stored in the first storage area are directly obtained to simplify the calculation logic. Therefore, when storing, first determine whether the number of historical operating condition energy consumption values ​​in the first storage area reaches the preset number. If not, the current operating condition energy consumption value is stored in the first storage area in order as the latest historical operating condition energy consumption value; if so, the historical operating condition energy consumption value first stored in the first storage area is deleted in the storage order, and the current operating condition energy consumption value is stored in the first storage area in order.

[0136] In the above step S36, after calculating the remaining mileage S of the electric vehicle, the next mileage accumulation is performed. When the accumulated mileage reaches the preset mileage again, steps S32 to S36 are repeated to calculate the remaining mileage S of the electric vehicle again until the working state changes.

[0137] Furthermore, considering that the user sometimes needs to stop midway during the running state, the working state also includes a midway parking state; the method further includes:

[0138] S7, when the working state is detected to be a mid-trip parking state, start timing;

[0139] S8, determining whether the duration of the working state being the midway parking state reaches a preset time;

[0140] S9, if yes, then obtain the current working condition average energy consumption value calculated last time before the midway stop state, obtain the current battery power of the electric vehicle, and calculate the remaining mileage of the electric vehicle according to the battery power and the current working condition average energy consumption value;

[0141] S10, restart the timing, and repeat steps S8 to S10 until the working state changes.

[0142] In the above steps S7 to S10, when the working state of the electric vehicle is the mid-stop state, the latest remaining mileage is recalculated and updated every preset time, such as 1 minute. This is because when the electric vehicle is in the mid-stop state, although the electric vehicle is not running, the power is also consumed. Therefore, the remaining mileage is updated every 1 minute, and the user can be reminded that the vehicle is consuming power through the remaining mileage to achieve the purpose of energy saving. Specifically, the current working condition average energy consumption value A calculated last time before the mid-stop state is obtained, and then the current battery power SOC is obtained, and the remaining mileage S of the electric vehicle is calculated by S=SOC / A.

[0143] Furthermore, in step S1, the step of detecting the working state of the electric vehicle includes:

[0144] S11, after receiving the power-on signal of the electric vehicle, the current working state of the electric vehicle is assumed to be the initial power-on static state;

[0145] S12, when the working state is the initial power-on static state, determining whether the speed of the electric vehicle is greater than a set threshold, and determining whether a charging signal is received;

[0146] S13, if the speed of the electric vehicle is greater than the set threshold and no charging signal is received, the current working state of the electric vehicle is switched to the running state; if the speed of the electric vehicle is less than the set threshold and a charging signal is received, the working state of the electric vehicle is switched to the charging state;

[0147] S14, when the working state is the running state, determining whether the speed of the electric vehicle is less than a set threshold, and determining whether a charging signal is received;

[0148] S15. If the speed of the electric vehicle is less than the set threshold and no charging signal is received, the working state of the electric vehicle is switched to the midway parking state; if the speed of the electric vehicle is less than the set threshold and a charging signal is received, the working state of the electric vehicle is switched to the charging state;

[0149] S16, when the working state is the charging state, determining whether a charging signal is received;

[0150] S17, if no charging signal is received, switching the working state of the electric vehicle to the initial power-on static state;

[0151] S18, when the working state is a mid-way parking state, determining whether the speed of the electric vehicle is less than a set threshold, and determining whether a charging signal is received;

[0152] S19. If the speed of the electric vehicle is less than a set threshold and a charging signal is received, the working state of the electric vehicle is switched to a charging state; if the speed of the electric vehicle is greater than a set threshold and no charging signal is received, the working state of the electric vehicle is switched to a running state.

[0153] In the above steps S11 to S19, when the key switch signal of the electric vehicle is set to the on position, that is, after receiving the power-on signal of the electric vehicle, the default working state is to enter the initial power-on static state. In the initial power-on static state, if the current speed of the electric vehicle collected is greater than the set threshold, indicating that the electric vehicle is running, the working state enters the running state, otherwise the working state is determined to be in the initial power-on static state. In the initial power-on static state, if a charging signal appears and the vehicle speed is less than the set threshold, the working state enters the charging state. In the running state, if the current speed of the electric vehicle collected is less than the set threshold, it indicates that the vehicle stops, and the working state enters the mid-way parking state. If a charging signal appears at this time, it enters the charging state. If the current speed of the electric vehicle collected is greater than the set threshold, indicating that the electric vehicle is running, the working state enters the running state. In the charging state, if the charging signal disappears and the vehicle speed is less than the set threshold, the working state enters the initial power-on static state.

[0154] The present invention also provides a system for estimating the remaining mileage of an electric vehicle, comprising:

[0155] The detection module is used to detect the current working state of the electric vehicle, including the initial power-on static state, the running state and the charging state;

[0156] A first calculation module is used to calculate the remaining mileage of the electric vehicle according to a first calculation rule when the working state is a static state or a charging state after powering on;

[0157] The first calculation module includes:

[0158] The first acquisition submodule is used to obtain the standard working condition energy consumption value, obtain several historical working condition energy consumption values ​​stored in the first storage area, and calculate the historical working condition average energy consumption value by the following formula:

[0159] A″=∑ i=1 a i *A i / i, where i = 1, 2, ..., n, where A″ is the average energy consumption value of historical operating conditions, n is the number of historical operating condition energy consumption values ​​obtained, and a i A i The corresponding weighted average coefficient, A i is the energy consumption value of historical working conditions;

[0160] The second acquisition submodule is used to obtain the current battery power of the electric vehicle, calculate the first calculated mileage from the battery power and the energy consumption value of the standard working condition, and calculate the second calculated mileage from the battery power and the average energy consumption of the historical working condition;

[0161] A first judgment submodule, used to judge whether the absolute value of the difference between the first calculated mileage and the second calculated mileage is greater than a preset deviation value;

[0162] As a submodule, if the judgment of the first judgment submodule is yes, then the first calculated mileage is used as the remaining mileage of the electric vehicle; if the judgment of the first judgment submodule is no, then the second calculated mileage is used as the remaining mileage of the electric vehicle;

[0163] A second calculation module, used for calculating the remaining mileage of the electric vehicle according to a second calculation rule when the working state is the running state;

[0164] The second calculation module includes:

[0165] The accumulation submodule is used to start accumulating the mileage of the electric vehicle;

[0166] The second judgment submodule is used to judge whether the accumulated mileage has reached the preset mileage, and if so, to determine the current working condition energy consumption value of the newly reached preset mileage, where the current working condition energy consumption value is the power consumption per unit mileage of the electric vehicle;

[0167] The third acquisition submodule is used to obtain several historical operating condition energy consumption values ​​stored in the first storage area, and calculate the average energy consumption value of the current operating condition by the following formula:

[0168] A=(∑ i=1 a i *A i +a n+1 A n+1 ) / (i+1), where i=1, 2, ..., n, where A is the average energy consumption value of the current working condition, a n+1 A n+1 The corresponding weighted average coefficient, A n+1 The current operating condition energy consumption value of the newly achieved preset mileage;

[0169] The fourth acquisition submodule is used to obtain the current battery power of the electric vehicle, and calculate the remaining mileage of the electric vehicle based on the battery power and the average energy consumption value of the current working condition;

[0170] A first storage submodule, used for storing the current operating condition energy consumption value in a first storage area as a historical operating condition energy consumption value;

[0171] The repeating submodule restarts to accumulate the mileage of the electric vehicle, and repeatedly executes the second judging submodule to the repeating submodule until the working state changes.

[0172] In the detection module, the current working state of the electric vehicle is determined according to the operating parameters of the electric vehicle, and then different calculation models are adopted according to the current working state of the electric vehicle to calculate the remaining mileage corresponding to the current working state of the electric vehicle, so that the overall calculation method is simple in design and has a small amount of calculation, which improves reliability and reduces costs. The working state of an electric vehicle generally includes the initial power-on static state, the running state, and the charging state.

[0173] In the first calculation module, when the working state switches to the initial power-on static state and the charging state, it indicates that the last ride of the electric vehicle has ended. Therefore, the algorithm for calculating the remaining mileage of the electric vehicle is the same when the electric vehicle is in the initial power-on static state and the charging state.

[0174] In the first acquisition submodule, after detecting that the working state is the initial power-on static state and the charging state, the standard working condition energy consumption value A' is obtained. The standard working condition energy consumption value is obtained by the electric vehicle manufacturer through the corresponding regulatory test before leaving the factory. The standard working condition energy consumption value is the power consumption per unit mileage of the electric vehicle under the standard working condition. And the n historical working condition energy consumption values ​​stored in the first storage area are obtained. The historical working condition energy consumption value is the power consumption per unit mileage of the electric vehicle under the historical driving working condition, and then A"=∑ i=1 a i *A i / i, where i = 1, 2, ..., n, calculate the average energy consumption value A″ of historical operating conditions. Weighted average coefficient a i It can be set according to the distance from the current calculation time. For example, N = 5 groups of historical working condition energy consumption values ​​are recorded and sorted by the order of driving, that is, the first group is the data with the longest distance from the current calculation time, and the fifth group is the data closest to the current calculation time. Then the driving condition of the first group of data is the most different from the current driving condition, and the fifth group is the smallest difference. Then the weighted average coefficient of the first group should be set smaller, and the weighted average coefficient of the fifth group should be set larger. Therefore, the weighted average coefficients corresponding to the historical working condition energy consumption values ​​of the first group to the fifth group increase in the order of driving. The specific value of the weighted average coefficient can be obtained in advance by experiment. In this way, it can avoid the fluctuation of the calculated remaining mileage data as much as possible, and it can also be as close to the current driving condition as possible, timely and truly reflect the user's driving energy consumption, and take into account the timeliness of the filtering algorithm and data update.

[0175] In the second acquisition submodule, the current battery power SOC of the electric vehicle is acquired, and the first calculated mileage is calculated by S1 = SOC / A′, and the second calculated mileage is calculated by S2 = SOC / A″.

[0176] In the first judgment submodule and the as submodule, in order to avoid a large deviation in the calculated remaining mileage due to the special working conditions when the user rode last time, such as riding a long downhill or a long uphill, the stored historical working condition energy consumption value will be relatively large or relatively small. In this way, if the remaining mileage is calculated directly using the historical working condition energy consumption value, it will also be relatively large or relatively small, which will lead to a large error with the remaining mileage calculated by the user in normal use. Therefore, the first calculated mileage is compared with the second calculated mileage, S′=|S1-S2| is calculated, and it is determined whether S′ is greater than the preset deviation value. If S′ is less than or equal to the preset deviation value, it means that the deviation is within the specified range, and the second calculated mileage S2 calculated according to the user's historical working condition average energy consumption value A″ is taken as the remaining mileage of the electric vehicle; if S′ is greater than the preset deviation value, it means that the deviation is outside the specified range, and the first calculated mileage S1 calculated by the standard working condition energy consumption value A′ is taken as the remaining mileage of the electric vehicle.

[0177] Furthermore, considering that some electric vehicles have several gears, the output power of each gear of the electric vehicle is different, resulting in deviations in the remaining mileage of the endurance, so the first calculation module also includes:

[0178] The fifth acquisition submodule is used to acquire the current gear position of the electric vehicle and obtain the correction coefficient corresponding to the gear position according to the predetermined correspondence relationship between the gear position and the correction coefficient;

[0179] The correction submodule is used to correct the remaining mileage of the electric vehicle to obtain the corrected remaining mileage. The corrected remaining mileage is calculated using the following formula:

[0180] Sfix=η*S, where S is the remaining mileage of the electric vehicle, Sfix is ​​the corrected remaining mileage, and η is the correction coefficient.

[0181] In the fifth acquisition submodule and correction submodule mentioned above, the correction coefficient of the gear position is tested according to the national special working condition test method according to different gear positions. For example, an electric vehicle has 3 gear positions. The standard default electric vehicle is in the 2nd gear when the electric door is locked. Then, after it is fully charged, it is tested with the working condition test and driven until it is out of power. In this way, the full-charged cruising range of the 2nd gear is obtained. In the same way, the full-charged cruising range of the 1st and 3rd gears can be obtained, and there will be a proportional coefficient between them and the 2nd gear. Their cruising range is different for different gears, so it is necessary to use one gear position as a reference. When selecting different gear positions, the calculated remaining mileage is corrected according to the correction coefficient of the different gear positions and the reference gear position. Therefore, after obtaining the correction coefficient η corresponding to the gear position, the remaining mileage of the electric vehicle is corrected by Sfix=η*S to obtain the corrected remaining mileage.

[0182] Furthermore, the electric vehicle remaining mileage estimation system of the present invention further includes:

[0183] A first timing module, used to start timing when detecting that the working state is a power-on static state or a charging state;

[0184] The first judgment module is used to judge whether the duration of the working state being the initial power-on static state or the charging state reaches a preset time;

[0185] The first repeating module is used to calculate the remaining mileage of the electric vehicle according to the first calculation rule if the judgment result of the first judging module is yes, restart the timing, and repeatedly execute the first judging module until the working state changes.

[0186] In the above-mentioned first timing module to the first repeating module, when the working state of the electric vehicle is the initial power-on static state or the charging state, the latest remaining mileage is recalculated and updated every preset time. This is because when the electric vehicle is in the initial power-on static state, although the electric vehicle is not running, the power is also being consumed. Therefore, the remaining mileage is updated every 1 minute, and the user can be reminded by the remaining mileage that the vehicle is consuming power to achieve the purpose of energy saving. In the charging state, the user can check whether the remaining mileage of the electric vehicle has met his travel needs, so as to facilitate the user to arrange travel. Preferably, the remaining mileage can be displayed through the instrument of the electric vehicle or the mobile phone APP, which is convenient for the user to view. The preset time is set to 1 minute to 2 minutes. If the setting time is too long, the calculation is not timely. If the setting time is too short, there is no change in the remaining mileage. Preferably, the preset time is set to 1 minute.

[0187] In the above-mentioned second calculation module, when the working state of the electric vehicle is the running state, the remaining mileage of the electric vehicle is calculated once each time the electric vehicle reaches a predetermined mileage.

[0188] In the above-mentioned accumulation submodule and the second judgment submodule, when the working state of the electric vehicle is switched to the running state, the mileage of the electric vehicle for that time begins to be accumulated. When the accumulated mileage reaches the preset mileage, the current working condition energy consumption value of the newly reached preset mileage is calculated based on the battery power before and after driving and the preset mileage. Because the cruising range of electric vehicles is not long, generally tens of kilometers, if the preset mileage is set too large, the data update is too slow, and it is meaningless to calculate the remaining mileage. Therefore, generally speaking, under daily driving conditions, it is best to update the remaining mileage every 1km to 2km, so that users can grasp the remaining mileage more timely.

[0189] Furthermore, in order to calculate the current operating condition energy consumption value of the newly reached preset mileage, the second calculation module also includes:

[0190] The second storage submodule is used to obtain the current battery power of the electric vehicle and store the obtained battery power in the second storage area;

[0191] The second judgment submodule includes:

[0192] The acquisition unit is used to obtain the current battery power of the electric vehicle and calculate the current working condition energy consumption value of the newly reached preset mileage according to the following formula:

[0193] A n+1 =(SOC1-SOC2) / S3, where SOC1 is the battery power stored in the second storage area, SOC2 is the currently acquired battery power, and S3 is the preset mileage;

[0194] The first storage unit is used to delete the battery power stored in the second storage area, and store the acquired battery power of the electric vehicle in the second storage area.

[0195] In the second storage submodule, when the working state of the electric vehicle is switched to the running state, the current battery power SOC1 of the electric vehicle is first obtained. This battery power SOC1 is the power of the electric vehicle before traveling a preset mileage, and the battery power SOC1 is stored in the second storage area for subsequent calculations.

[0196] In the acquisition unit to the first storage unit, when the accumulated mileage of the electric vehicle reaches the preset mileage, the current battery power SOC2 of the electric vehicle is acquired. The battery power SOC2 is the power of the electric vehicle after the electric vehicle reaches the preset mileage. n+1 = (SOC1-SOC2) / S3 to calculate the current working condition energy consumption value of the newly reached preset mileage. Then the battery power SOC2 is stored to replace the battery power SOC1 stored in the second storage area, and the battery power SOC2 is used as the power before the next preset mileage.

[0197] In the third acquisition submodule and the fourth acquisition submodule, the n historical operating condition energy consumption values ​​stored in the first storage area are acquired, combined with the current operating condition energy consumption value of the newly reached preset mileage, according to A=(∑ i=1 a i *A i +a n+1 A n+1 ) / (i+1), where i=1, 2, ..., n, calculate the average energy consumption value A of the current working condition, then obtain the current battery power SOC of the electric vehicle, and calculate the remaining mileage S of the electric vehicle by S=SOC / A. Since the weighted average coefficient increases in the order of driving, and A n+1 is the energy consumption value of the current working condition, which is the latest data from the current calculation time, so A n+1 The corresponding weighted average coefficient a n+1is the largest, and the specific value of the weighted average coefficient can be obtained in advance by experiments.

[0198] In the above-mentioned first storage submodule, the calculated current operating condition energy consumption value is stored in the first storage area as a historical operating condition energy consumption value, so that it can be quickly obtained when the remaining mileage is calculated later.

[0199] Furthermore, the first storage submodule includes:

[0200] A judging unit, used to judge whether the number of historical operating condition energy consumption values ​​in the first storage area reaches a preset number;

[0201] A second storage unit is used to store the current working condition energy consumption value in the first storage area in order if the judgment of the judgment unit is yes;

[0202] The third storage unit is used to delete the historical operating condition energy consumption value first stored in the first storage area if the judgment of the judgment unit is no, and store the current operating condition energy consumption value in the first storage area in sequence.

[0203] In the above-mentioned judgment unit to the third storage unit, the number of historical operating condition energy consumption values ​​stored in the first storage area is limited, which can reduce the storage space required for the first storage area, thereby reducing the hardware cost. At the same time, when calculating the remaining mileage, all historical operating condition energy consumption values ​​stored in the first storage area are directly obtained to simplify the calculation logic. Therefore, when storing, first determine whether the number of historical operating condition energy consumption values ​​in the first storage area reaches the preset number. If not, the current operating condition energy consumption value is stored in the first storage area in order as the latest historical operating condition energy consumption value; if so, the historical operating condition energy consumption value first stored in the first storage area is deleted according to the storage order, and the current operating condition energy consumption value is stored in the first storage area in order.

[0204] In the above-mentioned repetitive submodule, after calculating the remaining mileage S of the electric vehicle, the next driving mileage is accumulated. When the accumulated driving mileage reaches the preset mileage again, the second judgment submodule to the repetitive submodule are repeatedly executed to calculate the remaining mileage S of the electric vehicle again until the working state changes.

[0205] Furthermore, the working state also includes a parking state, and the electric vehicle remaining mileage estimation system of the present invention also includes:

[0206] The second timing module is used to start timing when detecting that the working state is a mid-trip parking state;

[0207] The second judgment module is used to judge whether the duration of the working state being the midway parking state reaches a preset time;

[0208] A third calculation module is used for obtaining the current working condition average energy consumption value calculated last time before the midway parking state if the judgment result of the second judgment module is yes, obtaining the current battery power of the electric vehicle, and calculating the remaining mileage of the electric vehicle according to the battery power and the current working condition average energy consumption value;

[0209] The second repeating module is used to restart the timing and repeatedly execute the second judging module to the step of the second repeating module until the working state changes.

[0210] In the above second timing module to the second repeating module, when the working state of the electric vehicle is the mid-stop state, the latest remaining mileage is recalculated and updated every preset time, such as 1 minute. This is because when the electric vehicle is in the mid-stop state, although the electric vehicle is not running, the power is also consumed. Therefore, the remaining mileage is updated every 1 minute, and the user can be reminded that the vehicle is consuming power through the remaining mileage to achieve the purpose of energy saving. Specifically, the current working condition average energy consumption value A obtained by the last calculation before the mid-stop state is obtained, and then the current battery power SOC is obtained, and the remaining mileage S of the electric vehicle is calculated by S=SOC / A.

[0211] Furthermore, the monitoring module includes:

[0212] The default submodule is used to default the current working state of the electric vehicle to the initial power-on static state after receiving the power-on signal of the electric vehicle;

[0213] The third judgment submodule is used to judge whether the speed of the electric vehicle is greater than a set threshold and whether a charging signal is received when the working state is the initial power-on static state;

[0214] The first changing submodule is used to switch the current working state of the electric vehicle to the running state if the speed of the electric vehicle is greater than a set threshold and no charging signal is received; if the speed of the electric vehicle is less than the set threshold and a charging signal is received, the working state of the electric vehicle is switched to the charging state;

[0215] The fourth judgment submodule is used to judge whether the speed of the electric vehicle is less than a set threshold value and whether a charging signal is received when the working state is the running state;

[0216] The second changing submodule switches the working state of the electric vehicle to the midway parking state if the speed of the electric vehicle is less than the set threshold and no charging signal is received; switches the working state of the electric vehicle to the charging state if the speed of the electric vehicle is less than the set threshold and a charging signal is received;

[0217] A fifth judgment submodule, used to judge whether a charging signal is received when the working state is a charging state;

[0218] The third changing submodule is used to switch the working state of the electric vehicle to the initial power-on static state if no charging signal is received;

[0219] The sixth judgment submodule is used to judge whether the speed of the electric vehicle is less than a set threshold value and whether a charging signal is received when the working state is a mid-way parking state;

[0220] The fourth changing submodule is used to switch the working state of the electric vehicle to the charging state if the speed of the electric vehicle is less than the set threshold and a charging signal is received; if the speed of the electric vehicle is greater than the set threshold and no charging signal is received, the working state of the electric vehicle is switched to the running state.

[0221] In the above-mentioned default submodule to the fourth change submodule, when the key switch signal of the electric vehicle is set to the on position, that is, after receiving the power-on signal of the electric vehicle, the default working state is to enter the initial power-on static state. In the initial power-on static state, if the current speed of the electric vehicle collected is greater than the set threshold, indicating that the electric vehicle is running, the working state enters the running state, otherwise it is determined that the working state is in the initial power-on static state. In the initial power-on static state, if a charging signal appears and the vehicle speed is less than the set threshold, the working state enters the charging state. In the running state, if the current speed of the electric vehicle collected is less than the set threshold, it indicates that the vehicle stops, and the working state enters the mid-way parking state. If a charging signal appears at this time, it enters the charging state. If the current speed of the electric vehicle collected is greater than the set threshold, indicating that the electric vehicle is running, the working state enters the running state. In the charging state, the charging signal disappears and the vehicle speed is less than the set threshold, then the working state enters the initial power-on static state.

[0222] Please refer to Figure 3 , Figure 3 A schematic block diagram of the structure of an embodiment of an electronic device of the present invention. An embodiment of the present invention further proposes an electronic device 1001, including a memory 1003 and a processor 1002, wherein the memory 1003 stores a computer program 1004, and when the processor 1002 executes the computer program 1004, the steps of implementing any of the above-mentioned sound source localization methods include: S1, detecting the current working state of the electric vehicle, the working state includes the initial power-on static state, the running state and the charging state; S2, when the working state is the initial power-on static state or the charging state, calculating the remaining mileage of the electric vehicle according to the first calculation rule; S3, when the working state is the running state, calculating the remaining mileage of the electric vehicle according to the second calculation rule.

[0223] Please refer to Figure 4 , Figure 4The present invention is a schematic block diagram of a computer-readable storage medium according to an embodiment of the present invention. An embodiment of the present invention further provides a computer-readable storage medium 2001, on which a computer program 1004 is stored. When the computer program 1004 is executed by a processor 1002, the steps of implementing any of the above-mentioned sound source localization methods include: S1, detecting the current working state of the electric vehicle, the working state includes the initial power-on static state, the running state and the charging state; S2, when the working state is the initial power-on static state or the charging state, calculating the remaining mileage of the electric vehicle according to the first calculation rule; S3, when the working state is the running state, calculating the remaining mileage of the electric vehicle according to the second calculation rule.

[0224] Compared with the prior art, the present invention has the following beneficial effects:

[0225] (1) In the initial power-on static state or charging state, the remaining mileage calculated by the average energy consumption value of the historical working conditions is compared with the remaining mileage calculated by the energy consumption value of the standard working conditions. If the deviation is within the specified range, the remaining mileage calculated by the average energy consumption value of the historical working conditions is used, otherwise the remaining mileage calculated by the energy consumption value of the standard working conditions is used. This can avoid the user riding in special working conditions before the power is turned off during the last ride, which may cause a large deviation in the estimated remaining mileage. This can maintain the user's riding habits and fit the riding habits of most users. It has high universal applicability and accuracy, improves the calculation accuracy of the electric vehicle's cruising range, and has high reliability, thereby ensuring the reliable and stable operation of the electric vehicle;

[0226] (2) In the running state, the remaining mileage is calculated by comparing the current working condition energy consumption value with the energy consumption values ​​of different historical working conditions. This takes into account both the current riding conditions and the historical riding conditions, and can effectively avoid the large remaining mileage calculation error caused by short-term riding under special working conditions (such as long downhill and long uphill), while ensuring the timeliness of the remaining mileage, thereby improving the calculation accuracy of the electric vehicle's cruising range and having high reliability, thereby ensuring the reliable and stable operation of the electric vehicle; and there is no need to add additional sensors to determine whether the vehicle is riding on a flat road, uphill or downhill, saving costs;

[0227] (3) According to the current working status of the electric vehicle, the corresponding calculation model is adopted to calculate the corresponding remaining mileage, so that the overall calculation method is simple in design and has a small amount of calculation, which improves reliability while reducing costs.

[0228] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0229] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, device, article or method including the element.

[0230] The present invention is not limited to the above-mentioned embodiments. If various changes or modifications to the present invention do not depart from the spirit and scope of the present invention, and if these changes and modifications fall within the scope of the claims and equivalent technologies of the present invention, the present invention is also intended to include these changes and modifications.

Claims

1. A method for estimating the remaining mileage of an electric vehicle, characterized in that: The following steps are involved: S1, detecting the current working state of the electric vehicle, wherein the working state includes a static state at the beginning of power-on, a running state and a charging state; S2. When the working state is the initial power-on static state or the charging state, the remaining mileage of the electric vehicle is calculated according to the first calculation rule: S21, obtaining the energy consumption value of the standard working condition, obtaining several energy consumption values ​​of the historical working conditions stored in the first storage area, and calculating the average energy consumption value of the historical working conditions by the following formula: A″=∑ i=1 a i *A i / i, where i = 1, 2, ..., n, where A″ is the average energy consumption value of historical operating conditions, n is the number of historical operating condition energy consumption values ​​obtained, and a i A i The corresponding weighted average coefficient, A i is the energy consumption value of historical working conditions; S22, obtaining the current battery power of the electric vehicle, calculating a first calculated mileage from the battery power and the energy consumption value under standard working conditions, and calculating a second calculated mileage from the battery power and the average energy consumption under historical working conditions; S23, determining whether the absolute value of the difference between the first calculated mileage and the second calculated mileage is greater than a preset deviation value; S24, if yes, taking the first calculated mileage as the remaining mileage of the electric vehicle; if no, taking the second calculated mileage as the remaining mileage of the electric vehicle; S3. When the working state is the running state, the remaining mileage of the electric vehicle is calculated according to the second calculation rule: S31, starting to accumulate the mileage of the electric vehicle; S32, determining whether the accumulated driving mileage has reached a preset mileage, and if so, determining a current operating condition energy consumption value of the newly reached preset mileage, wherein the current operating condition energy consumption value is the power consumption per unit mileage of the electric vehicle; S33, obtaining several historical working condition energy consumption values ​​stored in the first storage area, and calculating the average energy consumption value of the current working condition by the following formula: A=(∑ i=1 a i *A i +a n+1 A n+1 ) / (i+1), where i=1, 2, ..., n, where A is the average energy consumption value of the current working condition, a n+1 A n+1 The corresponding weighted average coefficient, A n+1 The current operating condition energy consumption value of the newly achieved preset mileage; S34, obtaining the current battery power of the electric vehicle, and calculating the remaining mileage of the electric vehicle based on the battery power and the average energy consumption value of the current working condition; S35, storing the current operating condition energy consumption value in the first storage area as a historical operating condition energy consumption value; S36, restart the accumulation of the mileage of the electric vehicle, and repeat steps S32 to S36 until the working state changes.

2. The method for estimating the remaining range of an electric vehicle according to claim 1, characterized in that: If so, the first calculated mileage is used as the remaining mileage of the electric vehicle; If not, after the step of taking the second calculated mileage as the remaining mileage of the electric vehicle, the method further includes: S25, obtaining the current gear position of the electric vehicle, and obtaining the correction coefficient corresponding to the gear position according to the predetermined correspondence relationship between the gear position and the correction coefficient; S26. Correct the remaining mileage of the electric vehicle to obtain a corrected remaining mileage. The corrected remaining mileage is calculated using the following formula: Sfix=η*S, where S is the remaining mileage of the electric vehicle, Sfix is ​​the corrected remaining mileage, and η is the correction coefficient.

3. The method for estimating the remaining range of an electric vehicle according to claim 1, characterized in that: After the step of calculating the remaining mileage of the electric vehicle according to a first calculation rule when the working state is the initial power-on static state or the charging state, the method further includes: S4, when it is detected that the working state is the initial power-on static state or the charging state, start timing; S5, determining whether the duration of the working state being the initial power-on static state or the charging state reaches a preset time; S6. If yes, calculate the remaining mileage of the electric vehicle according to the first calculation rule, restart the timing, and repeat step S5 until the working state changes.

4. The method for estimating the remaining range of an electric vehicle according to claim 1, characterized in that: Before the step of starting to accumulate the mileage of the electric vehicle, the method further includes: S31a, obtaining the current battery power of the electric vehicle, and storing the obtained battery power in a second storage area; The step of determining the current operating condition energy consumption value of the newly reached preset mileage includes: S321, obtaining the current battery power of the electric vehicle, and calculating the current working condition energy consumption value of the newly reached preset mileage according to the following formula: A n+1 =(SOC1-SOC2) / S3, where SOC1 is the battery power stored in the second storage area, SOC2 is the currently acquired battery power, and S3 is the preset mileage; S322: Delete the battery power stored in the second storage area, and store the acquired battery power of the electric vehicle in the second storage area.

5. The method for estimating the remaining range of an electric vehicle according to claim 4, characterized in that: The working state also includes a parking state; the method also includes: S7, when it is detected that the working state is a mid-trip parking state, start timing; S8, determining whether the duration of the working state being the midway parking state reaches a preset time; S9, if yes, then obtain the current working condition average energy consumption value calculated last time before the midway stop state, obtain the current battery power of the electric vehicle, and calculate the remaining mileage of the electric vehicle according to the battery power and the current working condition average energy consumption value; S10. Restart timing and repeat steps S8 to S10 until the working state changes.

6. The method for estimating the remaining range of an electric vehicle according to claim 1, characterized in that: The step of storing the current working condition energy consumption value in the first storage area comprises: S341, determining whether the number of historical operating condition energy consumption values ​​in the first storage area reaches a preset number; S342: If not, the current working condition energy consumption values ​​are stored in the first storage area in order; S343: If yes, delete the historical operating condition energy consumption value first stored in the first storage area, and store the current operating condition energy consumption value in the first storage area in sequence.

7. The method for estimating the remaining range of an electric vehicle according to claim 5, characterized in that: The step of detecting the working state of the electric vehicle comprises: S11, after receiving the power-on signal of the electric vehicle, the current working state of the electric vehicle is assumed to be the initial power-on static state; S12, when the working state is the initial power-on static state, determining whether the speed of the electric vehicle is greater than a set threshold, and determining whether a charging signal is received; S13, if the speed of the electric vehicle is greater than a set threshold and no charging signal is received, the current working state of the electric vehicle is switched to a running state; if the speed of the electric vehicle is less than a set threshold and a charging signal is received, the working state of the electric vehicle is switched to a charging state; S14, when the working state is the running state, determining whether the speed of the electric vehicle is less than a set threshold, and determining whether a charging signal is received; S15. If the speed of the electric vehicle is less than a set threshold and no charging signal is received, the working state of the electric vehicle is switched to a midway parking state; if the speed of the electric vehicle is less than a set threshold and a charging signal is received, the working state of the electric vehicle is switched to a charging state; S16, when the working state is a charging state, determining whether a charging signal is received; S17, if no charging signal is received, switching the working state of the electric vehicle to an initial power-on static state; S18, when the working state is a mid-way parking state, determining whether the speed of the electric vehicle is less than a set threshold, and determining whether a charging signal is received; S19. If the speed of the electric vehicle is less than a set threshold and a charging signal is received, the working state of the electric vehicle is switched to a charging state; if the speed of the electric vehicle is greater than a set threshold and no charging signal is received, the working state of the electric vehicle is switched to a running state.

8. A system for estimating remaining mileage of an electric vehicle, characterized in that: include: A detection module is used to detect the current working state of the electric vehicle, wherein the working state includes a static state at the beginning of power-on, a running state and a charging state; A first calculation module, configured to calculate the remaining mileage of the electric vehicle according to a first calculation rule when the working state is a static state or a charging state after power-on; The first calculation module includes: The first acquisition submodule is used to obtain the standard working condition energy consumption value, obtain several historical working condition energy consumption values ​​stored in the first storage area, and calculate the historical working condition average energy consumption value by the following formula: A″=∑ i=1 a i *A i / i, where i = 1, 2, ..., n, where A″ is the average energy consumption value of historical operating conditions, n is the number of historical operating condition energy consumption values ​​obtained, and a i A i The corresponding weighted average coefficient, A i is the energy consumption value of historical working conditions; A second acquisition submodule is used to acquire the current battery power of the electric vehicle, calculate the first calculated mileage from the battery power and the energy consumption value of the standard working condition, and calculate the second calculated mileage from the battery power and the average energy consumption of the historical working condition; A first judgment submodule, used to judge whether the absolute value of the difference between the first calculated mileage and the second calculated mileage is greater than a preset deviation value; as a submodule, for taking the first calculated mileage as the remaining mileage of the electric vehicle if the judgment of the first judgment submodule is yes; and taking the second calculated mileage as the remaining mileage of the electric vehicle if the judgment of the first judgment submodule is no; A second calculation module, used for calculating the remaining mileage of the electric vehicle according to a second calculation rule when the working state is the running state; The second calculation module includes: An accumulation submodule, used for starting to accumulate the mileage of the electric vehicle; The second judgment submodule is used to judge whether the accumulated driving mileage reaches the preset mileage, and if so, determine the current working condition energy consumption value of the newly reached preset mileage, where the current working condition energy consumption value is the power consumption per unit mileage of the electric vehicle; The third acquisition submodule is used to obtain several historical operating condition energy consumption values ​​stored in the first storage area, and calculate the average energy consumption value of the current operating condition by the following formula: A=(∑ i=1 a i *A i +a n+1 A n+1 ) / (i+1), where i=1, 2, ..., n, where A is the average energy consumption value of the current working condition, a n+1 A n+1 The corresponding weighted average coefficient, A n+1 The current operating condition energy consumption value of the newly achieved preset mileage; A fourth acquisition submodule is used to acquire the current battery power of the electric vehicle, and calculate the remaining mileage of the electric vehicle based on the battery power and the average energy consumption value of the current working condition; A first storage submodule, used for storing the current operating condition energy consumption value in a first storage area as a historical operating condition energy consumption value; The repeating submodule restarts to accumulate the mileage of the electric vehicle, and repeatedly executes the second judging submodule to the repeating submodule until the working state changes.

9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Electric vehicle mileage dynamic estimation method

    CN111583440A

  • Endurance mileage calculation method and device of electric vehicle, vehicle control unit and electric vehicle

    CN111645566A