Challenge

Project - Position control of mass spring damper system

1.)

  • Obtained the transfer function of a mass spring damper system and used it in the model. Also added a PID controller to adjust the force on mass so that its position follows a reference signal.
  • m = 3.6 kg
  • k = 400 N/m
  • c = 100 Ns/m
  • The reference signal is shown in the question.
  • The simulink model for the above conditions are as follows:

  • The matlab script to run the above simulink model is

  • The workspace is shown below

  • The values of Kp & Kd are found out using the quations in the matlab script, while the value of Ki is given manually, and verified for different values of Ki.
  • When Ki=0

  • Ki=1

  • Ki=10

  • Ki=100

  • Ki=500

  • Ki=1000

  • The supporting documents have been uploaded.
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.