﻿1
00:00:00,360 --> 00:00:09,690
‫So what we have done here, we have derived an equation of motion for the translational motion, which

2
00:00:09,690 --> 00:00:16,850
‫is a dynamic equation because it assigns the force to the motion of the body.

3
00:00:17,580 --> 00:00:23,950
‫And here the force vector is the net force, so is the sum of the forces.

4
00:00:24,660 --> 00:00:26,910
‫It's not one specific force.

5
00:00:27,240 --> 00:00:29,090
‫It's the sum of the forces.

6
00:00:29,940 --> 00:00:37,110
‫And then this gunman double that is the second time derivative of your position vector, which essentially

7
00:00:37,110 --> 00:00:39,210
‫is your acceleration vector.

8
00:00:40,080 --> 00:00:42,080
‫Now, that's all very good.

9
00:00:42,570 --> 00:00:52,410
‫However, that is all assuming that we are working in the inertial frame, the forces and the accelerations

10
00:00:52,410 --> 00:00:55,070
‫are measured in the inertial frame.

11
00:00:55,920 --> 00:01:03,240
‫And in fact, the second law of Newton, which is F equals M times acceleration.

12
00:01:03,810 --> 00:01:07,000
‫This law is valid in the inertial frame.

13
00:01:07,890 --> 00:01:15,810
‫However, when we work with a drone, then the control forces and control talks are treated in the body

14
00:01:15,810 --> 00:01:16,300
‫frame.

15
00:01:17,190 --> 00:01:26,120
‫If you remember, then our control force was thrust generated by all of the propellers and we called

16
00:01:26,120 --> 00:01:34,710
‫it You Won, and then you two use three and you four.

17
00:01:35,430 --> 00:01:41,760
‫They were roll pitch in your control talks respectively.

18
00:01:42,630 --> 00:01:49,950
‫If you look at how they are applied to the drone, then you see that they are applied to the drone in

19
00:01:49,950 --> 00:01:55,270
‫the body frame, not in the inertia frame, but in the body frame.

20
00:01:56,070 --> 00:02:02,940
‫The reason for that is that it's easier that way, which makes sense because the propellers of the drone

21
00:02:02,940 --> 00:02:06,630
‫are fixed to the body frame and not to the inertia frame.

22
00:02:07,410 --> 00:02:14,370
‫So all that means that we have to work in the body frame and again, not in the inertia frame.

23
00:02:15,150 --> 00:02:23,280
‫So we have to derive the equations of motion for the translational motion when we are in the body frame

24
00:02:23,610 --> 00:02:28,150
‫and see what we get instead of starting from a position vector.

25
00:02:28,800 --> 00:02:31,410
‫Let's start from a velocity vector.

26
00:02:32,310 --> 00:02:42,920
‫Vehbi vector equals U, V and W transposed in meters per second.

27
00:02:43,740 --> 00:02:54,930
‫And remember, you belong to the body frame x axis like this v belong to the body frame y axis and then

28
00:02:54,930 --> 00:02:58,410
‫w you belong to the body frame Z axis.

29
00:02:59,460 --> 00:03:06,420
‫In fact, there is one remark that I want to make with regards to position vectors, when we work in

30
00:03:06,420 --> 00:03:12,080
‫the body frame position vectors in the body frame don't really make sense to me.

31
00:03:12,090 --> 00:03:15,990
‫If you think about it, let's look at the 2D case.

32
00:03:16,980 --> 00:03:18,930
‫You have your inertia frame here.

33
00:03:28,760 --> 00:03:32,750
‫And then you have the body frame that moves from.

34
00:03:33,750 --> 00:03:42,630
‫P one to P two in this Molex direction, so what is the position vector in the body frame?

35
00:03:43,640 --> 00:03:52,490
‫Well, it should be zero meters, right, because even though you moved, but the body frame attached

36
00:03:52,490 --> 00:03:53,890
‫to you moved with you.

37
00:03:54,260 --> 00:03:58,180
‫So relative to the body frame, your position hasn't changed.

38
00:03:59,250 --> 00:04:06,990
‫However, if you forget about position vectors in the body frame and you define velocity vectors in

39
00:04:06,990 --> 00:04:08,040
‫the body frame.

40
00:04:09,000 --> 00:04:18,570
‫If you say that something moves in the body frame, axis direction and this kind of velocity.

41
00:04:19,470 --> 00:04:20,960
‫Then it makes more sense.

42
00:04:21,960 --> 00:04:30,170
‫So if you measure X dot and Y dot in the body frame, then that's more logical to me.

43
00:04:30,960 --> 00:04:38,280
‫And that's why since now we want to derive the equations of motion, but when we are in the body frame,

44
00:04:38,730 --> 00:04:41,450
‫then we are not going to start from a position vector.

45
00:04:41,730 --> 00:04:43,950
‫We are going to start from a velocity vector.

46
00:04:44,880 --> 00:04:49,500
‫Now, this velocity vector here can also be written like this.

47
00:04:50,570 --> 00:04:58,040
‫The in the body frame equals UI plus Vijay plus W.K..

48
00:04:59,050 --> 00:05:10,780
‫It's just another way to write the same thing, and so again, the I, J and K, they are the unit vectors,

49
00:05:11,470 --> 00:05:16,050
‫but now they are not unit vectors in the inertia frame anymore.

50
00:05:16,960 --> 00:05:23,700
‫They are not these unit vectors, their unit vectors in the body frame.

51
00:05:23,920 --> 00:05:34,350
‫This would be I, this would be J and this would be K here in the body frame X, Y and Z direction respectively.

52
00:05:35,110 --> 00:05:41,710
‫And so to derive the equation of motion in the body frame, you need to have an equation for the force

53
00:05:41,710 --> 00:05:50,530
‫vector in the body frame equals the mass of the object times, the acceleration in the body frame.

54
00:05:51,580 --> 00:06:00,370
‫Which is Vedat B vector, so you take this vector and you have to take the time derivative of this vector

55
00:06:01,000 --> 00:06:03,890
‫in order to get the acceleration in the body frame.

56
00:06:04,720 --> 00:06:07,840
‫So let's find the time derivative for this vector.

57
00:06:09,030 --> 00:06:19,440
‫So the time derivative of our velocity vector in the body frame is the following Yuda I plus V the J

58
00:06:19,890 --> 00:06:21,700
‫plus W dot k.

59
00:06:22,230 --> 00:06:30,810
‫However, the product rule from calculus also tells you that you also have to have another term that

60
00:06:30,810 --> 00:06:38,100
‫takes the derivative of I, J and K while keeping your U, V and W the same.

61
00:06:38,910 --> 00:06:45,760
‫So this is what you will get you idot plus v jadot plus w k dot.

62
00:06:46,650 --> 00:06:50,010
‫However, this is where the difference comes in.

63
00:06:50,580 --> 00:07:01,080
‫The second law of Knewton, which is force equals mass times acceleration or the more general case force

64
00:07:01,200 --> 00:07:05,580
‫equals the time derivative of the linear momentum.

65
00:07:06,090 --> 00:07:11,180
‫This law says that it is true in the inertial frame.

66
00:07:12,210 --> 00:07:22,500
‫It means that this law is true when the X, Y and Z axis are fixed.

67
00:07:23,130 --> 00:07:39,960
‫It means that I dot equals Jadot equals K dot equals zero units per second, meaning that the unit vectors

68
00:07:39,960 --> 00:07:43,900
‫don't change their direction nor magnitude in time.

69
00:07:44,760 --> 00:07:49,740
‫However, when you're in the body frame, then you're not fixed.

70
00:07:50,310 --> 00:07:54,540
‫As the drone rotates, the body frame rotates with it.

71
00:07:54,870 --> 00:08:02,190
‫With respect to the inertia frame, it means that in the body frame, the time derivative of the unit

72
00:08:02,190 --> 00:08:12,240
‫vectors ie that Jadot and K that they do not equal zero.

73
00:08:13,270 --> 00:08:22,030
‫And that means that we have to find our IDOT Jadot and K Dot and incorporate them in our equations of

74
00:08:22,030 --> 00:08:22,630
‫motion.

75
00:08:23,540 --> 00:08:32,180
‫And that's how our translational equations of motion will look like if we work in the body frame, that

76
00:08:32,180 --> 00:08:41,060
‫can rotate with respect to the inertia frame, the idot Jadot and key that they do not disappear this

77
00:08:41,060 --> 00:08:41,600
‫time.

78
00:08:42,720 --> 00:08:47,880
‫So this would be the net force vector or the sum of the forces.

79
00:08:48,780 --> 00:08:50,220
‫This is still your mass.

80
00:08:51,120 --> 00:08:55,400
‫The objects mass doesn't change when you change your reference frame.

81
00:08:56,280 --> 00:09:01,510
‫And this entire thing is your the dart in the body frame.

82
00:09:02,400 --> 00:09:09,260
‫And so our next order of business is to find IDOT, Jadot and Cadart.

83
00:09:09,660 --> 00:09:10,670
‫So let's find them.

