PID controllers not controlling drone in simscape

40 Views Asked by At

I have made a drone model in simscape by importing CAD design and made control design using four PID controllers for Altituted , Roll , Pitch and Yaw . enter image description here enter image description here But when running simulation , drone is quickly jumping off to a much larger height than in the reference height and is not stable . It doesnt look like it is not following the commands of PID . enter image description here

In altitde scope it is overshooting a lot against the reference value of 5m . Is there any problem in simulation or there is something wrong in external forces.

I added torques that came from PID reading on all four revolute joints of motor . I modelled thrust forces using external force blocks using equation of thrust ($ \k .omega^2 $) . I expected it to get stable at refernce height and hover around but it just jumps off rapidly and keeps rising with unstable motion .

0

There are 0 best solutions below