Question

6. For the following mechanical system: a) Find a mathematical model b) Find the transfer function, G(s) = c Find impulse, st
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Anbwe for Question 6 米 As per the , Given fiqure information we have to the too geat systems N, and N2 Na and Ny The values o

Applying laplace Transform TLS) function áls)-Cz(S) T5) Tranfer s+1.785+2Part C&D:

Programming code Using MATLAB:

clc;

clear all;

close all;
sys=tf([1],[1,1.98,2]); ############## Defining G(s)
figure(1) ######## Plot for  impulse response
impulse(sys)
figure(2)#####Plot for step response
step(sys)
########## Plotting ramp response using 'lsim' command
t=0:0.1:10;
ramp=t;
######## obtaining the response 'r' of the model for input 'ramp'
[r,t]=lsim(sys,ramp,t);
%plotting 'r' vs. time
figure(3)
plot(t,r)
title('Ramp Response')
xlabel('Time (seconds)')
ylabel('Amplitude')
######### harmonic response using 'bode' command
figure(4)
bode(sys)

MATLAB O/P:

Impulse Response::Impulse Response 0.35 0.3 0.25 0.2 0.15 0.1 0.05 0.05 2 3 6 Time (seconds)Step response:

Step Response 0.6 0.5 0.4 0.3 0.2 0.1 2 4 5 6 Time (seconds)

Ramp Response:

Ramp Response 5 4.5 3.5 3 2.5 2 1.5 0.5 0 123 45 678 9 10 Time (seconds)Bode Diagram:

Bode Diagram -60 -80 -45 dD 90 0 -135 -180 10-1 102 2 10 10 Frequency (rad/s) 10

If you have any doubt about Matlab Code, Comment below

Add a comment
Know the answer?
Add Answer to:
6. For the following mechanical system: a) Find a mathematical model b) Find the transfer functio...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT