All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
Obtain the 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. Take m = 3.6; %kg k = 400; %N/m c = 100; %Ns/m The reference signal is shown in the following figure. Given Data:- m = 3.6 kg …
venkata rama subramaniam
updated on 28 Mar 2023
Obtain the 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.
Take m = 3.6; %kg k = 400; %N/m c = 100; %Ns/m
The reference signal is shown in the following figure.
Given Data:-
m = 3.6 kg
k = 400 N/m
c = 100Ns/m
Transfer function for a spring mass damper system is 1/(m*s^2+c*s+k)
where m is mass, c is damping coefficient and k is spring constant.
after subtituting the respective values in the transfer function
1/(3.6*s^2+100*s+400)
% Design Parameters
m=3.6; % Mass
k=400; % Spring Constant
c=100; % Damping constant
wn=k/m; % Angular Frequency
f=wn/2*pi; % Frequency
zeta=0.9;
p1 = -zeta*wn+wn*sqrt(zeta^2-1); % 1st Pole
p2 = -zeta*wn-wn*sqrt(zeta^2-1); % 2nd Pole
P = [p1;p2]; % Vector containing poles
% A & B matrices
A = [0 1;-k/m c/m];
B = [0;1/m];
% Poles placement design
K = place (A,B,P);
Kp = K(1);
Kd = K(2);
Ki= 11000;
In this model, we have used a Pulse generator as the reference signal. Two mathematical operators blocks are used to conduct mathematical operations. Three gain blocks are used for the Integral(Ki), Proportional(Kp) and Derivative gains(Kd) respectively. One integrator block is used to integrate the signal and one derivative block is used to differentiate the signal. A transfer function is used to function as the spring mass damper system with respective co-efficients. This makes the model much clear.
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Project 2 - SiC/IGBT isolated gate driver reference design with thermal diode and sensing FET
Designing an IGBT or SiC isolated gate driver power stage with advanced protection features requires a thorough understanding of the system requirements, as well as the properties and limitations of the components being used.The power stage should support a single phase from a traction inverter and provide a high level…
27 Nov 2023 10:34 AM IST
Project 1 - 40-V to 80-V adjustable output voltage boost reference design for LIDAR applications
To design a non-synchronous boost controller: The NCV8871 is an adjustable output non−synchronous boost controller which drives an external N−channel MOSFET. The device uses peak current mode control with internal slope compensation. The IC incorporates an internal regulator that supplies charge to the gate…
23 Nov 2023 02:51 PM IST
Project - Position control of mass spring damper system
Obtain the 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. Take m = 3.6; %kg k = 400; %N/m c = 100; %Ns/m The reference signal is shown in the following figure. Given Data:- m = 3.6 kg …
28 Mar 2023 07:27 AM IST
Project - Data Handling and Interpolation
Project : In a laboratory experiment, data of voltage and current has been recorded and the same is attached in an excel file ( Click on this link VI.xlsx ). Read the excel file in the Matlab program and perform the interpolation in the range of -17.3:0.1:0.9. Generate the interactive plot for the interpolated…
23 Feb 2023 10:32 AM IST
Related Courses
0 Hours of Content
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.