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,590 --> 00:00:19,660
So here we have the equations of motion, we have the acceleration, we have velocity and we have position.

4
00:00:20,500 --> 00:00:24,640
So we know that acceleration here is a second order differential equation.

5
00:00:24,790 --> 00:00:30,520
So what we can do is break it up into two first order equations like we've shown in the past, one four

6
00:00:30,520 --> 00:00:32,100
velocity, one four position.

7
00:00:33,370 --> 00:00:38,680
So solving this equation, assuming a constant acceleration, we can get the standard relationships

8
00:00:38,680 --> 00:00:39,640
that we've seen before.

9
00:00:40,200 --> 00:00:45,970
So these are basically saying the velocity of an object is equal to the initial velocity plus the acceleration

10
00:00:45,970 --> 00:00:47,800
and the amount of time that's applied.

11
00:00:48,610 --> 00:00:50,470
The same thing can be said about position.

12
00:00:50,470 --> 00:00:55,930
The position of an object is equal to the initial position, plus the time at the initial velocity,

13
00:00:56,380 --> 00:00:57,890
plus a half, eight squared.

14
00:00:57,910 --> 00:01:03,920
So half of the acceleration value eight times the time squared of the time it it's accelerating.

15
00:01:04,630 --> 00:01:09,220
So if we look at the acceleration, this is basically saying if we have a constant acceleration, we

16
00:01:09,220 --> 00:01:11,160
get a profile that looks like this.

17
00:01:11,190 --> 00:01:14,720
So we have one value that's held over a time period.

18
00:01:15,400 --> 00:01:20,980
Now, over this time period, we have the initial velocity v note and it'll be accelerating at a constant

19
00:01:20,980 --> 00:01:21,310
rate.

20
00:01:21,760 --> 00:01:28,810
The acceleration up to this kind of the V here at time T and if we have a look at the position, we

21
00:01:28,810 --> 00:01:29,670
can see the same thing.

22
00:01:29,680 --> 00:01:35,530
We can start with initial position, but this time we have a quadratic relationship to the final position

23
00:01:35,530 --> 00:01:38,800
at T, and this is because we have a constant acceleration.

24
00:01:39,370 --> 00:01:45,150
We have a first order increase in velocity, which means we get a second order increase in our position.

25
00:01:46,150 --> 00:01:48,580
So these are our first order equations.

26
00:01:48,610 --> 00:01:53,230
Now, these aren't differential equations anymore because we've solved the differential equation, but

27
00:01:53,230 --> 00:01:54,940
we can put this into a matrix form.

28
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

29
00:02:03,110 --> 00:02:06,180
states, we get a state matrix that looks like this.

30
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,

31
00:02:13,820 --> 00:02:18,830
initial Qawasmi, plus an acceleration value multiplied by these coefficients here.

32
00:02:19,760 --> 00:02:21,770
And the same thing can be said about velocity.

33
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.

34
00:02:28,370 --> 00:02:32,660
So this matrix equation form here, it's just the matrix form of these equations.

35
00:02:33,980 --> 00:02:38,510
Now we can basically convert this into a discrete time by saying are we not here?

36
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.

37
00:02:45,860 --> 00:02:50,970
So we set is a utility and basically we just make the substitutions here, here.

38
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.

39
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.

40
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

41
00:03:10,240 --> 00:03:10,970
one dimension.

42
00:03:11,320 --> 00:03:14,590
So now we're going to extend this into a two dimensional example.

43
00:03:14,890 --> 00:03:16,830
And to do this is fairly straightforward.

44
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

45
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

46
00:03:28,000 --> 00:03:28,820
that we had before.

47
00:03:29,320 --> 00:03:31,630
So we have an API.

48
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?

49
00:03:37,060 --> 00:03:42,970
So the velocity in the X velocity in a Y and as you can see, if you look at the sub matrix for P,

50
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.

51
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.

52
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.

53
00:04:02,260 --> 00:04:03,600
And we can see for the input.

54
00:04:03,610 --> 00:04:05,420
Again, it is the same thing here.

55
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.

56
00:04:12,760 --> 00:04:18,760
They have one problem with this example is that it requires an input vector input vector of the accelerations.

57
00:04:19,240 --> 00:04:23,410
So this becomes a problem because we can't have acceleration sensors on board the object that we want

58
00:04:23,410 --> 00:04:25,100
to track for this example.

59
00:04:25,780 --> 00:04:29,210
So basically, we can't have an input because it doesn't fit the problem.

60
00:04:29,650 --> 00:04:35,800
So what we do instead, instead of having a known deterministic input, we assume that the input is

61
00:04:35,800 --> 00:04:37,330
just going to be due to noise.

62
00:04:37,570 --> 00:04:41,500
So basically we model the same matrix instead of a matrix.

63
00:04:41,530 --> 00:04:43,740
We have an L matrix, which is exactly the same.

64
00:04:44,260 --> 00:04:52,390
And instead of X and Y being a deterministic input, now they're random variables with a certain probability

65
00:04:52,390 --> 00:04:59,260
density function and we assume it has a normal distribution of zero main and a sigma of this X and a

66
00:04:59,260 --> 00:05:01,090
signal of a Y.

67
00:05:02,580 --> 00:05:08,040
So basically, these two premies sort of become attuning parameters, they say they don't tell the system

68
00:05:08,430 --> 00:05:12,960
how much we think the acceleration is going to vary in the extraction and how much we think it's going

69
00:05:12,960 --> 00:05:14,460
to vary in the Y direction.

70
00:05:15,190 --> 00:05:17,480
So we can't measure the acceleration directly.

71
00:05:17,490 --> 00:05:22,980
So we have to assume that it is a random variable and let the common filter work it out implicitly.

72
00:05:25,040 --> 00:05:28,710
So our precious motto becomes the process model shown on this slide here.

73
00:05:29,000 --> 00:05:34,220
We have dropped the input and we assume that the only input into the system is going to be from the

74
00:05:34,220 --> 00:05:35,070
noise value.

75
00:05:35,660 --> 00:05:41,510
So we have a noise value of Iwai, which are going to be part of a normal distribution with standard

76
00:05:41,510 --> 00:05:42,760
deviation shown here.

77
00:05:43,670 --> 00:05:49,910
We have our noise sensitivity metrics, which is just going to be now the copy of the input matrix.

78
00:05:49,910 --> 00:05:51,710
But now we're going to use it as a noise matrix.

79
00:05:51,710 --> 00:05:56,480
So we're going to have the process model here is going to be based on the current state, plus some

80
00:05:56,480 --> 00:05:58,610
random input, which is going to be from the noise.

81
00:06:00,230 --> 00:06:05,090
So this formed this great process model that we're going to use in the common field of the state, Vector

82
00:06:05,090 --> 00:06:07,060
X is going to be a four dimensional vector.

83
00:06:07,520 --> 00:06:11,800
It's going to have states X, P, Y, the X, V, Y.

84
00:06:12,020 --> 00:06:17,510
So the position and the X, Y and Vosta in the X, Y, the state transition matrix is going to be the

85
00:06:17,510 --> 00:06:20,930
simple concept matrix here, which is going to be a function of the timestep.

86
00:06:21,350 --> 00:06:25,100
And then we're going to have this noise input matrix here, which also is going to be a function of

87
00:06:25,100 --> 00:06:25,400
the time.

88
00:06:25,400 --> 00:06:26,110
Skip step.

89
00:06:26,630 --> 00:06:31,580
And it's going to be the input is going to be based on these two noise distributions here, which each

90
00:06:31,580 --> 00:06:35,330
have a standard deviation of some value for the noise density.
