Reference Frame for Forces Going into 6DOF (Euler Angles)
19 次查看(过去 30 天)
显示 更早的评论
I am trying to make a model for a quadcopter using simulink and I am using the 6DOF (Euler Angles) block and I am wondering what goes into the F_xyz (N) input. I curently have 4 forces from each of the 4 motors going into a add block then into the F_xyz (N). These forces are all in the Z direction and I was wondering if what I did is valid. Attached is a picture of the problem area. Do I need to run the forces through a rotation matrix first? I am new to both Simulink and controls...
Thanks
0 个评论
采纳的回答
Paul
2023-7-12
According to 6DOF (Euler Angles), the force inputs are the components of the net force resolved in Body Coordinates. If the "Z direction" is in the body-fixed frame, then no furher action needed. If the "Z direction" is fixed to each motor, then the model needs to resolve the force vector applied by each motor into Body Coordinates before summing each motor force to get the net force resolved in Body Coordinates.
7 个评论
Sam Chak
2023-7-13
I have found an image that shows the forward flight is achieved by tilting the drone through a negative pitch rotation about the y-axis.

Thus, I think there should be a transformation matrix
that describes


Paul
2023-7-14
More generally, each propeller generates a force vector Fi. Each force vector needs to be resolved in the coordinate frame fixed to the body of the quad copter. These are then summed together to form the F_xyz input to the 6-DOF block. And the units have to be correct.
Each propeller force produces exerts a moment around the quad copter body c.g. For each propeller force, the moment is cross(ri,Fi) where ri is the vector from the body c.g. to the point of application of the propeller force. It would be easiest to carry out the cross products with ri and Fi both resolved in body coordinates. The moment vectors from each propeller are summed to form the M_xyz input to the 6DOF block. And the units have to be correct.
The 6DOF block assumes a rigid body, which the quad copter isn't. But a rigid body approximation may be sufficent, or at least good enough to start, depending on the quad-copter configuration and how those propellers are actuated to control the flight in pitch, yaw, and roll. I don't know anything about quad copters, so don't have any insight here.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Quadcopters and Drones 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
