Challenge

Project - Position control of mass spring damper system

The followinf code is coded on the madlab scrip field:

% initial conditions
m = 3.6; % kg
k = 400; % N/m
c = 100; % Ns/m
% Pole placement design
fn = 1.0; % natural frequency design
wn = 2*pi*fn; % Natural frequency in
% A & B matrix value
A = [0 1; -k/m -c/m];
B = [0; 1/m];
% Design values
zeta = 0.5; % for an under-damped behavior
p1 = -zeta*wn+wn*sqrt(zeta^2-1);
p2 = -zeta*wn-wn*sqrt(zeta^2-1);
p= [p1;p2];
K = place(A,B,p);
On obtaining the Kp Kd and Ki values:
The block is developed
The follwing plot is obtained in the waveform:

Conclusion:

The project of Position control of mass spring damper system transfer function of a mass spring damper system and use it in the model. Add a PID controller to adjust the force on mass so that its position follows a reference signal to using matlab and simulink wave from plot.

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.