Transfer Functions and PID Controller
Transfer Functions and PID Controller
For control input U(s) only (W(s) = 0), the transfer function G₁(s) becomes:
For disturbance input W(s) only (U(s) = 0), the transfer function G₂(s) becomes:
where,
where Kₚ is the proportional gain, Kᵢ is the integral gain, and Kd is the derivative gain. Let's
assume that we will need all three of these gains in our controller. To begin, we might start with
guessing a gain for each: Kₚ = 208025, Kᵢ = 832100, and Kd = 624075. This can be implemented
into MATLAB by adding the following code into your m-file: