
Opis
A controller that holds a fixed altitude is only a starting point. Tracking changing references under disturbances and thrust limits requires deeper insight. MATLAB Drone Coding for Beginners Book 2 helps you build that understanding through progressively developed altitude-control simulations.Building on the first book in the series, MATLAB Drone Coding for Beginners: From Hover Thrust to PID Altitude Control, this book advances to trajectory tracking and realistic PID control.
You'll refactor PID code into reusable functions, track time-varying altitude references, and add feedforward control. Position and velocity tracking logic adds realism. You'll connect PD gains to natural frequency and damping ratio, use second-order response concepts to guide tuning, and introduce integral action to reduce steady-state error.
With actuator saturation in the one-dimensional altitude model, you will examine integral windup and compare conditional integration and clamped-integrator anti-windup. Plots and metrics like overshoot, rise time, and mean absolute error help you assess results. Guided by Dr Ma Mohin, a Chartered Engineer and Lecturer at the University of Greater Manchester, UK, you'll learn to explain why responses change and how to assess MATLAB PID altitude-tracking simulations.