I am Martin J. I am a Signals and Systems Assignment Expert at matlabassignmentexperts.com. I hold a Master's in Matlab, from the University of Maryland. I have been helping students with their assignments for the past 10 years. I solve assignments related to Signals and Systems.
Visit matlabassignmentexperts.com or email info@matlabassignmentexperts.com.
You can also call on +1 678 648 4277 for any assistance with Signals and Systems assignments.
1. Signals and Systems Homework Help
For any Homework related queries, Call us at : - +1 678 648 4277
You can mail us at : - info@matlabassignmentexperts.com or
reach us at : - https://www.matlabassignmentexperts.com/
matlabassignmentexperts.com
2. PROBLEMS
1 . Consider an inverted pendulum mounted on a movable cart as depicted in
Figure P26.1. We have modeled the pendulum as consisting of a massless rod of
length L, with a mass m attached at the end. The variable 0(t) denotes the
pendulum's angular deflection from the vertical, g is gravitational acceleration,
s(t) is the position of the cart with respect to some reference point, a(t) is the
acceleration of the cart, and x(t) represents the angular acceleration resulting
from any disturbances, such as gusts of wind.
matlabassignmentexperts.com
3. Our goal in this problem is to analyze the dynamics of the inverted pendulum and
more specifically to investigate the problem of balancing the pendulum by judi
cious choice of the cart acceleration a(t). The differential equation relating 0(t),
a(t), and x(t) is
This relation merely equates the actual acceleration of the mass along a direction
perpendicular to the rod and the applied accelerations (gravity, the disturbance
acceleration due to x(t), and the cart acceleration) along this direction. Note that
eq. (P26.1-1) is a nonlinear differential equation relating 0(t), a(t), and x(t). The
detailed, exact analysis of the behavior of the pendulum therefore requires that
we examine this nonlinear equation; however, we can obtain a great deal of
insight into the dynamics of the inverted pendulum by performing a linear
analysis. Specifically, we will examine the dynamics of the pendulum when it is
nearly vertical (i.e., when 0(t) is small). In this case, we can make the approx
imations
matlabassignmentexperts.com
4. (a) Suppose that the cart is stationary (i.e., a(t) = 0) and consider the causal LTI
system with input x(t) and output 0(t) described by eq. (P26.1-1) together with
the approximations given in eq. (P26.1-2). Find the system function for this
system and show that it has a pole in the right half-plane, implying that the
system is unstable.
The result of part (a) indicates that if the cart is stationary, any minor
angulardisturbance caused by x(t) will lead to growing angular deviations from
the vertical. Clearly, at some point these deviations will become sufficiently
large that the approximations of eq. (P26.1-2) will no longer be valid. At this
point the linear analysis is no longer accurate, but the fact that it is accurate for
small angular displacements allows us to conclude that the vertical equilibrium
position is unstable, as small angular displacements will grow rather than
diminish.
(b) We now wish to consider the problem of stabilizing the vertical position of the
pendulum by moving the cart in an appropriate fashion. Suppose that we try
proportional feedback, with a(t) = KO(t). Assume that 0(t) is small so that the
approximations in eq. (P26.1-2) are valid. Draw a block diagram of the linear
system with 0(t) as output, x(t) as the external input, and a(t) as the signalthat
is fed back. Show that the resulting closed-loop system is unstable. Find a
value of K such that if x(t) = 5(t), the pendulum will sway back and forth in an
undamped oscillatory fashion.
matlabassignmentexperts.com
5. (c) Consider using proportional plus derivative (PD) feedback:
Show that we can find values of Ki and K2 that do stabilize the pendulum. In
fact, using
g = 9.8 m/s', L = 0.5 m,
choose values of Ki and K2 so that the damping ratio of the closed-loop system
is 1 and the natural frequency is 3 rad/s.
2 Consider the feedback system given in Figure P26.2.
matlabassignmentexperts.com
6. (a) The closed-loop system is a new second-order system. Find the new natural
frequency ,, and the new damping factor k for K = 1.
(b) Find the poles of the closed-loop transfer function.
(c) Sketch the trajectory of the poles as K goes from negative infinity to
positiveinfinity.
3 Consider the system in Figure P26.3.
matlabassignmentexperts.com
7. c) For what range of values of a, 0, and r will both H1(s) andH2(s) be stable?
4. Consider the feedback system in Figure P26.4.
Find the closed-loop poles and zeros of this system for the following values of K
(a) K = 0.01
(b) K = 1
(c) K = 10
(d) K = 100
matlabassignmentexperts.com
8. 5. Sketch the root loci for K > 0 and K < 0 for each of the following systems.
(a)
(b)
matlabassignmentexperts.com
9. 6. Consider again the discrete-time feedback system of Example 11.3 of the text
(page712):
The root loci for K > 0 and K < 0 are depicted in Figure P26.6.
(a) Consider the root locus for K > 0. In this case the system becomes unstable
when one of the closed-loop poles is less than or equal to -1. Find the value of
K for which z = -1 is a closed-loop pole.
(b) Consider the root locus for K < 0. In this case the system becomes unstable
when one of the closed-loop poles is greater than or equal to 1. Find the value
of K for which z = 1 is a closed-loop pole.
(c) What is the full range of values of K for which the closed-loop system is
stable?
matlabassignmentexperts.com
10. 7. In this problem we consider several examples of the design of tracking systems.
Consider the system depicted in Figure P26.7. Here H,(s) is the system whose
output is to be controlled, and He(s) is the compensator to be designed. Our
objective in choosing H,(s) is that we would like the output y(t) to follow the input
x(t). Spe cifically, in addition to stabilizing the system, we would also like to
design the sys tem so that the error e(t) decays to zero for certain specified inputs.
matlabassignmentexperts.com
11. (a) Suppose that
Show that if He(s) = K (which is known as proportional or P control), we can
choose K to stabilize the system so that e(t) goes to 0 if x(t) = b(t). Show that we
cannot get e(t) -0 if x(t) = u(t).
(b) Again, let H,(s) be as in eq. (P26.7-1) and suppose that we use proportional
plus integral(PI) control:
Show that we can choose K, and K2 to stabilize the system, and we can also get
e(t) -0 if x(t) = u(t). Thus, this system can track a step. In fact, this illus trates a
basic and important fact in feedback system design: To track a step (X(s) = 1/s),
we need an integrator (1/s) in the feedback system.
matlabassignmentexperts.com
12. 8. Consider a system with system function
This system is unstable, and we would like to devise some method for its sta
bilization.
(a) Consider first a series compensation scheme as illustrated in Figure P26.8-1.
Show that the overall system of this figure is stable if the system function C(s)
is taken as
In practice, this is not considered a particularly useful way to attempt to sta
bilize a system. Explain why.
matlabassignmentexperts.com
13. (b) Suppose that instead we use a feedback system as depicted in Figure P26.8-2.
Is it possible to stabilize this system using a constant gain for the compensating
element, i.e., C(s) = K? Justify your answer.
(c) Show that the system of Figure P26.8-2 can be stabilized if C(s) is a
proportional plus derivative system:
C(s) = K(s + a)
Consider both 0 < a < 1 and a > 1.
(d) Suppose that C(s) = K(s + 2). Choose the value of K so that the closed-loop
system has a pair of complex poles with a damping ratio of = 1.[Hint: In this
case the denominator of the closed-loop system function must have the form
s2+ S + W2.}
matlabassignmentexperts.com
14. 9. In Problem P26.7 we discussed how the presence of an integrator in a feedback
sys tem can make it possible for the system to track a step input with zero error in
steady state. This problem extends this idea. Specifically, consider the feedback
sys tem depicted in Figure P26.9, and assume that the overall closed-loop system
is sta ble. Suppose also that H(s) has the form
where a and #kare given, nonzero numbers and I is a positive integer. The
feedback system of Figure P26.9 is often referred to as a Type 1feedback system.
matlabassignmentexperts.com
15. (a) Use the final value theorem (Section 9.5.9 of the text) to show that a Type 1
feedback system can track a step, i.e., that
e(t) -0 if x(t) = u(t)
(b) Similarly, show that a Type 1 system cannot track a ramp but rather that
e(t) -a finite constant if x(t) = U 2 (t)
(c) Show that for a Type 1 system, unbounded errors result if x(t) = uk(t), with
k > 2.
(d) More generally, show that for a Type 1system,
(i) e(t) -0 if x(t) = U k(t), with k s 1
(ii) e(t) -a finite constant if x(t) = Um e(t)
(iii) e(t) --oc if x(t) = uk(t), with k > 1 + 1
10. (a) Consider the discrete-time feedback system of Figure P26.10. Suppose that
Show that this system can track a unit step in the sense that if x[n] = u[n], then
lim e[n] = 0
matlabassignmentexperts.com
16. (b) More generally, consider the feedback system of Figure P26.10 and assume
that the closed-loop system is stable. Suppose that H(z) has a pole at z = 1. Show
that the system can track a unit step. [Hint: Express the transform E(z) of e[n] in
terms of H(z) and the transform of u[n]; explain why all the poles of E(z) are
inside the unit circle.]
The results of parts (a) and (b) are discrete-time counterparts of the results for
con tinuous-time systems discussed in Problems P26.7 and P26.9. In discrete
time, we can also consider the design of systems that track specified inputs
perfectly after a finite number of steps. Such systems are known as
deadbeatfeedback systems, sev eral examples of which are illustrated in the
remainder of this problem.
matlabassignmentexperts.com
17. (c) Consider the discrete-time system of Figure P26.10, with
Show that the overall closed-loop system has the property that it tracks a
step input exactly after one step. That is, if x[n] = u[n], then e[n] = 0, n > 1.
(d) Show that the feedback system of Figure P26.10, with
has the property that the output tracks a unit step perfectly after a finite
num ber of steps. At what time step does the error e[n] first settle to zero?
(e) More generally, consider the feedback system of Figure P26.10. Find H(z)
such that y[n] perfectly tracks a unit step for n > N and in fact such that
where the ak are specified constants. [Hint: Use the relation between H(z)
and E(z) when the input is a unit step and e[n] is given by eq. (P26.10-2).]
matlabassignmentexperts.com
18. (f) Consider the system of Figure P26.10, with
Show that this system tracks a ramp x[n] = (n + 1)u[n] exactly after two time
steps.
matlabassignmentexperts.com
19. SOLUTIONS
1 .(a)
Taking the Laplace transform of both sides yields
The pole at g/L is in the right half-plane and therefore the system is unstable.
(b) We are given that a(t) = K0(t). See Figure S26.1-1.
matlabassignmentexperts.com
20. so, with
ϴ(s)/X(s) is given by
The poles of the system are at
which implies that the system is unstable. Any K < g will cause the system poles
to be pure imaginary, thereby causing an oscillatory impulse response.
matlabassignmentexperts.com
21. (c) Now the system is as indicated in Figure S26.1-2.
The poles are at
matlabassignmentexperts.com
22. which can be adjusted to yield a stable system. A general second-order system can
be expressed as
so, for our case,
2 . (a) Here
matlabassignmentexperts.com
24. (b) Now we want to determine the poles of the closed-loop system
The poles are at
(c)
The poles start out at ± 0o, approach each other and touch at K = 2 -1, and then
proceed to -fo, ±joo.
matlabassignmentexperts.com
25. 3 .
(c) For stability we require the pole to be in the left half-plane.
If /3> 0, then r/a > -KK 2; if # < 0, then r/a < -K 1 K2.
4.
matlabassignmentexperts.com
26. (a)
The zero is at s = -100, and the pole is at s = -99.0198.
(b) K= 1,
The zero is at s = -100; the pole is at s = -50.5.
(c) K =10,
The zero is at s = -100; the pole is at s = -10.
matlabassignmentexperts.com
27. (d) K = 100,
The zero is at s = -100; the pole is at s = -1.9802.
5.(a)
The pole is at s = -1 -K, as shown in Figure S26.5-1.
matlabassignmentexperts.com
28. The pole moves from infinity to negative infinity as K changes from negative
infinity to infinity.
(b)
The poles are at s, as shown in Figure S26.5-2.
matlabassignmentexperts.com
29. The poles start at ± oo when K = -oo, move toward -1, touch when K = 4, and
proceed to -1 ± joo as K approaches positive infinity.
6 . (a) The poles for the closed-loop system are determined by the denominator
of the closed-loop transfer function
so
Since we are told a pole occurs when z = -1, we want to solve the equation for K:
(b) In a similar manner to that in part (a),
matlabassignmentexperts.com
30. (c) From the root locus diagram in Figure P26.6, we see that for K > 0 when K
exceeds a critical value of K = -', as determined in part (a), one root remains
outside the unit circle. Similarly, when K < -8, one root is outside the unit circle.
Therefore, to ensure stability, we need
7. (a) The closed-loop transfer function is
and, therefore, from the given He(s) andH,(s), we have
The system is stable for denominator roots in the left half of the s plane; there fore
-(K + 1)a < 0 implies that the system is stable. Now since E(s)He(s)H,(s) = Y(s),
we have
matlabassignmentexperts.com
31. The final value theorem, lim , e(t) = lim,_. sE(s), shows that
Note that if x(t) = u(t), then
and
so limt-, e(t) # 0.
matlabassignmentexperts.com
32. The poles for this system occur at
Note that if a(K + 1) > 0 and if K2a > 0, we are assured that both poles are in the
left half-plane. Therefore, a(K + 1) > 0 and K 2a > 0 are the conditions for stability.
Now since
matlabassignmentexperts.com
33. then
for a(KI + 1) > 0 and K2a > 0, so we can track a step with this stable system.
8 . (a)
We can see from this expression that the overall transfer function for the sys
tem is
a stable system. In effect, the system was made stable by canceling a pole of
H(s) with a zero of C(s). In practice, if this is not done exactly, i.e., if any com
ponent tolerances cause the zero to be slightly off from s = 2, the resultant
system will still be unstable.
matlabassignmentexperts.com
34. The poles are at
We see from this that at least one pole is in the right half-plane, i.e., there is
instability for all values of K.
matlabassignmentexperts.com
35. The poles are at
Now, if Ka -2 > 0, the system is stable. K > 2/a because a > 0 is assumed. This is
true for 1 > a > 0 and 2 > a > 1. For a > 2, the system is stable for K > 1.
9 .
matlabassignmentexperts.com
38. 10 .
The poles are at i + -. These poles are inside the unit circle and therefore yield
stable inverse z-transforms, so e[n] = b[n] + (2 stable sequences). So lim-,.e[n] =
0.
since H(z) has a pole at z = 1. Now
matlabassignmentexperts.com
39. Furthermore, we know that
There are no poles for Iz I > 1 because h[n] is stable. Therefore,
has no poles for IzI > 1, and lim,-e[n] = 0.
matlabassignmentexperts.com