You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Project Description
The system models a classical second-order mechanical system governed by mass, damping, and spring stiffness. A PID controller is applied to regulate the system position based on the error between the reference input and the actual displacement.
The proportional, integral, and derivative actions are implemented separately and summed to generate the control force applied to the plant. The plant dynamics include inertia, viscous damping, and spring force, modeled through differential equations and solved using integrators.
A key focus of this project is manual PID tuning, allowing users to directly adjust Kp, Ki, and Kd values and observe their impact on system behavior. This hands-on approach helps in understanding the physical meaning of each PID term and its influence on transient and steady-state response, rather than relying on automatic tuning methods.
The model is intended for educational and experimental purposes, enabling users to explore control concepts through trial-and-error parameter adjustment and real-time response analysis.
Cite As
Abd Al-Rhman Reda (2026). PID_MASS_DAMPER_SYSTEM (https://in.mathworks.com/matlabcentral/fileexchange/183218-pid_mass_damper_system), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (15.4 KB)
MATLAB Release Compatibility
- Compatible with R2025b to R2026a
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
