1
00:00:03,970 --> 00:00:08,980
We are now going to have a look at how we can use the measurement innovation inside the update step

2
00:00:08,980 --> 00:00:10,740
for the antenna to come and filter.

3
00:00:11,500 --> 00:00:18,640
So the APRA state estimate, this expert with the bar at the top can be updated with the current measurement

4
00:00:18,640 --> 00:00:19,270
innovation.

5
00:00:19,270 --> 00:00:23,270
Allow me to form the A posterior, I estimate.

6
00:00:23,380 --> 00:00:27,460
So this hat with the plus using the following equations.

7
00:00:30,530 --> 00:00:38,090
So these are the common of update equations, so the top equation is just the normal recursive predictor,

8
00:00:38,090 --> 00:00:38,810
correct characterful.

9
00:00:39,080 --> 00:00:46,250
It takes the current state estimate, it adds on a scaling gain based on the innovation to update the

10
00:00:46,250 --> 00:00:46,620
state.

11
00:00:47,300 --> 00:00:51,970
However, for the answer coming up, we're going to calculate the gain slightly differently.

12
00:00:52,160 --> 00:00:56,420
We're going to still use the inverse of the measurement innovation matrix.

13
00:00:56,780 --> 00:00:59,820
However, now we're going to calculate this covariance matrix.

14
00:00:59,870 --> 00:01:03,890
This is the cross covariance between the measurement and the current state.

15
00:01:05,670 --> 00:01:13,620
And then for recap, the pariah state four times HepC, our expat bar for TimeStep K is the expected

16
00:01:13,620 --> 00:01:19,680
value of the true state, using all the measurements up to the previous time, stepped up to K minus

17
00:01:19,680 --> 00:01:24,990
one while the posteriorly state is this Alleycat plus.

18
00:01:25,140 --> 00:01:32,880
At times Rapkay is the expected value, is the expected value of the true state using all the information

19
00:01:32,880 --> 00:01:34,270
up to the current timestep.

20
00:01:35,310 --> 00:01:42,120
Now the April state error covariance matrix Alpay minus can also be updated with the same information

21
00:01:42,120 --> 00:01:45,540
to form the posteriorly state estimate covariance matrix.

22
00:01:45,540 --> 00:01:49,200
Albay plus using the following equations.

23
00:01:50,400 --> 00:01:53,430
So we have the previous covariance before the update.

24
00:01:53,620 --> 00:01:58,170
We want to subtract off Alcaide times as times k transpose.

25
00:01:58,610 --> 00:02:03,830
So this is how much uncertainty we can reduce the estimates by to form the new covariance matrix.

26
00:02:04,290 --> 00:02:11,700
And again, for recap purposes, the APRA covariance will timestep k is just the covariance of the expected,

27
00:02:12,220 --> 00:02:18,210
just the error covariance between the true state and estimated state using all information up to the

28
00:02:18,210 --> 00:02:21,300
previous timestep so up to K minus one.

29
00:02:21,600 --> 00:02:28,040
While the posteriorly covariance outputs is the expected error between the true state and estimated

30
00:02:28,060 --> 00:02:35,190
dates for when we use all the information or all the measurements up to the current TimeStep K so we

31
00:02:35,190 --> 00:02:40,470
can compare the process between the extended comma filter and the unseen incoming filter for the update

32
00:02:40,470 --> 00:02:41,450
step for the state.

33
00:02:42,330 --> 00:02:47,790
So as you would have previously seen for the extended comma filter, we use the same predictive corrective

34
00:02:47,790 --> 00:02:54,060
form where we multiply the innovation by again Matrix K to get how much we need to update the current

35
00:02:54,060 --> 00:02:56,880
state to get the best estimate for the current information.

36
00:02:57,300 --> 00:03:04,200
And then we also use our Jacobean of the linear approximation of the measurement model to update our

37
00:03:04,200 --> 00:03:05,100
gain matrix.

38
00:03:05,100 --> 00:03:08,630
K Now for the unscented common filter.

39
00:03:08,970 --> 00:03:14,520
The first equation operates in the very same way because it's still a pretty to correct filter how to

40
00:03:14,520 --> 00:03:15,930
calculate the gain matrix.

41
00:03:15,930 --> 00:03:22,230
We're using this crosscourt variance tampoe, which is across covariance between the state and the measurement.

42
00:03:22,740 --> 00:03:25,830
However, we're still using our inverse over here.

43
00:03:26,340 --> 00:03:33,600
So you can think of this term up here is being how much I change measurement will affect the state multiplied

44
00:03:33,600 --> 00:03:34,890
by the uncertainty in the state.

45
00:03:35,130 --> 00:03:42,090
So this is pretty much transforming the uncertainty into the measurement form down here.

46
00:03:42,090 --> 00:03:42,710
The same thing.

47
00:03:42,720 --> 00:03:48,360
This is how much uncertainty there is between the state and the measurement divided by how much error

48
00:03:48,360 --> 00:03:49,440
is inside the measurement.

49
00:03:50,160 --> 00:03:56,070
So this here is basically the same thing, is basically a ratio of how much uncertainty there is in

50
00:03:56,070 --> 00:03:59,670
the measurement compared to how much uncertainty there is in the current state.

51
00:04:00,660 --> 00:04:07,930
Now for the update step for the covariance inside the extent we can use this equation here.

52
00:04:08,040 --> 00:04:15,100
So, again, this is using the Caribbean approximation of the nonlinear model, however, for the extended

53
00:04:15,530 --> 00:04:18,270
that we're going to use this approximation here.

54
00:04:18,870 --> 00:04:23,640
So this equation here can actually be used inside the external and filter as well.

55
00:04:23,890 --> 00:04:28,770
However, inside the extended common filter, since we have this Jakobsson approximation of the system,

56
00:04:29,040 --> 00:04:35,500
it is possible to simplify this equation down to this equation when we're using the Jacobean.

57
00:04:35,700 --> 00:04:40,220
However, since we don't have a Jakobsson in the unscented common filter, we have to keep it at this

58
00:04:40,230 --> 00:04:42,810
more higher level form as shown here.

59
00:04:45,560 --> 00:04:51,860
So in summary for the unscented coming through the update step, we want to use these equations to calculate

60
00:04:51,860 --> 00:04:53,710
how much we may want to change your state by.

61
00:04:53,720 --> 00:04:58,910
So we calculate the common again using this covariance matrix, which is across covariance between the

62
00:04:58,910 --> 00:04:59,990
state and the measurement.

63
00:05:00,500 --> 00:05:06,590
And we have our update step in the correct form based on how much innovation area we have.

64
00:05:07,130 --> 00:05:12,150
And then when we want to update the common field of covariance, we use this equation down here.

65
00:05:12,410 --> 00:05:17,590
So we want to calculate how much we want to shrink the covariance by by how much information the center

66
00:05:17,600 --> 00:05:18,830
is giving us at that time.

67
00:05:18,830 --> 00:05:19,130
Step.
