Challenge

Project - Position control of mass spring damper system

AIM-  To design the project of position control of mass spring damper system using matlab simulink model of 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.

Objective- 

Transfer functions of mass damper system.Add a PID controller to adjust the force on mass so that its position follows a reference signal. the matlab model of the pid control and transfer function pulse wavefrome generator.

Transfer function 

The numerator coefficient can be a vector or matrix expression. The denominator coefficient must be a vector. The output width equals the number of rows in the numerator coefficient. You should specify the coefficients in descending order of powers of s.

'Parameter tunability' controls the runtime tunability level for numerator and denominator coefficients.

'Auto': Allow Simulink to choose the most appropriate tunability level.

'Optimized': Tunability is optimized for performance.

'Unconstrained': Tunability is unconstrained across the simulation targets.

Matlab code 

clc
clear all
% intial condition position for damper mass system
m=3.5; %kg
k= 400; %n/m
c=100; %ns/m
% pole design
fn= 1.0;
wn = 2*fn*pi;
% A & B matrix value
A=[0 1;-k/m -c/m]; % A is using Matrix c and k dived value of mass
B=[0;1/m];
% design values
zeta=0.5;
% desired pole value
p1=-zeta*wn*wn*sqrt(zeta^2-1);
p2=-zeta*wn*wn*sqrt(zeta^2-1);
p=[p1;p2];
%place comment is the kp and kd
K=place(A,B,p);
 
%end
 
 

m=3.5

m =

3.5000

>> k=400

k =

400

>> c=100

c =

100

>>


>> A

A =

0 1.0000
-114.2857 -28.5714

>> B

B =

0
0.2857

>>

K

K =

1.0e+03 *

-1.4228 -0.1000

To complte 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.