﻿1
00:00:00,530 --> 00:00:01,340
‫Welcome back.

2
00:00:01,760 --> 00:00:08,570
‫So now that we have our equations of motion in the inertia frame, it's time to start looking at the

3
00:00:08,570 --> 00:00:10,790
‫feedback lionization controller.

4
00:00:11,150 --> 00:00:15,230
‫And first of all, what is a feedback controller anyway?

5
00:00:16,190 --> 00:00:24,470
‫Let's say that you have a random plant here and you also have a random state vector and the random reference

6
00:00:24,470 --> 00:00:25,850
‫vector right here.

7
00:00:26,450 --> 00:00:38,690
‫And therefore a random error vector would be our one minus X one, then R two, minus X two and our

8
00:00:38,870 --> 00:00:41,550
‫three minus X three.

9
00:00:41,600 --> 00:00:42,770
‫It makes sense, right?

10
00:00:43,580 --> 00:00:46,910
‫In other words, you can write it down like this.

11
00:00:47,450 --> 00:00:53,360
‫You have error one, error two and error three.

12
00:00:54,140 --> 00:00:55,910
‫So that's how it would look like.

13
00:00:56,720 --> 00:00:59,010
‫And so the states come out from here.

14
00:00:59,720 --> 00:01:10,940
‫Here you have the reference vector and then you feed your states here where you do the deduction reference

15
00:01:10,940 --> 00:01:19,610
‫minus the states, then you get your error vector and then in the feedback controller you have a row

16
00:01:19,610 --> 00:01:29,410
‫vector that is called K that looks like this K one, key two and key three like this.

17
00:01:30,140 --> 00:01:35,720
‫And so this K row vector, it's going to be right here.

18
00:01:36,320 --> 00:01:38,960
‫And then you have your control input.

19
00:01:39,080 --> 00:01:49,220
‫You hear mathematically you will write this, you vector like this you equals then this roll vector

20
00:01:49,970 --> 00:01:58,310
‫that contains these three key elements and then you multiply that by the error vector, which is a column

21
00:01:58,310 --> 00:02:00,430
‫vector like this.

22
00:02:01,160 --> 00:02:06,550
‫So you multiply your Rocchi vector by your column error vector.

23
00:02:07,250 --> 00:02:20,930
‫And if you do that then you will get K one times E one plus K two times E two plus K three times E three.

24
00:02:21,740 --> 00:02:24,820
‫Note that this is a scalar quantity here.

25
00:02:25,100 --> 00:02:32,540
‫It makes sense right here you have one by three, which is the dimension of this row vector.

26
00:02:32,990 --> 00:02:42,470
‫Here the dimension is three by one and so the inner dimensions cancel out and you're left with a value

27
00:02:42,470 --> 00:02:48,650
‫which is one by one and the one by one vector is a scalar.

28
00:02:49,400 --> 00:02:51,830
‫So it's similar to a proportional controller.

29
00:02:52,010 --> 00:03:00,020
‫Only now you take all your relevant states, you compare them with the reference state values and then

30
00:03:00,020 --> 00:03:04,280
‫you have multiple errors and multiple K values.

31
00:03:04,490 --> 00:03:14,210
‫And in the end you have a control input you, which is a scalar value, and then you find the key values

32
00:03:14,480 --> 00:03:17,410
‫that drive the error to zero.

33
00:03:18,230 --> 00:03:21,310
‫So your objective is to get error to zero.

34
00:03:21,350 --> 00:03:30,560
‫If this is your error dimension and this is your time dimension here, then you want your errors to

35
00:03:30,560 --> 00:03:36,430
‫go to zero like here as time goes to infinity.

36
00:03:37,220 --> 00:03:41,510
‫So mathematically you can write it like this limit.

37
00:03:41,520 --> 00:03:48,460
‫As time goes to infinity, your error should approach zero.

38
00:03:49,220 --> 00:03:50,300
‫That's your goal.

39
00:03:50,300 --> 00:03:53,500
‫That's the entire purpose of control engineering.

40
00:03:54,230 --> 00:03:57,820
‫So that's the general structure of the feedback control.

41
00:03:58,010 --> 00:04:02,260
‫And now let's see how it all fits in in our case.

42
00:04:03,140 --> 00:04:04,040
‫Thank you very much.

