1
00:00:04,030 --> 00:00:08,450
In this video, we're going to look at depriving the Tuti tracking system process model.

2
00:00:08,590 --> 00:00:13,660
So looking at how we can derive the equations of motion and put them into the matrix form that we want.

3
00:00:14,580 --> 00:00:19,680
So here we have the equations of motion, we have the acceleration, we have velocity and we have position,

4
00:00:20,490 --> 00:00:24,630
so we know that acceleration here is a second order differential equation.

5
00:00:24,780 --> 00:00:29,670
So what we can do is break it up into two first order equations like we've shown in the past.

6
00:00:30,060 --> 00:00:32,100
One for velocity, one four position.

7
00:00:33,370 --> 00:00:38,670
So solving this equation, assuming a constant acceleration, we can get this down into relationships

8
00:00:38,670 --> 00:00:39,630
that we've seen before.

9
00:00:40,200 --> 00:00:45,960
So these are basically saying the velocity of an object is equal to the initial velocity plus the acceleration

10
00:00:45,960 --> 00:00:47,790
and the amount of time that's applied.

11
00:00:48,600 --> 00:00:50,460
The same thing can be said about position.

12
00:00:50,460 --> 00:00:55,950
The position of an object is equal to the initial position, plus the time at the initial velocity,

13
00:00:56,370 --> 00:00:57,890
plus a half, eight squared.

14
00:00:57,900 --> 00:01:03,050
So half of the acceleration value eight times the time squared of the time.

15
00:01:03,100 --> 00:01:03,930
It's accelerating.

16
00:01:04,640 --> 00:01:09,240
So if we look at the acceleration, this is basically saying if we have a constant acceleration, we

17
00:01:09,240 --> 00:01:11,180
get a profile that looks like this.

18
00:01:11,190 --> 00:01:14,710
So we have one value that's held over a time period.

19
00:01:15,390 --> 00:01:20,970
Now, over this time period, we have the initial velocity v note and it'll be accelerating at a constant

20
00:01:20,970 --> 00:01:21,330
rate.

21
00:01:21,750 --> 00:01:28,740
The acceleration up to this kind of loss, the V here at time T and if we have a look at the position,

22
00:01:28,740 --> 00:01:29,670
we can see the same thing.

23
00:01:29,680 --> 00:01:35,520
We can start with initial position, but this time we have a quadratic relationship to the final position

24
00:01:35,520 --> 00:01:38,820
at T, and this is because we have a constant acceleration.

25
00:01:39,360 --> 00:01:45,160
We have a first order increase in velocity, which means we get a second order increase in our position.

26
00:01:46,140 --> 00:01:48,540
So these are our first order equations.

27
00:01:48,600 --> 00:01:53,220
Now, these aren't differential equations anymore because we've solved the differential equation, but

28
00:01:53,220 --> 00:01:54,960
we can put this into a matrix form.

29
00:01:57,680 --> 00:02:03,110
So to do that, we can basically break it down into our position and velocity, so these become our

30
00:02:03,110 --> 00:02:06,180
states, we get a state matrix that looks like this.

31
00:02:06,200 --> 00:02:13,550
So this is basically saying the position in the final time is equal to pay, not plus tee times velocity,

32
00:02:13,820 --> 00:02:18,830
initial Qawasmi, plus an acceleration value multiplied by these coefficients here.

33
00:02:19,760 --> 00:02:21,770
And the same thing can be said about velocity.

34
00:02:21,990 --> 00:02:27,920
Velocity is going to be Alvino plus our acceleration value eight times the time it's applied.

35
00:02:28,370 --> 00:02:32,660
So this matrix equation form here, it's just the matrix form of these equations.

36
00:02:33,980 --> 00:02:38,510
Now we can basically convert this into a discrete time by saying are we not here?

37
00:02:38,510 --> 00:02:45,860
Is going to be OK minus one Alvie here is going to be OK and we're going to have a timestep of Doherty.

38
00:02:45,860 --> 00:02:50,970
So we set is a utility and basically we just make the substitutions here, here.

39
00:02:51,260 --> 00:02:57,860
So it's exactly the same equations except now we have to timestep k k minus one and timestep delta t.

40
00:02:58,800 --> 00:03:03,360
So these become our discrete time equations that they're going to use for the common Philidor.

41
00:03:04,990 --> 00:03:10,240
So we have to durata the equations for a one dimensional example that has a versity and a position in

42
00:03:10,240 --> 00:03:10,970
one dimension.

43
00:03:11,320 --> 00:03:14,590
So now we're going to extend this into a two dimensional example.

44
00:03:14,890 --> 00:03:16,830
And to do this is fairly straightforward.

45
00:03:16,840 --> 00:03:22,870
All we have to do is just put the systems together for the X and Y, so the X and Y are just going to

46
00:03:22,870 --> 00:03:28,000
be independent of each other, but they're just going to be replications of the one dimensional example

47
00:03:28,000 --> 00:03:28,820
that we had before.

48
00:03:29,320 --> 00:03:31,630
So we have an API.

49
00:03:31,630 --> 00:03:36,940
So the position in the X position in the Y, we have a V, X and a V, why?

50
00:03:37,060 --> 00:03:42,960
So the velocity in the X velocity in a Y and as you can see, if you look at the sub matrix for P,

51
00:03:42,970 --> 00:03:47,740
X and the X, it's just going to be the same one as we had before.

52
00:03:47,740 --> 00:03:54,550
An assembly for the P p, y and the VI is just going to be another replication of it before.

53
00:03:55,000 --> 00:04:01,900
So this matrix has no cross coupling between the X and Y axes, but that's fine to do in this example.

54
00:04:02,260 --> 00:04:03,600
And we can see for the input.

55
00:04:03,610 --> 00:04:05,420
Again, it is the same thing here.

56
00:04:05,440 --> 00:04:11,560
So now we have a X and Y for the acceleration, the extraction and acceleration in Y direction.

57
00:04:12,730 --> 00:04:18,760
They have one problem with this example is that it requires an input vector input vector of the accelerations.

58
00:04:19,390 --> 00:04:25,090
Now, a 2D tracking filter is not going to have any information about the system that its tracking is

59
00:04:25,090 --> 00:04:26,800
not going to have sensors on board the system.

60
00:04:27,160 --> 00:04:28,990
It is all going to be done remotely.

61
00:04:29,440 --> 00:04:33,580
So this becomes a problem because we can't have acceleration sensors on board the object that we want

62
00:04:33,580 --> 00:04:35,270
to track for this example.

63
00:04:35,920 --> 00:04:39,350
So basically, we can't have an input because it doesn't fit the problem.

64
00:04:39,790 --> 00:04:45,940
So what we do instead, instead of having a known deterministic input, we assume that the input is

65
00:04:45,940 --> 00:04:47,470
just going to be due to noise.

66
00:04:47,710 --> 00:04:51,660
So basically we model the same matrix instead of a matrix.

67
00:04:51,670 --> 00:04:53,880
We have an L matrix, which is exactly the same.

68
00:04:54,400 --> 00:05:02,530
And instead of X and Y being a deterministic input, now they're random variables with a certain probability

69
00:05:02,530 --> 00:05:09,400
density function and we assume it has a normal distribution of zero main and a sigma of this X and a

70
00:05:09,400 --> 00:05:11,200
signal of a Y.

71
00:05:12,710 --> 00:05:18,170
So basically, these two premies sort of become attuning parameters, they say they don't tell the system

72
00:05:18,560 --> 00:05:23,090
how much we think the acceleration is going to vary in the extraction and how much we think it's going

73
00:05:23,090 --> 00:05:24,580
to vary in the Y direction.

74
00:05:25,400 --> 00:05:28,300
So we have to do this because we don't have any sensors on board.

75
00:05:28,310 --> 00:05:32,480
We are only using extrinsic information from other external sources.

76
00:05:32,960 --> 00:05:35,260
So we can't measure the acceleration directly.

77
00:05:35,270 --> 00:05:40,760
So we have to assume that it is a random variable and let the common filter work it out implicitly.

78
00:05:42,750 --> 00:05:46,450
So our precious model becomes the process model shown on this slide here.

79
00:05:46,710 --> 00:05:51,960
We have dropped the input and we assume that the only input into the system is going to be from the

80
00:05:51,960 --> 00:05:52,780
noise value.

81
00:05:53,400 --> 00:05:59,250
So we have a noise value of Iwai, which are going to be part of a normal distribution with standard

82
00:05:59,250 --> 00:06:00,490
deviation shown here.

83
00:06:01,410 --> 00:06:07,650
We have our noise sensitivity metrics, which is just going to be now the copy of the input matrix.

84
00:06:07,650 --> 00:06:09,420
But now we're going to use it as a noise matrix.

85
00:06:09,420 --> 00:06:14,220
So we're going to have the process model here is going to be based on the current state, plus some

86
00:06:14,220 --> 00:06:16,350
random input, which is going to be from the noise.

87
00:06:17,970 --> 00:06:22,830
So this form, this great process model that we're going to use in the common field of the state, Vector

88
00:06:22,830 --> 00:06:30,030
X is going to be a four dimensional vector, is going to have states X, P, Y, the X, V, Y, so

89
00:06:30,030 --> 00:06:35,640
the position and X, Y and Wasse in the X, Y, the state transition matrix is going to be the simple

90
00:06:35,640 --> 00:06:38,640
concept matrix here, which is going to be a function of the timestep.

91
00:06:39,090 --> 00:06:42,840
And then we're going to have this noise input matrix here, which also is going to be a function of

92
00:06:42,840 --> 00:06:43,140
the time.

93
00:06:43,140 --> 00:06:48,390
Skip step and is going to be the input is going to be based on these two noise distributions here,

94
00:06:48,780 --> 00:06:53,040
which each have a standard deviation of some value for the noise density.

95
00:06:54,060 --> 00:06:57,420
So the filter process model does not have any deterministic input.

96
00:06:57,450 --> 00:07:02,580
This is because we don't have any sensors on board, so we have no information about the onboard motion

97
00:07:02,760 --> 00:07:03,900
of the object.

98
00:07:04,270 --> 00:07:07,690
So we are only going to use external information to update the process model.

99
00:07:07,860 --> 00:07:09,900
And this is going to be done through the measurement model.

