The present disclosure claims priority of the Chinese patent application No. 202110167355.X, titled “METHOD AND SYSTEM FOR VEHICLE SIDESLIP ANGLE ESTIMATION BASED ON EVENT-TRIGGERED STATE ESTIMATION” and filed to National Intellectual Property Administration of PRC (CNIPA) on Feb. 5, 2021, which is entirely incorporated herein by reference.
The present disclosure relates to the technical field of vehicle sideslip angle estimation, and in particular to a method and a system for vehicle sideslip angle estimation based on event-triggered state estimation.
Vehicle sideslip angle, as an important state variable to characterize vehicle yaw stability, is mainly used for evaluating vehicle yaw stability and design of a stability control system. In the prior art, the vehicle sideslip angle is usually determined on the basis of vehicle parameter signals measured by multiple sensors and a vehicle dynamics model. Such methods have accuracy depending on the dynamics model, and have low robustness to the model parameter variation.
Besides, there is no method in the prior art yet for vehicle sideslip angle estimation based on event-triggered state estimation.
The present disclosure aims at providing a method and a system for vehicle sideslip angle estimation based on event-triggered state estimation.
To achieve the above purpose, the present disclosure provides the following scheme.
A method for vehicle sideslip angle estimation based on event-triggered state estimation is provided, including:
In the iteration:
when (zk−zτ
when εk is 0, the state variable is estimated according to {circumflex over (x)}k+1={circumflex over (x)}k+1|k+(1−εk+1)Kk+1(Zk+1−{circumflex over (Z)}k+1|k)+εk+1Mk+1 (zr
γGPS is a heading angle measured by Global Positioning System (GPS), H is an observation matrix Pk+1|k=APkA′+Q, A is a state-transition matrix, A′ is a rank transformation of the state-transition matrix, H′ is a rank transformation of the observation matrix, Q is a system noise covariance, Pk is an error covariance, R is an observation noise covariance, I is a unit matrix, τ1 is a first predefined parameter, and τ2 is a second predefined parameter;
when εk is 1, it is determined whether a GPS heading angle is updated; and when the GPS heading angle is updated, the state variable is estimated according to {circumflex over (x)}k+1={circumflex over (x)}k+1|k+(1−εk+1)Kk+1(zk+1−{circumflex over (z)}k+1|k)+εk+1Mk+1(zr
In some embodiments, the calculation of the vehicle sideslip angle according to the vehicle yaw rate obtained by the Kalman filtering algorithm specifically includes:
calculating the vehicle yaw angle according to the vehicle yaw rate; and
calculating the vehicle sideslip angle according to β=ψ−γGPS, where ψ is the vehicle yaw angle, and γGPS is the GPS heading angle.
In some embodiments, the estimation of the vehicle sideslip angle by fusing measurement data of both GPS and IMU specifically includes:
determining a longitudinal speed and a lateral speed of the vehicle based on a kinematics model of the vehicle and the vehicle yaw rate, a longitudinal acceleration and a lateral acceleration measured by IMU, and recording the longitudinal speed and the lateral speed as a first longitudinal speed and a first lateral speed;
determining a longitudinal speed and a lateral speed of the vehicle based on the vehicle speed measured by GPS and recording the longitudinal speed and the lateral speed of the vehicle as the second longitudinal speed and the second lateral speed;
fusing the first longitudinal speed and the second longitudinal speed, and fusing the first lateral speed and the second lateral speed by the Kalman filtering algorithm; and
calculating the vehicle sideslip angle according to the fused longitudinal speed and lateral speed.
In some embodiments, the determining of the longitudinal speed and the lateral speed of the vehicle based on the vehicle speed measured by GPS specifically includes:
calculating the longitudinal speed vx and the lateral speed vy of the vehicle according to
where vGPS is the vehicle speed measured by GPS, β is the vehicle sideslip angle, and k is a number of iterations.
In some embodiments, the method further includes: correcting the lateral acceleration measured by the IMU; where, the lateral acceleration adopted when determining the longitudinal speed and lateral speed of the vehicle is the corrected lateral acceleration.
The present disclosure further provides a system for vehicle sideslip angle estimation based on event-triggered state estimation, including:
a Kalman filtering module, configured to set zk+1=[{circumflex over (x)}k+ωzIMU·T; ωzIMU] as an observation variable, adopt a Kalman filtering algorithm for iteration aiming at estimation of vehicle yaw rate, where wzIMU is a vehicle yaw rate measured by Inertial Measurement Unit (IMU), T is a sampling cycle, and {circumflex over (x)}k is an estimated state variable obtained in the kth iteration of the Kalman filtering algorithm;
an event-triggered distinguishing module, configured to set εk to 1 when (zk−zτ
a data fusion module, configured to estimate the vehicle sideslip angle by fusing measurement data of both Global Positioning Unit (GPS) and IMU when εk is 1 and a GPS heading angle is not updated yet.
The Kalman filtering module is also configured to estimate the state variable according to {circumflex over (x)}k+1={circumflex over (x)}k+1|k+(1−εk+1)Kk+1(zk+1−{circumflex over (z)}k+1|k)+εk+1Mk+1(zτ
γGPS is the heading angle measured by GPS, H is an observation matrix, Pk+1|k=APkA′+Q, A is a state-transition matrix, A′ is a rank transformation of the state-transition matrix, H′ is a rank transformation of the observation matrix, Q is a system noise covariance, P is an error covariance, R is an observation noise covariance, I is a unit matrix, τ1 is a first predefined parameter, and τ2 is a second predefined parameter.
In some embodiments, the Kalman filtering module specifically includes:
a calculation unit of vehicle yaw angle, configured to calculate a yaw angle of the vehicle according to the vehicle yaw rate; and
a calculation unit of vehicle sideslip angle, configured to calculate the vehicle sideslip angle according to β=ψ−γGPS, where ψ is the vehicle yaw angle, and γGPS is the GPS heading angle.
In some embodiments, the data fusion module specifically includes:
a first vehicle speed determination unit, configured to determine a longitudinal speed and a lateral speed of the vehicle based on a kinematics model of the vehicle and the vehicle yaw rate, a longitudinal acceleration and a lateral acceleration measured by IMU; and record the longitudinal speed and the lateral speed of the vehicle as a first longitudinal speed and a first lateral speed;
a second vehicle speed determination unit, configured to determine a longitudinal speed and a lateral speed of the vehicle based on a vehicle speeds measured by IMU; and record the longitudinal speed and the lateral speed of the vehicle as a second longitudinal speed and a second lateral speed;
a vehicle speed fusion unit, configured to adopt the Kalman filtering algorithm to fuse the first longitudinal speed and the second longitudinal speed, and to fuse the first lateral speed and the second lateral speed; and
a calculation unit of vehicle sideslip angle, configured to calculate the vehicle sideslip angle according to the fused longitudinal speed and lateral speed.
In some embodiments, the second vehicle speed determination unit specifically includes:
a vehicle speed determination sub-unit, configured to calculate the longitudinal speed vxand the lateral speed vy of the vehicle according to
where vGPS is the vehicle speed measured by GPS, β is the vehicle sideslip angle, and k is a number of iterations.
In some embodiments, the first vehicle speed determination unit includes: a correction sub-unit of IMU lateral acceleration, configured to correct the lateral acceleration measured by the IMU; where the lateral acceleration adopted for determining the longitudinal speed and the lateral speed of the vehicle is the corrected lateral acceleration.
According to embodiments provided in the present disclosure, the present disclosure discloses the following technical effects:
The method and the system for vehicle sideslip angle estimation based on event-triggered state estimation provided by the present disclosure define an event εk, and a meaning of an event triggering is that when a variation of the state variable between adjacent loop iterations in the Kalman filtering algorithm is larger than a preset threshold, the event is considered as triggered. According to the present disclosure, when εk is 0, or when εk is 1 and the GPS heading angle is updated, the state variable is estimated according to {circumflex over (x)}k+1={circumflex over (x)}k+1|k+(1−εk+1)Kk+1(zk+1−{circumflex over (z)}k+1|k)+εk+1Mk+1(zr
According to the present disclosure, if εk is 1 and the GPS heading angle is not updated yet, the vehicle sideslip angle is estimated by fusing the measurement data of both GPS and IMU. The event-triggered state estimation framework provided by the present disclosure is more stable because it takes the stability of the whole framework into consideration.
To illustrate embodiments of the present disclosure or technical schemes in the prior art more clearly, accompanying drawings required in the embodiments will be briefly introduced below. Apparently, the drawings in the following description are only some embodiments of the present disclosure, and those of ordinary skills in the art may obtain other drawings according to these drawings without creative work.
Technical schemes in the embodiments of the present disclosure will be described clearly and completely with reference to the accompanying drawings thereof. Apparently, the embodiments described herein are only part of, not all of, embodiments in the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those of ordinary skills in the art without creative work belong to the scope claimed by the present disclosure.
In order to make the above mentioned purposes, features and advantages of the present disclosure more apparently understood, the present disclosure will be further described with reference to figures and embodiments below.
A method for vehicle sideslip angle estimation based on event-triggered state estimation is provided, including:
by setting zk+1=[{circumflex over (x)}k+ωzIMU·T; ωzIMU] as an observation variable, the Kalman filtering algorithm is used for iteration aiming at estimation of the vehicle yaw rate of the vehicle, where ωzIMU is the vehicle yaw rate measured by Inertial Measurement Unit (IMU), T is a sampling cycle, {circumflex over (x)}k is an estimated state variable obtained in the kth iteration of the Kalman filtering algorithm.
In the iteration:
if (zk−zr
if εk is 0, the state variable is estimated according to {circumflex over (x)}k+1={circumflex over (x)}k+1|k+(1−εk+1)Kk+1(zk+1−{circumflex over (z)}k+1|k)+εk+1Mk+1(zr
γGPS is a heading angle measured by GPS, H is an observation matrix Pk+1|k=APkA′ +Q, A is a state-transition matrix, A′ is a rank transformation of the state-transition matrix, H′ is a rank transformation of the observation matrix, Q is a system noise covariance, Pk is an error covariance, R is an observation noise covariance, I is a unit matrix, Ti is the first predefined parameter, and τ2 is the second predefined parameter.
When εk is 1, it is determined whether a Global Positioning System (GPS) heading angle is updated; and if the GPS heading angle is updated, the state variable is estimated according to {circumflex over (x)}k+1={circumflex over (x)}k+1|k+(1−εk+1)Kk+1(zk+1−{circumflex over (z)}k+1|k)+εk+1Mk+1(zr
The present disclosure defines the event εk. If the event is not triggered, the sideslip angle is β=0; if the event is triggered, it is determined whether the GPS heading angle is updated, and if so, the vehicle sideslip angle is β=ψ−γ. If the GPS heading angle is not updated, the vehicle sideslip angle β is calculated according to updated data of the last GPS cycle and a kinematics relation. The meaning of the event triggering is that when the variation of the state variable between adjacent loop iterations in the Kalman filtering algorithm is larger than a preset threshold, the event is considered as triggered. In this embodiment, if (zk−Zτk−1)T(Zk−zτk−1)<δ, it is considered that the event is triggered, and δ is a preset threshold.
A state equation is defined as
{circumflex over (x)}
k+1|k
=A{circumflex over (x)}
k
+Bu
k+ωk
{circumflex over (z)}
k+1|k
=H{circumflex over (x)}
k+1|k
+v
k (1)
where, xk is a state variable and xk=[ψ; ωz]; A is the state-transition matrix and A=[1, T;0, 1], T is the sampling cycle; B is the input matrix; uk is the input variable; zk+1 is the observation variable and Zk+1=[{circumflex over (x)}k+ωzIMU·T; ωzIMU];H is the observation matrix and H=[1,1;1,1].
An error covariance matrix between a predicted value and a true value is
P
k+1|k
=AP
k
A′+Q (2).
The optimal Kalman filtering estimation is
{circumflex over (x)}
k+1
={circumflex over (x)}
k+1|k
+K
k+1(zk+1−{circumflex over (z)}k+1|k) (3),
where, the Kalman gain is
The error covariance matrix between the estimated value and the true value is
P
k+1=(I−Kk+1H)Pk+1|k (5).
The event is defined during the event-triggered state estimation as:
where, τk−1 is the time a sensor signal was transmitted last time.
A measurement time is updated
A measurement value is delivered
Z
τ
=εkzk+(1−εk)Zτk−1 (8).
The event is triggered, so that the Kalman filtering estimation results in:
{circumflex over (x)}
k+1
={circumflex over (x)}
k+1|k+(1−εk+1)Kk+1(zk+1−{circumflex over (z)}k+1|k)+εk+1Mk+1(zτ
where, when the event is not triggered (N in S101), the heading angle output by GPS is equivalent to the yaw angle of the vehicle (S102). Gain Mk+1 of the event-triggered item is:
M
k+1=η1Pk+1|kTHT(η1HPk+1|kHT+η2Rk+1+η3δI)−1 (10),
where η1, η2 and η3 are defined as
where η1=1 and η2=1.
Referring to
βk=ψk−γk (12).
If the event is triggered (Y in S101), it is determined whether the GPS heading angle is updated (S103); and if the GPS heading angle is updated (Y in S103), the result of Kalman filtering estimation is obtained according to Formula (9). At this time, εk in Formula (9) is 1, a value delivered by the observation variable is zτ
It is considered that when εk=1, Formula (9) can be expressed as
according to a lemma
xy
T
+yx
T
≤νxx
T+σ−1yyT
−Θk+1−Θk+1T≤σ1Ωk+1{tilde over (x)}k+1|k({tilde over (x)}k+1|k)T(Ωk+1)T +σ1−1(−Mk+1)ρk+1(ρk+1)T(−Mk+1)T =σ1Ωk+1Pk+1|k(Ωk+1)T+σ1−1Mk+1δ(Mk+1)T
O
k+1
+O
k+1
T≤σ2Mk+1vk+1)T(Mk+1)T
σ2−1Mk+1ρk+1(ρk+1)T(Mk+1)T, and
=σ2Mk+1ρk+1(Mk+1)T+σ2−1Mk+1δ(Mk+1)T
P
k+1
≤Q
k+1Pk+1|k(Qk+1)T+σ1Ωk+1Pk+1|k(Ωk+1)T +σ1−1Mk+1δ(Mk+1)T+σ2Mk+1Rk+1(Mk+1)T +σ2−1Mk+1δ(Mk+1)T+Mk+1δ(Mk+1)T+Mk+1Rk+1(Mk+1)T
≤(1+σ1)Ωk+1Pk+1|k(Ωk+1)T+(1+σ2)Mk+1Rk+1(Mk+1)T+(1+σ1−1+σ2−1)Mk+1δ(Mk+1)T
=η1Ωk+1Pk+1|k(Ωk+1)T+η2Mk+1Rk+1(Mk+1)T+η3Mk+1δ(Mk+1)T
where:
η1=1+σ1
η2=1+σ2,and
η3=1+σ1−1+σ2−1
Ξk+1=Pk+1|k−γk+1Kk+1Pz
[η1Ωk+1Pk+1|k(Ωk+1)T+η2Mk+1Rk+1(Mk+1)T·+η3Mk+1δ(Mk+1)T−Pk+1|k]
Therefore, if εk=1, the optimal gain Mk+1 can be calculated as
The event-triggered gain is
M
k+1=η1Pk+1|kTHT(η1HP
Formula (9)'s convergence has been proved.
If the GPS heading angle is not updated when the event is triggered (N in S103), the sideslip angle f is calculated according to the updated data of the last GPS cycle and the kinematics relation as follows: a zero-order hold (ZOH) is applied with respect to a sideslip angle fl that has been previously obtained (S105), the longitudinal speed and the lateral speed of the vehicle are determined based on the vehicle speed measured by GPS (S106) and recorded as the second longitudinal speed and the second lateral speed; by adopting the Kalman filtering algorithm, the first longitudinal speed and the second longitudinal speed are fused, and the first lateral speed and the second lateral speed are fused (S107); the vehicle sideslip angle is calculated according to the longitudinal speed and lateral speed obtained through fusion (S108), specifically as follows.
Due to a low update frequency of GPS module, usually 10-20 Hz, and a high vehicle control period, usually 100 Hz or even 200 Hz, the sideslip angle estimation solely based on the output signal of GPS module cannot satisfy requirements of controlling a whole vehicle. It is proposed that, the update frequency of the vehicle sideslip angle estimation is improved based on a vehicle dynamic method by fusing GPS and IMU.
Sensor signal correction is performed based on
αy,IMU=(αy+{umlaut over (ψ)}xIMU−{dot over (ψ)}2γIMU+{umlaut over (φ)}(hrc−hIMU)−{dot over (φ)}2γIMU)·cos φ+g sinφ (13),
where, φ is the vehicle roll angle; {umlaut over (ψ)} is the vehicle yaw acceleration; {dot over (ψ)} is the vehicle yaw rate, xIMU is a longitudinal distance from the sensor mounting position to the centroid; γIMU is a lateral distance from the sensor mounting position to the centroid; hrc is a distance from centroid to the roll center; hIMU is a vertical distance from IMU mounting position to the centroid.
Based on the three-degrees-of-freedom vehicle model as shown in
The above formula is discretized so that
In the matrix, T is a system calculation period. The smaller the calculation period is, the higher the prediction model accuracy may be. In consideration of an operation performance of the controller, the calculation period is usually set to 0.01s.
Given that it is difficult to obtain ideal prediction accuracy by simply using acceleration integration for longitudinal and lateral speeds, a Kalman filtering estimator is introduced to improve the system accuracy.
A state equation is defined as
{circumflex over (x)}
k+1|k
=A{circumflex over (x)}
k
+Bu
k+ωk (16)
{circumflex over (z)}
k+1|k
=H{circumflex over (x)}
k+1|k
+v
k
where, xk is the state variable and xk=[vx; vy]; A is the state-transition matrix and A=[1, ωzIMUT; −ωzIMUT, 1], T is the sampling cycle; B is the input matrix; A=[T; T], uk is the input variable; {circumflex over (z)}k+1|k is the observation variable and zk+1=[vx; vy]; H is the observation matrix and H=[1,0;0,1].
An error covariance matrix between the predicted value and the true value is
P
k+1|k
=AP
k
A′+Q (17).
The optimal Kalman filtering estimation is
{circumflex over (x)}
k+1
=x
k+1|k
+K
k+1(zk+1−{circumflex over (z)}k+1|k) (18),
where Zk+1 is the measured value of the sensor, which is
where, vGPS is the vehicle speed output by the GPS module.
Kalman gain is
The error covariance matrix between the estimated value and the true value is
P
k+1=(I−Kk+1H)Pk+1|k (21).
The vehicle sideslip angle obtained by a kinematic method is
Then, the obtained vehicle sideslip angle is output (S109).
In the above algorithm, the longitudinal speed and the lateral speed of the vehicle are determined according to the kinematic model. Compared with algorithms relying on the dynamics model in the prior art, the present disclosure does not require many vehicle parameters, thereby providing robustness to a variation of model parameters.
Whether the vehicle is laterally unstable can be determined based on that the estimated vehicle sideslip angle is within a preset range.
If the vehicle is laterally unstable, additional yaw moment of entire vehicle is generated by changing a driving torque or a braking torque of the vehicle, to adjust the vehicle sideslip angle to fall within the preset range, and in turn allow the vehicle to run stably.
In some embodiments, it is also possible to determine whether the vehicle is laterally unstable according to the phase plane method, specifically including the following steps: obtaining motion state of a vehicle under different front wheel steering angles, vehicle speeds and road adhesion coefficients, through a large number of simulation tests; constructing a phase plane of vehicle yaw rate and sideslip angles by using these test data; dividing a stable region of the phase plane as required; determining whether the yaw rate of the vehicle and the vehicle sideslip angle obtained in real time are within the stable region; and determining that the vehicle is laterally unstable if the vehicle yaw rate and the vehicle sideslip angle obtained in real time are within the stable region.
The vehicle sideslip angle estimation method based on event-triggered state estimation provided by the present disclosure has the following advantages.
(1) According to the present disclosure, the vehicle sideslip angle is estimated based on the event-triggered state estimation framework. In consideration of the stability of the entire framework, the present disclosure provides better stability compared with conventional condition-based state estimation without considering the entire framework.
(2) When the GPS signal is updated, the vehicle sideslip angle is estimated based on the updated GPS signal; when the GPS signal is not updated yet, the vehicle sideslip angles for multiple vehicles are estimated based on the IMU signal and the GPS signal updated in the previous cycle. Compared with conventional methods based on dynamics and kinematics and dynamics fusion, this method provides better robustness and higher accuracy to the model parameter variation.
(3) The IMU sensor with a high update frequency and the GPS module with a low update frequency are used for sensor fusion, to obtain the vehicle sideslip angle with a high update frequency, thus meeting the requirements of vehicle stability control.
Referring to
a Kalman filtering module 501, configured to set zk+1=[{circumflex over (x)}k+ωz IMU·T; ωzIMU] as an observation variable, and adopt a Kalman filtering algorithm for iteration aiming at estimation of an vehicle yaw rate, where ωzIMU is the vehicle yaw rate measured by Inertial Measurement Unit (IMU), T is a sampling cycle, and {circumflex over (x)}k is an estimated state variable obtained in the kth iteration of the Kalman filtering algorithm;
an event-triggered distinguishing module 502, configured to set εk to 1 if (Zk−zτ
a data fusion module 503, configured to estimate the vehicle sideslip angle by fusing measurement data of both a Global Positioning System (GPS) and an IMU when εk is 0 and the GPS heading angle is not updated yet.
The Kalman filtering module 501 is also configured to estimate the state variable according to {circumflex over (x)}k+1={circumflex over (x)}k+1|k+(1−εk+1)Kk+1(zk+1−{circumflex over (z)}k+1|k)+εk+1Mk+1(zτ
γGPS is a heading angle measured by GPS, H is an observation matrix, Pk+1|k=APkA′+Q, A is a state-transition matrix, A′ is a rank transformation of the state-transition matrix, H′ is a rank transformation of the observation matrix, Q is a system noise covariance, PA is an error covariance, R is an observation noise covariance, I is a unit matrix, τ1 is the first predefined parameter, and τ2 is the second predefined parameter.
Among the above modules, the Kalman filtering module 501 includes:
a calculation unit of vehicle yaw angle, configured to calculate a yaw angle of the vehicle according to the vehicle yaw rate; and
a calculation unit of vehicle sideslip angle, configured to calculate the vehicle sideslip angle according to β=ψ−γGPS, where ψ is the vehicle yaw angle, and γGPS is the GPS heading angle.
The data fusion module 503 includes:
a first vehicle speed determination unit, configured to determine a longitudinal speed and a lateral speed of the vehicle based on a kinematics model of the vehicle and the vehicle yaw rate, the longitudinal acceleration and the lateral acceleration measured by IMU; and record the two speeds as a first longitudinal speed and a first lateral speed;
a second vehicle speed determination unit, configured to determine a longitudinal speed and a lateral speed of the vehicle based on a vehicle speeds measured by IMU; and record the two speeds as a second longitudinal speed and a second lateral speed;
a vehicle speed fusion unit, configured to adopt the Kalman filtering algorithm to fuse the first longitudinal speed and the second longitudinal speed, and fuse the first lateral speed and the second lateral speed; and
a calculation unit of vehicle sideslip angle, configured to calculate the vehicle sideslip angle according to the longitudinal speed and lateral speed obtained through fusion.
Where, the second vehicle speed determination unit specifically includes:
a vehicle speed determination sub-unit, configured to calculate the longitudinal speed vxand the lateral speed v, of the vehicle according to
where vGPS is the vehicle speed measured by GPS, β is the vehicle sideslip angle, and k is the number of iterations.
The first vehicle speed determination unit includes a correction sub-unit of IMU lateral acceleration, configured to correct the lateral acceleration measured by the IMU; where the lateral acceleration adopted for determining the longitudinal speed and the lateral speed of the vehicle is the corrected lateral acceleration.
In this specification, various embodiments are described in a progressive manner, with each embodiment focusing on its differences from other embodiments, while cross reference would be enough for those same or similar parts between the embodiments. As the system disclosed in the embodiment corresponds to the method disclosed in the embodiment, the description is relatively simple, and the correlated parts can be found in the method description.
Principles and implementation of this present disclosure are described by specific examples, and the explanation of the above embodiments is only used to help understand the method and its core idea of the present disclosure. Also, those of ordinary skills in the art may take some modifications in the specific implementation and application scope according to the idea of the present disclosure. To sum up, the content of this specification should not be construed as limiting the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202110167355.X | Feb 2021 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/097607 | 6/1/2021 | WO |