A control engineering project focused on modeling and comparing four classical controllers—P, PI, PD, and PID—for regulating water temperature in a domestic washing machine.
Accurate water temperature control is an important requirement in washing machines. The selected temperature directly affects washing quality, fabric protection, energy consumption, and the overall performance of the appliance.
In this project, the mathematical model of the washing machine water heating system is first developed. Four classical feedback controllers are then designed and evaluated:
- Proportional Controller (P)
- Proportional-Integral Controller (PI)
- Proportional-Derivative Controller (PD)
- Proportional-Integral-Derivative Controller (PID)
The controller parameters are adjusted, and the performance of each controller is analyzed through MATLAB simulations.
- Develop a mathematical model of the water temperature system
- Design P, PI, PD, and PID controllers
- Adjust the parameters of each controller
- Compare the transient and steady-state responses
- Evaluate controller performance under disturbances
- Reduce steady-state error
- Reduce overshoot
- Improve response time
- Maintain the desired washing water temperature
- Improve energy efficiency and washing quality
The washing machine temperature control system consists of:
- A desired temperature setpoint
- A temperature sensor
- A feedback controller
- A water heating element
- The thermal dynamics of the water and washing chamber
- Environmental and operational disturbances
The controller compares the measured water temperature with the desired temperature and generates the required control signal for the heating element.
The thermal system is modeled based on the relationship between:
- Heater input power
- Water temperature
- Ambient temperature
- Thermal resistance
- Thermal capacitance
- Heat losses
- Water volume
The resulting mathematical model is used to obtain the system transfer function and analyze its dynamic response.
The proportional controller generates a control signal based on the current error.
It generally improves the system response speed but may not completely eliminate the steady-state error.
The PI controller combines proportional and integral actions.
The integral component helps eliminate steady-state error, although it may increase overshoot or settling time.
The PD controller combines proportional and derivative actions.
The derivative component improves damping and transient response but does not independently eliminate steady-state error.
The PID controller combines proportional, integral, and derivative actions.
It provides a balance between response speed, steady-state accuracy, damping, and disturbance rejection.
The controllers are compared using the following performance criteria:
- Rise time
- Settling time
- Overshoot
- Steady-state error
- Stability
- Disturbance rejection
- Control effort
- Response speed
MATLAB is used to:
- Define the system transfer function
- Design the controllers
- Adjust controller parameters
- Generate step responses
- Compare controller performance
- Analyze transient and steady-state behavior
- Evaluate system response under disturbances
According to the simulation results, the PID controller provides the best overall performance among the evaluated controllers.
The PID controller combines the advantages of proportional, integral, and derivative actions and provides:
- Faster response
- Elimination of steady-state error
- Reduced overshoot
- Improved stability
- Better disturbance rejection
- More accurate temperature regulation
The final results demonstrate that the PID controller is the most suitable classical controller for the modeled washing machine water temperature system.
- MATLAB
- Classical Control Theory
- Feedback Control
- Transfer Functions
- Mathematical Modeling
- P Controller
- PI Controller
- PD Controller
- PID Controller
- Step Response Analysis