An embodiment relates generally to vehicle velocity estimation.
Various vehicle safety and control systems benefit when utilizing an accurate longitudinal and/or lateral vehicle velocity. Devices for accurately measuring longitudinal and lateral velocity measurements, such as multi-antenna GPS or optical sensors, are either too expensive or externally intrusive. The use of other types of sensors to measure longitudinal and lateral velocity, such as wheel speed sensors or even lateral acceleration sensors, have difficulties in providing accurate measurements when excessive wheel slip is present or when a banked road is present.
An advantage of an embodiment is estimation of vehicle longitudinal and lateral velocities using single-antenna GPS data which provides greater accuracy than typical sensors utilized on vehicles. The GPS measurement data provides greater accuracy of the course heading angle and absolute speed which is used to estimate the longitudinal and lateral velocities. Use of a single-antenna GPS reduces cost as opposed to a multi-antenna GPS and eliminates the requirement of expensive and high quality sensors when accurate velocity data is required. Moreover, vehicle dynamic applications benefit from having accurate data for controlling vehicle dynamic operations of the vehicle.
An embodiment contemplates a method for estimating vehicle velocity for a vehicle using a single-antenna global positioning system (GPS). An absolute speed and a course angle of the vehicle are measured using the single-antenna GPS. The yaw rates of the vehicle are measured independently of the GPS. An integrated yaw rate of the vehicle is calculated as a function of the measured yaw rates over a period of time. A yaw angle is determined as a function of a reference yaw angle and the integrated yaw rate. A side slip angle is calculated as a function of the estimated yaw angle and the course angle provided by the GPS. The vehicle velocity is determined as a function of the absolute speed and the side slip angle. The vehicle velocity is provided to a vehicle dynamic control application.
An embodiment contemplates a system for determining a vehicle velocity for a vehicle. A single-antenna global positioning system (GPS) provides an absolute speed and a course angle of the vehicle. Vehicle sensors provide yaw rate measurements independent of the GPS. A processor calculates an integrated yaw rate, a yaw angle, a side slip angle, and a vehicle velocity. Integrated yaw rate of the vehicle is determined as a function of the measured yaw rates over a period of time. The yaw angle is determined as a function of a reference yaw angle and the integrated yaw rate. The side slip angle is determined as a function of the estimated yaw angle and the course angle provided by the GPS. The vehicle velocity is determined as a function of the absolute speed and the side slip angle. The vehicle velocity is provided to a vehicle dynamic control application.
There is shown in
The single antenna GPS 12 utilizes only one antenna. GPS typically provides a very good velocity measurement that includes a velocity direction (i.e., course heading) and magnitude (i.e., absolute speed). For example, GPS velocity is significantly more accurate than the position data provided by a GPS, with errors on the order of 3 cm/s (1σ, horizontal velocity) and 6 cm/s (vertical velocity) without any differential corrections. Multi-antenna GPS, which has more than two GPS antennas, also provides accurate yaw angles. A sideslip angle β can be determined by the course heading and yaw angle which is used to determine the lateral and longitudinal velocities.
The sideslip angle β at a center of gravity (CG) is shown in
β=γ−ψ (2)
where β is a sideslip angle, γ is a velocity direction (i.e., course heading angle) of the vehicle, and ψ is the yaw angle of the vehicle.
Once the sideslip angle β is determined and the absolute speed ∥V∥ (i.e., the magnitude of the velocity vector of the vehicle) is obtained by the single-antenna GPS, the longitudinal velocity vx and the lateral velocity vy can be obtained by the following equations:
v
x
=∥V∥cos(β) (3)
v
y
=∥V∥sin(β). (4)
A single-antenna GPS provides a direct measurement of the velocity vector γ and the absolute speed ∥V∥; however, a single-antenna GPS does not provide a direct measurement of the vehicle yaw angle ψ. While a multi-antenna GPS provides altitude measurements, such as yaw, pitch, and roll, the single-antenna GPS is limited to providing absolute speed and course heading angle with respect to the earth in addition to a position measurement. The yaw angle ψ cannot be directly measured by the single-antenna GPS. Therefore, the yaw angle ψ must be calculated using GPS data and vehicle sensor data as opposed to a direct measurement in order to calculate the sideslip angle β.
To obtain the yaw angle ψ, yaw rate data is used in cooperation with GPS data to estimate the yaw angle ψ. The yaw angle ψ is estimated by integrating yaw rate sensor measurements over a period of time. One drawback of integrating yaw rate measurements is that pure integration over time accumulates sensor errors such as noise and bias of the sensors. This contamination of noise and bias depends entirely on the quality of a yaw rate sensor. While bias and noise level of typical yaw rate sensors may not be high, the result is that the integration of the yaw rate sensor measurements is only valid for a few tens of seconds. Integration errors due to noise and bias grow quickly as time goes forward. An example of the error of a yaw rate integration, which is not meant to be a definitive time limit, is that the error becomes larger than 0.5 degrees in about 25 seconds. Therefore, the integration process needs to be either reset and initialized or updated continuously. With a lack of an accurate yaw angle measurement, the integration process cannot be updated continuously. Therefore, the yaw rate integration must be re-initialized after a period of time.
To re-initialize the yaw angle, a determination is made that the sideslip angle β is zero when the vehicle is traveling in a straightforward direction. It is determined from eq. (2) that the yaw angle ψ is equal to the course heading γ when the sideslip angle β is zero:
γ=ψ (5)
when
β=0. (6)
As a result, when the vehicle is going straight, the yaw angle ψ is re-initialized to the course heading angle γ. The yaw rate is also re-initialized by purging the past yaw rate and measuring yaw rates over a next period of time. A new integrated yaw rate is determined for the next period of time and used thereafter to update the yaw angle. The equation for estimating yaw angle as function of the integrated yaw rate and re-initialized yaw angle is as follows:
where {circumflex over (ψ)} is the estimated yaw angle, rm is the yaw rate sensor measurement, ψ0 is the re-initialized yaw angle, and t is a duration of time in which yaw rate sensor measurements are integrated.
As a result, the side slip angle is estimated using the estimated yaw angle as determined in eq. (7) and the course heading angle γ as provided by the single-antenna GPS as indicated by the following equation:
{circumflex over (β)}=γmGPS−{circumflex over (ψ)} (8)
wherein {circumflex over (β)} is the estimated side slip angle, γmGPS is the course heading angle as measured by the single-antenna GPS, and {circumflex over (ψ)} is the estimated yaw angle determined by the integrated yaw rate.
In the event that the vehicle is continues traveling along a turn (i.e., non-straightforward direction) in which the side slip cannot be re-initialized to zero, then the side slip angle {circumflex over (β)} can be estimated using the techniques described in co-pending application having a Ser. No. 12/276,965, filed on Nov. 24, 2008, which is incorporated by reference in its entirety.
Once the estimated side slip angle {circumflex over (β)} is known, estimated longitudinal velocities and lateral velocities can be calculated as follows using the absolute speed ∥V∥ determined by the single-antenna GPS and the estimated side slip angle {circumflex over (β)}:
{circumflex over (v)}
x
=∥V∥cos({circumflex over (β)}) (9)
{circumflex over (v)}
y
=∥V∥sin({circumflex over (β)}) (10)
An issue may still exist due to the update rate of the GPS velocity measurement when used to estimate the side slip angle, lateral velocity, and longitudinal velocity for vehicle dynamic applications. That is, vehicle dynamic applications benefit from receiving timely information and performing control actions accordingly. Some GPS receivers commonly have a 1-20 Hz update rate. Some vehicle dynamic applications, such as, but not limited to, vehicle stability control system require a faster update rate. Moreover, delays in measurements that are a result of the time required to process the signals form GPS satellites may take anywhere from tens of milliseconds to hundreds of milliseconds. This delay becomes even more significant when the GPS measurements are used with other vehicle sensor measurements such as the yaw rate sensor measurements. Due to the transmission and processing delays in the GPS system, the delayed GPS measurements and the other vehicle sensor measurements must be synchronized. The delay can be synchronized using the PPS (pulse-per second) signal from the GPS receiver. PPS is a pulse signal that has either a rising or falling edge on each second in GPS time. As a result, each GPS measurement sample has a GPS time stamp and the GPS measurements can be synchronized with other sensor measurements since there is no delay in PPS through the GPS receiver.
To synchronize the GPS measurements and other sensor measurements, the delay is first determined using the PPS signal from the GPS receiver. The sensor measurements are buffered since there is no delay with respect to processing the sensor measurements. The buffered data associated with the beginning of the delay are utilized as the starting points and the estimated lateral velocity and longitudinal velocity are summed or re-integrated up to the current timestamp using the buffered data.
To incorporate the buffered data of the delay, let k be a past time and tk as a current time step, but the data is retrieved from time k steps in the past. At time tk, the following equations are based on the GPS measurement data:
{circumflex over (v)}
x(t)=∥VGPS(k)∥cos({circumflex over (β)}(k)) (11)
{circumflex over (v)}
y(t)=∥VGPS(k)∥sin s({circumflex over (β)}(k)) (12)
The goal is to find {circumflex over (v)}x(t) and {circumflex over (v)}y(t) where t represents the current time stamp. To determine {circumflex over (v)}x(t) and {circumflex over (v)}y(t) at the current time stamp t, various sensor measurements as well as calculated values obtained from the last GPS update k until the current time t are buffered. The various sensor measurements and calculated values include αx,m, αy,m, ψ, bank angle, and grade angles. Values that are not obtained through sensor measurements may be determined using the following relationships:
αy,m={dot over (v)}y,estimate+rm·vx,sensor+αy,bias+g·sin φr+wαy,m (13)
αx,m={dot over (v)}x,estimate−rm·vy,sensor+αx,bias+g·sin θr+wαx,m (14)
where αy,m is a lateral accelerometer measurement, αx,bias is a lateral accelerometer bias, rm is a yaw rate at a sensor location, {dot over (v)}y,estimate is a lateral velocity at the center of gravity of the vehicle, αy,bias is the lateral acceleration bias of a sensor, g is the gravity, φr is the road grade, wαy,m is lateral accelerometer noise, αx,m is the longitudinal acceleration, {dot over (v)}x,estimate is the longitudinal velocity at the center of gravity of the vehicle, αx,bias is the longitudinal acceleration bias of the sensor, θ is the road grade, and wαx,m is longitudinal accelerometer noise.
For each discrete instance of time over the period of the delay (e.g., each k step), a new {circumflex over (v)}x(t) and {circumflex over (v)}y(t) is determined. The following equation represent the longitudinal velocity at a next instant of time within the delay period:
{circumflex over (v)}
x(tk+1)={circumflex over (v)}x(tk)+Ts·(αx,m+rm·{circumflex over (v)}y(tk)−g·sin θr) (15)
where {circumflex over (v)}x(tk+1) is the longitudinal velocity at timestamp k+1, {circumflex over (v)}x(tk) is the longitudinal velocity at timestamp k, Ts is the timestamp at a respective k, αx,m is the longitudinal velocity at the timestamp k, rm is the measured yaw rate, {circumflex over (v)}y (tk) is the lateral velocity at timestamp k, g is the gravity, θ is the road grade.
The following equation represents the lateral velocity at a next time instance within the delay:
{circumflex over (v)}
y(tk+1)={circumflex over (v)}y(tk)+Ts·(αy,m−rm·{circumflex over (v)}x(tk)−g·sin φr) (16)
where {circumflex over (v)}y(tk+1) is the lateral velocity at timestamp k+1, {circumflex over (v)}y(tk) is the lateral velocity at timestamp k, Ts is the timestamp at a respective k, αy,m is the lateral velocity at the timestamp k, rm is the measured yaw rate, {circumflex over (v)}x(tk) is the longitudinal velocity at timestamp k, g is the gravity, and φr is the road grade.
Since the bias and noise of the sensors are part of the measurement data, the bias and noise variables are dropped from the equation. After the longitudinal and lateral velocities are estimated for each instant of time (i.e., k steps), longitudinal and lateral vehicle velocities of the current timestamp based on the synchronization of the GPS measurements and buffered sensor measurement data are determined. The longitudinal velocity for the current timestamp is represented by the following formula:
where {circumflex over (v)}x(t) is the longitudinal velocity at time t, {circumflex over (v)}x(ti) is the longitudinal velocity at each timestamp i, Ts is the time at each timestamp i, αx,m is the longitudinal acceleration at each timestamp i, rm,i is the measured yaw rate at time instant i, {circumflex over (v)}y(ti) is the lateral velocity at each timestamp i, g is the gravity, and θ is the road grade at each timestamp i.
Similarly, the lateral velocity of the current timestamp may be represented by the following equation:
where {circumflex over (v)}y(t) is the lateral velocity at time t, {circumflex over (v)}y(ti) is the lateral velocity at each timestamp i, Ts is the time at each timestamp i, αy,m is the lateral acceleration at each timestamp i, rm,i is the measured yaw rate at time instant i, {circumflex over (v)}x(ti) is the longitudinal velocity at each timestamp i, g is the gravity, and φr,i is the road bank at each timestamp i.
The longitudinal vehicle velocity {circumflex over (v)}y(t) and lateral vehicle velocity {circumflex over (v)}y (tk+1) for the current time stamp obtained from eq. (17) and eq. (18) are provided to vehicle dynamic applications to determine control actions based on the current operating conditions of the vehicle.
In step 21, yaw rates are obtained from vehicle sensors independent of GPS. In step 22, the yaw rates measured over a period of time are integrated for determining a yaw angle.
In step 23, the yaw angle is estimated (eq. (7)) as a function of the integrated yaw rate and the current yaw angle. Errors in the sensor measurement data due to the quality of the sensor require the integrated yaw rate and the current yaw angle be re-initialized after a period of time. As discussed earlier, the yaw angle is equal to the course heading angle when the vehicle is driving in a straightforward direction. Therefore, after the period of time has expired, the system determines if the vehicle is traveling in the straightforward direction for re-initializing the yaw angle to that of the course heading angle or reinitializes the yaw angle using an estimate slip angle according to method described in co-pending application Ser. No. 12/276,965.
In step 24, the side slip angle is estimated (eq. (8)) using the estimated yaw angle determined in step 23 and the course heading angle as measured by the single-antenna GPS.
In step 25, the vehicle velocity is determined as a function of the absolute speed and the side slip angle using eq. (9) and (10). Due to the update rate and delays in processing the data in the GPS receiver, estimates must me made for a current time stamp since the data processed in eq. (9) and (10) is using past data (i.e., delayed data).
In step 26, a delay of the GPS signal in relation to the vehicle sensor measurement data is determined using the PPS in the GPS signal.
In step 27, sensor measurements data is buffered for synchronization.
In step 28, vehicle longitudinal and lateral velocities at each time instance of the delay are determined by synchronizing the GPS measurements with the vehicle sensor measurements using the equations shown in eq. (13)-(16).
In step 29, an estimated longitudinal velocity and estimated lateral velocity are determined using each of the discrete velocity calculations in eq. (15)-(16). The estimated longitudinal and lateral velocities are determined using a summation process as shown eq. (17)-(18). Alternatively, an integral function may be substituted in eq. (17)-(18) by integrating each time step due to the updates that occur to longitudinal and lateral velocity estimations after each step in time.
It should be understood that the above process is used when GPS data is present. In those instances when GPS is not available, then a next best estimation technique may be used to determine the longitudinal and lateral velocities such as those described in co-pending application Ser. No. 12/276,965; however, the above estimation technique described herein may be re-executed when the GPS becomes available, since the use of the GPS data provides greater accuracy than vehicle sensors which are subject to errors and bias over time.
While certain embodiments of the present invention have been described in detail, those familiar with the art to which this invention relates will recognize various alternative designs and embodiments for practicing the invention as defined by the following claims.