simulating a fixed wing UAV using guidance vectors
3 views (last 30 days)
I am trying to simulate the flight of a fixed wing UAV using three functions
v(x,y) gives the air speed as a function of position
w(x,y) the turning rate as function of position
c(h) the rate of change of altitude as function of altitude
I would like to have these three functions guide the motion of the plane.
What is the simplest way to do that using matlab simulink and UAV toolbox
Jianxin Sun on 30 Nov 2020
You can choose to use the UAV Guidance Model block by setting its type to fixed wing guidance model. The block accepts air speed and height command directly. If you need to regulate the rate of change of altitude, you can put a limit on the UAV's flight path angle. You can control the turning rate of your UAV by sending roll angle command to the UAV. You can check the example https://www.mathworks.com/help/uav/ug/tuning-waypoint-follower-for-fixed-wing.html for how to achieve desired turning rate using roll angle in the heading control MATLAB function block.