Method, device and electric vehicle for calculating remaining mileage of electric vehicle
By obtaining vehicle driving information and residual battery energy in the vehicle controller of electric vehicles, and calculating the energy consumption of motors and high-voltage accessories, the high computing cost problem caused by relying on cloud computing in the prior art is solved, and accurate residual mileage calculation and cost savings are achieved.
Patent Information
- Application Number
- CN202210608133.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2042-05-31
AI Technical Summary
Existing methods for calculating residual mileage for electric vehicles rely too much on cloud computing, resulting in higher computing costs.
By obtaining vehicle driving information and residual battery energy in the entire vehicle controller of electric vehicles, based on this information, calculate the motor's driving energy consumption per kilometer, the motor's real-time energy consumption per kilometer, and the high-voltage accessories' energy consumption per kilometer, thereby accurately calculate the remaining mileage and avoid relying on cloud computing.
It realizes that the remaining mileage can be accurately calculated without relying on cloud computing on electric vehicles, reducing calculation costs.
Smart Images

Figure CN114834315B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric vehicles, and in particular, to a method, a device and an electric vehicle for calculating the remaining mileage of an electric vehicle. Background Art
[0002] Due to its advantages such as zero emissions, low noise, diversified energy sources, and high energy efficiency, electric vehicles have become the mainstream trend of the future development of new energy vehicles.
[0003] During the driving process of an electric vehicle, accurately predicting the remaining driving mileage in real time can prevent the power system from being abnormally interrupted due to incorrect remaining mileage during the use of the battery system, effectively relieve the mileage anxiety of the driver and passengers, help the driver reasonably adjust the driving plan, and thus improve the user's confidence in using pure electric vehicles.
[0004] Currently, the driving energy consumption is often predicted based on a driving behavior model in the cloud, and then the remaining mileage is calculated. This calculation method overly relies on cloud services and cloud computing, resulting in a relatively high calculation cost. Summary of the Invention
[0005] In view of this, the purpose of the present invention is to provide a method, a device and an electric vehicle for calculating the remaining mileage of an electric vehicle, which can accurately calculate the remaining mileage based on the vehicle driving information and the remaining battery energy by using the vehicle controller on the electric vehicle, without relying on cloud computing and cloud services to calculate the remaining mileage, thereby saving the calculation cost.
[0006] In a first aspect, an embodiment of the present invention provides a method for calculating the remaining mileage of an electric vehicle, where the method is applied to the vehicle controller of the electric vehicle; the method includes: obtaining the vehicle driving information and the remaining battery energy of a current preset sampling mileage; where the vehicle driving information is information used to characterize the current driving characteristics of the electric vehicle; calculating the energy consumption per kilometer of the motor, the real-time energy consumption per kilometer of the motor, and the energy consumption per kilometer of high-voltage accessories for the next preset sampling mileage based on the vehicle driving information; calculating the remaining mileage based on the energy consumption per kilometer of the motor, the real-time energy consumption per kilometer of the motor, the energy consumption per kilometer of high-voltage accessories, and the remaining battery energy for the next preset sampling mileage.
[0007] Combined with the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the vehicle driving information includes the real-time power of the drive motor, the current vehicle speed, and the power of high-voltage accessories.
[0008] Combined with the first possible implementation manner of the first aspect, the embodiment of the present invention provides a second possible implementation manner of the first aspect. Among them, the steps of calculating the energy consumption per kilometer of the motor, the real-time energy consumption per kilometer of the motor, and the energy consumption per kilometer of the high-voltage accessories for the next preset sampling mileage based on the vehicle driving information include: calculating the energy consumption per kilometer of the motor for the next preset sampling mileage based on the real-time power of the drive motor; determining the real-time energy consumption per kilometer of the motor based on the current vehicle speed; calculating the energy consumption per kilometer of the high-voltage accessories based on the power of the high-voltage accessories.
[0009] Combined with the second possible implementation manner of the first aspect, the embodiment of the present invention provides a third possible implementation manner of the first aspect. Among them, the steps of calculating the energy consumption per kilometer of the motor for the next preset sampling mileage based on the real-time power of the drive motor include: performing filtering processing on the real-time power of the drive motor to obtain the smoothed real-time motor power; performing time integration operation on the real-time motor power to obtain the motor energy consumption corresponding to the current preset sampling mileage; calculating the first energy consumption per kilometer of the motor corresponding to the current preset sampling mileage according to the motor energy consumption and the driving mileage of the current preset sampling mileage; obtaining the second energy consumption per kilometer of the motor corresponding to the three preset sampling mileages closest to the current preset sampling mileage from the energy consumption per kilometer storage queue of the motor; performing weighted calculation on the first energy consumption per kilometer of the motor and multiple second energy consumption per kilometer of the motor to obtain the energy consumption per kilometer of the motor for the next preset sampling mileage.
[0010] Combined with the second possible implementation manner of the first aspect, the embodiment of the present invention provides a fourth possible implementation manner of the first aspect. Among them, the steps of determining the real-time energy consumption per kilometer of the motor based on the current vehicle speed include: querying the real-time energy consumption per kilometer of the motor corresponding to the current vehicle speed from the motor energy consumption query table; wherein, the corresponding relationship between the current vehicle speed and the real-time energy consumption per kilometer of the motor is stored in the motor energy consumption query table.
[0011] Combined with the second possible implementation manner of the first aspect, the embodiment of the present invention provides a fifth possible implementation manner of the first aspect. Among them, the steps of calculating the energy consumption per kilometer of the high-voltage accessories based on the power of the high-voltage accessories include: multiplying the power of the high-voltage accessories by the reciprocal of the current vehicle speed to calculate the energy consumption per kilometer of the high-voltage accessories.
[0012] Combined with the second possible implementation manner of the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect. Among them, the step of calculating the remaining mileage according to the energy consumption per kilometer of the motor for the next preset sampling mileage, the real-time energy consumption per kilometer of the motor, the energy consumption per kilometer of the high-voltage accessory, and the remaining battery energy includes: respectively looking up in the energy consumption coefficient query table the first energy consumption coefficient corresponding to the energy consumption per kilometer of the motor for the next preset sampling mileage at the current vehicle speed, the second energy consumption coefficient corresponding to the real-time energy consumption per kilometer of the motor, and the third energy consumption coefficient corresponding to the energy consumption per kilometer of the high-voltage accessory; wherein, the energy consumption coefficient query table stores the corresponding relationships between the energy consumption coefficients and the real-time energy consumption per kilometer of the motor, the energy consumption per kilometer of the motor for the next preset sampling mileage, and the energy consumption per kilometer of the high-voltage accessory at the current vehicle speed; multiplying the energy consumption per kilometer of the motor for the next preset sampling mileage by the first energy consumption coefficient to obtain a first energy consumption calculation result; multiplying the real-time energy consumption per kilometer of the motor by the second energy consumption coefficient to obtain a second energy consumption calculation result; multiplying the energy consumption per kilometer of the high-voltage accessory by the third energy consumption coefficient to obtain a third energy consumption calculation result; adding the first energy consumption calculation result, the second energy consumption calculation result, and the third energy consumption calculation result to obtain the predicted energy consumption per kilometer of the whole vehicle; calculating the remaining mileage based on the remaining battery energy and the predicted energy consumption per kilometer of the whole vehicle.
[0013] Combined with the sixth possible implementation manner of the first aspect, an embodiment of the present invention provides a seventh possible implementation manner of the first aspect. Among them, the step of calculating the remaining mileage based on the remaining battery energy and the predicted energy consumption per kilometer of the whole vehicle includes: multiplying the remaining battery energy by the reciprocal of the predicted energy consumption per kilometer of the whole vehicle to calculate the initial remaining mileage; performing filtering and change gradient limit processing on the initial remaining mileage to obtain the remaining mileage.
[0014] In the second aspect, an embodiment of the present invention further provides a device for calculating the remaining mileage of an electric vehicle. Among them, the device is applied to the vehicle controller of the electric vehicle; the above device includes: an acquisition module, configured to acquire the vehicle driving information and the remaining battery energy at the current preset sampling mileage; wherein, the vehicle driving information is information used to characterize the current driving characteristics of the electric vehicle; a first calculation module, configured to calculate the energy consumption per kilometer of the motor for the next preset sampling mileage, the real-time energy consumption per kilometer of the motor, and the energy consumption per kilometer of the high-voltage accessory based on the vehicle driving information; a second calculation module, configured to calculate the remaining mileage according to the energy consumption per kilometer of the motor for the next preset sampling mileage, the real-time energy consumption per kilometer of the motor, the energy consumption per kilometer of the high-voltage accessory, and the remaining battery energy.
[0015] In the third aspect, an embodiment of the present invention further provides an electric vehicle. Among them, the electric vehicle is configured with a vehicle controller; the vehicle controller is used to execute the above method.
[0016] Fourthly, an embodiment of the present invention further provides an electronic device, which includes a processor and a memory. The memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the above method.
[0017] Fifthly, an embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to implement the above method.
[0018] The embodiments of the present invention bring the following beneficial effects:
[0019] An embodiment of the present application provides a method, a device, and an electric vehicle for calculating the remaining mileage of an electric vehicle. The method is applied to the vehicle control unit of the electric vehicle. After obtaining the vehicle driving information and the remaining battery energy at the current preset sampling mileage, it is possible to calculate the energy consumption per kilometer of the motor, the real-time energy consumption per kilometer of the motor, and the energy consumption per kilometer of the high-voltage accessories for the next preset sampling mileage based on the vehicle driving information. Further, the remaining mileage is calculated according to the energy consumption per kilometer of the motor, the real-time energy consumption per kilometer of the motor, the energy consumption per kilometer of the high-voltage accessories, and the remaining battery energy for the next preset sampling mileage. The present application can accurately calculate the remaining mileage based on the vehicle driving information and the remaining battery energy by using the vehicle control unit on the electric vehicle, without relying on cloud computing and cloud services to calculate the remaining mileage, thereby saving the calculation cost.
[0020] Other features and advantages of the present invention will be described in the following description, and some of them will become obvious from the description or be understood by implementing the present invention. The objectives and other advantages of the present invention are achieved and obtained by the structures specifically pointed out in the description and the drawings.
[0021] To make the above objectives, features, and advantages of the present invention more obvious and understandable, the following preferred embodiments are specifically described below in conjunction with the accompanying drawings. Description of the Drawings
[0022] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative efforts.
[0023] Figure 1 It is a flowchart of a method for calculating the remaining mileage of an electric vehicle provided by an embodiment of the present invention;
[0024] Figure 2Flow chart of another method for calculating remaining mileage of an electric vehicle provided by an embodiment of the present invention;
[0025] Figure 3 Schematic structural diagram of an energy consumption storage queue per kilometer of an electric motor provided by an embodiment of the present invention;
[0026] Figure 4 Schematic diagram showing the variation of a first energy consumption coefficient with vehicle speed provided by an embodiment of the present invention;
[0027] Figure 5 Schematic diagram showing the variation of a second energy consumption coefficient with vehicle speed provided by an embodiment of the present invention;
[0028] Figure 6 Schematic diagram showing the variation of a third energy consumption coefficient with vehicle speed provided by an embodiment of the present invention;
[0029] Figure 7 Schematic structural diagram of a device for calculating remaining mileage of an electric vehicle provided by an embodiment of the present invention;
[0030] Figure 8 Schematic structural diagram of an electronic device provided by an embodiment of the present invention. Detailed implementation manners
[0031] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0032] Currently, the method for calculating remaining mileage by predicting driving energy consumption based on a cloud-based driving behavior model relies too much on cloud services and cloud computing, resulting in high calculation costs. Based on this, a method, a device and an electric vehicle for calculating remaining mileage of an electric vehicle provided by the embodiments of the present invention can accurately calculate the remaining mileage by using the vehicle control unit on the electric vehicle based on vehicle driving information and remaining battery energy, without relying on cloud computing and cloud services to calculate the remaining mileage, thereby saving calculation costs.
[0033] To facilitate the understanding of this embodiment, a method for calculating remaining mileage of an electric vehicle disclosed in the embodiments of the present invention will be introduced in detail first.
[0034] This embodiment provides a method for calculating remaining mileage of an electric vehicle, wherein the method is applied to the vehicle control unit of the electric vehicle; see Figure 1 the flow chart of a method for calculating remaining mileage of an electric vehicle shown in the following, and the method specifically includes the following steps:
[0035] Step S102: Obtain the vehicle driving information and the remaining battery energy at the current preset sampling mileage; wherein, the vehicle driving information is the information used to characterize the current driving characteristics of the electric vehicle.
[0036] In practical applications, when the driving mileage of the electric vehicle reaches the above-mentioned preset sampling mileage each time, an update of the remaining mileage is performed, that is, the vehicle control unit updates the remaining mileage of the previous preset sampling mileage with the calculated remaining mileage of the current preset sampling mileage. Specifically, the vehicle speed information of the electric vehicle is obtained in real time, and the driving mileage is obtained by performing a time integration operation on the vehicle speed information using a time integrator. When the driving mileage reaches the preset sampling mileage, the vehicle control unit is triggered to update the remaining mileage. At the same time, the time integrator is reset so that the time integrator starts to perform the time integration operation on the vehicle speed information again, and the calculation and update process of the remaining mileage is cycled in turn; wherein, the preset sampling mileage can be set to 1 km, 2 km, 3 km, etc., and the specific value can be set according to actual needs and will not be limited here.
[0037] In this embodiment, the vehicle driving information obtained to characterize the current driving characteristics of the electric vehicle actually includes the real-time power of the drive motor, the current vehicle speed, and the high-voltage accessory power. Generally, the drive motor can drive the vehicle according to the torque command of the vehicle control unit and feedback its own real-time power of the drive motor to the vehicle control unit; the high-voltage accessories refer to devices such as the air-conditioning compressor and the DC converter on the electric vehicle, and these high-voltage accessories can feedback their own high-voltage accessory power to the vehicle control unit in real time; the current vehicle speed can be collected by a speed sensor installed in the transmission or ESP (Electronic Stability Program) and sent to the vehicle control unit; the power battery pack and the battery management system on the electric vehicle can estimate the remaining energy of the battery and feedback the estimated remaining battery energy to the vehicle control unit.
[0038] Step S104: Calculate the energy consumption per kilometer of the motor, the real-time energy consumption per kilometer of the motor, and the energy consumption per kilometer of the high-voltage accessories for the next preset sampling mileage based on the vehicle driving information.
[0039] The above three different energy consumptions can fully reflect the vehicle energy consumption of the electric vehicle within the current preset sampling mileage. Therefore, based on the three energy consumptions calculated above and the remaining battery energy, the actual remaining mileage of the electric vehicle can be accurately calculated, thus avoiding misleading the driver's judgment during subsequent driving and enabling the driver to reasonably arrange the charging time and itinerary.
[0040] Step S106: Calculate the remaining mileage according to the energy consumption per kilometer of the motor, the real-time energy consumption per kilometer of the motor, the energy consumption per kilometer of the high-voltage accessories, and the remaining battery energy for the next preset sampling mileage.
[0041] An embodiment of the present application provides a method for calculating the remaining mileage of an electric vehicle, which can accurately calculate the remaining mileage based on the vehicle driving information and the remaining battery energy on the electric vehicle by using the vehicle control unit on the electric vehicle, without relying on cloud computing and cloud services to calculate the remaining mileage, thereby saving the calculation cost.
[0042] Another method for calculating the remaining mileage of an electric vehicle is provided in this embodiment, which is implemented on the basis of the above embodiment; as Figure 2 shown in the flowchart of another method for calculating the remaining mileage of an electric vehicle, the method for calculating the remaining mileage of an electric vehicle in this embodiment includes the following steps:
[0043] Step S202, obtain the vehicle driving information and the remaining battery energy of the current preset sampling mileage;
[0044] In this embodiment, the three energy consumptions in step S104 can be calculated respectively based on the real-time power of the drive motor, the current vehicle speed, and the high-voltage accessory power included in the vehicle driving information. The specific calculation process can be implemented by steps S204 to S208.
[0045] Step S204, calculate the energy consumption per kilometer of the motor for the next preset sampling mileage based on the real-time power of the drive motor;
[0046] The calculation process of the energy consumption per kilometer of the motor for the next preset sampling mileage in step S204 can be implemented by steps A1 to A5:
[0047] Step A1, perform filtering processing on the real-time power of the drive motor to obtain the smoothed real-time motor power;
[0048] Since the obtained real-time power of the drive motor may have noisy power, in this embodiment, a low-pass filter can be used to perform filtering processing on the real-time power of the drive motor to obtain the smoothed real-time motor power.
[0049] Step A2, perform time integration operation on the real-time motor power to obtain the motor energy consumption corresponding to the current preset sampling mileage;
[0050] Step A3, calculate the first energy consumption per kilometer of the motor corresponding to the current preset sampling mileage according to the motor energy consumption and the driving mileage of the current preset sampling mileage;
[0051] Divide the motor energy consumption by the driving mileage of the current preset sampling mileage to obtain the first energy consumption per kilometer of the motor for the current preset sampling mileage, and store it in the energy consumption per kilometer storage queue of the motor for calculating the energy consumption per kilometer of the motor for the next preset sampling mileage of the next current preset sampling mileage.
[0052] Step A4: Obtain the second motor energy consumption per kilometer corresponding to the three preset sampling distances that are closest to the current preset sampling distance from the motor energy consumption per kilometer storage queue.
[0053] Since the motor energy consumption per kilometer stored in the motor energy consumption per kilometer storage queue corresponding to each preset sampling distance, in this embodiment, select the three preset sampling distances that are closest to the current preset sampling distance to obtain the second motor energy consumption per kilometer corresponding to these three preset sampling distances. In practical applications, the number of preset sampling distances selected that are closest to the current preset sampling distance can be set according to actual needs and is not limited here.
[0054] For ease of understanding, Figure 3 FIG. shows a schematic structural diagram of a motor energy consumption per kilometer storage queue. If the current preset sampling distance is preset sampling distance 6, it can be seen from the figure that the three preset sampling distances closest to preset sampling distance 6 are preset sampling distance 3, preset sampling distance 4, and preset sampling distance 5. Among them, the second motor energy consumption per kilometer corresponding to preset sampling distance 3 is energy consumption E3, the second motor energy consumption per kilometer corresponding to preset sampling distance 4 is energy consumption E4, the second motor energy consumption per kilometer corresponding to preset sampling distance 5 is energy consumption E5, and the first motor energy consumption per kilometer calculated based on the current preset sampling distance is energy consumption E6.
[0055] As Figure 3 shown, the second motor energy consumption per kilometer corresponding to preset sampling distance 1 is energy consumption E1, and the second motor energy consumption per kilometer corresponding to preset sampling distance 2 is energy consumption E2. When the current preset sampling distance is preset sampling distance 5, the energy consumption corresponding to preset sampling distances 2 to 4 can be used to calculate the motor energy consumption per kilometer for the next preset sampling distance. When the current preset sampling distance is preset sampling distance 4, the energy consumption corresponding to preset sampling distances 1 to 3 can be used to calculate the motor energy consumption per kilometer for the next preset sampling distance.
[0056] If the current preset sampling distance is preset sampling distance 1, the calculated first motor energy consumption per kilometer can be used as the motor energy consumption per kilometer for the next preset sampling distance. If the current preset sampling distance is preset sampling distance 2, the energy consumption corresponding to preset sampling distance 1 can be used to calculate the motor energy consumption per kilometer for the next preset sampling distance, or the first motor energy consumption per kilometer calculated based on preset sampling distance 2 can also be used as the motor energy consumption per kilometer for the next preset sampling distance. If the current preset sampling distance is preset sampling distance 3, the energy consumption corresponding to preset sampling distances 1 to 2 can be used to calculate the motor energy consumption per kilometer for the next preset sampling distance, or the first motor energy consumption per kilometer calculated based on preset sampling distance 3 can also be used as the motor energy consumption per kilometer for the next preset sampling distance. This is not limited here.
[0057] Step A5: Perform weighted calculation on the energy consumption per kilometer of the first motor and the energy consumption per kilometer of multiple second motors to obtain the energy consumption per kilometer of the motor for the next preset sampling mileage.
[0058] The energy consumption per kilometer of the motor for the next preset sampling mileage can be calculated by the following formula:
[0059] E predict = E n · f1 + E n-1 · f2 + E n-2 · f3 + E n-3 · f4;
[0060] Wherein, E n represents the current preset sampling mileage, E n-1 represents the preset sampling mileage that is the first closest to the current preset sampling mileage, E n-2 represents the preset sampling mileage that is the second closest to the current preset sampling mileage, E n-3 represents the preset sampling mileage that is the third closest to the current preset sampling mileage, and f1, f2, f3, f4 are the weight coefficients corresponding to (E n , E n-1 , E n-2 , E n-3 ), respectively.
[0061] Specifically, f1 + f2 + f3 + f4 = 1, and the weight coefficients corresponding to the above preset sampling mileages are preset according to actual needs. Continuing with the previous example, if f1 = 0.2, f2 = 0.2, f3 = 0.25, f4 = 0.35, then in this embodiment, the energy consumption per kilometer of the motor for the next preset sampling mileage is:
[0062] E predict = E6·0.2 + E5·0.2 + E4·0.25 + E3·0.35.
[0063] Step S206: Determine the real-time energy consumption per kilometer of the motor based on the current vehicle speed;
[0064] Generally, query the real-time energy consumption per kilometer of the motor corresponding to the current vehicle speed from the motor energy consumption query table; wherein, the corresponding relationship between the current vehicle speed and the real-time energy consumption per kilometer of the motor is stored in the motor energy consumption query table.
[0065] For example, the corresponding relationships stored in the motor energy consumption query table are as follows: when the vehicle speed is 10 - 20 km / s, the real-time motor energy consumption per kilometer is 10 kWh / km; when the vehicle speed is 21 - 40 km / s, the real-time motor energy consumption per kilometer is 30 kWh / km; when the vehicle speed is 41 - 65 km / s, the real-time motor energy consumption per kilometer is 45 kWh / km. If the current vehicle speed is 33 km / s, which is within the range of 21 - 40 km / s, then the real-time motor energy consumption per kilometer corresponding to the current vehicle speed of 33 km / s is 30 kWh / km.
[0066] Step S208, calculate the energy consumption per kilometer of the high-voltage accessory based on the high-voltage accessory power;
[0067] Specifically, the energy consumption per kilometer of the high-voltage accessory is calculated by multiplying the high-voltage accessory power by the reciprocal of the current vehicle speed.
[0068] Step S210, calculate the remaining mileage according to the motor energy consumption per kilometer of the next preset sampling mileage, the real-time motor energy consumption per kilometer, the energy consumption per kilometer of the high-voltage accessory, and the remaining battery energy;
[0069] The above step S210 can be implemented through steps B1 to B6:
[0070] Step B1, respectively find the first energy consumption coefficient corresponding to the motor energy consumption per kilometer of the next preset sampling mileage at the current vehicle speed, the second energy consumption coefficient corresponding to the real-time motor energy consumption per kilometer, and the third energy consumption coefficient corresponding to the energy consumption per kilometer of the high-voltage accessory from the energy consumption coefficient query table;
[0071] Among them, the energy consumption coefficient query table stores the corresponding relationships between the energy consumption coefficients and the real-time motor energy consumption per kilometer, the motor energy consumption per kilometer of the next preset sampling mileage, and the energy consumption per kilometer of the high-voltage accessory at the current vehicle speed.
[0072] In actual use, in addition to determining the energy consumption coefficients corresponding to each energy consumption by querying the energy consumption coefficient query table, the energy consumption coefficients corresponding to each energy consumption can also be preset according to actual needs.
[0073] Step B2, multiply the motor energy consumption per kilometer of the next preset sampling mileage by the first energy consumption coefficient to obtain the first energy consumption calculation result;
[0074] Step B3, multiply the real-time motor energy consumption per kilometer by the second energy consumption coefficient to obtain the second energy consumption calculation result;
[0075] Step B4, multiply the energy consumption per kilometer of the high-voltage accessory by the third energy consumption coefficient to obtain the third energy consumption calculation result;
[0076] Step B5, add the first energy consumption calculation result, the second energy consumption calculation result, and the third energy consumption calculation result to obtain the predicted energy consumption per kilometer of the whole vehicle;
[0077] The calculation processes of the above steps B2 to B5 can be expressed by the following formula:
[0078] E pkm = E predict · f predict + E velocity · f velocity + E Aux · f Aux ;
[0079] Wherein; E pkm represents the predicted energy consumption per kilometer of the whole vehicle, E predict represents the energy consumption per kilometer of the motor for the next preset sampling mileage, f predict represents the first energy consumption coefficient, E velocity represents the real-time energy consumption per kilometer of the motor, f velocity represents the second energy consumption coefficient, E Aux represents the energy consumption per kilometer of high-voltage accessories, f Aux represents the third energy consumption coefficient.
[0080] Specifically, f predict + f velocity = 1, wherein, E predict · f predict is used to indicate the average energy consumption based on driving information, E velocity · f velocity + E Aux · f Aux is used to indicate the transient energy consumption based on the motor and high-voltage accessories. In actual use, the predicted energy consumption per kilometer of the whole vehicle can be comprehensively adjusted by adjusting the magnitudes of the three energy consumption coefficients. For the sake of easy understanding, Figure 4 shows a schematic diagram of the variation of the first energy consumption coefficient with vehicle speed, Figure 5 shows a schematic diagram of the variation of the second energy consumption coefficient with vehicle speed, Figure 6 shows a schematic diagram of the variation of the third energy consumption coefficient with vehicle speed. Referring to Figures 4 - 6 , it can be realized that when the vehicle speed is low, f velocity dominates, so that when the vehicle speed decreases, the remaining mileage result can be updated immediately without waiting for the completion of the current preset sampling mileage, because when the vehicle speed is low, it takes a longer time to reach the preset sampling mileage. When the vehicle speed is high, f predict dominates, so that more consideration is given to the predicted energy consumption per kilometer of the whole vehicle based on the current preset sampling mileage to calculate the remaining mileage.
[0081] Step B6, calculate the remaining mileage based on the remaining battery energy and the predicted energy consumption per kilometer of the whole vehicle.
[0082] The above step B6 can be implemented by steps C1 to C2:
[0083] Step C1, calculate the initial remaining mileage by multiplying the remaining battery energy by the reciprocal of the predicted energy consumption per kilometer of the whole vehicle.
[0084] Step C2, perform filtering and change gradient limit processing on the initial remaining mileage to obtain the remaining mileage.
[0085] The purpose of performing change gradient limit processing on the initial remaining mileage is to effectively prevent sudden changes in the remaining mileage. In actual use, for the convenience of the driver to understand the remaining mileage in real time, the vehicle controller can send the remaining mileage to the in-vehicle display for display.
[0086] The method for calculating the remaining mileage of an electric vehicle provided by the embodiment of the present application improves the accuracy of predicting the energy consumption per kilometer of the motor for the next preset sampling mileage through weighted calculation, and further improves the accuracy of calculating the remaining mileage through weighted calculation.
[0087] The embodiment of the present invention also provides a device for calculating the remaining mileage of an electric vehicle. Among them, this device is applied to the vehicle controller of the electric vehicle; Figure 7 The structural schematic diagram of a device for calculating the remaining mileage of an electric vehicle is shown, as Figure 7 shown, this device includes:
[0088] An acquisition module 702, configured to acquire the vehicle driving information and the remaining battery energy of the current preset sampling mileage; among them, the vehicle driving information is information used to characterize the current driving characteristics of the electric vehicle;
[0089] A first calculation module 704, configured to calculate the energy consumption per kilometer of the motor for the next preset sampling mileage, the real-time energy consumption per kilometer of the motor, and the energy consumption per kilometer of the high-voltage accessory based on the vehicle driving information;
[0090] A second calculation module 706, configured to calculate the remaining mileage according to the energy consumption per kilometer of the motor for the next preset sampling mileage, the real-time energy consumption per kilometer of the motor, the energy consumption per kilometer of the high-voltage accessory, and the remaining battery energy.
[0091] The device for calculating the remaining mileage of an electric vehicle provided by the embodiment of the present application can accurately calculate the remaining mileage based on the vehicle driving information and the remaining battery energy only by using the vehicle controller on the electric vehicle, without relying on cloud computing and cloud services to calculate the remaining mileage, thereby saving the calculation cost.
[0092] The device for calculating the remaining mileage of an electric vehicle provided by the embodiment of the present invention has the same technical features as the method for calculating the remaining mileage of an electric vehicle provided by the above embodiment, so it can also solve the same technical problems and achieve the same technical effects.
[0093] An embodiment of the present invention further provides an electric vehicle, wherein the electric vehicle is configured with a vehicle controller; the vehicle controller is used to execute the above method.
[0094] An embodiment of the present application further provides an electronic device. As Figure 8 shown, it is a schematic structural diagram of the electronic device. Among them, the electronic device includes a processor 121 and a memory 120. The memory 120 stores computer-executable instructions that can be executed by the processor 121. The processor 121 executes the computer-executable instructions to implement the above method.
[0095] In Figure 8 the illustrated embodiment, the electronic device further includes a bus 122 and a communication interface 123. Among them, the processor 121, the communication interface 123, and the memory 120 are connected through the bus 122.
[0096] Among them, the memory 120 may include a high-speed random access memory (RAM, Random Access Memory), and may also include a non-volatile memory, such as at least one disk memory. Through at least one communication interface 123 (which can be wired or wireless), a communication connection is realized between the system network element and at least one other network element. The Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 122 can be a CAN (Controller AeraNetwork, controller area network) bus, a LIN ((Local Interconnect Network, local interconnect network) bus, or an Ethernet (in-vehicle Ethernet) bus, etc. The bus 122 can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, Figure 8 only a bidirectional arrow is used in
[0097] The processor 121 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in the processor 121 or the instructions in the form of software. The above-mentioned processor 121 may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field-programmable gate array (FPGA for short), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly implemented by the hardware decoding processor, or completed by the combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory, and the processor 121 reads the information in the memory and combines its hardware to complete the steps of the method for calculating the remaining mileage of the electric vehicle in the foregoing embodiments.
[0098] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by the processor, the computer-executable instructions cause the processor to implement the above method for calculating the remaining mileage of the electric vehicle. For the specific implementation, reference can be made to the foregoing method embodiments, and details are not described herein again.
[0099] The method, device, and computer program product for an electric vehicle provided by the embodiments of the present application include a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the foregoing method embodiments. For the specific implementation, reference can be made to the method embodiments, and details are not described herein again.
[0100] Unless otherwise specifically stated, the relative steps, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present application.
[0101] When the above-mentioned functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs.
[0102] In the description of this application, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing this application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation to this application. In addition, the terms "first", "second", "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0103] Finally, it should be noted that: the above-mentioned embodiments are only specific implementation manners of this application, used to illustrate the technical solutions of this application, rather than limiting it. The protection scope of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the art within the technical scope disclosed in this application can still modify the technical solutions recorded in the foregoing embodiments, or can easily think of changes, or make equivalent replacements for some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be covered within the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims
1. A method for calculating the remaining mileage of an electric vehicle, characterized in that, The method is applied to the vehicle control unit of the electric vehicle; the method includes: Obtain the vehicle driving information and the remaining battery energy for the current preset sampling mileage; wherein, the vehicle driving information is information used to characterize the current driving characteristics of the electric vehicle; the vehicle driving information includes the real-time power of the drive motor, the current vehicle speed, and the high-voltage accessory power; Calculate the energy consumption per kilometer of the motor, the real-time energy consumption per kilometer of the motor, and the energy consumption per kilometer of the high-voltage accessory for the next preset sampling mileage based on the vehicle driving information; Calculate the remaining mileage according to the energy consumption per kilometer of the motor for the next preset sampling mileage, the real-time energy consumption per kilometer of the motor, the energy consumption per kilometer of the high-voltage accessory, and the remaining battery energy; Among them, the step of calculating the energy consumption per kilometer of the motor, the real-time energy consumption per kilometer of the motor, and the energy consumption per kilometer of the high-voltage accessory for the next preset sampling mileage based on the vehicle driving information includes: Calculate the energy consumption per kilometer of the motor for the next preset sampling mileage based on the real-time power of the drive motor; Determine the real-time energy consumption per kilometer of the motor based on the current vehicle speed; Calculate the energy consumption per kilometer of the high-voltage accessory based on the high-voltage accessory power; Among them, the step of calculating the remaining mileage according to the energy consumption per kilometer of the motor for the next preset sampling mileage, the real-time energy consumption per kilometer of the motor, the energy consumption per kilometer of the high-voltage accessory, and the remaining battery energy includes: Respectively look up the first energy consumption coefficient corresponding to the energy consumption per kilometer of the motor for the next preset sampling mileage, the second energy consumption coefficient corresponding to the real-time energy consumption per kilometer of the motor, and the third energy consumption coefficient corresponding to the energy consumption per kilometer of the high-voltage accessory at the current vehicle speed from the energy consumption coefficient query table; wherein, the energy consumption coefficient query table stores the corresponding relationships between the energy consumption coefficients and the real-time energy consumption per kilometer of the motor, the energy consumption per kilometer of the motor for the next preset sampling mileage, and the energy consumption per kilometer of the high-voltage accessory at the current vehicle speed; Multiply the energy consumption per kilometer of the motor for the next preset sampling mileage by the first energy consumption coefficient to obtain a first energy consumption calculation result; Multiply the real-time energy consumption per kilometer of the motor by the second energy consumption coefficient to obtain a second energy consumption calculation result; Multiply the energy consumption per kilometer of the high-voltage accessory by the third energy consumption coefficient to obtain a third energy consumption calculation result; Add the first energy consumption calculation result, the second energy consumption calculation result, and the third energy consumption calculation result to obtain the predicted energy consumption per kilometer of the whole vehicle; Calculate the remaining mileage based on the remaining battery energy and the predicted energy consumption per kilometer of the whole vehicle.
2. The method according to claim 1, characterized in that, The step of calculating the energy consumption per kilometer of the motor for the next preset sampling mileage based on the real-time power of the drive motor includes: Perform filtering processing on the real-time power of the drive motor to obtain the smoothed real-time motor power; Perform time integration operation on the real-time motor power to obtain the motor energy consumption corresponding to the current preset sampling mileage; Calculate the first energy consumption per kilometer of the motor corresponding to the current preset sampling mileage according to the motor energy consumption and the driving mileage of the current preset sampling mileage; Obtain the second energy consumption per kilometer of the motor corresponding to the three preset sampling mileages closest to the current preset sampling mileage from the motor energy consumption per kilometer storage queue; Perform weighted calculation on the energy consumption per kilometer of the first motor and the energy consumption per kilometer of multiple second motors to obtain the energy consumption per kilometer of the motor for the next preset sampling mileage.
3. The method according to claim 1, wherein The step of determining the real-time energy consumption per kilometer of the motor based on the current vehicle speed includes: Query the real-time energy consumption per kilometer of the motor corresponding to the current vehicle speed from the motor energy consumption query table; wherein, the corresponding relationship between the current vehicle speed and the real-time energy consumption per kilometer of the motor is stored in the motor energy consumption query table.
4. The method according to claim 1, wherein The step of calculating the energy consumption per kilometer of the high-voltage accessory based on the high-voltage accessory power includes: Multiply the high-voltage accessory power by the reciprocal of the current vehicle speed to calculate the energy consumption per kilometer of the high-voltage accessory.
5. The method according to claim 1, characterized in that, The step of calculating the remaining mileage based on the remaining battery energy and the predicted energy consumption per kilometer of the whole vehicle includes: Multiply the remaining battery energy by the reciprocal of the predicted energy consumption per kilometer of the whole vehicle to calculate the initial remaining mileage; Perform filtering and change gradient limit processing on the initial remaining mileage to obtain the remaining mileage.
6. A device for calculating the remaining mileage of an electric vehicle, characterized in that, The device is applied to the vehicle controller of the electric vehicle; the device includes: An acquisition module, configured to acquire the vehicle driving information and the remaining battery energy at the current preset sampling mileage; wherein, the vehicle driving information is information used to characterize the current driving characteristics of the electric vehicle; the vehicle driving information includes the real-time power of the drive motor, the current vehicle speed, and the high-voltage accessory power; A first calculation module, configured to calculate the energy consumption per kilometer of the motor for the next preset sampling mileage, the real-time energy consumption per kilometer of the motor, and the energy consumption per kilometer of the high-voltage accessory based on the vehicle driving information; A second calculation module, configured to calculate the remaining mileage according to the energy consumption per kilometer of the motor for the next preset sampling mileage, the real-time energy consumption per kilometer of the motor, the energy consumption per kilometer of the high-voltage accessory, and the remaining battery energy; Wherein, the step of calculating the energy consumption per kilometer of the motor for the next preset sampling mileage, the real-time energy consumption per kilometer of the motor, and the energy consumption per kilometer of the high-voltage accessory based on the vehicle driving information includes: Calculate the energy consumption per kilometer of the motor for the next preset sampling mileage based on the real-time power of the drive motor; Determine the real-time energy consumption per kilometer of the motor based on the current vehicle speed; Calculate the energy consumption per kilometer of the high-voltage accessory based on the high-voltage accessory power; Wherein, the step of calculating the remaining mileage according to the energy consumption per kilometer of the motor for the next preset sampling mileage, the real-time energy consumption per kilometer of the motor, the energy consumption per kilometer of the high-voltage accessory, and the remaining battery energy includes: Respectively look up the first energy consumption coefficient corresponding to the energy consumption per kilometer of the motor for the next preset sampling mileage, the second energy consumption coefficient corresponding to the real-time energy consumption per kilometer of the motor, and the third energy consumption coefficient corresponding to the energy consumption per kilometer of the high-voltage accessory at the current vehicle speed from the energy consumption coefficient query table; wherein, the corresponding relationship between the energy consumption coefficient and the real-time energy consumption per kilometer of the motor, the energy consumption per kilometer of the motor for the next preset sampling mileage, and the energy consumption per kilometer of the high-voltage accessory at the current vehicle speed is stored in the energy consumption coefficient query table; Multiply the energy consumption per kilometer of the motor for the next preset sampling mileage by the first energy consumption coefficient to obtain the first energy consumption calculation result; Multiply the real-time energy consumption per kilometer of the motor by the second energy consumption coefficient to obtain the second energy consumption calculation result; Multiply the energy consumption per kilometer of the high-voltage accessory by the third energy consumption coefficient to obtain the third energy consumption calculation result; Add the first energy consumption calculation result, the second energy consumption calculation result, and the third energy consumption calculation result to obtain the predicted energy consumption per kilometer of the whole vehicle; Calculate the remaining mileage based on the remaining battery energy and the predicted energy consumption per kilometer of the whole vehicle.
7. An electric vehicle, characterized in that, The electric vehicle is equipped with a vehicle controller; The vehicle controller is used to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Method and device for calculating driving range of electric car based on information fusion
CN104477108A
New energy automobile remaining mileage dynamic prediction method and system, terminal and medium
CN113687247A