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 PDF

Info

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
Application number
CN202211109476.XA
Other languages
Chinese (zh)
Other versions
CN115204417B (en
Inventor
张楠
吴碧磊
张中磊
张文
陈金城
张志武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yukuai Chuangling Intelligent Technology Nanjing Co ltd
Original Assignee
Yukuai Chuangling Intelligent Technology Nanjing Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Yukuai Chuangling Intelligent Technology Nanjing Co ltd filed Critical Yukuai Chuangling Intelligent Technology Nanjing Co ltd
Priority to CN202211109476.XA priority Critical patent/CN115204417B/en
Publication of CN115204417A publication Critical patent/CN115204417A/en
Application granted granted Critical
Publication of CN115204417B publication Critical patent/CN115204417B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • G06N20/20Ensemble learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning 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

Vehicle weight prediction method and system based on ensemble learning and storage medium
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 direction
Figure 895287DEST_PATH_IMAGE001
Speed of vehicle
Figure 501849DEST_PATH_IMAGE002
Rotational speed of engine
Figure 698475DEST_PATH_IMAGE003
Torque of engine
Figure 656067DEST_PATH_IMAGE004
Mechanical efficiency of vehicle drive train
Figure 127499DEST_PATH_IMAGE005
Acceleration of vehicle
Figure 854147DEST_PATH_IMAGE006
Pressure in the tyre
Figure 224604DEST_PATH_IMAGE007
Angle between vehicle and horizontal plane
Figure 669492DEST_PATH_IMAGE008
(ii) a The environmental parameters include: air pressure
Figure 413457DEST_PATH_IMAGE009
Relative humidity of air
Figure 994611DEST_PATH_IMAGE010
Air temperature in Kelvin
Figure 798619DEST_PATH_IMAGE011
Temperature in centigrade
Figure 730803DEST_PATH_IMAGE012
Coefficient of air resistance
Figure 278459DEST_PATH_IMAGE013
Velocity of wind
Figure 714119DEST_PATH_IMAGE014
Acceleration of gravity
Figure 689029DEST_PATH_IMAGE015
According to an embodiment of the present application, the longitudinal vehicle force balance equation is:
Figure 842929DEST_PATH_IMAGE016
wherein m is the first vehicle weight,
coefficient of rolling resistance
Figure 194276DEST_PATH_IMAGE017
The expression of (c) is:
Figure 747093DEST_PATH_IMAGE018
air density of the location of the vehicle
Figure 892903DEST_PATH_IMAGE019
The expression of (a) is:
Figure 534100DEST_PATH_IMAGE020
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 is
Figure 423559DEST_PATH_IMAGE021
Wherein
Figure 833812DEST_PATH_IMAGE022
Figure 150524DEST_PATH_IMAGE023
Figure 279017DEST_PATH_IMAGE024
is a weight value of the weight value,
Figure 706587DEST_PATH_IMAGE025
in order to be an error term, the error term,
Figure 502505DEST_PATH_IMAGE026
is the output of the longitudinal vehicle force balance equation,
Figure 724538DEST_PATH_IMAGE027
to
Figure 340328DEST_PATH_IMAGE028
Is the output of the at least one trained base learner with an objective function of
Figure 562800DEST_PATH_IMAGE029
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 direction
Figure 947645DEST_PATH_IMAGE001
Speed of vehicle
Figure 871738DEST_PATH_IMAGE002
Rotational speed of engine
Figure 443665DEST_PATH_IMAGE003
Torque of engine
Figure 213038DEST_PATH_IMAGE004
Mechanical efficiency of vehicle drive train
Figure 717969DEST_PATH_IMAGE005
Acceleration of vehicle
Figure 812964DEST_PATH_IMAGE006
Pressure in the tyre
Figure 137766DEST_PATH_IMAGE007
Angle between vehicle and horizontal plane
Figure 710829DEST_PATH_IMAGE008
(ii) a The environmental parameters include: air pressure
Figure 70267DEST_PATH_IMAGE009
Relative humidity of air
Figure 539425DEST_PATH_IMAGE010
Air temperature in Kelvin
Figure 817435DEST_PATH_IMAGE011
Temperature in centigrade
Figure 928611DEST_PATH_IMAGE012
Coefficient of air resistance
Figure 142554DEST_PATH_IMAGE013
Velocity of wind
Figure 48194DEST_PATH_IMAGE014
Acceleration of gravity
Figure 347588DEST_PATH_IMAGE015
According to an embodiment of the application, the longitudinal vehicle force balance equation may be:
Figure 262454DEST_PATH_IMAGE016
wherein m is the first vehicle weight,
coefficient of rolling resistance
Figure 330904DEST_PATH_IMAGE017
The expression of (a) is:
Figure 673024DEST_PATH_IMAGE018
air density of the location of the vehicle
Figure 459714DEST_PATH_IMAGE019
The expression of (a) is:
Figure 181201DEST_PATH_IMAGE030
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.
Vehicle traction
Figure 104158DEST_PATH_IMAGE031
The formula of (1) is:
Figure 617179DEST_PATH_IMAGE032
Figure 891166DEST_PATH_IMAGE033
is engine torque, unit:
Figure 616676DEST_PATH_IMAGE034
Figure 128560DEST_PATH_IMAGE035
is the wheel radius, unit:
Figure 546903DEST_PATH_IMAGE036
Figure 777027DEST_PATH_IMAGE037
is the main reducer transmission ratio, unit: none;
Figure 571808DEST_PATH_IMAGE038
is the transmission ratio of a certain gear of the speed changer, and the unit is as follows: none;
Figure 466427DEST_PATH_IMAGE005
is the mechanical efficiency of the drive train, in units:
Figure 586830DEST_PATH_IMAGE039
the relationship between the engine speed n (in rpm, revolutions per minute) and the vehicle speed v (in km/h) is:
Figure 304250DEST_PATH_IMAGE040
general considerations ofThe vehicle traction can be obtained by the expression
Figure 902722DEST_PATH_IMAGE031
The formula of (1) is as follows:
Figure 920356DEST_PATH_IMAGE041
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 herein
Figure 946081DEST_PATH_IMAGE042
The formula of (1) is:
Figure 416377DEST_PATH_IMAGE043
Figure 818539DEST_PATH_IMAGE044
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:
Figure 690680DEST_PATH_IMAGE045
Figure 887306DEST_PATH_IMAGE036
represents the weight of the vehicle at this time, in units:
Figure 593967DEST_PATH_IMAGE046
Figure 534241DEST_PATH_IMAGE047
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:
Figure 260889DEST_PATH_IMAGE048
in the above-mentioned formula, the compound has the following structure,
Figure 893996DEST_PATH_IMAGE049
in units of psi is measured in units of psi,
Figure 338883DEST_PATH_IMAGE050
in mph.
Therefore, rolling resistance
Figure 551690DEST_PATH_IMAGE042
The formula of (c) can evolve as:
Figure 398423DEST_PATH_IMAGE051
the air resistance formula according to the embodiments of the present application is selected as:
Figure 671273DEST_PATH_IMAGE052
wherein,
Figure 603457DEST_PATH_IMAGE053
air density, unit:
Figure 23549DEST_PATH_IMAGE054
;
Figure 724789DEST_PATH_IMAGE001
represents the orthographic projection area of the vehicle in the windward direction, unit:
Figure 699698DEST_PATH_IMAGE055
;
Figure 588020DEST_PATH_IMAGE014
representing wind speed, the positive direction of the vector is the same as the vehicle speed, and the unit is:
Figure 673788DEST_PATH_IMAGE056
。C d represents the air resistance coefficient, in units: none. Since air density varies greatly in real life, the following approximation can be used:
Figure 229534DEST_PATH_IMAGE057
wherein,
Figure 375344DEST_PATH_IMAGE010
represents the relative humidity of the air, in units: percent;
Figure 750962DEST_PATH_IMAGE011
the temperature in kelvin (K);
Figure 377771DEST_PATH_IMAGE012
is the temperature in degrees Celsius;
Figure 53603DEST_PATH_IMAGE009
is total air pressure, unit:
Figure 104736DEST_PATH_IMAGE058
. The expression of the final air resistance is therefore:
Figure 233229DEST_PATH_IMAGE059
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:
Figure 395220DEST_PATH_IMAGE060
wherein,
Figure 659979DEST_PATH_IMAGE006
which is indicative of the acceleration of the vehicle,unit:
Figure 147592DEST_PATH_IMAGE061
Figure 763381DEST_PATH_IMAGE015
is the gravitational acceleration, unit:
Figure 994642DEST_PATH_IMAGE061
. The vehicle weight can thus be found to be:
Figure 379487DEST_PATH_IMAGE016
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
Figure 503914DEST_PATH_IMAGE062
Figure 606999DEST_PATH_IMAGE063
Figure 376372DEST_PATH_IMAGE064
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 of
Figure 881303DEST_PATH_IMAGE021
Wherein, in the process,
Figure 179560DEST_PATH_IMAGE022
Figure 769941DEST_PATH_IMAGE023
Figure 343005DEST_PATH_IMAGE024
is a weight value of the weight value,
Figure 436863DEST_PATH_IMAGE025
in order to be an error term, the error term,
Figure 437180DEST_PATH_IMAGE026
is the output of the longitudinal vehicle force balance equation,
Figure 249278DEST_PATH_IMAGE027
to is that
Figure 617244DEST_PATH_IMAGE028
Is 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
Figure 831187DEST_PATH_IMAGE029
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.
Figure 736827DEST_PATH_IMAGE022
Figure 36221DEST_PATH_IMAGE023
Figure 951087DEST_PATH_IMAGE065
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:
Figure 753958DEST_PATH_IMAGE029
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 direction
Figure 297964DEST_PATH_IMAGE001
Speed of vehicle
Figure 339869DEST_PATH_IMAGE002
Rotational speed of engine
Figure 371410DEST_PATH_IMAGE003
Torque of engine
Figure 840569DEST_PATH_IMAGE004
Mechanical efficiency of vehicle drive train
Figure 62121DEST_PATH_IMAGE005
Acceleration of vehicle
Figure 579822DEST_PATH_IMAGE006
Pressure in the tyre
Figure 262607DEST_PATH_IMAGE007
Angle between vehicle and horizontal plane
Figure 371508DEST_PATH_IMAGE008
The environmental parameters include: air pressure
Figure 139744DEST_PATH_IMAGE009
Relative humidity of air
Figure 254943DEST_PATH_IMAGE010
Air temperature in Kelvin
Figure 261076DEST_PATH_IMAGE011
Temperature in centigrade
Figure 72038DEST_PATH_IMAGE012
Coefficient of air resistance
Figure 335092DEST_PATH_IMAGE013
Velocity of wind
Figure 132278DEST_PATH_IMAGE014
Acceleration of gravity
Figure 461759DEST_PATH_IMAGE015
3. The vehicle weight prediction method according to claim 2,
the longitudinal vehicle force balance equation is:
Figure 597949DEST_PATH_IMAGE016
wherein m is the first vehicle weight,
coefficient of rolling resistance
Figure 809619DEST_PATH_IMAGE017
The expression of (a) is:
Figure 272480DEST_PATH_IMAGE018
air density of the location of the vehicle
Figure 128571DEST_PATH_IMAGE019
The expression of (c) is:
Figure 953439DEST_PATH_IMAGE020
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
Figure 649475DEST_PATH_IMAGE021
Wherein,
Figure 319622DEST_PATH_IMAGE022
Figure 154854DEST_PATH_IMAGE023
Figure 430851DEST_PATH_IMAGE024
is a weight value of the weight value,
Figure 85954DEST_PATH_IMAGE025
in order to be an error term, the error term,
Figure 622109DEST_PATH_IMAGE026
is the output of the longitudinal vehicle force balance equation,
Figure 374164DEST_PATH_IMAGE027
to
Figure 868730DEST_PATH_IMAGE028
Is the output of the at least one trained base learner,
the objective function is:
Figure 807868DEST_PATH_IMAGE029
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.
CN202211109476.XA 2022-09-13 2022-09-13 Vehicle weight prediction method and system based on ensemble learning and storage medium Active CN115204417B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
CHUNYANGQI等: "Hierarchical reinforcement learning based energy management strategy for hybrid electric vehicle", 《ENERGY》 *
王丽丽: "高精度高速公路车辆动态称重***的研究", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 *
陈伟: "高海拔环境下轻型车滑行阻力建模及实验研究", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
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