Professional Documents
Culture Documents
HW2 Solutions
HW2 Solutions
1. Given that,
Z ∞
L[f (t)] = F (s) = f (t)e−st dt
0
So,
1
We know that 1 + z + z 2 + z 3 + ..... = 1−z if |z| < 1
Hence,
1
F ˜(s) = F (s)
1 − e−sT
2. a) The convolution of two rectangular pulses p1 (t) and p2 (t) of amplitudes A1 , A2 and
durations T1 , T2 gives a trapezoidal pulse p(t) as illustrated below.
In our case, T1 = T , T1 + T2 = 3T and A1 A2 = TK2
So,
1
K(1 − e−sT )(1 − e−2sT )
L[p(t)] =
T 2 s2
1
f (t) = 2[u(t) − u(t − T )] + (t − 3T )[u(t − T ) − u(t − 3T )]
T
So using properties of Laplace Transform, it is evaluated as
3. a) Taking Laplace Transform both sides for both the differential equations, we have
sR1 (s) − R1 (0) = K1 (R2 (s) − R1 (s))
sR2 (s) − R2 (0) = K2 (R1 (s) − R2 (s))
Rearranging the equations and putting them in matrix form gives
Thus, inverting the above 2X2 matrix and solving for R1 (s) and R2 (s)we have
s + K2 K1
R1 (s) = R1 (0) + R2 (0)
s(s + K1 + K2 ) s(s + K1 + K2 )
s + K1 K2
R2 (s) = R2 (0) + R1 (0)
s(s + K1 + K2 ) s(s + K1 + K2 )
K2 R1 (0) + K1 R2 (0) K1
R1 (t) = + e−(K1 +K2 )t (R1 (0) − R2 (0))
K1 + K2 K1 + K2
K2 R1 (0) + K1 R2 (0) K2
R2 (t) = + e−(K1 +K2 )t (R2 (0) − R1 (0))
K1 + K2 K1 + K2
K2 R1 (0) + K1 R2 (0)
R1 (∞) = R2 (∞) =
K1 + K2
2
R2 (s) in the equations in (a) and get the same result
d) The robots meet midway along the line joining their initial positions, with the ren-
dezvous point dividing that line in the ratio of K1 and K2 respectively. It is the
familiar section formula in plane coordinate geometry.
4. a) Substituting the driver’s feedback scheme in the differential equation of the car, we
get
dv
M + bv(t) = u(t) = Cp(t) = C.K(r − v(t))
dt
Simplifying the above equation, we have
dv
M + (b + CK)v(t) = CKr
dt
Taking Laplace Transform both sides, we have
CKr
(M s + b + cK)V (s) − M V (0) =
s
So,
CKr M V (0)
V (s) = +
s(M s + B + KC) sM + B + KC
KCr 1 1 V (0)
V (s) = ( − )+
b + KC s s + b+KC
m s + b+KC
m
KCr
We observe that as t → ∞, v(t) → b+KC 6= r unless b = 0 or K → ∞.
The physical reason behind this steady state error of this scheme is that the friction
in the system due to damping (b) wants to maintain the system at zero velocity
whereas the controller wants to maintain equilibrium at the reference speed (r) and
hence the system at steady settles somewhere midway where both the forces cancel.
More the the gain, more is the force from the controller and hence the steady state
velocity approaches reference in the limit of high gain.
3
lim e3t = ∞
t→∞
This looks like a contradiction but actually, the Laplace transform for e3t is given by the
integral
Z ∞
e3t e−st dt
0
Taking logarithm both sides (log is an increasing function and hence it preserves the
inequality), we have
t2 − ct < M ∀t
where
M = log(K)
But that is a contradiction since no matter how large c is, there is always a time
after which t2 > ct by any finite number.
Any exponential whose exponent grows faster than a linear function will do as an
example.
b) No. Not necessarily. Consider the function
2
f (t) = sin(et )
4
rate of change of its oscillations is uncontrolled by any exponential and hence its
derivative is not Laplace transformable.
c) Fourier Transformability ⇒ Laplace transformability but the reverse is not true un-
less Re(s)=0 is in the region of convergence of the Laplace Transform.
F [f (t)] = L[f (t)] with Re(s) = 0. So, if a signal is Laplace transformable, it is
not Fourier transformable unless Re(s)=0 lies in the region of convergence of the
Laplace Transform. But if a signal is Fourier transformable, then it is also Laplace
transformable since Fourier transformability implies Laplace Transform converges for
Re(s)=0 and hence would converge for Re(s) ≥ 0 also.
7. a) Applying Kirchoff’s Law, the equation in Laplace domain assuming initial charge
zero is given by
1
Y (s) = U (s)
1 + sCR
1 − e−sDT
U (s) =
s(1 − e−sT )
1 − e−sDT
Y (s) =
s(1 + sCR)(1 − e−sT )
1 − e−sDT 1 1
Y (s) = ( −sT
)( − 1 )
1−e s s + CR
1 1 1 e−sDT 1 1
Y (s) = −sT
( − 1 ) − −sT
( − 1 )
1−e s s + CR 1−e s s + CR
Expanding
1
= 1 + e−sT + e−2sT + ....
1 − e−sT
We have
1 1 −sT
Y (s) = ( − 1 )(1 + e + e−2sT + .... − e−sDT − es[D+1]T − es[D+2]T − ....)
s s + CR
t
L−1 [( 1s − 1
1
s+ CR
)] = u(t)(1 − e− CR ) where u(t) is the unit step function.
5
So,
∞
X t−iT t−[i+D]T
y(t) = u(t − iT )(1 − e− CR − u(t − [i + D]T )(1 − e− CR )
i=0
D
Y (s) =
s(1 + sCR)
1
Y (s) =
s(1 + sCR)
The capacitor sees a constant input of 1V since as time period becomes high, the
capacitor sees only one cycle.
8. a Drawing the free body diagram and writing the equations of motion in Laplace domain,
we have
X2 (s) (s + 1)
= 2 2
F (s) s (s + 2s + 2)
X1 (s) s2 + s + 1
= 2 2
F (s) s (s + 2s + 2)
6
Figure 1
b Let x1 be the displacement of the actual mass given. The tip in these kind of questions
is to place a zero mass whenever there is an intersection of springs and dampers in
series. So, placing a zero mass between f (t) and the spring and calling it m3 = 0
and placing another zero mass m2 = 0 between the spring and the damper, and
calling their respective displacements as x3 and x2 respectively, drawing their free
body diagrams and writing the equations of motion in Laplace domain, we have
Solving for X1 (s) after eliminating X2 and X3 yields the transfer function as
X1 (s) 50
=
F (s) s(10s + 7)(s2 + 50s + 2)
Figure 2
7
Solve for I2 (s),
we get,
I2 (s) s
= 3 2
Vi (s) 6s + 5s + 6s + 2
3s2
G(s) =
6s3 + 5s2 + 6s + 2
Drawing the voltage-force analogous mechanical system below
Figure 3
s(s2 + 2s + 2)
I2 (s) = Vi (s)
s4 + 2s3 + 3s2 + 3s + 2
But,
I2 (s) (s2 + 2s + 2
Vo (s) = = 4 Vi (s)
s s + 2s3 + 3s2 + 3s + 2
Therefore,
The above electrical circuit does not have force-voltage analogous mechanical system in
terms of the mesh currents because some mesh equations will involve second derivatives
8
of two inductor charges but this is not possible in any mechanical system since Newton’s
equations involve only one acceleration per mass..
ẋ(t) + x(t) = 0
We have to now find x(0+ ) when we are given only x(0− ). This is where the impulse
comes in. Integrating the differential equation from t = 0+ to t = 0− we have
Z 0+ Z 0+
+ −
x(0 ) − x(0 ) + x(t)dt = δ(t)dt
0− 0−
R
Note that x(t)dt should be continuous at 0, since if it were not, then it would be
having a step change at 0, and its derivative, x(t) would be having an impulse at 0
and its derivative, ẋ would have the derivative of an impulse at 0, which is not found
R
in the RHS of the differential equation. So, x(t)dt is continuous and hence cannot
R 0+
change abruptly from 0− to 0+ . So, we have that 0− x(t)dt = 0. So, we have
Z 0+
+ −
x(0 ) − x(0 ) = δ(t)dt = 1
0−
So, we have
x(0+ ) = 1 + x(0− ) = 1 + 1 = 2
However, these complications do not arise when we use the Laplace transform (more
R∞
strictly the L− transform defined as 0− f (t)e−st dt where we can use this to solve
the differential equation at one shot. We know that the L− transform of the impulse
function is
Z ∞
L[δ(t)] = δ(t)dt = 1
0−
⇒ x(t) = 2e−t
b) First classically, as usual, let us integrate the above differential equation once and
from 0− to 0+ and arguing the same way we have the x(t)dt to be continuous, we
R
9
have
Z 0+ Z 0+
+ − + −
ẋ(0 ) − ẋ(0 ) + 2[x(0 ) − x(0 )] = δ(t)dt + δ̇(t)dt = 1 + 0
0− 0−
Note that the second term is 0 because the integral simplifies to δ(0+ ) − δ(0− ) = 0
by the definition of impulse function. Substituting x(0− ) = ẋ(0− ) = 1 in the above
equation, we have
ẋ(0+ ) + 2x(0+ ) = 4
Now, integrating the above differential equation from 0+ to 0− twice this time, we
have that
x(0+ ) − x(0− ) = 1
R RR RR
Since x(t)dt and x(t)dt and δ(t)dt = tu(t) are all continuous (repeat the
same argument), they all vanish when integrated over a vanishingly small interval
from 0− to 0+ . The only integrals that survive are written below
Z ∞
x(0+ ) − x(0− ) + 0 + 0 = 0 + δ(t)dt = 1
0−
which gives the above equation. From solving the two equations, we get x(0+ ) and
ẋ(0+ ) as
x(0+ ) = 2
ẋ(0+ ) = 0
Now for t ≥ 0+ , all input terms in the RHS vanish and hence we have the unforced
solution given by
Let us now use Laplace transforms and we have that L[δ(t)] = 1, L[δ̇(t)] = s,
x(0− ) = x(0− ) = 1, we get
2(s + 2)
X(s) =
(s + 1)2
10