MATLAB Answers

simulating a fixed wing UAV using guidance vectors

4 views (last 30 days)
F46
F46 on 23 Nov 2020
Answered: Jianxin Sun on 30 Nov 2020
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

Answers (1)

Jianxin Sun
Jianxin Sun on 30 Nov 2020
Hi,
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.
Thanks,
Jianxin

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!