The present invention relates generally to a system for integrating sensors of physical parameters, and more specifically to a system for sensor fusion in a wheeled vehicle.
In the current development within vehicle technology there is an increasing interest in enhancing the safety and the manoeuvrability of vehicles by means of a number of support systems. Examples of well-known support systems in wheeled vehicles are anti-lock brake systems (ABS), traction control systems and tire pressure estimation systems. This kind of systems are usually provided with more or less complex sensors such as gyroscopes and wheel speed sensors to gather information about physical parameters affecting the vehicle.
Along with the development of technology there is an increasing demand for safety enhancing equipment in standard cars, something which is not always compatible with an acceptable price level on this segment of cars. There is therefore a need for developing cost efficient sensor equipment while improving the usability of the sensor signals.
An important parameter for automatic support systems, such as dynamic stability traction control (DSTC), is the course direction of the vehicle. The course is usually expressed in terms of the yaw angle, which is the direction of motion relating to a longitudinal axis of the vehicle, and the yaw rate, which is the angular velocity of the rotation of the vehicle around its centre of gravity in the horizontal plane.
In a simple approach, the yaw rate is independently calculated from different sensors in the vehicle, such as a gyro sensor, ABS sensors, an accelerometer sensor or a steering wheel angle sensor, and thus resulting in different values of the yaw rate. These values have been compared and voting has been used to decide which information to use.
Sensor signals generally comprise a parameter value and an offset from the true parameter value. The offsets are due to imperfect knowledge of the parameters and their dependencies, and the offsets vary in time due to for example temperature changes and wear. An accurate estimation of the offsets is crucial to the ability of accurately estimating the parameter value itself. The traditional way to improve sensor signals is to use a low pass filter in order to get rid of high frequency variations, and sometimes an offset can be estimated using long term averaging. Averaging has its shortcomings. For example in yaw rate estimation, a systematic circular driving will give the same effect as an offset. Furthermore, if two sensor signals measuring the same physical parameter are averaged, an improved estimate of the parameter may be obtained but it does not help in estimating the offset.
The perhaps most well known support parameter for the driver of a wheeled vehicle is the velocity. The vehicle velocity may be estimated based on the angular velocity of the driven wheel, however with an inaccuracy due to wheel slip, wheel skid or varying tire diameter. The standard approach to compute velocity is to use the wheel speed signals from the wheel speed sensors and possibly averaging over left and right wheels. To avoid errors due to wheel slip the non-driven wheels are preferably used. This approach has however shortcomings during braking when the wheels are locked and during wheel spin on 4 wheel-driven (WD) vehicles. For 4 WD vehicles an additional problem is that even during normal driving there will be a small positive velocity offset due to the wheel slip.
An example of the state of the art sensor utilisation is shown in U.S. Pat. No. 5,878,357 to Sivashankar et al. This piece of prior art is directed to vehicle yaw rate estimation by a combination of a kinematic yaw rate estimation and a dynamic yaw rate estimation using accelerometers. A kinematic yaw rate estimate is weighted with a vehicle lateral acceleration at the centre of gravity, and steering angle and vehicle forward speed are incorporated into a Kalman filter for achieving a dynamic vehicle yaw rate estimate. This system uses relatively low-cost sensor components but is sensitive to difficult driving cases and errors in the wheel radii, for example due to varying tire pressure. Another drawback is that it requires wiring through the whole car in order to collect sensor signals from an accelerometer at the front as well as the rear of the car.
Another example of prior art directed to yaw rate measuring is found in U.S. Pat. No. 5,274,576 to Williams. This prior art uses a solid state rate gyrometer, the accuracy of which is known to depend on the ambient temperature. Measuring means provides a velocity signal, a steering angle and a lateral acceleration signal, which are all used in a correction means in order to remove bias errors from the output signal of the gyrometer. It is noted that this system is basically a low pass filter only compensating for long term bias errors.
The U.S. Pat. No. 5,860,480 to Jayaraman et al shows a method for determining pitch and ground speed of an earth moving machine, and is directed to estimating certain operating parameters. This prior art seeks to overcome problems of noise and bias in sensor signals. Using a sensor measurement model, a machine process model and Kalman filter update equations the pitch, the pitch rate and ground speed are estimated as a function of sensed pitch and ground speed signals.
The European Patent No. EP 0 595 681 A1 to Regie Nationale des Usines Renault shows a method for determining the speed of a vehicle by processing sensed wheel angular velocity in a Kalman filter.
The general problem to be solved by the present invention is to improve the usability of signals from existing sensors measuring a first physical parameter.
Aspects of the problem are: to improve the accuracy of such sensors signals;
A further and more specific aspect of the problem is to provide an improved computation of a course indication in the shape of yaw angle and yaw rate for a wheeled vehicle.
Yet another specific aspect of the problem is to provide an improved estimation of the velocity of a wheeled vehicle.
A further aspect of the problem is to compute the actual fuel level and instantaneous fuel consumption for any engine, where offset distorted measurements of the same quantities are available.
Yet another specific aspect is to compute the roll angle of a vehicle, in particular for motorcycles.
The object of the invention is achieved by processing a plurality of sensor signals in an adaptive or recursive filter thereby producing an optimized estimation of a first
The European Patent No. EP 0 595 681 A1 to Regie Nationale Des Usines Renault shows a method for determining the speed of a vehicle by processing sensed wheel angular velocity in a Kalman Filter. The Kalman filter is based on a model that depends on an absolute reference, and more specifically in the assumption that one of the sensor signals, i.e. the velocity signal, is free from errors, whereas an offset error is modelled for the other signal, i.e. the acceleration signal. In case of errors in the assumedly error free reference signals, this method will result in erroneous parameter signal estimation. physical parameter detected by said sensors. In accordance with the invention, a particularly advantageous recursive filter is provided by a Kalman filter. In the invention, the Kalman filter is used as a framework for processing related sensor signals and estimating their respective offsets. These related sensor signals do not necessarily have to measure the same physical parameter, and in embodiments of the invention they usually represent different parameters. Besides giving an accurate estimate of the offset, the Kalman filter also has the advantageous possibility of attenuating noise.
The invention achieves an increase of performance in existing sensors by enhancing the sensor signal. Furthermore, new information is found by combining and processing sensor signals and associate the result with other physical or operating parameters than those directly related with the sensors.
According to an aspect of the invention, the accuracy of sensor signals are highly improved by combining the signals of a plurality of existing or simple add-on sensors in the recursive filtering means.
According to another aspect of the invention, a virtual sensor signal for a second physical parameter dependent on one or more first physical parameters is generated by combining sensors of different type sensing different first physical parameters by means of combined sensor signals from real sensors. In other terms, all available information from sensors in the vehicle is systematically fused in a recursive filter, preferably a Kalman filter.
When applying the sensor fusion in accordance with the invention in computing a yaw rate value, at least two sensor signals are input into a Kalman filter in order to minimize the error in an estimate signal representing the yaw rate value. In a preferred embodiment, these sensors signals are a yaw rate signal taken from a gyro, wheel speed signals taken from an ABS equipment, possibly also a lateral yaw rate signal computed from a lateral accelerometer and steering wheel angle signals. An accurate yaw rate value can for example be applied in lateral slip computation, which is used in stability systems and friction estimation. Furthermore, there are effects of the second order, for example an estimation of absolute tire radii and consequently also absolute velocity. Moreover, the filtering process provides computations of differences in tire radii as well as signals for diagnosis of faults in the respective sensors. The diagnosis signals may be used to warn the driver or be stored in a fault report to be used in connection with service of the vehicle.
An accurate estimation of vehicle velocity is achieved in accordance with an embodiment of the invention wherein wheel speed sensor signals are combined with an accelerometer signal and processed in a filtering process in accordance with the above description. In accordance with the invention, the velocity is accurately computed even during braking and when the wheels are locked. For a 4 WD vehicle or when non-driven wheel speed signals are not available, the invention compensates for wheel slip and in addition to velocity also gives acceleration information. Other parameters that are derived in embodiments of the invention are slip-offset e.g. usable for tire pressure estimation in 4 WD vehicles, slip-slope e.g. usable for tire friction estimation in 2 WD and 4 WD vehicles, acceleration offset and the wheel velocity in the drive direction. These embodiments as well as detection of aquaplaning are examples of application of theory for the longitudinal stiffness of tires.
The slip of a vehicle wheel is a function of the momentum applied on a wheel, wherein the slip-offset is a constant term of the function and the slip-slope is the constant of proportionality between the applied momentum and the slip.
There are different further aspects that are relevant to different kinds of vehicles. Yaw rate and absolute velocity estimation is perhaps most appropriate for cars and trucks. For motorcycles, the determination of roll angle is important for an ABS and spin control, since less tire forcess can be utilised in cornering. Also, headlight control can be implemented dependent on roll angle. Roll angle estimation is furthermore crucial for roll-over detection, used in some airbag control units. Similarly to yaw rate estimation in cars, this can be done by using wheel speed and a lateral-vertical accelerometer pair. Such a roll angle estimation carried out without using a roll gyro is an example of a virtual sensor, where only indirect measurements are used to compute the physical quantity. It is here crucial to find and compensate for the accelerometer offsets, which is conveniently achieved with the aid of the invention. As a further support, a roll gyro and longitudinal accelerometer can be incorporated in the algorithm. Another example of great practical importance is to detect aqua-planing quickly, for cars, trucks and motorcycles.
Other aspects and embodiments of the invention are disclosed in the description of detailed embodiments and the claims.
The invention will now be further described by means of exemplifying embodiments in conjunction with the accompanying drawings, in which:
The invention is based on the following general idea of sensor fusion, which is here described by way of example in terms of matrix algebra. This example relates to two sensors detecting the same physical parameter, but in different embodiments of the invention signals from sensors detecting different parameters may be integrated.
Two different sensors sensing the same varying physical parameter give separate measurements yi(t) of a the parameter x, where each measurement has an offset bi with an offset scaling ci(t) according to a known function of time. The measurements can be expressed algebraically as the equations:
y1(t)=x(t)+c1(t)b1 (1)
y2(t)=x(t)+c2(t)b2. (2)
These two equations have three unknowns and is therefore insoluble, and the offsets cannot be directly eliminated.
When two measurements y1(1),y2(1) and y1(2),y2(2) are available, there are two more equations and only one more unknown, i.e. four equations and four unknowns. Thus, the offsets and the variable parameter values x(1),x(2) can be solved under the condition that there is no linear dependency in data In this example, the linear independency condition is:
c1(1)/c1(2)≠c2(1)/c2(2). (3)
If, for example, c1 is constant and c2(t) is the velocity vx(t), linear independency occurs when the velocity has changed between two measurements. This leads to observability and identifiability. Typically, measurements would be carried out by sensors delivering a continuous or discrete sensor output signal which is sampled into a digital data processing system. The samples are collected in a per se known manner with a predetermined sampling frequency, thus giving rise to a corresponding number of observations in the shape of equations to process.
In practice there is a measurement noise added to each of the observations. In order to eliminate the noise, certain embodiments of the invention are devised to collect a number of observation samples large enough to constitute an overdetermined equation system and to compute the least square solution.
The invention also makes use of the a priori knowledge that the parameter variable x is a correlated sequence that cannot change arbitrarily fast between two samples. This property of the parameter variable x is used in a recursive filter, preferably a Kalman filter, into which the sampled observations input.
General Setting
The invention is generally implemented in a digital or analogue sensor control system of a car. Such a system typically includes wired, optical or wireless data communication links for communicating the output of a sensor to a control unit. The control unit is provided with a data processor, which in preferred embodiments is a digital processor having a data storage memory and signal input and output ports. The digital processor is programmed with a computer program product being provided with means for directing the processor to perform the functions and the steps of the inventive method. In an analogue implementation of the inventive concept, the control unit is provided with circuit elements specifically devised to perform the functions of the inventive method.
In the embodiment shown in
Self-Calibrating Sensor
Yaw Rate Computation
One embodiment of the invention is directed to achieve an adaptive high precision yaw rate sensor by combining sensor signals from a gyro and from wheel angular velocity sensors of an ABS and by computing an accurate yaw rate by means of an adaptive filter. Specific embodiments may comprise further sensor signals, for example the signals from a lateral accelerometer, in order to further enhance the performance of the sensor. FIG. 2 shows schematically a yaw rate signal {dot over (ψ)} gyro 202 from a gyro and wheel angular speed signals 204 from an ABS being input in a filter 206 in accordance with the invention. The filter 206 outputs a computed yaw angle ψ, yaw rate {dot over (ψ)} 208 as well as yaw rate offset values.
For the sake of simplicity of the explanation of the invention, this exemplifying embodiment is based on relations assuming there is no lateral movement. In the relations:
The angular wheel velocities ω for each of the respective wheels are received from an ABS and the inverse R−1 of R is solved in order to avoid numerical problems in certain driving cases, e.g. driving straight ahead. This results in
where the wheel radius is denoted r.
The wheel radii ratio is subject to an offset:
The influence of the offset on the denominator is negligible, so according to embodiments of the invention the following expression is used for inverse curve radius:
wherein the computable quantity
is used for the inverse curve radius.
Finally, the velocity at the center of the rear wheel axle is
where r denotes the nominal wheel radius.
In a practical implementation of this embodiment, the sensor measurements are:
All these sensor measurements are subject to an offset and measurement noise given by the relations:
where δABS is an offset that depends on relative tire radius between left and right wheels.
As has been described above, the measurement signals are treated in a filter. A general filter description is given in the following section. In one embodiment, the offset is estimated by means of the least squares method. So, eliminating the yaw rate from the first two measurements yields a linear regression in the two offsets:
where:
Using also an accelerometer, the regression quantities are
The least squares estimate is computed by
The important question of identifiability, that is, under what conditions are the offsets possible to estimate, is answered by studying the rank of the matrix to be inverted in the LS solution. For the accelerometer sensor, the matrix is given by:
In short, this matrix has full rank if and only if the velocity changes during the time horizon. Furthermore, the more variation, the better estimate. Similarly, the offsets are identifiable from yaw rate and ABS sensors if the velocity or the curve radius changes anytime. In accordance with the invention, the offsets are estimated adaptively by recursive least squares (RLS) algorithm, least mean square (LMS) or a Kalman filter.
In real time implementations of the invention, the Kalman filter is preferred and improves the performance over RLS in the following way:
The Kalman filter is completely specified by a state space equation of the form
x(t+1)=Ax(t)+Bv(t)
y(t)=Cx(t)+e(t) (18)
where the covariance matrices of v(t) and e(t) are denoted Q and R, respectively. The unknown quantities in the state vector x(t) are estimated by a recursion
{circumflex over (x)}(t+1)=A{circumflex over (x)}(t)+K(t;A,B,C,Q,R)(y(t)−C
where the filter gain K(t;A,B,C,Q,R) is given by the Kalman filter equations. Thus, the problem when designing an implementation is to setup the state space model.
An exemplifying embodiment uses the state vector:
and a continuous time state space model is:
It is here assumed that there is an unknown input v(t) that affects the yaw acceleration, which is a common model for motion models, basically motivated by Newton's law F=ma.
A discrete time state space model:
is derived and is used by the Kalman filter.
Embodiments of the invention integrating information from wheel speed signals and gyro are thus capable to give accurate yaw angle and yaw rate measurements where the gyro offset and relative tire radii differences are estimated and compensated for. As an alternative, or further support, to ABS, one or several lateral accelerometers can be used to support the yaw rate sensor with a further yaw rate dependent sensor signal.
Simulations and experiments show that the accuracy in yaw rate, not regarding the offsets, is better than using any of the sensor types separately.
A further advantage with the inventive concept is that the relative difference in wheel radii on non-driven right and left wheels can be very accurately estimated, which is advantageously used for tire pressure indication. In different embodiments the Kalman filter is used as a combined parameter estimator for the offset as well as a filter for yaw rate. In an alternative embodiment, an adaptive filter is used to estimate the offset parameters. A further effect of the invention is that it gives support for diagnosis of faults in gyro and accelerometer.
In a stepwise description of the embodiment for yaw rate estimation, the inventive method comprises the following steps:
One embodiment of the invention is concerned with applying the invention for velocity computation, or more generally expressed longitudinal motion computation based on standard sensors of a vehicle. In accordance with the invention, a sensor signal from an accelerometer ax is integrated with a wheel angular velocity signal ω for example from an ABS in a sensor signal integration unit 218. The sensor signal integration unit comprises as explained above, a filtering process, and outputs a computed velocity signal vx 220 and a computed acceleration signal ax 222. As described above, an accelerometer sensing acceleration in the horizontal plane is preferably combined with a vertical accelerometer for compensation for vertical motion. Since this embodiment uses an accelerometer as a complement to the wheel speed signals, the velocity can be computed after locking the wheels when braking.
The basic equations upon which the computation is based are similar to those described above in connection with the yaw rate computation. Therefore, only the sensor signals to be fused and their characteristics are shown here. Wheel angular speed signals ω are received from an ABS and are transformed to a scaled velocities at selected positions in the car. The first sensor signal from the ABS is described by:
wherein y1 is the angular velocity of a driving wheel;
The offset
is here multiplicative, which means that the relations are non linear and the extended Kalman filter must be used. The sensor is accurate at medium frequencies, at a time scale where the friction and tire characteristics k, δ are unchanged. The second sensor signal from an accelerometer in longitudinal direction ax is described by:
y2(t)={dot over (v)}x(t)+b2+e2(t). (25)
Summing up to time t gives:
The offset scalings (l and t) are linearly independent if the traction force=μ(t) does not increase linearly in time, so the offsets b2, k, δ are observable. In this embodiment, offset and drift free velocity is computed from driven wheel speed and accelerometer with non-negligible offset for instance to be used in 4WD vehicles when free-rolling wheels are not available. It also has a fast response to longitudinal velocity changes during skid, i.e. spin or brake. Furthermore, the embodiment is advantageously used for diagnosis of accelerometer. The system estimates the slip slope in a friction model which is also used to estimate tire-road friction.
In a stepwise description of the embodiment for velocity computation the inventive method comprises the following steps:
An embodiment of the invention is directed to computation of fuel level and fuel consumption. This embodiment is schematically shown in
Firstly, the tank level measurement is:
y1(t)=V(t)+b1+e1(t) (27)
This type of sensor usually suffers from medium-frequency disturbances in the noise component e1(t), which is normally handled with a very slow low-pass filter. On the other hand, low-frequency accuracy in the time constant of one re-fuelling is good. The offset depends inter alia on manufacturing variations and temperature.
Secondly, a fuel injection signal tq or the like is transformed to a momentary fuel consumption signal described as:
y2(t)={dot over (V)}(t)+b2+e2(t) (28)
This sensor is very good at high frequencies, basically since it measures derivatives.
Summing up to time t gives:
The offset scalings 1 and t are linearly independent and therefore the offsets are observable.
This in effect virtual sensor has the advantages of fast response after re-fuelling, is an offset free monitor of momentary as well as average values of fuel consumption, and is suitable to use for diagnosis of faults in fuel pipes and engine efficiency.
In a stepwise description of the embodiment for fuel consumption, the inventive method comprises the following steps:
One embodiment of the invention is applied in velocity computation, or more generally expressed longitudinal motion computation based on standard sensors of a vehicle. In accordance with a variety of this embodiment, a sensor signal from an accelerometer ax is integrated with a wheel angular velocity signal ω (for example from an ABS unit) in a sensor signal integration unit. The sensor signal integration unit comprises, as explained above, a filtering process, and outputs a computed velocity signal vx and a computed acceleration signal ax. As described above, an accelerometer sensing acceleration in the horizontal plane is preferably combined with a vertical accelerometer for compensation for vertical motion. Since this embodiment uses an accelerometer as a complement to the wheel speed signals, the velocity can be computed also after locking the wheels when braking.
Wheel angular speed signals ω are received from an ABS and are transformed to scaled velocities at selected positions in the car. The first sensor signal from the ABS is described by
where y1 is the angular velocity of a driving wheel, vx is the absolute velocity of the wheel, r is the wheel radius, k is the longitudinal stiffness, δ is the slip offset, μ is the normalized traction force, and e1 is measurement noise.
The offset
(31 )is here multiplicative, which means that the relations are non-linear and a non-linear observer or the extended Kalman filter must be used. The sensor is accurate at medium frequencies, at a time scale where the friction and tire characteristics, k and δ are unchanged.
The second sensor signal from an accelerometer in longitudinal direction ax is described by
y2(t)={dot over (v)}x(t)+b2+e2(t).
Summing up this equation to time t gives
The offset scalings (l and t) are linearly independent if the normalized traction force μ(t) does not increase linearly in time, so the offsets b2, k, δ are observable.
In this embodiment, offset and drift free velocity is computed from driven wheel speed and accelerometer with non-negligible offset for instance to be used in 4WD vehicles when free-rolling wheels are not available. It also has a fast response to longitudinal velocity changes during skid, i.e. spin or brake. Furthermore, the embodiment is advantageously used for diagnosis of the accelerometer. The system estimates the slip slope in a friction model which is also used to estimate tire-road friction.
In a stepwise description of the embodiment for velocity computation, the inventive method comprises the following steps:
An embodiment of the invention being applicable for a virtual sensor as well as for an autocalibrating sensor is directed to achieve a roll angle indicator. By way of example, the described embodiment uses a lateral and a vertical accelerometer, a yaw rate gyro and a velocity estimate. The measurement from the lateral accelerometer is denoted ay and from the vertical accelerometer az. The required velocity is in this example provided by the ABS by rescaling the angular velocity with the wheel radius.
A common problem with accelerometers is a temperature dependent sensor offset. This invention provides an alternative to the costly solution of calibrating all sensors during production also entailing that an additional temperature sensor is required on each motorcycle. An embodiment of the invention is adapted to estimate and compensate for the sensor offsets automatically during driving.
Accelerometers and gyros typically deliver a continuous time signal. In order to use this signal in a discrete time system this signal must be sampled using a suitable sampling rate. Alias effects are avoided by using an anti alias filter (LP-filter) before the sampling. Outliers deteriorates the performance of the system and are removed before the sensor fusion stage. The sensor fusion is performed using an adaptive filter, preferrably a Kalman filter.
Models describing the accelerometers are derived using mechanical engineeringe. The general expressions for an ideal lateral and an ideal vertical accelerometer moving in a field of gravity are:
aBy={dot over (v)}+u{dot over (ψ)}−w{dot over (φ)}+x{umlaut over (ψ)}−z{umlaut over (φ)}+x{dot over (φ)}{dot over (θ)}−y({dot over (φ)}2+{dot over (ψ)}2)+z{dot over (θ)}{dot over (ψ)}+g sin Φ cos Θ
aBz={dot over (w)}+v{dot over (φ)}−u{dot over (θ)}+y{umlaut over (φ)}−x{umlaut over (θ)}+x{dot over (φ)}{dot over (ψ)}+y{dot over (θ)}{dot over (ψ)}−z({dot over (φ)}2+{dot over (θ)}2)+g cos Φ cos Θ (35)
with notation for a motorcycle in accordance with the illustration of coordinate systems in
For a motorcycle is the lateral velocity v and vertical velocity w approximately zero during normal driving. The expressions are further simplified if the location of the accelerometers are chosen to x=0, y=0 and z=zx.
The sensor models are simplified to
aBy=u{dot over (ψ)}−zx{umlaut over (φ)}+zx{dot over (θ)}{dot over (ψ)}+g sin Φ cos Θ
aBz=−u{dot over (θ)}−zx({dot over (φ)}2+{dot over (θ)}2)+g cos Φ cos Θ (36)
If Θ is assumed to be constant equal to zero are
It is now obvious that the local roll rate {dot over (φ)} is equal to the global roll rate {dot over (Φ)} and also that {dot over (θ)} can be eliminated from the accelerometer models.
aBy=u{dot over (ψ)}−zx({umlaut over (φ)}+{dot over (ψ)}2 tan Φ)+g sin Φ
aBz=−u{dot over (ψ)} tan Φ−zx({dot over (φ)}2+{dot over (ψ)}2 tan2 Φ)+g cos Φ
The first term in the expressions, u{dot over (ψ)} or u{dot over (ψ)} tan Φ, is important for modelling high velocity turns. The increased normal force on the motorcycle from the ground is explained by this term. The second term depends on the location of the sensor in {circumflex over (z)}^and the third is the influence from gravity. Unfortunately there are two allowed solutions to these two expressions. In order to improve the system is one more interpretation of the lateral measurement required. This interpretation is made using necessary conditions to achieve state of equilibrium in steady state turning.
Using Newtons equations is the following expression derived
Introduce the parameter
which describes the physical properties of the particular type of motorcycle. Assuming ΦG=Φ results in
g cos Θ sin Φ=−u{dot over (ψ)}K−u{dot over (ψ)}+α1′{umlaut over (φ)}+α2′{dot over (θ)}{dot over (ψ)}
Assume constant pitch angle {dot over (Θ)}=0 and use {dot over (θ)}={dot over (ψ)} tan Φ
g cos Θ sin Φ=−u{dot over (ψ)}K−u{dot over (ψ)}+α1′{umlaut over (φ)}+α2′{dot over (ψ)}2 tan Φ
Inserting this expression in the earlier derived expression for the lateral accelerometer yields
aBy=α1{umlaut over (φ)}+α2{dot over (ψ)}2 tan Φ−u{dot over (ψ)}K
where the new variables α1 and α2 are constants describing the geometry of the motorcycle but are not equal to α1′ and α2′.
There are now one model for the vertical and two models for the lateral accelerometer available.
aBy=u{dot over (ψ)}−zx{umlaut over (φ)}+zx{dot over (ψ)}2 tan Φ+g sin Φ
aBz=−u{dot over (ψ)} tan Φ−zx({dot over (φ)}2+{dot over (ψ)}2 tan 2 Φ)+g cos Φ
aBy=α1{umlaut over (φ)}+α2{dot over (ψ)}2 tan Φ−u{dot over (ψ)}K
A rate gyro model follows from that the rate gyro is attached in the longitudinal direction {circumflex over (x)}and measures ideally the roll angle derivative or gyro={dot over (φ)}. There are now one sensor model for the ideal vertical acceleromter, two models for the ideal lateral acceleromter and one model for the ideal rate gyro. An improved model is achieved if the model is extended with additive sensor offsets:
aBy=u{dot over (ψ)}−zx{umlaut over (φ)}+zx{dot over (ψ)}2 tan Φ+g sin Φ+δy
aBz=−u{dot over (ψ)} tan Φ−zx({dot over (φ)}2+{dot over (ψ)}2 tan 2 Φ)+g cos Φ+δz
aBy=α1{umlaut over (φ)}+α2{dot over (ψ)}2 tan Φ−u{dot over (ψ)}K+δy
gyro={dot over (φ)}+δgyro
where the notation is as presented earlier and
The adaptive filter is in this embodiment implemented by means of an extended Kalman filter. A continuous time state space model is derived and is then transformed to a discrete time state space model using per se known theory from linear systems and sampled systems. The continuous time state space model for the system is
{dot over (x)}=Ax+Bw
z=h(x)+v
The state vector x consists of seven elements x=(x1 x2 x3 x4 x5 x6 x7)T, wherein:
x1=φ=Rotation around {circumflex over (x)}
x2={dot over (φ)}=Angular velocity around {circumflex over (x)}
x3={umlaut over (φ)}=Angular acceleration around {circumflex over (x)}
x4={dot over (ψ)}=Angular velocity around {circumflex over (z)}
x5=δy=Accelerometer offset lateral accelerometer
x6=δz=Accelerometer offset vertical accelerometer
x7=δgyro=Gyro offset.
The discrete time Kalman filter is written
xk+1=Fxk+Gwk
zk=h(xk)+vk
Where T is the sampling time. Derivation of F and G from A and B is straightforward according to the theory for sampled systems.
Writing the discrete time signal model z=h(x), the extended Kalman filter is applied as follows.
xk+1=f(xk)+g(xk)wk,
zk=h(xk)+vk
Here f, g and h are nonlinear functions of the states xk. Define the matrices F, G and H according to:
G
k
=g
k({circumflex over (x)}k/k)
The linearized signal model be written as
xk+1=Fkxk+Gkwk+uk
zk=Hk′xk+vk+yk
where
uk=fk({circumflex over (x)}k/k)−Fk{circumflex over (x)}k/k
yk=hk({circumflex over (x)}k/k−1)−Hk′{circumflex over (x)}k/k−1
and
E[wkwl′]=Qδk1
E[vkvl′]=Rδk1
The extended Kalman filter equations are then
{circumflex over (x)}k/k={circumflex over (x)}k/k−1+Lk[zk−hk({circumflex over (x)}k/k−1)]
{circumflex over (x)}k+1/k=fk({circumflex over (x)}k/k)
Lk=Σk/k−1HkΩk−1
Ωk=Hk′Σk/k−1Hk+Rk
Σk/k=Σk/k−1−Σk/k−1Hk[Hk′Σk/k−1Hk+Rk]−1Hk′ Σk/k−1
Σk+1/k=Fk Σk/kFk′+GkQkGk′
Initialisation is provided by: Σ0/−1=P0,x0/−1={circumflex over (x)}0.
The necessary matrices for the roll angle estimation problem using two accelerometers the velocity of the motorcycle and an extended Kalman filter are:
All that remains in order to run the algorithm is the initialization. {circumflex over (x)}0 is chosen to suitable values and the matrix P0 reflects the uncertainty of {circumflex over (x)}0. One choice is
{circumflex over (x)}0=(0 0 0 0 0 0 0)T
The described mathematical expressions are employed for example in a virtual sensor as shown in
Virtual Sensor for Fuel Level and Fuel Consumption
One embodiment of the invention is directed to computation of fuel level and fuel consumption. This embodiment takes as an input a fuel volume signal from the tank meter of the vehicle, and a fuel injection signal from the engine. The basic equations are again similar to those described in earlier sections, however the sensor signals are modelled according to the following equations.
Firstly, the tank level measurement is:
y1(t)=V(t)+b1+e1(t)
This type of sensor usually suffers from medium frequency disturbances in the noise component e1 which is normally handled with a very slow low-pass filter. On the other hand, low-frequency accuracy in the time constant of one re-fuelling is good. The offset depends inter alia on manufacturing variations and temperature.
Secondly, a fuel injection signal tq or the like is transformed to a momentary fuel consumption signal described as
y2(t)={dot over (V)}(t)+b2+e2(t)
This sensor is very good at high frequencies, basically since it measures derivatives. Summing up y2 to time t gives:
The offset scalings 1 and t are linearly independent and therefore the offsets are observable.
This in effect virtual sensor has the advantages of fast response after re-fuelling, is an offset free monitor of momentary as well as average values of fuel consumption, and is suitable to use for diagnosis of faults in fuel pipes and engine efficiency.
In a stepwise description of the embodiment for fuel consumption, the inventive method comprises the following steps:
One embodiment of the invention is directed to automatic aqua planning detection (APD) based on the following principles. The measured signals and computed quantities that are utilized by the virtual sensor APD are summarized shown in
The virtual sensor APD detects aqua planning by monitoring the longitudinal stiffness k, which during normal driving conditions can be modeled as
is the normalized traction force and
is the wheel slip. Here N is the tire normal force that depends on the mass, the vehicle geometry and the vehicle state (such as the current velocity and acceleration/retardation). In case of aqua planning, the lack of friction between the tire and the road gives rise to an increased wheel slip s if the traction force μ is maintained. Therefore, it is possible to detect aqua planning by monitoring sudden decreases in the estimated slope parameter k. In practice it is necessary to take into account that the wheel radii rd and rn are unknown. By introducing δ as the relative difference in wheel radii, i.e.,
and approximating the wheel slip as
and approximating the wheel slip as
obtains the model
The parameters in this model, 1/k and δ, are estimated from measured slip sm and traction force μ using an adaptive filter, such as a recursive least squares algorithm or a Kalman filter and the state space model
x1+l=x1+w1,
sm,i=H1x1+e1,
where x1=(1/k δ)T, H1=(μ, 1)T, and wr and er are process and measurement noise respectively.
The invention has been described by means of exemplifying embodiments for different applications and it should be appreciated that several designs are possible within the inventive concept and as defined in the claims.
Number | Date | Country | Kind |
---|---|---|---|
0001353 | Apr 2000 | SE | national |
0002212 | Jun 2000 | SE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/SE01/00797 | 4/12/2001 | WO | 00 | 1/9/2003 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO01/76925 | 10/18/2001 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4680715 | Pawelek | Jul 1987 | A |
5166882 | Stambaugh | Nov 1992 | A |
5506794 | Lange | Apr 1996 | A |
5668724 | Ehret et al. | Sep 1997 | A |
5860480 | Jayaraman et al. | Jan 1999 | A |
6427102 | Ding | Jul 2002 | B1 |
6459990 | McCall et al. | Oct 2002 | B1 |
Number | Date | Country |
---|---|---|
4123053 | Jan 1993 | DE |
0 595 681 | May 1994 | EP |
WO 9810297 | Mar 1998 | WO |
Number | Date | Country | |
---|---|---|---|
20040199300 A1 | Oct 2004 | US |