辅导案例-ECES356 HW2-Assignment 1

欢迎使用51辅导,51作业君孵化低价透明的学长辅导平台,服务保持优质,平均费用压低50%以上! 51fudao.top
ECES356 HW2 Due on 10/16/20
Special Assignment 1
Drexel University
This special assignment is designed for linearization and simulation of single link planar arm with DC
motor. The model equations which were given in the class: ̇! = " ̇" = 1 (# $ − " −(!)) ̇$ = 1 (() − $ − %")
where 7!"$8 = 7̇ 8
Input () to the system is motor supply voltage.
The system parameters,
a) Derive equilibrium states given input voltage = 15, = 21.2, = 30, = 40 and = 75.
What do you observe? Does the equilibrium exist for each input? Justify your answers.
b) Derive linear models around equilibrium points for u = 15 volts and u = 45 volts. This will give you two
separate linearized systems which you will need to convert into state equations. Hint: Look up the ss
command in MATLAB.
c) Simulate the linearized system using MATLABS lsim command. Plot (you will need your
state space models from part (b) for this) the state trajectories over a variety of different
initial conditions for each of your linearized models.
i. = 10, & = B'" , 0, 0C
ii. = 21.2, & = [0, 0, 0]
iii. = 21.2, & = B'( , 0, 0C
iv. = 21.2, & = B'$ , 0, 0C
v. = 21.2, & = B'" , 0, 0C
vi. = 30, & = B− '" , 0, 0C
vii. = 30, & = [0, 0, 0]
d) Repeat the exact same input and initial conditions used in part (c) but this time using the non-linear
model and MATLAB’s ode45 command. Compare your results from parts C and D by plotting the
trajectories on the same figure. Play around with this and try different inputs with your three
systems (non-linear and two linear models). How are each of the models behaving? For example,
what happens if you use the 45 volt linearized model and give an input of 5 volts Vs 50 volts? What
about 80 volts? Compare this to the non-linear model on the same plot.
e) Compare (by plotting the trajectories on the same figure so that it is easy to compare) and discuss
the results explaining the benefits and risks of the local linearization method.
f) Repeat the exact same input and initial conditions simulation for 4-5 seconds duration using the
= 0.02, # = % = 0.01, = 10, = 2, = 0.5, = 0.2, = 1, = 10, = 0.3
Rectangular, Trapazoidal, and Runge Kutta numerical approximation techniques. Compare and
plot all three techniques on the same graph Vs the non-linear model using ode45.
g) Compare (by plotting the trajectories on the same figure so that it is easy to compare) and discuss
the results explaining the difference between numerical methods such as accuracy and efficiency.

欢迎咨询51作业君
51作业君

Email:51zuoyejun

@gmail.com

添加客服微信: abby12468