-
A PD (Proportional-Derivative) controller is a type of feedback controller commonly used in control systems. It combines proportional and derivative control actions to improve the system's response and stability. The PD controller calculates the control signal based on the error between the desired setpoint and the actual output, as well as the rate of change of the error.
-
𝑢(𝑡) = 𝐾p(𝑡) + 𝐾d 𝑑𝑒(𝑡)/dt
-
The problem at hand involves the design of a PD controller for a system with a given forward-path transfer function. The objective is to design a controller that satisfies certain specifications, including a specific value for the proportional gain (KP) and a phase margin greater than 25°. The goal is to achieve stable and satisfactory system performance by appropriately designing the controller. The following sections will outline the design procedure, analyze the system's stability, calculate static error constants and steady-state errors, determine the range of possible proportional controller values, and simulate the overall system using SIMULINK.
The forward-path transfer function of a system is
G(s)H(s) =
(a) Design a PD controller such that the KP = 9, and the phase margin is greater than 25◦.
(b) Determine the static error constants and the corresponding steady state errors of the compensated system.
(c) What is the range of the possible values of a proportional controller that can be designed for this system.
- A PD controller can be represented as C= 𝐾p + 𝐾ds ……. where Kp is the proportional constant and kd is the derivative constant
- Using the MATLAB built-in tool pidtool, a PID controller can be simulated to fulfil a corresponding criterion. In this case a phase margin of 25 degree and KP fixed at 9.
- After a couple of iterations, the following parameters were obtained for the controller and the system. kp=9.007 Kd= 1.88 which is almost exactly the same as the calculation
- Gain margin= 13.3 dB and phase margin= 25 deg
- max overshoot= 50.3% -closed loop stability- stable. ❖ Therefore, substituting the values for Kp and Kd
- Answer: Controller= 9 + 1.88S
① The static position error constant Kp is defined by:
,this implies that
- The static acceleration error constant Ka is defined by:
$$Ka = 𝒔^𝟐 ∗ lim_{s \to 0} G(s)= 0$$
The impulse, step and ramp response of the compensated and uncompensated closed loop system is presented below using MATLAB. Impulse response without controller
- From the impulse and step response of the compensated and uncompensated system we can conclude that:
- the uncompensated system is critically damped.
- the maximum overshot and the settling time are higher in the compensated system.
- the maximum overshoot and the settling time can be seen as the tradeoff for higher gain margin.
- The Bode plot the corresponding margins can be drawn using the MATLAB function Margin on the open loop transfer function of the system.
- The Margin plot given below for the uncompensated system indicates that the Uncompensated system has a phase margin of -180 deg at 0 rad/s. this phase margin implies that we have no margin to add, in fact a simple addition of any phase will make the system unstable.
- The PD controller was successfully designed to meet the specifications of KP = 9 and a phase margin greater than 25°
- The chosen values for the proportional gain (KP) and derivative gain (KD) resulted in a stable system with a phase margin that exceeded the required 25°
- The static error constants and corresponding steady-state errors of the compensated system were determined. These values provide insights into the accuracy of the system in achieving the desired setpoint.
- The range of the possible values for the proportional controller was found to be -1 ≤ Kp ≤ 18.1. This indicates that within this range, different proportional gains can be chosen to achieve the desired system performance