PI Controller for 1st & 2nd Order System in MATLAB Simulink
Version 1.0.0 (49.2 KB) by
Prem Manoj Mule
Simulate first and second-order systems with a PI controller using MATLAB Simulink. Observe improved control and steady-state accuracy.
PI Controller for 1st & 2nd Order System in MATLAB Simulink.
This MATLAB Simulink project illustrates the simulation of first-order and second-order systems under the control of a Proportional-Integral (PI) Controller. The model enables users to visualize how adding an integral term improves the system’s steady-state error and overall performance compared to basic P control.
Advantages of PI Controller:
- Eliminates Steady-State Error = The integral action ensures that the output reaches the desired setpoint without a constant offset.
- Improved Accuracy = More precise control than a simple P controller, especially for systems requiring zero steady-state error.
- Better Disturbance Rejection = Can correct for external disturbances more effectively due to the memory (integral) term.
- Stable and Smooth Response = Balances fast response and stability without introducing excessive overshoot when tuned properly.
- Simple Design and Implementation = Easier to design and implement compared to full PID controllers, while still offering enhanced performance.
- Enhanced Low-Frequency Gain = Makes the system more responsive to low-frequency changes, beneficial in many real-world applications.
- Widely Used in Industry = Suitable for many applications like motor speed control, temperature regulation, and process control.
Cite As
Prem Manoj Mule (2026). PI Controller for 1st & 2nd Order System in MATLAB Simulink (https://in.mathworks.com/matlabcentral/fileexchange/181095-pi-controller-for-1st-2nd-order-system-in-matlab-simulink), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024b
Compatible with R2019a and later releases
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: Simulation Of P,PI,PID controller
Inspired: PID Controller for 1st & 2nd Order System in MATLAB Simulink
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
