1
00:00:03,690 --> 00:00:08,430
The common filter makes the assumption that all the probability distributions relating to the state

2
00:00:08,430 --> 00:00:11,610
and measurement can be represented as Gaussian distributions.

3
00:00:12,090 --> 00:00:15,870
Now, this can dramatically simplify the Bayesian calculations.

4
00:00:15,990 --> 00:00:21,010
And even though it is an approximate assumption, it can be made to work quite well in real life.

5
00:00:21,810 --> 00:00:26,800
This has made the comment filter one of the industry's leading methods of data fusion.

6
00:00:27,090 --> 00:00:31,950
The common filter works by propagating the main and covariance of the Gaussian distributions for the

7
00:00:31,950 --> 00:00:35,700
estimated state through time using a linear process model.

8
00:00:35,970 --> 00:00:42,120
This is the prediction step or process update step where the estimates move forward in time when the

9
00:00:42,120 --> 00:00:47,070
elements are available, which are linear combination of the state, the common filter updates, the

10
00:00:47,070 --> 00:00:54,300
estimate, the state main and covariance based on the measurements made and covariance of the Gaussian

11
00:00:54,300 --> 00:00:54,960
distribution.

12
00:00:55,740 --> 00:00:59,020
This is the update step or corrections step for the common filter.

13
00:00:59,850 --> 00:01:04,940
These two processes form the prediction corrections step, which is recursively run in the filled up

14
00:01:04,950 --> 00:01:05,520
with time.

15
00:01:05,820 --> 00:01:08,970
The estimates are propagated forward in time to the current time.

16
00:01:09,090 --> 00:01:13,920
If this measurement information available at the current time, it is used to improve the current state

17
00:01:13,920 --> 00:01:14,520
estimates.

18
00:01:15,030 --> 00:01:21,510
This is then repeated as time moves forward, since any realization or implementation of the linear

19
00:01:21,510 --> 00:01:27,990
comma filter is going to be done on a microprocessor or computer, which is inherently discrete, we're

20
00:01:27,990 --> 00:01:30,900
going to first start off looking at the discrete common filter.

21
00:01:31,320 --> 00:01:37,830
The discrete filter breaks up the time into discrete blocks and steps forward in chunks of time for

22
00:01:37,830 --> 00:01:39,340
a smooth and continuous system.

23
00:01:39,390 --> 00:01:41,640
The system state might change like this curve.

24
00:01:41,640 --> 00:01:43,920
It is smooth and it is continuous.

25
00:01:44,340 --> 00:01:47,520
The value of the state can be calculated for any point in time.

26
00:01:48,090 --> 00:01:52,700
The discrete system, the time is step forward in time, blocks or time steps.

27
00:01:53,220 --> 00:02:00,360
So if the sample time or time step of the system was point one seconds for each energy step, the system

28
00:02:00,360 --> 00:02:01,080
steps forward.

29
00:02:01,440 --> 00:02:02,640
Point one seconds.

30
00:02:03,050 --> 00:02:06,660
So if K was equal to zero, then T equals zero.

31
00:02:06,810 --> 00:02:14,520
If K is equal to two and T is equal to two times the timestep apply to the discrete system cannot work

32
00:02:14,520 --> 00:02:15,480
with fractional steps.

33
00:02:15,750 --> 00:02:17,510
It needs to be whole integers.

34
00:02:18,060 --> 00:02:23,250
If we overlay the continuous system responses with the discrete system responses, we should find out

35
00:02:23,250 --> 00:02:27,330
that they match up exactly at those discrete key point times.

36
00:02:27,990 --> 00:02:32,330
Suppose we have a linear, discrete time system of the form shown on the slide here.

37
00:02:32,730 --> 00:02:35,510
It consists of a process model and a measurement model.

38
00:02:36,150 --> 00:02:41,520
The process model describes how the system evolves with time and is a function of the current state.

39
00:02:41,850 --> 00:02:45,920
It's a function of control inputs and of noise inputs.

40
00:02:46,650 --> 00:02:48,560
It also has a measurement model.

41
00:02:48,750 --> 00:02:54,900
So this measurement model here is a linear combination of the current state of the system is a function

42
00:02:54,900 --> 00:02:58,230
of the current state and of some of random noise.

43
00:02:59,550 --> 00:03:02,670
So our F matrix here is a state transition matrix.

44
00:03:02,700 --> 00:03:05,880
This describes how the state changes with the input of the state.

45
00:03:06,480 --> 00:03:08,850
The G matrix is the control input matrix.

46
00:03:08,850 --> 00:03:12,120
It describes how the state changes based on control.

47
00:03:12,660 --> 00:03:15,480
L is a process model noise sensitivity matrix.

48
00:03:15,660 --> 00:03:19,170
It describes how the system state changes with noise.

49
00:03:19,860 --> 00:03:24,480
And down here in the measurement model, we have the matrix, which is the measurement matrix.

50
00:03:24,840 --> 00:03:30,060
So this describes the linear combination that the measurement is based on the current state.

51
00:03:30,360 --> 00:03:35,330
And we have this matrix here, which is the measurement model, noise sensitivity matrix.

52
00:03:35,940 --> 00:03:39,750
So this matrix here describes how the measurement is affected by the noise input.

53
00:03:40,410 --> 00:03:45,000
And when we're using the common filter, we make a few assumptions about the type of noise in the system.

54
00:03:45,510 --> 00:03:47,520
We make the assumption that a noise.

55
00:03:47,520 --> 00:03:54,900
So you get to hear and we want to hear the random variable noise is about Gaussian distribution of zero

56
00:03:54,930 --> 00:03:57,530
mean with a given covariance matrix.

57
00:03:57,840 --> 00:04:04,800
So here for W we assume that the random vector comes from a normal distribution zero mean and it has

58
00:04:04,800 --> 00:04:05,430
covariance.

59
00:04:05,430 --> 00:04:13,740
Q Over here for the measurement of noise out the vector here, a random vector is from a normal distribution.

60
00:04:13,740 --> 00:04:17,010
It has zero mean and it has a covariance matrix of our.

61
00:04:17,730 --> 00:04:22,080
We also make the assumption that the noise variables are not correlated in time.

62
00:04:22,530 --> 00:04:27,300
So matter what value we get at one instance of time is not going to change the probability of getting

63
00:04:27,300 --> 00:04:29,320
a different value for the next time period.

64
00:04:29,850 --> 00:04:35,820
We also make the assumption that the random variable noises between the process of noise and the measurement

65
00:04:36,270 --> 00:04:38,100
noise are also independent.

66
00:04:38,100 --> 00:04:41,020
So there's no correlation between the two.

67
00:04:41,580 --> 00:04:47,670
Our goal is to estimate the state of the system based on our knowledge of the dynamics and availability

68
00:04:47,670 --> 00:04:48,750
of noise measurements.

69
00:04:49,110 --> 00:04:56,490
This can be expressed as a posteriorly estimate where the state estimate vector X four times of K is

70
00:04:56,490 --> 00:05:02,910
the expected value, i.e. the main of the probability distribution of the true state X given all the

71
00:05:02,910 --> 00:05:03,210
measurement.

72
00:05:03,560 --> 00:05:11,690
Up to and including the current times to see the ocean for the estimated state and the plastination

73
00:05:11,690 --> 00:05:17,930
for the indication that this is the posterior, I estimate if we didn't have the current TimeStep measurement,

74
00:05:17,930 --> 00:05:23,870
said K. But we had all the rest, then we would have the a priori estimate of the state.

75
00:05:24,170 --> 00:05:29,740
And you can notice that we do know this using the negative symbol on the estimated state.

76
00:05:30,170 --> 00:05:36,680
Is it expected that once the current TOMPSETT measurement said K is fused into the A4 estimate, then

77
00:05:36,680 --> 00:05:39,590
the posterior estimate will be the better estimate.

78
00:05:39,890 --> 00:05:46,310
When we start and initialize a common filter, we let X not be the initial condition and this is going

79
00:05:46,310 --> 00:05:48,800
to be the expected value of the true state.

80
00:05:49,320 --> 00:05:51,500
Now, this might just be an assumption.

81
00:05:51,500 --> 00:05:55,070
We might just assume that the starting state is zero.

82
00:05:55,760 --> 00:06:01,940
And depending on what we're estimating, you also might need to start the current estimate from the

83
00:06:01,940 --> 00:06:04,220
first measurement and then initialize the filter.

84
00:06:04,220 --> 00:06:08,530
After we have this information, we will cover this in a lot more detail later on.

85
00:06:08,690 --> 00:06:15,320
So ignored is our current best guess at the initial condition of the true state, not the common filter

86
00:06:15,320 --> 00:06:21,560
also uses the covariance of the estimated error to probabilistically find the updated state estimate.

87
00:06:22,130 --> 00:06:29,180
The covariance is denoted by the Matrix P with the timestep and estimated type indicated again.

88
00:06:29,180 --> 00:06:36,200
The a priori covariance matrix is for the apriority state estimate and similarly for the posterior ie.

89
00:06:36,650 --> 00:06:41,200
The error between the true state and the estimated state can be noted with the tilde symbol.

90
00:06:41,570 --> 00:06:46,110
This is the estimation error or how accurate the estimate a state is.

91
00:06:46,490 --> 00:06:52,880
So the covariance P essentially is a measure of how close the estimated state is to the true state of

92
00:06:52,880 --> 00:06:53,780
probabilistically.

93
00:06:54,500 --> 00:06:59,780
We will develop the equations of how the common field of calculates the estimated state and covariance

94
00:06:59,780 --> 00:07:01,300
in a next series of videos.

95
00:07:01,760 --> 00:07:07,040
We will also develop it step by step, using an example to d track a field of problem.
