﻿1
00:00:00,450 --> 00:00:01,320
‫Welcome back.

2
00:00:01,890 --> 00:00:08,100
‫So I hope you thought about what use of X, use of Y and use of Z could be.

3
00:00:08,760 --> 00:00:17,880
‫You have constants here that are multiplied by Y and then D, why the X?

4
00:00:18,720 --> 00:00:24,330
‫And the result is the second derivative of Y with respect to X.

5
00:00:25,230 --> 00:00:36,690
‫And so you have the key constants here and also here and also here, and you multiply them by error

6
00:00:37,230 --> 00:00:46,650
‫and the change of error with respect to time and here as well, error and then the derivative of error

7
00:00:46,650 --> 00:00:48,090
‫with respect to time.

8
00:00:48,540 --> 00:00:50,880
‫The first one was in the examination.

9
00:00:50,910 --> 00:00:59,930
‫Now this one is in the Y dimension and then this one here is in the Z dimension like this.

10
00:01:00,750 --> 00:01:12,600
‫So look, a constant minus Q times Y plus another constant minus P times the Y, the X equals the second

11
00:01:12,600 --> 00:01:24,930
‫derivative of Y with respect to X and then here K times the error plus another K times the error derivative

12
00:01:25,230 --> 00:01:26,320
‫just like here.

13
00:01:26,640 --> 00:01:31,150
‫So what do you think what this use of X is.

14
00:01:32,010 --> 00:01:40,470
‫Well if you have a second derivative here, then this use of X will also be a second error derivative

15
00:01:40,470 --> 00:01:41,940
‫with respect to time.

16
00:01:42,360 --> 00:01:44,910
‫And in this case it would be in the X dimension.

17
00:01:45,270 --> 00:01:52,320
‫Then here you would have the second time derivative of the error in the Y dimension, and then here

18
00:01:52,620 --> 00:01:55,420
‫you will have it in the Z dimension.

19
00:01:56,190 --> 00:02:04,320
‫So if we forget about the dimension for a moment and just think about the error variables, then it

20
00:02:04,320 --> 00:02:17,610
‫will look like this error double that equals K one times error plus key two times error dot.

21
00:02:18,450 --> 00:02:22,680
‫And you can also write it like this error double dot.

22
00:02:23,160 --> 00:02:30,390
‫And then you put these terms on the other side of the equation sine so you will have for example, minus

23
00:02:30,390 --> 00:02:39,840
‫K two times the error that and minus K one times the error equals zero.

24
00:02:40,770 --> 00:02:44,240
‫Or you can also write it down with a different notation.

25
00:02:44,370 --> 00:02:50,340
‫For example, this could be the second derivative of error with respect to time.

26
00:02:51,300 --> 00:03:00,640
‫Then this will be this term here and this will be this term here and all that equals to zero.

27
00:03:01,440 --> 00:03:05,940
‫So you see your control laws are in fact homogeneous.

28
00:03:06,180 --> 00:03:10,940
‫LTI second order differential equations like here.

29
00:03:11,700 --> 00:03:17,160
‫And so you would have one differential equation for the X there.

30
00:03:17,160 --> 00:03:23,640
‫Mention one for the Y dimension and then one for the Z dimension.

31
00:03:23,850 --> 00:03:32,180
‫So you would in total have three homogeneous LTI second order differential equations.

32
00:03:33,240 --> 00:03:45,120
‫The only difference here is that your dependent variables are the errors in the X, Y and Z dimension.

33
00:03:45,300 --> 00:03:47,570
‫Now these are your dependent variables.

34
00:03:47,760 --> 00:03:52,530
‫The errors and your independent variable is time.

35
00:03:53,040 --> 00:03:58,200
‫And that's why you see the change of error with respect to time you see.

36
00:03:58,590 --> 00:04:01,920
‫And then the second derivative of error with respect to time.

37
00:04:02,190 --> 00:04:04,440
‫So that's your independent variable now.

38
00:04:05,220 --> 00:04:10,140
‫And also you had plus signs here and now.

39
00:04:10,140 --> 00:04:12,930
‫Here you have minus signs.

40
00:04:13,410 --> 00:04:14,600
‫But that doesn't matter.

41
00:04:15,570 --> 00:04:22,530
‫I mean, you can also write this thing like this minus and then minus P, and then you will have plus

42
00:04:22,530 --> 00:04:29,310
‫P and the same thing here, minus and minus Q and then you would have positive Q here.

43
00:04:30,210 --> 00:04:32,160
‫In the end they are just constants.

44
00:04:33,090 --> 00:04:38,460
‫The important thing is to realize that your control laws are homogeneous.

45
00:04:38,550 --> 00:04:47,040
‫LTI second order differential equations and that is awesome because now we can do some interesting things

46
00:04:47,550 --> 00:04:51,180
‫to drive our errors to zero.

