Extended-range automobile intelligent driving intention recognition method, system and storage medium

By combining wavelet transform denoising, principal component analysis, graph attention network and long short-term memory network with differential evolution algorithm, the data processing and feature extraction problems in driving intention recognition are solved, achieving efficient driving intention recognition, which is applicable to traditional cars and intelligent transportation systems.

CN118445603BActive Publication Date: 2026-11-24CHONGQING UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410386594.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-01
Publication Date
2026-11-24
Estimated Expiration
2044-04-01

AI Technical Summary

Technical Problem

Existing methods for recognizing driving intentions are inadequate in handling issues such as missing data, noise, complex data distribution, and vanishing gradients, resulting in low classification efficiency and accuracy.

Method used

A driving intention recognition model is constructed by combining wavelet transform denoising technology, principal component analysis, graph attention network and long short-term memory network with differential evolution algorithm for data preprocessing, dimensionality reduction and feature extraction.

Benefits of technology

It effectively removes noise and extracts key features, improving the accuracy and robustness of driver intent recognition. It is applicable to traditional cars and intelligent transportation systems, enhancing driving safety and comfort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118445603B_ABST
    Figure CN118445603B_ABST
Patent Text Reader

Abstract

This invention discloses a method for intelligent driving intention recognition in range-extended electric vehicles, comprising the following steps: Step 1: Data preprocessing; Step 2: Noise removal: using discrete wavelet transform to remove nonlinear and non-stationary noise from the driving behavior data; Step 3: Principal component analysis: using principal component analysis to reduce the dimensionality of the denoised driving behavior data; Step 4: Sliding window technique: using the sliding window technique to segment the driving behavior data into multiple time periods, each time period representing an independent driving intention; Step 5: Feature relationship enhancement: using graph attention networks to identify and enhance the interdependence between features, improving the representational power of the features; Step 6: Constructing a driving intention recognition model; Step 7: Driving intention recognition: using the driving intention recognition model to obtain the driving intention recognition result. This invention also discloses an intelligent driving intention recognition system and storage medium for range-extended electric vehicles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of intelligent driving technology, specifically a method, system, and storage medium for intelligent driving intent recognition in range-extended electric vehicles. Background Technology

[0002] Driving intention can be viewed as a driver's plan for future actions while driving. It is a mental activity involving intermittent estimations and judgments based on information such as the vehicle's own state, driving operations, and the external environment. Respecting the driver's intention not only better meets human pursuits for driving safety and comfort but also increases the acceptance of intelligent driver assistance systems and is a necessary part of perfecting human-machine co-driving. Driving intention recognition mainly refers to researchers identifying the possible driving intentions (such as left turn, right turn, or lane keeping) of surrounding vehicles by using environmental information and vehicle state information in the driving scenario.

[0003] Several common methods for driver intent recognition suffer from the following problems: Naive Bayes models are simple, not very sensitive to missing data, and have stable classification efficiency. Although they perform well on small datasets, they have a certain error rate in classification decisions. Gaussian Mixture Models (GMMs) have the advantages of high flexibility and flexible model parameters, enabling them to adapt to irregular data distributions, capture multimodal distributions, handle incompletely observable data, and perform clustering tasks. However, it is difficult to define the true values ​​of model parameters and probability values ​​in advance, resulting in high computational complexity. Simple Recurrent Neural Networks (RNNs) are prone to gradient explosion or gradient vanishing phenomena. Traditional Support Vector Machines (SVMs) are sensitive to missing data and require careful selection of kernel functions. Summary of the Invention

[0004] In view of this, the purpose of this invention is to provide a method, system and storage medium for intelligent driving intention recognition of range-extended electric vehicles, which provides a new and efficient driving intention recognition solution for intelligent transportation systems and autonomous driving technology, and has broad application prospects and important practical value.

[0005] To achieve the above objectives, the present invention provides the following technical solution:

[0006] This invention first proposes a method for intelligent driving intent recognition in range-extended electric vehicles, comprising the following steps:

[0007] Step 1: Data Preprocessing: Perform missing data imputation and normalization on the collected driving behavior data, including driving data and range extender data;

[0008] Step 2: Noise Removal: Discrete wavelet transform technology is used to remove nonlinear and non-stationary noise from the driving behavior data;

[0009] Step 3: Principal Component Analysis: Principal component analysis is used to reduce the dimensionality of the denoised driving behavior data in order to extract features that have a significant impact on driving intention recognition from the driving behavior data;

[0010] Step 4: Sliding window technique: The sliding window technique is used to divide the dimensionality-reduced driving behavior data into multiple time periods according to the time series, and each time period data represents an independent driving intention;

[0011] Step 5: Feature Relationship Enhancement: Utilize graph attention networks to identify and enhance the interdependencies between features, thereby improving the representational power of the features;

[0012] Step Six: Constructing a Driving Intent Recognition Model: The driving intent recognition model adopts an MLP model, which includes an input layer, two hidden layers, and an output layer. The hidden layers adopt an LSTM neural network.

[0013] Step 7: Driving Intent Recognition: Obtain the driving intent recognition result using the driving intent recognition model.

[0014] Furthermore, in step one, the method for imputing missing data in the driving behavior data is as follows:

[0015] Cubic spline interpolation method: Approximating the original data points using a cubic polynomial, for a given set of data points (x... i ,y i ), i = 0, 1, ..., n, the cubic spline interpolation function S(x) in the subinterval [x i ,x i+1 The expression for ] is;

[0016] S i (x)=a i +b i (xx i )+c i (xx i ) 2 +d i (xx i ) 3

[0017] Among them, S i (x) represents the subinterval [x] i ,x i+1 The expression for the cubic spline interpolation function S(x) at time ]; coefficient a i =y i Coefficient b i c i , and d i All are determined through a system of linear equations to ensure a smooth transition of the interpolation function between data points;

[0018] Polynomial interpolation method: A single polynomial interpolation function P(x) is used to approximate all given data points. For a given n+1 data points, the polynomial interpolation expression is:

[0019] P n (x)=a0+a1x+a2x 2 +...+a n x n

[0020] Among them, P n (x) represents the expression of the polynomial interpolation function P(x) given n+1 data points; coefficients a0, a1, ..., a n Determined by solving the Vandermonde matrix equation or using the Lagrange interpolation formula;

[0021] The interpolation result is obtained by averaging the combined cubic spline interpolation and polynomial interpolation.

[0022]

[0023] Where M(x) represents the interpolation result of imputing missing data in the driving behavior data.

[0024] Furthermore, in step one, the method for normalizing the driving behavior data is as follows:

[0025]

[0026] Where, x norm The data is normalized; x is the original data value; x max and x min These are the maximum and minimum values ​​in the dataset.

[0027] Furthermore, in step two, the method for denoising the driving behavior data is as follows:

[0028] After the original signal x(t) undergoes discrete wavelet transform, it can be represented as a set of wavelet coefficients at different scales and locations:

[0029]

[0030] Where ψ(t) is the wavelet basis function; a is the scale parameter; and b is the position parameter.

[0031] Discrete wavelet transform is performed on driving behavior data to decompose the data into wavelet coefficients in multiple frequency bands; a threshold is set according to the noise level to eliminate wavelet coefficients smaller than the threshold, and the remaining wavelet coefficients are used to reconstruct the data.

[0032] Furthermore, in step three, the method for dimensionality reduction of the denoised driving behavior data using principal component analysis comprises the following steps:

[0033] 21) Calculate the covariance matrix. The elements of the covariance matrix C are:

[0034]

[0035] Among them, C ij This represents the covariance between the i-th and j-th features; and Z represents the average values ​​of the i-th and j-th features, respectively; ki and Z kj Let represent the i-th and j-th eigenvalues ​​of the k-th sample in the standardized data matrix, respectively; m represents the number of samples.

[0036] 22) Solve for the eigenvalues ​​λ and corresponding eigenvectors υ of the covariance matrix C, satisfying the following equation:

[0037] Cυ=λυ

[0038] 23) Sort the eigenvalues ​​in descending order, and select the k largest eigenvalues ​​and their corresponding eigenvectors. The selected eigenvectors form a projection matrix V composed of eigenvectors. k ;

[0039] 24) Transform the original data matrix X into a new space defined by the principal components:

[0040] Y = X·V k

[0041] Here, Y is the transformed data matrix, and each column represents a principal component.

[0042] Furthermore, in step five, the principle of utilizing graph attention networks to identify and enhance the interdependence between features is as follows:

[0043] Suppose we have a graph G = (V, E), where V is the set of nodes and E is the set of edges; for each node i in the graph, there is an eigenvector h. i That is, the attention coefficient between node i and its neighboring node j is:

[0044] e ij =LeakyReLU(α) T [Wh i ||Wh j ])

[0045] Among them, e ijis the attention coefficient between node i and its neighboring node j; LeakyReLU is a non-linear activation function used to introduce non-linear factors and enhance the expressive power of the model; h i α is the feature vector of node i; W is the weight matrix, used to linearly transform the node features to a higher-level feature space; α is the learned weight vector, used to calculate the unnormalized attention weights between nodes; || represents the connection operation.

[0046] The attention coefficient is normalized using the softmax function:

[0047]

[0048] Where, α ij The attention coefficient e ij The value after normalization using the softmax function; N i Represents the set of neighboring nodes of node i;

[0049] The new feature vector for each node is calculated by aggregating the weighted features of its neighbors:

[0050]

[0051] in, This represents the new feature vector of node i.

[0052] Furthermore, in step six, the method for constructing the driving intention recognition model is as follows:

[0053] 61) Construct a driving intention recognition model based on an MLP model. The driving intention recognition model includes an input layer, two hidden layers and an output layer. The hidden layers adopt an LSTM neural network.

[0054] 62) Optimize the hyperparameters of the LSTM neural network using the differential evolution algorithm;

[0055] 621) Initialization: Initialize the population Each individual x i Mapped to the weights and bias parameters of an LSTM neural network;

[0056] 622) Calculate the fitness function for each individual and determine whether the current fitness value is less than the previous optimal fitness value: if yes, then use the current fitness value as the optimal fitness value; if no, then keep the optimal fitness value unchanged.

[0057] 623) Determine if the number of iterations g is equal to the set maximum number of iterations: if yes, terminate the iteration and proceed to step 63); if no, set g = g + 1 and proceed to step 624.

[0058] 624) Variation: for each individual x i Production mutation vector:

[0059] v i,g+1 =x r1,g +F·(x r2,g -x r3,g )

[0060] Among them, v i,g+1 For individual x i The mutation vector; x i,g It is the i-th individual in the current generation g; r1, r2, and r3 are three randomly selected different indices; F is the differential weight;

[0061] 625) Crossover: In the differential evolution algorithm, for each target vector x i,g Each of these will generate a corresponding mutation vector v. i,g+1 Then, the test vector u is generated through crossover operations. i,g+1 Each parameter u of the test vector ij,g+1 It shall be determined in the following ways:

[0062]

[0063] Among them, u ij,g+1 Let u be the test vector i,g+1 The j-th parameter; v ij,g+1 The mutation vector v i,g+1 The j-th parameter; x ij,g For the target vector x i,g The j-th parameter; CR is the crossover probability, a preset constant used to control the degree of crossover; D is the parameter dimension, i.e., the number of parameters in each individual vector; rand j rand generates a random number in the range [0,1] for each parameter independently; (1,D) Let be an integer randomly selected from the range [1,D], ensuring that each trial vector has at least one parameter from the mutation vector;

[0064] 626) Selection: Select the next generation of individuals based on the fitness function f(x):

[0065]

[0066] Where, x i,g+1 Let u be the i-th individual in the (g+1)-th generation of the population. i,g+1 The fitness is no less than that of the target vector x i,g fitness (i.e., f(u)) i,g+1 )≤f(x i,g )), then u i,g+1 Will replace xi,g Enter the next generation of the population. Otherwise, the target vector x i,g Remain unchanged and become an individual in the next generation of the population.

[0067] 627) Repeat step 622);

[0068] 63) The weights and bias parameters corresponding to the optimal fitness value are used as the optimal hyperparameters of the LSTM neural network to obtain a driving intention recognition model with optimal hyperparameters.

[0069] Furthermore, the principle of the driving intention recognition model is as follows:

[0070] (1) Forward propagation:

[0071] Given the input vector X = [x1, x2, x3, x4] in the input layer, the output H1 of the first hidden layer is:

[0072] H1 = ReLU(W1·X + b1)

[0073] Where W1 is the weight matrix of the first hidden layer and b1 is the bias vector of the first hidden layer;

[0074] The output H2 of the second hidden layer is:

[0075] H2 = ReLU(W2·H1 + b2)

[0076] Where W2 is the weight matrix of the second hidden layer, and b2 is the bias vector of the second hidden layer;

[0077] The output vector Y of the output layer is:

[0078] Y = softmax(W³·H² + b³)

[0079] Where W3 is the weight matrix of the third hidden layer, and b3 is the bias vector of the third hidden layer;

[0080] (2) Back propagation:

[0081] The cross-entropy loss function is adopted, and the Adam optimizer is used to minimize the cross-entropy loss during model training; the loss for a single sample is:

[0082]

[0083] Among them, y i It is a unique hot code for the real label. is the probability distribution predicted by the model; K is the number of driving intention classifications.

[0084] The present invention also proposes a range-extended vehicle intelligent driving intention recognition system, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described above.

[0085] The present invention also proposes a storage medium storing a computer program, which, when executed by a processor, implements the range-extended vehicle intelligent driving intention recognition method as described above.

[0086] The beneficial effects of this invention are as follows:

[0087] This invention presents a method for intelligent driving intent recognition in range-extended electric vehicles. It aims to effectively extract key features from driving behavior data and accurately identify driving intentions by comprehensively applying wavelet transform denoising technology, principal component analysis (PCA), graph attention network (GAT), long short-term memory network (LSTM), and differential evolution (DE) algorithm. First, wavelet transform denoising technology is used to process driving behavior data after missing data imputation and normalization to remove noise and retain valuable signals. Next, PCA is used to reduce the dimensionality of the denoised data and extract key features, while GAT is used to analyze these features, revealing complex relationships between features through graph structures and enhancing the model's feature understanding ability. Finally, LSTM is responsible for capturing long-term dependencies in time-series data to achieve dynamic recognition of driving intentions, and the DE algorithm is introduced to optimize LSTM network parameters, improving recognition accuracy and model robustness. This invention's method can realize the entire process from data acquisition to driving intent recognition. It is applicable not only to traditional vehicle driving data analysis but also to intelligent transportation systems, autonomous driving assistance systems, and other fields, effectively improving the safety and comfort of the driving process and possessing broad application potential and practical value. Attached Figure Description

[0088] To make the objectives, technical solutions, and beneficial effects of this invention clearer, the following figures are provided for illustration:

[0089] Figure 1 This is a flowchart of the intelligent driving intent recognition method for range-extended electric vehicles according to the present invention;

[0090] Figure 2 The result of processing "accelerator pedal opening" using wavelet transform denoising technology;

[0091] Figure 3 The results of dimensionality reduction of the instance data using component analysis (PCA);

[0092] Figure 4 A schematic diagram of the graph attention mechanism (GAT).

[0093] Figure 5 This is a network structure diagram of a driving intention recognition model;

[0094] Figure 6 A flowchart for building a driving intention recognition model. Detailed Implementation

[0095] The present invention will be further described below with reference to the accompanying drawings and specific embodiments, so that those skilled in the art can better understand and implement the present invention. However, the embodiments described are not intended to limit the present invention.

[0096] like Figure 1 As shown, the intelligent driving intent recognition method for range-extended electric vehicles includes the following steps.

[0097] Step 1: Data Preprocessing: Perform missing data imputation and normalization on the collected driving behavior data, including driving data and range extender data.

[0098] Specifically, in this embodiment, driving data includes vehicle speed, acceleration, pedal operation, etc.; range extender data includes range extender power output, motor power adjustment, and battery charging / discharging current, etc. Driving data and range extender data together constitute driving behavior data. Specifically, the method for imputing missing data in the driving behavior data is as follows:

[0099] Cubic spline interpolation: For input driving behavior data, cubic spline interpolation is first applied to fill in missing data. This method approximates the original data points using a series of cubic polynomials, where each polynomial is defined between adjacent data points. Specifically, for a given set of data points (x... i ,y i ), i = 0, 1, ..., n, the cubic spline interpolation function S(x) in the subinterval [x i ,x i+1 The expression for ] is;

[0100] S i (x)=a i +b i (xx i )+c i (xx i ) 2 +d i (xx i ) 3

[0101] Among them, S i (x) represents the subinterval [x] i ,x i+1 The expression for the cubic spline interpolation function S(x) at time ]; coefficient a i =y iCoefficient b i c i , and d i All are determined through a system of linear equations to ensure that the interpolation function transitions smoothly between data points.

[0102] Polynomial interpolation method: A single polynomial interpolation function P(x) is used to approximate all given data points. For a given n+1 data points, the polynomial interpolation expression is:

[0103] P n (x)=a0+a1x+a2x 2 +...+a n x n

[0104] Among them, P n (x) represents the expression of the polynomial interpolation function P(x) given n+1 data points; coefficients a0, a1, ..., a n It can be determined by solving the Vandermonde matrix equation or by using the Lagrange interpolation formula.

[0105] Finally, the results of cubic spline interpolation and polynomial interpolation are combined. To combine the results of these two interpolation methods, we first calculate the interpolation result of each method independently, and then take the average of the combined cubic spline interpolation and polynomial interpolation results to obtain the interpolation result:

[0106]

[0107] Where M(x) represents the interpolation result of missing data imputation of driving behavior data; S(x) is the cubic spline interpolation function; and P(x) is the polynomial interpolation function.

[0108] After imputing missing data in the driving behavior data, the data also needs to be normalized to a range between 0 and 1. The method for normalizing driving behavior data is as follows:

[0109]

[0110] Where, x norm The data is normalized; x is the original data value; x max and x min These are the maximum and minimum values ​​in the dataset.

[0111] Step 2: Noise Removal: Discrete wavelet transform technology is used to remove nonlinear and non-stationary noise from the driving behavior data.

[0112] Discrete wavelet transform (DWT) is employed to enhance the efficiency of removing nonlinear and non-stationary noise from driving behavior data. With its multi-scale signal analysis capabilities, DWT effectively separates useful signals from noise components in driving data, providing a cleaner and more accurate data foundation for subsequent data analysis and driving intention recognition. Specifically, the original signal x(t), after DWT, can be represented as a set of wavelet coefficients at different scales and translations:

[0113]

[0114] Where ψ(t) is the wavelet basis function; a is the scale parameter; and b is the position parameter.

[0115] Discrete wavelet transform is applied to driving behavior data to decompose the data into wavelet coefficients in multiple frequency bands. A threshold is set based on the noise level, and wavelet coefficients below the threshold are eliminated. The remaining wavelet coefficients are then used to reconstruct the data. Specifically, the result of applying wavelet transform denoising technology to the normalized data of "accelerator pedal opening" is as follows: Figure 2 As shown.

[0116] Step 3: Principal Component Analysis: Principal component analysis is used to reduce the dimensionality of the denoised driving behavior data in order to extract features that have a significant impact on driving intention recognition.

[0117] In driving behavior data analysis, raw data often contains a large number of variables, such as vehicle speed, acceleration, steering angle, pedal operation, range extender power output, motor power regulation, and battery charging and discharging current. These data may exhibit high dimensionality redundancy and complex nonlinear relationships in their raw form. By applying Principal Component Analysis (PCA), we can transform this high-dimensional data into a lower-dimensional principal component representation while retaining the most important variation information. First, given a dataset X, we calculate its mean μ and covariance matrix C. Then, we solve for the eigenvalues ​​λ and eigenvectors υ of the covariance matrix C, sort the eigenvectors according to their corresponding eigenvalues, and select the top k eigenvectors to form matrix V. k Finally, calculate the projection Y = X·V k Specifically, in this embodiment, the method for dimensionality reduction processing of the denoised driving behavior data using principal component analysis includes the following steps:

[0118] 21) Calculate the covariance matrix. The elements of the covariance matrix C are:

[0119]

[0120] Among them, C ij This represents the covariance between the i-th and j-th features; and Z represents the average values ​​of the i-th and j-th features, respectively; ki and Z kj Let represent the i-th and j-th eigenvalues ​​of the k-th sample in the standardized data matrix, respectively; m represents the number of samples.

[0121] 22) Solve for the eigenvalues ​​λ and corresponding eigenvectors υ of the covariance matrix C, satisfying the following equation:

[0122] Cυ=λυ

[0123] 23) Sort the eigenvalues ​​in descending order, and select the k largest eigenvalues ​​and their corresponding eigenvectors. The selected eigenvectors form a projection matrix V composed of eigenvectors. k ;

[0124] 24) Transform the original data matrix X into a new space defined by the principal components:

[0125] Y = X·V k

[0126] Here, Y is the transformed data matrix, and each column represents a principal component.

[0127] After PCA processing, we found that the number of range extender starts, accelerator pedal opening, battery discharge depth, and brake pedal opening became the most important input feature dimensions affecting driving intention recognition. This finding is based on the fact that these features directly reflect the driver's operating habits and behavioral intentions in specific driving situations. For example, the depth of accelerator pedal pressing and the rapid release may indicate an intention to accelerate or decelerate rapidly. Figure 3 As shown, the first two principal components were selected for example demonstration. Each point in the figure represents the projection of a sample in the dataset onto these two principal components.

[0128] Step 4: Sliding window technique: The sliding window technique is used to divide the dimensionality-reduced driving behavior data into multiple time periods according to the time series, and each time period data represents an independent driving intention.

[0129] Specifically, in this embodiment, the sliding window is defined as:

[0130] W(t) = [x t-n+1 ,x t-n+2 ,…,x t ]

[0131] Where t is the current time step and n is the window size. Dynamically adjusting the window to adapt to different driving modes and environmental changes can more effectively capture local features in time series data.

[0132] By using sliding window technology to process driving behavior data, and adapting to different driving modes and environmental changes, the window can be dynamically adjusted to more effectively capture local features in time series data.

[0133] Step 5: Feature Relationship Enhancement: Graph attention networks are used to identify and enhance the interdependencies between features, thereby improving the representational power of the features.

[0134] After extracting key features such as range extender start count, accelerator pedal opening, battery discharge depth, and brake pedal opening using Principal Component Analysis (PCA), these features are further analyzed in depth using Graph Attention Network (GAT). The principle is as follows: Figure 4 As shown. The introduction of GAT enables the system to understand the dynamic relationships between features more precisely, and how they collectively influence the formation of driving intentions. Graph Attention Networks (GANs) can highlight those features most critical to predicting the current driving intention by assigning different attention weights to each feature. Specifically, the principle of using Graph Attention Networks to identify and enhance the interdependencies between features is as follows:

[0135] Suppose we have a graph G = (V, E), where V is the set of nodes and E is the set of edges; for each node i in the graph, there is an eigenvector h. i That is, the attention coefficient between node i and its neighboring node j is:

[0136] e ij =LeakyReLU(α) T [Wh i ||Wh j ])

[0137] Among them, e ij is the attention coefficient between node i and its neighboring node j; LeakyReLU is a non-linear activation function used to introduce non-linear factors and enhance the expressive power of the model; h i is the feature vector of node i; W is the weight matrix, used to linearly transform the node features to a higher-level feature space; α is the learned weight vector, used to calculate the unnormalized attention weights between nodes; || represents the connection operation.

[0138] The attention coefficient is normalized using the softmax function:

[0139]

[0140] Where, α ij The attention coefficient e ij The value after normalization using the softmax function; N i Let i represent the set of neighboring nodes of node i.

[0141] The new feature vector for each node is calculated by aggregating the weighted features of its neighbors:

[0142]

[0143] in, This represents the new feature vector of node i.

[0144] Through GAT analysis, a comprehensive feature relationship graph can be obtained, which includes not only information about each feature itself, but also deeper information about the interactions between features. Furthermore, GAT can flexibly adjust the relationships and weight allocation between features under different driving environments and situations, thereby ensuring the robustness and adaptability of the model in changing environments.

[0145] Step Six: Constructing a Driving Intent Recognition Model: The driving intent recognition model adopts an MLP model, which includes an input layer, two hidden layers, and an output layer. The hidden layers adopt an LSTM neural network.

[0146] This embodiment employs a Long Short-Term Memory (LSTM) neural network to further capture long-term dependencies in time-series data, enabling accurate identification of complex driving intentions. The principle is as follows: Figure 5 As shown. For the input features: range extender start count, accelerator pedal opening, battery discharge depth, and brake pedal opening (4 feature dimensions), the LSTM neural network hidden layer dimensions are designed to correspond to 6 driving intentions: slow acceleration, normal acceleration, rapid acceleration, slow braking, normal braking, and emergency braking. Intention classification is achieved through the configuration of the input features and hidden layers. The MLP model designed in this embodiment has two hidden layers, each with 128 neurons. The input layer receives four feature dimensions, and the output layer has 6 neurons, corresponding to the prediction of the six driving intention categories. Specifically, the 4 neurons in the input layer correspond to the range extender start count, accelerator pedal opening, battery discharge depth, and brake pedal opening, respectively; hidden layer 1 and hidden layer 2 each have 128 neurons, using the ReLU activation function, i.e., ReLU(x) = max(0, x); the output layer has 6 neurons, using the softmax activation function to output the probability distribution, i.e., Where z i It is the input of the i-th neuron in the output layer.

[0147] Specifically, this embodiment uses the Differential Evolution (DE) algorithm to optimize the LSTM network parameters, automatically adjusting the weights and biases in the LSTM network and finding the optimal network configuration to improve the accuracy and efficiency of driver intent recognition. Figure 6 As shown, in this embodiment, the method for constructing the driving intent recognition model is as follows:

[0148] 61) Construct a driving intention recognition model based on an MLP model. The driving intention recognition model includes an input layer, two hidden layers and an output layer. The hidden layers adopt an LSTM neural network.

[0149] 62) Optimize the hyperparameters of the LSTM neural network using the differential evolution algorithm;

[0150] 621) Initialization: Initialize the population Each individual x i Mapped to the weights and bias parameters of an LSTM neural network;

[0151] 622) Calculate the fitness function for each individual and determine whether the current fitness value is less than the previous optimal fitness value: if yes, then use the current fitness value as the optimal fitness value; if no, then keep the optimal fitness value unchanged.

[0152] 623) Determine if the number of iterations g is equal to the set maximum number of iterations: if yes, terminate the iteration and proceed to step 63); if no, set g = g + 1 and proceed to step 624.

[0153] 624) Variation: for each individual x i Production mutation vector:

[0154] v i,g+1 =x r1,g +F·(x r2,g -x r3,g )

[0155] Among them, v i,g+1 For individual x i The mutation vector; x i,g It is the i-th individual in the current generation g; r1, r2, and r3 are three randomly selected different indices; F is the differential weight;

[0156] 625) Crossover: In the differential evolution algorithm, for each target vector x i,g Each of these will generate a corresponding mutation vector v. i,g+1 Then, the test vector u is generated through crossover operations. i,g+1 Each parameter u of the test vector ij,g+1 It shall be determined in the following ways:

[0157]

[0158] Among them, u ij,g+1 Let u be the test vector i,g+1 The j-th parameter; v ij,g+1 The mutation vector v i,g+1 The j-th parameter; x ij,g For the target vector xi,g The j-th parameter; CR is the crossover probability, a preset constant used to control the degree of crossover; D is the parameter dimension, i.e., the number of parameters in each individual vector; rand j rand generates a random number in the range [0,1] for each parameter independently; (1,D) Let be an integer randomly selected from the range [1,D], ensuring that each trial vector has at least one parameter from the mutation vector;

[0159] 626) Selection: Select the next generation of individuals based on the fitness function f(x):

[0160]

[0161] Where, x i,g+1 Let u be the i-th individual in the (g+1)-th generation of the population. i,g+1 The fitness is no less than that of the target vector x i,g fitness (i.e., f(u)) i,g+1 )≤f(x i,g )), then u i,g+1 Will replace x i,g Enter the next generation of the population. Otherwise, the target vector x i,g Remain unchanged and become an individual in the next generation of the population.

[0162] 627) Repeat step 622);

[0163] 63) The weights and bias parameters corresponding to the optimal fitness value are used as the optimal hyperparameters of the LSTM neural network to obtain a driving intention recognition model with optimal hyperparameters.

[0164] This embodiment uses the DE algorithm to optimize the parameters of the LSTM model, which can effectively improve the accuracy of recognizing driving intentions. During the optimization process, the model's performance can be evaluated through cross-validation or its performance on the validation set to ensure that the final selected parameter configuration enables the model to achieve optimal performance.

[0165] The principle of the driving intent recognition model in this embodiment is as follows:

[0166] (1) Forward propagation:

[0167] Given the input vector X = [x1, x2, x3, x4] in the input layer, the output H1 of the first hidden layer is:

[0168] H1 = ReLU(W1·X + b1)

[0169] Where W1 is the weight matrix of the first hidden layer and b1 is the bias vector of the first hidden layer;

[0170] The output H2 of the second hidden layer is:

[0171] H2 = ReLU(W2·H1 + b2)

[0172] Where W2 is the weight matrix of the second hidden layer, and b2 is the bias vector of the second hidden layer;

[0173] The output vector Y of the output layer is:

[0174] Y = softmax(W³·H² + b³)

[0175] Where W3 is the weight matrix of the third hidden layer, and b3 is the bias vector of the third hidden layer;

[0176] (2) Back propagation:

[0177] The cross-entropy loss function is adopted, and the Adam optimizer is used to minimize the cross-entropy loss during model training; the loss for a single sample is:

[0178]

[0179] Among them, y i It is a unique hot code for the real label. is the probability distribution predicted by the model; K is the number of driving intention classifications.

[0180] Step 7: Driving Intent Recognition: Obtain the driving intent recognition result using the driving intent recognition model.

[0181] In particular, this embodiment also proposes a range-extended vehicle intelligent driving intention recognition system, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the method described above in this embodiment.

[0182] This embodiment also proposes a storage medium on which a computer program is stored. When the computer program is executed by a processor, it implements the range-extended vehicle intelligent driving intention recognition method described above in this embodiment.

[0183] This embodiment has the following technical effects:

[0184] (1) Improved recognition accuracy: By integrating wavelet transform denoising technology, principal component analysis (PCA), graph attention network (GAT), long short-term memory network (LSTM), and differential evolution (DE) algorithm, key features can be extracted from driving behavior data more effectively, and driving intentions can be accurately identified. In particular, the introduction of differential evolution algorithm provides an effective means for optimizing LSTM network parameters, thereby significantly improving the accuracy of driving intention recognition.

[0185] (2) Enhanced data processing capabilities: Wavelet transform denoising technology can effectively remove noise from driving behavior data, retaining valuable signals and providing a more accurate data foundation for subsequent feature extraction and analysis. In addition, the application of PCA further reduces the dimensionality of the data, reduces computational complexity, and improves processing efficiency.

[0186] (3) Capturing complex feature relationships: The introduction of Graph Attention Network (GAT) enables the model to identify and strengthen the interdependencies between features, improving the representational power of features. This is particularly important for understanding complex relationships in driving behavior data, and helps improve the model's generalization ability and recognition performance.

[0187] (4) Achieving dynamic driving intention recognition: LSTM networks can capture long-term dependencies in time-series data, making them suitable for analyzing dynamic and continuous driving behavior data. This enables the present invention to accurately identify the driver's driving intention in real time, which is of great significance for improving driving safety and comfort.

[0188] (5) Wide applicability: This invention is not only applicable to traditional vehicle driving data analysis, but can also provide technical support for intelligent transportation systems, autonomous driving assistance systems, etc. Its versatility and scalability allow this method to be adjusted and optimized according to the needs of different application scenarios, and it has broad application prospects.

[0189] The above-described embodiments are merely preferred embodiments provided to fully illustrate the present invention, and the scope of protection of the present invention is not limited thereto. Equivalent substitutions or modifications made by those skilled in the art based on the present invention are all within the scope of protection of the present invention. The scope of protection of the present invention is defined by the claims.

Claims

1. A method for recognizing intelligent driving intentions in a range-extended electric vehicle, characterized in that: Includes the following steps: Step 1: Data Preprocessing: The collected driving behavior data, including driving data and range extender data, is subjected to missing data imputation and normalization processing; the range extender data includes range extender power output, motor power adjustment, and battery charging and discharging current. Step 2: Noise Removal: Discrete wavelet transform technology is used to remove nonlinear and non-stationary noise from the driving behavior data; Step 3: Principal Component Analysis: Principal component analysis is used to reduce the dimensionality of the denoised driving behavior data in order to extract features that have a significant impact on driving intention recognition from the driving behavior data; Step 4: Sliding window technique: The sliding window technique is used to divide the dimensionality-reduced driving behavior data into multiple time periods according to the time series, and each time period data represents an independent driving intention; Step 5: Feature Relationship Enhancement: Utilize graph attention networks to identify and enhance the interdependencies between features, thereby improving the representational power of the features; Step Six: Constructing a Driving Intent Recognition Model: The driving intent recognition model adopts an MLP model, which includes an input layer, two hidden layers, and an output layer. The hidden layers adopt an LSTM neural network. Step 7: Driving Intent Recognition: Obtain the driving intent recognition result using the driving intent recognition model.

2. The method for intelligent driving intent recognition of range-extended electric vehicles according to claim 1, characterized in that: In step one, the method for imputing missing data in driving behavior data is as follows: Cubic spline interpolation method: Approximates the original data points using a cubic polynomial, thus providing a given set of data points. , cubic spline interpolation function In subinterval The expression is: in, Indicates in subinterval cubic spline interpolation function The form of expression; coefficient ;coefficient , ,and All are determined through a system of linear equations to ensure a smooth transition of the interpolation function between data points; Polynomial interpolation method: uses a single polynomial interpolation function. To approximate all given data points, for a given For each data point, the polynomial interpolation expression is: in, Indicates a given Polynomial interpolation function for data points The expression; coefficients Determined by solving the Vandermonde matrix equation or using the Lagrange interpolation formula; The interpolation result is obtained by averaging the combined cubic spline interpolation and polynomial interpolation. in, This represents the interpolation result of imputing missing data in driving behavior data.

3. The method for intelligent driving intent recognition of range-extended electric vehicles according to claim 1, characterized in that: In step one, the method for normalizing the driving behavior data is as follows: in, The data is after normalization; The original data value; and These are the maximum and minimum values ​​in the dataset.

4. The method for intelligent driving intent recognition of range-extended electric vehicles according to claim 1, characterized in that: In step two, the method for denoising the driving behavior data is as follows: Original signal After discrete wavelet transform, it can be represented as a set of wavelet coefficients at different scales and locations: in, These are wavelet basis functions; It is a scale parameter; It is a position parameter; Discrete wavelet transform is performed on driving behavior data to decompose the data into wavelet coefficients in multiple frequency bands; a threshold is set according to the noise level to eliminate wavelet coefficients smaller than the threshold, and the remaining wavelet coefficients are used to reconstruct the data.

5. The method for intelligent driving intent recognition of range-extended electric vehicles according to claim 1, characterized in that: In step three, the method for dimensionality reduction of the denoised driving behavior data using principal component analysis is as follows: 21) Calculate the covariance matrix. The elements are: in, Indicates the first The and the first Covariance among features; and They represent the first The and the first The average value of each feature; and These represent the first and second elements in the standardized data matrix, respectively. The first sample The eigenvalue and the eigenvalue One eigenvalue; Indicates the number of samples; 22) Solve for the covariance matrix eigenvalues and the corresponding feature vector It satisfies the following equation: 23) Sort the eigenvalues ​​in descending order and select the top ones. The largest eigenvalue and its corresponding eigenvector are selected, and the selected eigenvectors form a projection matrix composed of eigenvectors. ; 24) The original data matrix Transform to a new space defined by the principal components: in, It is the transformed data matrix, with each column representing a principal component.

6. The method for intelligent driving intent recognition of range-extended vehicles according to claim 1, characterized in that: In step five, the principle of using graph attention networks to identify and enhance the interdependence between features is as follows: Suppose there is a graph ,in, It is a set of nodes. It is a set of edges; for each node in the graph Each has a feature vector ; that is, nodes With adjacent nodes The attention coefficient between them is: in, For nodes With adjacent nodes Attention coefficient between them; It is a non-linear activation function used to introduce non-linear factors and enhance the expressive power of the model; It is a node eigenvectors; It is a weight matrix used to linearly transform node features to a higher-level feature space; It is the learned weight vector used to calculate the unnormalized attention weights between nodes; Indicates a connection operation; Attention coefficient through Normalize the function: in, Attention coefficient pass The normalized value of the function; Represents a node The set of neighboring nodes; The new feature vector for each node is calculated by aggregating the weighted features of its neighbors: in, Represents a node The new eigenvectors.

7. The method for intelligent driving intent recognition of range-extended electric vehicles according to claim 1, characterized in that: In step six, the method for constructing the driving intention recognition model is as follows: 61) Construct a driving intention recognition model based on an MLP model. The driving intention recognition model includes an input layer, two hidden layers and an output layer. The hidden layers adopt an LSTM neural network. 62) Optimize the hyperparameters of the LSTM neural network using the differential evolution algorithm; 621) Initialization: Initialize the population Each individual Mapped to the weights and bias parameters of an LSTM neural network; 622) Calculate the fitness function for each individual and determine whether the current fitness value is less than the previous optimal fitness value: if yes, then use the current fitness value as the optimal fitness value; if no, then keep the optimal fitness value unchanged. 623) Determine the number of iterations Is it equal to the set maximum number of iterations? If yes, terminate the iteration and proceed to step 63); if no, let... (Execute step 624). 624) Variation: for each individual Production mutation vector: in, For individuals The mutation vector; Is the current generation The Middle Individual; , and These are three different indexes selected randomly; It is differential weight; 625) Crossover: In the differential evolution algorithm, for each target vector Each of these will generate a corresponding mutation vector. Then, test vectors are generated through crossover operations. Each parameter of the test vector It shall be determined in the following ways: in, For the test vector The One parameter; For the mutation vector The One parameter; target vector The One parameter; It is the crossover probability, a preset constant used to control the degree to which crossovers occur; It is the parameter dimension, that is, the number of parameters in each individual vector; This is a random number in the range [0,1] generated independently for each parameter; Let be an integer randomly selected from the range [1,D], ensuring that each trial vector has at least one parameter from the mutation vector; 626) Selection: Based on fitness function Selecting the next generation of individuals: in, For the first The first generation of the population Individuals; if the experimental vector The fitness is no less than that of the target vector. fitness, i.e. ,So Will replace Enter the next generation of the population; otherwise, the target vector They remain unchanged and become individuals in the next generation of the species; 627) Repeat step 622). 63) The weights and bias parameters corresponding to the optimal fitness value are used as the optimal hyperparameters of the LSTM neural network to obtain a driving intention recognition model with optimal hyperparameters.

8. The method for intelligent driving intent recognition of range-extended vehicles according to claim 1, characterized in that: The principle of the driving intention recognition model is as follows: (1) Forward propagation: Input vector in the input layer The output of the first hidden layer; for: in, It is the weight matrix of the first hidden layer. It is the bias vector of the first hidden layer; Output of the second hidden layer for: in, It is the weight matrix of the second hidden layer. It is the bias vector of the second hidden layer; Output vector of the output layer for: in, It is the weight matrix of the third hidden layer. It is the bias vector of the third hidden layer; (2) Backpropagation: The cross-entropy loss function is adopted, and the Adam optimizer is used to minimize the cross-entropy loss during model training; the loss for a single sample is: in, It is a unique hot code for the real label. It is the probability distribution predicted by the model; Number of categories for driving intentions.

9. A range-extended electric vehicle intelligent driving intent recognition system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, it implements the method as described in any one of claims 1-8.

10. A storage medium, characterized in that: The storage medium stores a computer program, which, when executed by a processor, implements the range-extended vehicle intelligent driving intention recognition method as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Power battery thermal management method and system based on driver intention recognition

    CN114725543A

  • Online evaluation method for driving intention recognition accuracy of intelligent networked HEV (hybrid electric vehicle)

    CN116461536A