[go: up one dir, main page]

CN108773377B - A mobile terminal-based real-time estimation method and device for automobile fuel consumption - Google Patents

A mobile terminal-based real-time estimation method and device for automobile fuel consumption Download PDF

Info

Publication number
CN108773377B
CN108773377B CN201810783843.1A CN201810783843A CN108773377B CN 108773377 B CN108773377 B CN 108773377B CN 201810783843 A CN201810783843 A CN 201810783843A CN 108773377 B CN108773377 B CN 108773377B
Authority
CN
China
Prior art keywords
vehicle
acceleration
car
fuel consumption
real
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.)
Active
Application number
CN201810783843.1A
Other languages
Chinese (zh)
Other versions
CN108773377A (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.)
Chongqing University
Original Assignee
Chongqing University
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 Chongqing University filed Critical Chongqing University
Priority to CN201810783843.1A priority Critical patent/CN108773377B/en
Publication of CN108773377A publication Critical patent/CN108773377A/en
Application granted granted Critical
Publication of CN108773377B publication Critical patent/CN108773377B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W2050/0001Details of the control system
    • B60W2050/0043Signal treatments, identification of variables or parameters, parameter estimation or state estimation
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W2050/0001Details of the control system
    • B60W2050/0043Signal treatments, identification of variables or parameters, parameter estimation or state estimation
    • B60W2050/0052Filtering, filters
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W2050/0001Details of the control system
    • B60W2050/0043Signal treatments, identification of variables or parameters, parameter estimation or state estimation
    • B60W2050/0059Signal noise suppression
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W2552/00Input parameters relating to infrastructure
    • B60W2552/15Road slope, i.e. the inclination of a road segment in the longitudinal direction

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

本发明公开了一种基于移动终端的汽车油耗实时估计方法,包括:获取加速度传感器的X轴数据和Y轴数据以及陀螺仪的X轴数据,通过加速度传感器的X轴数据得到带有重力分量的车辆行驶加速度;通过加速度传感器的Y轴数据得到道路坡度,通过陀螺仪的X轴数据得到道路坡度;对加速度传感器和陀螺仪采集到的数据进行融合,得到矫正后的加速度与最优坡度估计值,根据矫正后的加速度得到汽车的真实加速度;对汽车的真实加速度进行积分,得到汽车的行驶速度。本发明利用移动终端的内嵌传感器实现对车辆行驶加速度、速度以及油耗实时估计,用于评估驾驶员驾驶行为的绿色程度,从而帮助驾驶员养成绿色的驾驶习惯,减少燃油消耗。

Figure 201810783843

The invention discloses a real-time estimation method for automobile fuel consumption based on a mobile terminal, comprising: acquiring X-axis data and Y-axis data of an acceleration sensor and X-axis data of a gyroscope; Vehicle driving acceleration; obtain the road slope through the Y-axis data of the acceleration sensor, and obtain the road slope through the X-axis data of the gyroscope; fuse the data collected by the acceleration sensor and the gyroscope to obtain the corrected acceleration and the optimal slope estimation value , obtain the real acceleration of the car according to the corrected acceleration; integrate the real acceleration of the car to obtain the driving speed of the car. The present invention utilizes the embedded sensor of the mobile terminal to realize real-time estimation of the vehicle's driving acceleration, speed and fuel consumption, and is used to evaluate the greenness of the driver's driving behavior, thereby helping the driver to develop green driving habits and reducing fuel consumption.

Figure 201810783843

Description

Automobile oil consumption real-time estimation method and device based on mobile terminal
Technical Field
The invention belongs to the field of intelligent automobiles, and particularly relates to an automobile oil consumption real-time estimation method and device based on a mobile terminal.
Background
With the rapid increase of the automobile holding capacity, the energy consumption is higher and higher. Statistical studies have shown that driving behavior habits account for approximately 46% of the external factors that affect fuel consumption, in addition to the effects of vehicle performance. Therefore, the green degree of the driving behavior of the driver is evaluated, and therefore the driver is helped to develop the green driving habit, and the method has important research significance. The implementation of green driving behavior evaluation requires real-time acquisition of some key parameters, which mainly include: vehicle acceleration, speed, fuel consumption, etc.
At present, the method for acquiring the key parameters is generally to collect the key parameters from an automobile CAN bus through an OBD interface. However, the OBD has the biggest problem that there is no standard interface and data, and on one hand, the proprietary protocols of different brands and styles of vehicles are not uniform, and the proprietary protocol of a specific vehicle type needs to be cracked one by one to acquire vehicle running data. On the other hand, the protocol is often changed by the car factory at intervals, and needs to be cracked again, and the car factory is unwilling to disclose the own private protocol due to the consideration of safety, which brings difficulty to the extraction of data, needs to install additional equipment additionally, and has higher cost and is more tedious.
Some common OBD equipment on the market at present, like excellent driving, the on-vehicle intelligent box of picture bar is connected through the bluetooth and can be shown car state data in real time on the cell-phone, but does not have open data interface, can't extract data, the green driving research of being not convenient for. Other OBD equipment independently developed by automobile manufacturers can acquire automobile state data in real time, but is only suitable for automobile models of the manufacturers, and the applicability is poor.
With the wide popularization of intelligent mobile terminals, mobile phones have become popular products in the current consumer electronics field. If the vehicle driving data is detected by using the embedded sensor in the mobile phone, additional OBD equipment is not needed, the cost can be saved, and the method is simple and convenient.
In the prior art of estimating the acceleration, the speed and the oil consumption of a vehicle based on a mobile terminal, the patent application CN104575004A firstly obtains the speed by integrating acceleration sensing data, then monitors the sensor data to obtain reference points (the vehicle stops, turns and passes through a bumpy road surface), estimates the acceleration error between the two reference points, and further corrects the speed estimation accumulated error. The patent application CN105092892A adopts a wavelet analysis method to perform denoising processing on acceleration sensor data so as to improve the precision, and makes a mobile phone coordinate system and a vehicle coordinate system coincide by calculating a rotation matrix, thereby solving the problem that a mobile terminal needs to be fixed on a vehicle in the data acquisition process.
However, the data acquired by the acceleration sensor is a composite superposition value of the motion acceleration and the gravity acceleration, and when the automobile is in an up-down slope or on a bumpy road, the vehicle running acceleration measured by the sensor generates a large error due to the influence of the gravity component. In the two methods, the gravity component of the acceleration sensor data is not processed, and the acceleration and speed estimation accuracy is still to be improved. In addition, at present, research for estimating the fuel consumption of the vehicle by using a mobile phone sensor is less, and because road gradient information is difficult to obtain in real time, most of the existing fuel consumption models do not consider the influence of the road gradient.
Disclosure of Invention
The invention aims to provide a method for estimating the oil consumption of an automobile in real time based on a mobile terminal. Meanwhile, the invention also provides a device for estimating the oil consumption of the automobile in real time based on the mobile terminal.
The purpose of the invention is realized by the following technical scheme: the invention provides a real-time estimation method for automobile oil consumption based on a mobile terminal, wherein the mobile terminal is provided with an acceleration sensor and a gyroscope, and the method comprises the following steps:
step 1, acquiring X-axis data and Y-axis data of an acceleration sensor and X-axis data of a gyroscope, and obtaining vehicle running acceleration with gravity component through the X-axis data of the acceleration sensor;
step 2, obtaining the road gradient theta through the Y-axis data of the acceleration sensoraObtaining road slope θ from X-axis data of a gyroscopet(ii) a Fusing data acquired by an acceleration sensor and a gyroscope by using a Kalman data fusion method to obtain corrected acceleration a and an optimal gradient estimation value theta, and obtaining the real acceleration a of the automobile according to the corrected acceleration acar
Step 3, the real acceleration a of the automobilecarIntegrating to obtain the running speed V of the automobilecar(T);
And 4, establishing a fuel consumption model to estimate fuel consumption in real time based on the acceleration, the speed and the road gradient.
Further, the method also comprises a step 4 of comparing the running speed V of the automobilecar(T) discretizing.
Further, the method comprises a step 5 of identifying a reference point for correcting the running speed according to the sensor data characteristics, wherein the reference point comprises a static state and a turning state.
Further, the step 4 specifically includes the following substeps:
step 41, obtaining inherent parameters of the vehicle, including a road rolling resistance coefficient f, a mechanical efficiency η of a transmission system and an air resistance coefficient C of the vehicledThe positive windward area A of the vehicle and the delivery mass m of the vehicle;
step 42, estimating the output power Pe of the automobile engine according to the intrinsic parameters of the automobile, the acceleration and the speed of the automobile and the road gradient;
step 43, establishing a fuel consumption model according to the output power Pe of the automobile engine;
and step 44, estimating the fuel consumption of the vehicle in real time by taking the intrinsic parameters of the vehicle, the running acceleration of the vehicle, the speed and the road gradient as the input of the fuel consumption model.
The other purpose of the invention is realized by the following technical scheme: a real-time estimation device for automobile fuel consumption based on a mobile terminal, wherein the mobile terminal is provided with an acceleration sensor and a gyroscope, and the device comprises:
the data acquisition module is used for acquiring X-axis data and Y-axis data of the acceleration sensor and X-axis data of the gyroscope, and acquiring vehicle running acceleration with gravity component through the X-axis data of the acceleration sensor;
a road gradient calculation module for obtaining road gradient theta according to Y-axis data of the acceleration sensoraAnd for deriving road slope θ from gyroscope X-axis datat
The data fusion module is used for fusing data acquired by the acceleration sensor and the gyroscope by using a Kalman data fusion method to obtain corrected acceleration a and an optimal gradient estimation value theta, and obtaining the real acceleration a of the automobile according to the corrected acceleration acar
Integral module for true acceleration a of the vehiclecarIntegrating to obtain the running speed V of the automobilecar(T);
And the fuel consumption estimation module is used for establishing a fuel consumption model to estimate the fuel consumption in real time based on the acceleration, the speed and the road gradient.
Furthermore, the device also comprises a discretization module used for measuring the running speed V of the automobilecar(T) discretizing.
Further, the device comprises a correction module for identifying a reference point for correcting the running speed according to the sensor data characteristics, wherein the reference point comprises a static state and a turning state.
The fuel consumption estimation module includes:
vehicle intrinsic parametersThe module is used for acquiring intrinsic parameters of the vehicle, including a road rolling resistance coefficient f, a mechanical efficiency η of a power train and an air resistance coefficient C of the vehicledThe positive windward area A of the vehicle and the delivery mass m of the vehicle;
the output sprinkling rate estimation module is used for estimating the output power Pe of the automobile engine according to the inherent parameters of the vehicle, the acceleration, the speed and the road gradient of the vehicle;
and the oil consumption model establishing module is used for establishing an oil consumption model according to the output power Pe of the automobile engine.
Due to the adoption of the technical scheme, the invention has the following advantages:
the invention realizes real-time estimation of the acceleration and the speed of the automobile based on the mobile terminal. Firstly, by utilizing the characteristics that a gyroscope is not easily influenced by motion acceleration and has high measurement accuracy in a short time, and an acceleration sensor does not have accumulated errors in gravity measurement inclination angles in an inertial state, an optimal gradient estimation value is estimated through an adaptive Kalman data fusion filtering algorithm, and adaptive filtering is carried out on sensor data noise, so that the gravity component of the acceleration is removed, the noise error is reduced, and more accurate vehicle running acceleration is obtained; secondly, the speed of the vehicle is estimated based on the acceleration, and the obtained acceleration, the speed and the road gradient are used as input, and a fuel consumption model is built to estimate the fuel consumption. The estimated parameters can be used for evaluating the green degree of the driving behavior of the driver, so that the driver is helped to develop green driving habits, and the fuel consumption is reduced.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention. The objectives and other advantages of the invention may be realized and attained by the means of the instrumentalities and combinations particularly pointed out hereinafter.
Drawings
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings:
FIG. 1 shows a schematic of a vehicle coordinate system and a cell phone coordinate system;
FIG. 2 shows a force analysis graph of an automobile ascending a slope;
FIG. 3 shows a force analysis graph of a vehicle during a turn;
fig. 4 shows a flow diagram of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention.
Please refer to fig. 1 to 4. It should be noted that the drawings provided in the present embodiment are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
According to the method, the data of the mobile phone sensor is acquired through the data acquisition APP, then the adaptive Kalman data fusion filtering algorithm is used for realizing real-time estimation on the road gradient and adaptive filtering on dynamic noise interference, and on the basis, more accurate automobile driving acceleration, speed and fuel consumption are estimated. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 4, the invention provides a mobile terminal-based method for estimating fuel consumption of an automobile in real time, which comprises the following steps:
the mobile phone is fixedly placed in the vehicle, so that a mobile phone coordinate system is consistent with a vehicle coordinate system (when the mobile phone is randomly placed and is inconsistent with the vehicle coordinate system, a coordinate redirection algorithm can be used to enable the mobile phone coordinate to be consistent with the vehicle coordinate system), and data are acquired through mobile phone sensor acquisition software. Specifically, the collected data includes X-axis data and Y-axis data of the acceleration sensor and X-axis data of the gyroscope.
Assuming that the Y-axis of the acceleration sensor is along the vehicle traveling direction (as shown in fig. 2), the vehicle traveling acceleration with the gravity component can be obtained by reading the Y-axis data of the acceleration sensor; the gyroscope X-axis data and the acceleration sensor X-axis data may be used for slope estimation.
Step 2: and constructing an adaptive Kalman data fusion filtering model based on the sensor data to obtain more accurate vehicle running acceleration.
Step 21: obtaining road slope theta from Y-axis data of acceleration sensoraObtaining road slope θ from X-axis data of a gyroscopetAnd then carrying out data fusion in a filter, and carrying out self-adaptive filtering on the dynamic noise interference so as to obtain an optimal road slope estimated value theta and an acceleration value a after filtering correction.
Specifically, when the automobile is in a constant speed driving state, the motion acceleration is 0. At this time, the road gradient can be accurately estimated by using the relationship between the trigonometric functions according to the components of the gravitational acceleration on the three axes. However, when the vehicle is in a variable speed driving state, the value measured by the acceleration sensor is the vector sum of the gravitational acceleration and the motional acceleration, resulting in a deviation in the road gradient estimated by the acceleration sensor. The road grade value can be obtained by performing time integration on the angular velocity measured by the X axis of the gyroscope sensor, and the road grade value is not influenced by the motion acceleration, but the accumulated error of the gyroscope sensor can influence the accuracy of grade estimation.
Therefore, the optimal road slope estimation value can be obtained by fusing the data of the gyroscope and the acceleration sensor by utilizing the characteristics that the gyroscope is not easily influenced by the motion acceleration and has high measurement accuracy in a short time and the acceleration sensor does not have accumulated errors in gravity measurement of the inclination angle in the inertial state.
The method carries out data fusion based on the simplified Sage-Husa Kalman adaptive filter, the sensor measurement noise covariance R can be obtained through experimental statistics, and the dynamic process noise of the system is difficult to determine, so that the adaptive estimation updating is carried out on the process noise covariance Q.
The expression formula described by the state equation and the observation equation of the conventional linear discrete Kalman filtering is
Figure BDA0001733238170000051
Wherein, x (k) is a state variable, y (k) is a system output, a is a state transition matrix, H is a measurement matrix, and w (k) and v (k) are process noise and measurement noise, respectively.
Measuring angle theta with a gyroscopetAcceleration sensor Y-axis data ayObtaining road gradient theta from Y-axis data of acceleration sensoraAnd the angular change Δ θ measured by the gyroscope within Δ ttFor the state vector of the system, the corresponding state equation and observation equation can be obtained:
Figure BDA0001733238170000061
wherein, thetaa=-arcsin(ay/g);θt=θt0+Δθt,θt0At an initial angle, Δ θtCan be obtained by integrating gyroscope X-axis data; w is aa(k) Is the process noise of the acceleration sensor, and has a covariance of qa(k);wt(k) Is the process noise of the gyroscope with covariance qt(k) (ii) a v (k) is measurement noise of fused data of the acceleration sensor and the gyroscope, and the covariance is r (k); v. ofa(k) Is the measurement noise of the acceleration sensor, and has a covariance of ra
Y (k) is a system observation value, and a gyroscope measurement angle and an acceleration sensor measurement angle are added and synthesized according to weights 1-c (k) and c (k); and the other is the actual measurement value of the Y axis of the acceleration sensor.
Let us denote the motion by Δ aThe influence of dynamic acceleration on gradient estimation through the acceleration sensor is estimated by using the relative deviation of a triaxial composite vector modulus | a | and a gravity acceleration g constant measured by the acceleration sensor, a | -a-g |/g is defined, and then the measured gradient value theta of the acceleration sensor is dynamically adjusted according to the Δ aaAnd c, weight value in data fusion.
When Δ a is large, θaThe smaller the weight c of, and thetatThe greater the weight 1-c is, the greater the trust of Kalman filtering on the measurement value of the gyroscope sensor, so as to reduce the error of the slope estimation value measured by the acceleration sensor when the automobile is in a variable speed state; when Δ a is small, θaThe greater the weight c of, and thetatThe smaller the weight 1-c is, the greater the trust of the Kalman filtering on the measurement value of the acceleration sensor, so as to reduce the accumulated error of the gyro sensor in measuring the road gradient. By continuously adjusting thetaaAnd thetatThe weight value of (c) is as follows:
Figure BDA0001733238170000062
and predicting the current time state by using the previous time state as follows:
Figure BDA0001733238170000071
in the formula:
Figure BDA0001733238170000072
is the optimal estimated value of the last moment;
Figure BDA0001733238170000073
and further predicting the measured value at the current moment by using the current state predicted value as follows:
Figure BDA0001733238170000074
in the formula:
Figure BDA0001733238170000075
the state prediction value at the current moment is obtained;
Figure BDA0001733238170000076
the prediction error between the predicted measurement and the actual measurement is:
Figure BDA0001733238170000077
in the formula: y (k) is an actual measurement value;
the covariance P (k | k-1) and the system gain Kg (k) are then updated:
P(k|k-1)=AP(k-1|k-1)AT+Q(k-1) (7)
Kg(k)=P(k|k-1)HT(k)[H(k)P(k|k-1)HT(k)+R(k)]-1(8)
in the formula: r (k) is a measurement noise covariance matrix at the current moment, and Q (k-1) is a process noise covariance matrix at the previous moment.
Figure BDA0001733238170000078
R (k) does not carry out real-time estimation updating per se, but due to dynamic adjustment of the weight values (c 1-c (k)), the measurement noise of the fusion data of the acceleration sensor and the gyroscope is a non-stationary random process, and r (k) has time-varying property. When c is not equal to 0, the acceleration sensor has an influence factor on the slope estimation, the measurement noise of the gyroscope is effectively suppressed by the acceleration sensor, and the system measurement noise is considered to be the measurement noise of the acceleration sensor only; when c is equal to 0, the influence factor of the acceleration sensor on the slope estimation is zero, the accumulated error of the gyroscope is not effectively suppressed, and as the accumulated number of times increases, the accumulated noise of the gyroscope increases, r (k) also increases gradually, which can be specifically expressed as:
Figure BDA0001733238170000081
in the formula: r isaIs the measurement noise covariance of the acceleration sensor; Δ r is the measurement noise covariance increment accumulated once by the gyroscope.
Q (k) can be estimated by:
Q(k)=(1-d(k))Q(k-1)+d(k)[Kg(k)e(k)e(k)T+AP(k|k)AT](11)
in the formula:
d(k)=(1-b)/(1-bk+1) (12)
b is a forgetting factor, and the value is usually between 0.95 and 0.99;
according to the calculation results of the expressions (2) to (12), the state variable and the covariance matrix of the system are updated according to the expression (13), the posterior estimation is repeated, and the Kalman gain is rapidly converged repeatedly, so that the optimal estimation value X (k | k) of the acceleration sensor and the gyroscope sensor is found.
Figure BDA0001733238170000082
The acceleration after the correction of the adaptive Kalman filtering is a ═ ay(k | k); the optimal slope estimate is:
θ=(1-c(k))θt(k|k)+c(k)θa(k | k). The initialization parameters of the adaptive kalman filter are shown in table 1:
TABLE 1 initialization parameters for adaptive Kalman Filter
Figure BDA0001733238170000083
Step 22: and solving the gravity component on the Y axis according to the road gradient, and removing the gravity component from the filtered acceleration to obtain the real acceleration of the automobile.
As shown in figure 3, the road grade value can be selected fromCalculating the component g of gravity on the Y axisy
gy=gsinθ (11)
Thereby removing the gravity influence of the acceleration and obtaining the real acceleration a of the automobilecar
acar=a+gy(12)
And step 3: the vehicle speed is estimated based on the acceleration, and the speed is corrected at the reference point.
Step 31: and obtaining the running speed of the automobile by integrating the acceleration.
The real acceleration a of the automobile is obtained through the step 2carThen, the driving speed of the automobile can be obtained by calculating the integral of the acceleration along with the time:
Figure BDA0001733238170000091
wherein, Vcar(T) is the vehicle speed at time T; vcar(0) For the initial speed, the vehicle starts to run from a standstill, so Vcar(0) Is 0; a iscar(t) is a function of the acceleration of the vehicle at each instant t.
Since the acceleration of the automobile is acquired by a specific sampling rate, a can be obtainedcar(t) discretization, the vehicle speed calculation formula can be converted into:
Figure BDA0001733238170000092
wherein: k is the sampling rate of the acceleration sensor, acar(i) The value is the ith vehicle running acceleration value obtained according to the sampling value.
Step 32: and identifying reference points (stopping and turning) according to the data characteristics of the sensor, further correcting the speed and improving the estimation precision.
When the automobile is in a stop state, the speed is 0; the speed during turning can be obtained by calculating data of the gyroscope and the acceleration sensor, the speed is corrected at the reference points (the speed is corrected to be 0 in a stop state, the speed is calculated based on the data of the gyroscope and the acceleration sensor in a turning state, and then the speed obtained by integration is corrected to be recalculated), so that accumulated errors are eliminated, and the estimation precision is further improved.
①, because the Z-axis data characteristics of the acceleration sensor have large difference in the stopping and running states of the vehicle, a 1s sliding window can be set, the amplitude mean value and the amplitude standard deviation of the Z-axis data of the acceleration sensor are calculated as the data characteristics, and the threshold value is determined based on the statistical information, so as to determine whether the vehicle is in the stopping state.
②, as shown in FIG. 4, when the car turns, the running route is close to a circular arc, the car will be subject to a centripetal force, which is related to its speed, angular velocity and turning radius, the centripetal acceleration of the car can be obtained from the X-axis data of the acceleration sensor, and the angular velocity of the car can be obtained from the Z-axis data of the gyroscope, therefore, the speed of the car can be calculated according to the following formula (15).
Figure BDA0001733238170000101
Wherein: a isxIs the centripetal acceleration of the vehicle; w is azIs the angular velocity of the vehicle;
and 4, step 4: and establishing a fuel consumption model based on the acceleration and the speed and considering the influence of the gradient.
Step 41, acquiring corresponding vehicle intrinsic parameters (road rolling resistance coefficient f, drive train mechanical efficiency η and vehicle air resistance coefficient C) according to the automobile modeldA positive windward area A of the vehicle and a delivery mass m of the vehicle);
step 42: and (3) estimating the output power Pe of the automobile engine according to the intrinsic parameters of the automobile and by combining the acceleration, the speed and the road gradient of the automobile obtained in the steps 2 and 3:
the vehicle dynamics model is:
Ft=Ff+Fi+Faero+Fj(16)
in the formula, FtIs the driving force of the vehicle;
rolling resistance FfCan be expressed as:
Ft=mgf (16)
wherein g represents the gravitational acceleration.
Slope resistance FiCan be expressed as:
Fi=mgθ (16)
air resistance FaeroCan be expressed as:
Figure BDA0001733238170000102
wherein, CdExpressed as the coefficient of air resistance of the vehicle, A is expressed as the frontal area of the vehicle, VcarThe vehicle running speed; ρ is the air density, and is generally 1.2258N · s2·m-4
Acceleration resistance FjCan be expressed as:
Fj=δmacar(16)
wherein, acarRepresents the acceleration, and delta represents the conversion coefficient of the rotating mass of the automobile.
The engine output power Pe can be expressed as:
Figure BDA0001733238170000103
wherein η is the vehicle driveline mechanical efficiency.
Based on the above formula, the complete form of calculating the engine output power Pe can be derived:
Figure BDA0001733238170000111
step 43: establishing an oil consumption model based on engine power by using a least square method;
the complexity and the accuracy of the model are comprehensively considered, and a quadratic PB fuel consumption model is adopted:
Fc=α12Pe+α3Pe2(17)
wherein: and Fc is the oil consumption of the vehicle.
Specifically, the vehicle oil consumption can be synchronously acquired through equipment such as OpenXC (open capacitive center) equipment for model building, and then the model parameters α are estimated by using a least square method1、α2And α3. After the model is built, the inherent parameters of the vehicle, the running acceleration, the speed and the road gradient of the vehicle can be used as input, and the fuel consumption of the vehicle can be estimated in real time.
The invention also provides a device for estimating the fuel consumption of the automobile in real time based on the mobile terminal, wherein the mobile terminal is provided with an acceleration sensor and a gyroscope, and the device comprises:
the data acquisition module is used for acquiring X-axis data and Y-axis data of the acceleration sensor and X-axis data of the gyroscope, and acquiring vehicle running acceleration with gravity component through the X-axis data of the acceleration sensor;
a road gradient calculation module for obtaining road gradient theta according to Y-axis data of the acceleration sensoraAnd for deriving road slope θ from gyroscope X-axis datat
The data fusion module is used for fusing data acquired by the acceleration sensor and the gyroscope by using a Kalman data fusion method to obtain corrected acceleration a and an optimal gradient estimation value theta, and obtaining the real acceleration a of the automobile according to the corrected acceleration acar
Integral module for true acceleration a of the vehiclecarIntegrating to obtain the running speed V of the automobilecar(T)。
And the fuel consumption estimation module is used for establishing a fuel consumption model to estimate the fuel consumption in real time based on the acceleration, the speed and the road gradient.
In this embodiment, the apparatus further includes a discretization module for determining the driving speed V of the vehiclecar(T) discretizing.
In this embodiment, the apparatus further comprises a correction module for correcting the driving speed based on the sensor data characteristics and identifying a reference point, which includes a stationary point and a turning point.
In the embodiment, the fuel consumption estimation module comprises a vehicle intrinsic parameter acquisition module for acquiring intrinsic parameters of the vehicle, including a road rolling resistance coefficient f, a power train mechanical efficiency η and a vehicle air resistance coefficient CdThe positive windward area A of the vehicle and the delivery mass m of the vehicle; the output sprinkling rate estimation module is used for estimating the output power Pe of the automobile engine according to the inherent parameters of the vehicle, the acceleration, the speed and the road gradient of the vehicle; and the oil consumption model establishing module is used for establishing an oil consumption model according to the output power Pe of the automobile engine.
In the embodiment of the present invention, the functions of the data acquisition module, the road gradient calculation module, the data fusion module, the integration module, the discretization module, the correction module, and the fuel consumption estimation module can be implemented by the foregoing method, and the implementation is not repeated here.
Finally, the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions, and all of them should be covered in the protection scope of the present invention.

Claims (8)

1.一种基于移动终端的汽车油耗实时估计方法,所述移动终端具有加速度传感器和陀螺仪,其特征在于,该方法包括以下步骤:1. a kind of real-time estimation method of automobile fuel consumption based on mobile terminal, described mobile terminal has acceleration sensor and gyroscope, it is characterized in that, this method comprises the following steps: 步骤1.获取加速度传感器的X轴数据和Y轴数据以及陀螺仪的X轴数据,通过加速度传感器的Y轴数据得到带有重力分量的车辆行驶加速度;加速度传感器的Y轴沿着车辆行驶方向;Step 1. Obtain the X-axis data and Y-axis data of the acceleration sensor and the X-axis data of the gyroscope, and obtain the vehicle driving acceleration with the gravity component through the Y-axis data of the acceleration sensor; the Y-axis of the acceleration sensor is along the driving direction of the vehicle; 步骤2.通过加速度传感器的Y轴数据得到道路坡度θa,通过陀螺仪的X轴数据得到道路坡度θt;利用卡尔曼数据融合方法对加速度传感器和陀螺仪采集到的数据进行融合,得到矫正后的加速度a与最优坡度估计值θ,根据矫正后的加速度a得到汽车的真实加速度acarStep 2. Obtain the road gradient θ a through the Y-axis data of the acceleration sensor, and obtain the road gradient θ t through the X-axis data of the gyroscope; use the Kalman data fusion method to fuse the data collected by the acceleration sensor and the gyroscope to obtain correction. The actual acceleration a car of the car is obtained according to the corrected acceleration a and the optimal gradient estimated value θ; 步骤3.对汽车的真实加速度acar进行积分,得到汽车的行驶速度Vcar(T);Step 3. Integrate the real acceleration a car of the car to obtain the driving speed V car (T) of the car; 步骤4.基于真实加速度acar、行驶速度Vcar(T)以及最优坡度估计值θ,建立油耗模型对耗油量进行实时估计。Step 4. Based on the real acceleration a car , the traveling speed V car (T) and the optimal slope estimation value θ, a fuel consumption model is established to estimate the fuel consumption in real time. 2.根据权利要求1所述的一种基于移动终端的汽车油耗实时估计方法,其特征在于,该方法还包括对汽车的行驶速度Vcar(T)进行离散化处理。2 . The method for real-time estimation of vehicle fuel consumption based on a mobile terminal according to claim 1 , wherein the method further comprises discretizing the traveling speed V car (T) of the vehicle. 3 . 3.根据权利要求2所述的一种基于移动终端的汽车油耗实时估计方法,其特征在于,该方法还包括根据传感器数据特征识别出参考点对行驶速度进行矫正,所述参考点包括静止和转弯。3. A kind of real-time estimation method of automobile fuel consumption based on mobile terminal according to claim 2, is characterized in that, this method also comprises identifying reference point according to sensor data characteristic to correct driving speed, and described reference point comprises static and turn. 4.根据权利要求3所述的一种基于移动终端的汽车油耗实时估计方法,其特征在于,所述步骤4具体包括以下子步骤:4. a kind of real-time estimation method of vehicle fuel consumption based on mobile terminal according to claim 3, is characterized in that, described step 4 specifically comprises the following sub-steps: 步骤41.获取车辆固有参数,包括道路滚动阻力系数f、传动系机械效率η、车辆空气阻力系数Cd、车辆正向迎风面积A、车辆出厂质量m;Step 41. Obtain the inherent parameters of the vehicle, including the road rolling resistance coefficient f, the mechanical efficiency η of the drive train, the vehicle air resistance coefficient C d , the vehicle forward windward area A, and the vehicle factory mass m; 步骤42.根据车辆固有参数以及真实加速度acar、行驶速度Vcar(T)以及最优坡度估计值θ,估算汽车发动机输出功率Pe;Step 42. Estimate the output power Pe of the vehicle engine according to the inherent parameters of the vehicle, the real acceleration a car , the traveling speed V car (T) and the optimal slope estimation value θ; 步骤43.根据汽车发动机输出功率Pe,使用最小二乘法,建立油耗模型;Step 43. According to the output power Pe of the automobile engine, use the least squares method to establish a fuel consumption model; 步骤44.将车辆固有参数、车辆真实加速度acar、行驶速度Vcar(T)以及最优坡度估计值θ作为油耗模型的输入实时估计出车辆油耗。Step 44. Use the vehicle's inherent parameters, the vehicle's real acceleration a car , the traveling speed V car (T) and the optimal slope estimation value θ as the input of the fuel consumption model to estimate the vehicle fuel consumption in real time. 5.一种基于移动终端的汽车油耗实时估计装置,所述移动终端具有加速度传感器和陀螺仪,其特征在于,该装置包括:5. A real-time estimation device for vehicle fuel consumption based on a mobile terminal, the mobile terminal has an acceleration sensor and a gyroscope, wherein the device comprises: 数据采集模块,用于获取加速度传感器的X轴数据和Y轴数据以及陀螺仪的X轴数据,并通过加速度传感器的Y轴数据得到带有重力分量的车辆行驶加速度;加速度传感器的Y轴沿着车辆行驶方向;The data acquisition module is used to obtain the X-axis data and Y-axis data of the acceleration sensor and the X-axis data of the gyroscope, and obtain the vehicle driving acceleration with the gravity component through the Y-axis data of the acceleration sensor; the Y-axis of the acceleration sensor is along the the direction of the vehicle; 道路坡度计算模块,用于通过加速度传感器的Y轴数据得到道路坡度θa以及用于通过陀螺仪的X轴数据得到道路坡度θta road gradient calculation module, used for obtaining road gradient θ a by the Y-axis data of the acceleration sensor and obtaining road gradient θ t by the X-axis data of the gyroscope; 数据融合模块,利用卡尔曼数据融合方法对加速度传感器和陀螺仪采集到的数据进行融合,得到矫正后的加速度a与最优坡度估计值θ,根据矫正后的加速度a得到汽车的真实加速度acarThe data fusion module uses the Kalman data fusion method to fuse the data collected by the acceleration sensor and the gyroscope to obtain the corrected acceleration a and the optimal slope estimation value θ, and obtain the real acceleration of the car according to the corrected acceleration a car ; 积分模块,对汽车的真实加速度acar进行积分,得到汽车的行驶速度Vcar(T);The integration module integrates the real acceleration a car of the car to obtain the driving speed of the car V car (T); 耗油量估计模块,基于真实加速度acar、行驶速度Vcar(T)以及最优坡度估计值θ,建立油耗模型对耗油量进行实时估计。The fuel consumption estimation module establishes a fuel consumption model to estimate the fuel consumption in real time based on the real acceleration a car , the driving speed V car (T) and the optimal slope estimation value θ. 6.根据权利要求5所述的一种基于移动终端的汽车油耗实时估计装置,其特征在于,该装置还包括离散化模块,用于对汽车的行驶速度Vcar(T)进行离散化处理。6 . The mobile terminal-based real-time estimation device for automobile fuel consumption according to claim 5 , wherein the device further comprises a discretization module for discretizing the traveling speed V car (T) of the automobile. 7 . 7.根据权利要求6所述的一种基于移动终端的汽车油耗实时估计装置,其特征在于,该装置还包括矫正模块,用于根据传感器数据特征识别出参考点对行驶速度进行矫正,所述参考点包括静止和转弯。7. A kind of real-time estimation device of automobile fuel consumption based on mobile terminal according to claim 6, is characterized in that, this device also comprises correction module, is used for recognizing reference point according to sensor data characteristic and correcting driving speed, described Reference points include stationary and turning. 8.根据权利要求7所述的一种基于移动终端的汽车油耗实时估计装置,其特征在于,所述耗油量估计模块包括8 . The device for real-time estimation of vehicle fuel consumption based on a mobile terminal according to claim 7 , wherein the fuel consumption estimation module comprises: 9 . 车辆固有参数获取模块,用于获取车辆的固有参数,包括道路滚动阻力系数f、传动系机械效率η、车辆空气阻力系数Cd、车辆正向迎风面积A、车辆出厂质量m;The vehicle intrinsic parameter acquisition module is used to acquire the intrinsic parameters of the vehicle, including the road rolling resistance coefficient f, the mechanical efficiency η of the power train, the vehicle air resistance coefficient C d , the vehicle forward windward area A, and the vehicle factory mass m; 输出功率估算模块,用于根据车辆固有参数以及真实加速度acar、行驶速度Vcar(T)以及最优坡度估计值θ,估算汽车发动机输出功率Pean output power estimation module, used for estimating the vehicle engine output power Pe according to the inherent parameters of the vehicle and the real acceleration a car , the traveling speed V car (T) and the optimal slope estimation value θ; 油耗模型建立模块,用于根据汽车发动机输出功率Pe建立油耗模型。The fuel consumption model establishment module is used to establish a fuel consumption model according to the output power Pe of the automobile engine.
CN201810783843.1A 2018-07-17 2018-07-17 A mobile terminal-based real-time estimation method and device for automobile fuel consumption Active CN108773377B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810783843.1A CN108773377B (en) 2018-07-17 2018-07-17 A mobile terminal-based real-time estimation method and device for automobile fuel consumption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810783843.1A CN108773377B (en) 2018-07-17 2018-07-17 A mobile terminal-based real-time estimation method and device for automobile fuel consumption

Publications (2)

Publication Number Publication Date
CN108773377A CN108773377A (en) 2018-11-09
CN108773377B true CN108773377B (en) 2020-05-12

Family

ID=64029963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810783843.1A Active CN108773377B (en) 2018-07-17 2018-07-17 A mobile terminal-based real-time estimation method and device for automobile fuel consumption

Country Status (1)

Country Link
CN (1) CN108773377B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102018222521A1 (en) * 2018-12-20 2020-06-25 Bosch Car Multimedia (Wuhu) Co. Ltd. Control method and control system for a vehicle fuel gauge and vehicle
CN109902869B (en) * 2019-02-26 2021-09-10 广州恒众车联网智能电子技术有限公司 Method, device, computer equipment and storage medium for predicting reachable mileage of vehicle
CN111717210B (en) * 2020-06-01 2022-11-11 重庆大学 A method for detecting disengagement from steering wheel when driver's hand is relatively stationary

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8872645B2 (en) * 2011-02-28 2014-10-28 GM Global Technology Operations LLC Method for road grade estimation for enhancing the fuel economy index calculation
CN102700551B (en) * 2012-05-31 2015-05-20 清华大学 Method for estimating gradient of road surface in real time in vehicle running process
CN106467103B (en) * 2015-08-13 2019-11-05 厦门雅迅网络股份有限公司 A kind of the Intelligent oil-saving control method and system of vehicle
FR3041918B1 (en) * 2015-10-02 2018-01-19 Air Liquide Services METHOD AND DEVICE FOR MONITORING THE DRIVING OF A VEHICLE, METHOD OF PREVENTING THE REVERSE OF SAID VEHICLE
CN106840097B (en) * 2017-01-24 2021-05-25 重庆大学 A Road Slope Estimation Method Based on Adaptive Extended Kalman Filtering
CN107161154B (en) * 2017-05-18 2019-07-05 重庆大学 Economical speed acquisition method considering gear
CN107458380A (en) * 2017-08-03 2017-12-12 重庆大学 A kind of road grade real-time estimation method being applied under comprehensive driving cycles

Also Published As

Publication number Publication date
CN108773377A (en) 2018-11-09

Similar Documents

Publication Publication Date Title
CN110095635B (en) Longitudinal speed estimation method of all-wheel drive vehicle
CN106908075B (en) Big data acquisition and processing system and electric vehicle endurance estimation method based on big data acquisition and processing system
US9228836B2 (en) Inference of vehicular trajectory characteristics with personal mobile devices
CN108773377B (en) A mobile terminal-based real-time estimation method and device for automobile fuel consumption
CN108944935A (en) A kind of car mass and road grade estimation method considering parameter coupled relation
CN105109490B (en) Method for judging sharp turn of vehicle based on three-axis acceleration sensor
CN102700551B (en) Method for estimating gradient of road surface in real time in vehicle running process
CN111806449A (en) Method for estimating total vehicle mass and road surface gradient of pure electric vehicle
CN106840097A (en) A kind of road grade method of estimation based on adaptive extended kalman filtering
US20130316310A1 (en) Methods for determining orientation of a moving vehicle
CN109141475B (en) A Robust Inter-Travel Initial Alignment Method for DVL-assisted SINS
CN111891131B (en) Online identification method and system for tire sidewall deflection rigidity
CN108304594B (en) Method for judging driving stability of automobile based on speed and gyroscope data
CN105759078B (en) The three axis method for self-calibrating and device of vehicle-mounted acceleration sensor
CN106768638A (en) A kind of passenger car height of center of mass real-time estimation device and evaluation method
CN114440881B (en) A positioning method for unmanned vehicles based on fusion of multi-source sensor information
WO2024045741A1 (en) Vehicle yaw angle prediction method and device and computer readable storage medium
CN108773378B (en) Automobile running speed real-time estimation method and device based on mobile terminal
CN107229801B (en) On-line Identification Method of Tire Rolling Resistance Coefficient
CN112046491B (en) Method and device for estimating cornering stiffness of wheel, vehicle and readable storage medium
CN110954103B (en) Method and system for estimating dynamic attitude of vehicle body based on MEMS sensor
Shaw et al. Instantaneous fuel consumption estimation using smartphones
CN114932909A (en) Slope estimation method for realizing acceleration correction based on complementary filtering
CN109506674B (en) Acceleration correction method and device
CN111391857A (en) A method and system for slope estimation of distributed drive electric vehicle

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