AIE MS3 2020 Exercises

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Exercise Lecture 3 Modeling and Simulations

1) Given the following system block diagram

a. Derive a free body diagram of this system


b. Derive the system difference equation
c. Use ODE solver to simulate the system for 100s for 𝑏𝑏1 = 1, 𝑘𝑘1 = 1, 𝑏𝑏2 = 1, 𝑘𝑘2 = 1, 𝑚𝑚 = 10
d. Will the system eventually decay to a rest given initial conditions 𝑥𝑥0 ≠ 0
i. Why?
ii. How do we make the system decay faster?

2) Given the following systems block diagrams:

a) Derive a free body diagram of the system


b) Write the two differential equations which describe 𝑚𝑚1 and 𝑚𝑚2
a. System 1) Simulate the system using ODE45, set 𝑏𝑏1 = 0.5, 𝑘𝑘1 = 1, 𝑘𝑘2 = 1, 𝑘𝑘3 = 1, 𝑚𝑚1,2 = 10, 𝑦𝑦 =
0, 𝑥𝑥0 = [1 0 0 0]
i. What is the consequence of 𝑏𝑏1 = 0
b. System 2) Simulate the system using ODE45, set 𝑏𝑏1 = 0.5, 𝑘𝑘1 = 1, 𝑘𝑘2 = 1, 𝑘𝑘3 = 1, 𝑚𝑚1,2 = 10, 𝑥𝑥0 =
[1 0 0 0]
i. What is the consequence of 𝑏𝑏1 = 0
3) Given the following circuit (RC) circuit, derive the differential equation of the circuit

a. Find the differential equation of this system


b. Implement the 1st order differential equation into matlab and solve using ODE45 for different values of
C and R and 𝑉𝑉𝑠𝑠
i. What is the consequence of increasing R
ii. What is the consequence of increasing C
iii. What is the consequence of V being either 0 or some positive value?

You might also like