Circuit Analysis
Circuit Analysis
1. (a) Negative, (b) Positive, (c) Negative, (d) Positive, (e) Positive.
2. (a) The time constant is 100 1
= 10 ms. (b) We need to solve 5.5 = 5 + 2e−100t ⇒ e−100t = 0.25 ⇒
−100t = ln 0.25 = −1.386
⇒ t = 13.86 ms. Alternatively, we can use the standard formula, derived
7−5
in lectures, t = τ ln 5.5−5 = 10 × ln 4 = 13.86 ms. (iii) The general formula, derived in lectures, is
A−5
TA→B = τ ln B−5 .
2
−200j −200j 402
3. The current is I = 4+5j−2j = 4+3j = −24 − 32j = 40∠ − 127◦ . So Ie = 2 = 800. The
2 2
complex power absorbed by each of the passive components is Ie Z; this gives Ie R = 3.2 kW,
2 2
Ie ZL = 4000j = 4 kVAR and Ie ZC = −1600j = −1.6 kVAR. The current through the source
∗ the passive sign convention) is −I = 24 + 32j and the complex power absorbed by it is
(following
Ve −Ie = −141j (17 − 22.6j) = (−3.2 − 2.4j) kVA. As expected, the total complex power sums to
zero.
(
0 t<0
4. (a) The DC gain of the circuit is 1, so the steady state output is xSS (t) = . Because x
5 t≥0
is the voltage across a capacitor, it must be continuous, so x(0+) = x(0−) = 0. So the complete
−t −t
expression is x(t) = xSS (t) + (x(0+) − xSS (0+)) e τ = 5 − 5e τ where τ = RC. (b) x(t) is plotted
in Fig. 4.
0−5
(c) Using the standard formula, t = τ ln 4.5−5 = τ ln (10) = 2.3RC.
4
x(t)
0
-1 0 1 2 3
t/RC
Fig. 4
5. (i) From the circuit, the time constant is RC = 2 ms. The DC gain may be obtained by treating C as
an open circuit and is 0; the HF gain may be obtained by treating C as a short-circuit and is therefore
Y jωRC
1. The transfer function (using potential divider formula) is X (jω) = 1+jωRC which happily gives
Y Y 1
the same values: X (0) = 0, X (∞) = 1, τ = denominator corner frequency = RC. The importance of
Y Y output discontinuity
X (∞) is that it gives the gain for a step input discontinuity, i.e. X (∞) = input discontinuity .
(ii) From the circuit: τ = RC = 2 ms, DC gain (C open-circuit) = 1, HF gain (C short-circuit) = 0.
Y 1
The transfer function (using potential divider formula) is X (jω) = 1+jωRC which gives the same
values.
L
(iii) From the circuit: τ = R = 0.1 ms, DC gain (L short-circuit) = 0, HF gain (L open-circuit) = 1.
Y jωL
The transfer function (using potential divider formula) is X (jω) = R+jωL which gives the same
values. Note that if the denominator is (p + jωq), the time constant is pq and the corner frequency
is pq .
(iv) To obtain the time constant, we need to determine the Thévenin resistance seen by the inductor.
To do this, we set the input voltage, X, to zero (thereby shorting node X to ground) and find
the resistance between the inductor terminals (with the inductor removed). The two resistors are
L
in series, so we get RT h = 1 + 4 = 5 k. From this, τ = R = 200 ns, DC gain (L short-circuit)
= 0.2 (potential divider), HF gain (L open-circuit) = 1. The transfer function (using potential
Y R+jωL
divider formula) is X (jω) = 5R+jωL where R = 1 k. This gives the same values and is, perhaps, a
marginally easier way to determine them.
(v) To determine the Thévenin resistance seen by the capacitor, we set X = 0 and measure the
resistance at the capacitor terminals. Since X is connected to ground, the two 1 k resistors are in
series and so we have 8 k in parallel with 2 k which gives 1.6 k. From this, τ = RC = 0.16 ms, DC gain
(C open-circuit) = 0.1 (potential divider), HF gain (C short-circuit) = 0.5. The transfer function
Y 1+8jωRC
(using potential divider formula) is X (jω) = 2R+ R 8R = 10+16jωRC where R = 1 k and we used
1+8jωRC
8R
the formula for Z8R||C = 1+jω8RC .
(vi) To determine the Thévenin resistance at the capacitor terminals is not trivial because of the
dependent voltage source that is the opamp. If we set X = 0 and replace the capacitor with a voltage
source V as in Fig. 5(i), we can use nodal analysis to determine I and then calculate RT h = VI . Since
W −V W −V
the op-amp is a unit-gain buffer, Y = V . KCL at node W gives: W 10 + 10 + 10 =0⇒W =
1
V
2
3V ⇒ I = V −W10 == 310 = 30V
⇒ RT h = 30 k. So, finally, we get τ = RT h C = 3 ms. For the DC
gain, we make C an open-circuit as in Fig. 5(ii). Negative feedback means V+ = Y and, since there
is no current through the resistor connected to V+ , we must also have W = Y . KCL at node W
then gives W = Y = X, so the DC gain is 1. For the HF gain, the capacitor acts a a short circuit
so V+ = 0 which in turn means that Y = 0 so the gain is 0.
Rather easier is the transfer function approach. We know V+ = Y and V+ is determined from W
by an RC potential divider giving: W Y
= VW+ = 1+jωRC
1
. KCL at W gives W R −X −Y
+ WR −Y
+ WR =
Y 1
0 ⇒ 3W − 2Y = X. We now substitute for W using the previous equation W = 1+jωRC to get
Y 1 Y
3Y (1 + jωRC) − 2Y = X⇒ X = 1+3jωRC . From this we can easily get: τ = 3RC, X (0) = 1 and
Y
X (∞) = 0.
4
W
10k 10k
W
x(t)
Y 2
10k 10k I X Y 0
V 10k 10k -1 0 1 2 3
t*R/L
6. (i) v(t) equals 6 for 13 of the time and −2 for 32 of the time. So its average value is v = 13 ×6+ 23 ×(−2) =
2 2 1 2 2
√
2
3 . Similarly, the average value of v is v = 3 × 36+ 3 × 4 = 14 3 . So Vrms = 14.67 = 3.83. This is
higher than the average value v.
(ii) During the first period (0 ≤ t ≤ 2), the formula for v can be derived as v = 2t. To find
the average value, we integrate over one period, and divide by the length of the period. So v =
1 2
R 1
2 2
2 t=0 2tdt = 2 t 0 = 2. This is also pretty obvious from looking at the waveform. In the same
R2 2 2 √
way, v 2 = 12 t=0 (2t) dt = 12 34 t3 0 = 5 31 giving Vrms = 5.33 = 2.31.
(iii) This is the same as the previous waveform but shifted up by +2. You can perform integrations
similar to the previous part or, easier, just modify the previous answers. v (which previously equalled
2) will be increased by 2 to become v = 4. Adding a constant onto a random variable does not affect
2 2
its variance, so v 2 − (v) will be unchanged at 5 13 − 22 = 1 13 . It follows that v 2 = (v) + 1 31 = 17 13 .
√
Taking the square root gives Vrms = 17.33 = 4.16.
7. Method 1 (inductor current continuity): For t < 0, x = 0 and the current through the inductor
is i = v−x
R = 0. It follows that at time t = 0+, the current through the resistor (which equals
the current through the inductor) will still be zero and x(0+) = v(0+) = 5. From this value is
will decay to a steady state value xSS = 0 since the inductor is a short circuit for DC. Thus,
−t −t
L
x(t) = xSS (t) + (x(0+) − xSS (0+)) e τ = 0 + 5e τ where τ = R . This is plotted in Fig. 7.
Method 2 (transfer function): The transfer function of the circuit is (from potential divider equation)
X jωL
V = R+jωL . From this we get the DC gain, GDC = 0, the HF gain, GHF = 1, and the time constant
L
is R . The DC gain allows us to calculate the steady state xSS (t) = GDC v(t) ≡ 0. The output
discontinuity at t = 0 is given by ∆x = GHF ∆v = 1 × 5 = 5. So x(0+) = xSS (0−) + ∆x = 0 + 5 = 5.
−t −t
Finally we put everything together to get: x(t) = xSS (t)+(x(0+) − xSS (0+)) e τ = 0+(5 − 0) e τ .
8. Method 1 (capacitor voltage continuity): The time constant of the circuit is obtained by setting
v = 0 and finding the Thévenin resistance across the capacitor terminals. Since v is connected to
ground, the two resistors are (in parallel and RT h = 12 R giving τ = 12 RC. The DC gain of the circuit
1 t<0
is 0.5, so xSS (t) = 0.5v(t) = . For t < 0, the capacitor voltage is v − x = 2 − 1 = 1. This
3 t≥0
must remain continuous and so v(0+) − x(0+) = 1 ⇒ x(0+) = v(0+) − 1 = 5. Putting everything
−t −t −t
together, we get x(t) = xSS (t) + (x(0+) − xSS (0+)) e τ = 3 + (5 − 3) e τ = 3 + 2e τ . This is
plotted in Fig. 8.
Method 2 (transfer function): The transfer function of the circuit is (from potential divider equation)
X
V = R+
R
R = 1+jωRC
2+jωRC . From this we get the DC gain, GDC = 0.5, the HF gain, GHF = 1, and
1+jωRC
the time constant is 0.5RC. The DC gain allows us to calculate the steady state as above. The output
discontinuity at t = 0 is given by ∆x = GHF ∆v = 1 × 4 = 4. So x(0+) = xSS (0−) + ∆x = 1 + 4 = 5.
−t −t
Finally we put everything together to get: x(t) = xSS (t)+(x(0+) − xSS (0+)) e τ = 3+(5 − 3) e τ =
−t
3 + 2e τ .
8 8
x
6 6
x
x(t)
x(t)
4 4
xSS xSS
2 2
xTr xTr
0 0
-1 0 1 2 3 -1 0 1 2 3
t/RC t/RC
Fig. 8 Fig. 9
9. For opamp circuits, it is easiest to use the transfer function to determine the relevant circuit para-
R
meters. This is a non-inverting amplifier with a gain of X
V = 1 +
1+jωRC
R = 2+jωRC
1+jωRC . Thus we
have a DC gain, GDC = 2, a high frequency gain GHF = 1 and a time constant τ = RC.
At t = 0, the input discontinuity is ∆V = v(0+) − v(0−) = −3 and so the ouput discontinu-
ity is ∆X = x(0+) − ( x(0−) = GHF ∆V = 1 × −3 = −3. The steady state output is given by
8 t<0
xSS (t) = GDC v(t) = . So this gives x(0+) = −3 + x(0−) = −3 + 8 = 5.
2 t≥0
−t −t
Putting everything together, we get x(t) = xSS (t) + (x(0+) − xSS (0+)) e τ = 2 + (5 − 2) e τ =
−t
2 + 3e RC .
R
10. (a) The impedance of R||C is 1+jωRC . We can regard the circuit as a potential divider and so the
R
Y 1+jωRC 1+j9kωRC
gain is X = H(jω) = 9R R which simplifies to H(jω) = 10+j9(k+1)ωRC . The DC gain is
1+j9kωRC + 1+jωRC
k
H(0) = 0.1 and the high frequency gain is H(∞) = k+1 .
1
(b) The value of k that makes |H(∞)| = |H(0)| is k = 9 since then H(∞) = 0.1.
(c) If k = 91 then H(jω) = 0.1 for all ω.
e2
V Ve2 V
11. (a) Average power is RL , so RL = = 5.76 Ω. (b) Current through RL is IeL = = 41.7 A. The
e
10 k R
2
IeL RS
current through RS is InL so the power dissipation is . This gives (i) 868 W and (ii) 34.8 W.
e
n2
12. (a) Impedances are transformed by the square of the turns ratio because the voltage decreases by n
and the current increases by n so that the ratio of voltage over current decreases by n2 . So when
n = 4, the impedance at the output of the secondary is 2400
16 = 150 Ω.
1
(b) At 50 Hz, the capacitor impedance is ZC = j2π50×100 p = −j31.8 MΩ . With the transformed
source impedance from part (a), we get the equivalent circuit shown in Fig. 12. Using superposition,
−2
ZC n−1 ZC V
eS +Rn−2 V
VeA = VeN × RnRn + VeS n−1 × Rn−2 +ZC = . The ratio of the signal and noise
eN
−2 +Z Rn−2 +ZC
C
voltages is equal to the ratio of the two terms in the numerator, so the ratio of the signal and noise
n−1 |ZC ||V
eS |
31.8 M×1
voltage magnitudes is Rn−2 Ve = 2400×230 × n = 57.66 × n. Converting this to decibels gives
| N|
20 log10 57.66 + 20 log10 n = 35.2 + 20 log10 n. This gives (i) 35.2 dB for n = 1 and (ii) 47.3 dB for
n = 4. So, slightly surprisingly, using a transfomer to reduce the voltage coming from the microphone
actually makes the signal-to-noise ratio better.
1:n1+n2 I1
-j31.8M R1
VA
VN
Amp
VS IS I2
VS/n R2
R/n2
Fig. 12 Fig. 13
e2
V
13. (a) Ve1 = n1 VeS = 2 so the average power dissipated in R1 is R1
1
= 400 mW. Similarly, Ve2 = n2 VeS = 3,
e2
V
so the average power dissipated in R2 is 2
R2 = 450 mW.
(b) From the ideal transformer equations, 1 × IS + n1 × (−I1 ) + n2 × (−I2 ) = 0 (the minus signs arise
because in Fig. 13 I1 and I2 are defined as coming out of the transformer). Rearranging this and
n21 VS n22 VS
using Ohm’s law gives IS = n1 I1 +n2 I2 = nR1 V1 1 + nR2 V2 2 = R 1
+ R 2
. So Ref f = VISS = 1 +
1
1 .
−2 −2
n1 R1 n2 R2
15. Notice first that since there are no input discontinuities, there will be no output discontinuities
jωRC
either. The circuit transfer function is X V = 1+jωRC . The gain at ω = 2000π is G = 0.503 +
0.5j = 0.709∠44.8◦ . The phasor corresponding to v(t) = 5 sin ωt is V = −5j and so the steady
state output will be X = GV = 2.5 − 2.51j = 3.54∠ − 45.2◦ which corresponds to a waveform
xSS (t) = 2.5 cos ωt + 2.51 sin ωt. The time constant is RC = 0.16 ms.
(a) At time t = 0+ we have xSS (0+) = 2.5 V. Since there is no output discontinuity, x(0+) =
−t
x(0−) = 0. Putting this together gives x(t) = xSS (t) + (x(0+) − xSS (0+)) e τ = 2.5 cos ωt +
−t
2.51 sin ωt + (0 − 2.5) e RC . This is plotted in Fig. 15(i).
(b) Substituting t = 1 into the previous expression gives x(1−) = x(1+) = 2.495 (very close to the
steady state value since it has had 6 14 time constants to converge). For t > 1, the steady state is
−(t−1)
xSS (t) ≡ 0. Therefore we get x(t) = 2.495e τ . This is plotted in Fig. 15(ii).
5 5
xSS xSS
x
x(t)
x(t)
0 0
xTr xTr x
-5 -5
-1 0 1 2 -1 0 1 2
t (ms) t (ms)
16. For the steady state when t < 0, we can treat the inductor as a short circuit and so i = 10R = 100 mA.
di V
When the switch is closed, there is a constant 10 V across the inductor and so dt = L = 100 V/s.
Therefore the current through the inductor will increase linearly at this rate for 2 ms (from an initial
value of 100 mA) and will reach a value of 300 mA. Since there is no resistor in series with the
inductor, the current increases linearly rather than exponentially; you can, if you wish, regard this
as a limiting case of a negative exponential that has an infinite time constant.
When the switch is opened at t = 2 ms, the current will decay from its peak value of 300 mA back
L
down to its steady state value of 100 mA with a time constant of R = 1 ms. Thus for t > 2 ms, we
−(t−2)
have i(t) = 100 + (300 − 100) e 1 (in units of mA and ms). All this is plotted in Fig. 16(i).
When the switch is open, v(t) = Ri(t). However, when the switch is closed, v(t) ≡ 0. We therefore
get the voltage waveform plotted in Fig. 16(v).
300 30
v
i
200 iTr 20
i(t) (mA)
v(t)
100 iSS 10 vSS
0 0
-1 0 1 2 3 4 -1 0 1 2 3 4
t (ms) t (ms)
17. In this question, we have two different circuits according to whether the diode is off or on. These are
shown in Fig. 17(off),(on). When the diode is off, we have a DC steady state xSS (t) = 0 and a time
constant τOf f = RC = 1.6 ms. On the other hand, when the diode is on, we can get the DC steady
state by doing KCL for the shaded supernode: x+0.7−v 2 + x8 = 0 ⇒ xSS = 45 (v − 0.7). We obtain
the time constant by setting all voltage sources to zero and finding the Thévenin resistance and the
capacitor terminals: this is RT h = 2 k||8 k = 1.6 k; this gives a time constant τOn = 0.32 ms.
For t < 0, v = x = 0 and so, since v − x < 0.7, the diode will be off. When v changes to 3, the diode
will turn on and will charge the capacitor up to a steady state voltage of 45 (3 − 0.7) = 1.84. When
v now changes to 2 V, the diode will turn off and x will fall towards the “off” steady state of 0 V.
However, it will never reach this value, because when x reaches v − 0.7 = 1.3 V the diode will turn
on again resulting in a new steady state of 45 (2 − 0.7) = 1.04 V. So this means we actually have four
distinct time segments: t < 0, 0 ≤ t < 1, 1 ≤ t < Tx , t ≥ Tx wher Tx is the, as yet unknown, time
at which the diode turns on for the last time.
Segment 1 (Diode Off, t < 0, x = v = 0).
4
Segment 2 (Diode On, 0 ≤ t < 1, v = 3, xSS = 5 (3 − 0.7) = 1.84, τOn = 0.32 ms): x(t) =
−t −t −t
xSS (t) + (x(0+) − xSS (0+)) e τ = 1.84 + (0 − 1.84) e τ = 1.84 − 1.84e τOn . At t = 1 this gives
x(1) = 1.76.
Segment 3 (Diode Off, 1 ≤ t < Tx , v = 2, xSS = 0, τOf f = 1.6 ms): Capacitor voltage continuity
−t −t
means that x(1+) = 1.76. So x(t) = xSS (t) + (x(1+) − xSS (1+)) e τ = 0 + (1.76 − 0) e τ =
−(t−1)
τOf f
1.76e . We need to know when the voltage x reaches 1.3 V (t = Tx ) because that is when the
−(Tx −1)
diode will turn on again. Solving 1.76e τOf f
= 1.3 ⇒ Tx = 1.48 ms.
4
Segment 4 (Diode On, t ≥ 1.48 ms, v = 2, xSS = 5 (2 − 0.7) = 1.04, τOn = 0.32 ms): x(t) =
−t −t −(t−Tx )
xSS (t) + (x(Tx +) − xSS (Tx +)) e τ = 1.04 + (1.3 − 1.04) e τ = 1.04 + 0.26e τOn
.
All four segments are plotted in Fig. 17(iii).
v x 0.7V
2 xSS
v x+0.7 x x xSS xTr
2k
x(t)
0
8k 2k
200n 8k xTr
200n -2
-1 0 1 2 3
t (ms)