Now we are ready for the first simple example. In this example, we estimate the state of the static system. A static system is a system that doesn't change its state over a reasonable period. For instance, the static system could be a tower, and the state would be its height.

In this example, we estimate the weight of the gold bar. We have unbiased scales, i.e., the measurements don't have a systematic error, but the measurements do include random noise.

The system is the gold bar, and the system state is the weight of the gold bar. The dynamic model of the system is constant since we assume that the weight doesn't change over short periods.

To estimate the system state (i.e., the weight value), we can make multiple measurements and average them.

At the time \( n \), the estimate \( \hat{x}_{n,n} \) would be the average of all previous measurements:

\( x \) | is the true value of the weight |

\( z_{n} \) | is the measured value of the weight at time \( n \) |

\( \hat{x}_{n,n} \) | is the estimate of \( x \) at time \( n \) (the estimate is made after taking the measurement \( z_{n} \) ) |

\( \hat{x}_{n+1,n} \) | is the estimate of the future state (\( n+1 \) ) of \( x \). The estimate is made at the time \( n \). In other words, \( \hat{x}_{n+1,n} \) is a predicted state or extrapolated state |

\( \hat{x}_{n-1,n-1} \) | is the estimate of \( x \) at time \( n-1 \) (the estimate is made after taking the measurement \( z_{n-1} \) ) |

\( \hat{x}_{n,n-1} \) | is the previous prediction - the estimate of the state at time \( n \). The estimate is made at the time \( n-1 \) |

Note: In the literature, a caret (or hat) over a variable indicates an estimated value.

The dynamic model in this example is static (or constant) since the weight of gold doesn't change over time, therefore \( \hat{x}_{n+1,n}= \hat{x}_{n,n} \).

Although the above equation is mathematically correct, it is not practical for implementation. In order to estimate \( \hat{x}_{n,n} \) we need to remember all historical measurements; therefore, we need a large memory. We also need to recalculate the average repeatedly if we want to update the estimated value after every new measurement. Thus, we need a more powerful CPU.

It would be more practical to keep the last estimate only (\( \hat{x}_{n-1,n-1} \)) and update it after every new measurement. The following figure exemplifies the required algorithm:

- Estimate the current state based on the measurement and previous prediction
- Predict the next state based on the current state estimate using the Dynamic Model

We can modify the averaging equation for our needs using a small mathematical trick:

Notes | |
---|---|

\( \hat{x}_{n,n}= \frac{1}{n} \sum _{i=1}^{n} \left( z_{i} \right) = \) | Average formula: sum of \( n \) measurements divided by \( n \) |

\( = \frac{1}{n} \left( \sum _{i=1}^{n-1} \left( z_{i} \right) + z_{n} \right) = \) | Sum of the \( n - 1 \) measurements plus the last measurement divided by \( n \) |

\( = \frac{1}{n} \sum _{i=1}^{n-1} \left( z_{i} \right) + \frac{1}{n} z_{n} = \) | Expand |

\( = \frac{1}{n}\frac{n-1}{n-1} \sum _{i=1}^{n-1} \left( z_{i} \right) + \frac{1}{n} z_{n} = \) | Multiply and divide by term \( n - 1 \) |

\( \frac{n-1}{n}\color{#FF8C00}{\frac{1}{n-1} \sum _{i=1}^{n-1} \left( z_{i} \right)} + \frac{1}{n} z_{n} = \) |
Reorder The 'orange' term is the previous estimate |

\( = \frac{n-1}{n}\color{#FF8C00}{\hat{x}_{n-1,n-1}} + \frac{1}{n} z_{n} = \) | Rewriting the sum |

\( = \hat{x}_{n-1,n-1}- \frac{1}{n}\hat{x}_{n-1,n-1}+ \frac{1}{n} z_{n} = \) | Distribute the term \( \frac{n-1}{n} \) |

\( = \hat{x}_{n-1,n-1}+ \frac{1}{n} \left( z_{n}- \hat{x}_{n-1,n-1} \right) \) | Reorder |

\( \hat{x}_{n-1,n-1} \) is the estimated state of \( x \) at the time \( n - 1\), based on the measurement at the time \( n-1 \).

Let's find \( \hat{x}_{n,n-1} \) (the predicted state of \( x \) at the time \( n \)) , based on \( \hat{x}_{n-1,n-1} \) (the estimation at the time \( n - 1 \)). In other words, we would like to extrapolate \( \hat{x}_{n-1,n-1} \) to the time \( n \).

Since the dynamic model in this example is static, the predicted state of \( x \) equals the estimated state of \( x \): \( \hat{x}_{n,n-1} = \hat{x}_{n-1,n-1} \).

Based on the above, the estimate of the current state \( \hat{x}_{n,n} \), can be written as follows:

\[ \hat{x}_{n,n} = \hat{x}_{n,n-1} + \frac{1}{n} \left( z_{n} - \hat{x}_{n,n-1} \right) \]

The above equation is one of the five Kalman filter equations. It is called the State Update Equation. It means the following:

The factor \( \frac{1}{n} \) is specific to our example. We will discuss the vital role of this factor later, but right now, I would like to note that in "Kalman Filter language," this factor is called the Kalman Gain. It is denoted by \( K_{n} \). The subscript \( n \) indicates that the Kalman Gain can change with every iteration.

The discovery of \( K_{n} \) was one of Rudolf Kalman's significant contributions.

Before we get into the guts of the Kalman Filter, we use the Greek letter \( \alpha _{n} \) instead of \( K_{n} \).

So, the State Update Equation looks as follows:

\[ \hat{x}_{n,n}= \hat{x}_{n,n-1}+ \alpha _{n} \left( z_{n}-\hat{x}_{n,n-1} \right) \]

The term \( \left( z_{n}- \hat{x}_{n,n-1} \right) \) is the "measurement residual," also called innovation. The innovation contains new information.

In this example, \( \frac{1}{n} \) decreases as \( n \) increases. In the beginning, we don't have enough information about the current state; thus, the first estimation is based on the first measurement \( \frac{1}{n}|_{n=1} = 1 \). As we continue, each successive measurement has less weight in the estimation process, since \( \frac{1}{n} \) decreases. At some point, the contribution of the new measurements would become negligible.

Let's continue with the example. Before we make the first measurement, we can guess (or rough estimate) the gold bar weight simply by reading the stamp on the gold bar. It is called the Initial Guess, and it is our first estimate.

The Kalman Filter requires the initial guess as a preset, which can be very rough.

The following chart depicts the estimation algorithm that is used in this example.

Now we are ready to start the measurement and estimation process.

Our initial guess of the gold bar weight is 1000 grams. The initial guess is used only once for the filter initiation. Thus, it won't be required for successive iterations.

\[ \hat{x}_{0,0}=1000g \]

The weight of the gold bar is not supposed to change. Therefore, the dynamic model of the system is static. Our next state estimate (prediction) equals the initialization:

\[ \hat{x}_{1,0} = \hat{x}_{0,0}=1000g \]

Making the weight measurement with the scales:

\[ z_{1}= 1030g \]

Calculating the gain. In our example \( \alpha _{n}= \frac{1}{n} \) , thus:

\[ \alpha _{1}= \frac{1}{1}=1 \]

Calculating the current estimate using the State Update Equation:

\[ \hat{x}_{1,1}= \hat{x}_{1,0}+ \alpha _{1} \left( z_{1}- \hat{x}_{1,0} \right) =1000+1 \left( 1030-1000 \right) =1030g \]

The dynamic model of the system is static; thus, the weight of the gold bar is not supposed to change. Our next state estimate (prediction) equals to current state estimate:

\[ \hat{x}_{2,1}= \hat{x}_{1,1}=1030g \]

After a unit time delay, the predicted estimate from the previous iteration becomes the previous estimate in the current iteration:

\[ \hat{x}_{2,1}=1030g \]

Making the second measurement of the weight:

\[ z_{2}= 989g \]

Calculating the gain:

\[ \alpha _{2}= \frac{1}{2} \]

Calculating the current estimate:

\[ \hat{x}_{2,2}= \hat{x}_{2,1}+ \alpha _{2} \left( z_{2}- \hat{x}_{2,1} \right) =1030+\frac{1}{2} \left( 989-1030 \right) =1009.5g \]

\[ \hat{x}_{3,2}= \hat{x}_{2,2}=1009.5g \]

\[ z_{3}= 1017g~~~~~~~~~~~~~~~~~~~~~~~~~~ \alpha _{3}= \frac{1}{3} \] \[ \hat{x}_{3,3}=~ 1009.5+\frac{1}{3} \left( 1017-1009.5 \right) =1012g \] \[ \hat{x}_{4,3}=1012g \]

\[ z_{4}= 1009g~~~~~~~~~~~~~~~~~~~~~~~~~~ \alpha _{4}= \frac{1}{4} \] \[ \hat{x}_{4,4}= 1012+\frac{1}{4} \left( 1009-1012 \right) =1011.25g \] \[ \hat{x}_{5,4}=1011.25g \]

\[ z_{5}= 1013g~~~~~~~~~~~~~~~~~~~~~~~~~~ \alpha _{5}= \frac{1}{5} \] \[ \hat{x}_{5,5}= 1011.25+\frac{1}{5} \left( 1013-1011.25 \right) =1011.6g \] \[ \hat{x}_{6,5}=1011.6g \]

\[ z_{6}= 979g~~~~~~~~~~~~~~~~~~~~~~~~~~ \alpha _{6}= \frac{1}{6} \] \[ \hat{x}_{6,6}= 1011.6+\frac{1}{6} \left( 979-1011.6 \right) =1006.17g \] \[ \hat{x}_{7,6}=1006.17g \]

\[ z_{7}=1008g~~~~~~~~~~~~~~~~~~~~~~~~~~ \alpha _{7}= \frac{1}{7} \] \[ \hat{x}_{7,7}= 1006.17+\frac{1}{7} \left( 1008-1006.17 \right) =1006.43g \] \[ \hat{x}_{8,7}=1006.43g \]

\[ z_{8}=1042g~~~~~~~~~~~~~~~~~~~~~~~~~~ \alpha _{8}= \frac{1}{8} \] \[ \hat{x}_{8,8}= 1006.43+\frac{1}{8} \left( 1042-1006.43 \right) =1010.87g \] \[ \hat{x}_{9,8}=1010.87g \]

\[ z_{9}=1012g~~~~~~~~~~~~~~~~~~~~~~~~~~ \alpha _{9}= \frac{1}{9} \] \[ \hat{x}_{9,9}= 1010.87+\frac{1}{9} \left( 1012-1010.87 \right) =1011g \] \[ \hat{x}_{10,9}=1011g \]

\[ z_{10}=1011g~~~~~~~~~~~~~~~~~~~~~~~~~~ \alpha _{10}= \frac{1}{10} \] \[ \hat{x}_{10,10}= 1011+\frac{1}{10} \left( 1011-1011 \right) =1011g \] \[ \hat{x}_{11,10}=1011g \]

We can stop here. The gain decreases with each measurement. Therefore, the contribution of each successive measurement is lower than the contribution of the previous measurement. We get pretty close to the true weight, which is 1010g. If we were making more measurements, we would get closer to the true value.

The following table summarizes our measurements and estimates, and the chart compares the measured values, the estimates, and the true value.

\( n \) | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|---|

\( \alpha _{n} \) | \( 1 \) | \( \frac{1}{2} \) | \( \frac{1}{3} \) | \( \frac{1}{4} \) | \( \frac{1}{5} \) | \( \frac{1}{6} \) | \( \frac{1}{7} \) | \( \frac{1}{8} \) | \( \frac{1}{9} \) | \( \frac{1}{10} \) |

\( z_{n} \) | 1030 | 989 | 1017 | 1009 | 1013 | 979 | 1008 | 1042 | 1012 | 1011 |

\( \hat{x}_{n,n} \) | 1030 | 1009.5 | 1012 | 1011.25 | 1011.6 | 1006.17 | 1006.43 | 1010.87 | 1011 | 1011 |

\( \hat{x}_{n+1,n} \) | 1030 | 1009.5 | 1012 | 1011.25 | 1011.6 | 1006.17 | 1006.43 | 1010.87 | 1011 | 1011 |

The estimation algorithm has a smoothing effect on the measurements and converges toward the true value.

In this example, we've developed a simple estimation algorithm for a static system. We have also derived the state update equation, one of the five Kalman Filter equations.

It is time to examine a dynamic system that changes its state over time. In this example, we track a constant-velocity aircraft in one dimension using the α-β filter.

Let us assume a one-dimensional world. We assume an aircraft that is moving radially away from the radar (or towards the radar). In the one-dimensional world, the angle to the radar is constant, and the aircraft altitude is constant, as shown in the following figure.

\( x_{n} \) represents the range to the aircraft at time \( n \). The aircraft velocity can be approximated using the range differentiation method - the change in the measured range with time.

Thus, the velocity is a derivative of the range:

\[ \dot{x}= v= \frac{dx}{dt} \]

The radar sends a track beam in the direction of the target at a constant rate. The track-to-track interval is \( \Delta t \).

Two motion equations describe the system dynamic model for constant velocity motion:

\[ x_{n+1}= x_{n}+ \Delta t\dot{x}_{n} \]
\[ \dot{x}_{n+1}= \dot{x}_{n} \]

According to these equations, the aircraft range at the next track cycle equals the range at the current track cycle plus the target velocity multiplied by the track-to-track interval. Since we assume constant velocity in this example, the velocity at the next cycle equals the velocity at the current cycle.

The above system of equations is called a State Extrapolation Equation (also called a Transition Equation or a Prediction Equation) and is also one of the five Kalman filter equations. This system of equations extrapolates the current state to the next state (prediction).

We have already used the State Extrapolation Equation in the previous example, where we assumed that the weight at the next state equals the weight at the current state.

The State Extrapolation Equations depend on the system dynamics and differ from example to example.

There is a general form of the State Extrapolation Equation in matrix notation. We learn it later.

In this example, we use the above equations specific to our case.

- State Update Equation
- State Extrapolation Equation

Now we are going to modify the State Update Equation for our example.

Let the radar track-to-track ( \( \Delta t \) ) period be 5 seconds. Assume that at time \( n - 1 \) the estimated range of the UAV (Unmanned Aerial Vehicle) is 30,000m, and the estimated UAV velocity is 40m/s.

Using the State Extrapolation Equations, we can predict the target position at time \( n \):

\[ \hat{x}_{n,n-1}= \hat{x}_{n-1,n-1}+ \Delta t\hat{\dot{x}}_{n-1,n-1}=30000+5\ast40=30200m \]

The target velocity prediction for time \( n \):

\[ \hat{\dot{x}}_{n,n-1}= \hat{\dot{x}}_{n-1,n-1}=40m/s \]

However, at time \( n \), the radar measures range ( \( z_{n} \) ) of 30,110m and not 30,200m as expected. There is a 90m gap between the expected (predicted) range and the measured range. There are two possible reasons for this gap:

- The radar measurements are not precise
- The aircraft velocity has changed. The new aircraft velocity is: \( \frac{30,110-30,000}{5}=22m/s \)

Which of the two statements is true?

Let us write down the State Update Equation for the velocity:

The value of the factor \( \beta \) depends on the precision level of the radar. Suppose that the \( 1 \sigma \) precision of the radar is 20m. The 90 meters gap between the predicted and measured ranges most likely results from a change in the aircraft velocity. We should set the \( \beta \) factor to a high value in this case. If we set \( \beta \) = 0.9, then the estimated velocity would be:

\[ \hat{\dot{x}}_{n,n}= \hat{\dot{x}}_{n,n-1}+ \beta \left( \frac{z_{n}-\hat{x}_{n,n-1}}{ \Delta t} \right) =40+0.9 \left( \frac{30110-30200}{5} \right) =23.8m/s \]

On the other hand, suppose that the \( 1 \sigma \) precision of the radar is 150m. Then the 90 meters gap probably results from the radar measurement error. We should set the \( \beta \) factor to a low value in this case. If we set \( \beta \) = 0.1, then the estimated velocity would be:

\[ \hat{\dot{x}}_{n,n}= \hat{\dot{x}}_{n,n-1}+ \beta \left( \frac{z_{n}-\hat{x}_{n,n-1}}{ \Delta t} \right) =40+0.1 \left( \frac{30110-30200}{5} \right) =38.2m/s \]

If the aircraft velocity has changed from 40m/s to 22m/s, we see this after 10 track cycles (running the above equation 10 times with \( \beta \) = 0.1). If the gap has been caused by measurement error, then the successive measurements would be in front or behind the predicted positions. Thus on average, the target velocity would not change.

The State Update Equation for the aircraft position is similar to the equation that was derived in the previous example:

\[ \hat{x}_{n,n}= \hat{x}_{n,n-1}+ \alpha \left( z_{n}- \hat{x}_{n,n-1} \right) \]

Unlike the previous example, where the \( \alpha \) factor is recalculated in each iteration ( \( \alpha _{n}= \frac{1}{N} \) ), the \( \alpha \) factor is constant in this example.

The magnitude of the \( \alpha \) factor depends on the radar measurement precision. For high precision-radar, we should choose high \( \alpha \), giving high weight to the measurements. If \( \alpha = 1 \), then the estimated range equals the measured range:

\[ \hat{x}_{n,n}= \hat{x}_{n,n-1}+ 1 \left( z_{n}- \hat{x}_{n,n-1} \right) = z_{n} \]

If \( \alpha =0 \) , then the measurement has no meaning:

\[ \hat{x}_{n,n} = \hat{x}_{n,n-1}+ 0 \left( z_{n}- \hat{x}_{n,n-1} \right) = \hat{x}_{n,n-1} \]

So, we have derived a system of equations that composes the State Update Equation for the radar tracker. They are also called \( \alpha - \beta \) track update equations or \( \alpha - \beta \) track filtering equations.

The Update State Equation for position:

\[ \hat{x}_{n,n} = \hat{x}_{n,n-1}+ \alpha \left( z_{n}- \hat{x}_{n,n-1} \right) \]
The Update State Equation for velocity:

The following chart depicts the estimation algorithm that is used in this example.

Unlike the previous example, the Gain values \( \alpha \) and \( \beta \) are given for this example. In the Kalman Filter, the \( \alpha \) and \( \beta \) are replaced by Kalman Gain, which is calculated at each iteration, but we learn it later.

Now we are ready to start a numerical example.

Consider an aircraft that is moving radially away from the radar (or towards the radar) in a one-dimensional world.

The \( \alpha - \beta \) filter parameters are:

- \( \alpha =0.2 \)
- \( \beta =0.1 \)

The track-to-track interval is 5 seconds.

The initial conditions for the time \( n=0 \) are given:

\[ \hat{x}_{0,0}=30000m \] \[ \hat{\dot{x}}_{0,0}=40m/s \]

The initial guess should be extrapolated to the first cycle ( \( n=1 \) ) using the State Extrapolation Equations:

\[ \hat{x}_{n+1,n}= \hat{x}_{n,n}+ \Delta t\hat{\dot{x}}_{n,n} \rightarrow \hat{x}_{1,0}= \hat{x}_{0,0}+ \Delta t\hat{\dot{x}}_{0,0} =30000+5 \times 40=30200m \] \[ \hat{\dot{x}}_{n+1,n}= \hat{\dot{x}}_{n,n} \rightarrow \hat{\dot{x}}_{1,0}= \hat{\dot{x}}_{0,0} =40m/s \]

In the first cycle ( \( n=1 \) ), the initial guess is the previous estimate:

\[ \hat{x}_{n,n-1} = \hat{x}_{1,0}=30200m \] \[ \hat{\dot{x}}_{n,n-1} = \hat{\dot{x}}_{1,0}=40m/s \]

The radar measures the aircraft range:

\[ z_{1}= 30110m \]

Calculating the current estimate using the State Update Equation:

\[ \hat{x}_{1,1} = \hat{x}_{1,0}+ \alpha \left( z_{1}- \hat{x}_{1,0} \right) =30200+0.2 \left( 30110-30200 \right) =30182m \] \[ \hat{\dot{x}}_{1,1}= \hat{\dot{x}}_{1,0}+ \beta \left( \frac{z_{1}-\hat{x}_{1,0}}{ \Delta t} \right) = 40+0.1 \left( \frac{30110-30200}{5} \right) =38.2m/s \]

Calculating the next state estimate using the State Extrapolation Equations:

\[ \hat{x}_{2,1}= \hat{x}_{1,1}+ \Delta t\hat{\dot{x}}_{1,1} =30182+5 \times 38.2=30373m \] \[ \hat{\dot{x}}_{2,1}= \hat{\dot{x}}_{1,1} =38.2m/s \]

After a unit time delay, the predicted estimate from the previous iteration becomes the previous estimate in the current iteration:

\[ \hat{x}_{2,1}=30373m \] \[ \hat{\dot{x}}_{2,1}= 38.2m/s \]

The radar measures the aircraft range:

\[ z_{2}= 30265m \]

Calculating the current estimate using the State Update Equation:

\[ \hat{x}_{2,2} = \hat{x}_{2,1}+ \alpha \left( z_{2}- \hat{x}_{2,1} \right) =30373+0.2 \left( 30265-30373 \right) =30351.4m \] \[ \hat{\dot{x}}_{2,2}= \hat{\dot{x}}_{2,1}+ \beta \left( \frac{z_{2}-\hat{x}_{2,1}}{ \Delta t} \right) = 38.2+0.1 \left( \frac{30265-30373}{5} \right) =36m/s \]

Calculating the next state estimate using the State Extrapolation Equations:

\[ \hat{x}_{3,2}= \hat{x}_{2,2}+ \Delta t\hat{\dot{x}}_{2,2} =30351.4+5 \times 36=30531.6m \] \[ \hat{\dot{x}}_{3,2}= \hat{\dot{x}}_{2,2} =36m/s \]

\[ z_{3}= 30740 \] \[ \hat{x}_{3,3}= 30531.6+0.2 \left( 30740 -30531.6 \right) =30573.3m \] \[ \hat{\dot{x}}_{3,3}= 36+0.1 \left( \frac{30740 -30531.6}{5} \right) =40.2m/s \] \[ \hat{x}_{4,3}= 30573.3+5 \times 40.2=30774.3m \] \[ \hat{\dot{x}}_{4,3}= 40.2m/s \]

\[ z_{4}= 30750 \] \[ \hat{x}_{4,4}= 30774.3+0.2 \left( 30750-30774.3 \right) =30769.5m \] \[ \hat{\dot{x}}_{4,4}= 40.2+0.1 \left( \frac{30750-30774.3}{5} \right) =39.7m/s \] \[ \hat{x}_{5,4}= 30769.5+5 \times 39.7=30968.1m \] \[ \hat{\dot{x}}_{5,4}= 39.7m/s \]

\[ z_{5}= 31135 \] \[ \hat{x}_{5,5}= 30968.1+0.2 \left( 31135 -30968.1 \right) =31001.5m \] \[ \hat{\dot{x}}_{5,5}= 39.7+0.1 \left( \frac{31135 -30968.1}{5} \right) =43.1m/s \] \[ \hat{x}_{6,5}= 31001.5+5 \times 43.1=31216.8m \] \[ \hat{\dot{x}}_{6,5}= 43.1m/s \]

\[ z_{6}= 31015 \] \[ \hat{x}_{6,6}= 31216.8+0.2 \left( 31015 -31216.8 \right) =31176.4m \] \[ \hat{\dot{x}}_{6,6}= 43.1+0.1 \left( \frac{31015 -31216.8}{5} \right) =39m/s \] \[ \hat{x}_{7,6}= 31176.4+5 \times 39=31371.5m \] \[ \hat{\dot{x}}_{7,6}= 39m/s \]

\[ z_{7}= 31180 \] \[ \hat{x}_{7,7}= 31371.5+0.2 \left( 31180 -31371.5 \right) =31333.2m \] \[ \hat{\dot{x}}_{7,7}= 39+0.1 \left( \frac{31180 -31371.5}{5} \right) =35.2m/s \] \[ \hat{x}_{8,7}= 31333.2+5 \times 35.2=31509.2m \] \[ \hat{\dot{x}}_{8,7}= 35.2m/s \]

\[ z_{8}= 31610 \] \[ \hat{x}_{8,8}= 31509.2+0.2 \left( 31610 -31509.2 \right) =31529.4m \] \[ \hat{\dot{x}}_{8,8}= 35.2+0.1 \left( \frac{31610 -31509.2}{5} \right) =37.2m/s \] \[ \hat{x}_{9,8}= 31529.4+5 \times 37.2=31715.4m \] \[ \hat{\dot{x}}_{9,8}= 37.2m/s \]

\[ z_{9}= 31960 \] \[ \hat{x}_{9,9}= 31715.4+0.2 \left( 31960 -31715.4 \right) =31764.3m \] \[ \hat{\dot{x}}_{9,9}= 37.2+0.1 \left( \frac{31960 -31715.4}{5} \right) =42.1m/s \] \[ \hat{x}_{10,9}= 31764.3+5 \times 42.1=31974.8m \] \[ \hat{\dot{x}}_{10,9}=42.1m/s \]

\[ z_{10}= 31865 \] \[ \hat{x}_{10,10}= 31974.8+0.2 \left( 31865 -31974.8 \right) =31952.9m \] \[ \hat{\dot{x}}_{10,10}= 42.1+0.1 \left( \frac{31865 -31974.8}{5} \right) =39.9m/s \] \[ \hat{x}_{11,10}= 31952.9+5 \times 39.9=32152.4m \] \[ \hat{\dot{x}}_{11,10}= 39.9m/s \]

The following table summarizes our measurements and estimates.

\( n \) | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|---|

\( z_{n} \) | 30110 | 30265 | 30740 | 30750 | 31135 | 31015 | 31180 | 31610 | 31960 | 31865 |

\( \hat{x}_{n,n} \) | 30182 | 30351.4 | 30573.3 | 30769.5 | 31001.5 | 31176.4 | 31333.2 | 31529.4 | 31764.3 | 31952.9 |

\( \dot{\hat{x}}_{n,n} \) | 38.2 | 36 | 40.2 | 39.7 | 43.1 | 39 | 35.2 | 37.2 | 42.1 | 39.9 |

\( \hat{x}_{n+1,n} \) | 30373 | 30531.6 | 30774.3 | 30968.1 | 31216.8 | 31371.5 | 31509.2 | 31715.4 | 31974.8 | 32152.4 |

\( \dot{\hat{x}}_{n+1,n} \) | 38.2 | 36.0 | 40.2 | 39.7 | 43.1 | 39 | 35.2 | 37.2 | 42.1 | 39.9 |

The following chart compares the true values, measured values, and estimates.

Our estimation algorithm has a smoothing effect on the measurements and converges toward the true value.

The following chart depicts the true, measured, and estimated values for \( \alpha = 0.8 \) and \( \beta = 0.5 \).

The "smoothing" degree of this filter is much lower. The "current estimate" is very close to the measured values, and predicted estimate errors are relatively high.

So, shall we always choose low values for \( \alpha \) and \( \beta \) ?

The answer is NO. The value of \( \alpha \) and \( \beta \) should depend on the measurement precision. If we use high-precision equipment, like laser radar, we would prefer a high \( \alpha \) and \( \beta \) that follow measurements. In this case, the filter would quickly respond to a velocity change of the target. On the other hand, if measurement precision is low, we prefer low \( \alpha \) and \( \beta \). In this case, the filter smoothes the uncertainty (errors) in the measurements. However, the filter reaction to target velocity changes would be much slower.

We've derived the \( \alpha - \beta \) filter state update equation. We've also learned the State Extrapolation Equation. We've developed an estimation algorithm for a one-dimensional dynamic system based on the \( \alpha - \beta \) filter and solved a numerical example for a constant velocity target.

In this example, we track an aircraft moving with constant acceleration with the \( \alpha - \beta \) filter.

In the previous example, we tracked a UAV moving at a constant velocity of 40m/s. The following chart depicts the target range and velocity vs. time.

As you can see, the range function is linear.

Now let's examine a fighter aircraft. This aircraft moves at a constant velocity of 50m/s for 15 seconds. Then the aircraft accelerates with a constant acceleration of 8m/s^{2} for another 35 seconds.

The following chart depicts the target range, velocity and acceleration vs. time.

As you can see from the chart, the aircraft velocity is constant for the first 15 seconds and then grows linearly. The range grows linearly for the first 15 seconds and then grows quadratically.

We are going to track this aircraft with the \( \alpha - \beta \) filter that was used in the previous example.

Consider an aircraft moving radially toward (or away from) a radar in a one-dimensional world.

The \( \alpha - \beta \) filter parameters are:

- \( \alpha =0.2 \)
- \( \beta =0.1 \)

The track-to-track interval is 5 seconds.

The initial conditions for the time \( n=0 \) are given:

\[ \hat{x}_{0,0}=30000m \] \[ \hat{\dot{x}}_{0,0}=50m/s \]

The initial guess shall be extrapolated to the first cycle ( \( n=1 \) ) using the State Extrapolation Equations:

\[ \hat{x}_{n+1,n}= \hat{x}_{n,n}+ \Delta t\hat{\dot{x}}_{n,n} \rightarrow \hat{x}_{1,0}= \hat{x}_{0,0}+ \Delta t\hat{\dot{x}}_{0,0} =30000+5 \times 50=30250m \] \[ \hat{\dot{x}}_{n+1,n}= \hat{\dot{x}}_{n,n} \rightarrow \hat{\dot{x}}_{1,0}= \hat{\dot{x}}_{0,0} =50m/s \]

All filter iterations are summarized in the following table:

\( n \) | \( z_{n} \) | Current state estimates ( \( \hat{x}_{n,n} \), \( \hat{\dot{x}}_{n,n} \) ) | Prediction ( \( \hat{x}_{n+1,n} \), \( \hat{\dot{x}}_{n+1,n} \) ) |
---|---|---|---|

1 | \( 30221m \) | \[ \hat{x}_{1,1} = 30250+0.2 \left( 30221- 30250 \right) = 30244.2m \] \[ \hat{\dot{x}}_{1,1}= 50+0.1 \left( \frac{30221 -30250}{5} \right) = 49.42m/s \] | \[ \hat{x}_{2,1} = 30244.2 + 5 \times 49.42 = 30491.3m \] \[ \hat{\dot{x}}_{2,1}= 49.42m/s \] |

2 | \( 30453m \) | \[ \hat{x}_{2,2} = 30491.3 + 0.2 \left( 30453 - 30491.3 \right) = 30483.64m \] \[ \hat{\dot{x}}_{2,2} = 49.42 + 0.1 \left( \frac{30453 - 30491.3}{5} \right) = 48.65m/s \] | \[ \hat{x}_{3,2} = 30483.64 + 5 \times 48.65 = 30726.9m \] \[ \hat{\dot{x}}_{3,2} = 48.65m/s \] |

3 | \( 30906m \) | \[ \hat{x}_{3,3} = 30726.9 + 0.2 \left( 30906 - 30726.9 \right) = 30762.7m \] \[ \hat{\dot{x}}_{3,3}= 48.65 + 0.1 \left( \frac{30906 - 30726.9}{5} \right) = 52.24m/s \] | \[ \hat{x}_{4,3} = 30762.7 + 5 \times 52.24 = 31023.9m \] \[ \hat{\dot{x}}_{4,3} = 52.24m/s \] |

4 | \( 30999m \) | \[ \hat{x}_{4,4} = 31023.9 + 0.2 \left( 30999 - 31023.9 \right) = 31018.93m \] \[ \hat{\dot{x}}_{4,4}= 52.24 + 0.1 \left( \frac{30999 - 31023.9}{5} \right) = 51.74m/s \] | \[ \hat{x}_{5,4} = 31018.93 + 5 \times 51.74 = 31277.6m \] \[ \hat{\dot{x}}_{5,4} = 51.74m/s \] |

5 | \( 31368m \) | \[ \hat{x}_{5,5} = 31277.6 + 0.2 \left( 31368 - 31277.6 \right) = 31295.7m \] \[ \hat{\dot{x}}_{5,5}= 51.74 + 0.1 \left( \frac{31368 - 31277.6}{5} \right) = 53.55m/s \] | \[ \hat{x}_{6,5} = 31295.7 + 5 \times 53.55 = 31563.4m \] \[ \hat{\dot{x}}_{6,5} = 53.55m/s \] |

6 | \( 31978m \) | \[ \hat{x}_{6,6} = 31563.4 + 0.2 \left( 31978 - 31563.4 \right) = 31646.3m \] \[ \hat{\dot{x}}_{6,6}= 53.55 + 0.1 \left( \frac{31978 - 31563.4}{5} \right) = 61.84m/s \] | \[ \hat{x}_{7,6} = 31646.3 + 5 \times 61.84 = 31955.5m \] \[ \hat{\dot{x}}_{7,6}= 61.84m/s \] |

7 | \( 32526m \) | \[ \hat{x}_{7,7} = 31955.5 + 0.2 \left( 32526 - 31955.5 \right) = 32069.6m \] \[ \hat{\dot{x}}_{7,7}= 61.84 + 0.1 \left( \frac{32526 - 31955.5}{5} \right) = 73.25m/s \] | \[ \hat{x}_{8,7} = 32069.6 + 5 \times 73.25 = 32435.85m \] \[ \hat{\dot{x}}_{8,7} = 73.25m/s \] |

8 | \( 33379m \) | \[ \hat{x}_{8,8} = 32435.85 + 0.2 \left( 33379 - 32435.85 \right) = 32624.5m \] \[ \hat{\dot{x}}_{8,8}= 73.25 + 0.1 \left( \frac{33379 - 32435.85}{5} \right) = 92.1m/s \] | \[ \hat{x}_{9,8} = 32624.5 + 5 \times 92.1 = 33085m \] \[ \hat{\dot{x}}_{9,8} = 92.1m/s \] |

9 | \( 34698m \) | \[ \hat{x}_{9,9} = 33085 + 0.2 \left( 34698 - 33085 \right) = 33407.6m \] \[ \hat{\dot{x}}_{9,9}= 92.1 + 0.1 \left( \frac{34698 - 33085}{5} \right) = 124.37m/s \] | \[ \hat{x}_{10,9} = 33407.6 + 5 \times 124.37 = 34029.5m \] \[ \hat{\dot{x}}_{10,9} = 124.37m/s \] |

10 | \( 36275m \) | \[ \hat{x}_{10,10} = 34029.5 + 0.2 \left( 36275 - 34029.5 \right) = 34478.6m \] \[ \hat{\dot{x}}_{10,10} = 124.37 + 0.1 \left( \frac{36275 - 34029.5}{5} \right) = 169.28m/s \] | \[ \hat{x}_{11,10} = 34478.6 + 5 \times 169.28 = 35325m \] \[ \hat{\dot{x}}_{11,10} = 169.28m/s \] |

The following charts compare the true, measured, and estimated values for the range and velocity for the first 75 seconds.

You can see a constant gap between true or measured values and estimates. The gap is called a lag error. Other common names for the lag error are:

- Dynamic error
- Systematic error
- Bias error
- Truncation error

The lag error appears during the acceleration period. After the acceleration period, the filter closes the gap and converges toward the true value. However, a significant lag error can result in the target loss. The lag error is unacceptable in certain applications, such as missile guidance or air defense.

We've examined the lag error caused by constant acceleration.

In this example, we track an aircraft using the \( \alpha -\beta -\gamma \) filter. The aircraft is moving with a constant acceleration.

The \( \alpha -\beta -\gamma \) filter (sometimes called g-h-k filter) considers a target acceleration. Thus, the State Extrapolation Equations become:

Where \( \ddot{x}_{n} \) is acceleration (the second derivative of \( x \) ).

The State Update Equations become:

Let's take the scenario from the previous example: an aircraft that moves with a constant velocity of 50m/s for 15 seconds and then accelerates with a constant acceleration of 8m/s^{2} for another 35 seconds.

The \( \alpha \) - \( \beta \) -\( \gamma \) filter parameters are:

- \( \alpha =0.5 \)
- \( \beta =0.4 \)
- \( \gamma =0.1 \)

The track-to-track interval is 5 seconds.

The initial conditions for the time \( n=0 \) are given:

\[ \hat{x}_{0,0} = 30000m \] \[ \hat{\dot{x}}_{0,0} = 50m/s \] \[ \hat{\ddot{x}}_{0,0} = 0m/s^{2} \]

The initial guess should be extrapolated to the first cycle ( \( n=1 \) ) using the State Extrapolation Equations:

\[ \hat{x}_{n+1,n}= \hat{x}_{n,n}+ \hat{\dot{x}}_{n,n} \Delta t+ \hat{\ddot{x}}_{n,n}\frac{ \Delta t^{2}}{2}~~ \rightarrow \hat{x}_{1,0}= \hat{x}_{0,0}+ \hat{\dot{x}}_{0,0} \Delta t+ \hat{\ddot{x}}_{0,0}\frac{ \Delta t^{2}}{2}= 30000+ 50 \times 5+ 0 \times \frac{5^{2}}{2}=30250m \] \[ \hat{\dot{x}}_{n+1,n}= \hat{\dot{x}}_{n,n}+ \hat{\ddot{x}}_{n,n} \Delta t~ \rightarrow \hat{\dot{x}}_{1,0}= \hat{\dot{x}}_{0,0} + \hat{\ddot{x}}_{0,0} \Delta t =50+0 \times 5=50m/s \] \[ \hat{\ddot{x}}_{n+1,n}= \hat{\ddot{x}}_{n,n} \rightarrow ~ \hat{\ddot{x}}_{1,0}= \hat{\ddot{x}}_{0,0}= 0m/s^{2} \]

In the first cycle ( \( n=1 \) ), the initial guess is the previous estimate:

\[ \hat{x}_{n,n-1}= \hat{x}_{1,0}=30250m \] \[ \hat{\dot{x}}_{n,n-1}= \hat{\dot{x}}_{1,0}=50m/s \] \[ \hat{\ddot{x}}_{n,n-1}= \hat{\ddot{x}}_{1,0}= 0m/s^{2} \]

The radar measures the aircraft range:

\[ z_{1}= 30221m \]

Calculating the current estimate using the State Update Equation:

\[ \hat{x}_{1,1}= \hat{x}_{1,0}+ \alpha \left( z_{1}- \hat{x}_{1,0} \right) =30250+0.5 \left( 30221-30250 \right) = 30235.5m \] \[ \hat{\dot{x}}_{1,1}= \hat{\dot{x}}_{1,0}+ \beta \left( \frac{z_{1}-\hat{x}_{1,0}}{ \Delta t} \right) = 50+0.4 \left( \frac{30221-30250}{5} \right) = 47.68m/s \] \[ \hat{\ddot{x}}_{1,1}= \hat{\ddot{x}}_{1,0}+ \gamma \left( \frac{z_{1}-\hat{x}_{1,0}}{0.5 \Delta t^{2}} \right) = 0+0.1 \left( \frac{30221-30250}{0.5 \times 5^{2}} \right) = -0.23m/s^{2} \]

Calculating the next state estimate using the State Extrapolation Equations:

\[ \hat{x}_{2,1}= \hat{x}_{1,1}+ \hat{\dot{x}}_{1,1} \Delta t+ \hat{\ddot{x}}_{1,1}\frac{ \Delta t^{2}}{2}= 30235.5 + 47.68 \times 5+ \left( -0.23 \right) \times \frac{5^{2}}{2}=30471m \] \[ \hat{\dot{x}}_{2,1}=\hat{\dot{x}}_{1,1} + \hat{\ddot{x}}_{1,1} \Delta t = 47.68 + \left( -0.23 \right) \times 5 = 46.52m/s \] \[ \hat{\ddot{x}}_{2,1}= \hat{\ddot{x}}_{1,1} = -0.23m/s^{2} \]

After a unit time delay, the predicted estimate from the foregoing iteration becomes the previous estimate in the current iteration.

\[ \hat{x}_{2,1} = 30471m \] \[ \hat{\dot{x}}_{2,1}= 46.52m/s \] \[ \hat{\ddot{x}}_{2,1}= -0.23m/s^{2} \]

The radar measures the aircraft range:

\[ z_{2}= 30453m \]

Calculating the current estimate using the State Update Equation:

\[ \hat{x}_{2,2}= \hat{x}_{2,1}+ \alpha \left( z_{2}- \hat{x}_{2,1} \right) =30471+0.5 \left( 30453-30471 \right) = 30462m \] \[ \hat{\dot{x}}_{2,2}= \hat{\dot{x}}_{2,1}+ \beta \left( \frac{z_{2}-\hat{x}_{2,1}}{ \Delta t} \right) = 46.52 + 0.4 \left( \frac{30453-30471}{5} \right) = 45.08m/s \] \[ \hat{\ddot{x}}_{2,2}= \hat{\ddot{x}}_{2,1}+ \gamma \left( \frac{z_{2}-\hat{x}_{2,1}}{0.5 \Delta t^{2}} \right) = -0.23 + 0.1 \left( \frac{30453-30471}{0.5 \times 5^{2}} \right) = -0.38m/s^{2} \]

Calculating the next state estimate using the State Extrapolation Equations:

\[ \hat{x}_{3,2}= \hat{x}_{2,2}+ \hat{\dot{x}}_{2,2} \Delta t+ \hat{\ddot{x}}_{2,2}\frac{ \Delta t^{2}}{2}=30462 + 45.08 \times 5+ \left( -0.38 \right) \times \frac{5^{2}}{2} = 30682.7m \] \[ \hat{\dot{x}}_{3,2}=\hat{\dot{x}}_{2,2} + \hat{\ddot{x}}_{2,2} \Delta t = 45.08 + \left( -0.38 \right) \times 5 = 43.2m/s \] \[ \hat{\ddot{x}}_{3,2}= \hat{\ddot{x}}_{2,2}= -0.38m/s^{2} \]

The calculations for the successive iterations are summarized in the following table:

\( n \) | \( z_{n} \) | Current state estimates ( \( \hat{x}_{n,n} \), \( \hat{\dot{x}}_{n,n} \), \( \hat{\ddot{x}}_{n,n} \) ) | Prediction ( \( \hat{x}_{n+1,n} \), \( \hat{\dot{x}}_{n+1,n} \), \( \hat{\ddot{x}}_{n+1,n} \) ) |
---|---|---|---|

3 | \( 30906m \) | \[ \hat{x}_{3,3} = 30682.7 + 0.5 \left( 30906 - 30682.7 \right) = 30794.35m \] \[ \hat{\dot{x}}_{3,3}= 43.2+0.4 \left( \frac{30906 -30682.7}{5} \right) = 61.06m/s \] \[ \hat{\ddot{x}}_{3,3}= -0.38+0.1 \left( \frac{30906 -30682.7}{0.5 \times 5^{2}} \right) = 1.41m/s^{2} \] | \[ \hat{x}_{4,3} = 30794.35 + 5 \times 61.06 + 1.41 \times \frac{5^{2}}{2} = 31117.3m \] \[ \hat{\dot{x}}_{4,3} = 61.06 + 1.41 \times 5 = 68.1m/s \] \[ \hat{\ddot{x}}_{4,3} = 1.41m/s^{2} \] |

4 | \( 30999m \) | \[ \hat{x}_{4,4}= 31117.3 + 0.5 \left( 30999 - 31117.3 \right) = 31058.15m \] \[ \hat{\dot{x}}_{4,4}= 68.1 + 0.4 \left( \frac{30999 - 31117.3}{5} \right) = 58.65m/s \] \[ \hat{\ddot{x}}_{4,4}= 1.41 + 0.1 \left( \frac{30999 - 31117.3}{0.5 \times 5^{2}} \right) = 0.46m/s^{2} \] | \[ \hat{x}_{5,4}= 31058.15 + 5 \times 58.65 + 0.46 \times \frac{5^{2}}{2} = 31357.2m \] \[ \hat{\dot{x}}_{5,4}= 58.65 + 0.46 \times 5 = 61m/s \] \[ \hat{\ddot{x}}_{5,4}= 0.46m/s^{2} \] |

5 | \( 31368m \) | \[ \hat{x}_{5,5}= 31357.2 + 0.5 \left( 31368 - 31357.2 \right) = 31362.6m \] \[ \hat{\dot{x}}_{5,5}= 61 + 0.4 \left( \frac{31368 - 31357.2}{5} \right) = 61.8m/s \] \[ \hat{\ddot{x}}_{5,5}= 0.46 + 0.1 \left( \frac{31368 - 31357.2}{0.5 \times 5^{2}} \right) = 0.55m/s^{2} \] | \[ \hat{x}_{6,5}= 31362.6 + 5 \times 61.8 + 0.55 \times \frac{5^{2}}{2} = 31678.7m \] \[ \hat{\dot{x}}_{6,5}= 61.8 + 0.55 \times 5 = 64.6m/s \] \[ \hat{\ddot{x}}_{6,5}= 0.55m/s^{2} \] |

6 | \( 31978m \) | \[ \hat{x}_{6,6}= 31678.7 + 0.5 \left( 31978 - 31678.7 \right) = 31828.3m \] \[ \hat{\dot{x}}_{6,6}= 64.6 + 0.4 \left( \frac{31978 - 31678.7}{5} \right) = 88.5m/s \] \[ \hat{\ddot{x}}_{6,6}= 0.55 + 0.1 \left( \frac{31978 - 31678.7}{0.5 \times 5^{2}} \right) = 2.95m/s^{2} \] | \[ \hat{x}_{7,6} = 31828.3 + 5 \times 88.5 + 2.95 \times \frac{5^{2}}{2} = 32307.8m \] \[ \hat{\dot{x}}_{7,6} = 88.5 + 2.95 \times 5 = 103.26m/s \] \[ \hat{\ddot{x}}_{7,6} = 2.95m/s^{2} \] |

7 | \( 32526m \) | \[ \hat{x}_{7,7}= 32307.8 + 0.5 \left( 32526 - 32307.8 \right) = 32416.9m \] \[ \hat{\dot{x}}_{7,7}= 103.26 + 0.4 \left( \frac{32526 - 32307.8}{5} \right) = 120.7m/s \] \[ \hat{\ddot{x}}_{7,7}= 2.95 + 0.1 \left( \frac{32526 - 32307.8}{0.5 \times 5^{2}} \right) = 4.7m/s^{2} \] | \[ \hat{x}_{7,6} = 32416.9 + 5 \times 120.7 + 4.7 \times \frac{5^{2}}{2} = 33079.1m \] \[ \hat{\dot{x}}_{7,6} = 120.7 + 4.7 \times 5 = 144.17m/s \] \[ \hat{\ddot{x}}_{7,6} = 4.7m/s^{2} \] |

8 | \( 33379m \) | \[ \hat{x}_{8,8} = 33079.1 + 0.5 \left( 33379 - 33079.1 \right) = 33229.05m \] \[ \hat{\dot{x}}_{8,8} = 144.17 + 0.4 \left( \frac{33379 - 33079.1}{5} \right) = 168.2m/s \] \[ \hat{\ddot{x}}_{8,8} = 4.7 + 0.1 \left( \frac{33379 - 33079.1}{0.5 \times 5^{2}} \right) = 7.1m/s^{2} \] | \[ \hat{x}_{9,8} = 33229.05 + 5 \times 168.2 + 7.1 \times \frac{5^{2}}{2} = 34158.5m \] \[ \hat{\dot{x}}_{9,8} = 168.2 + 7.1 \times 5 = 203.6m/s \] \[ \hat{\ddot{x}}_{9,8} = 7.1m/s^{2} \] |

9 | \( 34698m \) | \[ \hat{x}_{9,9}= 34158.5 + 0.5 \left( 34698 - 34158.5 \right) = 34428.2m \] \[ \hat{\dot{x}}_{9,9}= 203.6 + 0.4 \left( \frac{34698 - 34158.5}{5} \right) = 246.8m/s \] \[ \hat{\ddot{x}}_{9,9}= 7.1 + 0.1 \left( \frac{34698 - 34158.5}{0.5 \times 5^{2}} \right) = 11.4m/s^{2} \] | \[ \hat{x}_{10,9}= 34428.2 + 5 \times 246.8 + 11.4 \times \frac{5^{2}}{2} = 35804.7m \] \[ \hat{\dot{x}}_{10,9}= 246.8 + 11.4 \times 5 = 303.8m/s \] \[ \hat{\ddot{x}}_{10,9}= 11.4m/s^{2} \] |

10 | \( 36275m \) | \[ \hat{x}_{10,10} = 35804.7 + 0.5 \left( 36275 - 35804.7 \right) = 36039.8m \] \[ \hat{\dot{x}}_{10,10} = 303.8 + 0.4 \left( \frac{36275 - 35804.7}{5} \right) = 341.4m/s \] \[ \hat{\ddot{x}}_{10,10} = 11.4 + 0.1 \left( \frac{36275 - 35804.7}{0.5 \times 5^{2}} \right) = 15.2m/s^{2} \] | \[ \hat{x}_{11,10} = 36039.8 + 5 \times 341.4 + 15.2 \times \frac{5^{2}}{2} = 37936.6m \] \[ \hat{\dot{x}}_{11,10} = 341.4 + 15.2 \times 5 = 417.3m/s \] \[ \hat{\ddot{x}}_{11,10} = 15.2m/s^{2} \] |

The following charts compare the true, measured, and estimated values for the range, velocity, and acceleration for the first 50 seconds.

As you can see, the \( \alpha -\beta -\gamma \) filter with dynamic model equations that include acceleration can track the target with constant acceleration and eliminate the lag error.

But what happens in the case of a maneuvering target? The target can suddenly change the flight direction by making a maneuver. The dynamic model of the target can also include a jerk (changing acceleration). In such cases, the \( \alpha -\beta -\gamma \) filter with constant \( \alpha -\beta -\gamma \) coefficients produces estimation errors and, in some cases, loses the target track.

The Kalman filter can handle uncertainty in the dynamic model. It is our next topic, right after the summary.

There are many types of \( \alpha -\beta -(\gamma) \) filters, and they are based on the same principle:

- The current state estimation is based on the state update equations.
- The following state estimation (prediction) is based on the dynamic model equations.

The main difference between these filters is the selection of weighting coefficients \( \alpha -\beta -(\gamma) \). Some filter types use constant weighting coefficients; others compute weighting coefficients for every filter iteration (cycle).

The choice of the \( \alpha \), \( \beta \) and \( \gamma \) is crucial for proper functionality of the estimation algorithm.

What should be the \( \alpha -\beta -(\gamma) \) parameters?

I described the \( \alpha -\beta -(\gamma) \) filter as an introductory to the Kalman Filter, thus, I won't cover this topic. The curious reader can find many books and papers on this topic. As a reference, I would recommend the following:

*Dirk Tenne, Tarunraj Singh. “Optimal Design of \( \alpha -\beta -(\gamma) \) Filters”. State University of New York at Buffalo.*

Another important issue is the initiation of the filter, i.e., providing the initial value for the first filter iteration.

The following list includes the most popular \( \alpha -\beta -(\gamma) \) filters:

- Wiener Filter
- Bayes Filter
- Fading-memory polynomial Filter
- Expanding-memory (or growing-memory) polynomial Filter
- Least-squares Filter
- Benedict–Bordner Filter
- Lumped Filter
- Discounted least-squares \( \alpha -\beta \) Filter
- Critically damped \( \alpha -\beta \) Filter
- Growing-memory Filter
- Kalman Filter
- Extended Kalman Filter
- Unscented Kalman Filter
- Extended Complex Kalman Filter
- Gauss-Hermite Kalman Filter
- Cubature Kalman Filter
- Particle Filter

I hope to write a tutorial about some of these filters. But this tutorial is about the Kalman Filter, which is the topic of the following examples.