﻿1
00:00:00,420 --> 00:00:01,290
‫Welcome back.

2
00:00:01,710 --> 00:00:07,680
‫Let's continue with our rotational motion equations of motion derivation.

3
00:00:08,310 --> 00:00:19,650
‫There is a law that states that the sum of the moments or talks the same thing equals the time derivative

4
00:00:19,650 --> 00:00:21,430
‫of the angular momentum.

5
00:00:21,870 --> 00:00:25,530
‫And right now, we are in the inertial frame.

6
00:00:26,220 --> 00:00:34,140
‫And of course, you can also write it down like this, because this part here is the angular momentum,

7
00:00:34,560 --> 00:00:40,490
‫the mass movement of inertia, matrix times, the angular velocity vector.

8
00:00:41,070 --> 00:00:48,360
‫And so the sum of the moments is also the net moment that we can write down like this.

9
00:00:49,350 --> 00:00:53,030
‫Now, let's rewrite our angular momentum differently.

10
00:00:53,880 --> 00:00:55,470
‫Let's rewrite it like this.

11
00:00:55,950 --> 00:01:08,280
‫Each vector in the inertia frame equals H X times the unit vector plus h y times J unit vector plus

12
00:01:08,280 --> 00:01:11,730
‫H Z times the K unit vector.

13
00:01:12,600 --> 00:01:18,690
‫Assuming that the products of inertia are all a zero kilogram times meter squared.

14
00:01:19,710 --> 00:01:20,910
‫Like this.

15
00:01:22,170 --> 00:01:29,970
‫Then we can rewrite our angular momentum vector in the following way, I excel in the inertia frame

16
00:01:30,180 --> 00:01:43,830
‫times by DOT and then the AI unit vector plus AI y y in the inertia frame times setar dot times J unit

17
00:01:43,830 --> 00:01:56,640
‫vector plus I z z in the initial frame times side dot and then the K unit vector.

18
00:01:57,660 --> 00:02:03,180
‫It comes from this here, so if you write it out, then you will get this thing.

19
00:02:04,160 --> 00:02:13,190
‫And now let's take the time derivative of the angular momentum vector, according to the product rule,

20
00:02:13,640 --> 00:02:24,170
‫you would first take the derivatives of IEX sex I y y and then IDM and then you would leave the other

21
00:02:24,170 --> 00:02:25,730
‫variables as they are.

22
00:02:26,810 --> 00:02:36,440
‫So you can see that I taking the derivative of X, X, I, y, y, and then I now I've taken the derivative

23
00:02:36,440 --> 00:02:43,240
‫of five dot fita dot and that, and now you have the double derivatives here.

24
00:02:44,120 --> 00:02:55,580
‫And finally I've taken the derivatives of I, J and K with respect of time, since we are in the inertia

25
00:02:55,580 --> 00:03:08,840
‫frame that is fixed then our I dot Jadot and K Dot will be zero and so this final term will be entirely

26
00:03:09,140 --> 00:03:10,370
‫zero as well.

27
00:03:11,700 --> 00:03:18,630
‫Here's the problem, though, right now we are in the inertia frame and unlike in the linear momentum

28
00:03:18,630 --> 00:03:25,600
‫case where your M dot was zero kilograms per second.

29
00:03:26,220 --> 00:03:33,880
‫Now, when you treat the time derivatives of your mass moments of inertia, then they are not zero.

30
00:03:34,560 --> 00:03:35,640
‫And why is that?

31
00:03:36,860 --> 00:03:40,320
‫Well, let's take a look at our drone.

32
00:03:40,970 --> 00:03:49,250
‫Let's put it center of mass, where the origin of the inertia frame is, and this is the inertia from

33
00:03:49,250 --> 00:03:51,980
‫here, X, Y and Z.

34
00:03:52,430 --> 00:03:57,350
‫And the origin of the inertia frame is where the center of mass of the drone is.

35
00:03:58,220 --> 00:04:03,400
‫So this configuration is that time equals zero seconds.

36
00:04:04,550 --> 00:04:10,070
‫And now we will rotate the drone about the Z axis.

37
00:04:11,060 --> 00:04:19,580
‫So this is a time equals, let's say, one second as an example, and you can see that the more one

38
00:04:19,580 --> 00:04:27,770
‫is now here and then more to the words here is now here and the entire region has rotated about the

39
00:04:27,770 --> 00:04:28,700
‫Z axis.

40
00:04:29,700 --> 00:04:38,640
‫And now if you start measuring the mass moments of inertia about the inertia X, Y and Z axis.

41
00:04:39,560 --> 00:04:48,000
‫For the drone, for this object, then now you can see that the mass moments of inertia are different.

42
00:04:48,860 --> 00:04:56,990
‫You can see that eye x X is different, I y Y is different because now the mass of this object with

43
00:04:56,990 --> 00:05:00,620
‫respect to the axis is distributed differently.

44
00:05:01,430 --> 00:05:03,470
‫The mass of the drone is the same.

45
00:05:04,010 --> 00:05:10,270
‫But this mass is now positioned with respect to these axes in a different way.

46
00:05:11,150 --> 00:05:18,700
‫And in fact, now you have a case where your object about the axis might not be mass symmetric anymore.

47
00:05:18,710 --> 00:05:26,600
‫So that means that also you have to worry about products of inertia and all that happens because you're

48
00:05:26,600 --> 00:05:35,810
‫measuring your mass moment of inertia with respect to fixed axis X, Y and Z.

49
00:05:35,810 --> 00:05:36,680
‫They are fixed.

50
00:05:36,920 --> 00:05:37,940
‫They are not moving.

51
00:05:37,940 --> 00:05:39,080
‫They are not rotating.

52
00:05:39,080 --> 00:05:40,760
‫They are just fixed to the ground.

53
00:05:41,780 --> 00:05:49,010
‫But as the drone rotates at different times, it is positioned with respect to those acts differently,

54
00:05:49,910 --> 00:05:54,340
‫every time sample you take the eye XXIII.

55
00:05:54,490 --> 00:05:58,100
‫Why are different when the drone is not fixed?

56
00:05:59,180 --> 00:06:09,500
‫And so now, if your time derivative of your mass moment of inertia, I doubt if it's not equal to zero

57
00:06:10,040 --> 00:06:19,520
‫kg time's meter squared per second, if that's the case, then that's a big problem because mass moments

58
00:06:19,520 --> 00:06:22,640
‫of inertia computations are not that easy.

59
00:06:22,880 --> 00:06:26,390
‫And you saw it from the formulas, but they have to be done.

60
00:06:26,900 --> 00:06:34,700
‫However, if you have to do them continuously every time you rotate the drone, then that would be extremely

61
00:06:34,700 --> 00:06:35,510
‫impractical.

62
00:06:35,870 --> 00:06:38,870
‫Imagine that you have to do it all the time continuously.

63
00:06:38,900 --> 00:06:44,950
‫You move the drone a little bit and you have to compute the mass moments of inertia again.

64
00:06:45,350 --> 00:06:48,100
‫So that's really not a good thing.

65
00:06:48,500 --> 00:06:56,930
‫And even if you don't rotate your drone, but you simply fly away from the origin that even then your

66
00:06:56,930 --> 00:06:59,420
‫mass moments of inertia will change.

67
00:06:59,930 --> 00:07:07,010
‫So imagine that first, your drone is like this, where the center of mass of your drone is, where

68
00:07:07,010 --> 00:07:13,460
‫the origin of the inertia frame is, and then the orientation of your drone stays the same.

69
00:07:13,790 --> 00:07:18,470
‫But it will simply fly away from the inertia frame.

70
00:07:19,070 --> 00:07:26,720
‫So the position of the drones center of mass will change with respect to the inertia frame, but the

71
00:07:26,720 --> 00:07:28,280
‫orientation stays the same.

72
00:07:28,880 --> 00:07:32,670
‫Even then, your mass moments of inertia will change, right?

73
00:07:33,260 --> 00:07:33,860
‫Why?

74
00:07:34,250 --> 00:07:41,060
‫Because you're measuring with respect to the axis of the inertia frame and the mass movement of inertia

75
00:07:41,360 --> 00:07:43,340
‫depends on two things.

76
00:07:43,340 --> 00:07:50,390
‫It depends on the mass and how far that mass is from the axis that you're measuring it about.

77
00:07:50,960 --> 00:07:59,180
‫So now all the point masses on this drone are further away from these axis and therefore your total

78
00:07:59,180 --> 00:08:01,610
‫mass movement of inertia will change.

79
00:08:03,030 --> 00:08:11,100
‫And that is one of the big reasons why are we switch from the inertia frame to the body frame.

80
00:08:11,850 --> 00:08:19,050
‫The other reason, of course, is that the control force and control moments of the drone are usually

81
00:08:19,050 --> 00:08:23,930
‫given in the body frame as well, which further simplifies our lives.

82
00:08:25,300 --> 00:08:27,580
‫If you work in the body frame, then.

83
00:08:28,700 --> 00:08:35,420
‫IDOT equals zero kg's times meter squared over second.

84
00:08:36,410 --> 00:08:37,070
‫Why?

85
00:08:37,820 --> 00:08:40,910
‫Because the body frame is glued to the drone.

86
00:08:42,320 --> 00:08:48,980
‫If you look at it, then first of all, your drone is like this, this is your body frame now X, Y

87
00:08:48,980 --> 00:08:49,670
‫and Z.

88
00:08:51,040 --> 00:08:54,490
‫And now we're going to rotated about the body from Z axis.

89
00:08:56,050 --> 00:09:02,860
‫And now your body frame is like this, where this is your body from x axis, Y axis and Z axis.

90
00:09:04,210 --> 00:09:13,120
‫You can see that the body frame moves with the drone, that means that when you move it, then the distances

91
00:09:13,120 --> 00:09:18,780
‫of point masses with respect to the body frame axis do not change.

92
00:09:19,630 --> 00:09:26,640
‫So let's say that this little D.M. here, with respect to the body frame will not change.

93
00:09:27,760 --> 00:09:32,350
‫And that's why now your eye dot equals zero.

94
00:09:33,660 --> 00:09:40,260
‫So let's now derive the equations of motion for the rotational motion in the body frame.

95
00:09:41,570 --> 00:09:49,370
‫Just to stress one thing, the origin of the body frame is placed where the center of mass of the drone

96
00:09:49,370 --> 00:09:51,350
‫is right here.

97
00:09:52,600 --> 00:09:59,620
‫Also, we assume that the drone is mass symmetric about all of its body frame access.

98
00:10:00,950 --> 00:10:07,460
‫Therefore, the products of inertia are all zero and the matrix.

99
00:10:08,830 --> 00:10:09,910
‫Is diagonal.

100
00:10:11,470 --> 00:10:21,910
‫All these assumptions result in the fact that the principal inertia axis exacts I, Y, Y and Z.

101
00:10:22,920 --> 00:10:33,030
‫Beautifully aligned with the body frame, X, Y and Z axis, making our muscles much simpler.

102
00:10:34,080 --> 00:10:39,900
‫So in the next video, we will start with the derivations, so thank you very much and see you there.

