Challenge

Project - Position control of mass spring damper system

SCRIPT
m=3.6;
k=400;
c=100;
%deign parameters
fn=1;
wn=sqrt(k/m);c=2*zita*wn*m;
zita=c/2*wn*m; % given in the chalenge
%design poles
p1=-zita*wn+wn*sqrt(zita^2-1);
p2=-zita*wn-wn*sqrt(zita^2-1);
p=[p1,p2];
a=[0 1;-k/m 0];
b=[0;1/m];
K1=place(a,b,p);
zita=1.8974%critical
KP=0;
KT=2.0;
KI=0;
MATLAB:
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.