Vehicle energy consumption prediction method and device, equipment and storage medium
By processing the driving style information of electric vehicles through a multi-task learning framework and contrastive learning network, combined with a deep factorization machine and an attention mechanism encoder, the accuracy problem caused by driver sparsity in electric vehicle energy consumption prediction is solved and the performance is improved. The reliability of consumption prediction reduces 'mileage anxiety'.
Patent Information
- Application Number
- CN202410779573.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing technology, the energy consumption prediction of electric vehicles is inaccurate due to driver sparsity, which leads to inaccurate prediction of driving style, which in turn affects the accuracy of vehicle energy consumption prediction, causing drivers to have ‘range anxiety’.
It adopts a multi-task learning framework, uses a supervised contrastive learning network to process vehicle driving style information, and combines a deep factorization machine and an attention mechanism encoder to improve the quality and discriminability of feature representation, fully mine the driver's personalized information, and improve performance. the reliability of consumption forecasts.
By learning the embedding of personalized driving information through the auxiliary task, the main task learns the embedding of vehicle energy consumption-related influencing factors, which improves the accuracy of energy consumption prediction, alleviates the problem of driver sparsity, and enhances the reliability of vehicle energy consumption prediction. Reduces driver's 'range anxiety'.
Smart Images

Figure CN118609237A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular to a vehicle energy consumption prediction method, device, equipment and storage medium. Background Art
[0002] With the advancement of technology and the support of national policies, new energy electric vehicles have become one of the important directions for the development of the global automotive industry with their environmental protection, energy saving and low carbon characteristics, and people are paying more and more attention to electric vehicles. However, the disadvantage of electric vehicles is that the driving range is short. In addition, the current restrictions on charging facilities and charging time in various cities cause drivers to evaluate the relationship between power and remaining mileage, which easily causes drivers to have "mileage anxiety". Therefore, driving range has become one of the important indicators that drivers pay attention to. Accurate energy consumption prediction can allow drivers to better grasp the driving range and thus formulate reasonable travel routes, which is also of great significance to promoting the development and use of electric vehicles.
[0003] Among them, the energy consumption of electric vehicles is coupled by many factors (driver, environment, vehicle), and the process is complicated. As a nonlinear model, it is difficult for physical models to accurately predict vehicle energy consumption. In related technologies, most methods are data-driven. When building energy consumption prediction models through AI algorithms, these methods input driving style as a feature into the energy consumption prediction model. If there is a sparsity problem with the driver, this method will lead to inaccurate prediction of driving style, which in turn leads to inaccurate prediction of vehicle energy consumption. Summary of the invention
[0004] One of the purposes of the present disclosure is to provide a vehicle energy consumption prediction method, which uses a supervised contrastive learning network to process vehicle driving style information, improves the quality and discriminability of feature representation, and fully mines the driver's personalized information, thereby alleviating the driver's sparsity problem and improving the reliability of vehicle energy consumption prediction; the second purpose of the present disclosure is to provide a vehicle energy consumption prediction device; the third purpose of the present disclosure is to provide a device; the fourth purpose of the present disclosure is to provide a storage medium.
[0005] In order to achieve the above objectives, in a first aspect, the present disclosure provides a vehicle energy consumption prediction method, the vehicle energy consumption prediction method comprising:
[0006] Obtain vehicle driving style information and vehicle energy consumption influencing factor information corresponding to the target vehicle at the current moment;
[0007] Determining a model input vector based on the vehicle energy consumption influencing factor information;
[0008] Processing the model input vector and the vehicle driving style information based on a vehicle energy consumption prediction model to determine a current vehicle energy consumption prediction result of the target vehicle;
[0009] The processing of the model input vector and the vehicle driving style information based on the vehicle energy consumption prediction model to determine the current vehicle energy consumption prediction result of the target vehicle includes:
[0010] Based on the first sub-model of the vehicle energy consumption prediction model, the vehicle driving style information is processed to determine the vehicle identification code feature vector of the target vehicle; wherein the first sub-model includes a supervised contrastive learning network;
[0011] Based on the sub-models other than the first sub-model in the vehicle energy consumption prediction model, the vehicle identification code feature vector and the model input vector are processed to determine the vehicle energy consumption prediction result.
[0012] Optionally, the first sub-model is trained in the following manner:
[0013] Acquire multiple sets of corresponding vehicle identification code feature vector samples and vehicle driving style information samples;
[0014] Based on a supervised contrastive learning network, multiple groups of corresponding vehicle identification feature vector samples and vehicle driving style information samples are learned to obtain the first sub-model.
[0015] Optionally, the obtaining of vehicle driving style information corresponding to the target vehicle at the current moment includes:
[0016] When the target vehicle has historical driving information, obtaining a first historical average speed and / or a first historical average acceleration of the target vehicle, and using the first historical average speed and / or the first historical average acceleration as the vehicle driving style information;
[0017] or,
[0018] When the target vehicle has no historical driving information, a second historical average speed and / or a second historical average acceleration of a group of vehicles of the target vehicle model is obtained, and the second historical average speed and / or the second historical average acceleration is used as the vehicle driving style information; wherein the target vehicle model is the vehicle model to which the target vehicle belongs.
[0019] Optionally,
[0020] The vehicle energy consumption influencing factor information includes vehicle state information, and determining the model input vector based on the vehicle energy consumption influencing factor information includes:
[0021] Based on the vehicle state information, determining a vehicle state input vector in the model input vector;
[0022] and / or,
[0023] The vehicle energy consumption influencing factor information includes time information, and determining the model input vector based on the vehicle energy consumption influencing factor information includes:
[0024] Based on the time information, determining a time input vector in the model input vector;
[0025] and / or,
[0026] The vehicle energy consumption influencing factor information includes weather information, and determining the model input vector based on the vehicle energy consumption influencing factor information includes:
[0027] Based on the weather information, determining a weather input vector in the model input vector;
[0028] and / or,
[0029] The vehicle energy consumption influencing factor information includes road condition information, and determining the model input vector based on the vehicle energy consumption influencing factor information includes:
[0030] Based on the road condition information, a road condition input vector in the model input vector is determined.
[0031] Optionally, the road condition information includes overall road condition information of the vehicle driving route and road condition information of N sub-road sections, the N sub-road section road condition information corresponds to the N sub-road sections one by one, and the N sub-road sections constitute the vehicle driving route;
[0032] The determining, based on the road condition information, a road condition input vector in the model input vector comprises:
[0033] Based on the overall road condition information, determining an overall road condition input vector in the road condition input vector;
[0034] Based on the traffic condition information of the N sub-road sections, determining a sub-road section traffic condition input vector sequence; wherein the sub-road section input vector sequence includes N sub-road section traffic condition input vectors, and the N sub-road section traffic condition input vectors correspond one-to-one to the N sub-road sections;
[0035] The sub-road section road condition input vector corresponding to the target sub-road section in the sub-road section road condition input vector sequence is determined as the target sub-road section road condition input vector in the road condition input vector; wherein the target sub-road section is the sub-road section where the target vehicle is currently located.
[0036] Optionally, the processing of the vehicle identification code feature vector and the model input vector based on the sub-models other than the first sub-model in the vehicle energy consumption prediction model to determine the vehicle energy consumption prediction result includes:
[0037] Based on the second sub-model of the vehicle energy consumption prediction model, the vehicle identification code feature vector, the vehicle state input vector, the time input vector, the weather input vector and the overall road condition input vector are processed to determine the overall feature vector of the vehicle driving route; wherein the second sub-model includes a deep factorization machine;
[0038] Based on the third sub-model of the vehicle energy consumption prediction model, the target sub-section road condition input vector is processed to determine the sub-section feature vector of the vehicle driving route; wherein the third sub-model includes an encoder of the attention mechanism;
[0039] Based on the fourth sub-model of the vehicle energy consumption prediction model, the overall feature vector and the sub-section feature vector are processed to determine the vehicle energy consumption prediction result; wherein the fourth sub-model includes a multi-layer perceptron network.
[0040] Optionally, the processing of the vehicle identification code feature vector, the vehicle state input vector, the time input vector, the weather input vector and the overall road condition input vector to determine the overall feature vector of the vehicle driving route includes:
[0041] Determine a first dense feature based on the categorical features in the vehicle state input vector, the time input vector, the weather input vector, and the overall road condition input vector;
[0042] Concatenate the vehicle identification code feature vector, the first dense feature, and the real number features in the vehicle state input vector, the time input vector, the weather input vector, and the overall road condition input vector to obtain a first concatenated vector;
[0043] The first concatenated vector is processed based on the deep factorization machine to determine the overall feature vector.
[0044] Optionally, the processing of the target sub-section road condition input vector to determine the sub-section feature vector of the vehicle driving route includes:
[0045] Determining a second dense feature based on the categorical feature of the target sub-road section road condition input vector;
[0046] Splicing the second dense feature and the real number feature of the target sub-section road condition input vector to obtain a second splicing vector;
[0047] The encoder based on the attention mechanism processes the second splicing vector to determine the sub-segment feature vector.
[0048] Optionally, the processing of the overall feature vector and the sub-section feature vector to determine the vehicle energy consumption prediction result includes:
[0049] Concatenate the overall feature vector and the sub-segment vector to obtain a third concatenated vector;
[0050] The third concatenated vector is processed based on the multi-layer perceptron network to determine the vehicle energy consumption prediction result.
[0051] Optionally,
[0052] The vehicle energy consumption prediction method comprises:
[0053] If it is determined that the set conditions are met, re-determining the vehicle energy consumption prediction result;
[0054] Wherein, the determining that the set condition is satisfied includes at least one of the following:
[0055] Determining a trip of the target vehicle to start the vehicle travel route;
[0056] Determining that the sub-section on which the target vehicle is traveling is switched;
[0057] Determining that a switch occurs in the driving route of the vehicle;
[0058] Determine that an accident occurs on the road section ahead of the target vehicle.
[0059] Optionally, the vehicle energy consumption prediction method includes:
[0060] After determining the vehicle energy consumption prediction result, determining the cruising range of the target vehicle based on the vehicle energy consumption prediction result;
[0061] Based on the remaining mileage of the vehicle's driving route and the cruising range, the prompt information of the target vehicle is controlled.
[0062] Optionally, the controlling the prompt information of the target vehicle based on the remaining mileage of the vehicle's driving route and the cruising range includes:
[0063] If the mileage difference between the remaining mileage and the endurance mileage is greater than or equal to a first set threshold value, and less than or equal to a second set threshold value, output a first prompt message; wherein the first prompt message is used to prompt the use of energy-saving mode for driving;
[0064] If the mileage difference between the remaining mileage and the endurance mileage is greater than the second set threshold, a second prompt message is output; wherein the second prompt message is used to prompt to replenish the energy of the vehicle.
[0065] Optionally, the obtaining of the vehicle driving style information and vehicle energy consumption influencing factor information corresponding to the target vehicle at the current moment includes:
[0066] Determining a vehicle travel route of the target vehicle according to the departure point and destination of the target vehicle;
[0067] Based on the vehicle driving route, the vehicle driving style information and the vehicle energy consumption influencing factor information are obtained.
[0068] Optionally, the vehicle energy consumption influencing factor information includes road condition information, and the road condition information includes overall road condition information of the vehicle driving route and road condition information of N sub-sections, where N is a positive integer greater than or equal to 1;
[0069] The acquiring the vehicle driving style information and the vehicle energy consumption influencing factor information based on the vehicle driving route includes:
[0070] Based on the vehicle driving route, obtaining the overall road condition information of the vehicle driving route from navigation information;
[0071] Dividing the vehicle driving route into sections to obtain N sub-sections;
[0072] Obtain N sub-road section traffic condition information corresponding to the N sub-road sections from the navigation information; wherein the N sub-road section traffic condition information corresponds one-to-one to the N sub-road sections.
[0073] In order to achieve the above-mentioned object, in a second aspect, the present disclosure provides a vehicle energy consumption prediction device, the vehicle energy consumption prediction device comprising:
[0074] An acquisition module is used to acquire vehicle driving style information and vehicle energy consumption influencing factor information corresponding to the target vehicle at the current moment;
[0075] A determination module, used to determine a model input vector based on the vehicle energy consumption influencing factor information;
[0076] It is also used to process the model input vector and the vehicle driving style information based on the vehicle energy consumption prediction model to determine the current vehicle energy consumption prediction result of the target vehicle;
[0077] Wherein, determining the current vehicle energy consumption prediction result of the target vehicle based on the model input information and the vehicle driving style information includes:
[0078] Based on the first sub-model of the vehicle energy consumption prediction model, the vehicle driving style information is processed to determine the vehicle identification code feature vector of the target vehicle; wherein the first sub-model includes a supervised contrastive learning network;
[0079] Based on the sub-models other than the first sub-model in the vehicle energy consumption prediction model, the vehicle identification code feature vector and the model input vector are processed to determine the vehicle energy consumption prediction result.
[0080] To achieve the above-mentioned purpose, in a third aspect, the present disclosure further provides a device, which also includes: a processor and a memory, and the processor is used to execute a control program stored in the memory to implement the vehicle energy consumption prediction method as described in any one of the first aspects.
[0081] To achieve the above-mentioned purpose, in a fourth aspect, the present disclosure further provides a storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the vehicle energy consumption prediction method as described in any one of the first aspects.
[0082] Beneficial effects of the present disclosure:
[0083] In the present disclosure, the vehicle energy consumption prediction model can adopt a multi-task learning framework, and the auxiliary task learns the embedding of personalized driving information, that is, the first sub-model is used to process the vehicle driving style information to obtain the vehicle identification code feature vector; and the main task learns the embedding of vehicle energy consumption related influencing factors, that is, other models other than the first sub-model process the vehicle identification code feature vector and the model input vector obtained from the vehicle energy consumption influencing factor information to obtain the vehicle energy consumption prediction result. Among them, since the auxiliary task adopts a supervised contrast learning network, the quality and discriminability of feature representation can be improved, and the personalized information of the driver can be fully mined, thereby alleviating the driver sparsity problem, thereby improving the energy consumption prediction performance, and better improving the reliability of the vehicle energy consumption prediction result. BRIEF DESCRIPTION OF THE DRAWINGS
[0084] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0085] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0086] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0087] Figure 1 A schematic diagram showing a flow chart of a vehicle energy consumption prediction method provided by an embodiment of the present disclosure;
[0088] Figure 2 A partial flow chart of a vehicle energy consumption prediction method provided by an embodiment of the present disclosure is shown;
[0089] Figure 3 A schematic diagram showing the principle of a vehicle energy consumption prediction model provided by an embodiment of the present disclosure;
[0090] Figure 4 A schematic diagram showing a training system for a vehicle energy consumption prediction model provided by an embodiment of the present disclosure;
[0091] Figure 5 A schematic diagram showing a data enhancement method provided by an embodiment of the present disclosure;
[0092] Figure 6 A Mape distribution diagram of vehicle travel energy consumption in a test set provided by an embodiment of the present disclosure is shown;
[0093] Figure 7 A schematic diagram showing a vehicle energy consumption prediction device provided by an embodiment of the present disclosure;
[0094] Figure 8 A schematic diagram of a device provided by an embodiment of the present disclosure is shown.
[0095] in:
[0096] 10. Get module; 20. Determine module;
[0097] 100. Device; 101. Processor; 102. Memory; 1021. Operating system; 1022. Application; 103. User interface; 104. Network interface; 105. Bus system. DETAILED DESCRIPTION
[0098] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.
[0099] The disclosure below provides many different embodiments or examples to implement different schemes of the present invention. In order to simplify the disclosure of the present invention, the components and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0100] For ease of description, spatial relative terms may be used herein to describe the relative position or movement of one element or feature relative to another element or feature as shown in the figure, such as "inside", "outside", "inner side", "outer side", "below", "below", "above", "above", "front", "back", etc. Such spatial relative terms are intended to include different orientations of the device in use or operation in addition to the orientation depicted in the figure.
[0101] For example, if the device in the figure flips over, changes its posture, or changes its motion state, then these directional indications will also change accordingly.
[0102] For example, an element described as “below” or “beneath” other elements or features would then be oriented “above” or “over the other elements or features.”
[0103] Thus, the example term "below" can encompass both an orientation of above and below. The device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein interpreted accordingly.
[0104] It should be noted that the illustrations provided in the following embodiments are only used to schematically illustrate the basic concept of the present disclosure. Therefore, the drawings only show components related to the present disclosure rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0105] The following will refer to the accompanying drawings and preferred embodiments to illustrate the embodiments of the present disclosure. Those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be understood that the preferred embodiments are only for illustrating the present disclosure, not for limiting the scope of protection of the present disclosure.
[0106] In order to solve the technical problem in the prior art that the sparsity of drivers leads to inaccurate prediction of driving style and thus inaccurate prediction of vehicle energy consumption, the present disclosure provides a vehicle energy consumption prediction method, device, vehicle and storage medium.
[0107] Among them, in the present disclosure, the vehicle energy consumption prediction model can adopt a multi-task learning framework, and the auxiliary task learns the embedding of personalized driving information, that is, the first sub-model is used to process the vehicle driving style information to obtain the vehicle identification code feature vector; and the main task learns the embedding of vehicle energy consumption related influencing factors, that is, other models other than the first sub-model process the vehicle identification code feature vector and the model input vector obtained from the vehicle energy consumption influencing factor information to obtain the vehicle energy consumption prediction result. Among them, since the auxiliary task adopts a supervised contrast learning network, it can improve the quality and discriminability of feature representation, and can fully mine the driver's personalized information, thereby alleviating the driver's sparsity problem, and then improve the energy consumption prediction performance, better improve the reliability of the vehicle energy consumption prediction result, and better alleviate the driver's "mileage anxiety" problem.
[0108] To facilitate understanding of the embodiments of the present disclosure, further explanation will be given below with reference to specific embodiments in conjunction with the accompanying drawings, and the embodiments do not constitute a limitation on the embodiments of the present disclosure.
[0109] This embodiment provides a vehicle energy consumption prediction method, which can be applied to a vehicle or a cloud platform corresponding to the vehicle. Figure 1 As shown, the method may include:
[0110] S110, obtaining vehicle driving style information and vehicle energy consumption influencing factor information corresponding to the target vehicle at the current moment;
[0111] S120, determining a model input vector based on the information of factors affecting vehicle energy consumption;
[0112] S130: Process the model input vector and the vehicle driving style information based on the vehicle energy consumption prediction model to determine the current vehicle energy consumption prediction result of the target vehicle.
[0113] In step S110, the target vehicle refers to the vehicle for which vehicle energy consumption prediction is required. Vehicle driving style information generally refers to information that can reflect the driving style of the driver of the target vehicle. The vehicle driving style information generally can include the historical average speed of the target vehicle (which can be recorded as the first historical average speed), and can also include the historical evaluation acceleration of the target vehicle (which can be recorded as the first historical average acceleration), and can also include other information that can reflect the driving style of the driver of the target vehicle, which is not limited to this.
[0114] When historical driving information exists for the target vehicle, a first historical average speed and / or a first historical average acceleration of the target vehicle may be obtained, and the obtained first historical average speed and / or first historical average acceleration may be used as the vehicle driving style information.
[0115] It should be noted that the vehicle driving style information may also include the historical average speed of a group of vehicles of the same model as the target vehicle (which may be recorded as the second historical average speed), the historical average acceleration of the above-mentioned group of vehicles (which may be recorded as the second historical average acceleration), and other information of the above-mentioned group of vehicles that reflects the driving style of the driver, without limitation.
[0116] Wherein, when there is no historical driving information for the target vehicle (for example, the target vehicle is a new vehicle), the second historical average speed and / or the second historical average acceleration of the vehicle group of the target vehicle model may be obtained, and the obtained second historical average speed and / or the second historical average acceleration may be used as the vehicle driving style information; wherein the target vehicle model is the vehicle model to which the target vehicle belongs. The above-mentioned vehicle group refers to a vehicle group consisting of vehicles of the target vehicle model.
[0117] In some embodiments, the target vehicle may calculate the first historical vehicle average speed through the speed signal, and may calculate the first historical vehicle average acceleration through the acceleration signal. If the target vehicle is a new vehicle and does not have historical driving information, the second historical average speed and the second historical average acceleration of a group of vehicles of the same vehicle type may be used instead.
[0118] In this step, the vehicle driving route of the target vehicle can be determined based on the departure point and destination of the target vehicle. The departure point and destination can be determined based on navigation information or other methods, which are not limited.
[0119] It is understandable that after the relevant personnel input or select the departure and destination in the navigation software, multiple recommended driving routes may appear. The relevant personnel can select the appropriate route according to actual needs, thereby determining a vehicle driving route.
[0120] Among them, after the vehicle's driving route is determined, the vehicle's driving style information corresponding to the current moment and the information on factors affecting vehicle energy consumption can be obtained based on the vehicle's driving route.
[0121] The vehicle energy consumption influencing factor information refers to information that has an impact on the vehicle energy consumption. The vehicle energy consumption influencing factor information may include vehicle status information, time information, weather information, road condition information, or other information as required, without limitation.
[0122] It should be noted that vehicle energy consumption is related to many factors, and the various factors influence each other and are complicated. From the perspective of the driving process, people-vehicle-environment forms a closed loop, which affects the energy consumption in their own way. Among them, human factors generally refer to the driver's driving style. In this embodiment, the corresponding vehicle driving style information is processed separately and is no longer included in the vehicle energy consumption influencing factor information. Vehicle factors generally refer to vehicle status information, and environmental factors generally refer to weather information, time information, road condition information, etc.
[0123] The vehicle status information may include vehicle identification number, vehicle interior and exterior temperature, battery SOC value, battery voltage, battery current, vehicle total voltage, vehicle total current, TMS power consumption, tire pressure, total mileage, acceleration mode, energy recovery mode, etc., and may also include other information, which is not limited. It should be noted that this embodiment can obtain part of the vehicle status information required at the current moment based on the signal uploaded by the vehicle sensor. The vehicle identification number does not need to be obtained through the sensor.
[0124] The weather information may include wind speed, wind direction, visibility, whether it is raining, whether it is windy, etc., without limitation.
[0125] The time information includes information such as what day of the week it is, the hour time period for travel, the minute time period for travel, the season, whether it is a working day, etc., and there is no limitation on this.
[0126] Among them, the road condition information may include two parts. One part is the overall information of the vehicle's route, including the total length of the journey, the coordinates of the starting point, the estimated driving time, the estimated average speed, the total number of traffic lights and other information, which is not limited to this; the other part is the sub-segment information of the route, which divides the entire driving trajectory into multiple continuous sub-segments, including the total length of the sub-segment, the left side of the starting point, the estimated driving time of the sub-segment, the estimated average speed of the sub-segment, the number of traffic lights in the sub-segment, the number of lanes in the sub-segment, whether it is a one-way street, whether it is a bridge, whether it is a tunnel, the road type of the sub-segment, the driving direction of the sub-segment, the traffic status and other information, which is not limited to this.
[0127] In this embodiment, the overall road condition information of the vehicle's driving route can be obtained from the navigation information based on the vehicle's driving route. The vehicle's driving route can be divided into sections to obtain N sub-sections, and then the N sub-section road condition information corresponding to the N sub-sections can be obtained from the navigation information. The N sub-section road condition information corresponds to the N sub-sections one by one. In other words, the road condition information includes the overall road condition information of the vehicle's driving route and the N sub-section road condition information, where N is a positive integer greater than or equal to 1.
[0128] When the entire vehicle driving route is divided into sub-segments, the division may be based on whether there is a fork. That is, the section between two adjacent forks in the vehicle driving route is recorded as a sub-segment. It should be noted that the division of sub-segments may also be based on other methods, which are not limited to this.
[0129] In step S120, when the vehicle energy consumption influencing factor information includes vehicle state information, the model input vector may include a vehicle state input vector. The vehicle state input vector in the model input vector may be determined based on the vehicle state information.
[0130] In some embodiments, the vehicle status information at the current moment may include the vehicle identification number vin, the vehicle interior temperature T i 、Outside temperature T o , battery SOC value Soc, battery voltage I e , battery current U e 、Vehicle total voltage I v 、Total vehicle current U v 、TMS power consumption P TMS , tire pressure [P1, P2, P3, P4], total mileage M t , acceleration mode AccMod, energy recovery mode EnyReMod, energy management model EnyMgtMod, etc. In this implementation, the vehicle state input vector can be generated based on the above information
[0131] V s =[uin, T i , T o , Soc, I e , U e , I v , U v , P TMS , P1, P2, P3, P4, M t , AccMod, EnyReMod, EnyMgtMod], a total of 17 dimensions.
[0132] When the vehicle energy consumption influencing factor information includes time information, the model input vector may include a time input vector, wherein the time input vector in the model input vector may be determined based on the time information.
[0133] In some implementations, the time information at the current moment may include information such as the day of the week, the hour of travel, the minute of travel, the season, whether it is a workday, etc. In this implementation, the time input vector V can be obtained based on the above time information. w=[Week, Hour, Minute, Season, Wo□□day].
[0134] When the vehicle energy consumption influencing factor information includes weather information, the model input vector may include a weather input vector, wherein the weather input vector in the model input vector may be determined based on the weather information.
[0135] In some embodiments, the weather information at the current moment may include the wind speed w s 、Wind direction W d , visibility Visi, whether there is rain Rain, whether there is snow Snow and other information. In this implementation, a weather input vector V can be generated based on the above weather information w =[w s , W d ,Visi,Rain,Snow].
[0136] When the vehicle energy consumption influencing factor information includes road condition information, the model input vector may include a road condition input vector. The road condition input vector in the model input vector may be determined based on the road condition information.
[0137] The road condition information may include the overall road condition information of the vehicle's driving route and the road condition information of N sub-road sections, the N sub-road section road condition information corresponds one-to-one to the N sub-road sections, and the N sub-road sections constitute the vehicle's driving route.
[0138] In the process of determining the road condition input vector in the model input vector based on the road condition information, the overall road condition input vector in the road condition input vector can be determined based on the overall road condition information; and the sub-section road condition input vector sequence can be determined based on the road condition information of N sub-sections, and then the sub-section road condition input vector corresponding to the target sub-section in the sub-section road condition input vector sequence is determined as the target sub-section road condition input vector in the road condition input vector; wherein, the sub-section input vector sequence includes N sub-section road condition input vectors, and the N sub-section road condition input vectors correspond one-to-one to the N sub-sections, and the target sub-section is the sub-section where the target vehicle is currently located.
[0139] In some embodiments,
[0140] The traffic information of the vehicle's driving route at the current moment mainly includes two parts.
[0141] One part is the overall road condition information of the vehicle's route, which may include the total length of the trip L d , starting point coordinates [lng s ,lat s ]、End point coordinates[lng e ,lat e ], estimated travel time T, estimated average speed The total number of traffic lights, TC and other information.
[0142] In this embodiment, the overall road condition input vector can be generated based on the above information There are 8 dimensions in total.
[0143] The other part is the sub-segment traffic information of the vehicle's driving route, which can be divided into N consecutive sub-segments by the road description group provided by the navigation software. The traffic information of each sub-segment may include the total length l of the sub-segment i , starting point coordinates [lng si ,lat si ]、End point coordinates[lng ei ,lat ei ], estimated travel time of sub-segment t i , Estimated average speed of sub-segment Number of traffic lights in sub-section tc i 、Number of lanes in the sub-section lane i , Is it a one-way street i 、Is it a bridge? i 、Whether it is a tunnel i , sub-segment road type road_type i , sub-segment driving direction dir i 、Traffic status ts i And so on information.
[0144] Wherein, N is a positive integer greater than or equal to 1, and i represents the i-th sub-section.
[0145] In this implementation, the sub-segment road condition input vector corresponding to the i-th sub-segment is A total of 12 dimensions. The sequence input vector V of all sub-segments l ∈R n×12 .
[0146] In step S130, the vehicle energy consumption prediction model may include four parts: the first part is a feature expression model that optimizes the initial vehicle identification code using vehicle driving style information (such as historical average speed and / or historical average acceleration), that is, the model can determine the vehicle identification code feature vector based on the vehicle driving style information. The model can adopt a supervised contrastive learning model, which can be recorded as the first sub-model; the second part is a feature expression model for the overall road condition information, vehicle status information, time information, and weather information of the vehicle's driving route, which can adopt a deep factor decomposition machine, which can be recorded as the second sub-model; the third part is a feature expression model for the road condition information of the sub-section of the vehicle's driving route, which can adopt an encoder model of an attention mechanism (such as a Transformer encoder), which can be recorded as the third sub-model; the fourth part is the energy consumption prediction by splicing the feature vector obtained in the second part with the feature vector obtained in the third part, which can adopt a multi-layer perceptron model, which can be recorded as the fourth sub-model.
[0147] It should be noted that, in addition to the above-mentioned parts, the vehicle energy consumption prediction model can also be configured to include other parts according to demand, and there is no limitation on this.
[0148] In this step, refer to Figure 2 As shown, processing the model input vector and the vehicle driving style information based on the vehicle energy consumption prediction model to determine the current vehicle energy consumption prediction result of the target vehicle may include:
[0149] S131, based on the first sub-model of the vehicle energy consumption prediction model, processing the vehicle driving style information to determine the vehicle identification code feature vector of the target vehicle;
[0150] S132: Based on the sub-models other than the first sub-model in the vehicle energy consumption prediction model, the vehicle identification code feature vector and the model input vector are processed to determine the vehicle energy consumption prediction result.
[0151] In step S131, the first sub-model may include a supervised contrastive learning network. For training the first sub-model, a plurality of sets of mutually corresponding vehicle identification code feature vector samples and vehicle driving style information samples may be first obtained, and then the plurality of sets of mutually corresponding vehicle identification code feature vector samples and vehicle driving style information samples may be learned based on the supervised contrastive learning network to obtain the first sub-model.
[0152] It should be noted that the historical average speed and historical average acceleration are the most basic indicators that reflect the driver's personalized driving style. That is, drivers with similar driving styles should be close in terms of average speed and average acceleration. Therefore, using these two indicators to fit the vehicle identification code feature vector is conducive to the accuracy of the feature vector of sparse drivers, thereby improving the accuracy of energy consumption prediction.
[0153] In this embodiment, if and This means that the two drivers have similar driving styles. and They represent the historical average speed and historical average acceleration of the two drivers respectively.
[0154] Among them, the first sub-model is obtained by learning the vehicle identification feature vector samples and the historical average speed samples and average acceleration samples of the corresponding vehicles using a supervised contrastive learning network. The vehicle identification feature vector samples can be obtained by mapping using the torch.nn.embedding toolkit in Python. In this embodiment, the dimension is 8. The supervised contrastive learning network combines the advantages of supervised learning and contrastive learning. The network is trained by maximizing the similarity between the same samples and minimizing the similarity between samples of different categories, thereby improving the quality and discriminability of feature representation.
[0155] In some embodiments, the vehicle driving style information may include historical average speed and historical average acceleration. In this embodiment, the historical average speed and historical average acceleration of the target vehicle may be input into the first sub-model, and the first sub-model may obtain the vehicle identification code feature vector vin based on the historical average speed and historical average acceleration. ′ .
[0156] In step S132, refer to Figure 3 As shown, when the vehicle energy consumption prediction model includes the first sub-model, the second sub-model, the third sub-model and the fourth sub-model, the sub-models other than the first sub-model in the vehicle energy consumption prediction model are the above-mentioned second sub-model, the third sub-model and the fourth sub-model. That is, in this step, the above-mentioned second sub-model, the third sub-model and the fourth sub-model can be used to process the model input vector and the vehicle identification code feature vector determined by the first sub-model to obtain the vehicle energy consumption prediction result. The vehicle energy consumption prediction result can include the vehicle energy consumption prediction value, and can also include other information, which is not limited.
[0157] Among them, the vehicle identification code feature vector, the vehicle state input vector, the time input vector, the weather input vector and the overall road condition input vector can be processed based on the second sub-model to determine the overall feature vector of the vehicle's driving route.
[0158] Among them, the first dense feature can be determined based on the categorical features in the vehicle state input vector, the time input vector, the weather input vector, and the overall road condition input vector. Then, the vehicle identification code feature vector, the first dense feature, and the real number features in the vehicle state input vector, the time input vector, the weather input vector, and the overall road condition input vector are concatenated to obtain a first concatenated vector. The first concatenated vector is processed based on the deep factor decomposition machine of the second sub-model to determine the overall feature vector.
[0159] In some embodiments,
[0160] The categorical features in the vehicle state input vector, time input vector, weather input vector, and overall road condition input vector may include acceleration mode AccMod, energy recovery mode EnyReMod, energy management model EnyMgtMod, whether it is raining Rain, whether it is snowing Snow, what day of the week it is, the hour time period of travel Hour, the minute time period of travel Minute, the season Season, whether it is a workday Workday, and other information. In this implementation, the torch.nn.embedding toolkit in Python can be used to map the above features into dense features (recorded as the first dense feature). The dimension of the first dense feature is 8, and each categorical feature corresponds to a mapping function. The corresponding first dense feature
[0161] F1=
[0162] [AccMod ′ ,EnyReMod ′ ,Rain ′ ,Snow ′ ,Week ′ ,Hour ′ ,Minute ′ ,Season ′ ,Workday ′ ].
[0163] In this embodiment, after the first dense feature is obtained, it can be combined with the real number features in the vehicle state input vector, the time input vector, the weather input vector, and the overall road condition input vector, as well as the vehicle feature vector vin ′ Splicing to get the first splicing vector (that is, the input vector of the second sub-model)
[0164] F2=[F1,vin ′ ,V e ,w s ,w d ,Visi], the dimension is 84 dimensions.
[0165] In this embodiment, the second sub-model can adopt a deep factor decomposition machine model, which is composed of a factor decomposition machine and two fully connected layers. The method of jointly training a generalized linear model and a deep neural network combines the memory and generalization capabilities of the learning system to capture the vehicle's driving route and geographic spatial area statistical information. After the first splicing vector F2 passes through the second sub-model, the overall feature vector F2′ of the vehicle's driving route is obtained.
[0166] Among them, based on the third sub-model, the target sub-section road condition input vector can be processed to determine the sub-section feature vector of the vehicle's driving route.
[0167] Among them, the second dense feature can be determined based on the categorical feature of the target sub-section road condition input vector. Then the second dense feature and the real number feature of the target sub-section road condition input vector are spliced to obtain a second spliced vector. The second spliced vector is processed based on the encoder of the attention mechanism in the third sub-model to determine the sub-section feature vector. It should be noted that the target sub-section is the sub-section where the target vehicle is currently located, that is, the target vehicle is currently traveling on the above-mentioned target sub-section.
[0168] In some embodiments,
[0169] The categorical features of the target sub-section road condition input vector may include whether it is a one-way road. i 、Is it a bridge? i 、Whether it is a tunnel i , sub-segment road type road_type i , sub-segment driving direction dir i 、Traffic status ts i In this implementation, the torch.nn.embedding toolkit in Python can be used to map the above features into dense features (recorded as the second dense features).
[0170] In this implementation, the dimension of the second dense feature is 8, each categorical feature corresponds to a mapping function, and the corresponding second dense feature represents the i-th sub-segment. Then the second dense feature F di It is concatenated with the real number feature of the target sub-section road condition input vector to obtain the second concatenated vector (which is the input vector of the third sub-model).
[0171] The dimension is 57. It should be noted that the sequence input vector of all sub-segments can be recorded as F3∈R n×57 .
[0172] In this implementation, the third sub-model may adopt the encoder model of Transformer. Due to the self-attention mechanism of Transformer, long-range dependencies can be effectively established to improve the model's ability to perceive context. After the third sub-model processes the second concatenated vector F3, a sub-segment feature vector F3′ of the vehicle's route is obtained.
[0173] Among them, based on the fourth sub-model, the overall feature vector and the sub-segment feature vector are processed to determine the vehicle energy consumption prediction result. For example, the overall feature vector and the sub-segment vector can be spliced to obtain a third splicing vector (that is, the input vector of the fourth sub-model). For example, the third splicing vector is F4=
[0174] [F2′, F3′]. Then, the third concatenated vector is processed based on the multi-layer perceptron network of the fourth sub-model to determine the vehicle energy consumption prediction result.
[0175] It should be noted that the fourth sub-model may adopt a multi-layer perceptron network. For example, a two-layer multi-layer perceptron network may be adopted. The multi-layer perceptron is a basic feedforward neural network structure that automatically learns a high-level representation of data by introducing a nonlinear activation function (such as ReLU, Sigmoid, etc.) to model nonlinear relationships.
[0176] In this embodiment, the vehicle energy consumption prediction model adopts a multi-task learning framework. The main task learns the embedding of factors related to vehicle energy consumption, and the auxiliary task learns the embedding of personalized driving information. To this end, the auxiliary task adopts a supervised contrastive learning network to improve the quality and discriminability of feature representation and fully mine the driver's personalized information, thereby alleviating the driver's sparsity problem and improving the energy consumption prediction performance.
[0177] In addition, this embodiment may also set a vehicle energy consumption update strategy. If it is determined that the set conditions are met, the vehicle energy consumption forecast result is re-determined to timely update the vehicle energy consumption forecast result. Wherein, determining that the set conditions are met may include at least one of the following:
[0178] Determine the target vehicle to start the trip of the vehicle travel route;
[0179] Determining that the sub-section on which the target vehicle is traveling is switched;
[0180] Determine that the vehicle's driving route is switched;
[0181] It is determined that an accident occurs on the road section ahead of the target vehicle.
[0182] For example, when the target vehicle starts the journey of the vehicle driving route, or the target vehicle passes a sub-section, or the driver changes the vehicle driving route during driving, or a traffic accident or other unexpected accident occurs on the road section ahead, it means that the set conditions are met and the vehicle energy consumption prediction result can be re-performed, that is, a new vehicle energy consumption prediction result can be re-determined.
[0183] It should be noted that the road section to be traveled ahead in this embodiment may refer to the road section to be traveled ahead of the target vehicle at a set distance. The set distance may be set according to actual needs and is not limited thereto.
[0184] Among them, after determining the vehicle energy consumption prediction result, the target vehicle can convert it into a cruising range estimate, that is, the target vehicle can determine the cruising range of the target vehicle based on the vehicle energy consumption prediction result. Then, based on the remaining mileage of the vehicle's driving route and the cruising range, the prompt information of the target vehicle is controlled. That is, the remaining mileage of the vehicle's driving route is compared with the above cruising range, and the target vehicle is controlled to output a corresponding prompt according to the comparison result to feed back the countermeasures to the driver, or not output a prompt to avoid disturbing the driver.
[0185] If the difference between the remaining mileage and the cruising range is greater than or equal to a first set threshold and less than or equal to a second set threshold, a first prompt message is output; wherein the first prompt message is used to prompt the driver to drive in energy-saving mode. If the difference between the remaining mileage and the cruising range is greater than a second set threshold, a second prompt message is output; wherein the second prompt message is used to prompt the driver to replenish the energy of the vehicle.
[0186] It should be noted that the first set threshold and the second set threshold can be set according to actual needs, and their specific values are not limited. The first set threshold can be 0.
[0187] In some embodiments,
[0188] The target vehicle may be an electric vehicle. If the mileage difference between the remaining mileage and the cruising range is greater than or equal to a first set threshold value, and less than or equal to a second set threshold value, a first prompt message is output to recommend the driver to select a more power-saving driving mode; wherein the first prompt message is used to prompt the driver to drive in an energy-saving mode. If the mileage difference between the remaining mileage and the cruising range is greater than a second set threshold value, a second prompt message is output to prompt the driver to replenish the energy of the vehicle, and a nearby charging pile may be recommended; wherein the second prompt message is used to prompt the driver to replenish the energy of the vehicle. If the mileage difference between the remaining mileage and the cruising range is less than the first set threshold value, it means that there is no need to remind the driver, and no prompt message is output.
[0189] In this embodiment, the vehicle energy consumption prediction model can adopt a multi-task learning framework, and the auxiliary task learns the embedding of personalized driving information, that is, the first sub-model is used to process the vehicle driving style information to obtain the vehicle identification code feature vector; and the main task learns the embedding of vehicle energy consumption related influencing factors, that is, other models other than the first sub-model process the vehicle identification code feature vector and the model input vector obtained from the vehicle energy consumption influencing factor information to obtain the vehicle energy consumption prediction result. Among them, since the auxiliary task adopts a supervised contrastive learning network, it can improve the quality and discriminability of feature representation, and can fully mine the personalized information of the driver, thereby alleviating the driver's sparsity problem, and then improve the energy consumption prediction performance, better improve the reliability of the vehicle energy consumption prediction result, and better alleviate the driver's "mileage anxiety" problem.
[0190] This embodiment provides a vehicle energy consumption prediction model training system, which may include a data acquisition module, a data processing module, a sub-segment division module, a data enhancement module, a feature extraction module, an energy consumption label value calculation module, and a model training and testing module.
[0191] Among them, the original vehicle driving data is collected by the vehicle-side sensors and uploaded to the enterprise cloud platform database. Based on this, the data acquisition module can extract the historical driving logs of a large number of vehicles from the cloud platform and filter out the available vehicle historical driving data according to the required signal list.
[0192] In this embodiment, the required signal list may include vehicle identification code, terminal time, outside temperature, inside temperature, speed, acceleration, vehicle status, power status feedback, longitude, latitude, battery SOC value, battery voltage, battery current, vehicle total voltage, vehicle total current, TMS power consumption, tire pressure, total mileage, motor output torque, motor output torque, acceleration mode, energy recovery mode, a total of 22 signal values.
[0193] The data processing module can perform preliminary data cleaning and preprocessing based on the above vehicle historical driving data. For example, data processing can include the following steps: outlier removal, missing value filling, vehicle trip division and selection, etc.
[0194] ① Eliminate outliers. According to the value range specified by the signal, delete the historical data outside the range; the latitude and longitude accuracy in the vehicle driving data is 4 or 6 digits. In order to ensure the accuracy of positioning, the longitude and latitude with a precision of 6 digits can be retained, and the longitude and latitude of [-268.43546, -134.21773] or [-0.000004,
[0195] -0.000034], because in this case the vehicle side cannot locate the default latitude and longitude values uploaded.
[0196] ② Filling in missing values. Vehicle sensors may have some missing signals due to network signal reasons, so the missing data needs to be filled in. The strategy adopted is to select the previous or next data to fill in, to avoid the situation where the first and last data have empty values.
[0197] ③Vehicle itinerary division and selection.
[0198] Vehicle trip division: Each time the vehicle is started and turned off is recorded as a trip. In this embodiment, the trip is divided by two signals, the vehicle status and the power status feedback. If the power status value is 2 (indicating the power is on) and the vehicle status value is 1 (indicating the vehicle is started), it indicates that the vehicle is in the driving state. If the values of the two signals change, it indicates that the vehicle is in the off state. Therefore, the continuous data frames in the driving state are divided into a trip, and the data frames of the same trip are numbered and identified. The first trip is all numbered 0, the second trip is all numbered 1, and so on.
[0199] Vehicle trip selection: Considering that if the total length of the vehicle trip is too short, the vehicle's energy consumption value will be small and difficult to predict, so the vehicle trip with a total length of less than 3 kilometers is deleted.
[0200] The sub-segment division module can divide the driving route of each trip into sub-segments based on the above-divided vehicle trips. In this embodiment, the specific steps are as follows:
[0201] ① Based on the existing navigation software, input the latitude and longitude coordinates of the starting point of the vehicle trip to obtain multiple routes recommended by the navigation. In this embodiment, a total of 3 recommended routes can be included, and the data of each recommended route is extracted, including road description, segmented road distance, estimated driving time, number of segmented traffic lights, number of segmented road lanes, whether it is a one-way street, whether it is a bridge, whether it is a tunnel, road type, driving direction, traffic status, latitude and longitude coordinate information, and one piece of data represents the information of a sub-segment.
[0202] ② Match the latitude and longitude coordinates of the vehicle driving data with the latitude and longitude coordinates of the recommended route to determine which recommended route the actual trip belongs to, and align the data frame of the actual vehicle trip with the data of the recommended route. After alignment, the vehicle driving data corresponding to the sub-segment can be obtained by grouping the road description signals.
[0203] In order to improve the generalization ability of the model and meet the needs of drivers in actual driving, the data enhancement module can be based on the driving data of the sub-segments after the above division, take the starting point of each sub-segment as the basis, and adopt a loop traversal method to connect with the starting point of each remaining sub-segment, and splice the vehicle driving data between the two points as a new itinerary.
[0204] Specifically, as Figure 5 shown, select a trip of a certain vehicle, specifically represented as D = {D1, D2, D3, …, D n}, where D i represents the driving data corresponding to the i-th sub-section of the trip, D represents all the driving data of the trip, set the starting pointers as start and end respectively, pointing to the starting point of the new trip, initially D_new = D, start = 1. If start < n, then end = start + 1; if end ≤ n, then splice all the driving data between start and end as a new trip and add it to D_new, otherwise, let start = start + 1; if start ≥ n, then exit the loop and return D_new, and D_new represents the enhanced data set.
[0205] The feature extraction module can extract the road condition information, vehicle status information, weather information, and time information of the vehicle's historical driving route based on the processed trip data above, specifically as follows:
[0206] Road condition information of the vehicle's historical driving route: It mainly includes two parts. One part is the overall road condition information of the vehicle's driving route, including the total trip length (i.e., the sum of the trips of each sub-section), starting point coordinates, ending point coordinates, estimated driving time (i.e., the sum of the estimated driving times of each sub-section), estimated average speed (i.e., total trip length / estimated driving time), total number of traffic lights (i.e., the sum of the number of traffic lights in each sub-section); the other part is the sub-section road condition information of the driving route, including sub-section total length, starting point coordinates, ending point coordinates, sub-section estimated driving time, sub-section estimated average speed (i.e., sub-section total length / sub-section estimated driving time), number of traffic lights in the sub-section, number of lanes in the sub-section, whether it is a one-way road, whether it is a bridge, whether it is a tunnel, sub-section road type, sub-section driving direction, traffic status.
[0207] Vehicle status information: Vehicle status information at the departure time of the historical trip, including vehicle identification number, interior temperature, exterior temperature, battery SOC value, battery voltage, battery current, total vehicle voltage, total vehicle current, TMS power consumption, tire pressure, total driving mileage, acceleration mode, energy recovery mode, energy management mode, historical average speed, historical average acceleration. The average speed and average acceleration are calculated through speed signals and acceleration signals respectively. If there is no historical data for the current vehicle, the historical average speed and average acceleration of the vehicle group are used instead.
[0208] Weather information: Weather information at the departure time of the historical trip includes wind speed, wind direction, visibility, whether there is rain, whether there is snow, and historical weather information can be queried through third-party websites.
[0209] Time information: The time information of the departure time of the historical trip includes the day of the week, the hour time period of the trip, the minute time period of the trip, the season, and whether it is a weekday.
[0210] The energy consumption tag value calculation module can obtain the energy consumption value corresponding to each data frame for each data frame of the historical vehicle trip according to the terminal time terminalTimeStamp, motor output torque troque, motor output speed revolutionSpeed and motor conversion efficiency mapping table. The energy consumption tag value of each trip is the sum of the energy consumption values of all data frames. For example, the formula is as follows:
[0211] Drive energy consumption:
[0212] Energy Recovery:
[0213] Energy consumption:
[0214] in, are driving energy consumption and energy recovery for the i-th data frame, troque i 、revolutionSpeed i are the motor output torque and motor output speed of the i-th data frame respectively, η is the motor conversion efficiency, which is obtained according to the motor conversion efficiency Map table, time i =terminalTimeStamp i+1 -terminalTimeStamp i .
[0215] The model training and testing module can be used for model building, data set division, model training and testing, etc.
[0216] ① Model establishment. The vehicle energy consumption prediction model includes the first sub-model, the second sub-model, the third sub-model and the fourth sub-model. The first sub-model is used as an auxiliary task, and the second, third and fourth sub-models are used as the main tasks. The first sub-model uses a supervised contrastive learning network. The historical average speed and historical average acceleration of the vehicle are used to obtain the vehicle identification code feature vector through the first sub-model. The second sub-model uses a deep factor decomposition machine network. The categorical features contained in the overall road condition input vector, time input vector and weather input vector of the vehicle's driving route at the time of departure are mapped into dense features, which are then spliced with real number features and passed through the second sub-model to obtain the overall feature vector of the vehicle's driving route. The third sub-model uses the Transformer encoder network. The categorical features contained in the road condition input vector of the target sub-section of the vehicle's driving route at the time of departure are mapped into dense features, which are then spliced with real number features and passed through the third sub-model to obtain the sub-section feature vector of the vehicle's driving route. The fourth sub-model uses a multi-layer perceptron network. The output vectors of the second and third sub-models are spliced and passed through the fourth sub-model to obtain the vehicle's energy consumption prediction results.
[0217] ② Dataset division: The vehicle travel data after data enhancement and feature extraction is divided into training set, validation set, and test set in a ratio of 8:1:1 (it can also be set to other ratios according to needs). The training set is used for model training, the validation set is used for model parameter optimization, and the test set is used to evaluate whether the performance of the model has reached the expected goal.
[0218] ③Model training and testing. The vehicle energy consumption prediction model adopts a multi-task learning framework, in which the first sub-model is an auxiliary task, and the loss function used is InfoNEC:
[0219]
[0220] Among them, z i represents the feature representation of the i-th vehicle identification code, z i+ Indicates cars with similar driving styles, z i-j represents cars with dissimilar driving styles, sim(x,y) represents the cosine similarity measure between samples x and y, and τ is a temperature parameter used to control the shape of the loss function.
[0221] The second, third, and fourth sub-models are the main tasks, and the loss function used is Mape:
[0222]
[0223] Among them, trg i 、pre i Represents the actual value and predicted value of energy consumption of the i-th sample.
[0224] Finally, the loss function of the entire energy consumption prediction model is:
[0225] L=α·L1+β·L2
[0226] Among them, α and β represent hyperparameters, and α>0, β>0, α+β=1.
[0227] Based on the training set and test set in ②, the grid search method is used to determine the optimal value of the model hyperparameter; the optimal model is obtained after training with the above loss function and the optimal value of the hyperparameter, and the model is evaluated on the test set in ②. The evaluation indicator used is Mape, Figure 6 The Mape distribution diagram of vehicle travel energy consumption in the test set shows that 90% of the sample energy consumption prediction Mape values are below 0.2. The results show that the model can accurately predict most vehicle travel energy consumption results.
[0228] In addition, the training system may also include a model deployment module. The model deployment module can encapsulate data processing, sub-segment division, feature extraction, and the trained vehicle energy consumption prediction model into an API and deploy it to the cloud platform to implement the vehicle's real-time energy consumption update strategy, and can collect historical driving data in a half-month cycle, continuously iterate and update the vehicle energy consumption prediction model, so as to better improve the reliability and adaptability of the vehicle energy consumption prediction model.
[0229] This embodiment provides a vehicle energy consumption prediction device, which is used to implement the above-mentioned vehicle energy consumption prediction method. Figure 7 As shown, the device may include an acquisition module 10 and a determination module 20.
[0230] The acquisition module 10 is used to acquire the vehicle driving style information and vehicle energy consumption influencing factor information corresponding to the target vehicle at the current moment.
[0231] A determination module 20, configured to determine a model input vector based on the vehicle energy consumption influencing factor information;
[0232] It is also used to process the model input vector and the vehicle driving style information based on the vehicle energy consumption prediction model to determine the current vehicle energy consumption prediction result of the target vehicle.
[0233] Wherein, based on the model input information and the vehicle driving style information, determining the current vehicle energy consumption prediction result of the target vehicle may include:
[0234] Based on the first sub-model of the vehicle energy consumption prediction model, the vehicle driving style information is processed to determine the vehicle identification code feature vector of the target vehicle; wherein the first sub-model includes a supervised contrastive learning network;
[0235] Based on the sub-models other than the first sub-model in the vehicle energy consumption prediction model, the vehicle identification code feature vector and the model input vector are processed to determine the vehicle energy consumption prediction result.
[0236] This embodiment provides a vehicle energy consumption prediction device, which is used to implement the above-mentioned vehicle energy consumption prediction method. Figure 7 As shown, in the device, the acquisition module 10 can be used for:
[0237] When the target vehicle has historical driving information, obtaining a first historical average speed and / or a first historical average acceleration of the target vehicle, and using the first historical average speed and / or the first historical average acceleration as the vehicle driving style information;
[0238] or,
[0239] When the target vehicle has no historical driving information, the second historical average speed and / or the second historical average acceleration of the target vehicle model group is obtained, and the second historical average speed and / or the second historical average acceleration is used as the vehicle driving style information; wherein the target vehicle model is the vehicle model to which the target vehicle belongs.
[0240] This embodiment provides a vehicle energy consumption prediction device, which is used to implement the above-mentioned vehicle energy consumption prediction method. Figure 7 As shown, in the device,
[0241] The vehicle energy consumption influencing factor information includes vehicle state information, and the determination module 10 can be used to: determine a vehicle state input vector in a model input vector based on the vehicle state information;
[0242] and / or,
[0243] The vehicle energy consumption influencing factor information includes time information, and the determination module 10 can be used to: determine the time input vector in the model input vector based on the time information;
[0244] and / or,
[0245] The vehicle energy consumption influencing factor information includes weather information, and the determination module 10 can be used to: determine a weather input vector in the model input vector based on the weather information;
[0246] and / or,
[0247] The vehicle energy consumption influencing factor information includes road condition information, and the determination module 10 can be used to determine a road condition input vector in the model input vector based on the road condition information.
[0248] This embodiment provides a vehicle energy consumption prediction device, which is used to implement the above-mentioned vehicle energy consumption prediction method. Figure 7As shown, in the device, the road condition information includes the overall road condition information of the vehicle's driving route and N sub-road section road condition information, the N sub-road section road condition information corresponds to the N sub-road sections one by one, and the N sub-road sections constitute the vehicle's driving route.
[0249] The determination module 20 may be used to:
[0250] Based on the overall road condition information, determine an overall road condition input vector in the road condition input vector;
[0251] Based on the traffic condition information of the N sub-road sections, a sub-road section traffic condition input vector sequence is determined; wherein the sub-road section input vector sequence includes N sub-road section traffic condition input vectors, and the N sub-road section traffic condition input vectors correspond to the N sub-road sections one by one;
[0252] The sub-road section road condition input vector sequence corresponding to the target sub-road section is determined as the target sub-road section road condition input vector in the road condition input vector; wherein the target sub-road section is the sub-road section where the target vehicle is currently located.
[0253] This embodiment provides a vehicle energy consumption prediction device, which is used to implement the above-mentioned vehicle energy consumption prediction method. Figure 7 As shown, in the device, the determination module 20 can be used to:
[0254] Based on the second sub-model of the vehicle energy consumption prediction model, the vehicle identification code feature vector, the vehicle state input vector, the time input vector, the weather input vector and the overall road condition input vector are processed to determine the overall feature vector of the vehicle driving route;
[0255] Based on the third sub-model of the vehicle energy consumption prediction model, the target sub-section road condition input vector is processed to determine the sub-section feature vector of the vehicle driving route;
[0256] Based on the fourth sub-model of the vehicle energy consumption prediction model, the overall feature vector and the sub-section feature vector are processed to determine the vehicle energy consumption prediction result.
[0257] This embodiment provides a vehicle energy consumption prediction device, which is used to implement the above-mentioned vehicle energy consumption prediction method. Figure 7 As shown, in the device, the determination module 20 can be used to:
[0258] Determine a first dense feature based on the categorical features in the vehicle state input vector, the time input vector, the weather input vector, and the overall road condition input vector;
[0259] The vehicle identification code feature vector, the first dense feature, and the real number features in the vehicle state input vector, the time input vector, the weather input vector, and the overall road condition input vector are concatenated to obtain a first concatenated vector;
[0260] The first concatenated vector is processed by a deep factorization machine based on the second sub-model to determine an overall feature vector.
[0261] This embodiment provides a vehicle energy consumption prediction device, which is used to implement the above-mentioned vehicle energy consumption prediction method. Figure 7 As shown, in the device, the determination module 20 can be used to:
[0262] Determine a second dense feature based on the categorical feature of the target sub-section road condition input vector;
[0263] Splicing the second dense feature and the real number feature of the target sub-section road condition input vector to obtain a second splicing vector;
[0264] The encoder based on the attention mechanism in the third sub-model processes the second concatenated vector to determine the sub-segment feature vector.
[0265] This embodiment provides a vehicle energy consumption prediction device, which is used to implement the above-mentioned vehicle energy consumption prediction method. Figure 7 As shown, in the device, the determination module 20 can be used to:
[0266] The overall feature vector and the sub-segment vector are concatenated to obtain a third concatenated vector;
[0267] The multi-layer perceptron network based on the fourth sub-model processes the third concatenated vector to determine the vehicle energy consumption prediction result.
[0268] This embodiment provides a vehicle energy consumption prediction device, which is used to implement the above-mentioned vehicle energy consumption prediction method. Figure 7 As shown, in the device, the determination module 20 can be used to:
[0269] After determining the vehicle energy consumption prediction result, determining the cruising range of the target vehicle based on the vehicle energy consumption prediction result;
[0270] Based on the remaining mileage of the vehicle's driving route and the cruising range, the prompt information of the target vehicle is controlled.
[0271] This embodiment provides a vehicle energy consumption prediction device, which is used to implement the above-mentioned vehicle energy consumption prediction method. Figure 7 As shown, in the device, the determination module 20 can be used to:
[0272] If the mileage difference between the remaining mileage and the cruising range is greater than or equal to the first set threshold and less than or equal to the second set threshold, a first prompt message is output; wherein the first prompt message is used to prompt the use of energy-saving mode for driving;
[0273] If the mileage difference between the remaining mileage and the endurance mileage is greater than a second set threshold, a second prompt message is output; wherein the second prompt message is used to prompt to replenish the energy of the vehicle.
[0274] This embodiment provides a vehicle energy consumption prediction device, which is used to implement the above-mentioned vehicle energy consumption prediction method. Figure 7 As shown, in the device, the acquisition module 10 can be used for:
[0275] Determine the vehicle travel route of the target vehicle according to the departure place and destination of the target vehicle;
[0276] Based on the vehicle's driving route, obtain vehicle driving style information and information on factors affecting vehicle energy consumption.
[0277] This embodiment provides a vehicle energy consumption prediction device, which is used to implement the above-mentioned vehicle energy consumption prediction method. Figure 7 As shown, in the device, the vehicle energy consumption influencing factor information includes road condition information, and the road condition information includes the overall road condition information of the vehicle driving route and the road condition information of N sub-segments, where N is a positive integer greater than or equal to 1. The acquisition module 10 can be used for:
[0278] Based on the vehicle's driving route, obtain overall road condition information of the vehicle's driving route from navigation information;
[0279] Divide the vehicle driving route into sections to obtain N sub-sections;
[0280] Obtain N sub-road section traffic condition information corresponding to the N sub-road sections from the navigation information; wherein the N sub-road section traffic condition information corresponds to the N sub-road sections one by one.
[0281] This embodiment provides a vehicle energy consumption prediction device, which is used to implement the above-mentioned vehicle energy consumption prediction method. Figure 7 As shown, in the device, the determination module 20 can be used to:
[0282] If it is determined that the set conditions are met, the vehicle energy consumption prediction result is re-determined;
[0283] Wherein, determining that the set condition is satisfied includes at least one of the following:
[0284] Determine the target vehicle to start the trip of the vehicle travel route;
[0285] Determine that the sub-section on which the target vehicle is traveling is switched;
[0286] Determine that the vehicle's driving route is switched;
[0287] It is determined that an accident occurs on the road section ahead of the target vehicle.
[0288] This embodiment provides a device. The device may include a vehicle, or may include a cloud platform corresponding to the vehicle. The vehicle may be a fuel vehicle or an electric vehicle, and this is not limited.
[0289] refer to Figure 8 As shown, the device 100 may include: at least one processor 101, a memory 102, at least one network interface 104 and other user interfaces 103. The various components in the device 100 are coupled together through a bus system 105. It can be understood that the bus system 105 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 105 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, all buses are marked as the bus system 105.
[0290] The user interface 103 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0291] It can be understood that the memory 102 in the embodiment of the present disclosure can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 102 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0292] In some implementations, the memory 102 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 1021 and application programs 1022 .
[0293] The operating system 1021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 1022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present disclosure can be included in the application 1022.
[0294] In the embodiments of the present disclosure, the processor 101 is used to execute the methods provided by the various method embodiments by calling the program or instructions stored in the memory 102 , specifically, the program or instructions stored in the application 1022 .
[0295] The method disclosed in the above embodiment of the present disclosure can be applied to the processor 101, or implemented by the processor 101. The processor 101 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 hardware integrated logic circuit in the processor 101 or the instruction in the form of software. The above processor 101 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present disclosure can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field 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. The storage medium is located in the memory 102, and the processor 101 reads the information in the memory 102 and completes the above method in combination with its hardware.
[0296] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or at least one application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing vehicle (DSPDevice, DSPD), programmable logic vehicle (PLD), field programmable gate array (FPGA), general purpose processor, controller, microcontroller, microprocessor, other electronic unit for performing the functions described in the present disclosure, or a combination thereof.
[0297] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0298] The embodiments of the present disclosure also provide a storage medium (computer-readable storage medium). The storage medium here stores one or at least one program. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.
[0299] When one or at least one program in the storage medium can be executed by one or at least one processor. When the storage medium is applied to a vehicle, the above-mentioned method for execution in the vehicle can be implemented. The processor is used to execute the vehicle control program stored in the memory to implement the above-mentioned method for execution in the vehicle.
[0300] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.
[0301] It should be noted that the phrases "one implementation", "an embodiment", "an exemplary embodiment", "some embodiments", etc. mentioned in the specification indicate that the described embodiments may include certain features, structures or characteristics, but not every embodiment may include the certain features, structures or characteristics. In addition, such phrases do not necessarily refer to the same embodiment. In addition, when describing certain features, structures or characteristics in conjunction with an embodiment, it is within the knowledge of those skilled in the art to implement such features, structures or characteristics in conjunction with other embodiments, whether explicitly or not explicitly described.
[0302] It should be noted that, in this article, relational terms such as "first" and "second" 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", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or vehicle 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 vehicle. In the absence of more limitations, the elements defined by the sentence "comprises one..." do not exclude the presence of other identical elements in the process, method, article or vehicle including the elements.
[0303] The above embodiments are only preferred embodiments for fully illustrating the present disclosure, and the protection scope of the present disclosure is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present disclosure is within the protection scope of the present disclosure.
Claims
1. A vehicle energy consumption prediction method, characterized in that: The vehicle energy consumption prediction method comprises: Obtain vehicle driving style information and vehicle energy consumption influencing factor information corresponding to the target vehicle at the current moment; Determining a model input vector based on the vehicle energy consumption influencing factor information; Processing the model input vector and the vehicle driving style information based on a vehicle energy consumption prediction model to determine a current vehicle energy consumption prediction result of the target vehicle; The processing of the model input vector and the vehicle driving style information based on the vehicle energy consumption prediction model to determine the current vehicle energy consumption prediction result of the target vehicle includes: Based on the first sub-model of the vehicle energy consumption prediction model, the vehicle driving style information is processed to determine the vehicle identification code feature vector of the target vehicle; wherein the first sub-model includes a supervised contrastive learning network; Based on the sub-models other than the first sub-model in the vehicle energy consumption prediction model, the vehicle identification code feature vector and the model input vector are processed to determine the vehicle energy consumption prediction result.
2. The vehicle energy consumption prediction method according to claim 1, characterized in that: The first sub-model is trained in the following way: Acquire multiple sets of corresponding vehicle identification code feature vector samples and vehicle driving style information samples; Based on a supervised contrastive learning network, multiple groups of corresponding vehicle identification feature vector samples and vehicle driving style information samples are learned to obtain the first sub-model.
3. The vehicle energy consumption prediction method according to claim 1, characterized in that: The obtaining of the vehicle driving style information corresponding to the target vehicle at the current moment includes: When the target vehicle has historical driving information, obtaining a first historical average speed and / or a first historical average acceleration of the target vehicle, and using the first historical average speed and / or the first historical average acceleration as the vehicle driving style information; or, When the target vehicle has no historical driving information, a second historical average speed and / or a second historical average acceleration of a group of vehicles of the target vehicle model is obtained, and the second historical average speed and / or the second historical average acceleration is used as the vehicle driving style information; wherein the target vehicle model is the vehicle model to which the target vehicle belongs.
4. The vehicle energy consumption prediction method according to claim 1, characterized in that: The vehicle energy consumption influencing factor information includes vehicle state information, and determining the model input vector based on the vehicle energy consumption influencing factor information includes: Based on the vehicle state information, determining a vehicle state input vector in the model input vector; and / or, The vehicle energy consumption influencing factor information includes time information, and determining the model input vector based on the vehicle energy consumption influencing factor information includes: Based on the time information, determining a time input vector in the model input vector; and / or, The vehicle energy consumption influencing factor information includes weather information, and determining the model input vector based on the vehicle energy consumption influencing factor information includes: Based on the weather information, determining a weather input vector in the model input vector; and / or, The vehicle energy consumption influencing factor information includes road condition information, and determining the model input vector based on the vehicle energy consumption influencing factor information includes: Based on the road condition information, a road condition input vector in the model input vector is determined.
5. The vehicle energy consumption prediction method according to claim 4, characterized in that: The road condition information includes the overall road condition information of the vehicle driving route and the road condition information of N sub-road sections, the N sub-road section road condition information corresponds to the N sub-road sections one by one, and the N sub-road sections constitute the vehicle driving route; The determining, based on the road condition information, a road condition input vector in the model input vector comprises: Based on the overall road condition information, determining an overall road condition input vector in the road condition input vector; Based on the traffic condition information of the N sub-road sections, determining a sub-road section traffic condition input vector sequence; wherein the sub-road section input vector sequence includes N sub-road section traffic condition input vectors, and the N sub-road section traffic condition input vectors correspond one-to-one to the N sub-road sections; The sub-road section road condition input vector corresponding to the target sub-road section in the sub-road section road condition input vector sequence is determined as the target sub-road section road condition input vector in the road condition input vector; wherein the target sub-road section is the sub-road section where the target vehicle is currently located.
6. The vehicle energy consumption prediction method according to claim 5, characterized in that: The processing of the vehicle identification code feature vector and the model input vector based on the sub-models other than the first sub-model in the vehicle energy consumption prediction model to determine the vehicle energy consumption prediction result includes: Based on the second sub-model of the vehicle energy consumption prediction model, the vehicle identification code feature vector, the vehicle state input vector, the time input vector, the weather input vector and the overall road condition input vector are processed to determine the overall feature vector of the vehicle driving route; wherein the second sub-model includes a deep factorization machine; Based on the third sub-model of the vehicle energy consumption prediction model, the target sub-section road condition input vector is processed to determine the sub-section feature vector of the vehicle driving route; wherein the third sub-model includes an encoder of the attention mechanism; Based on the fourth sub-model of the vehicle energy consumption prediction model, the overall feature vector and the sub-section feature vector are processed to determine the vehicle energy consumption prediction result; wherein the fourth sub-model includes a multi-layer perceptron network.
7. The vehicle energy consumption prediction method according to claim 6, characterized in that: The processing of the vehicle identification code feature vector, the vehicle state input vector, the time input vector, the weather input vector, and the overall road condition input vector to determine the overall feature vector of the vehicle driving route includes: Determine a first dense feature based on the categorical features in the vehicle state input vector, the time input vector, the weather input vector, and the overall road condition input vector; Concatenate the vehicle identification code feature vector, the first dense feature, and the real number features in the vehicle state input vector, the time input vector, the weather input vector, and the overall road condition input vector to obtain a first concatenated vector; The first concatenated vector is processed based on the deep factorization machine to determine the overall feature vector.
8. The vehicle energy consumption prediction method according to claim 6, characterized in that: The step of processing the target sub-section road condition input vector to determine the sub-section feature vector of the vehicle driving route includes: Determining a second dense feature based on the categorical feature of the target sub-road section road condition input vector; Splicing the second dense feature and the real number feature of the target sub-section road condition input vector to obtain a second splicing vector; The encoder based on the attention mechanism processes the second splicing vector to determine the sub-segment feature vector.
9. The vehicle energy consumption prediction method according to claim 6, characterized in that: The processing of the overall feature vector and the sub-section feature vector to determine the vehicle energy consumption prediction result includes: Concatenate the overall feature vector and the sub-segment vector to obtain a third concatenated vector; The third concatenated vector is processed based on the multi-layer perceptron network to determine the vehicle energy consumption prediction result.
10. The vehicle energy consumption prediction method according to claim 5, characterized in that: The vehicle energy consumption prediction method comprises: If it is determined that the set conditions are met, re-determining the vehicle energy consumption prediction result; Wherein, the determining that the set condition is satisfied includes at least one of the following: Determining a trip of the target vehicle to start the vehicle travel route; Determining that the sub-section on which the target vehicle is traveling is switched; Determining that a switch occurs in the driving route of the vehicle; Determine that an accident occurs on the road section ahead of the target vehicle.
11. The vehicle energy consumption prediction method according to claim 1, characterized in that: The vehicle energy consumption prediction method comprises: After determining the vehicle energy consumption prediction result, determining the cruising range of the target vehicle based on the vehicle energy consumption prediction result; Based on the remaining mileage of the vehicle's driving route and the cruising range, the prompt information of the target vehicle is controlled.
12. The vehicle energy consumption prediction method according to claim 11, characterized in that: The control of the prompt information of the target vehicle based on the remaining mileage of the vehicle's driving route and the cruising range includes: If the mileage difference between the remaining mileage and the endurance mileage is greater than or equal to a first set threshold value, and less than or equal to a second set threshold value, output a first prompt message; wherein the first prompt message is used to prompt the use of energy-saving mode for driving; If the mileage difference between the remaining mileage and the endurance mileage is greater than the second set threshold, a second prompt message is output; wherein the second prompt message is used to prompt to replenish the energy of the vehicle.
13. The vehicle energy consumption prediction method according to any one of claims 1 to 12, characterized in that: The obtaining of the vehicle driving style information and vehicle energy consumption influencing factor information corresponding to the target vehicle at the current moment includes: Determining a vehicle travel route of the target vehicle according to the departure point and destination of the target vehicle; Based on the vehicle driving route, the vehicle driving style information and the vehicle energy consumption influencing factor information are obtained.
14. The vehicle energy consumption prediction method according to claim 13, characterized in that: The vehicle energy consumption influencing factor information includes road condition information, and the road condition information includes the overall road condition information of the vehicle driving route and the road condition information of N sub-sections, where N is a positive integer greater than or equal to 1; The acquiring the vehicle driving style information and the vehicle energy consumption influencing factor information based on the vehicle driving route includes: Based on the vehicle driving route, obtaining the overall road condition information of the vehicle driving route from navigation information; Dividing the vehicle driving route into sections to obtain N sub-sections; Obtain N sub-road section traffic condition information corresponding to the N sub-road sections from the navigation information; wherein the N sub-road section traffic condition information corresponds one-to-one to the N sub-road sections.
15. A vehicle energy consumption prediction device, characterized in that: The vehicle energy consumption prediction device comprises: An acquisition module is used to acquire vehicle driving style information and vehicle energy consumption influencing factor information corresponding to the target vehicle at the current moment; A determination module, used to determine a model input vector based on the vehicle energy consumption influencing factor information; It is also used to process the model input vector and the vehicle driving style information based on the vehicle energy consumption prediction model to determine the current vehicle energy consumption prediction result of the target vehicle; Wherein, determining the current vehicle energy consumption prediction result of the target vehicle based on the model input information and the vehicle driving style information includes: Based on the first sub-model of the vehicle energy consumption prediction model, the vehicle driving style information is processed to determine the vehicle identification code feature vector of the target vehicle; wherein the first sub-model includes a supervised contrastive learning network; Based on the sub-models other than the first sub-model in the vehicle energy consumption prediction model, the vehicle identification code feature vector and the model input vector are processed to determine the vehicle energy consumption prediction result.
16. A device, characterized in that The device also includes: a processor and a memory, wherein the processor is used to execute a control program stored in the memory to implement the vehicle energy consumption prediction method as described in any one of claims 1-14.
17. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the vehicle energy consumption prediction method as described in any one of claims 1-14.
Citation Information
Patent Citations
Vehicle remaining route fuel consumption prediction method and system based on driving style
CN116331214A
Early warning model training method and device, early warning method and device, equipment and automatic driving vehicle
CN117493888A
Method, device and equipment for predicting remaining endurance mileage of vehicle and storage medium
CN117818362A
Cruising range estimation method and apparatus
WO2024082201A1
Cited By
Energy consumption optimization method and device of server, equipment and storage medium
CN119473765A
Energy consumption optimization method, device, equipment and storage medium for server
CN119473765B
Fuel cell vehicle driving range prediction system based on historical real-time energy consumption
CN121880799A
