Automobile energy consumption prediction method, device, storage medium and equipment

Through machine learning technology and feature extraction model, combined with the acoustic wave propagation optimization algorithm and twin support vector machine model, the problem of the impact of dynamic operating conditions in the energy consumption prediction of new energy vehicles is solved, and the prediction accuracy and stability are improved.

CN118312862BActive Publication Date: 2024-10-11GAC AION NEW ENERGY AUTOMOBILE CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410727188.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-10-11
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

Existing new energy vehicle energy consumption prediction technology cannot consider dynamic vehicle operating conditions, resulting in poor prediction accuracy.

Method used

Machine learning technology is used to obtain real-time monitoring data, and energy consumption-related features are extracted through feature extraction models and feature dimensionality reduction models. The neural network optimization algorithm based on acoustic wave propagation is used to update model parameters, and the twin support vector machine model is combined for energy consumption prediction.

Benefits of technology

It improves the accuracy and stability of vehicle energy consumption prediction, overcomes gradient-related problems, and enhances the model's adaptability to complex data sets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118312862B_ABST
    Figure CN118312862B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, storage medium and equipment for predicting automobile energy consumption. In the method, the current battery data, vehicle driving data and environmental condition data of the target automobile are obtained, and after feature extraction and dimensionality reduction processing, energy consumption related features are obtained. Then, the energy consumption related features are processed based on the energy consumption prediction model to determine the energy consumption level of the target automobile. In this way, machine learning technology is used to comprehensively consider the impact of dynamic vehicle operating conditions, improve the accuracy and stability of automobile energy consumption prediction, and use a neural network optimization algorithm based on sound wave propagation to update the model parameters of the feature extraction model, overcome gradient-related problems, and effectively improve the performance of the feature extraction model, thereby further improving the accuracy of the prediction results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, device, storage medium and equipment for predicting automobile energy consumption. Background Art

[0002] At present, new energy vehicles are gradually becoming the key development direction of the automotive industry and market. Energy consumption prediction is one of the key technologies to ensure vehicle energy efficiency, extend battery life, and optimize driving performance. The energy consumption of new energy vehicles is affected by many factors, including driving behavior, road conditions, ambient temperature, etc. The complexity of these factors brings challenges to the energy consumption prediction of new energy vehicles.

[0003] The current new energy vehicle energy consumption prediction technology mostly uses methods based on vehicle dynamics models, such as the Longitudinal Vehicle Model (LDM) and the Vehicle Specific Power (VSP) model to estimate vehicle energy consumption. This method often simulates vehicle operating conditions through fixed operating conditions. However, the actual driving conditions of vehicles are very complex. This method cannot consider the impact of dynamic vehicle operating conditions, so the prediction accuracy is poor. Summary of the invention

[0004] The purpose of the present application is to provide a method, device, storage medium and equipment for predicting automobile energy consumption, aiming to solve the problem that the vehicle energy consumption prediction method in the related art cannot take into account the impact of dynamic vehicle operating conditions and has poor prediction accuracy.

[0005] In the first aspect, the present application provides a method for predicting automobile energy consumption, comprising: obtaining real-time monitoring data of a target automobile; the real-time monitoring data comprises battery data, vehicle driving data and environmental condition data; performing feature extraction on the real-time monitoring data through a feature extraction model, and then performing dimension reduction processing on the extracted features through a feature dimension reduction model to obtain energy consumption related features; the feature extraction model is obtained by simulating the propagation of sound waves in various propagation paths, searching for the optimal path and optimizing model parameters according to the optimal path; the energy consumption related features are processed based on the energy consumption prediction model to determine the energy consumption level of the target automobile.

[0006] In the above implementation process, the current battery data, vehicle driving data and environmental condition data of the target vehicle are obtained, and after feature extraction and dimensionality reduction processing, energy consumption related features are obtained. Then, the energy consumption related features are processed based on the energy consumption prediction model to determine the energy consumption level of the target vehicle. In this way, machine learning technology is used to comprehensively consider the impact of dynamic vehicle operating conditions, improve the accuracy and stability of vehicle energy consumption prediction, and use a neural network optimization algorithm based on sound wave propagation to update the model parameters of the feature extraction model, overcome gradient-related problems, and effectively improve the performance of the feature extraction model, thereby further improving the accuracy of the prediction results.

[0007] Furthermore, in some examples, the battery data includes battery temperature; the vehicle driving data includes vehicle speed, vehicle acceleration, vehicle load, driving distance and driving mode; and the environmental condition data includes external temperature, humidity, wind speed, wind direction and road conditions.

[0008] In the above implementation process, an optional type of real-time monitoring data is provided that can be used to accurately predict the energy consumption level of the target vehicle.

[0009] Furthermore, in some examples, the feature extraction model, the feature dimensionality reduction model and the energy consumption prediction model are trained based on a training data set; the training data set includes an original sample set and a synthetic sample set; the original sample set is obtained based on historical monitoring data and corresponding true labels; the true label is the energy consumption level annotated with the historical monitoring data; the synthetic sample set is generated by data expansion of the original sample set.

[0010] In the above implementation process, an optional source of training data sets for training the model is provided, and samples are generated based on the original data, which is conducive to improving the generalization ability and accuracy of the model.

[0011] Furthermore, in some examples, the synthetic sample set is generated by performing data augmentation on the original sample set using a SMOTE algorithm based on quadratic programming; the SMOTE algorithm uses a quadratic programming method to select target sample points from the original sample set, and then generates synthetic samples by interpolating between the target sample points.

[0012] In the above implementation process, an improved SMOTE algorithm is used for sample generation. The quadratic programming method is introduced to select sample points for generating synthetic samples to ensure that the similarity between the selected sample points is maximized, thereby generating synthetic samples that are closer to the real data distribution.

[0013] Furthermore, in some examples, the model parameters of the feature extraction model include weights and biases; the optimization process of the model parameters is expressed based on the following formula:

[0014]

[0015]

[0016]

[0017]

[0018] In the formula, and Represent the updated weights and biases respectively; and Respectively represent the weight and bias before updating; represents the learning rate, which gradually decreases during the iteration process; represents the energy at a specific threshold value, wherein the energy at the specific threshold value is determined according to the set initial energy and the reflected energy of the sound wave in the process of simulating the propagation of the sound wave in various propagation paths; and Represent the loss gradients on weights and biases respectively; represents the fitness function value; and Represent the momentum terms of the updated weights and biases respectively; and Represent the momentum terms of weights and biases before update respectively; represents the momentum coefficient; represents a frequency response function value, and the frequency response function value is positively correlated with the inverse of the frequency of the optimization process of the model parameters.

[0019] In the above implementation process, a specific optimization method for the model parameters of the feature extraction model is provided.

[0020] Further, in some examples, the feature dimensionality reduction model includes a nonlinear latent mapping autoencoder.

[0021] In the above implementation process, a nonlinear latent mapping autoencoder is used to reduce the dimensionality of features, effectively maintain the key information of the original data, and provide high-quality feature representation for subsequent classification predictions.

[0022] Furthermore, in some examples, the energy consumption prediction model includes a twin support vector machine model; the twin support vector machine model adjusts the classification boundary through a submodular function optimization strategy.

[0023] In the above implementation process, a twin support vector machine classification algorithm based on submodular function optimization is adopted as the classifier for new energy vehicle energy consumption prediction. By introducing submodular function optimization, a more flexible adjustment of the classification boundary is achieved, thereby enhancing the model's adaptability to complex data sets.

[0024] In the second aspect, the present application provides an automobile energy consumption prediction device, including: an acquisition module, used to obtain real-time monitoring data of a target automobile; the real-time monitoring data includes battery data, vehicle driving data and environmental condition data; a dimension reduction module, used to extract features from the real-time monitoring data through a feature extraction model, and then perform dimension reduction processing on the extracted features through a feature dimension reduction model to obtain energy consumption related features; the feature extraction model is obtained by simulating the propagation of sound waves in various propagation paths, searching for the optimal path and optimizing model parameters according to the optimal path; a determination module, used to process the energy consumption related features based on the energy consumption prediction model to determine the energy consumption level of the target automobile.

[0025] In a third aspect, the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of the first aspects when executing the computer program.

[0026] In a fourth aspect, the present application provides a computer-readable storage medium, on which instructions are stored. When the instructions are executed on a computer, the computer executes the method as described in any one of the first aspects.

[0027] In a fifth aspect, the present application provides a computer program product, which, when running on a computer, enables the computer to execute the method as described in any one of the first aspects.

[0028] Other features and advantages disclosed in the present application will be described in the following description, or some features and advantages can be inferred or determined without doubt from the description, or can be learned by implementing the above-mentioned technology disclosed in the present application.

[0029] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0031] Figure 1 A flow chart of a method for predicting automobile energy consumption provided in an embodiment of the present application;

[0032] Figure 2 A schematic diagram of a workflow of an artificial intelligence-based new energy vehicle energy consumption prediction solution provided in an embodiment of the present application;

[0033] Figure 3 A block diagram of a vehicle energy consumption prediction device provided in an embodiment of the present application;

[0034] Figure 4 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

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

[0037] As described in the background art, the vehicle energy consumption prediction method in the related art cannot consider the impact of dynamic vehicle operating conditions and has poor prediction accuracy. Based on this, the embodiment of the present application provides a vehicle energy consumption prediction solution to solve the above problem.

[0038] Next, the embodiments of the present application are introduced:

[0039] like Figure 1 As shown, Figure 1 This is a flow chart of a method for predicting automobile energy consumption provided by an embodiment of the present application. The method can be applied to a cloud server, which can refer to the cloud service backend of an automobile enterprise. The vehicle side can upload data related to energy consumption to the cloud server through a mobile network, and accurately evaluate the current energy consumption level of the vehicle with the help of the powerful computing power and storage space of the cloud server. Of course, when the vehicle side has sufficient computing resources and storage space, the method can also be applied to the vehicle side.

[0040] The method comprises:

[0041] Step 101, obtaining real-time monitoring data of a target vehicle; the real-time monitoring data includes battery data, vehicle driving data and environmental condition data;

[0042] The target car mentioned in this step is a new energy vehicle whose energy consumption level needs to be evaluated in real time. In this embodiment, the energy consumption level of the target car is evaluated through the real-time monitoring data of the target car, and the real-time monitoring data here can be data related to energy consumption collected by the sensor system installed on the target car, including battery data, vehicle driving data and environmental condition data.

[0043] Among them, optionally, the battery data may include battery temperature, etc. The vehicle driving data may include vehicle speed, vehicle acceleration, vehicle load, driving distance, driving mode, etc.; the driving mode may be a setting related to the power output state of the vehicle, such as economic mode, standard mode, sports mode, etc. The vehicle may affect the power output state of the vehicle through the driving mode selection according to the actual use. The environmental condition data may include external temperature, humidity, wind speed, wind direction, road surface conditions, etc. The road surface conditions may be data characterizing whether the road surface of the vehicle driving section is flat and the corresponding slope value. Of course, in actual applications, some of the above real-time monitoring data can also be obtained by other means, for example, obtaining external temperature, wind speed and wind direction from an environmental monitoring station. By collecting the above data, the model can comprehensively consider various factors related to energy consumption, so as to accurately and effectively predict the energy consumption level of the target vehicle.

[0044] Step 102: extract features from the real-time monitoring data through a feature extraction model, and then reduce the extracted features through a feature dimension reduction model to obtain energy consumption related features; the feature extraction model is obtained by simulating the propagation of sound waves in various propagation paths, searching for the optimal path and optimizing model parameters according to the optimal path;

[0045] In this embodiment, machine learning technology is used to evaluate the energy consumption level of automobiles. Therefore, after obtaining real-time monitoring data, feature extraction is performed on it to capture the intrinsic patterns and key information in the data; then, the extracted features are subjected to dimensionality reduction processing to obtain low-dimensional energy consumption related features to improve processing efficiency. In this process, considering that problems such as gradient disappearance, explosion or falling into local optimal solutions may be encountered during model training, which easily limit the prediction accuracy and practicality of the model, this embodiment proposes a neural network optimization algorithm based on sound wave propagation, which is inspired by the principle of sound wave propagation, that is, when a sound source emits a sound, the sound wave will propagate along the fastest path. Therefore, the feature extraction model of this embodiment regards the neural network parameter update path as a sound wave, simulates the propagation of sound waves in various propagation paths, to find the fastest optimization path, and updates the neural network parameters according to the selected optimal path, thereby overcoming gradient-related problems and improving the stability of the training process and the performance of the feature extraction model.

[0046] In some embodiments, the model parameters of the feature extraction model mentioned in this step may include weights and biases; the optimization process of the model parameters is expressed based on the following formula:

[0047]

[0048]

[0049]

[0050]

[0051] In the formula, and Represent the updated weights and biases respectively; and Respectively represent the weight and bias before updating; represents the learning rate, which gradually decreases during the iteration process; represents the energy at a specific threshold value, wherein the energy at the specific threshold value is determined according to the set initial energy and the reflected energy of the sound wave in the process of simulating the propagation of the sound wave in various propagation paths; and Represent the loss gradients on weights and biases respectively; represents the fitness function value; and Represent the momentum terms of the updated weights and biases respectively; and Represent the momentum terms of weights and biases before update respectively; represents the momentum coefficient; represents a frequency response function value, and the frequency response function value is positively correlated with the inverse of the frequency of the optimization process of the model parameters.

[0052] That is to say, in the process of optimizing the model parameters of the feature extraction model, a multi-layer loss propagation path is constructed, multiple propagation paths are simulated, and different medium characteristics are assigned to each layer of loss surface; when the sound wave propagates between the media, its energy will be partially reflected. This embodiment simulates this phenomenon in the process of optimizing the model parameters and sets the initial energy , reflection coefficient Determined by the dielectric properties of each layer of loss surface, the reflected energy of the sound wave between the i-th layer and the i+1-th layer is , the energy that continues to propagate ; In this way, the path and energy of the sound wave after each reflection are recorded, and the energy attenuation of the sound wave is taken into account. After that, according to the propagation and reflection of the sound wave in each propagation path, the path with the smallest energy attenuation is selected as the parameter update path. At this time, the fitness function is defined As a fitness indicator to measure the quality of model parameter optimization; considering the propagation of sound waves in different propagation paths, in addition to the propagation and attenuation of its energy, the frequency of the sound wave is also a very important characteristic, so the frequency response function is used As a modulation method to guide the update of model parameters, according to the physical meaning of frequency, it is deduced from the perspective of energy to obtain ; and, in order to simulate the continuous propagation of sound waves, a momentum term is introduced for each weight and bias, which are and , while simulating the energy decay of the sound wave and gradually reducing the learning rate In this way, the weights and biases are updated based on the above parameters, and the optimal weights and biases are finally output, that is, a trained feature extraction model is obtained.

[0053] The features extracted from the real-time monitoring data by the feature extraction model are input into the feature dimensionality reduction model for dimensionality reduction processing. In some embodiments, the feature dimensionality reduction model mentioned in this step may include a nonlinear potential mapping autoencoder. Autoencoder is a neural network model for unsupervised learning, which realizes the compression and decompression process of data by encoding the input data into a latent space representation and reconstructing it back to the original input through a decoder. Autoencoders usually have an intermediate bottleneck layer, also known as a latent layer. When the data passes through the autoencoder, it is first compressed to the latent layer, and then the original data is reconstructed from this compressed representation. Due to the dimensionality limitation of the latent layer, this compression process is actually learning the intrinsic structure or pattern of the data. The nonlinear latent mapping refers to the nonlinear transformation used by the autoencoder when mapping the data from the input layer to the latent layer. This nonlinear transformation is achieved through an activation function in the neural network, such as the ReLU activation function. Therefore, when using a nonlinear latent mapping autoencoder to reduce the dimensionality of features, the autoencoder will learn the latent representation of the input data, focusing on retaining the intrinsic geometric structure of the data, thereby effectively maintaining the key information of the original data during the feature dimensionality reduction process and providing high-quality feature representation for subsequent classification predictions.

[0054] Step 103: Process the energy consumption correlation features based on the energy consumption prediction model to determine the energy consumption level of the target vehicle.

[0055] In this embodiment, an energy consumption prediction model is used to process energy consumption related features, and the energy consumption level of the target vehicle is determined according to the output results of the energy consumption prediction model. In this way, with the help of a machine learning algorithm, the energy consumption level of the vehicle is predicted by considering the impact of dynamic vehicle operating conditions, thereby effectively improving the prediction accuracy.

[0056] Specifically, in some embodiments, the energy consumption prediction model mentioned in this step may include a twin support vector machine model; the twin support vector machine model adjusts the classification boundary through a submodular function optimization strategy. Twin Support Vector Machines (TWSVM) is a new machine learning algorithm developed on the basis of traditional support vector machines (SVM). The fundamental difference between TWSVM and SVM is that TWSVM solves the binary classification problem by solving two sets of small quadratic programming (QP), while SVM solves all classification problems by solving a set of large QPs. Therefore, TWSVM can achieve a solution speed increase of about 4 times. TWSVM uses two different hyperplanes to approximate two types of data points respectively, making the algorithm more efficient in dealing with data imbalance problems, and these two hyperplanes constitute the classification boundary of TWSVM. When a new sample point arrives, the algorithm will determine the category to which it belongs based on the distance between the new sample point and the two hyperplanes. The submodular function is a set function. As the number of elements in the input set increases, the difference in function increments caused by adding a single element to the input set decreases. Submodular function optimization is referred to as submodular optimization, which mainly involves the maximization or minimization problem of submodular functions. This embodiment introduces submodular function optimization into TWSVM for classification boundary adjustment. When implementing, the objective function of TWSVM is defined as the optimization problem of positive and negative categories respectively. In the process of minimizing the objective function, combined with submodular optimization, the penalty term is dynamically adjusted according to the distribution of data points relative to the decision boundary to balance the maximization boundary and the minimization error. In this way, a more flexible adjustment of the classification boundary is achieved, thereby enhancing the model's adaptability to complex data sets.

[0057] The trained energy consumption prediction model can classify and predict energy consumption related features and output prediction categories, which can reflect the energy consumption level of the target vehicle. The energy consumption level here can include three categories: high energy consumption, medium energy consumption and low energy consumption, and can also be subdivided into multiple categories corresponding to different power consumption ranges. The vehicle can execute corresponding control strategies according to the predicted energy consumption level. For example, when the energy consumption level of the target vehicle is high energy consumption, the driver is prompted to reduce the speed; when the energy consumption level of the target vehicle is low energy consumption, the battery protection state is turned off, and so on.

[0058] The feature extraction model, feature dimensionality reduction model and energy consumption prediction model mentioned above can be obtained by training based on a training data set; the training data set includes an original sample set and a synthetic sample set; the original sample set is obtained based on historical monitoring data and corresponding real labels; the real label is the energy consumption level annotated for the historical monitoring data; the synthetic sample set is generated by data expansion of the original sample set. In other words, the historical monitoring data of the target car, i.e., historical battery data, historical vehicle driving data and historical environmental condition data, are collected, and real labels are set by manual annotation to indicate the corresponding energy consumption level. The original sample set is obtained through these historical monitoring data. Considering that insufficient training samples may easily lead to poor generalization ability of the model and affect the accuracy of the model, the scheme of this embodiment expands the data based on the original sample set to generate a synthetic sample set, and the original sample set and the synthetic sample set are combined into a training data set to train the feature extraction model, feature dimensionality reduction model and energy consumption prediction model, thereby improving the generalization ability and accuracy of the model.

[0059] Furthermore, in some embodiments, the aforementioned synthetic sample set may be generated by performing data expansion on the original sample set using the SMOTE algorithm based on quadratic programming; the SMOTE algorithm uses a quadratic programming method to select target sample points from the original sample set, and then generates synthetic samples by interpolating between the target sample points. The SMOTE (Synthetic Minority Over-sampling Technique) algorithm is an algorithm for solving the problem of data imbalance. Its basic idea is to analyze minority class samples and artificially synthesize new samples based on minority class samples and add them to the data set. In the present embodiment, a quadratic programming method is introduced on the basis of the traditional SMOTE algorithm to select sample points for generating synthetic samples, ensuring that the similarity between the selected sample points is maximized, thereby generating synthetic samples that are closer to the real data distribution. In implementation, a data set can be constructed based on minority class samples in the original sample set. For each sample in the data set, the similarity between it and other samples is calculated, and a similarity matrix is ​​obtained based on the calculation results. Then, the similarity matrix is ​​optimized using a quadratic programming method, and the sample points with the highest similarity are selected to find the sample points that best represent the distribution of minority class data. Then, the selected sample pairs are interpolated to generate new synthetic samples. In this way, the quality of synthetic samples is effectively improved.

[0060] Of course, in other embodiments, other sample generation algorithms may also be used to generate samples, such as Adaptive Synthetic Sampling (ADASYN) algorithm, Variational Autoencoder (VAE), etc., and this application does not impose any restrictions on this.

[0061] In the embodiment of the present application, the current battery data, vehicle driving data and environmental condition data of the target vehicle are obtained, and after feature extraction and dimensionality reduction processing, energy consumption related features are obtained. Then, the energy consumption related features are processed based on the energy consumption prediction model to determine the energy consumption level of the target vehicle. In this way, machine learning technology is used to comprehensively consider the impact of dynamic vehicle operating conditions, improve the accuracy and stability of vehicle energy consumption prediction, and use a neural network optimization algorithm based on sound wave propagation to update the model parameters of the feature extraction model, overcome gradient-related problems, and effectively improve the performance of the feature extraction model, thereby further improving the accuracy of the prediction results.

[0062] In order to explain the solution of this application in more detail, a specific embodiment is introduced below:

[0063] This embodiment provides a new energy vehicle energy consumption prediction solution based on artificial intelligence. The workflow of this embodiment is as follows Figure 2 As shown, it includes the following main steps:

[0064] S10, data collection and annotation;

[0065] S20, data expansion;

[0066] S30, feature extraction model training;

[0067] S40, feature dimension reduction model training;

[0068] S50, classifier training;

[0069] S60, new energy vehicle energy consumption forecast.

[0070] The specific implementation process of each major step is as follows:

[0071] In S10, the training data set used to train the model comes from vehicle driving recorders, vehicle sensors and environmental monitoring stations. The collected data format is structured data, specifically in vector form; define the data set , where each data point The properties include: : Vehicle speed, indicating the instantaneous speed of the vehicle during driving; : Car acceleration; : battery temperature; : external temperature; : air humidity; : Vehicle load; : driving distance; : wind speed and direction; : Road conditions, such as flatness, slope, etc.; : Driving mode, such as economic mode, standard mode, sports mode, etc.;

[0072] The collected data is labeled with the energy consumption level of the car, which is divided into three levels: "high energy consumption", "medium energy consumption" and "low energy consumption".

[0073] In S20, considering that the collection and annotation of training data in the energy consumption prediction task of new energy vehicles has a high cost, and the insufficient number of training samples may lead to poor generalization ability of the model and affect the accuracy of the model, the present embodiment adopts a SMOTE algorithm based on quadratic programming, introduces a quadratic programming method on the basis of the traditional SMOTE algorithm to select sample points for generating synthetic samples, and adjusts the generation process of synthetic samples in combination with the concept of optimal similarity. In addition, the present invention optimizes the selection of sample points participating in the generation of synthetic samples through quadratic programming, ensures that the similarity between the selected sample points is maximized, and thus generates synthetic samples that are closer to the real data distribution;

[0074] Specifically, the training process of the generative adversarial network algorithm based on the adaptive penalty coefficient includes:

[0075] S201, sample selection and similarity calculation, that is, for each minority class sample, calculate the similarity between it and other minority class samples to determine which samples are more suitable for generating synthetic samples;

[0076] Among them, according to the data set Get the target dataset , the target dataset It consists of minority class samples, where each sample is represented as , ,in is the total number of minority class samples;

[0077] For any two samples and , calculate the similarity between them ; Optionally, the similarity between two samples is defined by a Gaussian kernel function, which can be expressed as:

[0078]

[0079] In the formula, is the bandwidth parameter of the Gaussian kernel, which is used to control how fast the similarity changes with distance; express and The Euclidean distance between

[0080] S202, using a quadratic programming method to optimize the similarity matrix, selecting the sample pairs with the highest similarity, so as to find the sample points that best represent the distribution of the minority class data;

[0081] Among them, define a selection vector ,in , indicating the sample Whether it is selected as a candidate for synthetic samples, the purpose of this method is to maximize the total similarity between the selected samples, that is:

[0082]

[0083] Subject to constraints ,in is the predetermined number of selected samples; in this embodiment, the problem is solved by converting the Lagrange multiplier method and the KKT condition into a nonlinear equation system;

[0084] S203, according to the result of the quadratic programming optimization, interpolate the selected sample pairs to generate new synthetic samples. In this process, the feature values ​​of the synthetic samples are adjusted in combination with the concept of optimal similarity to further improve the diversity and quality of the samples;

[0085] Among them, for each pair of selected samples and , generate synthetic samples This is achieved through the following interpolation method, which can be expressed as:

[0086]

[0087] In the formula, is a random number in the range This process combines the optimal similarity strategy by adjusting The value of to increase the diversity of generated synthetic samples;

[0088] S204: Add all generated synthetic samples to the original data set to form an expanded data set.

[0089] In S30, the expanded data set is input into the neural network for feature extraction. This embodiment proposes a neural network optimization algorithm based on sound wave propagation, which is inspired by the principle of sound wave propagation, that is, when a sound source emits sound, the sound wave will propagate along the fastest path. Therefore, this embodiment regards the neural network parameter update path as a sound wave, and attempts to simulate the propagation of sound waves in complex situations to find the fastest optimization path.

[0090] The workflow of the neural network optimization algorithm based on acoustic wave propagation includes:

[0091] S301, initialize the neural network parameters, the weights and biases of the neural network are randomly initialized from a predefined range; define is the loss function, is the weight matrix, is the bias vector, is the sound wave energy, is the learning rate, is the gradient, is the dielectric property of the i-th loss surface, is the reflection coefficient;

[0092] S302, constructing a multi-layer loss propagation path, simulating multiple propagation paths, and assigning different medium characteristics to each layer of loss surface;

[0093] Among them, for each gradient Define the propagation path and simulate its medium characteristics can be expressed as:

[0094]

[0095] In the formula, Represents the maximum absolute value of the gradient; is the derivative of the neuron activation function;

[0096] S303, calculating the gradient of the loss function according to the current weight and bias configuration;

[0097] For any weight in the neural network and bias , its loss function The gradient calculation method can be expressed as:

[0098]

[0099]

[0100] In the formula, Represents the loss function Weight The gradient of Represents the loss function Bias The gradient of

[0101] Simulating the propagation of sound waves in various propagation paths can be considered as a detection of the loss surface. In order to make the model more stable during the optimization process, a small perturbation is added to the loss surface after each update, which can be expressed as:

[0102]

[0103]

[0104] In the formula, is a small constant; is the value of the loss function; is the value of the updated loss function; is a small perturbation of the loss surface;

[0105] S304: Emitting a simulated sound wave at the current parameter position, that is, setting its initial energy , that is, when the sound wave starts to propagate, the energy ;

[0106] S305, simulating the propagation and reflection of sound waves on the loss surface and between different propagation paths according to the medium characteristics;

[0107] When sound waves propagate between media, part of their energy is reflected. It is defined by the following formula:

[0108]

[0109] in, is the dielectric property of the i-th layer; is the dielectric property of the i+1th layer;

[0110] Then the reflected energy of the sound wave between the i-th layer and the i+1-th layer is for:

[0111]

[0112] The energy that continues to spread for:

[0113]

[0114] Record the path and energy of the sound wave after each reflection, and consider the energy attenuation of the sound wave, that is, the energy ;

[0115] S306, according to the propagation and reflection of the sound wave in each propagation path, select the path with the smallest energy attenuation as the parameter update path;

[0116] Among them, a fitness index to measure the optimization of neural network parameters is defined, namely the fitness function can be expressed as:

[0117]

[0118] In the formula, is the current loss function value; is a reference loss value, such as the loss value at initialization or the loss value of the previous round; is a parameter that adjusts the steepness of the fitness function curve; the characteristics of this fitness function are: when Close to or below hour, Close to 1, it means the network performs well; when Significantly higher than hour, Close to 0, it means the network performs poorly; The larger it is, the more sensitive the fitness function is;

[0119] Considering the propagation of sound waves in different propagation paths, in addition to the propagation and attenuation of its energy, the frequency of the sound wave is also a very important characteristic. Therefore, in the optimization of the neural network, this frequency response is simulated and used as another modulation method to guide the update of parameters; specifically, let is the frequency response function, where It is the frequency in the neural network optimization process, which can be the rate of model parameter update, the volatility of the loss function value, etc. It is specifically defined as:

[0120]

[0121] In the formula, is the change in the loss function at time t; is the corresponding time interval;

[0122] Considering that in the real propagation path, high-frequency sound waves are more easily absorbed by the medium, this embodiment scheme hopes to simulate this phenomenon in network optimization, which can be expressed as:

[0123]

[0124] In the formula, is a constant that determines the maximum amplitude of the response; is a regularization term that prevents the denominator from being zero when it is zero;

[0125] In order to get , considering the physical meaning of frequency, we can deduce it from the perspective of energy. In physics, the relationship between energy and frequency can be expressed as:

[0126]

[0127] In the formula, It's energy. is Planck's constant; taking the inverse of the above relationship, it can be expressed as:

[0128]

[0129] Ignoring the constants, we have:

[0130]

[0131] Similarly:

[0132]

[0133] S307, updating weights and biases according to the selected optimal path, and the parameter updating strategy simulates the propagation of sound waves on the loss surface;

[0134] In order to simulate the continuous propagation of sound waves, a momentum term is introduced for weights and biases, which can be expressed as:

[0135]

[0136]

[0137] In the formula, is the momentum coefficient, usually taken as between; and are the loss gradients on weights and biases respectively; and The momentum term for the parameter weight and bias update before the update; and Momentum term for the updated parameter weights and bias updates.

[0138] Then the update formula for weights and biases is:

[0139]

[0140]

[0141] In the formula, is the learning rate;

[0142] S308, simulating the energy attenuation of sound waves and gradually reducing the learning rate;

[0143] Among them, the energy attenuation of the simulated sound wave is gradually reduced, and the learning rate The update method can be expressed as:

[0144]

[0145] In order to simulate the real sound wave propagation, the sound wave energy It should not always be a constant. When the sound wave continues to propagate on the loss surface, its energy will gradually decay, which can be expressed as:

[0146]

[0147] In the formula, is the attenuation coefficient, usually less than 1;

[0148] At the same time, in order to prevent Attenuates to 0 or is too large, and adds a limit above and below it, which can be expressed as:

[0149]

[0150] In the formula, and are the minimum and maximum values ​​of energy respectively;

[0151] S309, judging the convergence condition, if the change of the loss function value is lower than the preset threshold value, or reaches the preset maximum number of iterations, the algorithm stops;

[0152] S310: Output the optimal solution and return the currently obtained optimal weight and bias configuration.

[0153] After the iteration is completed, the feature extraction model training is completed.

[0154] In S40, the present embodiment adopts a nonlinear latent mapping autoencoder to perform feature dimensionality reduction processing, uses a deep neural network to learn the latent representation of the input data, and focuses on preserving the intrinsic geometric structure of the data;

[0155] The training process of the nonlinear latent mapping autoencoder includes:

[0156] S401. For the autoencoder network, let the feature dimension after input feature extraction be , the dimension of the target after dimensionality reduction is ; Network initialization includes the weights of the encoder and decoder and bias ,in Indicates the network level;

[0157] Among them, the weight initialization method can be expressed as:

[0158]

[0159] In the formula, It means that 0 is the mean. is a normal distribution with variance;

[0160] The bias initialization method can be expressed as:

[0161]

[0162] S402, the nonlinear latent mapping autoencoder model is configured with multiple layers, each of which is designed to gradually reduce the dimension of the input data while retaining its key features;

[0163] Among them, is the input layer data, is the number of layers in the network, is a nonlinear activation function, the forward propagation can be expressed as:

[0164]

[0165] In the formula, is the output of each layer, for the encoding process, until the potential layer , the decoding process starts from the potential layer to the output layer .

[0166] Optionally, is the ReLU activation function, and its calculation method can be expressed as:

[0167]

[0168] S403. Using adaptive adjustment strategies in latent space Potential Considering the adaptability of the optimization algorithm, the parameter adaptive adjustment method can be expressed as:

[0169]

[0170] In the formula, and Respectively represent and The gradient of

[0171] S404, use the Adam optimizer for the training process, adjust the hyperparameters such as learning rate, batch size and number of iterations, and make adjustments based on the performance of the validation set;

[0172] Among them, the learning rate is set to 0.001 and the batch size is set to 32, which is an effective starting point. is the original input data, For the data reconstructed by the decoder, the mean square error is used as the loss function , the back propagation process can update the network parameters, and the loss function can be expressed as:

[0173]

[0174] In the formula, is the number of data reconstructed by the decoder;

[0175] The update process of weights and biases can be expressed as:

[0176]

[0177]

[0178] In the formula, is the learning rate; and Represent the loss function Relative to and The gradient of

[0179] Furthermore, the calculation method of weight gradient can be expressed as:

[0180]

[0181] The calculation method of bias gradient can be expressed as:

[0182]

[0183] In this embodiment, the learning rate Through the adaptive adjustment method, it can be expressed as:

[0184]

[0185] In the formula, is the learning rate of the tth iteration; is the initial learning rate; and is a hyperparameter, and in this embodiment, it takes a value close to 1; t is the current iteration number;

[0186] S405, the training process iteratively adjusts the model parameters to minimize the loss function, and iterates the above steps until a predetermined number of training rounds is reached.

[0187] In S50, the dimension-reduced data is input into a classifier for classifier training. This embodiment adopts a twin support vector machine classification algorithm based on submodular function optimization as a classifier for new energy vehicle energy consumption prediction. By introducing submodular function optimization, a more flexible adjustment of the classification boundary is achieved, thereby enhancing the model's adaptability to complex data sets. In addition, unlike traditional support vector machines, the twin support vector machine uses two different hyperplanes to approximate two types of data points respectively, making the algorithm more efficient in dealing with data imbalance problems.

[0188] The training process of the twin support vector machine classification algorithm based on submodular function optimization includes:

[0189] S501. Take the reduced dimension new energy vehicle energy consumption characteristic data as input. Suppose the input data set is ,in represents a data point, It is a data point The class label of is the total number of data points;

[0190] S502, initially setting the parameters in the twin support vector machine, including the penalty factor and the kernel function type;

[0191] Among them, the kernel function is defined for the twin support vector machine for:

[0192]

[0193] In the formula, is the width parameter of the kernel function, which affects the similarity measure in the feature space;

[0194] Penalty Parameters and Used for positive and negative samples to control the strictness of classification;

[0195] The width parameter of the kernel function The empirical initialization method is:

[0196]

[0197] In the formula, Represents the average distance between training samples or a predefined heuristic value based on the characteristics of the dataset;

[0198] S503, flexibly adjusting the classification boundary through the submodular function optimization strategy to ensure that the nonlinear separable situation and the problem of data imbalance can be effectively handled;

[0199] Among them, the optimization problem in which the objective function is defined as positive and negative categories can be expressed as:

[0200]

[0201]

[0202] In the formula, and are the weight vectors of the positive and negative hyperplanes respectively; and are the bias terms of the positive and negative hyperplanes respectively; and are the penalty parameters of the positive and negative hyperplanes respectively; is the slack variable;

[0203] Submodular function optimization is introduced into the twin support vector machine for classification boundary adjustment. Considering the objective function of the twin support vector machine, it is usually aimed at minimizing the following objective function:

[0204]

[0205] In the formula, and are the two weight vectors of the twin support vector machine; and are the two bias terms of the twin support vector machine; and are the first penalty parameter and the second penalty parameter respectively; and are the two slack variables of the twin support vector machine.

[0206] Combined with submodular optimization, the penalty term is dynamically adjusted according to the distribution of data points relative to the decision boundary to balance maximizing the boundary and minimizing the error; optionally, the adjustment method is based on the submodular function Adjustment and , Considering samples near the boundary The diversity or representativeness of can be expressed as:

[0207]

[0208] In the formula, represents a subset of training samples; assessing their diversity or representativeness;

[0209] S504, under the twin support vector machine structure, use the optimized parameters and strategies to perform model training, and continuously optimize the classification hyperplane through an iterative process until the convergence condition is met or the predetermined number of iterations is reached;

[0210] Among them, the Lagrange multiplier method is used to transform the above optimization problem into its dual problem, and it is solved by the sequential minimization optimization algorithm. For the positive hyperplane, the dual problem is expressed as:

[0211]

[0212] For negative hyperplanes, the dual problem is expressed as:

[0213]

[0214] In the formula, and is the Lagrange multiplier;

[0215] The training process involves solving two optimization problems to find the decision plane, optionally adjusted by feedback from model performance metrics and Iterative refinement is conceptualized as a feedback loop where performance metrics directly influence and The subsequent value of can be expressed as:

[0216]

[0217] In the formula, is precision; is the recall rate; is a function that weights precision and recall;

[0218] S505. Model performance is evaluated through cross-validation, using indicators such as accuracy and recall. Adjust the model based on the evaluation results. , , Parameters such as , are adjusted by manual experience.

[0219] In S60, the trained model is used to process new samples. For the real-time monitoring data from new energy vehicles, after feature extraction and dimensionality reduction, it is input into the classifier for classification prediction. The predicted category is one of the three categories of high energy consumption, medium energy consumption, and low energy consumption.

[0220] This embodiment can accurately evaluate the energy consumption level of new energy vehicles and provide favorable data support for driving control decisions. At the same time, this embodiment also has the following advantages: First, through high-quality data expansion and optimized feature representation, the generalization ability and accuracy of the model for new energy vehicle energy consumption prediction are effectively improved; second, the optimization algorithm based on sound wave propagation solves gradient-related problems and improves the stability of the neural network training process; third, through the twin support vector machine optimized by the submodular function, the model can better adapt to complex and unbalanced data sets, improving the accuracy and efficiency of classification; fourth, the innovative data processing and feature extraction methods enable the model to more effectively process and understand large amounts of complex new energy vehicle operation data, providing strong support for energy consumption prediction.

[0221] Corresponding to the embodiments of the aforementioned method, the present application also provides embodiments of a vehicle energy consumption prediction device and a terminal using the same:

[0222] like Figure 3 As shown, Figure 3 : is a block diagram of a vehicle energy consumption prediction device provided in an embodiment of the present application, the device comprising:

[0223] The acquisition module 31 is used to acquire the real-time monitoring data of the target vehicle; the real-time monitoring data includes battery data, vehicle driving data and environmental condition data;

[0224] A dimension reduction module 32 is used to extract features from the real-time monitoring data through a feature extraction model, and then perform dimension reduction processing on the extracted features through a feature dimension reduction model to obtain energy consumption related features; the feature extraction model is obtained by simulating the propagation of sound waves in various propagation paths, searching for the optimal path and optimizing model parameters according to the optimal path;

[0225] The determination module 33 is used to process the energy consumption correlation characteristics based on the energy consumption prediction model to determine the energy consumption level of the target vehicle.

[0226] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.

[0227] This application also provides an electronic device, see Figure 4 , Figure 4A block diagram of an electronic device provided in an embodiment of the present application. The electronic device may include a processor 410, a communication interface 420, a memory 430, and at least one communication bus 440. The communication bus 440 is used to realize direct connection and communication between these components. The communication interface 420 of the electronic device in the embodiment of the present application is used to communicate signaling or data with other node devices. The processor 410 may be an integrated circuit chip with signal processing capabilities.

[0228] The processor 410 mentioned above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor 410 can also be any conventional processor, etc.

[0229] The memory 430 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The memory 430 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 410, the electronic device may execute the above-mentioned Figure 1 The method embodiment involves various steps.

[0230] Optionally, the electronic device may further include a storage controller and an input / output unit.

[0231] The memory 430, storage controller, processor 410, peripheral interface, input and output unit components are directly or indirectly electrically connected to each other to achieve data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses 440. The processor 410 is used to execute executable modules stored in the memory 430, such as software function modules or computer programs included in the electronic device.

[0232] The input and output unit is used to provide users with the task creation and to create a start optional time period or preset execution time for the task to realize the interaction between the user and the server. The input and output unit can be, but is not limited to, a mouse and a keyboard.

[0233] Understandably, Figure 4 The structure shown is for illustration only, and the electronic device may also include Figure 4 More or fewer components as shown, or with Figure 4 Different configurations shown. Figure 4 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0234] An embodiment of the present application further provides a storage medium having instructions stored thereon. When the instructions are run on a computer, the computer program is executed by a processor to implement the method described in the method embodiment. To avoid repetition, the method will not be described here.

[0235] The present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the method described in the method embodiment.

[0236] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0237] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0238] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0239] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0240] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

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

Claims

1. A method for predicting automobile energy consumption, characterized in that: include: Acquire real-time monitoring data of the target vehicle; the real-time monitoring data includes battery data, vehicle driving data and environmental condition data; The real-time monitoring data is subjected to feature extraction through a feature extraction model, and then the extracted features are subjected to dimension reduction processing through a feature dimension reduction model to obtain energy consumption related features; the feature extraction model is obtained by simulating the propagation of sound waves in various propagation paths, searching for the optimal path and optimizing model parameters according to the optimal path; The energy consumption correlation features are processed based on an energy consumption prediction model to determine the energy consumption level of the target vehicle; the energy consumption prediction model includes a twin support vector machine model; the twin support vector machine model adjusts the classification boundary through a submodular function optimization strategy; in the process of minimizing the objective function, the twin support vector machine model combines the submodular function optimization and dynamically adjusts the penalty term according to the distribution of data points relative to the classification boundary.

2. The method according to claim 1, characterized in that The battery data includes battery temperature; the vehicle driving data includes vehicle speed, vehicle acceleration, vehicle load, driving distance and driving mode; the environmental condition data includes external temperature, humidity, wind speed, wind direction and road conditions.

3. The method according to claim 1, characterized in that The feature extraction model, the feature dimension reduction model and the energy consumption prediction model are trained based on a training data set; the training data set includes an original sample set and a synthetic sample set; the original sample set is obtained based on historical monitoring data and corresponding true labels; the true label is the energy consumption level annotated with the historical monitoring data; the synthetic sample set is generated by data expansion of the original sample set.

4. The method according to claim 3, characterized in that The synthetic sample set is generated by performing data expansion on the original sample set using the SMOTE algorithm based on quadratic programming; the SMOTE algorithm uses a quadratic programming method to select target sample points from the original sample set, and then generates synthetic samples by interpolating between the target sample points.

5. The method according to claim 1, characterized in that The model parameters of the feature extraction model include weights and biases; the optimization process of the model parameters is expressed based on the following formula: In the formula, and Represent the updated weights and biases respectively; and Respectively represent the weight and bias before updating; represents the learning rate, which gradually decreases during the iteration process; represents the energy at a specific threshold value, wherein the energy at the specific threshold value is determined according to the set initial energy and the reflected energy of the sound wave in the process of simulating the propagation of the sound wave in various propagation paths; and Represent the loss gradients on weights and biases respectively; Represents the fitness function value; and Represent the momentum terms of the updated weights and biases respectively; and Represent the momentum terms of weights and biases before update respectively; represents the momentum coefficient; represents a frequency response function value, and the frequency response function value is positively correlated with the inverse of the frequency of the optimization process of the model parameters.

6. The method according to claim 1, characterized in that The feature dimensionality reduction model includes a nonlinear latent mapping autoencoder.

7. A vehicle energy consumption prediction device, characterized in that: include: An acquisition module is used to acquire real-time monitoring data of a target vehicle; the real-time monitoring data includes battery data, vehicle driving data and environmental condition data; A dimension reduction module is used to extract features from the real-time monitoring data through a feature extraction model, and then perform dimension reduction processing on the extracted features through the feature dimension reduction model to obtain energy consumption related features; the feature extraction model is obtained by simulating the propagation of sound waves in various propagation paths, searching for the optimal path and optimizing model parameters according to the optimal path; A determination module is used to process the energy consumption correlation characteristics based on an energy consumption prediction model to determine the energy consumption level of the target vehicle; the energy consumption prediction model includes a twin support vector machine model; the twin support vector machine model adjusts the classification boundary through a sub-modular function optimization strategy; in the process of minimizing the objective function, the twin support vector machine model combines the sub-modular function optimization and dynamically adjusts the penalty term according to the distribution of data points relative to the classification boundary.

8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

9. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • New energy bus energy consumption prediction method based on machine learning

    CN115481813A

  • Fuel cell vehicle energy consumption calculation method fusing working condition prediction information

    CN115935672A

  • Power quality disturbance classification method of twin support vector machine based on ITD decomposition and sparrow optimization

    CN116522103A

  • Vehicle energy consumption prediction method and device based on fusion mechanism and deep learning model

    CN116523177A

  • Energy consumption analysis method and device of storage chip, equipment and storage medium

    CN117556753A