Vehicle driving condition prediction method, controller, vehicle and cloud server
By matching real-time driving data with historical data, vehicle driving conditions are predicted, which solves the problem of low prediction reliability in existing technologies and achieves effective prediction and energy management optimization in a variety of scenarios.
Patent Information
- Application Number
- CN202411004530.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-25
AI Technical Summary
In the existing technology, vehicle driving condition prediction has limited application scenarios and low reliability, especially when the driver has not turned on the navigation mode, the map accuracy is insufficient, or the vehicle is offline.
By matching the real-time driving data of the target vehicle with the historical vehicle driving data sample set, extract the feature vector and calculate the similarity, determine the target driving conditions, predict the driving conditions of the target vehicle, and output the driving condition speed data to optimize the vehicle energy. management strategies.
It improves the reliability of vehicle driving conditions prediction, reduces scene restrictions, and can effectively predict driving conditions under various conditions, thereby optimizing the vehicle energy management strategy.
Smart Images

Figure CN118520307B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of intelligent vehicle technology, and specifically relates to a vehicle driving condition prediction method, a controller, a vehicle and a cloud server. Background Art
[0002] With the advancement of intelligent driving technology, it is particularly important to optimize the vehicle energy management strategy based on the vehicle driving conditions.
[0003] In the prior art, by establishing a corresponding key between traffic and road parameters and vehicle driving conditions, based on the driving route selected by the user, the traffic and road parameters corresponding to the driving route are obtained through high-precision maps and vehicle networks, and the vehicle driving conditions are predicted based on the traffic and road parameters.
[0004] However, the existing technology relies heavily on high-precision maps and vehicle networks, and the application scenarios of predicting vehicle driving conditions are limited and the reliability is not high. Summary of the invention
[0005] The embodiments of the present application provide a vehicle driving condition prediction method, a controller, a vehicle and a cloud server, which can solve the problem of limited application scenarios and low reliability of predicting vehicle driving conditions in the prior art.
[0006] In a first aspect, an embodiment of the present application provides a vehicle driving condition prediction method, comprising:
[0007] Based on the real-time driving data of the target vehicle and the first vehicle driving data sample set, a target first vehicle driving data sample matching the real-time driving data is obtained, wherein the first vehicle driving data sample set includes: a plurality of first vehicle driving data samples;
[0008] Based on the target first vehicle driving data sample, a target driving condition of the target vehicle is predicted.
[0009] Optionally, also include:
[0010] Based on the target driving condition, determining target driving condition speed data corresponding to the target driving condition;
[0011] The target driving condition speed data is output, or a set of motion parameters predicted based on the target driving condition speed data is output.
[0012] Optionally, the first vehicle driving data sample set includes: a plurality of sample sets, each sample set includes a plurality of first vehicle driving data samples, each sample set has a corresponding operating condition label, and the operating condition label is used to identify the driving operating condition corresponding to the first vehicle driving data sample in the sample set; the number of the target first vehicle driving data samples includes: at least two;
[0013] The step of predicting a target driving condition of the target vehicle based on the target first vehicle driving data sample comprises:
[0014] For each target first vehicle driving data sample, determine a sample set including the target first vehicle driving data sample;
[0015] Determine that the operating condition label corresponding to the target sample set is the target driving condition of the target vehicle, wherein the target sample set is a sample set including the largest number of target first vehicle driving data samples.
[0016] Optionally, obtaining a target first vehicle driving data sample matching the real-time driving data based on the real-time driving data and the first vehicle driving data sample set includes:
[0017] Performing feature extraction on the real-time driving data to obtain a first feature vector corresponding to the real-time driving data;
[0018] Based on the similarities between the first feature vector and the feature vectors of each first vehicle driving data sample in the first vehicle driving data sample set, the first N first vehicle driving data samples corresponding to the similarities are determined as the target first vehicle driving data samples in order of similarity from high to low, where N is an integer greater than or equal to 2.
[0019] Optionally, the similarity is determined based on Euclidean distance.
[0020] Optionally, the operating condition label is determined based on relevant parameter information of the first vehicle driving data sample in each sample set, wherein the relevant parameter information includes at least one of the following: speed-related characteristic parameters and acceleration-related characteristic parameters.
[0021] Optionally, the multiple first vehicle driving data samples are obtained by dividing historical vehicle driving data samples according to a preset time length; the multiple sample sets are obtained by clustering the multiple first vehicle driving data samples based on feature vectors corresponding to the multiple first vehicle driving data samples.
[0022] Optionally, the multiple sample sets are obtained by standardizing each parameter of the feature vectors corresponding to the multiple first vehicle driving data samples, and performing cluster analysis based on the standardized feature vectors.
[0023] Optionally, the operating speed data corresponding to the driving condition is constructed based on historical vehicle driving data samples.
[0024] Optionally, the operating speed data corresponding to the driving condition is obtained by splicing a second vehicle driving data sample, and the second vehicle driving data sample is obtained by dividing the historical vehicle driving data samples according to vehicle speed.
[0025] Optionally, the operating speed data corresponding to the driving condition is obtained by screening the second vehicle driving data samples based on a preset condition and splicing the screened second vehicle driving data samples, wherein the preset condition includes at least one of the following:
[0026] If there is data frame loss in the second vehicle driving data sample, deleting the second vehicle driving data sample;
[0027] If the running time of the second vehicle driving data sample is less than a preset time length, the second vehicle driving data sample is deleted.
[0028] Optionally, the operating condition speed data corresponding to the driving condition is obtained by splicing a second vehicle driving data sample belonging to the same driving condition, the driving condition corresponding to the second vehicle driving data sample is determined based on a parameter threshold of the driving condition, and the second vehicle driving data sample is obtained by screening the second vehicle driving data sample based on preset conditions.
[0029] Optionally, the parameter threshold of the driving condition is determined based on relevant parameter information of the first vehicle driving data sample in each sample set.
[0030] In a second aspect, an embodiment of the present application provides a vehicle driving condition prediction device, comprising:
[0031] A processing module, configured to obtain a target first vehicle driving data sample matching the real-time driving data based on the real-time driving data of the target vehicle and the first vehicle driving data sample set, wherein the first vehicle driving data sample set includes: a plurality of first vehicle driving data samples;
[0032] A prediction module is used to predict a target driving condition of the target vehicle based on the target first vehicle driving data sample.
[0033] Optionally, the prediction module is also used to determine target driving condition speed data corresponding to the target driving condition based on the target driving condition; output the target driving condition speed data, or output a set of motion parameters predicted based on the target driving condition speed data.
[0034] Optionally, the first vehicle driving data sample set includes: a plurality of sample sets, each sample set includes a plurality of first vehicle driving data samples, each sample set has a corresponding operating condition label, and the operating condition label is used to identify the driving operating condition corresponding to the first vehicle driving data sample in the sample set; the number of the target first vehicle driving data samples includes: at least two;
[0035] The prediction module is specifically used to determine, for each target first vehicle driving data sample, a sample set including the target first vehicle driving data sample; determine that the operating condition label corresponding to the target sample set is the target driving condition of the target vehicle, wherein the target sample set is the sample set including the largest number of target first vehicle driving data samples.
[0036] Optionally, the processing module is specifically used to perform feature extraction on the real-time driving data to obtain a first feature vector corresponding to the real-time driving data; based on the similarity between the first feature vector and the feature vectors of each first vehicle driving data sample in the first vehicle driving data sample set, the first N first vehicle driving data samples corresponding to the similarities are determined in descending order of similarity as the target first vehicle driving data samples, where N is an integer greater than or equal to 2.
[0037] Optionally, the similarity is determined based on Euclidean distance.
[0038] Optionally, the operating condition label is determined based on relevant parameter information of the first vehicle driving data sample in each sample set, wherein the relevant parameter information includes at least one of the following: speed-related characteristic parameters and acceleration-related characteristic parameters.
[0039] Optionally, the multiple first vehicle driving data samples are obtained by dividing historical vehicle driving data samples according to a preset time length; the multiple sample sets are obtained by clustering the multiple first vehicle driving data samples based on feature vectors corresponding to the multiple first vehicle driving data samples.
[0040] Optionally, the multiple sample sets are obtained by standardizing each parameter of the feature vectors corresponding to the multiple first vehicle driving data samples, and performing cluster analysis based on the standardized feature vectors.
[0041] Optionally, the operating speed data corresponding to the driving condition is constructed based on historical vehicle driving data samples.
[0042] Optionally, the operating speed data corresponding to the driving condition is obtained by splicing a second vehicle driving data sample, and the second vehicle driving data sample is obtained by dividing the historical vehicle driving data samples according to vehicle speed.
[0043] Optionally, the operating speed data corresponding to the driving condition is obtained by screening the second vehicle driving data samples based on a preset condition and splicing the screened second vehicle driving data samples, wherein the preset condition includes at least one of the following:
[0044] If there is data frame loss in the second vehicle driving data sample, deleting the second vehicle driving data sample;
[0045] If the running time of the second vehicle driving data sample is less than a preset time length, the second vehicle driving data sample is deleted.
[0046] Optionally, the operating condition speed data corresponding to the driving condition is obtained by splicing a second vehicle driving data sample belonging to the same driving condition, the driving condition corresponding to the second vehicle driving data sample is determined based on a parameter threshold of the driving condition, and the second vehicle driving data sample is obtained by screening the second vehicle driving data sample based on preset conditions.
[0047] Optionally, the parameter threshold of the driving condition is determined based on relevant parameter information of the first vehicle driving data sample in each sample set.
[0048] In a third aspect, an embodiment of the present application provides a controller comprising: a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the vehicle driving condition prediction method as described in any one of the first paragraph are implemented.
[0049] In a fourth aspect, an embodiment of the present application provides a vehicle, comprising: a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the vehicle driving condition prediction method as described in any one of the first aspects are implemented.
[0050] In a fifth aspect, an embodiment of the present application provides a cloud server, comprising: a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the vehicle driving condition prediction method as described in any one of the first aspects are implemented.
[0051] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the vehicle driving condition prediction method as described in any one of the first aspects are implemented.
[0052] In the seventh aspect, an embodiment of the present application provides a computer program product, which, when executed by a processor of a vehicle or a cloud server, implements the steps of the vehicle driving condition prediction method as described in any one of the first aspects.
[0053] The vehicle driving condition prediction method, controller, vehicle and cloud server provided in the embodiments of the present application obtain a target first vehicle driving data sample that matches the real-time driving data based on the real-time driving data of the target vehicle and a first vehicle driving data sample set, and predict the target driving condition of the target vehicle based on the target first vehicle driving data sample. That is, the present embodiment predicts the target driving condition of the target vehicle through the real-time driving data of the target vehicle, and therefore is not restricted by the scene, thereby improving reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 A schematic diagram of a process flow of a vehicle driving condition prediction method provided in an embodiment of the present application;
[0055] Figure 2 A schematic diagram of real-time driving data provided by an embodiment of the present application;
[0056] Figure 3 A schematic diagram of a flow chart of another vehicle driving condition prediction method provided in an embodiment of the present application;
[0057] Figure 4 A schematic flow chart of another vehicle driving condition prediction method provided in an embodiment of the present application;
[0058] Figure 5 A schematic flow chart of another vehicle driving condition prediction method provided in an embodiment of the present application;
[0059] Figure 6 A schematic flow chart of another vehicle driving condition prediction method provided in an embodiment of the present application;
[0060] Figure 7 A schematic flow chart of another vehicle driving condition prediction method provided in an embodiment of the present application;
[0061] Figure 8 A schematic diagram of operating speed data is provided for an embodiment of the present application;
[0062] Fig. 9A schematic diagram of the structure of a vehicle driving condition prediction device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0063] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.
[0064] In order to optimize the energy management strategy of the whole vehicle, in the related technology, the vehicle driving condition is predicted by relying on high-precision maps and vehicle networks, and then the energy management strategy of the whole vehicle is optimized based on the vehicle driving condition. However, in some scenarios, for example, the driver has not turned on the navigation mode, has not selected a specific driving route, the vehicle's map accuracy is not enough, the map is not updated in time, or the vehicle is offline, the vehicle's driving condition cannot be predicted, so the prediction of the vehicle's driving condition is more restricted by the scenario and the reliability is not high.
[0065] In order to reduce the limitation of scenarios in predicting vehicle driving conditions and improve reliability, the present application provides a vehicle driving condition prediction method, which can predict the vehicle driving condition based on the real-time driving data of the vehicle.
[0066] Furthermore, in order to improve the optimization effect of the whole vehicle energy management strategy, the present application also constructs driving condition speed data corresponding to different vehicle driving conditions, wherein the driving condition speed data can be represented in the form of a driving condition speed curve. After predicting the vehicle driving condition, the driving condition speed data corresponding to the vehicle driving condition can be output. Based on the driving condition speed data, the vehicle's future driving speed, acceleration and other motion parameters can be predicted, or a set of motion parameters predicted based on the driving condition speed data can be directly output, wherein the motion parameters can be output in the form of a sequence, based on which the whole vehicle energy management strategy can be better optimized.
[0067] The steps of the following embodiments of the present application may be executed by the vehicle, by the cloud server, or by the vehicle and the cloud server in collaboration. The collaborative execution by the vehicle and the cloud server includes, but is not limited to, in some cases, for example, when the vehicle is offline, the steps are executed by the vehicle alone, and when the vehicle is online, the steps are executed by the cloud server. The cloud server sends the execution result to the vehicle controller so that the vehicle controller controls the vehicle based on the execution result. The present application does not impose any restrictions on this. Specifically, the configuration may be performed by which entity based on actual conditions such as vehicle computing power, vehicle application scenarios, and vehicle types.
[0068] The vehicle driving conditions involved in the embodiments of the present application include but are not limited to: urban congestion, urban semi-congestion, urban smooth traffic, suburban smooth traffic, suburban semi-congestion, suburban congestion, highway smooth traffic, highway congestion and highway semi-congestion, etc.
[0069] The technical solution of the application is described below with several specific embodiments:
[0070] Figure 1 A flow chart of a vehicle driving condition prediction method provided in an embodiment of the present application is shown as follows: Figure 1 As shown, the method of this embodiment is as follows:
[0071] S11: Based on the real-time driving data of the target vehicle and the first vehicle driving data sample set, obtaining a target first vehicle driving data sample that matches the real-time driving data.
[0072] The target vehicle refers to the vehicle whose driving condition is to be predicted.
[0073] The real-time driving data of the target vehicle refers to the driving data of a continuous period before the current time. For example, if the time period is set to 5 minutes and the current time is 5:00 pm, the real-time driving data obtained is the driving data of the time period of 4:55-5:00. Or the driving data of a continuous period before the time close to the current time, for example, 4:54-4:59, can be considered as the real-time driving data of the target vehicle.
[0074] The real-time driving data includes speed information. The specific form of the real-time driving data may be, for example, a driving speed-time curve. Figure 2 As shown, Figure 2 A schematic diagram of real-time driving data provided by an embodiment of the present application, wherein the horizontal axis is time information and the vertical axis is vehicle speed information. Optionally, the real-time driving data in this step can also be expressed in the form of motion parameters such as speed and acceleration, that is, directly obtaining motion parameters such as speed and acceleration corresponding to the driving speed-time curve.
[0075] Optionally, real-time driving data of the target vehicle may be acquired through a speed sensor.
[0076] Optionally, the real-time driving data may be matched with the first vehicle driving data sample set to obtain a target first vehicle driving data sample that matches the real-time driving data.
[0077] Optionally, the first vehicle driving data sample set includes but is not limited to the following possible implementations:
[0078] Among them, a possible implementation method is: the first vehicle driving data sample set includes multiple first vehicle driving data samples, and the driving conditions corresponding to each first vehicle driving data sample are known. For example, when collecting the first vehicle driving data sample, the corresponding perception information is also collected at the same time, and the perception information can characterize the driving conditions corresponding to the first vehicle driving data sample.
[0079] Another possible implementation is: the first vehicle driving data sample set includes: multiple sample sets, each sample set includes multiple first vehicle driving data samples, each sample set has a corresponding operating condition label, and the operating condition label is used to identify the driving condition corresponding to the first vehicle driving data sample in the sample set, that is, the driving conditions of multiple first vehicle driving data samples included in the same sample set are the same, and the driving condition of the first vehicle driving data sample can be determined based on the operating condition label corresponding to the sample set to which it belongs. Among them, the operating condition label of the sample set can be determined based on the motion parameter information of the multiple first vehicle driving data samples in the sample set.
[0080] A possible implementation of this step is described as follows: Figure 3 As shown, Figure 3 A schematic diagram of a flow chart of another vehicle driving condition prediction method provided in an embodiment of the present application, Figure 3 is Figure 1 Based on the illustrated embodiment, a description is given of how to perform matching to determine a target first vehicle driving data sample that matches the real-time driving data:
[0081] S111: Perform feature extraction on the real-time driving data to obtain a first feature vector corresponding to the real-time driving data.
[0082] Extracting features from real-time driving data, specifically extracting motion features, wherein the motion features include but are not limited to at least one of the following: speed-related feature parameters, acceleration-related feature parameters, and distance-related feature parameters;
[0083] The speed-related characteristic parameters include but are not limited to at least one of the following: average vehicle speed, maximum vehicle speed, vehicle speed standard deviation, minimum vehicle speed, and real-time vehicle speed.
[0084] The acceleration-related characteristic parameters include, but are not limited to, at least one of the following: acceleration change rate, average acceleration, maximum acceleration, minimum acceleration, and acceleration standard deviation.
[0085] The distance-related characteristic parameters include but are not limited to at least one of the following: total number of stops, average number of stops per kilometer, and driving distance, etc.
[0086] The first feature vector corresponding to the real-time driving data is formed based on the extracted motion feature parameters. For example, the average speed, maximum speed, speed standard deviation, minimum speed, real-time speed, acceleration change rate, average acceleration, maximum acceleration, minimum acceleration, acceleration standard deviation, total number of stops, average number of stops per kilometer, and driving distance are extracted. Then, the first feature vector is a 13-dimensional feature vector, and the 13 parameters in the first feature vector correspond to the above 13 feature parameters one by one. Specifically, the parameters included in the first feature vector need to be consistent with the parameters included in the feature vector of the first vehicle driving data sample.
[0087] S112: Based on the similarities between the first feature vector and the feature vectors of each first vehicle driving data sample in the first vehicle driving data sample set, determine the first N first vehicle driving data samples corresponding to the similarities as the target first vehicle driving data samples in order of similarity from high to low, where N is an integer greater than or equal to 2.
[0088] The number of target first vehicle driving data samples can be preset, and the number of target first vehicle driving data samples is at least 2, for example, it can be set to 5. Then, based on the similarity between the first feature vector and the feature vectors of each first vehicle driving data sample in the first vehicle driving data sample set, the top 5 first vehicle driving data samples with the highest similarity are determined as the target first vehicle driving data samples.
[0089] A similarity value can be obtained by calculation between the first feature vector and each first vehicle driving data sample, and the first vehicle driving data samples corresponding to the feature vectors ranked in the top five in similarity are obtained according to the similarity value as the target first vehicle driving data samples.
[0090] Optionally, the similarity may be determined based on the Euclidean distance, and the Euclidean distance between two feature vectors is calculated. The smaller the Euclidean distance, the higher the similarity.
[0091] S13: Predicting a target driving condition of the target vehicle based on the target first vehicle driving data sample.
[0092] This step includes but is not limited to the following possible implementation methods:
[0093] One possible implementation method is: if the driving condition of the first vehicle driving data sample in the first vehicle driving data sample set is known, then for each target first vehicle driving data sample, the condition label corresponding to the target first vehicle driving data sample is determined as the candidate driving condition corresponding to the target vehicle, so that at least two candidate driving conditions can be obtained, and the same candidate driving condition with the largest number among the at least two candidate driving conditions is determined as the target driving condition of the target vehicle. For example, through similarity calculation, 5 target first vehicle driving data samples are obtained, among which the driving conditions corresponding to 2 target first vehicle driving data samples are condition 1, the driving condition corresponding to 1 target first vehicle driving data sample is condition 2, the driving condition corresponding to 1 target first vehicle driving data sample is condition 3, and the driving condition corresponding to 1 target first vehicle driving data sample is condition 4, then condition 1, condition 2, condition 3 and condition 4 are all candidate driving conditions, among which the number of target first vehicle driving data samples corresponding to condition 1 is 2, then condition 1 is determined to be the target driving condition of the target vehicle.
[0094] Another possible implementation method is: for each target first vehicle driving data sample, determine a sample set that includes the target first vehicle driving data sample; determine that the operating condition label corresponding to the target sample set is the target driving condition of the target vehicle, wherein the target sample set is the sample set that includes the largest number of target first vehicle driving data samples. In this implementation, the driving condition of the target first vehicle driving data sample is determined based on the condition label of the sample set including the sample. For example, through similarity calculation, 5 target first vehicle driving data samples are obtained, wherein sample set 1 includes 2 target first vehicle driving data samples, and the condition label of sample set 1 is condition 1; sample set 2 includes 1 target first vehicle driving data sample, and the driving condition corresponding to sample set 2 is condition 2; sample set 3 includes 1 target first vehicle driving data sample, and the driving condition corresponding to sample set 3 is condition 3; sample set 4 includes 1 target first vehicle driving data sample, and the driving condition corresponding to sample set 4 is condition 4. Among them, sample set 1 includes 2 target first vehicle driving data samples, then it is determined that sample set 1 includes the largest number of target first vehicle driving data samples, then sample set 1 is determined to be the target sample set, and condition 1 corresponding to sample set 1 is the target driving condition of the target vehicle.
[0095] In this embodiment, based on the real-time driving data of the target vehicle and the first vehicle driving data sample set, a target first vehicle driving data sample matching the real-time driving data is obtained, and based on the target first vehicle driving data sample, the target driving condition of the target vehicle is predicted. That is, this embodiment predicts the target driving condition of the target vehicle through the real-time driving data of the target vehicle, and therefore is not restricted by the scene, thereby improving reliability.
[0096] Figure 4 A schematic diagram of a flow chart of another vehicle driving condition prediction method provided in an embodiment of the present application, Figure 4 is Figure 1 On the basis of the illustrated embodiment, a method for obtaining the first vehicle driving data sample set is further described. The multiple first vehicle driving data samples are obtained by dividing the historical vehicle driving data samples according to a preset time length; the multiple sample sets are obtained by performing cluster analysis on the multiple first vehicle driving data samples based on the feature vectors corresponding to the multiple first vehicle driving data samples, as follows:
[0097] S31: Acquire historical vehicle driving data samples, and divide the historical vehicle driving data samples according to a preset time length to obtain multiple first vehicle driving data samples.
[0098] Among them, historical vehicle driving data samples can be obtained through equipment such as a driving recorder, and the historical vehicle driving data samples can be represented in the form of a vehicle speed-time curve.
[0099] Since historical vehicle driving data samples are usually driving records of a vehicle over a longer period of time, they may include multiple vehicle driving condition scenarios at the same time. The number of vehicle driving conditions included in each sample can be reduced by dividing the samples into segments, such as short-trip condition segments, to facilitate subsequent clustering analysis. For example, historical vehicle driving data samples can be divided according to preset time lengths to obtain multiple first vehicle driving data samples.
[0100] S32: Based on the feature vectors corresponding to the multiple first vehicle driving data samples, cluster analysis is performed on the multiple first vehicle driving data samples to obtain multiple sample sets.
[0101] A possible implementation of this step is as follows Figure 5 As shown, Figure 5 A flow chart of another vehicle driving condition prediction method provided in an embodiment of the present application:
[0102] S321: Obtain feature vectors corresponding to multiple first vehicle driving data samples.
[0103] Feature extraction is performed on each first vehicle driving data sample. Specifically, motion feature parameters are extracted. This embodiment takes three groups of motion feature parameters as examples, namely, feature parameters related to vehicle speed, feature parameters related to acceleration, and feature parameters related to distance. Among them, the feature parameters related to vehicle speed are set to five, namely, average vehicle speed, maximum vehicle speed, vehicle speed standard deviation, minimum vehicle speed, and real-time vehicle speed. The feature parameters related to acceleration are set to five, namely, acceleration change rate, average acceleration, maximum acceleration, minimum acceleration, and acceleration standard deviation. The feature parameters related to distance are set to three, namely, total number of stops, average number of stops per kilometer, and driving distance. In this way, the feature vector corresponding to each first vehicle driving data sample can be obtained as a 13-dimensional feature vector, and the 13 parameters in the feature vector correspond one-to-one to the above-mentioned 13 feature parameters. For example, the feature vector is ,but, Corresponding to the average vehicle speed, Corresponding maximum speed, Corresponding speed standard deviation, Corresponding minimum speed, Corresponding to the real-time vehicle speed, Corresponding acceleration rate, The corresponding average acceleration, Corresponding to the maximum acceleration, Corresponding to the minimum acceleration, The corresponding acceleration standard deviation is The corresponding total number of parking times, The corresponding average number of stops per kilometer and Corresponding driving distance.
[0104] The multiple sample sets are obtained by performing a cluster analysis based on the standardized feature vectors by standardizing each parameter of the feature vectors corresponding to the multiple first vehicle driving data samples. Specifically, as shown in S322:
[0105] S322: Standardize each parameter in the feature vector, and perform cluster analysis based on the standardized feature vector to obtain multiple sample sets.
[0106] Since the number dimension of each parameter is different, each parameter in the feature vector can be standardized before clustering analysis. For example, Z-score standardization can be performed:
[0107]
[0108] in, represents the normalized data of the jth parameter of the i-th first vehicle driving data sample, represents the original data of the jth parameter of the i-th first vehicle driving data sample, represents the average value of the original data of the jth parameter of all the first vehicle driving data samples, n represents the number of the first vehicle driving data samples, m represents the number of parameters contained in the feature vector of each first vehicle driving data sample, and in this embodiment, m is shown as 13 as an example.
[0109] in, Represents the standard deviation and mean of the original data and standard deviation The calculation formula is as follows:
[0110]
[0111]
[0112] By standardizing each parameter in the feature vector in the above manner, it is convenient to perform cluster analysis more accurately. Then, based on the standardized feature vector, cluster analysis is performed to obtain multiple sample sets.
[0113] Optionally, an unsupervised cluster analysis method may be used, for example, a k-means algorithm may be used for cluster analysis, and data classification may be performed by calculating the degree of affinity between the first vehicle driving data samples. The clustering effect may achieve that the first vehicle driving data samples in the same class have greater feature similarity, while the features between different classes have obvious differences and interfaces. Specifically, the process of cluster analysis is as follows:
[0114] 1) Select k feature vectors of the first vehicle driving data samples from the first vehicle driving data sample set as the initial clustering center, where k can be selected according to the actual application. In this embodiment, 5 is taken as an example. The value of k determines how many classes the sample is divided into. The larger the value of k, the more samples are classified and the finer the classification. The smaller the value of k, the fewer samples are classified and the rougher the classification. The specific value of k can be determined based on the actual application scenario. The feature vectors of the k first vehicle driving data samples here can be standardized feature vectors.
[0115] 2) Find the closest eigenvector by calculating the Euclidean distance The Euclidean distance between two vectors is calculated as follows:
[0116]
[0117] in, Express The eigenvector after the parameters are standardized, Represents the normalized vector corresponding to the i-th first vehicle driving data sample The normalized vector corresponding to the z-th cluster center The Euclidean distance between represents the normalized data of the jth parameter of the i-th first vehicle driving data sample, Represents the standardized data of the jth parameter of the zth cluster center.
[0118] This step can be used to calculate The Euclidean distance to each cluster center is Divide into the category of the cluster center with the smallest Euclidean distance.
[0119] 3) Repeat the iterative calculation and update the cluster center of each class until the cluster center of each class no longer changes, and obtain multiple sample sets.
[0120] The operating condition label is determined based on the relevant parameter information of the first vehicle driving data sample in each sample set, wherein the relevant parameter information includes at least one of the following: a characteristic parameter related to speed and a characteristic parameter related to acceleration. Specifically, it can be implemented in S323:
[0121] S323: Based on relevant parameter information of the first vehicle driving data sample in each sample set, obtain the operating condition label of the sample set.
[0122] The relevant parameter information includes at least one of the following: speed-related characteristic parameters and acceleration-related characteristic parameters. The speed-related characteristic parameters include: low vehicle speed, medium vehicle speed and high vehicle speed, and the acceleration-related characteristic parameters include: low acceleration, medium acceleration and high acceleration.
[0123] Relevant parameter information of the first vehicle driving data sample in each sample set is obtained, and the operating condition label of the sample set is obtained based on empirical values. For example, the average speed of the first vehicle driving data sample in the sample set is 120km / h, which is a high speed, and the average acceleration is close to 0m / s², that is, the speed is at a high speed and the acceleration is at a low acceleration. It can be considered that the driving condition is high-speed and smooth, and the operating condition label corresponding to the sample set is high-speed and smooth.
[0124] Furthermore, the parameter threshold of the driving condition can also be obtained based on the relevant parameter information of the first vehicle driving data sample in each sample set. In combination with the above example, the minimum speed of the first vehicle driving data sample in the sample set is 90km / h, the maximum speed is 130km / h, the maximum acceleration is 2m / s² to 4m / s², and the minimum acceleration is -1m / s² to -3m / s².
[0125] In this embodiment, feature vectors corresponding to multiple first vehicle driving data samples are obtained, each parameter in the feature vector is standardized, cluster analysis is performed based on the standardized feature vector, and multiple sample sets are obtained. Based on relevant parameter information of the first vehicle driving data sample in each sample set, the operating condition label of the sample set is obtained, the acquisition of the sample set is achieved, the sample set is labeled, and the operating condition label of each sample set is determined, providing a data basis for online vehicle driving condition prediction.
[0126] Figure 6 A flow chart of another vehicle driving condition prediction method provided in an embodiment of the present application is shown in FIG. Figure 6 is Figure 1-Figure 5 On the basis of any of the illustrated embodiments, further, it also includes: outputting target driving condition speed data, or outputting a set of motion parameters predicted based on the target driving condition speed data, so as to optimize the vehicle energy management strategy, as shown below:
[0127] S14: Based on the target driving condition, determine target driving condition speed data corresponding to the target driving condition.
[0128] The corresponding relationship between the driving condition and the driving condition speed data may be established in advance, so after the target driving condition is determined, the target driving condition speed data corresponding to the target driving condition may be acquired.
[0129] In this embodiment, the correspondence between the driving condition and the driving condition speed data can be implemented by the following possible implementation methods, wherein one possible implementation method is:
[0130] The operating speed data corresponding to the driving condition is constructed based on historical vehicle driving data samples, specifically, the operating speed data corresponding to the driving condition is constructed based on the historical vehicle driving data samples. The sample set may be a sample set obtained after cluster analysis through the above embodiment.
[0131] The operating speed data corresponding to the driving condition is obtained by splicing the second vehicle driving data sample, and the second vehicle driving data sample is obtained by dividing the historical vehicle driving data sample according to the vehicle speed. Figure 7 As shown, Figure 7 A flow chart of another vehicle driving condition prediction method provided in an embodiment of the present application:
[0132] S71: Divide the historical vehicle driving data samples according to vehicle speed to obtain second vehicle driving data samples.
[0133] The principle of dividing according to vehicle speed is as follows: the vehicle speed Vte = 0 at the end point te of the second vehicle driving data sample obtained by division, and the vehicle speed Vte-1>0 at the second te-1 before the end point of the journey.
[0134] S72: splicing the second vehicle driving data samples to obtain operating speed data corresponding to the driving condition.
[0135] Optionally, the second vehicle driving data samples may be spliced in a random splicing manner to obtain operating condition speed data corresponding to the driving condition.
[0136] Optionally, in order to improve the quality of the constructed operating speed data, the operating speed data corresponding to the driving condition can also be obtained by filtering the second vehicle driving data samples based on preset conditions, and the filtered second vehicle driving data samples are spliced, and the second vehicle driving data samples are further filtered based on preset conditions, wherein the preset conditions include at least one of the following:
[0137] If there is data frame loss in the second vehicle driving data sample, the second vehicle driving data sample is deleted.
[0138] If the running time of the second vehicle driving data sample is less than the preset time length, the second vehicle driving data sample is deleted, and the filtered second vehicle driving data samples are spliced to obtain the operating condition speed data corresponding to the driving condition.
[0139] Specifically, the second vehicle driving data sample is screened based on preset conditions to obtain the screened second vehicle driving data sample; based on the parameter threshold of the driving condition, the driving condition corresponding to the second vehicle driving data sample is determined; the parameter threshold of the driving condition here may be the aforementioned embodiment, after determining the condition label of the sample set, further, the operating condition speed data corresponding to the driving condition may also be obtained by splicing the second vehicle driving data samples belonging to the same driving condition, the driving condition corresponding to the second vehicle driving data sample is determined based on the parameter threshold of the driving condition, the second vehicle driving data sample is obtained after screening the second vehicle driving data sample based on the preset conditions, wherein the parameter threshold of the driving condition is determined based on the relevant parameter information of the first vehicle driving data sample in each sample set, see the description in the aforementioned embodiment for details, the second vehicle driving data samples belonging to the same driving condition are spliced to obtain the operating condition speed data corresponding to the driving condition. Figure 8 As shown, Figure 8 A schematic diagram of operating speed data is provided for an embodiment of the present application.
[0140] By dividing the historical vehicle driving data based on vehicle speed as described above, a second vehicle driving data sample is obtained, and the driving condition of the second vehicle driving data sample is determined based on the parameter threshold of the driving condition. This can improve the accuracy of the driving condition classification. Therefore, based on this, the second vehicle driving data samples belonging to the same driving condition are spliced to obtain the operating condition speed data corresponding to the driving condition. The operating condition speed data can more accurately reflect the motion parameter characteristics of the corresponding driving condition.
[0141] S15: Output the target driving condition speed data, or a set of motion parameters predicted based on the target driving condition speed data.
[0142] Specifically, the target driving condition speed data may be output, or a set of motion parameters may be predicted based on the target driving condition speed data, wherein the motion parameters include: speed information and acceleration information, etc. The predicted set of motion parameters are motion parameters at a future moment.
[0143] In this embodiment, target driving condition speed data corresponding to the target driving condition is determined based on the target driving condition, and the target driving condition speed data is output, or a set of motion parameters predicted based on the target driving condition speed data is output, so as to optimize the energy management strategy of the vehicle.
[0144] In the above embodiment, Figure 1-Figure 3 The examples shown and Figure 6-Figure 8 The embodiment shown can be executed by running an online recognition model by an online recognition module. The online recognition module can be set in the vehicle, can be set in a cloud server, or can be set in both the vehicle and the cloud server, and is used to predict the driving condition of the vehicle and obtain the driving condition speed data, so as to optimize the energy management strategy of the vehicle. Figure 4 and Figure 5 The illustrated embodiment may be executed by a working condition construction module, which is used to construct an online recognition model. The working condition construction module may execute the steps of the above-mentioned embodiment offline. The working condition construction module may or may not be set in the vehicle. The working condition construction module is set in the vehicle to obtain new sample data, and the online recognition model is updated based on the new sample data to further improve the accuracy of the online recognition model.
[0145] Fig. 9 A schematic diagram of the structure of a vehicle driving condition prediction device provided in an embodiment of the present application is shown in FIG. Fig. 9As shown, the device of this embodiment includes: a processing module 901 and a prediction module 902, wherein the processing module 901 is used to obtain a target first vehicle driving data sample matching the real-time driving data based on the real-time driving data of the target vehicle and the first vehicle driving data sample set, wherein the first vehicle driving data sample set includes: a plurality of first vehicle driving data samples;
[0146] The prediction module 902 is used to predict the target driving condition of the target vehicle based on the target first vehicle driving data sample.
[0147] Optionally, the prediction module 902 is also used to determine the target driving condition speed data corresponding to the target driving condition based on the target driving condition; output the target driving condition speed data, or output a set of motion parameters predicted based on the target driving condition speed data.
[0148] Optionally, the first vehicle driving data sample set includes: a plurality of sample sets, each sample set includes a plurality of first vehicle driving data samples, each sample set has a corresponding operating condition label, and the operating condition label is used to identify the driving operating condition corresponding to the first vehicle driving data sample in the sample set; the number of the target first vehicle driving data samples includes: at least two;
[0149] The prediction module 902 is specifically used to determine, for each target first vehicle driving data sample, a sample set including the target first vehicle driving data sample; determine that the operating condition label corresponding to the target sample set is the target driving condition of the target vehicle, wherein the target sample set is the sample set including the largest number of target first vehicle driving data samples.
[0150] Optionally, the processing module 901 is specifically used to perform feature extraction on the real-time driving data to obtain a first feature vector corresponding to the real-time driving data; based on the similarity between the first feature vector and the feature vectors of each first vehicle driving data sample in the first vehicle driving data sample set, the first N first vehicle driving data samples corresponding to the similarities are determined in descending order of similarity as the target first vehicle driving data samples, where N is an integer greater than or equal to 2.
[0151] Optionally, the similarity is determined based on Euclidean distance.
[0152] Optionally, the operating condition label is determined based on relevant parameter information of the first vehicle driving data sample in each sample set, wherein the relevant parameter information includes at least one of the following: speed-related characteristic parameters and acceleration-related characteristic parameters.
[0153] Optionally, the multiple first vehicle driving data samples are obtained by dividing historical vehicle driving data samples according to a preset time length; the multiple sample sets are obtained by clustering the multiple first vehicle driving data samples based on feature vectors corresponding to the multiple first vehicle driving data samples.
[0154] Optionally, the multiple sample sets are obtained by standardizing each parameter of the feature vectors corresponding to the multiple first vehicle driving data samples, and performing cluster analysis based on the standardized feature vectors.
[0155] Optionally, the operating speed data corresponding to the driving condition is constructed based on historical vehicle driving data samples.
[0156] Optionally, the operating speed data corresponding to the driving condition is obtained by splicing a second vehicle driving data sample, and the second vehicle driving data sample is obtained by dividing the historical vehicle driving data samples according to vehicle speed.
[0157] Optionally, the operating speed data corresponding to the driving condition is obtained by screening the second vehicle driving data samples based on a preset condition and splicing the screened second vehicle driving data samples, wherein the preset condition includes at least one of the following:
[0158] If there is data frame loss in the second vehicle driving data sample, deleting the second vehicle driving data sample;
[0159] If the running time of the second vehicle driving data sample is less than a preset time length, the second vehicle driving data sample is deleted.
[0160] Optionally, the operating condition speed data corresponding to the driving condition is obtained by splicing a second vehicle driving data sample belonging to the same driving condition, the driving condition corresponding to the second vehicle driving data sample is determined based on a parameter threshold of the driving condition, and the second vehicle driving data sample is obtained by screening the second vehicle driving data sample based on preset conditions.
[0161] Optionally, the parameter threshold of the driving condition is determined based on relevant parameter information of the first vehicle driving data sample in each sample set.
[0162] The device of this embodiment corresponds to the technical solution that can be used to execute the above-mentioned method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.
[0163] An embodiment of the present application also provides a controller, including: a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of any of the above-mentioned vehicle driving condition prediction method embodiments are implemented.
[0164] An embodiment of the present application also provides a vehicle, comprising: a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of any of the above-mentioned vehicle driving condition prediction method embodiments are implemented.
[0165] An embodiment of the present application also provides a cloud server, including: a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of any of the above-mentioned vehicle driving condition prediction method embodiments are implemented.
[0166] An embodiment of the present application also provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of any of the above-mentioned vehicle driving condition prediction method embodiments are implemented.
[0167] An embodiment of the present application also provides a computer program product, which, when executed by a processor of a vehicle or a cloud server, implements the steps of any of the above-mentioned vehicle driving condition prediction method embodiments.
[0168] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0169] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of a computer software product plus a necessary general hardware platform, and of course, can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, disk, CD, etc.), including several instructions to enable the terminal or network side device to execute the methods described in each embodiment of the present application.
[0170] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of the present application and the scope of protection of the claims, and these implementation methods are all within the protection of the present application.
Claims
1. A vehicle driving condition prediction method, characterized in that: include: Based on the real-time driving data of the target vehicle and the first vehicle driving data sample set, a target first vehicle driving data sample matching the real-time driving data is obtained, wherein the first vehicle driving data sample set includes: a plurality of first vehicle driving data samples; Predicting a target driving condition of the target vehicle based on the target first vehicle driving data sample; The first vehicle driving data sample set includes: a plurality of sample sets, each sample set includes a plurality of first vehicle driving data samples, each sample set has a corresponding operating condition label, and the operating condition label is used to identify the driving operating condition corresponding to the first vehicle driving data sample in the sample set; the number of the target first vehicle driving data samples includes: at least two; The step of predicting a target driving condition of the target vehicle based on the target first vehicle driving data sample comprises: For each target first vehicle driving data sample, determine a sample set including the target first vehicle driving data sample; Determine that the operating condition label corresponding to the target sample set is the target driving condition of the target vehicle, wherein the target sample set is a sample set including the largest number of target first vehicle driving data samples.
2. The method according to claim 1, characterized in that Also includes: Based on the target driving condition, determining target driving condition speed data corresponding to the target driving condition; The target driving condition speed data is output, or a set of motion parameters predicted based on the target driving condition speed data is output.
3. The method according to claim 1, characterized in that The step of obtaining a target first vehicle driving data sample matching the real-time driving data based on the real-time driving data and the first vehicle driving data sample set includes: Performing feature extraction on the real-time driving data to obtain a first feature vector corresponding to the real-time driving data; Based on the similarities between the first feature vector and the feature vectors of each first vehicle driving data sample in the first vehicle driving data sample set, the first N first vehicle driving data samples corresponding to the similarities are determined as the target first vehicle driving data samples in order of similarity from high to low, where N is an integer greater than or equal to 2.
4. The method according to claim 3, characterized in that: The similarity is determined based on the Euclidean distance.
5. The method according to claim 1, characterized in that The operating condition label is determined based on relevant parameter information of the first vehicle driving data sample in each sample set, wherein the relevant parameter information includes at least one of the following: speed-related characteristic parameters and acceleration-related characteristic parameters.
6. The method according to claim 1, characterized in that The multiple first vehicle driving data samples are obtained by dividing the historical vehicle driving data samples according to a preset time length; the multiple sample sets are obtained by clustering the multiple first vehicle driving data samples based on the feature vectors corresponding to the multiple first vehicle driving data samples.
7. The method according to claim 6, characterized in that The plurality of sample sets are obtained by performing a standardization process on each parameter of the feature vectors corresponding to the plurality of first vehicle driving data samples, and performing a cluster analysis based on the standardized feature vectors.
8. The method according to any one of claims 2 to 7, characterized in that: The operating speed data corresponding to the driving condition is constructed based on historical vehicle driving data samples.
9. The method according to claim 8, characterized in that The operating speed data corresponding to the driving condition is obtained by splicing the second vehicle driving data samples, and the second vehicle driving data samples are obtained by dividing the historical vehicle driving data samples according to the vehicle speed.
10. The method according to claim 8, characterized in that The operating speed data corresponding to the driving operating condition is obtained by screening the second vehicle driving data samples based on a preset condition and splicing the screened second vehicle driving data samples, wherein the preset condition includes at least one of the following: If there is data frame loss in the second vehicle driving data sample, deleting the second vehicle driving data sample; If the running time of the second vehicle driving data sample is less than a preset time length, the second vehicle driving data sample is deleted.
11. The method according to claim 8, characterized in that The operating condition speed data corresponding to the driving condition is obtained by splicing a second vehicle driving data sample belonging to the same driving condition, the driving condition corresponding to the second vehicle driving data sample is determined based on a parameter threshold of the driving condition, and the second vehicle driving data sample is obtained by screening the second vehicle driving data sample based on preset conditions.
12. The method according to claim 8, characterized in that The parameter threshold of the driving condition is determined based on relevant parameter information of the first vehicle driving data sample in each sample set.
13. A controller, characterized in that: include: A processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the vehicle driving condition prediction method as described in any one of claims 1 to 12 are implemented.
14. A vehicle, characterized in that: include: A processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the vehicle driving condition prediction method as described in any one of claims 1 to 12 are implemented.
15. A cloud server, characterized in that: include: A processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the vehicle driving condition prediction method as described in any one of claims 1 to 13 are implemented.
16. A computer-readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the vehicle driving condition prediction method as described in any one of claims 1 to 12 are implemented.
17. A computer program product, characterized in that When the computer program product is executed by a processor of a vehicle or a cloud server, the steps of the vehicle driving condition prediction method as described in any one of claims 1 to 12 are implemented.
Citation Information
Patent Citations
Urban road vehicle running speed forecasting method based on road network characteristics
CN104464304A
