FE Electrical and Computer exam practice: cram pack

Formula sheets, the key method steps for every topic and 40 practice problems, with full solutions at the back.

New problemsBack to the course

In the print window, choose “Save as PDF” to keep a copy on your device.

1Formulas and methods

Series & parallel resistors

Resistors in series
Req = R1 + R2 + …
Resistors in parallel
1/Req = 1/R1 + 1/R2 + …
Two in parallel
Req = R1R2 / (R1 + R2)
Ohm's law
V = I·R
Power
P = V·I = I²R = V²/R

Method

  1. Start at the end of the network furthest from the terminals.
  2. Combine resistors in series by adding them, and resistors in parallel with 1/R = 1/R₁ + 1/R₂ + …
  3. Redraw the circuit after each step.
  4. Repeat until one resistor is left between the terminals.

Nodal analysis

Kirchhoff’s current law
ΣIin = ΣIout
Branch current
I = (Va − Vb)/R
Reference node
Vground = 0

Method

  1. Choose a reference node (ground) and label the other node voltages.
  2. Write Kirchhoff’s current law at every unknown node: currents leaving through each branch equal the currents entering.
  3. Express every branch current as (Va − Vb)/R.
  4. Solve the system of equations, then find any current you need.

Mesh analysis

Kirchhoff’s voltage law
ΣV = 0 around every loop
Shared resistor
current = I1 − I2
Current source in a mesh
fixes that mesh current

Method

  1. Draw a clockwise current in every mesh (window) of the circuit.
  2. Apply Kirchhoff’s voltage law around each mesh: the sum of voltage drops is zero.
  3. In a resistor shared by two meshes the current is the difference of the two mesh currents.
  4. Solve the equations; a negative result means the current flows the other way.

Superposition

Superposition
x = x1 + x2 + … (one source at a time)
Switched-off voltage source
short circuit (0 V)
Switched-off current source
open circuit (0 A)
Voltage divider
V2 = V·R2/(R1 + R2)
Current divider
I1 = I·R2/(R1 + R2)

Method

  1. Count the independent sources. You will solve one simpler circuit per source.
  2. Keep one source and switch off the others: a voltage source becomes a short circuit (a wire), a current source becomes an open circuit (a gap).
  3. Solve the simpler circuit for the voltage or current you need, keeping track of its direction.
  4. Repeat for every source, then add the contributions with their signs.

Thévenin & Norton

Thévenin voltage
Vth = Vopen circuit
Thévenin resistance
Rth: all sources off, seen from a–b
Norton current
IN = Vth/Rth
Load current
IL = Vth/(Rth + RL)
Maximum power transfer
RL = Rth, Pmax = Vth²/(4Rth)

Method

  1. Remove the load and mark the two terminals a and b.
  2. Find the open-circuit voltage between a and b: this is Vth.
  3. Switch off all independent sources and find the resistance seen from a–b: this is Rth.
  4. Put the load back on the equivalent circuit: Vth in series with Rth.
  5. For the Norton equivalent, convert: IN = Vth/Rth, with RN = Rth in parallel.

RC & RL transients

Time constant
τ = RC | τ = L/R
Response
x(t) = x(∞) + [x(0) − x(∞)]·e−t/τ
Capacitor at DC
open circuit; vC cannot jump
Inductor at DC
short circuit; iL cannot jump
Settled
t ≈ 5τ

Method

  1. Find the initial value just after switching: a capacitor voltage and an inductor current cannot jump.
  2. Find the final value long after switching: a capacitor acts as an open circuit, an inductor as a short circuit.
  3. Find the time constant: τ = RC or τ = L/R, using the resistance seen by the capacitor or inductor.
  4. Use x(t) = x(∞) + [x(0) − x(∞)]·e−t/τ.

AC impedance & phasors

Impedances
ZR = R, ZL = jωL, ZC = 1/(jωC)
Angular frequency
ω = 2πf
Magnitude and angle
|Z| = √(R² + X²), φ = atan(X/R)
Phasor Ohm’s law
V = I·Z

Method

  1. Convert the frequency: ω = 2πf.
  2. Find each reactance: XL = ωL and XC = 1/(ωC).
  3. Add impedances like resistors, with Z = R + jX.
  4. Find the magnitude |Z| = √(R² + X²) and the angle φ = atan(X/R), then use Ohm’s law with phasors.

AC power & power factor

Real power
P = V·I·cos φ
Reactive power
Q = V·I·sin φ
Apparent power
S = V·I = √(P² + Q²)
Power factor
pf = cos φ = P/S
Correction capacitor
QC = P(tan φ1 − tan φ2), C = QC/(ωV²)

Three-phase power

Y connection
VL = √3·Vph, IL = Iph
Δ connection
VL = Vph, IL = √3·Iph
Total real power
P = √3·VL·IL·cos φ = 3·Iph²·R
Apparent and reactive power
S = √3·VL·IL, Q = P·tan φ
Correction capacitors
QC = P(tan φ1 − tan φ2), C = QC/(3ωV²)
Voltage across each capacitor
Δ: VL Y: VL/√3
Motor input
Pin = Pout/η

Transformers

Turns ratio
a = N1/N2 = V1/V2
Current ratio
I1/I2 = N2/N1 = 1/a
Rated current
I = S/V
Referred impedance
Z1′ = a²·ZL
Copper loss at part load
Pcu = x²·Pcu,fl
Efficiency
η = x·S·pf/(x·S·pf + Pcore + x²·Pcu,fl)
Maximum efficiency
x = √(Pcore/Pcu,fl)

Op-amp circuits

Inverting amplifier
Vout = −(Rf/Rin)·Vin
Non-inverting amplifier
Vout = (1 + Rf/R1)·Vin
Summing amplifier
Vout = −Rf(V1/R1 + V2/R2)
Ideal op-amp
V+ = V−, Iin = 0

Diodes & transistors

Diode (constant drop)
VD = 0.7 V when conducting
Active region
VBE = 0.7 V, IC = β·IB, IE = (β + 1)·IB
Fixed bias
IB = (VCC − 0.7)/RB
Divider bias
IB = (VTH − 0.7)/(RTH + (β + 1)RE)
Thévenin of the divider
VTH = VCC·R2/(R1 + R2), RTH = R1∥R2
Collector loop
VCE = VCC − ICRC − IERE
Saturation
IC(sat) = (VCC − VCE(sat))/RC, IB ≥ IC(sat)/β

Number systems

Place values
binary 2k, octal 8k, hex 16k
To decimal
Σ dk·bk
From decimal
divide by the base, read the remainders bottom-up
Hex ↔ binary
one hex digit = 4 bits
Two’s complement
invert the bits and add 1

Digital logic: gates, K-maps & flip-flops

Basic gates
A·B, A + B, A′, (A·B)′, (A + B)′, A ⊕ B
Boolean rules
X + X′ = 1, X·X′ = 0, X + XY = X, XY + XY′ = X
De Morgan
(X·Y)′ = X′ + Y′, (X + Y)′ = X′·Y′
Karnaugh map order
00, 01, 11, 10 (Gray code)
Group of 2ᵏ cells
loses k variables
4-to-1 multiplexer
F = A′B′I0 + A′BI1 + AB′I2 + ABI3
Flip-flops
D: Q⁺ = D, T: Q⁺ = T ⊕ Q, JK: Q⁺ = JQ′ + K′Q
Counters
n-bit: 2ⁿ states; mod-N: smallest n with 2ⁿ ≥ N; fout = fclk/N
Ripple counter
fmax = 1/(n·tpd)
Ring and Johnson counters
n and 2n states

Method

  1. For a circuit, work from the inputs to the output one gate at a time and write the value on every wire, or write its expression and fill in the truth table.
  2. For simplification, put the 1s (and the don’t-cares as X) into a Karnaugh map with Gray-code rows and columns: 00, 01, 11, 10.
  3. Cover the 1s with as few and as large groups of 1, 2, 4, 8 or 16 cells as possible, wrapping round the edges; each group is one product term made of the variables that stay constant. Group the 0s for the POS form.
  4. For flip-flops and counters, read the inputs at each active clock edge, write the state after every edge, and remember that an n-bit counter wraps round after 2ⁿ states.

Stability: Routh–Hurwitz & root locus

Stability
all roots of the characteristic polynomial in the left half-plane
Routh array, s¹ entry of a cubic
b1 = (a2a1 − a3a0)/a2
Right half-plane roots
number of sign changes in the first column
Cubic s³ + a₂s² + a₁s + a₀
stable when all a > 0 and a₂·a₁ > a₀
K/(s(s + a)(s + b))
Kmax = ab(a + b), ω = √(ab)
Characteristic equation
1 + K·G(s) = 0
Asymptotes
σa = (Σp − Σz)/(n − m), θ = (2q + 1)·180°/(n − m)
Break-away and break-in points
dK/ds = 0
Magnitude condition
K = 1/|G(s)|
Angle of departure
θd = 180° − Σ∠(from other poles) + Σ∠(from zeros)

Method

  1. Write the closed-loop characteristic polynomial: the denominator of 1 + K·G(s) = 0, multiplied out.
  2. Put the coefficients alternately into the first two rows of the Routh array and build the remaining rows.
  3. Count the sign changes in the first column: each one is a pole in the right half-plane. With K in the array, demand that every first-column entry stays positive.
  4. For a root locus, mark the poles and zeros, the real-axis segments, the asymptotes from the centroid and the break points where dK/ds = 0. Use K = 1/|G(s)| for the gain at a point.

Steady-state error & PID control

System type
number of poles of G(s) at s = 0
Error constants
Kp = lim G(s), Kv = lim s·G(s), Ka = lim s²·G(s) (s → 0)
Step A
ess = A/(1 + Kp)
Ramp A·t
ess = A/Kv
Parabola A·t²/2
ess = A/Ka
PID controller
C(s) = Kp + Ki/s + Kd·s
Second-order target
s² + 2ζωns + ωn²
Overshoot and timing
%OS = 100·e−ζπ/√(1−ζ²), tp = π/ωd, ts ≈ 4/(ζωn)

Method

  1. Count the poles of the open loop C(s)·G(s) at s = 0: that is the system type.
  2. Work out the error constant that matches the input: Kp for a step, Kv for a ramp, Ka for a parabola.
  3. Apply ess = A/(1 + Kp), A/Kv or A/Ka, or solve it for the gain you need.
  4. For a damping or speed specification, write the closed-loop characteristic polynomial and match it with s² + 2ζω_n·s + ω_n².

2Practice problems

1.Series & parallel resistorsMedium
R1​ = 6 ΩR3​ = 6 Ω+−V1​10 VR2​2 ΩIR2​AR4​3 ΩB

Find the current IR2 through R2.

V1 = 10 VR1 = 6 ΩR2 = 2 ΩR3 = 6 ΩR4 = 3 Ω
IR2 = A
2.Series & parallel resistorsHard
R1​ = 6 ΩR3​ = 20 ΩR5​ = 25 Ω+−V1​5 VR2​10 ΩAR4​6 ΩBR6​20 Ω

Find the equivalent resistance Req seen by the source V1.

V1 = 5 VR1 = 6 ΩR2 = 10 ΩR3 = 20 ΩR4 = 6 ΩR5 = 25 ΩR6 = 20 Ω
Req = Ω
3.Nodal analysisMedium
−+Vs​ = 10 VIs​3 AAR1​20 ΩR2​15 ΩB

The voltage source Vₛ between A and B has its + terminal at B, so it makes VB − VA = Vₛ. Use nodal analysis with a supernode to find the node voltage VA (measured from ground).

Is = 3 AVs = 10 VR1 = 20 ΩR2 = 15 Ω
VA = V
4.Nodal analysisHard
R1​ = 10 ΩR2​ = 20 ΩR4​ = 8 Ω+−V1​9 VR3​5 ΩAR5​5 ΩBIs​2.5 A+−V2​10 V

Use nodal analysis to find the node voltage VB (measured from ground).

V1 = 9 VIs = 2.5 AV2 = 10 VR1 = 10 ΩR2 = 20 ΩR3 = 5 ΩR4 = 8 ΩR5 = 5 Ω
VB = V
5.Mesh analysisMedium
R1​ = 6 ΩIR1​R2​ = 4 Ω+−V1​6 VR3​15 ΩA+−V2​24 VI1​I2​

Use mesh analysis to find the current IR1 through R1 in the direction of the arrow.

V1 = 6 VV2 = 24 VR1 = 6 ΩR2 = 4 ΩR3 = 15 Ω
IR1 = A
6.Mesh analysisHard
R1​ = 12 Ω+−VR1​R2​ = 6 ΩR3​ = 2 Ω+−V1​15 VR4​10 ΩAR5​10 ΩB+−V2​6 VI1​I2​I3​

Use mesh analysis to find the voltage VR1 across R1 with the polarity shown.

V1 = 15 VV2 = 6 VR1 = 12 ΩR2 = 6 ΩR3 = 2 ΩR4 = 10 ΩR5 = 10 Ω
VR1 = V
7.SuperpositionMedium
linear circuitVs​Is​IRL​

A linear resistive circuit contains one voltage source Vs and one current source Is. The current I through a load resistor is measured twice: with Vs = 5 V and Is = 2 mA, I = 7.7 mA; with Vs = 6 V and Is = 6 mA, I = 9.6 mA. Find the load current I when Vs = 10 V and Is = 10 mA.

5 V, 2 mA → 7.7 mA6 V, 6 mA → 9.6 mAVs = 10 V, Is = 10 mA
I = mA
8.SuperpositionHard
R1​ = 5 ΩR2​ = 15 Ω+−VR2​R4​ = 15 Ω+−V1​5 VR3​8 ΩAIs​1.5 AB+−V2​18 V

Use superposition to find the voltage VR2 across R2 with the polarity shown.

V1 = 5 VIs = 1.5 AV2 = 18 VR1 = 5 ΩR2 = 15 ΩR3 = 8 ΩR4 = 15 Ω
VR2 = V
9.Thévenin & NortonMedium
R1​ = 3 ΩR3​ = 12 Ω+−V1​10 VR2​15 ΩARL​20 ΩIL​B

A load RL = 20 Ω is connected across a–b. Replace the rest of the circuit with its Thévenin equivalent and find the load current IL.

V1 = 10 VR1 = 3 ΩR2 = 15 ΩR3 = 12 ΩRL = 20 Ω
IL = A
10.Thévenin & NortonHard
R1​ = 30 ΩR3​ = 15 Ω+−V1​36 VR2​3 ΩAIs​4 ABab

Find the Thévenin voltage Vth seen from terminals a–b.

V1 = 36 VIs = 4 AR1 = 30 ΩR2 = 3 ΩR3 = 15 Ω
Vth = V
11.RC & RL transientsMedium
+−Vs​10 Vt = 0R = 47 ΩL150 mHi(t)

The inductor carries no current before the switch closes at t = 0. Find the energy W stored in the inductor at t = 5 ms, in mJ.

Vs = 10 VR = 47 ΩL = 150 mHt = 5 ms
W = mJ
12.RC & RL transientsHard
+−Vs​10 Vopens at t = 0R1​ = 3.3 kΩR2​ = 1 kΩC10 µF+−vC​

The switch has been closed for a long time, so the circuit is in steady state. At t = 0 the switch opens. Find the capacitor voltage vC at t = 15 ms.

Vs = 10 VR1 = 3.3 kΩR2 = 1 kΩC = 10 µFt = 15 ms
vC = V
13.AC impedance & phasorsMedium
230 V1000 HzR = 100 ΩL = 150 mHC = 4.7 µFI

A series RLC circuit is connected to a 230 V (rms), 1000 Hz supply. Find the rms current I.

V = 230 V (rms)f = 1000 HzR = 100 ΩL = 150 mHC = 4.7 µF
I = A
14.AC impedance & phasorsHard
12 Vf0​R = 50 ΩL = 50 mHC = 2.2 µF

A series RLC circuit is driven by a 12 V (rms) source whose frequency is set to the resonant frequency of the circuit. Find the rms voltage VL across the inductor.

V = 12 V (rms)R = 50 ΩL = 50 mHC = 2.2 µF
VL = V
15.AC power & power factorMedium
230 VR + jXP = 1840 W16 A

An inductive load takes 16 A and 1840 W from a 230 V (rms) single-phase supply. Model it as a resistance R in series with a reactance X. Find R.

V = 230 VI = 16 AP = 1840 W
R = Ω
16.AC power & power factorHard
P = 5 kWQ1​S1​φ1​QC​

A single-phase load takes 5 kW at a power factor of 0.65 lagging from a 400 V, 50 Hz supply. A capacitor connected in parallel raises the power factor to 0.95. Find the reactive power QC the capacitor must supply.

P = 5 kWpf1 = 0.65pf2 = 0.95V = 400 Vf = 50 Hz
QC = kvar
17.Three-phase powerMedium
ABCVL​ = 690 VIL​ = ?M75 kW, η = 94%cos φ = 0.86

A three-phase induction motor delivers 75 kW of mechanical output power at full load. At this load its efficiency is 94% and its power factor is 0.86 lagging. The supply has a line-to-line voltage of 690 V. Find the line current IL.

Pout = 75 kWη = 94%cos φ = 0.86VL = 690 V
IL = A
18.Three-phase powerHard
P = 100 kWφ1​S1​Q2​QC​

A balanced three-phase load takes 100 kW at a power factor of 0.75 lagging from a 690 V (line-to-line), 50 Hz supply. A three-phase capacitor bank in parallel with the load must raise the overall power factor to 0.9 lagging. The real power stays the same. The capacitors are connected in Y. Find the capacitance Cph of each capacitor in µF.

P = 100 kWpf1 = 0.75pf2 = 0.9VL = 690 Vf = 50 Hz
Cph = µF
19.TransformersMedium
8 ΩN1​N2​200 Ω

An amplifier with an output resistance of 200 Ω drives an 8 Ω loudspeaker through an ideal transformer. For maximum power transfer the loudspeaker must look like 200 Ω from the amplifier. Find the turns ratio a = N₁/N₂.

Rs = 200 ΩRL = 8 Ω
a =
20.TransformersHard
100 kVA

A single-phase 100 kVA transformer has a core loss of 300 W and a copper loss of 450 W at rated load. At what load Sη,max, in kVA, is its efficiency highest?

S = 100 kVAPcore = 300 WPcu,fl = 450 W
Sη,max = kVA
21.Op-amp circuitsMedium
−+Vout​Rf​ = 22 kΩR1​ = 22 kΩVin​ = 1.1 V

The op-amp is ideal and runs from ±15 V supplies. Find the output voltage Vout.

Vin = 1.1 VR1 = 22 kΩRf = 22 kΩ
Vout = V
22.Op-amp circuitsHard
Vin​V1​Vout​stage 1: invertingR1​ = 2 kΩRf1​ = 10 kΩstage 2: non-invertingR2​ = 22 kΩRf2​ = 2 kΩ

Two ideal op-amp stages are connected in cascade: an inverting amplifier (R1, Rf1) followed by a non-inverting amplifier (R2 to ground, Rf2 in the feedback). Both run from ±15 V supplies. Find the overall voltage gain Av = Vout/Vin.

R1 = 2 kΩRf1 = 10 kΩR2 = 22 kΩRf2 = 2 kΩ
Av =
23.Diodes & transistorsMedium
+−9 V220 Ω3.3 V1000 ΩIZ​ = ?

A 3.3 V Zener regulator is fed from 9 V through 220 Ω and supplies a 1000 Ω load. Find the Zener current IZ.

Vin = 9 VVZ = 3.3 VR = 220 ΩRL = 1000 Ω
IZ = mA
24.Diodes & transistorsHard
RC​ = 330 Ωβ = 80VCC​ = 9 V3.3 VRB​ = ?

An NPN transistor with β = 80 switches a 330 Ω load resistor connected between VCC = 9 V and its collector. The emitter is grounded. The base is driven from a 3.3 V logic output through a base resistor RB. Take VBE = 0.7 V and VCE(sat) = 0.2 V. Find the largest base resistor RB, in kΩ, that still drives the transistor just into saturation.

VCC = 9 VRC = 330 Ωβ = 80Vin = 3.3 VVBE = 0.7 VVCE(sat) = 0.2 V
RB = kΩ
25.Number systemsMedium
8-bit two's complement?−128?64?32?16?8?4?2?1

Write −37 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?

N = −378 bit
U =
26.Number systemsHard
24 bit1 px256 px256 pxM = ? KiB

An uncompressed image is 256 × 256 pixels with 24 bits per pixel. How much memory M does it take, in KiB (1 KiB = 1024 bytes)?

256 × 256 px24 bit/px1 KiB = 1024 B
M = KiB
27.Digital logic: gates, K-maps & flip-flopsMedium
ABCD0001111000011110111111

In this Karnaugh map exactly one 1 has no neighbouring 1, so it stays a group of one cell (a full minterm of four literals) in the minimal SOP form. Neighbours across the map edges count. Click that cell.

F = Σm(1, 3, 6, 8, 11, 14)
  1. 1AB = 00, CD = 00
  2. 2AB = 00, CD = 01
  3. 3AB = 00, CD = 11
  4. 4AB = 00, CD = 10
  5. 5AB = 01, CD = 00
  6. 6AB = 01, CD = 01
  7. 7AB = 01, CD = 11
  8. 8AB = 01, CD = 10
  9. 9AB = 11, CD = 00
  10. 10AB = 11, CD = 01
  11. 11AB = 11, CD = 11
  12. 12AB = 11, CD = 10
  13. 13AB = 10, CD = 00
  14. 14AB = 10, CD = 01
  15. 15AB = 10, CD = 11
  16. 16AB = 10, CD = 10
28.Digital logic: gates, K-maps & flip-flopsHard
ABCD00011110000111101011X3X214X5170611201311501418X9111010

Find the minimal SOP form of F(A, B, C, D) = Σm(0, 1, 4, 7, 8, 11, 12, 15) + d(2, 3, 5, 9), where d marks the don't-care conditions. How many literals L does it contain?

F(A, B, C, D) = Σm(0, 1, 4, 7, 8, 11, 12, 15) + d(2, 3, 5, 9)
L =
29.Laplace transformsMedium
t (s)f(t)t = 0.4f(0.4) = ?

Find f(t) for F(s) = 20/(s(s + 2)(s + 5)) by partial fractions, and evaluate f(0.4).

F(s) = 20/(s(s + 2)(s + 5))t = 0.4 s
f(0.4) =
30.Laplace transformsHard
t (s)y(t)t = 0.2y(0.2) = ?

A system obeys y″ + 3y′ + 2y = 4·u(t), with y(0) = 5 and y′(0) = 0. At t = 0 a step input u(t) = 1 is applied. Use the Laplace transform to find y(0.2).

y″ + 3y′ + 2y = 4·u(t)y(0) = 5y′(0) = 0u(t) = 1t = 0.2 s
y(0.2) =
31.Block diagramsMedium
R(s)+25s + 3G(s)C(s)0.5H−

A plant G(s) = 25/(s + 3) is controlled in a negative feedback loop whose sensor has the gain H = 0.5. A step of size 12 is applied at R. Find the steady-state output css.

G(s) = 25/(s + 3)H = 0.5R = 12
css =
32.Block diagramsHard
R(s)+80s(s + 7)G(s)C(s)0.5H−

The plant G(s) = 80/(s(s + 7)) is in a negative feedback loop with sensor gain H = 0.5. The closed-loop poles are complex. Find their real part σ.

G(s) = 80/(s(s + 7))H = 0.5
σ =
33.Step responseMedium
t (s)y(t)0.5

A system has the transfer function G(s) = 3/(s² + 4s + 6) and receives a unit step input. The poles are s = σ ± jωd. Find the real part σ.

G(s) = 3/(s² + 4s + 6)
σ =
34.Step responseHard
R(s)+Ks(s + 8)G(s)C(s)−

A unity negative feedback loop has G(s) = K/(s(s + 8)). Find the gain K that gives a step response with 30 % overshoot.

G(s) = K/(s(s + 8))%OS = 30 %
K =
35.Bode plots & marginsMedium
vin​L = 10 mHC = 4.7 µFR = 5 Ωvout​

In the series RLC band-pass filter shown the output is taken across R = 5 Ω, with L = 10 mH and C = 4.7 µF. Find the quality factor Q.

R = 5 ΩL = 10 mHC = 4.7 µF
Q =
36.Bode plots & marginsHard
|H| (dB)0.10.1111010100100−80−60−40−2002040ω (rad/s)φ (°)ω (rad/s)−270−180−900ω180​

A unity-feedback loop has the open-loop transfer function L(s) = K/(s(s + 7)(s + 8)). Find the gain K that gives a gain margin of 12 dB.

L(s) = K/(s(s + 7)(s + 8))GM = 12 dB
K =
37.Stability: Routh–Hurwitz & root locusMedium
R(s)+4801s(s + 4)(s + 6)C(s)−

The loop in the diagram has negative feedback and L(s) = 480/(s(s + 4)(s + 6)). How many closed-loop poles N lie in the right half-plane?

L(s) = 480/(s(s + 4)(s + 6))
N =
38.Stability: Routh–Hurwitz & root locusHard
ReIm−5j5

The root locus of L(s) = K/((s + 2)(s + 4)(s + 5)) is sketched. Find the frequency ω at which the locus crosses the imaginary axis.

L(s) = K/((s + 2)(s + 4)(s + 5))
ω = rad/s
39.Steady-state error & PID controlMedium
R(s)+K(s + 1)(s + 5)C(s)−

A unity-feedback loop has G(s) = K/((s + 1)(s + 5)). Find the gain K that gives a steady-state error of 25 % for a step input.

G(s) = K/((s + 1)(s + 5))ess = 25 %
K =
40.Steady-state error & PID controlHard
R(s)+K = 254s(s + 6)C(s)−

A proportional controller K = 25 drives the plant G(s) = 4/(s(s + 6)) in a unity-feedback loop. Find the 2 % settling time ts of the step response, using ts ≈ 4/(ζωₙ).

G(s) = 4/(s(s + 6))K = 25
ts = s

3Solutions

1.Series & parallel resistors

Answer: IR2 = 1.071 A

Series and parallel resistors: in series the same current flows through each resistor and R = R₁ + R₂ + …. In parallel each resistor has the same voltage and 1/R = 1/R₁ + 1/R₂ + …. A ladder network is reduced one pair at a time until a single equivalent resistance remains.

R1​ = 6 ΩR3​ = 6 Ω+−V1​10 VR2​2 ΩAR4​3 ΩB

Combine resistors from the far end

Start at the end farthest from the source and work back towards it. Resistors carrying the same current are in series; resistors across the same two nodes are in parallel.

R3 + R4 = 6 + 3 = 9 Ω
R2 ∥ 9 = 2·9/(2+9) = 1.636 Ω
Req = R1 + 1.636 = 6 + 1.636 = 7.636 Ω

Current from the source

The source sees only Req, so Ohm’s law gives the current it delivers. That current flows through R₁.

IR1 = V1/Req = 10/7.636 = 1.31 A

Current through R₂

Subtract the drop across R₁ to get the voltage at node A, which is the voltage across R₂.

VA = V1 − IR1·R1 = 10 − 1.31·6 = 2.143 V
IR2 = VA/R2 = 2.143/2 = 1.071 A

Answer

IR2 = 1.071 A
2.Series & parallel resistors

Answer: Req = 13.17 Ω

Series and parallel resistors: in series the same current flows through each resistor and R = R₁ + R₂ + …. In parallel each resistor has the same voltage and 1/R = 1/R₁ + 1/R₂ + …. A ladder network is reduced one pair at a time until a single equivalent resistance remains.

R1​ = 6 ΩR3​ = 20 ΩR5​ = 25 Ω+−V1​5 VR2​10 ΩAR4​6 ΩBR6​20 Ω

Combine resistors from the far end

Start at the end farthest from the source and work back towards it. Resistors carrying the same current are in series; resistors across the same two nodes are in parallel.

R5 + R6 = 25 + 20 = 45 Ω
R4 ∥ 45 = 5.294 Ω
R3 + 5.294 = 25.29 Ω
R2 ∥ 25.29 = 7.167 Ω
Req = R1 + 7.167 = 6 + 7.167 = 13.17 Ω

Answer

Req = 13.17 Ω
3.Nodal analysis

Answer: VA = 20 V

Nodal analysis: choose a reference node, label the unknown node voltages, write Kirchhoff’s current law at each unknown node using Ohm’s law (I = ΔV/R), and solve the resulting equations.

Form a supernode

The voltage source between A and B carries an unknown current, so KCL cannot be written at A or B separately. Enclose A, B and the source in one supernode: the current entering it equals the current leaving it.

VB = VA + Vs = VA + 10
VA/R1 + VB/R2 = Is

Solve

VA/20 + (VA + 10)/15 = 3
VA = (3 − 10/15)/(1/20 + 1/15) = 20 V
VB = 20 + 10 = 30 V

Answer

VA = 20 V
4.Nodal analysis

Answer: VB = 10.54 V

Nodal analysis: choose a reference node, label the unknown node voltages, write Kirchhoff’s current law at each unknown node using Ohm’s law (I = ΔV/R), and solve the resulting equations.

R1​ = 10 ΩR2​ = 20 ΩR4​ = 8 Ω+−V1​9 VR3​5 ΩAR5​5 ΩBIs​2.5 A+−V2​10 V

Set up the nodes

Ground is the bottom wire. Known node voltages come straight from the sources (V1 = 9 V, V2 = 10 V). Unknowns: VA, VB.

KCL at node A

Currents leaving A through the resistors equal the current pushed into A by sources.

VA/R3 + (VA − V1)/R1 + (VA − VB)/R2 = 0
VA/5 + (VA − 9)/10 + (VA − VB)/20 = 0
0.35·VA − 0.05·VB = 0.9

KCL at node B

Currents leaving B through the resistors equal the current pushed into B by sources.

VB/R5 + (VB − VA)/R2 + (VB − V2)/R4 = Is
VB/5 + (VB − VA)/20 + (VB − 10)/8 = 2.5
−0.05·VA + 0.375·VB = 3.75

Solve

Δ = (0.35)(0.375) − (−0.05)(−0.05) = 0.1288
VA = Δ1/Δ = 0.525/0.1288 = 4.078 V
VB = Δ2/Δ = 1.358/0.1288 = 10.54 V

Answer

VB = 10.54 V
5.Mesh analysis

Answer: IR1 = −1.414 A

Mesh analysis: give each window of a planar circuit its own loop current, write Kirchhoff’s voltage law around each loop (sum of drops = sum of rises), and solve. Branch currents are the mesh current, or the difference of two mesh currents on a shared branch.

R1​ = 6 ΩR2​ = 4 Ω+−V1​6 VR3​15 ΩA+−V2​24 VI1​I2​

Assign mesh currents

Draw a clockwise current in each window: I1, I2. A resistor shared by two meshes carries the difference of their currents.

KVL around mesh 1

Going clockwise, the voltage drops across resistors equal the source voltage rises (− to + in the direction of travel).

R1·I1 + R3(I1 − I2) = V1
6·I1 + 15(I1 − I2) = 6
21·I1 − 15·I2 = 6

KVL around mesh 2

Going clockwise, the voltage drops across resistors equal the source voltage rises (− to + in the direction of travel).

R2·I2 + R3(I2 − I1) = −V2
4·I2 + 15(I2 − I1) = (−24)
−15·I1 + 19·I2 = −24

Solve

Δ = (21)(19) − (−15)(−15) = 174
I1 = Δ1/Δ = −246/174 = −1.414 A
I2 = Δ2/Δ = −414/174 = −2.379 A

Answer

IR1 = I1 = −1.414 A

A negative mesh current flows anticlockwise.

6.Mesh analysis

Answer: VR1 = 8.938 V

Mesh analysis: give each window of a planar circuit its own loop current, write Kirchhoff’s voltage law around each loop (sum of drops = sum of rises), and solve. Branch currents are the mesh current, or the difference of two mesh currents on a shared branch.

R1​ = 12 ΩR2​ = 6 ΩR3​ = 2 Ω+−V1​15 VR4​10 ΩAR5​10 ΩB+−V2​6 VI1​I2​I3​

Assign mesh currents

Draw a clockwise current in each window: I1, I2, I3. A resistor shared by two meshes carries the difference of their currents.

KVL around mesh 1

Going clockwise, the voltage drops across resistors equal the source voltage rises (− to + in the direction of travel).

R1·I1 + R4(I1 − I2) = V1
12·I1 + 10(I1 − I2) = 15
22·I1 − 10·I2 = 15

KVL around mesh 2

Going clockwise, the voltage drops across resistors equal the source voltage rises (− to + in the direction of travel).

R2·I2 + R4(I2 − I1) + R5(I2 − I3) = 0
6·I2 + 10(I2 − I1) + 10(I2 − I3) = 0
−10·I1 + 26·I2 − 10·I3 = 0

KVL around mesh 3

Going clockwise, the voltage drops across resistors equal the source voltage rises (− to + in the direction of travel).

R3·I3 + R5(I3 − I2) = −V2
2·I3 + 10(I3 − I2) = (−6)
−10·I2 + 12·I3 = −6

Solve

Δ = det of the coefficient matrix = 3464
I1 = Δ1/Δ = 2580/3464 = 0.7448 A
I2 = Δ2/Δ = 480/3464 = 0.1386 A
I3 = Δ3/Δ = −1332/3464 = −0.3845 A

Answer

IR1 = I1 = 0.7448 A
VR1 = IR1·R1 = 0.7448·12 = 8.938 V

A negative mesh current flows anticlockwise.

7.Superposition

Answer: I = 16 mA

Superposition: in a linear circuit, any voltage or current is the sum of the responses to each independent source acting alone. To switch a source off, replace an ideal voltage source with a short circuit and an ideal current source with an open circuit. Resistors stay where they are.

Write the response as a sum of contributions

Each contribution is proportional to its own source, with a constant that depends only on the resistors.

I = k₁·Vs + k₂·Is
5·k₁ + 2·k₂ = 7.7
6·k₁ + 6·k₂ = 9.6

Solve for the constants

Δ = (5)(6) − (2)(6) = 18
k₁ = Δ1/Δ = 27/18 = 1.5
k₂ = Δ2/Δ = 1.8/18 = 0.1
k₁ = 1.5 mA/V, k₂ = 0.1

Predict the new current

I = 1.5·10 + 0.1·10 = 16 mA

Answer

I = 16 mA
8.Superposition

Answer: VR2 = −16.97 V

Superposition: in a linear circuit, any voltage or current is the sum of the responses to each independent source acting alone. To switch a source off, replace an ideal voltage source with a short circuit and an ideal current source with an open circuit. Resistors stay where they are.

R1​ = 5 ΩR2​ = 15 ΩR4​ = 15 Ω+−V1​5 VR3​8 ΩAOPENBSHORT

Case 1 · V1 acting alone

V₂ becomes a short and Iₛ an open circuit. Seen from A, R₃ is in parallel with the series pair R₂+R₄.

R3 ∥ (R2+R4) = 8 ∥ 30 = 6.316 Ω
VA = 5·6.316/(5+6.316) = 2.791 V
VB = VA·R4/(R2+R4) = 2.791·15/30 = 1.395 V
VR2′ = VA − VB = 2.791 − 1.395 = 1.395 V
R1​ = 5 ΩR2​ = 15 ΩR4​ = 15 ΩSHORTR3​8 ΩAIs​1.5 ABSHORT

Case 2 · Is acting alone

Both voltage sources become shorts. Iₛ splits at B between R₄ (now to ground) and R₂ in series with R₁ ∥ R₃.

R1 ∥ R3 = 3.077 Ω, so the left path is R2+3.077 = 18.08 Ω
Req = R4 ∥ 18.08 = 8.198 Ω
VB = Is·Req = 1.5·8.198 = 12.3 V
VA = VB·3.077/18.08 = 2.093 V
VR2″ = VA − VB = 2.093 − 12.3 = −10.2 V
R1​ = 5 ΩR2​ = 15 ΩR4​ = 15 ΩSHORTR3​8 ΩAOPENB+−V2​18 V

Case 3 · V2 acting alone

V₁ becomes a short and Iₛ an open circuit. R₁ ∥ R₃ hangs from A, in series with R₂ back to B.

R1 ∥ R3 = 5·8/(5+8) = 3.077 Ω
VB = V2·(R2+R1∥R3)/(R4+R2+R1∥R3) = 18·18.08/33.08 = 9.837 V
VA = VB·(R1∥R3)/(R2+R1∥R3) = 9.837·3.077/18.08 = 1.674 V
VR2‴ = VA − VB = 1.674 − 9.837 = −8.163 V

Add the contributions

VR2 = VR2′ + VR2″ + VR2‴
VR2 = 1.395 + (−10.2) + (−8.163) = −16.97 V

A negative result means the real polarity is opposite to the one marked.

9.Thévenin & Norton

Answer: IL = 0.2415 A

Thévenin’s theorem: any linear two-terminal network behaves like a single voltage source Vth in series with a resistance Rth. Norton’s theorem gives the same network as a current source IN = Vth/Rth in parallel with Rth.

R1​ = 3 ΩR3​ = 12 ΩSHORTR2​15 ΩAabRth​

Find Rth with every source switched off

Replace voltage sources with shorts and current sources with opens, then look into the circuit from a–b.

R1 ∥ R2 = 3·15/(3+15) = 2.5 Ω
Rth = (R1 ∥ R2) + R3 = 2.5 + 12 = 14.5 Ω
R1​ = 3 ΩR3​ = 12 Ω+−V1​10 VR2​15 ΩAab+−Vth​

Find Vth, the open-circuit voltage

With a–b open, no current flows through R₃, so there is no drop across it and V_b = V_A. R₁ and R₂ form a voltage divider.

Vth = V1·R2/(R1+R2) = 10·15/(3+15) = 8.333 V
Rth​ = 14.5 Ω+−Vth​8.333 VRL​20 ΩIL​

Connect the load to the Thévenin equivalent

The Thévenin source and R_th in series behave exactly like the original circuit at a–b, so the load sees a simple series loop.

IL = Vth/(Rth + RL) = 8.333/(14.5 + 20) = 0.2415 A
10.Thévenin & Norton

Answer: Vth = 74.18 V

Thévenin’s theorem: any linear two-terminal network behaves like a single voltage source Vth in series with a resistance Rth. Norton’s theorem gives the same network as a current source IN = Vth/Rth in parallel with Rth.

R1​ = 30 ΩR3​ = 15 ΩSHORTR2​3 ΩAOPENBabRth​

Find Rth with every source switched off

Replace voltage sources with shorts and current sources with opens, then look into the circuit from a–b.

R1 ∥ R2 = 30·3/(30+3) = 2.727 Ω
Rth = (R1 ∥ R2) + R3 = 2.727 + 15 = 17.73 Ω
R1​ = 30 ΩR3​ = 15 Ω+−V1​36 VR2​3 ΩAIs​4 ABab+−Vth​

Find Vth, the open-circuit voltage

With a–b open, the only path for Iₛ is through R₃ into node A. Find V_A by superposition of V₁ and Iₛ, then add the drop across R₃.

VA = V1·R2/(R1+R2) + Is·(R1∥R2) = 3.273 + 4·2.727 = 14.18 V
Vth = VB = VA + Is·R3 = 14.18 + 4·15 = 74.18 V
11.RC & RL transients

Answer: W = 2.126 mJ

First-order transients: in a circuit with one capacitor or one inductor, every voltage and current moves exponentially from its initial value to its final value: x(t) = x(∞) + [x(0) − x(∞)]·e−t/τ, with τ = RC or τ = L/R. After about 5τ the circuit has settled.

Time constant and final current

Long after the switch closes the inductor behaves like a short circuit, so the final current is set by R alone.

τ = L/R = 150 mH / 47 Ω = 3.191 ms
i(∞) = Vs/R = 10/47 = 0.2128 A

Current at the given time

i(t) = 0.2128·(1 − e−5/3.191) = 0.1684 A

Stored energy

W = ½·L·i² = ½·150·0.1684² = 2.126 mJ

Answer

W = 2.126 mJ
12.RC & RL transients

Answer: vC = 0.5189 V

First-order transients: in a circuit with one capacitor or one inductor, every voltage and current moves exponentially from its initial value to its final value: x(t) = x(∞) + [x(0) − x(∞)]·e−t/τ, with τ = RC or τ = L/R. After about 5τ the circuit has settled.

Initial capacitor voltage

In steady state the capacitor is an open circuit, so R₁ and R₂ form a voltage divider. The capacitor voltage cannot jump when the switch opens.

vC(0) = 10·1/(3.3 + 1) = 2.326 V

Time constant after the switch opens

τ = R2·C = 1·10 = 10 ms

Discharge

vC(t) = 2.326·e−15/10 = 0.5189 V

Answer

vC = 0.5189 V
13.AC impedance & phasors

Answer: I = 0.2516 A

AC circuits with phasors: resistors, inductors and capacitors have impedances R, jωL and 1/(jωC), with ω = 2πf. In series, impedances add like resistances, but as complex numbers. Rms current and voltage follow Ohm’s law with |Z|.

Reactances

ω = 2πf = 2π·1000 = 6283 rad/s
XL = ωL = 6283·0.15 = 942.5 Ω
XC = 1/(ωC) = 1/(6283·4.7·10⁻⁶) = 33.86 Ω

Impedance

In series the impedances add as complex numbers: Z = R + j(XL − XC).

|Z| = √(R² + (XL − XC)²) = √(100² + (908.6)²) = 914.1 Ω

Current

The same current flows through every element of a series circuit.

I = V/|Z| = 230/914.1 = 0.2516 A

Answer

I = 0.2516 A
14.AC impedance & phasors

Answer: VL = 36.18 V

AC circuits with phasors: resistors, inductors and capacitors have impedances R, jωL and 1/(jωC), with ω = 2πf. In series, impedances add like resistances, but as complex numbers. Rms current and voltage follow Ohm’s law with |Z|.

Resonance

At resonance the reactances cancel, so the impedance is just R.

ω₀ = 1/√(LC) = 1/√(0.05·2.2·10⁻⁶) = 3015 rad/s
I = V/R = 12/50 = 0.24 A

Voltage across the inductor

XL = ω₀L = 3015·0.05 = 150.8 Ω
VL = I·XL = 0.24·150.8 = 36.18 V

Answer

VL = 36.18 V

This is Q = 3.015 times the supply voltage.

15.AC power & power factor

Answer: R = 7.188 Ω

AC power: apparent power S = V·I (VA) splits into real power P = S·cos φ (W), which does useful work, and reactive power Q = S·sin φ (var), which moves back and forth between source and load. The power factor is cos φ. A capacitor in parallel supplies reactive power locally, so the line current drops for the same real power.

Resistance from the real power

R = P/I² = 1840/16² = 7.188 Ω

Answer

R = 7.188 Ω
16.AC power & power factor

Answer: QC = 4.202 kvar

AC power: apparent power S = V·I (VA) splits into real power P = S·cos φ (W), which does useful work, and reactive power Q = S·sin φ (var), which moves back and forth between source and load. The power factor is cos φ. A capacitor in parallel supplies reactive power locally, so the line current drops for the same real power.

Reactive power before and after

The real power P does not change; only the reactive power drawn from the supply does.

Q1 = P·tan φ1 = 5·tan(49.46°) = 5.846 kvar
Q2 = P·tan φ2 = 5·tan(18.19°) = 1.643 kvar
QC = Q1 − Q2 = 4.202 kvar

Answer

QC = 4.202 kvar
17.Three-phase power

Answer: IL = 77.63 A

Balanced three-phase systems: in a Y (star) connection the line-to-line voltage is √3 times the phase voltage, VL = √3·Vph, and the line current equals the phase current. In a Δ (delta) connection the line-to-line voltage equals the phase voltage and the line current is √3 times the phase current, IL = √3·Iph. The total power is three times the power of one phase: P = 3·Vph·Iph·cos φ = √3·VL·IL·cos φ.

Electrical input power

Pin = Pout/η = 75/0.94 = 79.79 kW

Line current

IL = Pin/(√3·VL·cos φ) = 79787/(√3·690·0.86) = 77.63 A

Answer

IL = 77.63 A
18.Three-phase power

Answer: Cph = 265.8 µF

Balanced three-phase systems: in a Y (star) connection the line-to-line voltage is √3 times the phase voltage, VL = √3·Vph, and the line current equals the phase current. In a Δ (delta) connection the line-to-line voltage equals the phase voltage and the line current is √3 times the phase current, IL = √3·Iph. The total power is three times the power of one phase: P = 3·Vph·Iph·cos φ = √3·VL·IL·cos φ. Power factor correction: capacitors supply reactive power locally, QC = P·(tan φ1 − tan φ2). Each of the three capacitors supplies QC/3 = V²·ω·C, where V is the voltage across that capacitor: VL in a Δ bank, VL/√3 in a Y bank.

Reactive power before and after

The real power is unchanged, so each power factor fixes the reactive power: Q = P·tan φ.

Q1 = 100·tan(acos 0.75) = 100·0.8819 = 88.19 kvar
Q2 = 100·tan(acos 0.9) = 100·0.4843 = 48.43 kvar

Reactive power from the capacitors

QC = Q1 − Q2 = 39.76 kvar

Capacitance per phase

In a Y bank each capacitor is connected between a line and the star point.

V = 690/√3 = 398.4 V, ω = 2π·50 = 314.2 rad/s
Cph = (QC/3)/(ω·V²) = 13253/(314.2·398.4²) = 265.8 µF

Answer

Cph = 265.8 µF
19.Transformers

Answer: a = 5

Ideal transformer: the voltages are in the ratio of the turns and the currents in the inverse ratio: V₁/V₂ = N₁/N₂ = a and I₁/I₂ = N₂/N₁ = 1/a, so the power in equals the power out, V₁·I₁ = V₂·I₂. A load impedance Z on the secondary looks like a²·Z from the primary.

Match the referred load

a²·8 = 200
a = √(200/8) = √25 = 5

Answer

a = 5
20.Transformers

Answer: Sη,max = 81.65 kVA

Transformer losses: the core loss (hysteresis and eddy currents) depends on the voltage and is the same at any load. The copper loss in the windings goes with the current squared, so at a fraction x of rated load it is x²·Pcu,fl. Efficiency η = Pout/(Pout + Pcore + Pcu), with Pout = x·S·pf. The efficiency is highest at the load where the copper loss equals the core loss.

Copper loss equals core loss

x²·450 = 300 → x = √(300/450) = 0.8165

Load at maximum efficiency

Sη,max = x·S = 0.8165·100 = 81.65 kVA

Answer

Sη,max = 81.65 kVA
21.Op-amp circuits

Answer: Vout = 2.2 V

Ideal op-amp rules: with negative feedback, the op-amp drives its output so that its two inputs sit at the same voltage (V₋ = V₊), and no current flows into either input. Writing KCL at the inverting input with these two facts gives the output.

Inverting input follows the input

V₋ = V₊ = 1.1 V
I = V₋/R1 = 1.1/22 = 0.05 mA

Output voltage

The current through R₁ also flows through Rf.

Vout = V₋ + I·Rf = 1.1 + 0.05·22 = 2.2 V

Answer

Vout = 2.2 V
22.Op-amp circuits

Answer: Av = −5.455

Ideal op-amp rules: with negative feedback, the op-amp drives its output so that its two inputs sit at the same voltage (V₋ = V₊), and no current flows into either input. Writing KCL at the inverting input with these two facts gives the output.

Gain of each stage

A1 = −Rf1/R1 = −10/2 = −5
A2 = 1 + Rf2/R2 = 1 + 2/22 = 1.091

Overall gain

Av = A1·A2 = −5·1.091 = −5.455

Answer

Av = −5.455
23.Diodes & transistors

Answer: IZ = 22.61 mA

Zener regulator: a reverse-biased Zener diode holds its voltage VZ while its current stays above a minimum IZ,min. The series resistor R takes the difference between input and output: IR = (Vin − VZ)/R. That current splits between the load, IL = VZ/RL, and the Zener: IZ = IR − IL. Design for the worst cases: the lowest input with the largest load must still leave IZ,min, and the highest input with no load gives the largest Zener power PZ = VZ·IZ.

Resistor current

IR = 5.7/220 = 25.91 mA

Load current

IL = 3.3/1000 = 3.3 mA

Zener current

IZ = 25.91 − 3.3 = 22.61 mA

Answer

IZ = 22.61 mA
24.Diodes & transistors

Answer: RB = 7.8 kΩ

BJT as a switch: to switch a load fully on, the transistor is driven into saturation, where VCE = VCE(sat) and the collector current is set by the load: IC(sat) = (VCC − VCE(sat))/RC. Saturation needs at least IB = IC(sat)/β. If the base current is smaller, the transistor stays active and IC = β·IB.

Collector current in saturation

IC(sat) = (9 − 0.2)/330 = 26.67 mA

Minimum base current

IB(min) = IC(sat)/β = 26.67/80 = 333.3 µA

Base resistor

RB = (3.3 − 0.7)/IB = 2.6 V/0.3333 mA = 7.8 kΩ

Answer

RB = 7.8 kΩ

Any smaller base resistor also saturates the transistor; in practice you pick one a few times smaller.

25.Number systems

Answer: U = 219

Positional number systems: each digit is worth its value times a power of the base. In binary the places are worth 1, 2, 4, 8, 16, …; in hexadecimal 1, 16, 256, …, with A–F standing for 10–15. In 8-bit two's complement the leftmost bit is worth −128 instead of +128, which is how negative numbers are stored.

Invert and add one

37 = 0010 0101
inverted: 1101 1010
+1 → 1101 1011

Read it as unsigned

1101 1011₂ = 256 − 37 = 219

Answer

U = 219
26.Number systems

Answer: M = 192 KiB

Positional number systems: each digit is worth its value times a power of the base. In binary the places are worth 1, 2, 4, 8, 16, …; in hexadecimal 1, 16, 256, …, with A–F standing for 10–15. In 8-bit two's complement the leftmost bit is worth −128 instead of +128, which is how negative numbers are stored.

Bits and bytes

256·256·24 = 1572864 bit = 196608 B

Convert to KiB

196608/1024 = 192 KiB

Answer

M = 192 KiB
27.Digital logic: gates, K-maps & flip-flops

Answer: AB = 10, CD = 00

Karnaugh maps: the cells are ordered in Gray code (00, 01, 11, 10), so neighbouring cells, including the ones across the edges, differ in exactly one variable. Group the 1s in rectangles of 1, 2, 4, 8 or 16 cells, as large as possible and as few as possible, until every 1 is covered. Each group is one product term: the variables that stay constant inside it. A group of 2ᵏ cells loses k variables. Don't-cares (X) may be used to make groups bigger but never have to be covered. Grouping the 0s instead gives the minimal POS form.

Neighbours of each 1

A 1 with a neighbouring 1 can join a group of two or more.

m8: m9, m10, m12, m0 → 0
ABCD0001111000011110111111

The isolated 1

m8 = AB′C′D′ → AB = 10, CD = 00

Answer

AB = 10, CD = 00
28.Digital logic: gates, K-maps & flip-flops

Answer: L = 6

Karnaugh maps: the cells are ordered in Gray code (00, 01, 11, 10), so neighbouring cells, including the ones across the edges, differ in exactly one variable. Group the 1s in rectangles of 1, 2, 4, 8 or 16 cells, as large as possible and as few as possible, until every 1 is covered. Each group is one product term: the variables that stay constant inside it. A group of 2ᵏ cells loses k variables. Don't-cares (X) may be used to make groups bigger but never have to be covered. Grouping the 0s instead gives the minimal POS form.

Prime implicants

The largest groups that can be formed from 1s and Xs.

C′D′, CD, B′D, B′C′, A′D, A′C′, A′B′
ABCD00011110000111101011X3X214X5170611201311501418X9111010

Minimal cover

F = C′D′ + CD + B′D
L = 6

Answer

L = 6

Another grouping of the same size exists; it has the same number of terms and literals.

29.Laplace transforms

Answer: f(0.4) = 0.6827

Laplace transform: F(s) = ∫₀∞ f(t)·e−st dt turns derivatives into multiplications by s: ℒ{f′} = sF(s) − f(0), ℒ{f″} = s²F(s) − s·f(0) − f′(0). Standard pairs: 1 ↔ 1/s, e−at ↔ 1/(s + a), t·e−at ↔ 1/(s + a)², sin ωt ↔ ω/(s² + ω²), cos ωt ↔ s/(s² + ω²), and a shift s → s + σ multiplies the time function by e−σt. To invert a rational F(s), split it into partial fractions: the residue of a simple pole p is A = [(s − p)·F(s)] at s = p. Final value theorem: f(∞) = lims→0 s·F(s), valid only when all poles of s·F(s) lie in the left half-plane. Initial value theorem: f(0⁺) = lims→∞ s·F(s).

Partial fractions

F(s) = A/s + B/(s + 2) + C/(s + 5)
A = 20/(2·5) = 2
B = 20/((−2)·3) = −3.333
C = 20/((−5)·(−3)) = 1.333

Inverse transform

f(t) = 2 − 3.333·e−2t + 1.333·e−5t

Evaluate

f(0.4) = 2 − 3.333·e−2·0.4 + 1.333·e−5·0.4 = 0.6827

Answer

f(0.4) = 0.6827
30.Laplace transforms

Answer: y(0.2) = 4.901

Laplace transform: F(s) = ∫₀∞ f(t)·e−st dt turns derivatives into multiplications by s: ℒ{f′} = sF(s) − f(0), ℒ{f″} = s²F(s) − s·f(0) − f′(0). Standard pairs: 1 ↔ 1/s, e−at ↔ 1/(s + a), t·e−at ↔ 1/(s + a)², sin ωt ↔ ω/(s² + ω²), cos ωt ↔ s/(s² + ω²), and a shift s → s + σ multiplies the time function by e−σt. To invert a rational F(s), split it into partial fractions: the residue of a simple pole p is A = [(s − p)·F(s)] at s = p. Final value theorem: f(∞) = lims→0 s·F(s), valid only when all poles of s·F(s) lie in the left half-plane. Initial value theorem: f(0⁺) = lims→∞ s·F(s).

Transform the equation

(s² + 3s + 2)·Y(s) = 5s + 15 + 4/s
Y(s) = (5s² + 15s + 4)/(s(s + 1)(s + 2))

Partial fractions

A = 4/(1·2) = 2
B = −6/((−1)·1) = 6
C = −6/((−2)·(−1)) = −3

Result

y(t) = 2 + 6·e−t − 3·e−2t
y(0.2) = 4.901

Answer

y(0.2) = 4.901

Check: y(0) = A + B + C = 5.

31.Block diagrams

Answer: css = 19.35

Block-diagram algebra: blocks in series multiply (G₁·G₂), blocks in parallel add (G₁ + G₂), and a loop with forward path G and feedback path H reduces to T = G/(1 + G·H) for negative feedback and G/(1 − G·H) for positive feedback. Reduce inner loops first, then work outwards. The closed-loop poles are the roots of the characteristic equation 1 + G(s)H(s) = 0. For a stable loop, a step input of size A gives the steady-state output A·T(0); with unity feedback the steady-state error to a step is A/(1 + Kp) with Kp = G(0).

Closed-loop transfer function

T(s) = G/(1 + G·H) = 25/(s + 3 + 12.5) = 25/(s + 15.5)

Result

css = R·T(0) = 12·25/15.5 = 19.35

Answer

css = 19.35
32.Block diagrams

Answer: σ = −3.5

Block-diagram algebra: blocks in series multiply (G₁·G₂), blocks in parallel add (G₁ + G₂), and a loop with forward path G and feedback path H reduces to T = G/(1 + G·H) for negative feedback and G/(1 − G·H) for positive feedback. Reduce inner loops first, then work outwards. The closed-loop poles are the roots of the characteristic equation 1 + G(s)H(s) = 0. For a stable loop, a step input of size A gives the steady-state output A·T(0); with unity feedback the steady-state error to a step is A/(1 + Kp) with Kp = G(0).

Characteristic equation

s(s + 7) + 80·0.5 = 0 → s² + 7s + 40 = 0

Roots

s = −3.5 ± j·√(40 − 12.25) = −3.5 ± j5.268
σ = −3.5

Answer

σ = −3.5
33.Step response

Answer: σ = −2

Step response: a first-order system G(s) = K/(τs + 1) answers a step of size U with y(t) = K·U·(1 − e−t/τ): it reaches 63.2 % of the final value K·U after one time constant τ and 98 % after 4τ. A second-order system G(s) = K·ωₙ²/(s² + 2ζωₙs + ωₙ²) has the poles s = −ζωₙ ± jωd with ωd = ωₙ√(1 − ζ²). For 0 < ζ < 1 the step response overshoots: percent overshoot %OS = 100·e−ζπ/√(1−ζ²), peak time tp = π/ωd, and the 2 % settling time ts ≈ 4/(ζωₙ). Compare the denominator with s² + 2ζωₙs + ωₙ² to read off ωₙ and ζ. For a mass–spring–damper ωₙ = √(k/m) and ζ = c/(2√(km)); for a series RLC circuit ωₙ = 1/√(LC) and ζ = (R/2)·√(C/L).

Compare with the standard form

The denominator must match s² + 2ζωₙs + ωₙ².

ωₙ² = 6 → ωₙ = 2.449 rad/s
2ζωₙ = 4 → ζ = 4/(2·2.449) = 0.8165

Result

σ = −ζωₙ = −4/2 = −2

Answer

σ = −2
34.Step response

Answer: K = 124.9

Step response: a first-order system G(s) = K/(τs + 1) answers a step of size U with y(t) = K·U·(1 − e−t/τ): it reaches 63.2 % of the final value K·U after one time constant τ and 98 % after 4τ. A second-order system G(s) = K·ωₙ²/(s² + 2ζωₙs + ωₙ²) has the poles s = −ζωₙ ± jωd with ωd = ωₙ√(1 − ζ²). For 0 < ζ < 1 the step response overshoots: percent overshoot %OS = 100·e−ζπ/√(1−ζ²), peak time tp = π/ωd, and the 2 % settling time ts ≈ 4/(ζωₙ). Compare the denominator with s² + 2ζωₙs + ωₙ² to read off ωₙ and ζ. For a mass–spring–damper ωₙ = √(k/m) and ζ = c/(2√(km)); for a series RLC circuit ωₙ = 1/√(LC) and ζ = (R/2)·√(C/L).

Closed-loop transfer function

T(s) = K/(s² + 8s + K)

Damping ratio from the overshoot

ζ = −ln(0.3)/√(π² + ln²(0.3)) = 0.3579

Gain

ωₙ = 8/(2ζ) = 11.18 rad/s
K = ωₙ² = 124.9

Answer

K = 124.9
35.Bode plots & margins

Answer: Q = 9.225

Frequency response: substitute s = jω in the transfer function. The magnitude in decibels is 20·log₁₀|H(jω)| and the phase is the sum of the angles of the numerator factors minus those of the denominator factors. A first-order RC or RL filter has its corner (−3 dB) frequency at ωc = 1/(RC) or R/L, and fc = ωc/(2π); a low-pass filter gives |H| = 1/√(1 + (ω/ωc)²) and φ = −atan(ω/ωc). In the asymptotic (straight-line) Bode plot each pole bends the magnitude down by 20 dB/decade at its corner frequency, each zero bends it up by 20 dB/decade, and an integrator 1/s gives −20 dB/decade at all frequencies. Gain crossover ωc: |L(jω)| = 1 (0 dB); phase margin PM = 180° + ∠L(jωc). Phase crossover ω180: ∠L(jω) = −180°; gain margin GM = −20·log₁₀|L(jω180)| dB. The closed loop is stable when both margins are positive.

Resonant frequency

ω₀ = 1/√(LC) = 1/√(0.01·4.7 × 10⁻⁶) = 4613 rad/s
f₀ = ω₀/(2π) = 734.1 Hz

Quality factor

BW = R/L = 5/0.01 = 500 rad/s = 79.58 Hz
Q = ω₀/BW = 4613/500 = 9.225

Answer

Q = 9.225
36.Bode plots & margins

Answer: K = 211

Frequency response: substitute s = jω in the transfer function. The magnitude in decibels is 20·log₁₀|H(jω)| and the phase is the sum of the angles of the numerator factors minus those of the denominator factors. A first-order RC or RL filter has its corner (−3 dB) frequency at ωc = 1/(RC) or R/L, and fc = ωc/(2π); a low-pass filter gives |H| = 1/√(1 + (ω/ωc)²) and φ = −atan(ω/ωc). In the asymptotic (straight-line) Bode plot each pole bends the magnitude down by 20 dB/decade at its corner frequency, each zero bends it up by 20 dB/decade, and an integrator 1/s gives −20 dB/decade at all frequencies. Gain crossover ωc: |L(jω)| = 1 (0 dB); phase margin PM = 180° + ∠L(jωc). Phase crossover ω180: ∠L(jω) = −180°; gain margin GM = −20·log₁₀|L(jω180)| dB. The closed loop is stable when both margins are positive.

Phase crossover

(ω/7)·(ω/8) = 1 → ω180 = √(7·8) = 7.483 rad/s

Magnitude at phase crossover

|L(jω180)| = K/(ω·√(ω² + 49)·√(ω² + 64)) = K/(7·8·(7 + 8)) = K/840

Required gain

840/K = 1012/20 = 3.981
K = 840/3.981 = 211

Answer

K = 211
37.Stability: Routh–Hurwitz & root locus

Answer: N = 2

Routh–Hurwitz criterion: a linear system is stable when every root of its characteristic polynomial lies in the left half of the s-plane. Write the coefficients alternately into the first two rows of the Routh array. Each entry of a new row comes from the two rows above it; for a cubic a₃s³ + a₂s² + a₁s + a₀ the s¹ entry is b₁ = (a₂·a₁ − a₃·a₀)/a₂. The number of sign changes in the first column equals the number of roots in the right half-plane. With a gain K in the coefficients, every first-column entry must stay positive: the gain that makes the s¹ entry zero is the stability limit, and the s² row then gives the frequency of the sustained oscillation.

Characteristic polynomial

s³ + 10s² + 24s + 480 = 0

Routh array

s³: 1, 24
s²: 10, 480
s¹: −24
s⁰: 480

Sign changes in the first column

1 → 10 → −24 → 480
N = 2

Answer

N = 2

The gain is above the limit K = 240, so a complex pair has crossed into the right half-plane.

38.Stability: Routh–Hurwitz & root locus

Answer: ω = 6.164 rad/s

Root locus: as the gain K goes from 0 to ∞, the closed-loop poles, the roots of 1 + K·G(s) = 0, move from the open-loop poles to the open-loop zeros or to infinity. A point on the real axis belongs to the locus when the number of real poles and zeros to its right is odd. The n − m branches that go to infinity follow asymptotes at the angles (2q + 1)·180°/(n − m), which start from the centroid σₐ = (Σ poles − Σ zeros)/(n − m). Branches leave or join the real axis where dK/ds = 0. The angle condition ∠G(s) = 180° fixes the shape, and the magnitude condition K = 1/|G(s)| gives the gain at any point of the locus.

Critical gain

s³ + 11s² + 38s + 40 + K = 0
s¹: (11·38 − 40 − K)/11 = 0 → K = 378

Crossing frequency

11s² + 40 + 378 = 11s² + 418 = 0 → s² = −38
ω = √38 = 6.164 rad/s

Answer

ω = 6.164 rad/s
39.Steady-state error & PID control

Answer: K = 15

Steady-state error: in a unity-feedback loop with open-loop transfer function G(s) the error is E(s) = R(s)/(1 + G(s)), and by the final value theorem ess = lims→0 s·E(s). The system type is the number of poles of G(s) at s = 0. The error constants are Kp = lim G(s), Kv = lim s·G(s) and Ka = lim s²·G(s), all for s → 0. A step of size A gives ess = A/(1 + Kp), a ramp A·t gives A/Kv and a parabola A·t²/2 gives A/Ka. A type-0 loop follows a step with a finite error, a type-1 loop follows it exactly and a ramp with a finite error.

Required error constant

1/(1 + Kp) = 0.25 → Kp = 3

Gain

K/5 = 3 → K = 15

Answer

K = 15

Check the closed-loop stability as well: for this second-order loop any K > 0 is stable.

40.Steady-state error & PID control

Answer: ts = 1.333 s

P, PI and PID control: the controller C(s) = Kp + Ki/s + Kd·s acts on the error. A proportional gain makes the loop faster and reduces the error of a type-0 plant, but never removes it. The integral term adds a pole at s = 0: the system type rises by one, and a step is followed without error. The derivative term adds damping. To choose gains, write the closed-loop characteristic polynomial and compare it with s² + 2ζωns + ωn². Then %OS = 100·e−ζπ/√(1−ζ²), tp = π/ωd with ωd = ωn√(1 − ζ²), and ts ≈ 4/(ζωn).

Characteristic polynomial

s(s + 6) + 25·4 = s² + 6s + 100

ωₙ and ζ

ωₙ = √100 = 10 rad/s
ζ = 6/(2·10) = 0.3

Settling time

ζωₙ = 6/2 = 3
ts ≈ 4/3 = 1.333 s

Answer

ts = 1.333 s

The settling time does not depend on K here: raising K only makes the response oscillate faster.

This is independent practice material. ExamProblems is not affiliated with or endorsed by the organisation that runs this exam, and the exam name is used only to describe the content. The FE exam is run by NCEES, which is not affiliated with ExamProblems and does not endorse it.

ExamProblems · examproblems.com/courses/fe-exam-electrical