# Patent

## Title
Attitude sensing system for an automotive vehicle relative to the road

## Abstract

A system (18) for controlling a safety system (44) of an automotive vehicle (10) includes a longitudinal acceleration sensor (36), a vehicle speed sensor (20), a lateral acceleration sensor (32), a yaw rate sensor, and a controller (26). The controller (26) determines a reference pitch in response to the longitudinal acceleration signal and the vehicle speed signal and a reference roll angle in response to the yaw rate signal, the wheel speed signal and the lateral acceleration signal. The controller (26) determines a roll stability index and a pitch stability index. The controller (26) determines an adjusted pitch angle in response to the reference pitch angle and the pitch stability index and an adjusted roll angle in response to the reference roll angle and the roll stability index. The controller (26) controls the safety system (44) in response to the adjusted roll angle and the adjusted pitch angle.

## Background
TECHNICAL FIELD
The present invention relates generally to a control apparatus for controlling a system of an automotive vehicle in response to sensed dynamic behavior, and more specifically, to a method and apparatus for controlling the system of the vehicle by determining attitude of the vehicle.
BACKGROUND
In recent years, many vehicle control systems have been developed to enhance vehicle stability and tracking performance in critical dynamic situations. Such vehicle control systems include yaw stability control systems, roll stability control systems, integrated vehicle dynamic control systems, etc. In these systems, knowledge of the vehicle roll and pitch attitude is very important. For example, in yaw stability control systems the effect of vehicle body roll and pitch, as well as the dynamically changing road super-elevations and road grades is significant because they directly influence both the vehicle lateral dynamics and lateral acceleration measurements. In roll stability control systems, roll angle is one of the most important variables used to construct feedback pressure command and combat the detected roll instability. Hence a successful vehicle dynamics control must involve an accurate determination of the vehicle roll and pitch attitude. However, these values are not directly measured on production vehicles and therefore must be estimated instead.
The vehicle state estimation algorithms implemented on a production vehicle for vehicle dynamic control purpose is normally based on dead reckoning sensors only, such as wheel/steering encoders and inertia sensors which are utilized to predict the vehicle's high frequency behavior. The vehicle state estimates can be obtained from a physical vehicle model, or via integration of the inertial sensor signals, or a combination of both. The estimation accuracy, however, can be very crude for a lot of maneuvers/road conditions, which in turn severally limits the control performance. One reason is that the vehicle model is only effective in the linear region. Another, perhaps more important, reason is that there is simply not enough inertia information. In order to accurately estimate vehicle states in all operating modes, a full six-degree-of-freedom inertial measurement unit (IMU) may be used. A typical IMU consists of three accelerometers and three gyroscopes mounted in a set of three orthogonal axes. The IMU measures the acceleration and the rotation rate of the vehicle in all three dimensions at a high sampling rate, typically at frequencies higher than 100 Hz. From this information, attitude and velocity of the vehicle can be derived via mathematical integration. Vehicle position and heading are generally not observable without external information.
Recent progress in the development of Micro-Electro Mechanical Systems (MEMS) has made it possible to put IMU on production vehicles because of their small size, low cost and ruggedness. The reduction in size and cost, especially cost, however, has also led to a drop in accuracy of the inertial unit as a whole. The predominant error sources in the inertial sensors, whether they are gyros or accelerometers, are bias, scale factors and random walk. These errors are added up via mathematical integration, and may lead to large drifts in the attitude and velocity estimates, unless external absolute sensors are used to constantly bound the errors.
In practice, all inertia sensing systems are aided in some way by low frequency external sensors, such as global positioning system (GPS), Doppler radar, star trackers to name a few. Due to the increasing popularity and decreasing cost of GPS, a lot of effort has been devoted to the development of GPS aided inertial systems for vehicle control purpose. While fairly good estimation accuracy can be attained in open sky environment using this approach, the performance deteriorates when the satellite signals bounce off of reflective surfaces such as tall buildings and other structures in the “urban canyon”. In the worst case, when fewer than three or four satellites can be “seen” (i.e., driving through a tunnel), the GPS provides no information to bound the errors associated with high frequency inertia sensors. Another disadvantage is that GPS device is not at all common and/or cost effective on current production vehicles.
Therefore, there is a significant need for a low-cost device that provides accurate and robust estimate of the vehicle global attitude.
SUMMARY OF THE INVENTION
It is the primary objective of the present invention to provide a methodology of estimating the vehicle global roll angle and pitch angle. The present invention determines an estimated vehicle attitude that can be used to initiate control commands for various subsystems including but not limited to powertrain controls, brake controls, steering controls, suspension controls and passive safety devices. Another application of vehicle global attitude is sensor fault detection.
One embodiment uses the following dead reckoning sensors: (i) a low-cost strapdown IMU sensor cluster, (ii) a steering wheel angle sensor, (iii) and wheel speed sensors. The proposed methodology utilizes the kinematic relationship among sensor signals, a bicycle model, and the nonholonomic constraints for a vehicle moving on a surface. The vehicle global attitude is obtained via a fusion of the data from all the sensors.
In another embodiment, a system for controlling a safety system of an automotive vehicle includes a longitudinal acceleration sensor generating a longitudinal acceleration signal, a vehicle speed sensor generating a vehicle speed signal, a lateral acceleration sensor generating a lateral acceleration signal, a yaw rate sensor generating a yaw rate signal and a controller. The controller determines a reference pitch in response to the longitudinal acceleration signal and the vehicle speed signal and a reference roll angle in response to the yaw rate signal, the wheel speed signal and the lateral acceleration signal. The controller determines a roll stability index and a pitch stability index. The controller determines an adjusted pitch angle in response to the reference pitch angle and the pitch stability index and an adjusted roll angle in response to the reference roll angle and the roll stability index. The controller controls the safety system 44 in response to the adjusted roll angle and the adjusted pitch angle.
The present invention provides a technique of qualifying different sensor signals so that they can be fused to accurately estimate the vehicle attitude. A number of criteria are proposed for identifying cases that are not suitable for using one sensor signal but suitable for using others. As a result, the proposed sensing algorithm is robust to sensor bias and noise, vehicle maneuvers, vehicle parameter variation, road disturbances and the friction coefficient between the tires and the road.
The present invention allows the vehicle performance to be optimized for ride, safety and fuel economy by providing an accurate estimate of the vehicle attitude. Even in future vehicle models equipped with standard GPS devices, the proposed methodology is able to help achieve desired performance when sky-obstruction/GPS faults occur.
Other advantages and features of the present invention will become apparent when viewed in light of the detailed description of the preferred embodiment when taken in conjunction with the attached drawings and appended claims.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a diagrammatic view of a vehicle with variable vectors and coordinator frames according to the present invention.
FIG. 2 is a block diagram of a stability system according to the present invention.
FIG. 3 is a block diagrammatic view of reference signal generation according to the present invention.
FIG. 4 is a block diagrammatic view of the global observer according to one embodiment of the present invention.
FIG. 5 is flow chart of the pitch and attitude determination according to the present invention.
FIGS. 6A and 6B are respective roll angle and pitch angle plots versus time of a calculated reference, an estimation according to the present invention, and an accurate measuring device in a drive away event.
FIGS. 7A and 7B are respective roll angle and pitch angle plots versus time of a calculated reference, an estimation according to the present invention, and an accurate measuring device in a slow build up of side slip on truck gravel.
FIGS. 8A and 8B are respective roll angle and pitch angle plots versus time of a calculated reference, an estimation according to the present invention, and an accurate measuring device on packed snow.



DETAILED DESCRIPTION
In the following figures the same reference numerals will be used to identify the same components.
The present invention may be used in conjunction with a rollover control system for a vehicle. However, the present invention may also be used with a deployment device such as airbag or roll bar. The present invention will be discussed below in terms of preferred embodiments relating to an automotive vehicle moving in a three-dimensional road terrain.
Referring to FIG. 1, an automotive vehicle 10 with a safety system of the present invention is illustrated with the various forces and moments thereon during a rollover condition. Vehicle 10 has front right and front left tires 12a and 12b and rear right tires 13a and left rear tires 13b respectively. The vehicle 10 may also have a number of different types of front steering systems 14a and rear steering systems 14b including having each of the front and rear wheels configured with a respective controllable actuator, the front and rear wheels having a conventional type system in which both of the front wheels are controlled together and both of the rear wheels are controlled together, a system having conventional front steering and independently controllable rear steering for each of the wheels or vice versa. Generally, the vehicle has a weight represented as Mg at the center of gravity of the vehicle, where g=9.8 m/s2 and M is the total mass of the vehicle.
As mentioned above, the system may also be used with active/semi-active suspension systems, anti-roll bar or other safety devices deployed or activated upon sensing predetermined dynamic conditions of the vehicle.
The sensing system 16 is coupled to a control system 18. The sensing system 16 may use a standard yaw stability control sensor set (including lateral accelerometer, yaw rate sensor, steering angle sensor and wheel speed sensor) together with a roll rate sensor and a longitudinal accelerometer. The various sensors will be further described below. The wheel speed sensors 20 are mounted at each corner of the vehicle, and the rest of the sensors of sensing system 16 are preferably mounted directly on the center of gravity of the vehicle body, along the directions x, y and z shown in FIG. 1. As those skilled in the art will recognize, the frame from b1, b2 and b3 is called a body frame 22, whose origin is located at the center of gravity of the car body, with the b1 corresponding to the x axis pointing forward, b2 corresponding to the y axis pointing off the driving side (to the left), and the b3 corresponding to the z axis pointing upward. The angular rates of the car body are denoted about their respective axes as ωx for the roll rate, ωy for the pitch rate and ωz for the yaw rate. The present invention calculations preferably take place in an inertial frame 24 that may be derived from the body frame 22 as described below.
The angular rate sensors and the accelerometers are mounted on the vehicle car body along the body frame directions b1, b2 and b3; which are the x-y-z axes of the vehicle's sprung mass.
The longitudinal acceleration sensor is mounted on the car body located at the center of gravity, with its sensing direction along b1-axis, whose output is denoted as αx. The lateral acceleration sensor is mounted on the car body located at the center of gravity, with its sensing direction along b2-axis, whose output is denoted as αy.
The other frame used in the following discussion includes the road frame, as depicted in FIG. 1. The road frame system r1r2r3 is fixed on the driven road surface, where the r3 axis is along the average road normal direction computed from the normal directions of the four tire/road contact patches.
In the following discussion, the Euler angles of the body frame b1b2b3 with respect to the road frame r1r2 r3 are denoted as θxbr, θybr and θzbr, which are also called the relative Euler angles.
The present invention estimates the relative Euler angles θxbr and θybr based on the available sensor signals and the signals calculated form the measured values.
Referring now to FIG. 2, roll stability control system 18 is illustrated in further detail having a controller 26 used for receiving information from a number of sensors which may include speed sensors 20, a yaw rate sensor 28, a lateral acceleration sensor 32, a roll rate sensor 34, a vertical acceleration sensor 35, a longitudinal acceleration sensor 36, a pitch rate sensor 37 and steering angle position sensor 38. Sensors 28–38 may be part of an integrated measurement unit 40 or IMU.
In the preferred embodiment the sensors are located at the center of gravity of the vehicle. Those skilled in the art will recognize that the sensor may also be located off the center of gravity and translated equivalently thereto.
Lateral acceleration, roll orientation and speed may be obtained using a global positioning system (GPS). Based upon inputs from the sensors, controller 26 may control a safety device 44. Depending on the desired sensitivity of the system and various other factors, not all the sensors 28–38 may be used in a commercial embodiment. Safety device 44 is part of a vehicle subsystem control. Safety device 44 may control a passive safety device 46 such as an airbag or a steering actuator 48, a braking actuator 50 at one or more of the wheels 12a, 12b, 13a, 13b of the vehicle. Engine intervention 52 may act to reduce engine power to provide a safety function. Also, other vehicle components such as a suspension control 54 may be used to adjust the suspension to prevent rollover.
Roll rate sensor 34 and pitch rate sensor 37 may sense the roll condition of the vehicle based on sensing the height of one or more points on the vehicle relative to the road surface. Sensors that may be used to achieve this include a radar-based proximity sensor, a laser-based proximity sensor and a sonar-based proximity sensor.
Roll rate sensor 34 and pitch rate sensor 37 may also sense the roll condition based on sensing the linear or rotational relative displacement or displacement velocity of one or more of the suspension chassis components which may include a linear height or travel sensor, a rotary height or travel sensor, a wheel speed sensor used to look for a change in velocity, a steering wheel position sensor, a steering wheel velocity sensor and a driver heading command input from an electronic component that may include steer by wire using a hand wheel or joy stick.
The roll condition may also be sensed by sensing the force or torque associated with the loading condition of one or more suspension or chassis components including a pressure transducer in an act of air suspension, a shock absorber sensor such as a load cell, a strain gauge, the steering system absolute or relative motor load, the steering system pressure of the hydraulic lines, a tire laterally force sensor or sensors, a longitudinal tire force sensor, a vertical tire force sensor or a tire sidewall torsion sensor.
The roll condition of the vehicle may also be established by one or more of the following translational or rotational positions, velocities or accelerations of the vehicle including a roll gyro, the roll rate sensor 34, the yaw rate sensor 28, the lateral acceleration sensor 32, a vertical acceleration sensor, a vehicle longitudinal acceleration sensor, lateral or vertical speed sensor including a wheel-based speed sensor, a radar-based speed sensor, a sonar-based speed sensor, a laser-based speed sensor or an optical-based speed sensor.
Steering control 48 may control the position of the front right wheel actuator, the front left wheel actuator, the rear left wheel actuator, and the right rear wheel actuator. Although as described above, two or more of the actuators may be simultaneously controlled. For example, in a rack-and-pinion system, the two wheels coupled thereto are simultaneously controlled. Based on the inputs from sensors 28 through 38, controller 26 determines a roll condition and controls the steering position of the wheels.
Speed sensor 20 may be one of a variety of speed sensors known to those skilled in the art. For example, a suitable speed sensor may include a sensor at every wheel that is averaged by controller 26. Preferably, the controller translates the wheel speeds into the speed of the vehicle. Yaw rate, steering angle, wheel speed and possibly a slip angle estimate at each wheel may be translated back to the speed of the vehicle at the center of gravity. Various other algorithms are known to those skilled in the art. Speed may also be obtained from a transmission sensor. For example, if speed is determined while speeding up or braking around a corner, the lowest or highest wheel speed may not be used because of its error. Also, a transmission sensor may be used to determine vehicle speed.
Controller 26 may include a reference signal generator 58 and a global attitude observer 60. While these functions are provided by controller 26, several controllers may be used to provide the same functions. The controller 26 may be programmed to provide both of the functions among other functions. A global roll and global pitch angle are provided by the global attitude observer 60 which is then provided to device 44. One, several, or all of the safety devices in the vehicle may use global pitch and global roll angles determined by the global attitude observer 60.
Referring now to FIG. 3, reference signal generator 58 is illustrated in further detail. The reference pitch calculation box 62 determines a reference pitch angle in response to the longitudinal acceleration signal from the longitudinal acceleration sensor 36 and the wheel speed sensors 20.
A reference roll calculation block 64 determines a reference roll angle in response to a yaw rate signal from a yaw rate sensor 28 and a lateral acceleration signal from a lateral acceleration sensor 32. A derivation of these signals will be further described below.
Referring now to FIG. 4, the global attitude observer 60 is illustrated in further detail. Inputs include the sensors illustrated above and the reference signals from the reference signal generator 58 illustrated in FIG. 3. The global attitude observer 60 includes a stability index generator 36 that is coupled to wheel speed sensors 20, lateral acceleration sensor 32, vertical acceleration sensor 35, longitudinal acceleration sensor 36, yaw rate sensor 28, and steering angle sensor 38. A stability index signal is generated by the stability index generator 66. This signal is provided to a tuning block 68. The tuning block 68 has an input 68A coupled to reference signal generator 58. A second input 68B is coupled to the ultimate output of the global attitude observer. Kθx and Kθy are non-negative tunable observer gains and may be referred to as a roll stability index and a pitch stability index, respectively. Thus, the observer gains are determined based on vehicle stability status by the stability index generator 66. When the vehicle is stable, the reference signals are normally very accurate and the observer gain should be increased as a rule. In such cases the reference signals are trusted more and the gyro integrations are trusted less. On the other hand, as the vehicle becomes unstable, the reference signals normally are not very reliable. The tunable observer gain should reduce so that the estimates rely more on the gyro integrations as will be further described below.
An IMU kinematic equation generator 70 is coupled to the roll rate sensor 34, the pitch rate sensor 37, and the yaw rate sensor 38. The IMU kinematic equation generator generates a plurality of kinematic signals that are integrated to determine the Euler rates of change of the pitch and roll of the vehicle. The output of the IMU kinematic equation generator 70 and the output 68C of tuning block 68 are provided to a summing block 72. The adjustments referred to below as Δθy, Δθx are summed together and provided to integration block 78. The integration block 78 determines the pitch and roll angles of the vehicle as will be further described below.
Referring now to FIG. 5, a method for determining the pitch and roll attitude angles are determined. In step 80 the various sensors are read. In the following description it is assumed that the sensor (IMU) in this embodiment is placed at the center of gravity and there is no misalignment with respect to the vehicle body frame.
Using the kinematic relationship between the sensors (IMU output) and the rates of changes of the Euler angles, and assuming that the rate of rotation of the earth is negligible, the state equations in step 82 for vehicle motion can be written as

{dot over (θ)}x=ωx+(ωy·sin θx+ωz·cos θx)·tan θy,  (1)

{dot over (θ)}y=ωy·cos θx−ωz·sin θx,  (2)

{dot over (θ)}z=(ωy·sin θx+ωz·cos θx)·sec θy,  (3)

{dot over (ν)}x=αx+ωz·νy−ωy·νz+g·sin θy,  (4)

{dot over (ν)}y=αy−ωz·νx+ωx·νz−g·sin θx·cos θy,  (5)

{dot over (ν)}z=αz+ωy·νx−ωx·νy−g·cos θy·cos θy,  (6)

in which ν=[νx,νy,νz]T represent velocities, ω=[ωx,ωy,ωz]T represent angular velocities, α=[αx,αy,αz]T represent accelerations, all in body frame; θ=[θx,θy,θz]T represent the three Euler angles, roll, pitch and yaw, respectively; g is the gravitational constant which is assumed to be known. Equations (1)–(6) are the fundamental equations that govern the 3-D motion of the vehicle.

For vehicle dynamic control purpose, the Euler yaw angle θz (or the heading) is not required. As can be seen, the yaw angle θz does not find its way into above equations except equation (3). Furthermore, since the vehicle is constrained to move on a surface, the vertical velocity νz is normally very small and can be neglected. Thus the estimation determination is based on the following reduced kinematic equations:

{dot over (θ)}x=ωx+(ωy·sin θx+ωz·cos θx)·tan θy,  (7)

{dot over (θ)}y=ωy·cos θx−ωz·sin θx,  (8)

{dot over (ν)}x=αx+ωz·νy+g·sin θy,  (9)

{dot over (ν)}y=αy−ωz·νx−g·sin θx·cos θy.  (10)

Theoretically, the vehicle attitude can be computed via mathematical integration of equations (7) and (8), supposing the initial condition is known and ωs are measured by gyro sensors. However in practice, direct integration intends to drift due to sensor bias and inevitable numerical errors. Absolute sensors such as GPS are always needed to constantly eliminate errors due to gyro integration. It is known to those skilled in the art that Kalman filters provide an optimal way to fuse IMU signals and absolute sensor signals. However, probabilistic information regarding the measurement and process noises is normally required.
As will be seen in this embodiment, a method that utilizes the measured accelerations, yaw rate, wheel speed and steering wheel angle to correct gyro integration is described. In other words, the dead reckoning sensors are used to provide information which is normally provided by absolute sensors such as GPS. As seen from equations (9) and (10), vehicle pitch and roll angle can be calculated if νx,{dot over (ν)}x,νy and {dot over (ν)}y were available:




  
    
      
        
          
            θ
            y
          
          =
          
            arcsin
            ⁡
            
              (
              
                
                  
                    
                      v
                      .
                    
                    x
                  
                  -
                  
                    a
                    x
                  
                  -
                  
                    
                      ω
                      z
                    
                    ·
                    
                      v
                      y
                    
                  
                
                g
              
              )
            
          
        
        ,
      
    
    
      
        (
        11
        )
      
    
  
  
    
      
        
          θ
          x
        
        =
        
          
            arcsin
            ⁡
            
              (
              
                
                  
                    a
                    y
                  
                  -
                  
                    
                      ω
                      z
                    
                    ·
                    
                      v
                      x
                    
                  
                  -
                  
                    
                      v
                      .
                    
                    y
                  
                
                
                  
                    g
                    ·
                    cos
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    θ
                    y
                  
                
              
              )
            
          
          .
        
      
    
    
      
        (
        12
        )
      
    
  




Although it is possible to obtain fairly accurate νx and thus {dot over (ν)}x from wheel speed sensors when wheel slip is small, νy and {dot over (ν)}y are generally not available on current production vehicles. Thus, equations (11) and (12) cannot be implemented. Fortunately, for a lot of maneuvers, νy or {dot over (ν)}y may be small and thus can be neglected. In such cases, the so-called reference pitch and roll angles, {circumflex over (θ)}yref and {circumflex over (θ)}xref, respectively, are determined in step 84 and are set forth in the following equations:




  
    
      
        
          
            
              θ
              ^
            
            yref
          
          =
          
            arcsin
            ⁡
            
              (
              
                
                  
                    
                      
                        v
                        ^
                      
                      .
                    
                    x
                  
                  -
                  
                    a
                    xs
                  
                
                g
              
              )
            
          
        
        ,
      
    
    
      
        (
        13
        )
      
    
  
  
    
      
        
          
            
              θ
              ^
            
            xref
          
          =
          
            arcsin
            ⁡
            
              (
              
                
                  
                    a
                    ys
                  
                  -
                  
                    
                      ω
                      zs
                    
                    ·
                    
                      
                        v
                        ^
                      
                      x
                    
                  
                
                
                  
                    g
                    ·
                    cos
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      θ
                      ^
                    
                    yref
                  
                
              
              )
            
          
        
        ,
      
    
    
      
        (
        14
        )
      
    
  




where {circumflex over (ν)}x represents the wheel speed based longitudinal velocity calculation, and {circumflex over ({dot over (ν)}x its derivative; αxs and αys represent longitudinal and lateral accelerometers measurements. One embodiment of refining the vehicle reference roll angle of equation (13) using steer angle, yaw rate, lateral acceleration, and longitudinal velocity can be found in U.S. Pat. No. 6,073,065, which is incorporated by reference herein.

Note that both {circumflex over (θ)}yref and {circumflex over (θ)}xref are independent of gyro measurement. Therefore they can be thought as “pseudo measurements” of the vehicle attitude, and will be used to eliminate errors due to gyro integration. Unlike the GPS measurements, these two reference signals are maneuver dependent with their noise co-variances unknown, which makes it difficult to apply a traditional Kalman filter. The following discrete-time nonlinear observer in step 86 is used to solve this technical difficulty:

{circumflex over ({dot over (θ)}y(k)=ωys(k)·cos {circumflex over (θ)}x(k)−ωzs(k)·sin {circumflex over (θ)}x(k)+Δθy,  (15)

{circumflex over ({dot over (θ)}x(k)=ωxs(k)+[ωys(k)·sin {circumflex over (θ)}x(k)+ωzs(k)·cos {circumflex over (θ)}x(k)]·tan {circumflex over (θ)}y(k)+Δθx,   (16)

where k represents the sampling instance, ô represents computed quantities, o*s represents measured quantities, and the adjustment Δθy and Δθx are defined in step 88 as:

Δθy=Kθy(t)·({circumflex over (θ)}yref−{circumflex over (θ)}y),  (17)

Δθx=Kθx(t)·({circumflex over (θ)}xref−{circumflex over (θ)}x),  (18)

in which Kθy and Kθx are non-negative tunable observer gains and {circumflex over (θ)}y and {circumflex over (θ)}x are calculated from equations (11) and (12). The observer gains must then be determined in step 90. The observer gains correspond to the stability of the vehicle. In step 92 the roll and pitch attitudes are determined by integration, such as the trapezoidal or other appropriate integration method:





  
    
      
        
          
            
              
                θ
                ^
              
              x
            
            ⁡
            
              (
              k
              )
            
          
          =
          
            
              
                
                  θ
                  ^
                
                x
              
              ⁡
              
                (
                
                  k
                  -
                  1
                
                )
              
            
            +
            
              
                
                  
                    
                      
                        
                          θ
                          ^
                        
                        .
                      
                      x
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                  +
                  
                    
                      
                        
                          θ
                          ^
                        
                        .
                      
                      x
                    
                    ⁡
                    
                      (
                      
                        k
                        -
                        1
                      
                      )
                    
                  
                
                2
              
              ·
              
                T
                s
              
            
          
        
        ,
      
    
    
      
        (
        19
        )
      
    
  
  
    
      
        
          
            
              
                θ
                ^
              
              y
            
            ⁡
            
              (
              k
              )
            
          
          =
          
            
              
                
                  θ
                  ^
                
                y
              
              ⁡
              
                (
                
                  k
                  -
                  1
                
                )
              
            
            +
            
              
                
                  
                    
                      
                        
                          θ
                          ^
                        
                        .
                      
                      y
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                  +
                  
                    
                      
                        
                          θ
                          ^
                        
                        .
                      
                      y
                    
                    ⁡
                    
                      (
                      
                        k
                        -
                        1
                      
                      )
                    
                  
                
                2
              
              ·
              
                T
                s
              
            
          
        
        ,
      
    
    
      
        (
        20
        )
      
    
  




where Ts is the sampling period. It can be seen that when Kθx=Kθy=0, the above scheme is equivalent to gyro integration. When Kθx>0 and Kθy>0, the estimates {circumflex over (θ)}y and {circumflex over (θ)}x exponentially converge to their references {circumflex over (θ)}yref and {circumflex over (θ)}xref, respectively. The convergence rate and final accuracy can be adjusted by the observer gains.

The above scheme uses the observer equations (15)–(16) to blend the IMU gyro signals with the reference signals. Before integration, observer gains Kθy and Kθx are determined based on vehicle stability status. When the vehicle is stable, the reference signals are normally very accurate and the observer gains should be increased as a rule. In such cases, the reference signals are trusted more and the gyro integrations are trusted less. On the other hand, as the vehicle becomes unstable, the reference signals normally are not very reliable. The tunable observer gains should be reduced so that the estimates rely more on the gyro integrations. The variation in the amount of gain will vary by vehicle.
The determination of the vehicle stability status is needed in the proposed scheme. One embodiment of judging the lateral stability of a vehicle using steer angle, yaw rate, lateral acceleration, and longitudinal velocity is described in U.S. Pat. No. 6,073,065. A dynamic factor DNCF was proposed as an indicator of the magnitude of {dot over (ν)}y, the change of vehicle lateral velocity, and further as an indicator of the lateral stability of the vehicle. In the present invention, the DNCF calculation is further simplified, and a formula that reduces real-time computational load is given by:




  
    
      
        
          DNCF
          =
          
            
              
                2
                ⁢
                
                  
                    v
                    ^
                  
                  x
                  2
                
              
              
                g
                ⁡
                
                  (
                  
                    L
                    +
                    
                      
                        k
                        u
                      
                      ·
                      
                        
                          v
                          ^
                        
                        x
                        2
                      
                    
                  
                  )
                
              
            
            ·
            
              [
              
                
                  
                    k
                    u
                  
                  ·
                  
                    a
                    ys
                  
                
                +
                
                  
                    
                      ω
                      zs
                    
                    
                      
                        v
                        ^
                      
                      x
                    
                  
                  ·
                  L
                
                -
                δ
              
              ]
            
          
        
        ,
      
    
    
      
        (
        21
        )
      
    
  




where L is wheelbase, δ is front wheel steering angle and ku is understeer coefficient. It is well know to those skilled in the art that the expression in the bracket is zero when the vehicle is undergoing a stable corning if the bicycle model and its nominal understeer coefficient is accurate.

There are many other variables that can be used to determine the vehicle stability, i.e., linear side slip angle of each axle (βlin) steering wheel rate ({dot over (δ)}H), desired yaw rate (ωzd), measured yaw rate (ωzs) desired lateral acceleration (αyd), measured lateral acceleration (αys) wheel slip (λ), driver brake request, ABS-in-cycle flag, TCS-in-cycle flag, etc. The observer gains or pitch and roll stability indexes can be scheduled by certain fuzzy logic, or in general, can be any appropriate functions of these variables, i.e.,

Kθy(t)=f1(DNCF,{dot over (δ)}H,λ, . . . ),  (22)

Kθx(t)=f2(DNCF,{dot over (δ)}H,λ, . . . ).  (23)

It is seen that the proposed scheme effectively utilizes the available information of a vehicle: the kinematic relationship among sensor signals, a bicycle model, and the nonholonomic constraints for the vehicle moving on a surface. The bicycle model basically provides information about quality of the reference signals and gyro integrations which are both independent of vehicle model. Thus the estimation accuracy is not directly affected by model uncertainties. In step 94 one, some, or all of the vehicle safety systems are controlled by the controller.
While the invention has been described in connection with one or more embodiments, it should be understood that the invention is not limited to those embodiments. On the contrary, the invention is intended to cover all alternatives, modifications, and equivalents, as may be included within the spirit and scope of the appended claims.

## Claims

1. A system for controlling a safety system of an automotive vehicle comprising:
a longitudinal acceleration sensor generating a longitudinal acceleration signal;
a vehicle speed sensor generating a vehicle speed signal;
a lateral acceleration sensor generating a lateral acceleration signal;
a yaw rate signal generating a yaw rate signal; and
a controller coupled to the longitudinal acceleration sensor, the vehicle speed sensor, the lateral acceleration sensor and the yaw rate sensor, said controller determining a reference pitch in response to the longitudinal acceleration signal and the vehicle speed signal and a reference roll angle in response to said yaw rate signal, the wheel speed signal and said lateral acceleration signal, said controller determining a roll stability index and a pitch stability index, said controller determining an adjusted pitch angle in response to the reference pitch angle and the pitch stability index and an adjusted roll angle in response to the reference roll angle and the roll stability index, said controller controlling the safety system in response to the adjusted roll angle and the adjusted pitch angle.

2. A system as recited in claim 1 wherein the wheel speed sensor comprises a plurality of wheel speed sensors.

3. A system as recited in claim 1 further comprising a steering angle sensor generating a steering angle signal, wherein the roll stability index is a function of the steering angle signal.

4. A system as recited in claim 1 further comprising a steering angle sensor generating a steering angle signal, wherein the pitch stability index is a function of the steering angle signal.

5. A system as recited in claim 1 wherein the safety system comprises an antilock-brake system, roll stability control system, a traction control system, a yaw control system.

6. A system as recited in claim 1 wherein the controller determines the pitch angle in response to a pitch observer.

7. A system as recited in claim 6 further comprising a pitch rate sensor generating a pitch rate signal, wherein the pitch observer is a function of pitch rate signal and the yaw rate signal.

8. A system for controlling a safety system of an automotive vehicle comprising:
a longitudinal acceleration sensor generating a longitudinal acceleration signal;
a vehicle speed sensor generating a vehicle speed signal; and
a controller coupled to the longitudinal acceleration sensor and the vehicle speed sensor, said controller determining a reference pitch in response to the longitudinal acceleration signal and the vehicle speed signal, said controller determining a pitch stability index, said controller determining an adjusted pitch angle in response to the reference pitch angle and the pitch stability index, said controller controlling the safety system in response to the adjusted pitch angle.

9. A system as recited in claim 8 wherein the wheel speed sensor comprises a plurality of wheel speed sensors.

10. A system as recited in claim 8 further comprising a steering angle sensor generating a steering angle signal, wherein the pitch stability index is a function of the steering angle signal.

11. A system as recited in claim 8 wherein the controller determines the pitch angle in response to a pitch observer.

12. A system as recited in claim 11 further comprising a pitch rate sensor generating a pitch rate signal and a yaw rate sensor generating a yaw rate signal, wherein the pitch observer is a function of pitch rate signal and the yaw rate signal.

13. A system for controlling a safety system of an automotive vehicle comprising:
a vehicle speed sensor generating a vehicle speed signal;
a lateral acceleration sensor generating a lateral acceleration signal;
a yaw rate signal generating a yaw rate signal; and
a controller coupled to the vehicle speed sensor, the lateral acceleration sensor and the yaw rate sensor, said controller determining a reference roll angle in response to said yaw rate signal, said lateral acceleration signal and the wheel speed signal, said controller determining a roll stability index, said controller determining an adjusted roll angle in response to the reference roll angle and the roll stability index, said controller controlling the safety system in response to the adjusted roll angle.

14. A system as recited in claim 13 wherein the controller determines the roll angle in response to a roll observer.

15. A system as recited in claim 13 further comprising a roll rate sensor generating a roll rate signal and a pitch rate sensor generating a pitch rate signal, wherein the roll observer is a function of pitch rate signal, roll rate signal and the yaw rate signal.

16. A system as recited in claim 13 wherein the wheel speed sensor comprises a plurality of wheel speed sensors.

17. A system as recited in claim 13 further comprising a steering angle sensor generating a steering angle signal, wherein the roll stability index is a function of the steering angle signal.

18. A method of controlling a safety system comprising:
determining a reference roll angle or a reference pitch angle,
determining a roll stability index or a pitch stability index;
providing a roll observer having a roll observer gain or a pitch observer having a pitch observer gain, said roll observer gain being a function of the reference roll angle and roll stability index and said pitch observer gain being a function of the reference pitch angle and the pitch stability index;
integrating the roll observer to obtain a roll angle or the pitch observer to obtain a pitch angle; and
controlling a safety system in response to the roll angle or the pitch angle.

19. A method as recited in claim 18 wherein determining a reference roll angle or a reference pitch angle comprises determining a reference pitch angle in response to a longitudinal acceleration signal and the vehicle speed signal.

20. A method as recited in claim 18 wherein determining a reference roll angle or a reference pitch angle comprises determining a reference roll angle in response to a yaw rate and a lateral acceleration.

21. A method as recited in claim 18 wherein determining a roll stability index or a pitch stability index comprises:
determining a steering angle; and
determining a roll stability index in response to the steering angle.

22. A method as recited in claim 18 wherein determining a roll stability index or a pitch stability index comprises:
determining a steering angle; and
determining a pitch stability index in response to the steering angle.

23. A method as recited in claim 18 wherein determining a roll stability index or a pitch stability index comprises:
determining at least one of a side slip angle, a linear side sip angle, a steering wheel rate, a desired yaw rate, a measure yaw rate, a desired lateral acceleration, a measure lateral acceleration, a wheel slip a driver brake request, an abs-in-cycle flag and TCS-in cycle flag; and
determining a roll stability index in response to at least one of a side slip angle, a linear side sip angle, a steering wheel rate, a desired yaw rate, a measure yaw rate, a desired lateral acceleration, a measure lateral acceleration, a wheel slip a driver brake request, an abs-in-cycle flag and TCS-in cycle flag.

24. A method as recited in claim 18 wherein determining a roll stability index or a pitch stability index comprises:
determining at least one of a side slip angle, a linear side sip angle, a steering wheel rate, a desired yaw rate, a measure yaw rate, a desired lateral acceleration, a measure lateral acceleration, a wheel slip a driver brake request, an ABS-in-cycle flag and TCS-in cycle flag; and
determining a pitch stability index in response to at least one of a side slip angle, a linear side sip angle, a steering wheel rate, a desired yaw rate, a measure yaw rate, a desired lateral acceleration, a measure lateral acceleration, a wheel slip a driver brake request, an abs-in-cycle flag and TCS-in cycle flag.

25. A method as recited in claim 18 wherein providing a roll observer having a roll observer gain or a pitch observer having a pitch observer gain comprises:
determining a roll rate;
determining a pitch rate;
determining a yaw rate; and
providing a roll observer in response to the roll rate, pitch rate, and yaw rate.

26. A method as recited in claim 18 wherein providing a roll observer having a roll observer gain or a pitch observer having a pitch observer gain comprises:
determining a roll rate;
determining a pitch rate;
determining a yaw rate; and
providing a pitch observer in response to the roll rate, pitch rate, and yaw rate.

27. A method of controlling a safety system comprising:
determining a reference roll angle or a reference pitch angle,
determining a roll stability index or a pitch stability index;
providing a roll observer having a roll observer adjustment or a pitch observer adjustment, said roll observer adjustment determined in response to a roll observer gain and the reference roll angle, said pitch observer determined in response to the reference pitch angle and a pitch observer gain;
integrating the roll observer to obtain a roll angle or the pitch observer to obtain a pitch angle; and
controlling a safety system in response to the roll angle or the pitch angle.

28. A method s recited in claim 27 wherein providing a roll observer having a roll observer adjustment or a pitch observer adjustment comprises providing a roll observer having a roll observer adjustment or a pitch observer adjustment, said roll observer adjustment determined in response to a roll observer gain, the reference roll angle and a calculated roll angle, said pitch observer adjustment determined in response to the reference pitch angle, a pitch observer gain and a calculated pitch angle.

29. A method as recited in claim 27 wherein determining a reference roll or a reference pitch comprises determining a reference pitch in response to a longitudinal acceleration signal and the vehicle speed signal.

30. A method as recited in claim 27 wherein determining a reference roll or a reference pitch comprises determining a reference roll in response to a yaw rate and a lateral acceleration.

31. A method as recited in claim 27 wherein determining a roll stability index or a pitch stability index comprises:
determining a steering angle; and
determining a roll stability index in response to the steering angle.

32. A method as recited in claim 27 wherein determining a roll stability index or a pitch stability index comprises:
determining a steering angle; and
determining a pitch stability index in response to the steering angle.

33. A method as recited in claim 27 wherein providing a roll observer having a roll observer adjustment or a pitch observer having a pitch observer adjustment comprises:
determining a roll rate;
determining a pitch rate;
determining a yaw rate; and
providing the roll observer or the pitch observer in response to the roll rate, pitch rate, and yaw rate.