Assignment 1
Assignment 1
1
where b is the friction coefficient, m is the mass, l is the length of the rod, g is the gravity
acceleration, Tc (t) is the applied torque and θ(t) is the angle of the pendulum.
(a) Find the equilibrium points when the applied torque is constant and equal to:
mgl
Tc (t) =
2
Assume that the pendulum can rotate 360◦.
(b) Linearize the system around the equilibrium points found in Part (a).
˙
(c) Assume that b/ml2 = 0.2, g/l = 1, ∆θ(0) = 0, ∆θ(0) = π/4 and Tc (t) = mgl/2= constant.
Obtain, using Laplace transforms, the response ∆θ(t) for both linearized models obtained
in Part (b). Plot ∆θ(t) as a function of t for both cases and comment on the stability of
the different equilibrium points.
1
s+1
U(s) Y(s)
−K−
Gain
3
s+4
2
R(s) Y(s)
G1(s) G3(s) 1
Gain
G2(s) G4(s)
(assume that the valve that operates Qo (t) is the only valve available for control in this system).
The sinusoidal signal represents a flow disturbance that enters directly on the second tank,
and we will assume that it is given by the function sin(t). Build the model in Simulink and
design the On-Off controller such that the level h2 (t) stays within ±5% of the desired value
h2Ref = 0.5. In the report you should include a plot of h2 (t) and Qo (t), and the details of the
On-Off element and the considerations taken in its design.
(Note: As you already know from the analogies, this is exactly the same problem as that of
controlling the voltage across capacitor C2 by manipulating the current source, and as that of
controlling the velocity of mass m2 by manipulating the force applied to mass m1 .)
3
1
h1
Reference s
for h2(t) Relay
Level h1(t)
2
Qo
1
h2
s
Sine Wave
(Disturbance flow) Level h2(t)
Time