Lab Report 13
Lab Report 13
Junaid Ahmad-403222
December 2024
1
Contents
1 Objectives 4
2 Apparatus 4
3 Theoretical Background 4
3.1 Proportional Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.2 Integral Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.3 Derivative Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.4 Proportional Integral Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.5 Proportional Derivative Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.6 PID Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
4 Circuit Diagram 7
5 Procedure 7
6 Observations 8
7 Table 9
8 Discussion 9
9 Conclusion 9
10 Safety Precautions 10
2
List of Figures
1 Circuit Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 Temperature control trainer integrated with D-controller . . . . . . . . . . . . . . . . . . . . . 8
3 Temperature control trainer integrated with I-controller . . . . . . . . . . . . . . . . . . . . . 8
List of Tables
1 D-Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2 I-Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3
1 Objectives
• To verify the effects of the gain of the loop on the dynamic response of the system.
• To draw the curve of the dynamic response of the system.
2 Apparatus
• Temperature control trainer system
• Digital multimeter
• Set of leads
3 Theoretical Background
3.1 Proportional Controller
• The proportional gain in a proportional controller significantly influences the system’s behavior. In-
creasing amplifies the controller’s response to error, leading to a faster rise time and reducing the
steady-state error, although it does not eliminate it entirely.
• The proportional gain in a controller has a direct impact on the system’s rise time, which is the time
taken for the output to reach the set-point. Increasing typically reduces the rise time, allowing the
system to respond more quickly to changes in the input or disturbances.
• When Kp is increased the natural response frequency rises which decreases stability and rise time and
vice versa.
• This produces output which is integral of the input signal. Degree of the system increases.
• Integral controller is less sensitive to input error which makes is less stable.
Ki
m(s) = E(s) (2)
s
4
3.3 Derivative Controller
• A zero is added to the system which increases its stability. Output will be derivative of input error.
• Adding zero increases stability but now offset cannot be eliminated from the system.
• There is some over-shoot in the system because of extra zero added here.
• When (ζ) is greater than one then system is highly stable and over-damped.
• When (ζ) is less than zero then system critically damped and response is fastest.
• When (ζ) is between zero and one then the system is under-damped and hihgly overshoots.
m(s) = sKd E(s) (3)
5
3.6 PID Controller
• A PID controller combines proportional (Kp ), integral (Ki ), and derivative (Kd ) actions to provide a
comprehensive control solution.
• The proportional term provides an immediate correction based on the error, improving the speed of
response.
• The integral term eliminates steady-state error by integrating the error over time and applying a
cumulative correction.
• The derivative term helps reduce overshoot and oscillations by predicting future errors and applying
corrective action.
• The PID controller balances fast response, minimal steady-state error, and stability.
• It offers better accuracy and performance than PI or PD controllers alone.
• The controller’s behavior can be fine-tuned by adjusting the gains (Kp , Ki , Kd ) to suit specific system
dynamics.
• Excessive Kp or Ki can cause overshoot or instability, while too high a Kd may make the system too
sensitive to noise.
Ki
m(s) = (Kp + sKd + )E(s) (6)
s
6
4 Circuit Diagram
5 Procedure
• Connect the relevant bush pins by connecting wires.
7
6 Observations
8
7 Table
Table 1: D-Controller
Table 2: I-Controller
8 Discussion
When the integral controller was integrated with the apparatus, it effectively eliminated the steady-state
error by accumulating and compensating for the error over time. This led to a gradual and stable increase
in temperature as the system reached the desired set point, although at the expense of slower response time
compared to other configurations. However, the integral action introduced a degree of instability in dynamic
responses, particularly when subjected to disturbances, as evidenced by oscillations in temperature.
In contrast, the derivative controller enhanced system stability by anticipating the rate of change of the
error. The integration of the derivative controller allowed for faster convergence to the set point with reduced
overshoot and oscillations, making the system highly stable under dynamic conditions. However, it did not
eliminate the steady-state error, as the absence of an integral component limited its long-term precision. The
response times of the system were faster with the derivative controller compared to the integral controller,
as it adjusted the output more rapidly to account for changes in input.
9 Conclusion
The experiment demonstrated the distinctive advantages and limitations of integrating an integral and a
derivative controller with the temperature control apparatus. The integral controller eliminated steady-state
error, ensuring precision at the cost of slower response and potential instability. On the other hand, the
derivative controller provided rapid and stable responses by dampening oscillations but could not address
the steady-state error. These results highlight the complementary roles of integral and derivative control
9
in achieving a balance between precision and stability, making them crucial components in the design of
comprehensive PID controllers.
10 Safety Precautions
• All lab regulations, guidelines, and standard operating procedures (SOPs) issued by the lab supervisor
or teacher must be followed.
• Before using any electrical equipment, inspect it for damage.
• Never overload power outlets.
10