﻿1
00:00:00,390 --> 00:00:01,260
‫Welcome back.

2
00:00:01,890 --> 00:00:12,420
‫OK, so you have now had the opportunity to practice solving homogeneous second order LTI or linear

3
00:00:12,420 --> 00:00:21,660
‫time invariant differential equations, and there is a reason for why I wanted to cover that topic in

4
00:00:21,660 --> 00:00:22,790
‫great detail.

5
00:00:23,220 --> 00:00:25,480
‫I had to prepare you for what's coming.

6
00:00:26,100 --> 00:00:29,910
‫Let's go back to our very original differential equation.

7
00:00:30,360 --> 00:00:32,060
‫That was your control law.

8
00:00:32,820 --> 00:00:34,950
‫So it was this one here.

9
00:00:35,160 --> 00:00:42,240
‫You had your constants, key one and then K two and then your error error dot and then error double

10
00:00:42,240 --> 00:00:44,020
‫dot equals zero.

11
00:00:44,760 --> 00:00:46,240
‫So what did we do here?

12
00:00:46,710 --> 00:00:59,380
‫We chose some values for the case and then we computed the power constants, the lambdas and those lambdas

13
00:00:59,400 --> 00:01:01,200
‫with the multiplied by time.

14
00:01:01,980 --> 00:01:09,480
‫So the general solution for this differential equation looked like this error as a function of time

15
00:01:09,480 --> 00:01:10,350
‫equals.

16
00:01:10,800 --> 00:01:20,610
‫And then you had one constant a times, the oil or number to the power of lambda one time C plus you

17
00:01:20,610 --> 00:01:28,040
‫had another constant again, the oil or number to the power of and now Lunda two times t.

18
00:01:28,860 --> 00:01:34,200
‫So we had the key values, we chose the key values.

19
00:01:34,500 --> 00:01:37,440
‫We assumed some kind of values for them.

20
00:01:38,250 --> 00:01:47,040
‫And then once we had those key values, we computed our lambda one and lambda to.

21
00:01:47,950 --> 00:01:54,280
‫And then we also computed the constants, A and B based on our initial conditions.

22
00:01:54,830 --> 00:01:58,040
‫However, right now it's not important to us.

23
00:01:58,840 --> 00:02:04,070
‫What's important is that we had the key values and then we computed the lambdas.

24
00:02:04,960 --> 00:02:10,620
‫However, in our feedback control, we cannot just choose the key values.

25
00:02:11,170 --> 00:02:18,560
‫We have to compute the key values that make our system track a given trajectory.

26
00:02:19,390 --> 00:02:32,050
‫In other words, you want to choose your key values such so that your error would go to zero as time

27
00:02:32,050 --> 00:02:33,680
‫goes to infinity.

28
00:02:34,120 --> 00:02:39,200
‫So over time, you want your error to get closer and closer to zero.

29
00:02:40,120 --> 00:02:43,360
‫So if this is your error and then this is your time.

30
00:02:44,450 --> 00:02:54,080
‫Then in the end, this is what you want, you want your error to approach zero meters, mathematically,

31
00:02:54,080 --> 00:02:55,400
‫it was limited.

32
00:02:55,400 --> 00:03:01,720
‫As time approaches infinity, you want your error to get to zero like this.

33
00:03:02,480 --> 00:03:06,200
‫And so there are some key values that will produce that.

34
00:03:06,620 --> 00:03:10,960
‫And then there are some key values that will not produce that.

35
00:03:11,810 --> 00:03:18,050
‫And in order to find the right key values, we're going to do it the other way around.

36
00:03:19,100 --> 00:03:25,700
‫Instead of freely choosing the key values and then computing the lambdas.

37
00:03:26,390 --> 00:03:35,810
‫Instead of that, we're going to freely choose the lump does so the power constants here, we're going

38
00:03:35,810 --> 00:03:37,340
‫to freely choose them.

39
00:03:38,000 --> 00:03:46,040
‫And based on that choice, we are going to compute our key one value and key to value.

40
00:03:47,070 --> 00:03:57,900
‫So here LAMDA one was a function of K one and K to and then also Lunda two was a function of K one and

41
00:03:57,900 --> 00:03:59,090
‫then K two.

42
00:03:59,760 --> 00:04:06,180
‫So these were like your independent variables, the K values and then the one in London.

43
00:04:06,180 --> 00:04:15,960
‫Two, you can think of them as dependent variables because you independently chose K one and the K to

44
00:04:16,380 --> 00:04:21,240
‫and then your lambda one and lambda to be dependent on that.

45
00:04:21,480 --> 00:04:23,130
‫They dependent on your choice.

46
00:04:24,110 --> 00:04:35,000
‫But now you're K one, you can think of it as it is a function of London one and London two, and then

47
00:04:35,000 --> 00:04:43,520
‫the same thing K two is a function of London one and London two, meaning that you will independently

48
00:04:43,520 --> 00:04:45,680
‫choose London one and London two.

49
00:04:46,130 --> 00:04:56,090
‫And based on that choice, you will get K one and K to value UK one and two values will depend on the

50
00:04:56,090 --> 00:05:03,080
‫choice that you will make with regards to London, one in London, two with regards to these power constants

51
00:05:03,080 --> 00:05:05,150
‫here and now.

52
00:05:05,330 --> 00:05:15,370
‫The question is what Londoners we are going to choose in order to get our error to zero.

53
00:05:16,250 --> 00:05:18,890
‫And I'll give you a thought exercise.

54
00:05:19,850 --> 00:05:23,630
‫This is your general solution.

55
00:05:24,470 --> 00:05:27,320
‫Your error depends on all that.

56
00:05:28,340 --> 00:05:33,470
‫Now, forget about the constants, they are not important to us right now.

57
00:05:34,460 --> 00:05:45,170
‫But tell me, what do you think, which lambdas should you choose in order to make sure that your error

58
00:05:45,170 --> 00:05:46,050
‫goes to zero?

59
00:05:46,970 --> 00:05:51,950
‫Don't think about the numbers, simply try to think conceptually.

60
00:05:52,910 --> 00:05:55,820
‫Think about what would be logical to you.

61
00:05:56,750 --> 00:06:06,050
‫So I have drawn a lot of graphs here and in each graph, the vertical axis is the error axis and then

62
00:06:06,050 --> 00:06:09,170
‫the horizontal axis is the time axis.

63
00:06:10,140 --> 00:06:16,410
‫So if you think conceptually, then tell me, what lambdas would you choose?

64
00:06:17,610 --> 00:06:28,350
‫To get this error behavior and what about if you want to have this kind of behavior, so you see it

65
00:06:28,350 --> 00:06:36,630
‫also goes to zero, the error, it also approaches zero, but in a stronger way compared to the first

66
00:06:36,630 --> 00:06:37,090
‫graph.

67
00:06:38,040 --> 00:06:42,260
‫So what numbers would you choose in order to get this kind of behavior?

68
00:06:43,110 --> 00:06:47,320
‫What about if you don't want your error to go to zero?

69
00:06:47,520 --> 00:06:57,770
‫What about if you want your error to become bigger like this or bigger even in a stronger way like this?

70
00:06:58,650 --> 00:07:04,250
‫What kind of lambdas would you choose to achieve this and this behavior?

71
00:07:05,040 --> 00:07:15,280
‫One about if you want your error to oscillate, but at the same time dump out just like that?

72
00:07:16,110 --> 00:07:24,360
‫What about if you want your error to oscillate, but not to dump out, you just want it to oscillate

73
00:07:24,870 --> 00:07:25,710
‫like this?

74
00:07:26,610 --> 00:07:36,420
‫And what about if you want your error to oscillate and then also become bigger in magnitude like this,

75
00:07:37,230 --> 00:07:42,470
‫you see your error oscillates and it becomes bigger in magnitude as well.

76
00:07:43,470 --> 00:07:51,420
‫So just to clarify, this vertical axis here and here and here, they're all error axis.

77
00:07:52,260 --> 00:07:53,910
‫So give it a thought.

78
00:07:54,300 --> 00:07:57,620
‫Think about the general solution here.

79
00:07:57,630 --> 00:08:06,960
‫Think about these lambdas here and how certain lambdas would affect this general solution, this error

80
00:08:06,960 --> 00:08:08,220
‫as a function of time.

81
00:08:09,150 --> 00:08:13,520
‫How would different lambdas make the error behave?

82
00:08:14,520 --> 00:08:17,340
‫Remember, concrete values are not important.

83
00:08:17,550 --> 00:08:20,300
‫What is important is conceptual thinking.

84
00:08:20,850 --> 00:08:30,330
‫So what kind of lambdas would make your error behave like you can see in these graphs?

85
00:08:31,370 --> 00:08:40,160
‫Try to come up with some kind of conceptual combination of lambdas for each of these graphs and then

86
00:08:40,160 --> 00:08:42,440
‫in the next video we're going to discuss it.

87
00:08:43,130 --> 00:08:44,000
‫Thank you very much.

