Challenge

Project - Position control of mass spring damper system

1)

Simukink model:

The simulink model is designed for the Mass Spring Damper system with PID controller, and the scope shows the response between the response of Spring mass damper with PID and without PID.

Matlab code:

Matlab code is generated to give the values of the Mass, Spring, and Damper constants, Zeta, Wn, A matrix and B matrix, Poles, and Kd, Kp as shown below,

Output:

Conclusion:

By using the PID controller to the Spring Mass Damper system, we reduce the Overshoot, undershoot, delay time, response time, which shown in the graph.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.