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 ΩIR1​R3​ = 2 Ω+−V1​9 VR2​3 ΩAR4​6 ΩB

Find the current IR1 delivered by the source, which flows through R1.

V1 = 9 VR1 = 6 ΩR2 = 3 ΩR3 = 2 ΩR4 = 6 Ω
IR1 = A
2.Series & parallel resistorsHard
R1​ = 20 ΩR3​ = 4 ΩR5​ = 4 Ω+−V1​5 VR2​30 ΩIR2​AR4​6 ΩBR6​8 Ω

Find the current IR2 through R2.

V1 = 5 VR1 = 20 ΩR2 = 30 ΩR3 = 4 ΩR4 = 6 ΩR5 = 4 ΩR6 = 8 Ω
IR2 = A
3.Nodal analysisMedium
R1​20 Ω+−V1​24 VR2​5 Ω−+V2​10 VI2​R3​6 ΩA

Three branches are connected between node A and ground, as shown. Use nodal analysis to find the current I2 in branch 2, flowing up into node A in the direction of the arrow.

V1 = 24 VR1 = 20 ΩV2 = 10 VR2 = 5 ΩR3 = 6 Ω
I2 = A
4.Nodal analysisHard
R1​ = 3 ΩR2​ = 12 ΩIR2​R4​ = 5 Ω+−V1​36 VR3​20 ΩAR5​25 ΩBIs​2 A−+V2​10 V

Use nodal analysis to find the current IR2 through R2 in the direction of the arrow.

V1 = 36 VIs = 2 AV2 = 10 VR1 = 3 ΩR2 = 12 ΩR3 = 20 ΩR4 = 5 ΩR5 = 25 Ω
IR2 = A
5.Mesh analysisMedium
R1​ = 20 ΩR2​ = 15 Ω+−V1​6 VR3​4 ΩA+−V2​12 VI1​I2​

Use mesh analysis to find the mesh current I2 (clockwise).

V1 = 6 VV2 = 12 VR1 = 20 ΩR2 = 15 ΩR3 = 4 Ω
I2 = A
6.Mesh analysisHard
R1​ = 3 ΩR2​ = 12 Ω+−VR2​R3​ = 20 Ω+−V1​36 VR4​20 ΩAR5​3 ΩB+−V2​18 VI1​I2​I3​

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

V1 = 36 VV2 = 18 VR1 = 3 ΩR2 = 12 ΩR3 = 20 ΩR4 = 20 ΩR5 = 3 Ω
VR2 = V
7.SuperpositionMedium
R1​ = 4 ΩR3​ = 10 Ω+−V1​18 VR2​12 ΩIR2​AR4​3 ΩBIs​1.5 A

Use superposition to find the current IR2 through R2 in the direction of the arrow.

V1 = 18 VIs = 1.5 AR1 = 4 ΩR2 = 12 ΩR3 = 10 ΩR4 = 3 Ω
IR2 = A
8.SuperpositionHard
R1​ = 12 ΩR2​ = 12 Ω+−VR2​R4​ = 12 Ω+−V1​6 VR3​6 ΩAIs​0.5 AB+−V2​15 V

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

V1 = 6 VIs = 0.5 AV2 = 15 VR1 = 12 ΩR2 = 12 ΩR3 = 6 ΩR4 = 12 Ω
VR2 = V
9.Thévenin & NortonMedium
R1​ = 12 ΩR3​ = 3 Ω+−V1​12 VR2​20 ΩAab

Find the Norton current IN: the current that flows from a to b if the terminals are shorted.

V1 = 12 VR1 = 12 ΩR2 = 20 ΩR3 = 3 Ω
IN = A
10.Thévenin & NortonHard
R1​ = 12 ΩR3​ = 6 Ω+−V1​10 VR2​5 ΩAIs​5 ABab

Find the Norton current IN: the current that flows from a to b if the terminals are shorted.

V1 = 10 VIs = 5 AR1 = 12 ΩR2 = 5 ΩR3 = 6 Ω
IN = A
11.RC & RL transientsMedium
+−Vs​20 Vt = 0R = 33 ΩL150 mHi(t)

The inductor carries no current before the switch closes at t = 0. Find the current i at t = 5 ms.

Vs = 20 VR = 33 ΩL = 150 mHt = 5 ms
i = A
12.RC & RL transientsHard
+−Vs​6 Vopens at t = 0R1​ = 4.7 kΩR2​ = 2.2 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 = 50 ms.

Vs = 6 VR1 = 4.7 kΩR2 = 2.2 kΩC = 10 µFt = 50 ms
vC = V
13.AC impedance & phasorsMedium
50 V60 HzR = 100 ΩL = 250 mHC = 10 µFI

A series RLC circuit is connected to a 50 V (rms), 60 Hz supply. Find the real power P taken from the supply.

V = 50 V (rms)f = 60 HzR = 100 ΩL = 250 mHC = 10 µF
P = W
14.AC impedance & phasorsHard
12 V1000 HzR = 60 ΩL = 100 mHC = 4.7 µF

A series RLC circuit is connected to a 12 V (rms), 1000 Hz supply. Find the resonant frequency f0 of the circuit.

V = 12 V (rms)f = 1000 HzR = 60 ΩL = 100 mHC = 4.7 µF
f0 = Hz
15.AC power & power factorMedium
120 VZ16 + j12 ΩI

A load with impedance Z = 16 + j12 Ω is connected to a 120 V (rms) single-phase supply. Find the apparent power S.

V = 120 VZ = 16 + j12 Ω
S = VA
16.AC power & power factorHard
230 V50 Hzload21 kW, 0.75C330 µFI = ?

A single-phase load takes 21 kW at a power factor of 0.75 lagging from a 230 V, 50 Hz supply. A 330 µF capacitor is connected in parallel with the load. Find the new line current I.

P = 21 kWpf1 = 0.75V = 230 Vf = 50 HzC = 330 µF
I = A
17.Three-phase powerMedium
ABCVL​ = 690 VIL​ = ?M11 kW, η = 90%cos φ = 0.85

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

Pout = 11 kWη = 90%cos φ = 0.85VL = 690 V
IL = A
18.Three-phase powerHard
P = 250 kWφ1​S1​Q2​QC​ = ?

A balanced three-phase load takes 250 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.92 lagging. The real power stays the same. Find the total reactive power QC the capacitor bank must supply, in kvar.

P = 250 kWpf1 = 0.75pf2 = 0.92VL = 690 Vf = 50 Hz
QC = kvar
19.TransformersMedium
RL​ = 60 Ω1011200 VV2​I1​ = ?I2​

An ideal transformer with a turns ratio N₁:N₂ = 10:1 has 1200 V applied to its primary winding. A 60 Ω resistor is connected across the secondary winding. Find the primary current I1.

N1:N2 = 10:1V1 = 1200 VRL = 60 Ω
I1 = A
20.TransformersHard
150 kVA

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

S = 150 kVAPcore = 900 WPcu,fl = 3600 W
Sη,max = kVA
21.Op-amp circuitsMedium
−+Vout​Rf​ = ?R1​ = 2 kΩVin​

Choose the feedback resistor Rf that gives this non-inverting amplifier a voltage gain of 51.

R1 = 2 kΩAv = 51
Rf = kΩ
22.Op-amp circuitsHard
−+Vout​Rf​ = 10 kΩV1​ = 0.7 VR1​ = 1 kΩV2​ = 1.8 VR2​ = 10 kΩ

The summing amplifier uses an ideal op-amp with ±15 V supplies. Find the output voltage Vout.

V1 = 0.7 VV2 = 1.8 VR1 = 1 kΩR2 = 10 kΩRf = 10 kΩ
Vout = V
23.Diodes & transistorsMedium
+−5 VR = ?2 × 2 V5 mA

2 red LEDs (forward voltage 2 V each) are connected in series with a resistor to a 5 V supply. Find the resistance R that sets the current to 5 mA.

Vs = 5 VVF = 2 Vn = 2I = 5 mA
R = Ω
24.Diodes & transistorsHard
+−≤ 27 V100 Ω3.3 V

A 3.3 V Zener regulator has a 100 Ω series resistor. The input can rise to 27 V, and the load may be disconnected. Find the largest power PZ,max the Zener must dissipate.

Vin,max = 27 VVZ = 3.3 VR = 100 Ω
PZ,max = mW
25.Number systemsMedium
8-bit two's complement0−12806403201608040201

Set the bits so they store −85 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?

N = −858 bit
U =
26.Number systemsHard
click the bits to set them012806403201608040201

Set the bits to the 8-bit result of 1111 0100 XOR 1110 0110. What is the result's value R in decimal?

1111 0100XOR1110 0110
R =
27.Digital logic: gates, K-maps & flip-flopsMedium
ABCD000111100001111011111111

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, 2, 3, 4, 8, 9, 10, 11)
  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
FFQ0​Q0​FFQ1​Q1​FFQ2​Q2​CLKMOD-5

A mod-5 counter is built from the minimum number of flip-flops. How many of the possible states U are never used?

N = 5
U =
29.Laplace transformsMedium
ReIm−1−2−3−4−5−6−7−8−91

F(s) = 16/(s² + 14s + 48). Its inverse transform has the form f(t) = A·e−6t + B·e−8t. Find the coefficient A by partial fractions.

F(s) = 16/(s² + 14s + 48)
A =
30.Laplace transformsHard
t (s)y(t)t = 0.3y(0.3) = ?

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

y″ + 7y′ + 12y = 12·u(t)y(0) = 2y′(0) = 0u(t) = 5t = 0.3 s
y(0.3) =
31.Block diagramsMedium
R(s)+Ks(s + 4)G(s)C(s)−

The plant G(s) = K/(s(s + 4)) is in a unity negative feedback loop. Find the gain K for which the closed loop is critically damped (two equal real poles).

G(s) = K/(s(s + 4))unity negative feedback
K =
32.Block diagramsHard
R(s)+27controller+D(s)+1s + 9plantC(s)−

A proportional controller K = 27 drives the plant G(s) = 1/(s + 9) in a unity negative feedback loop. A disturbance D enters at the plant input (it is added to the controller output). With R = 0, a disturbance step of size 2 is applied. Find the steady-state output css.

K = 27G(s) = 1/(s + 9)D = 2R = 0
css =
33.Step responseMedium
t (s)y(t)1

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

G(s) = 53/(s² + 9s + 53)
σ =
34.Step responseHard
+−10 VR = 28 ΩL = 10 mHC = 4.7 µFvC​

A series RLC circuit with R = 28 Ω, L = 10 mH and C = 4.7 µF is connected to a 10 V step at t = 0. The capacitor is uncharged and no current flows before the step. Find the percent overshoot %OS of the capacitor voltage.

R = 28 ΩL = 10 mHC = 4.7 µFV = 10 V
%OS = %
35.Bode plots & marginsMedium
|H| (dB)0.11101001000−80−60−40−20020ω (rad/s)ω = 3

Find the exact magnitude |G(jω)| of G(s) = 192/((s + 2)(s + 12)) at ω = 3 rad/s, in dB.

G(s) = 192/((s + 2)(s + 12))ω = 3 rad/s
|G(jω)| = dB
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 + 4)(s + 9)). Find the gain K that gives a gain margin of 3 dB.

L(s) = K/(s(s + 4)(s + 9))GM = 3 dB
K =
37.Stability: Routh–Hurwitz & root locusMedium
R(s)+K = 2501s(s + 5)(s + 10)C(s)−

The loop in the diagram runs with K = 250 and L(s) = K/(s(s + 5)(s + 10)). By what factor m can the gain be raised before the closed loop becomes unstable?

L(s) = K/(s(s + 5)(s + 10))K = 250
m =
38.Stability: Routh–Hurwitz & root locusHard
ReIm−2−4−6−8−10−12j2

The root locus of L(s) = K/(s(s + 5)(s + 10)) leaves the real axis between s = 0 and s = −5. Find the break-away point sb.

L(s) = K/(s(s + 5)(s + 10))
sb =
39.Steady-state error & PID controlMedium
r(t) = 2·t²/2+10(s + 3)s²(s + 5)C(s)−

The parabolic input r(t) = 2·t²/2 is applied to a unity-feedback loop with G(s) = 10(s + 3)/(s²(s + 5)). Find the steady-state error ess.

G(s) = 10(s + 3)/(s²(s + 5))r(t) = 2·t²/2
ess =
40.Steady-state error & PID controlHard
R(s)+5 + Kd​s5s(s + 4)C(s)−

A PD controller C(s) = 5 + Kd·s drives the plant G(s) = 5/(s(s + 4)) in a unity-feedback loop. Find the derivative gain Kd that gives the closed loop a damping ratio ζ = 0.707.

G(s) = 5/(s(s + 4))Kp = 5ζ = 0.707
Kd = s

3Solutions

1.Series & parallel resistors

Answer: IR1 = 1.1 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​ = 2 Ω+−V1​9 VR2​3 ΩAR4​6 Ω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 = 2 + 6 = 8 Ω
R2 ∥ 8 = 3·8/(3+8) = 2.182 Ω
Req = R1 + 2.182 = 6 + 2.182 = 8.182 Ω

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 = 9/8.182 = 1.1 A

Answer

IR1 = 1.1 A
2.Series & parallel resistors

Answer: IR2 = 0.04 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​ = 20 ΩR3​ = 4 ΩR5​ = 4 Ω+−V1​5 VR2​30 ΩAR4​6 ΩBR6​8 Ω

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 = 4 + 8 = 12 Ω
R4 ∥ 12 = 4 Ω
R3 + 4 = 8 Ω
R2 ∥ 8 = 6.316 Ω
Req = R1 + 6.316 = 20 + 6.316 = 26.32 Ω

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 = 5/26.32 = 0.19 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 = 5 − 0.19·20 = 1.2 V
IR2 = VA/R2 = 1.2/30 = 0.04 A

Answer

IR2 = 0.04 A
3.Nodal analysis

Answer: I2 = −1.616 A

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.

KCL at node A

Take the bottom wire as ground. Each branch carries (VA − Vk)/Rk away from A, where Vk is the voltage of its source (zero for a plain resistor). The currents leaving A add up to zero.

(VA − 24)/20 + (VA − (−10))/5 + VA/6 = 0

Solve for VA

VA = (24/20 + (−10)/5 + 0/6) / (1/20 + 1/5 + 1/6) = −0.8/0.4167 = −1.92 V

Branch current

The arrow points up through the branch, into node A.

I2 = ((−10) − VA)/R2 = ((−10) − (−1.92))/5 = −1.616 A

Answer

I2 = −1.616 A

A negative result means the real current flows against the arrow.

4.Nodal analysis

Answer: IR2 = 1.667 A

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​ = 3 ΩR2​ = 12 ΩR4​ = 5 Ω+−V1​36 VR3​20 ΩAR5​25 ΩBIs​2 A−+V2​10 V

Set up the nodes

Ground is the bottom wire. Known node voltages come straight from the sources (V1 = 36 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/20 + (VA − 36)/3 + (VA − VB)/12 = 0
0.4667·VA − 0.08333·VB = 12

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/25 + (VB − VA)/12 + (VB − (−10))/5 = 2
−0.08333·VA + 0.3233·VB = 0

Solve

Δ = (0.4667)(0.3233) − (−0.08333)(−0.08333) = 0.1439
VA = Δ1/Δ = 3.88/0.1439 = 26.95 V
VB = Δ2/Δ = 1/0.1439 = 6.947 V

Answer

IR2 = (VA − VB)/R2 = (26.95 − 6.947)/12 = 1.667 A
5.Mesh analysis

Answer: I2 = −0.6 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​ = 20 ΩR2​ = 15 Ω+−V1​6 VR3​4 ΩA+−V2​12 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
20·I1 + 4(I1 − I2) = 6
24·I1 − 4·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
15·I2 + 4(I2 − I1) = (−12)
−4·I1 + 19·I2 = −12

Solve

Δ = (24)(19) − (−4)(−4) = 440
I1 = Δ1/Δ = 66/440 = 0.15 A
I2 = Δ2/Δ = −264/440 = −0.6 A

Answer

I2 = −0.6 A

A negative mesh current flows anticlockwise.

6.Mesh analysis

Answer: VR2 = 20.18 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​ = 3 ΩR2​ = 12 ΩR3​ = 20 Ω+−V1​36 VR4​20 ΩAR5​3 ΩB+−V2​18 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
3·I1 + 20(I1 − I2) = 36
23·I1 − 20·I2 = 36

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
12·I2 + 20(I2 − I1) + 3(I2 − I3) = 0
−20·I1 + 35·I2 − 3·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
20·I3 + 3(I3 − I2) = (−18)
−3·I2 + 23·I3 = −18

Solve

Δ = det of the coefficient matrix = 9108
I1 = Δ1/Δ = 27576/9108 = 3.028 A
I2 = Δ2/Δ = 15318/9108 = 1.682 A
I3 = Δ3/Δ = −5130/9108 = −0.5632 A

Answer

IR2 = I2 = 1.682 A
VR2 = IR2·R2 = 1.682·12 = 20.18 V

A negative mesh current flows anticlockwise.

7.Superposition

Answer: IR2 = 0.8438 A

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​ = 4 ΩR3​ = 10 Ω+−V1​18 VR2​12 ΩAR4​3 ΩBOPEN

Case 1 · V1 acting alone

Iₛ becomes an open circuit, so R₃ and R₄ form one series branch from A to ground, in parallel with R₂.

R3+R4 = 10+3 = 13 Ω
R2 ∥ (R3+R4) = 12·13/(12+13) = 6.24 Ω
VA = 18·6.24/(4+6.24) = 10.97 V
VB = VA·R4/(R3+R4) = 10.97·3/13 = 2.531 V
IR2′ = (VA − 0)/R2 = (10.97 − 0)/12 = 0.9141 A
R1​ = 4 ΩR3​ = 10 ΩSHORTR2​12 ΩAR4​3 ΩBIs​1.5 A

Case 2 · Is acting alone

V₁ becomes a short, so R₁ is in parallel with R₂. Iₛ splits at B between R₄ and the path through R₃.

R1 ∥ R2 = 4·12/(4+12) = 3 Ω
Req = R4 ∥ (R3+R1∥R2) = 3 ∥ 13 = 2.438 Ω
VB = Is·Req = (−1.5)·2.438 = −3.656 V
VA = VB·(R1∥R2)/(R3+R1∥R2) = −3.656·3/13 = −0.8438 V
IR2″ = (VA − 0)/R2 = (−0.8438 − 0)/12 = −0.07031 A

Add the contributions

IR2 = IR2′ + IR2″
IR2 = 0.9141 + (−0.07031) = 0.8438 A

A negative result means the real current flows against the arrow.

8.Superposition

Answer: VR2 = −8.143 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​ = 12 ΩR2​ = 12 ΩR4​ = 12 Ω+−V1​6 VR3​6 Ω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) = 6 ∥ 24 = 4.8 Ω
VA = 6·4.8/(12+4.8) = 1.714 V
VB = VA·R4/(R2+R4) = 1.714·12/24 = 0.8571 V
VR2′ = VA − VB = 1.714 − 0.8571 = 0.8571 V
R1​ = 12 ΩR2​ = 12 ΩR4​ = 12 ΩSHORTR3​6 ΩAIs​0.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 = 4 Ω, so the left path is R2+4 = 16 Ω
Req = R4 ∥ 16 = 6.857 Ω
VB = Is·Req = 0.5·6.857 = 3.429 V
VA = VB·4/16 = 0.8571 V
VR2″ = VA − VB = 0.8571 − 3.429 = −2.571 V
R1​ = 12 ΩR2​ = 12 ΩR4​ = 12 ΩSHORTR3​6 ΩAOPENB+−V2​15 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 = 12·6/(12+6) = 4 Ω
VB = V2·(R2+R1∥R3)/(R4+R2+R1∥R3) = 15·16/28 = 8.571 V
VA = VB·(R1∥R3)/(R2+R1∥R3) = 8.571·4/16 = 2.143 V
VR2‴ = VA − VB = 2.143 − 8.571 = −6.429 V

Add the contributions

VR2 = VR2′ + VR2″ + VR2‴
VR2 = 0.8571 + (−2.571) + (−6.429) = −8.143 V

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

9.Thévenin & Norton

Answer: IN = 0.7143 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​ = 12 ΩR3​ = 3 ΩSHORTR2​20 Ω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 = 12·20/(12+20) = 7.5 Ω
Rth = (R1 ∥ R2) + R3 = 7.5 + 3 = 10.5 Ω
R1​ = 12 ΩR3​ = 3 Ω+−V1​12 VR2​20 Ω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) = 12·20/(12+20) = 7.5 V
IN​0.7143 ARth​10.5 Ωab

Norton equivalent

A Norton source is the same circuit seen as a current source in parallel with R_th. Its current is the short-circuit current at a–b.

IN = Vth/Rth = 7.5/10.5 = 0.7143 A
10.Thévenin & Norton

Answer: IN = 5.309 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​ = 12 ΩR3​ = 6 ΩSHORTR2​5 Ω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 = 12·5/(12+5) = 3.529 Ω
Rth = (R1 ∥ R2) + R3 = 3.529 + 6 = 9.529 Ω
R1​ = 12 ΩR3​ = 6 Ω+−V1​10 VR2​5 ΩAIs​5 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) = 2.941 + 5·3.529 = 20.59 V
Vth = VB = VA + Is·R3 = 20.59 + 5·6 = 50.59 V
IN​5.309 ARth​9.529 Ωab

Norton equivalent

A Norton source is the same circuit seen as a current source in parallel with R_th. Its current is the short-circuit current at a–b.

IN = Vth/Rth = 50.59/9.529 = 5.309 A
11.RC & RL transients

Answer: i = 0.4043 A

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 / 33 Ω = 4.545 ms
i(∞) = Vs/R = 20/33 = 0.6061 A

Current at the given time

i(t) = i(∞)·(1 − e−t/τ) = 0.6061·(1 − e−5/4.545) = 0.4043 A

Answer

i = 0.4043 A
12.RC & RL transients

Answer: vC = 0.1971 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) = 6·2.2/(4.7 + 2.2) = 1.913 V

Time constant after the switch opens

τ = R2·C = 2.2·10 = 22 ms

Discharge

vC(t) = 1.913·e−50/22 = 0.1971 V

Answer

vC = 0.1971 V
13.AC impedance & phasors

Answer: P = 6.37 W

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

XL = 94.25 Ω, XC = 265.3 Ω

Impedance

|Z| = √(100² + (−171)²) = 198.1 Ω

Real power

Inductors and capacitors only store and return energy; the resistor absorbs all of the real power.

I = 50/198.1 = 0.2524 A
P = I²·R = 0.2524²·100 = 6.37 W

Answer

P = 6.37 W
14.AC impedance & phasors

Answer: f0 = 232.2 Hz

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 inductive and capacitive reactances cancel: ωL = 1/(ωC). The supply frequency does not matter.

f0 = 1/(2π√(LC)) = 1/(2π·√(0.1·4.7·10⁻⁶)) = 232.2 Hz

Answer

f0 = 232.2 Hz
15.AC power & power factor

Answer: S = 720 VA

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.

Current

|Z| = √(16² + 12²) = 20 Ω
I = V/|Z| = 120/20 = 6 A

Apparent power

S = V·I = 120·6 = 720 VA

Answer

S = 720 VA
16.AC power & power factor

Answer: I = 107.5 A

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 = 21·tan(arccos 0.75) = 18.52 kvar
QC = V²·2πf·C = 230²·2π·50·330·10⁻⁶ = 5484 var = 5.484 kvar
Q2 = 18.52 − 5.484 = 13.04 kvar

New apparent power

S2 = √(21² + 13.04²) = 24.72 kVA

New line current

I = S2/V = 24717/230 = 107.5 A

Answer

I = 107.5 A
17.Three-phase power

Answer: IL = 12.03 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/η = 11/0.9 = 12.22 kW

Line current

IL = Pin/(√3·VL·cos φ) = 12222/(√3·690·0.85) = 12.03 A

Answer

IL = 12.03 A
18.Three-phase power

Answer: QC = 114 kvar

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 = 250·tan(acos 0.75) = 250·0.8819 = 220.5 kvar
Q2 = 250·tan(acos 0.92) = 250·0.426 = 106.5 kvar

Reactive power from the capacitors

QC = Q1 − Q2 = 114 kvar

Answer

QC = 114 kvar
19.Transformers

Answer: I1 = 0.2 A

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.

Secondary voltage and current

V2 = 1200/10 = 120 V
I2 = 120/60 = 2 A

Primary current

An ideal transformer has no losses: V₁·I₁ = V₂·I₂.

I1 = I2/10 = 0.2 A

Answer

I1 = 0.2 A

Check: the load seen from the primary is a²·RL = 6000 Ω, and 1200/6000 gives the same current.

20.Transformers

Answer: Sη,max = 75 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²·3600 = 900 → x = √(900/3600) = 0.5

Load at maximum efficiency

Sη,max = x·S = 0.5·150 = 75 kVA

Answer

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

Answer: Rf = 100 kΩ

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 a non-inverting amplifier

V₋ = V₊ = Vin, and the current through R₁ also flows through Rf, so Vout = Vin·(1 + Rf/R₁).

Av = 1 + Rf/R1
Rf = (51 − 1)·2 = 100 kΩ

Answer

Rf = 100 kΩ
22.Op-amp circuits

Answer: Vout = −8.8 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.

Input currents

V₋ = 0, so each input resistor has its full input voltage across it.

I1 = V1/R1 = 0.7/1 = 0.7 mA
I2 = V2/R2 = 1.8/10 = 0.18 mA
If = I1 + I2 = 0.88 mA

Output voltage

Vout = −Rf·If = −10·0.88 = −8.8 V

Answer

Vout = −8.8 V
23.Diodes & transistors

Answer: R = 200 Ω

LED and diode circuits: a forward-biased LED drops roughly its forward voltage VF (about 2 V for red, 3 V for blue or white), whatever the current. A series resistor sets the current: R = (Vs − n·VF)/I for n LEDs in series. With a more exact diode model V = V₀ + I·rd, the operating point is where the diode line meets the load line I = (Vs − V)/R, so I = (Vs − V₀)/(R + rd).

Voltage across the resistor

VR = 5 − 2·2 = 1 V

Resistance

R = 1/0.005 = 200 Ω

Answer

R = 200 Ω

The resistor dissipates 5 mW.

24.Diodes & transistors

Answer: PZ,max = 782.1 mW

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.

Worst-case Zener current

IZ = 23.7/100 = 237 mA

Zener power

PZ = 3.3·237 = 782.1 mW

Answer

PZ,max = 782.1 mW
25.Number systems

Answer: U = 171

Setting bits: each bit is worth a power of two (128, 64, …, 1). One hex digit is exactly four bits, and in 8-bit two's complement the leftmost bit is worth −128. Bitwise operations work on each bit position separately.

Invert and add one

85 = 0101 0101
inverted: 1010 1010
+1 → 1010 1011

Read it as unsigned

1010 1011₂ = 256 − 85 = 171

Answer

U = 171
26.Number systems

Answer: R = 18

Setting bits: each bit is worth a power of two (128, 64, …, 1). One hex digit is exactly four bits, and in 8-bit two's complement the leftmost bit is worth −128. Bitwise operations work on each bit position separately.

Bit by bit

XOR gives 1 where the two bits differ.

1111 0100
XOR 1110 0110
= 0001 0010

Value of the result

0001 0010₂ = 18

Answer

R = 18
27.Digital logic: gates, K-maps & flip-flops

Answer: AB = 01, 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.

m4: m5, m6, m0, m12 → 0
ABCD000111100001111011111111

The isolated 1

m4 = A′BC′D′ → AB = 01, CD = 00

Answer

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

Answer: U = 3

Flip-flops and counters: a flip-flop changes only at the active clock edge. D copies its input (Q⁺ = D); T toggles when T = 1; JK holds for 00, resets for 01, sets for 10 and toggles for 11. An n-bit binary counter has 2ⁿ states and counts modulo 2ⁿ; a mod-N counter goes 0, 1, …, N − 1 and back to 0, and needs the smallest n with 2ⁿ ≥ N flip-flops. Each stage of a ripple counter halves the frequency, so the last output of a mod-N counter runs at fclk/N. A Johnson counter of n flip-flops has 2n states, a ring counter n.

Number of flip-flops

2ⁿ ≥ 5 → n = 3 (2³ = 8)

Unused states

U = 8 − 5 = 3

Answer

U = 3
29.Laplace transforms

Answer: A = 8

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).

Factor the denominator

s² + 14s + 48 = (s + 6)(s + 8)
F(s) = A/(s + 6) + B/(s + 8)

Cover-up rule

Multiply by (s + 6) and set s = −6: the B-term vanishes.

A = 16/(s + 8) |s = −6 = 16/2 = 8

Answer

A = 8
(B = −8, so f(t) = 8·e−6t − 8·e−8t)
30.Laplace transforms

Answer: y(0.3) = 2.832

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² + 7s + 12)·Y(s) = 2s + 14 + 60/s
Y(s) = (2s² + 14s + 60)/(s(s + 3)(s + 4))

Partial fractions

A = 60/(3·4) = 5
B = 36/((−3)·1) = −12
C = 36/((−4)·(−1)) = 9

Result

y(t) = 5 − 12·e−3t + 9·e−4t
y(0.3) = 2.832

Answer

y(0.3) = 2.832

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

31.Block diagrams

Answer: K = 4

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

1 + K/(s(s + 4)) = 0 → s² + 4s + K = 0

Repeated root

A quadratic s² + βs + γ has a double root when β² = 4γ.

4² = 4K → K = 16/4 = 4

Answer

K = 4
Both closed-loop poles are then at s = −2.
32.Block diagrams

Answer: css = 0.05556

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).

Transfer functions

C/D = G/(1 + K·G) = 1/(s + 9 + 27)

Steady state

css = 2·1/36 = 0.05556

Answer

css = 0.05556

A larger K reduces the effect of the disturbance, but never to zero with a proportional controller.

33.Step response

Answer: σ = −4.5

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 + ωₙ².

ωₙ² = 53 → ωₙ = 7.28 rad/s
2ζωₙ = 9 → ζ = 9/(2·7.28) = 0.6181

Result

σ = −ζωₙ = −9/2 = −4.5

Answer

σ = −4.5
34.Step response

Answer: %OS = 36.76 %

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).

Natural frequency and damping ratio

ωₙ = 1/√(LC) = 1/√(0.01·4.7 × 10⁻⁶) = 4613 rad/s
ζ = (R/2)·√(C/L) = (28/2)·√(4.7 × 10⁻⁶/0.01) = 0.3035

Result

%OS = 100·e−ζπ/√(1−ζ²) = 36.76 %

Answer

%OS = 36.76 %
35.Bode plots & margins

Answer: |G(jω)| = 12.68 dB

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.

Multiply the magnitudes

|G(j3)| = 192/(√(3² + 2²)·√(3² + 12²)) = 192/(3.606·12.37) = 4.305

Result

20·log₁₀(4.305) = 12.68 dB

Answer

|G(jω)| = 12.68 dB
36.Bode plots & margins

Answer: K = 331.3

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

(ω/4)·(ω/9) = 1 → ω180 = √(4·9) = 6 rad/s

Magnitude at phase crossover

|L(jω180)| = K/(ω·√(ω² + 16)·√(ω² + 81)) = K/(4·9·(4 + 9)) = K/468

Required gain

468/K = 103/20 = 1.413
K = 468/1.413 = 331.3

Answer

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

Answer: m = 3

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.

Routh array

s³ + 15s² + 50s + K = 0
s³: 1, 50
s²: 15, K
s¹: (15·50 − K)/15
s⁰: K

Largest stable gain

Kmax = 15·50 = 750

Factor

m = 750/250 = 3

Answer

m = 3

This factor is the gain margin as a ratio: 9.542 dB.

38.Stability: Routh–Hurwitz & root locus

Answer: sb = −2.113

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.

Gain along the real axis

K(s) = −s(s + 5)(s + 10) = −(s³ + 15s² + 50s)

Stationary points

dK/ds = −(3s² + 30s + 50) = 0
s = (−30 ± √(900 − 600))/6 = −2.113, −7.887

Pick the point on the locus

The locus lies on the real axis between 0 and −5; the other root is not on the locus.

sb = −2.113

Answer

sb = −2.113
39.Steady-state error & PID control

Answer: ess = 0.3333

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.

Acceleration constant

Ka = 10·3/5 = 6

Parabola error

ess = 2/6 = 0.3333

Answer

ess = 0.3333
40.Steady-state error & PID control

Answer: Kd = 0.614 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 + 4) + 5(5 + Kds) = s² + (4 + 5Kd)s + 25

Natural frequency

ωₙ = √25 = 5 rad/s

Derivative gain

4 + 5Kd = 2·0.707·5 = 7.07
Kd = 0.614 s

Answer

Kd = 0.614 s

The derivative term adds damping without changing ωₙ.

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