This project demonstrates the PID control implementation for a Mass-Spring-Damper (MSD) system using MATLAB & Simulink.
The mass-spring-damper system is a fundamental model in control theory, representing objects with complex material behavior, including nonlinearity and viscoelasticity.
This transfer function is used as the foundation for both analytical modeling and Simulink simulations.
- Derived the transfer function of the MSD system.
- Implemented the non-linear system model in MATLAB Simulink.
- Designed a PID controller with the following gains:
- Proportional Gain:
Kp = 350
- Integral Gain:
Ki = 300
- Derivative Gain:
Kd = 50
- Proportional Gain:
- Mass (M):
1
- Damping Coefficient (b):
10
- Spring Constant (k):
20
- Step Input:
1
🗂️ Project Structure
├──📄 MassSpringDamper.slx # Simulink model
├──📄 MassSpringDamper_Integration.m # MATLAB implementation
├──📄 MassSpringDamper.pdf # Full project report
📌 Reference
Mass-Spring-Damper System: Wikipedia (https://en.wikipedia.org/wiki/Mass-spring-damper_model)