CN115204417A - Vehicle weight prediction method and system based on ensemble learning and storage medium - Google Patents
Vehicle weight prediction method and system based on ensemble learning and storage medium Download PDFInfo
- Publication number
- CN115204417A CN115204417A CN202211109476.XA CN202211109476A CN115204417A CN 115204417 A CN115204417 A CN 115204417A CN 202211109476 A CN202211109476 A CN 202211109476A CN 115204417 A CN115204417 A CN 115204417A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- vehicle weight
- learner
- trained
- parameters
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000007613 environmental effect Effects 0.000 claims abstract description 25
- 238000012549 training Methods 0.000 claims description 58
- 238000004891 communication Methods 0.000 claims description 13
- 230000006870 function Effects 0.000 claims description 13
- 230000014509 gene expression Effects 0.000 claims description 11
- 238000005096 rolling process Methods 0.000 claims description 11
- 238000002790 cross-validation Methods 0.000 claims description 9
- 230000005484 gravity Effects 0.000 claims description 5
- 238000012417 linear regression Methods 0.000 claims description 4
- 230000004913 activation Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 description 11
- 238000004590 computer program Methods 0.000 description 8
- 238000013528 artificial neural network Methods 0.000 description 7
- 238000012360 testing method Methods 0.000 description 7
- 238000003062 neural network model Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000011176 pooling Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003638 chemical reducing agent Substances 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000007636 ensemble learning method Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000011478 gradient descent method Methods 0.000 description 1
- 230000002427 irreversible effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
- G06N20/20—Ensemble learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Artificial Intelligence (AREA)
- Mathematical Physics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Molecular Biology (AREA)
- General Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Biophysics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Medical Informatics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides a vehicle weight prediction method, a vehicle weight prediction system and a storage medium based on ensemble learning. The vehicle weight prediction method includes: predicting to obtain a first vehicle weight based on vehicle running state parameters and environment parameters through a longitudinal vehicle force balance equation; predicting, by at least one trained base learner, a second vehicle weight based at least on non-constant ones of the vehicle travel state parameters and the environmental parameters; predicting, by a trained meta learner, a vehicle weight based on the first vehicle weight and the second vehicle weight.
Description
Technical Field
The present application relates to the field of computing and calculating, and in particular, to a vehicle weight prediction method, system and storage medium based on ensemble learning.
Background
In recent years, the transportation industry in China is developing vigorously. During the transportation of people and goods by vehicles, it is often desirable for a passenger or freight manager to be able to know the weight information of the vehicle in real time or near real time.
For example, in the background of the current internet of vehicles and the rapid development of big data technology, if an enterprise can monitor the weight of a vehicle in real time in the management process of logistics vehicles, the enterprise can effectively perform task scheduling and monitoring management on the vehicle, so that unnecessary resource loss or risks can be avoided. In addition, for government traffic control departments, if the real-time dynamic monitoring of the vehicle weight can be realized, the vehicle overload problem can be conveniently and effectively treated, so that the service life of a road is prolonged, and the driving safety is effectively guaranteed.
In this large context, conventional vehicle weight measurement using static wagon balance has not met the needs of current social development. The market has a high demand for a new generation of vehicle weight detection analysis solutions.
Disclosure of Invention
The application provides a vehicle weight prediction method based on ensemble learning, which comprises the following steps: predicting to obtain a first vehicle weight based on vehicle running state parameters and environment parameters through a longitudinal vehicle force balance equation; predicting, by at least one trained base learner, a second vehicle weight based at least on non-constant ones of the vehicle travel state parameters and the environmental parameters; predicting, by a trained meta learner, a vehicle weight based on the first vehicle weight and the second vehicle weight.
According to an embodiment of the present application, the vehicle running state parameters include: frontal projection area of vehicle in windward directionSpeed of vehicleRotational speed of engineTorque of engineMechanical efficiency of vehicle drive trainAcceleration of vehiclePressure in the tyreAngle between vehicle and horizontal plane(ii) a The environmental parameters include: air pressureRelative humidity of airAir temperature in KelvinTemperature in centigradeCoefficient of air resistanceVelocity of windAcceleration of gravity。
According to an embodiment of the present application, the longitudinal vehicle force balance equation is:
according to an embodiment of the present application, the at least one trained base learner comprises a plurality of base learners trained based on different initialization parameters.
According to the embodiment of the application, each base learner in the plurality of base learners comprises at least one hidden layer, and the nonlinear activation function adopted by the hidden layer is a Sigmoid function.
According to the embodiment of the application, each base learner in the plurality of base learners is trained by adopting a K-fold cross validation method, wherein K is a natural number not less than 2.
According to the embodiment of the application, the at least one trained base learner comprises three trained base learners based on different initialization parameters, and each base learner is trained by adopting a four-fold cross validation method.
According to an embodiment of the present application, the meta learner is configured to perform the training based on the output of the longitudinal vehicle force balance equation and the at least one training completionThe output of the base learner is used as input and is trained by a gradient descent algorithm, and the linear regression model adopted by the meta learner isWherein、、is a weight value of the weight value,in order to be an error term, the error term,is the output of the longitudinal vehicle force balance equation,toIs the output of the at least one trained base learner with an objective function of。
The present application further provides a vehicle weight prediction system based on ensemble learning, including: a memory storing executable instructions; and one or more processors in communication with the memory to execute the executable instructions to: predicting to obtain a first vehicle weight based on the vehicle running state parameters and the environmental parameters through a longitudinal vehicle force balance equation; predicting, by at least one trained base learner, a second vehicle weight based at least on non-constant ones of the vehicle travel state parameters and the environmental parameters; predicting, by a trained meta learner, a vehicle weight based on the first vehicle weight and the second vehicle weight.
The present application further proposes a computer-readable storage medium storing executable instructions that are executable by one or more processors to: predicting to obtain a first vehicle weight based on the vehicle running state parameters and the environmental parameters through a longitudinal vehicle force balance equation; predicting, by at least one trained base learner, a second vehicle weight based at least on non-constant ones of the vehicle travel state parameters and the environmental parameters; predicting, by a trained meta learner, a vehicle weight based on the first vehicle weight and the second vehicle weight.
The present application also proposes a computer program product for vehicle weight prediction, comprising a computer program characterized in that said computer program when processed performs the following operations: predicting to obtain a first vehicle weight based on the vehicle running state parameters and the environmental parameters through a longitudinal vehicle force balance equation; predicting, by at least one trained base learner, a second vehicle weight based at least on non-constant ones of the vehicle travel state parameters and the environmental parameters; a meta learner, completed by training, predicts a vehicle weight based on the first vehicle weight and the second vehicle weight.
The present application further provides a vehicle weight prediction device, including: an equation prediction module that predicts a first vehicle weight based on a vehicle running state parameter and an environmental parameter through a longitudinal vehicle force balance equation; a neural network prediction module for predicting a second vehicle weight based on at least non-constant items in the vehicle running state parameters and the environment parameters through at least one trained base learner; a quadratic fit module that predicts a vehicle weight based on the first vehicle weight and the second vehicle weight by a trained meta-learner.
The technical scheme for predicting the vehicle weight effectively combines a method for predicting the vehicle weight based on a longitudinal vehicle force balance equation and a method for predicting the vehicle weight based on a neural network (base learner). The combination can predict the vehicle weight by utilizing a force balance equation, and the prediction does not usually have the defect of poor overfitting or generalization capability possibly occurring in a neural network model; on the other hand, the capability of universal approximation of the neural network can be effectively utilized to obtain more accurate prediction results. Considering that the generalization capability of the ensemble learning model is generally better than that of a single strong learner, and that strong learners are generally difficult to acquire, the present application utilizes ensemble learning to improve the prediction accuracy of an easily-acquired but relatively weak learner to a prediction accuracy comparable to that of a strong learner. According to the technical scheme of the vehicle weight prediction, the integrated learning method based on the stacking method is introduced, and the prediction result has the advantages of high robustness and low prediction error.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a flow chart of a vehicle weight prediction method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an integrated training model training process according to an embodiment of the present application;
fig. 3 is a schematic block diagram of a vehicle weight prediction system according to an embodiment of the present application.
Detailed Description
For a better understanding of the present application, the technical solutions of the present application will be described in more detail with reference to the accompanying drawings. It should be understood that the detailed description is merely illustrative of exemplary embodiments of the present application and is not intended to limit the scope of the present application in any way. Like reference numerals refer to like elements throughout the specification. The expression "and/or" includes any and all combinations of one or more of the associated listed items.
It should be noted that in the present specification, expressions "first", "second", "third", etc. are used only for distinguishing one feature from another, and do not represent any limitation on the features. Thus, the first vehicle weight discussed below may also be referred to as a second vehicle weight without departing from the teachings of the present application. And vice versa.
In the drawings, the size, proportion and shape of the illustrations have been adjusted slightly for the convenience of illustration. The figures are purely diagrammatic and not drawn to scale. As used herein, the terms "approximately," "about," and the like are used as terms of table approximation and not as terms of table degree, and are intended to account for inherent deviations in measured or calculated values that will be recognized by those of ordinary skill in the art.
It will be further understood that expressions such as "comprising," "including," "having," "including," and/or "containing" are open-ended and not closed-ended expressions in this specification that indicate the presence of stated features, elements, and/or components, but do not preclude the presence or addition of one or more other features, elements, components, and/or groups thereof. Furthermore, when a statement such as "at least one of" appears after a list of listed features, it modifies that entire list of features rather than just a single feature in the list. Furthermore, when describing embodiments of the present application, the use of "may" mean "one or more embodiments of the present application. Also, the word "exemplary" is intended to mean exemplary or illustrative.
Unless otherwise defined, all terms (including engineering and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
It should be noted that the features in the embodiments and examples in the present application may be combined with each other without conflict. In addition, unless explicitly defined or contradicted by context, the specific steps included in the methods described herein are not necessarily limited to the order described, but can be performed in any order or in parallel. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a flowchart of a vehicle weight prediction method according to an embodiment of the present application.
Referring to fig. 1, the present application proposes a vehicle weight prediction method 1000 based on ensemble learning. According to an embodiment of the present application, the vehicle weight prediction method 1000 includes the following steps.
In step S1010, a first vehicle weight is predicted based on the vehicle running state parameter and the environmental parameter by the longitudinal vehicle force balance equation. The vehicle running state parameter may be a physical quantity related to the running state of the vehicle, and the environment parameter may be a physical quantity related to the environment in which the vehicle is currently located. The longitudinal vehicle force balance equation may be an equation derived based on a force balance of the vehicle in a vertical direction (i.e., longitudinal direction). The vehicle driving state parameter and the environmental parameter may be acquired by an on-board sensor, but the present application is not limited thereto. For example, the environmental parameters may also be obtained by a driving computer from an external server via a network.
In step S1020, a second vehicle weight is predicted based on at least non-constant terms of the vehicle driving state parameter and the environmental parameter by at least one trained base learner. The base learner can be a neural network model built based on Keras or TensorFlow, the input quantity of the neural network model can be a vehicle driving state parameter and an environment parameter, and the output quantity of the neural network model can be the weight of the vehicle. Since the base learner can well accommodate the constant deviation, it is generally unnecessary to input constant terms in the vehicle running state parameter and the environmental parameter to the base learner.
In some application scenarios, some vehicle driving state parameters and environmental parameters may have large noise. These noises may be due to electrical noise of the sensor or other factors. For example, during continuous operation of the vehicle, the speed information jumps at one instant and returns to normal at the next instant. The instantaneous abnormal velocity information is noise information. According to embodiments of the present application, these parameters may be data washed and then input to the longitudinal vehicle force balance equation or the base learner. For example, when a parameter has a large jump compared with other parameters of the same class, the parameter of the jump can be replaced by the parameter of the same class acquired at the previous moment. Further, low pass filtering may also be employed to filter the parameters to screen out noisy data.
In step S1030, a vehicle weight is predicted based on the first vehicle weight and the second vehicle weight by the trained meta learner. The method is based on a Stacking method (Stacking) integrated learning model, a model for predicting vehicle weight based on a longitudinal vehicle force balance equation and a model for predicting the vehicle weight based on a neural network are used as base learners located on a first layer, and a meta-learner located on a second layer is used for carrying out quadratic fitting on results of the base learners located on the first layer, so that the vehicle weight with high robustness and low prediction error is obtained.
In the present application, step S1010 and step S1020 are not limited in order. Step S1010 may be performed before step S1020, after step S1020, or in parallel with step S1020.
The vehicle weight prediction method 1000 described with reference to fig. 1 effectively combines a method of predicting the vehicle weight based on the longitudinal vehicle force balance equation with a method of predicting the vehicle weight based on a neural network (base learner). The combination can predict the vehicle weight by utilizing a force balance equation, and the prediction does not usually have the defect of poor overfitting or generalization capability possibly occurring in a neural network model; on the other hand, the capability of universal approximation of the neural network can be effectively utilized to obtain more accurate prediction results. Considering that the generalization capability of the ensemble learning model is generally better than that of a single strong learner, and that strong learners are generally difficult to obtain, the present application utilizes ensemble learning to improve the prediction accuracy of an easily obtained, but relatively weak learner to a prediction accuracy comparable to that of a strong learner. According to the vehicle weight prediction method 1000 of the embodiment of the application, an ensemble learning method based on a stacking method is introduced, and the prediction result has the advantages of high robustness and low prediction error.
According to an embodiment of the present application, the vehicle running state parameter includes: frontal projection area of vehicle in windward directionSpeed of vehicleRotational speed of engineTorque of engineMechanical efficiency of vehicle drive trainAcceleration of vehiclePressure in the tyreAngle between vehicle and horizontal plane(ii) a The environmental parameters include: air pressureRelative humidity of airAir temperature in KelvinTemperature in centigradeCoefficient of air resistanceVelocity of windAcceleration of gravity。
According to an embodiment of the application, the longitudinal vehicle force balance equation may be:
wherein m is the first vehicle weight,
it should be noted that although the prior art proposes a plurality of longitudinal vehicle force balance equations, the parameters and approximation assumptions considered in different solutions are different, and thus the longitudinal vehicle force balance equations are different.
The present application considers the force balance between vehicle traction, rolling resistance, air resistance, and vehicle gravity when developing a longitudinal vehicle force balance equation. The following specifically describes the process of establishing the longitudinal vehicle force balance equation.
is engine torque, unit:;is the wheel radius, unit:;is the main reducer transmission ratio, unit: none;is the transmission ratio of a certain gear of the speed changer, and the unit is as follows: none;is the mechanical efficiency of the drive train, in units:。
the relationship between the engine speed n (in rpm, revolutions per minute) and the vehicle speed v (in km/h) is:
general considerations ofThe vehicle traction can be obtained by the expressionThe formula of (1) is as follows:
when the wheels of the vehicle rotate, deformation occurs between the wheels and the ground. Such deformation causes some irreversible energy loss, which is reflected in the force applied as rolling resistance during the movement of the vehicle. Rolling resistance as used hereinThe formula of (1) is:
represents the angle between the vehicle and the ground level, i.e. the angle between the road on which the vehicle is travelling and the horizontal, in units:;represents the weight of the vehicle at this time, in units:;is the rolling resistance coefficient, in units: none.
Since the rolling resistance coefficient has a large relationship with the vehicle speed and the pressure inside the tire, the present application selects the following formula as an approximate formula of the rolling resistance coefficient:
in the above-mentioned formula, the compound has the following structure,in units of psi is measured in units of psi,in mph.
the air resistance formula according to the embodiments of the present application is selected as:
wherein,air density, unit:;represents the orthographic projection area of the vehicle in the windward direction, unit:;representing wind speed, the positive direction of the vector is the same as the vehicle speed, and the unit is:。C d represents the air resistance coefficient, in units: none. Since air density varies greatly in real life, the following approximation can be used:
wherein,represents the relative humidity of the air, in units: percent;the temperature in kelvin (K);is the temperature in degrees Celsius;is total air pressure, unit:. The expression of the final air resistance is therefore:
by comprehensively considering the force balance among vehicle traction, rolling resistance, air resistance and vehicle gravity, the following longitudinal vehicle force balance equation can be obtained:
wherein,which is indicative of the acceleration of the vehicle,unit:;is the gravitational acceleration, unit:. The vehicle weight can thus be found to be:
according to an embodiment of the present application, the at least one trained base learner includes a plurality of base learners trained based on different initialization parameters. Under the arrangement, the base learners have certain diversity, and the output errors of different base learners also have certain independence. This is beneficial for enhancing the robustness of the system.
In an exemplary embodiment of the present application, the at least one trained base learner includes three trained base learners based on different initialization parameters. To achieve full utilization of the training samples, a K-fold cross validation method (e.g., a four-fold cross validation method) may be employed to train the respective base learners.
Table 1 shows a training scheme combination according to an embodiment of the present application, wherein NN 1 、NN 2 、NN 3 Three basis learners built based on Keras are shown separately.
TABLE 1
Each iteration batch _ size: | 50 | 100 | 200 |
epoch: | 3000 | 3000 | 3000 |
beta_1,beta_2: | 0.9,0.999 | 0.9,0.999 | 0.9,0.999 |
learning rate, attenuation rate: | 0.001,0.0 | 0.001,0.0 | 0.001,0.0 |
each base learner may include a deep neural network structure including a plurality of convolutional layers, pooling layers, hidden layers, fully-connected layers connected in sequence, wherein: the convolution layer is used for carrying out feature extraction on the input data of the previous layer; the pooling layer is used to down-sample the data, preventing some over-fitting and providing some non-linearity; the hidden layer contains a non-linear activation function, such as a Sigmoid function, to provide non-linearity for the entire base learner; the full connection layer is used for integrating all local features, so that the input information is comprehensively sensed.
According to the embodiment of the application, the results of the base learner and the longitudinal vehicle force balance equation are fitted quadratic using a meta learner. The meta learner is based on as inputs the output of the longitudinal vehicle force balance equation and the output of the at least one trained base learner. The meta learner uses a linear regression model ofWherein, in the process,、、is a weight value of the weight value,in order to be an error term, the error term,is the output of the longitudinal vehicle force balance equation,to is thatIs the at least oneThe output of the trained base learner. The risk of overfitting can be effectively reduced by using a simpler linear regression model as a basic model of the meta-learner.
The meta-learner according to embodiments of the present application is trained using a gradient descent algorithm, wherein the objective function is。
The following exemplarily illustrates a process of training an ensemble learning model implementing a vehicle weight prediction method according to an embodiment of the present application with reference to fig. 2. The ensemble learning model described hereinafter includes a base learner and a longitudinal vehicle force balance equation at a first level and a meta learner at a second level. It should be noted that although three basis learners are shown in fig. 2 and a four-fold cross-validation training scheme is shown, the application is not so limited. The ensemble learning model according to the embodiment of the present application may include other numbers of base learners, and may employ a training scheme of K-fold cross validation (K is a natural number not less than 2).
First, a sample set with a sufficient number of samples 2100 needs to be collected and collated. Each sample in the sample set includes a vehicle driving state parameter, an environmental parameter, and a vehicle true weight.
Then, dividing the sample set into two parts S1 and S2, wherein the S1 is used for training the whole ensemble learning model and is called a training set S1 hereinafter; and S2, testing the prediction accuracy of the trained ensemble learning model, and hereinafter referred to as a test set S2. The data size of S1 is typically larger than the data size of S2.
According to the embodiment of the application, the training of the ensemble learning model is carried out in two steps, firstly, a base learner is trained, and network parameters of the base learner are solidified; the meta-learner is then trained to solidify various meta-learner parameters, e.g.、、。
Taking the four-fold cross validation method as an example, when training the base learner, firstly, the training set S1 needs to be divided equally into four equal parts, that is, a first sub-training set D1, a second sub-training set D2, a third sub-training set D3, and a fourth sub-training set D4. Thereafter, the first, second, and third base learners 2210, 2220, 2230 are trained using the training set S1. According to the embodiment of the present application, although the longitudinal vehicle force balance equation 2240 does not need to be trained, it can be regarded as a base learner after training.
In training the first base learner 2210, the second sub-training set D2, the third sub-training set D3, and the fourth sub-training set D4 are trained as training sets, for example, using an adaptive moment estimation optimization algorithm (ADAM). According to the embodiment of the present application, 3000 cycles of iterative training may be performed, and then the training process is automatically terminated and the network parameters of the first base learner 2210 are fixed. Then, using the first sub-training set D1 as a test set, an output D11 is obtained.
In training the first base learner 2210, the first sub-training set D1, the third sub-training set D3, and the fourth sub-training set D4 may also be used as training sets for training, and then the second sub-training set D2 is used as a test set to obtain an output D21.
When training the first base learner 2210, the first sub-training set D1, the second sub-training set D2, and the fourth sub-training set D4 may also be used as training sets for training, and then the third sub-training set D3 may be used as a test set to obtain an output D31.
When training the first base learner 2210, the first sub-training set D1, the second sub-training set D2, and the third sub-training set D3 may also be used as training sets for training, and then the fourth sub-training set D4 may be used as a test set to obtain an output D41.
Thus, after training first base learner 2210, a first set of intermediate outputs 2310, a package of which is availableContaining (D) 11 ,D 21 ,D 31 ,D 41 )。
The training process for the second and third base learners 2220, 2230 is similar to the training process for the first base learner 2210. Second intermediate output set 2320 and third intermediate output set 2330 may be derived after second basis learner 2220, third basis learner 2230 are trained. Second intermediate output set 2320 contains (D) 12 ,D 22 ,D 32 ,D 42 ) The third intermediate output set comprises (D) 13 ,D 23 ,D 33 ,D 43 )。
Although the longitudinal vehicle force balance equation 2240 need not be trained, it can be input as samples D1, D2, D3, D4, respectively, and a fourth intermediate output set 2340 is derived, which contains (D) 14 ,D 24 ,D 34 ,D 44 )。
In training the meta learner, the inputs are first intermediate output set 2310, second intermediate output set 2320, third intermediate output set 2330, fourth intermediate output set 2340 and the true weight of the respective vehicle. Then, the local minimum of the objective function can be solved by a gradient descent method, wherein the objective function is:
according to the embodiment of the present application, the maximum number of iterations may be set to 1000. After training is complete, the accuracy of the prediction of the vehicle weight by the ensemble learning model may be tested using test set S2.
The application also provides a vehicle weight prediction system which can be realized in the forms of a mobile terminal, a Personal Computer (PC), a tablet computer, a server and the like. Referring now to FIG. 3, a schematic diagram of a vehicle weight prediction system suitable for use in implementing embodiments of the present application is shown.
As shown in fig. 3, the computer system includes one or more processors, communication section, and the like, for example: one or more Central Processing Units (CPUs) 301, and/or one or more image processors (GPUs) 313, etc., which may perform various appropriate actions and processes according to executable instructions stored in a Read Only Memory (ROM) 302 or loaded from a storage section 308 into a Random Access Memory (RAM) 303. The communication section 312 may include, but is not limited to, a network card, which may include, but is not limited to, an IB (Infiniband) network card.
The processor may communicate with the read-only memory 302 and/or the random access memory 303 to execute the executable instructions, connect with the communication part 312 through the bus 304, and communicate with other target devices through the communication part 312, so as to complete the operations corresponding to any one of the methods proposed in the embodiments of the present application, for example: predicting to obtain a first vehicle weight based on vehicle running state parameters and environment parameters through a longitudinal vehicle force balance equation; predicting, by at least one trained base learner, a second vehicle weight based at least on non-constant ones of the vehicle travel state parameters and the environmental parameters; a meta learner, completed by training, predicts a vehicle weight based on the first vehicle weight and the second vehicle weight.
Further, in the RAM 303, various programs and data necessary for the operation of the apparatus can also be stored. The CPU 301, ROM 302, and RAM 303 are connected to each other via a bus 304. The ROM 302 is an optional module in the presence of the RAM 303. The RAM 303 stores or writes executable instructions into the ROM 302 at runtime, and the executable instructions cause the processor 301 to perform operations corresponding to the above-described communication method. An input/output interface (I/O interface) 305 is also connected to the bus 304. The communication unit 312 may be integrated, or may be provided with a plurality of sub-modules (e.g., a plurality of IB network cards) and connected to the bus link.
The following components are connected to the I/O interface 305: an input portion 306 including a keyboard, a mouse, and the like; an output section 307 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage unit 308 including a hard disk and the like; and a communication section 309 including a network interface card such as a LAN card, a modem, or the like. The communication section 309 performs communication processing via a network such as the internet. A drive 310 is also connected to the I/O interface 305 as needed. A removable medium 311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 310 as necessary.
It should be noted that the architecture shown in fig. 3 is only an optional implementation manner, and in a specific practical process, the number and types of the components in fig. 3 may be selected, deleted, added or replaced according to actual needs; in different functional component settings, separate settings or integrated settings may also be used, for example, the GPU and the CPU may be separately set or the GPU may be integrated on the CPU, the communication unit 312 may be separately set or integrated on the CPU or the GPU, and so on. These alternative embodiments are all within the scope of the present disclosure.
In particular, according to the present application, the process described with reference to the flowchart of fig. 1 may be implemented as a computer program product. For example, the present application proposes a computer program product comprising computer readable instructions which, when executed by a processor, implement the following: predicting to obtain a first vehicle weight based on vehicle running state parameters and environment parameters through a longitudinal vehicle force balance equation; predicting, by at least one trained base learner, a second vehicle weight based at least on non-constant ones of the vehicle travel state parameters and the environmental parameters; predicting, by a trained meta learner, a vehicle weight based on the first vehicle weight and the second vehicle weight.
In such embodiments, the computer program product may be downloaded and installed from a network via the communication section 309, and/or read and installed from the removable medium 311. The above-described functions as defined in the method of the present application are performed when the computer program product is executed by a Central Processing Unit (CPU) 301.
The solution of the present application may be implemented in many ways. For example, the technical solutions of the present application may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The order of the steps used to describe the method is provided for clarity only. Unless specifically limited, the method steps of the present application are not limited to the order specifically described above. Furthermore, in some embodiments, the present application may also be implemented as a storage medium storing a computer program product.
The above description is only an embodiment of the present application and an illustration of the technical principles applied. It will be appreciated by a person skilled in the art that the scope of protection covered by the present application is not limited to the embodiments with a specific combination of the features described above, but also covers other embodiments with any combination of the features described above or their equivalents without departing from the technical idea described above. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.
Claims (10)
1. A vehicle weight prediction method based on ensemble learning, characterized by comprising:
predicting to obtain a first vehicle weight based on the vehicle running state parameters and the environmental parameters through a longitudinal vehicle force balance equation;
predicting, by at least one trained base learner, a second vehicle weight based at least on non-constant ones of the vehicle travel state parameters and the environmental parameters;
a meta learner, completed by training, predicts a vehicle weight based on the first vehicle weight and the second vehicle weight.
2. The vehicle weight prediction method according to claim 1,
the vehicle running state parameters include: frontal projection area of vehicle in windward directionSpeed of vehicleRotational speed of engineTorque of engineMechanical efficiency of vehicle drive trainAcceleration of vehiclePressure in the tyreAngle between vehicle and horizontal plane;
4. the vehicle weight prediction method of claim 1, wherein the at least one trained base learner comprises a plurality of base learners trained based on different initialization parameters.
5. The vehicle weight prediction method according to claim 4, characterized in that each of the plurality of base learners includes at least one hidden layer, and the hidden layer employs a nonlinear activation function that is a Sigmoid function.
6. The vehicle weight prediction method according to claim 5, wherein each of the plurality of base learners is trained using a K-fold cross validation method, where K is a natural number not less than 2.
7. The vehicle weight prediction method according to claim 6, characterized in that the at least one trained base learner comprises three trained base learners based on different initialization parameters, and each base learner is trained using a four-fold cross-validation method.
8. The vehicle weight prediction method of claim 1, wherein the meta learner is trained using a gradient descent algorithm based on the output of the longitudinal vehicle force balance equation and the output of the at least one trained base learner as inputs, the meta learner using a linear regression model of,
Wherein,、、is a weight value of the weight value,in order to be an error term, the error term,is the output of the longitudinal vehicle force balance equation,toIs the output of the at least one trained base learner,
the objective function is:
9. a vehicle weight prediction system based on ensemble learning, the vehicle weight prediction system comprising:
a memory storing executable instructions; and
one or more processors in communication with the memory to execute the executable instructions to:
predicting to obtain a first vehicle weight based on vehicle running state parameters and environment parameters through a longitudinal vehicle force balance equation;
predicting, by at least one trained base learner, a second vehicle weight based at least on non-constant ones of the vehicle travel state parameters and the environmental parameters;
a meta learner, completed by training, predicts a vehicle weight based on the first vehicle weight and the second vehicle weight.
10. A computer-readable storage medium for vehicle weight prediction, the computer-readable storage medium storing executable instructions that are executable by one or more processors to:
predicting to obtain a first vehicle weight based on vehicle running state parameters and environment parameters through a longitudinal vehicle force balance equation;
predicting, by at least one trained base learner, a second vehicle weight based at least on non-constant ones of the vehicle travel state parameters and the environmental parameters;
predicting, by a trained meta learner, a vehicle weight based on the first vehicle weight and the second vehicle weight.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211109476.XA CN115204417B (en) | 2022-09-13 | 2022-09-13 | Vehicle weight prediction method and system based on ensemble learning and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211109476.XA CN115204417B (en) | 2022-09-13 | 2022-09-13 | Vehicle weight prediction method and system based on ensemble learning and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115204417A true CN115204417A (en) | 2022-10-18 |
CN115204417B CN115204417B (en) | 2022-12-27 |
Family
ID=83572329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211109476.XA Active CN115204417B (en) | 2022-09-13 | 2022-09-13 | Vehicle weight prediction method and system based on ensemble learning and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115204417B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20240230397A1 (en) * | 2023-01-05 | 2024-07-11 | Catarc Automotive Test Center (Tianjin) Co., Ltd | Method for predicting the mass of heavy vehicles based on networked operating data and machine learning |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090125273A1 (en) * | 2007-11-14 | 2009-05-14 | Hively Lee M | Method and system for reducing errors in vehicle weighing systems |
CN109118787A (en) * | 2018-08-20 | 2019-01-01 | 浙江工业大学 | A kind of car speed prediction technique based on deep neural network |
WO2019199561A1 (en) * | 2018-04-09 | 2019-10-17 | Cambridge Mobile Telematics Inc. | Vehicle classification based on telematics data |
CN111047085A (en) * | 2019-12-06 | 2020-04-21 | 北京理工大学 | Hybrid vehicle working condition prediction method based on meta-learning |
CN111121939A (en) * | 2020-01-02 | 2020-05-08 | 深圳市汉德网络科技有限公司 | High-precision vehicle-mounted area weighing method |
CN111707343A (en) * | 2020-06-23 | 2020-09-25 | 北京经纬恒润科技有限公司 | Method and device for determining weight of vehicle |
CN112258251A (en) * | 2020-11-18 | 2021-01-22 | 北京理工大学 | Grey correlation-based integrated learning prediction method and system for electric vehicle battery replacement demand |
CN113386781A (en) * | 2021-05-24 | 2021-09-14 | 江苏大学 | Intelligent vehicle trajectory tracking control method based on data-driven vehicle dynamics model |
CN115009288A (en) * | 2022-07-19 | 2022-09-06 | 潍柴动力股份有限公司 | Method and device for determining vehicle weight |
-
2022
- 2022-09-13 CN CN202211109476.XA patent/CN115204417B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090125273A1 (en) * | 2007-11-14 | 2009-05-14 | Hively Lee M | Method and system for reducing errors in vehicle weighing systems |
WO2019199561A1 (en) * | 2018-04-09 | 2019-10-17 | Cambridge Mobile Telematics Inc. | Vehicle classification based on telematics data |
CN109118787A (en) * | 2018-08-20 | 2019-01-01 | 浙江工业大学 | A kind of car speed prediction technique based on deep neural network |
CN111047085A (en) * | 2019-12-06 | 2020-04-21 | 北京理工大学 | Hybrid vehicle working condition prediction method based on meta-learning |
CN111121939A (en) * | 2020-01-02 | 2020-05-08 | 深圳市汉德网络科技有限公司 | High-precision vehicle-mounted area weighing method |
CN111707343A (en) * | 2020-06-23 | 2020-09-25 | 北京经纬恒润科技有限公司 | Method and device for determining weight of vehicle |
CN112258251A (en) * | 2020-11-18 | 2021-01-22 | 北京理工大学 | Grey correlation-based integrated learning prediction method and system for electric vehicle battery replacement demand |
CN113386781A (en) * | 2021-05-24 | 2021-09-14 | 江苏大学 | Intelligent vehicle trajectory tracking control method based on data-driven vehicle dynamics model |
CN115009288A (en) * | 2022-07-19 | 2022-09-06 | 潍柴动力股份有限公司 | Method and device for determining vehicle weight |
Non-Patent Citations (3)
Title |
---|
CHUNYANGQI等: "Hierarchical reinforcement learning based energy management strategy for hybrid electric vehicle", 《ENERGY》 * |
王丽丽: "高精度高速公路车辆动态称重***的研究", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 * |
陈伟: "高海拔环境下轻型车滑行阻力建模及实验研究", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20240230397A1 (en) * | 2023-01-05 | 2024-07-11 | Catarc Automotive Test Center (Tianjin) Co., Ltd | Method for predicting the mass of heavy vehicles based on networked operating data and machine learning |
Also Published As
Publication number | Publication date |
---|---|
CN115204417B (en) | 2022-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110657984B (en) | Planetary gearbox fault diagnosis method based on reinforced capsule network | |
US20120084042A1 (en) | System and method for conditional multi-output regression for machine condition monitoring | |
CN115204417B (en) | Vehicle weight prediction method and system based on ensemble learning and storage medium | |
CN111274472A (en) | Information recommendation method and device, server and readable storage medium | |
Enisz et al. | Tyre–road friction coefficient estimation based on the discrete-time extended Kalman filter | |
US11140531B2 (en) | Systems and methods for processing data from an online on-demand service platform | |
Jiang et al. | A novel fusion algorithm for estimation of the side-slip angle and the roll angle of a vehicle with optimized key parameters | |
CN112733692A (en) | Fault prediction method and device based on integrated hybrid model and related equipment | |
CN110988263B (en) | Vehicle exhaust concentration estimation method based on improved Stacking model | |
CN114722520A (en) | Planetary bearing intelligent fault diagnosis method based on enhanced dictionary learning | |
Yang et al. | Simultaneous estimation of vehicle mass and unknown road roughness based on adaptive extended Kalman filtering of suspension systems | |
Hurtado et al. | A data-driven methodology for bridge indirect health monitoring using unsupervised computer vision | |
Fraikin et al. | A fast and accurate hybrid simulation model for the large-scale testing of automated driving functions | |
US11525728B1 (en) | Systems and methods for determining an estimated weight of a vehicle | |
CN112990329B (en) | System abnormality diagnosis method and device | |
Dong et al. | Global wavelet-integrated residual frequency attention regularized network for hypersonic flight vehicle fault diagnosis with imbalanced data | |
CN116242631A (en) | Method and device for measuring running resistance of whole vehicle, computer equipment, medium and product | |
CN113112061B (en) | Method and device for predicting fuel consumption of vehicle | |
TW201913528A (en) | Method and processing device for driving risk assessment based on multiple kernel learning | |
Li et al. | The tire slip angle estimation algorithm based on intelligent tire technology | |
Pang et al. | On accurate estimation of vehicle lateral states based on an improved adaptive unscented Kalman filter | |
CN114997214A (en) | Fault diagnosis method and device for residual error intensive network | |
Moghadam et al. | Application of smartphones in pavement deterioration identification using artificial neural network | |
Liu et al. | Estimation algorithm for vehicle state estimation using ant lion optimization algorithm | |
Schmidt | Tire Pressure Monitoring using Weighted Horizontal Visibility Graphs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |