22-Mec-A5 Electrical and Electronics Engineering · May 2016
Question 7 of 8: First-Order RC Network — Step Response and Frequency Response
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
Paper format. PEO/Engineers Canada National Examination
07-Mec-A5 Electrical & Electronics Engineering, May 2016 — 3 hours,
closed book, Casio or Sharp approved calculator only. Eight questions
of equal value; any five constitute a complete paper. All eight are solved
here, since the set is intended as a study resource.
Constants printed on the front page.
$\pi = 3.14159$, $1\ \text{hp} = 746\ \text{W}$, and the permeability of free space
$\mu_0 = 4\pi \times 10^{-7}\ \text{H}\,\text{m}^{-1}$.
Reference texts for this subject.
Sedra & Smith, Microelectronic Circuits, 8th ed. — transistor
current mirrors, biasing and operational-amplifier circuits (Ch. 7, 8, 2).
Mano & Ciletti, Digital Design, 6th ed. — Boolean algebra, DeMorgan's
theorems, universal-gate synthesis (Ch. 2–3).
Chapman, Electric Machinery Fundamentals, 5th ed. — the linear dc machine,
magnetic circuits, transformers and induction machines (Ch. 1–2, 6–8).
Sadiku & Alexander, Fundamentals of Electric Circuits, 7th ed. —
first-order transients, phasors, ac power, frequency response (Ch. 7, 9–11, 14).
Glover, Sarma & Overbye, Power System Analysis and Design, 6th ed. —
power-factor correction and transmission loss.
Question 7: First-Order RC Network — Step Response and Frequency Response (20 marks)
Given. A series resistor $R$ with a shunt capacitor $C$, the output being taken across the capacitor. In configuration [a] a dc supply $V_I$ is connected through switch $S_1$ at $t = 0$ with the capacitor initially uncharged; in configuration [b] the same network is driven by a variable-frequency source $v_i$. The element values are symbolic; for the sketches the illustrative pair $R = 10\ \text{k}\Omega$ and $C = 10\ \text{nF}$ is used, giving $RC = 100\ \mu$s.
Find. The time-domain transfer function and its sketch over five time constants, and the frequency-domain transfer function with its magnitude sketch over four decades centred on the corner frequency.
Figure 7 — RC circuit: [a] dc test with switch $S_1$; [b] ac test. In both the output is taken across the capacitor, so the network is a first-order low-pass.
Approach. Write Kirchhoff's voltage law around the loop with the capacitor's constitutive relation $i = C\,dv_C/dt$, which gives a first-order linear differential equation to solve with the initial condition of an uncharged capacitor. For the ac case the same network becomes a simple impedance divider once the capacitor is represented by $1/(j\omega C)$.
Set up the loop equation (part [a]). After the switch closes the supply is shared between the resistor and the capacitor, $V_I = i R + V_O$, and the current is the capacitor's charging current $i = C\,dV_O/dt$. Substituting gives the governing equation $$RC\,\frac{dV_O}{dt} + V_O = V_I.$$
Solve with the initial condition. The complementary function decays as $e^{-t/RC}$ and the particular integral is the final value $V_I$, so $V_O = V_I + K e^{-t/RC}$. An uncharged capacitor requires $V_O(0) = 0$, giving $K = -V_I$, hence $$V_O(t) = V_I\left(1 - e^{-t/RC}\right),$$ and the transfer function requested is $$\frac{V_O}{V_I} = \boxed{1 - e^{-t/RC}}$$ The product $\tau = RC$ is the time constant; with the illustrative values $\tau = (10^{4})(10^{-8}) = 100\ \mu\text{s}$.
Sketch over five time constants (part [b]). The response is the familiar saturating exponential, rising fastest at the origin and approaching $V_I$ asymptotically. It reaches 63.2 % of the final value at $t = \tau$, then 86.5 %, 95.0 %, 98.2 % and 99.3 % at two, three, four and five time constants. The initial slope, if continued, would reach the final value in exactly one time constant — the standard graphical construction for $\tau$.
Form the frequency-domain transfer function (part [c]). Replacing the capacitor by its impedance $Z_C = 1/(j\omega C)$ makes the network a voltage divider: $$\frac{v_o}{v_i} = \frac{Z_C}{R + Z_C} = \frac{1/(j\omega C)}{R + 1/(j\omega C)},$$ and multiplying numerator and denominator by $j\omega C$ gives $$\frac{v_o}{v_i} = \boxed{\dfrac{1}{1 + j\omega RC}}$$ whose magnitude and phase are $$\left|\frac{v_o}{v_i}\right| = \frac{1}{\sqrt{1+(\omega RC)^{2}}}, \qquad \phi = -\arctan(\omega RC).$$
Identify the corner frequency. The corner is where the resistive and reactive terms are equal, $\omega_c RC = 1$, that is $$\omega_c = \frac{1}{RC} \quad\text{or}\quad f_c = \frac{1}{2\pi RC} = \frac{1}{2\pi(10^{4})(10^{-8})} = 1592\ \text{Hz}.$$ There the magnitude is $1/\sqrt{2} = 0.707$, that is $-3$ dB, and the phase is exactly $-45^\circ$.
Sketch the magnitude over four decades (part [d]). Two decades below the corner the response is flat at 0 dB (unity), since the capacitor is effectively an open circuit and no signal is dropped across $R$. Two decades above it the response falls at a constant $-20$ dB per decade, since the capacitor's impedance is falling in inverse proportion to frequency. The two asymptotes meet at the corner, where the true curve lies 3 dB below their intersection — the largest error anywhere in the asymptotic construction.
Part [b] — step response over five time constants, with the fraction of the final value marked at each time constant.
Part [d] — magnitude of the transfer function over four decades centred on the corner frequency, with the asymptotes shown dashed.
Final results — Question 7
Quantity
Result
[a] Governing equation
$RC\,dV_O/dt + V_O = V_I$
[a] Time-domain transfer function
$V_O/V_I = 1 - e^{-t/RC}$
[b] Values at 1–5 time constants
0.632, 0.865, 0.950, 0.982, 0.993
[c] Frequency-domain transfer function
$v_o/v_i = 1/(1+j\omega RC)$
Magnitude and phase
$1/\sqrt{1+(\omega RC)^{2}}$ and $-\arctan(\omega RC)$
Check — illustrative element values. The question gives $R$ and $C$ symbolically, so both transfer functions above are exact and general. The numerical corner frequency of 1592 Hz and the time constant of 100 $\mu$s follow from the illustrative pair $R = 10\ \text{k}\Omega$, $C = 10\ \text{nF}$ chosen only to put numbers on the two sketches; the shapes of both curves are independent of that choice.