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​ = 15 ΩR3​ = 2 Ω+−V1​18 VR2​4 ΩAR4​3 ΩB

Find the equivalent resistance Req seen by the source V1.

V1 = 18 VR1 = 15 ΩR2 = 4 ΩR3 = 2 ΩR4 = 3 Ω
Req = Ω
2.Series & parallel resistorsHard
R1​ = 6 ΩR3​ = 5 ΩR5​ = 10 Ω+−V1​6 VR2​3 ΩAR4​4 ΩBR6​30 Ω

Find the equivalent resistance Req seen by the source V1.

V1 = 6 VR1 = 6 ΩR2 = 3 ΩR3 = 5 ΩR4 = 4 ΩR5 = 10 ΩR6 = 30 Ω
Req = Ω
3.Nodal analysisMedium
R1​ = 2 ΩR3​ = 3 Ω+−V1​18 VR2​4 ΩAR4​12 ΩBIs​2 A

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

V1 = 18 VIs = 2 AR1 = 2 ΩR2 = 4 ΩR3 = 3 ΩR4 = 12 Ω
VB = V
4.Nodal analysisHard
R1​ = 25 ΩIR1​+−Vs​ = 15 V+−V1​36 VR2​15 ΩAR3​2 ΩBIs​0.5 A

The voltage source Vₛ between A and B has its + terminal at A, so it makes VA − VB = Vₛ. Use nodal analysis with a supernode to find the current IR1 through R1 in the direction of the arrow.

V1 = 36 VIs = 0.5 AVs = 15 VR1 = 25 ΩR2 = 15 ΩR3 = 2 Ω
IR1 = A
5.Mesh analysisMedium
R1​ = 15 ΩR2​ = 2 Ω+−V1​6 VR3​12 ΩA+−V2​9 VI1​I2​

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

V1 = 6 VV2 = 9 VR1 = 15 ΩR2 = 2 ΩR3 = 12 Ω
I1 = A
6.Mesh analysisHard
R1​ = 2 Ω+−VR1​R2​ = 25 ΩR3​ = 4 Ω+−V1​30 VR4​30 ΩAR5​30 ΩB+−V2​30 VI1​I2​I3​

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

V1 = 30 VV2 = 30 VR1 = 2 ΩR2 = 25 ΩR3 = 4 ΩR4 = 30 ΩR5 = 30 Ω
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 = 10 mA, I = 3.5 mA; with Vs = 15 V and Is = 1 mA, I = 7.6 mA. Find the load current I when Vs = 4 V and Is = 5 mA.

5 V, 10 mA → 3.5 mA15 V, 1 mA → 7.6 mAVs = 4 V, Is = 5 mA
I = mA
8.SuperpositionHard
R1​ = 4 ΩR2​ = 8 ΩR4​ = 4 ΩIR4​+−V1​9 VR3​25 ΩAIs​3 AB+−V2​10 V

Use superposition to find the current IR4 through R4 in the direction of the arrow.

V1 = 9 VIs = 3 AV2 = 10 VR1 = 4 ΩR2 = 8 ΩR3 = 25 ΩR4 = 4 Ω
IR4 = A
9.Thévenin & NortonMedium
R1​ = 5 ΩR3​ = 5 Ω+−V1​6 VR2​4 ΩAab

Find the Thévenin resistance Rth seen from terminals a–b.

V1 = 6 VR1 = 5 ΩR2 = 4 ΩR3 = 5 Ω
Rth = Ω
10.Thévenin & NortonHard
R1​ = 25 ΩR3​ = 25 Ω+−V1​24 VR2​15 ΩAIs​6 ABab

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

V1 = 24 VIs = 6 AR1 = 25 ΩR2 = 15 ΩR3 = 25 Ω
IN = A
11.RC & RL transientsMedium
+−Vs​12 Vt = 0R1​ = 6.8 kΩR2​ = 4.7 kΩC10 µF+−vC​

The source Vₛ charges the capacitor through R₁, and R₂ is connected in parallel with C. The capacitor is uncharged when the switch closes at t = 0. Find the time constant τ of the circuit after the switch closes.

Vs = 12 VR1 = 6.8 kΩR2 = 4.7 kΩC = 10 µF
τ = ms
12.RC & RL transientsHard
+−Vs​15 Vt = 0R = 3.3 kΩC68 µF+−vC​vC​(0) = 18 V

Just before the switch closes at t = 0, the capacitor holds 18 V with the polarity shown. How long does it take for vC to reach 15.9 V? Find t.

Vs = 15 VR = 3.3 kΩC = 68 µFvC(0) = 18 V
t = ms
13.AC impedance & phasorsMedium
120 V60 HzR = 25 ΩL = 50 mHC = 22 µFI

A series RLC circuit is connected to a 120 V (rms), 60 Hz supply. Find the power factor cos φ of the circuit.

V = 120 V (rms)f = 60 HzR = 25 ΩL = 50 mHC = 22 µF
cos φ =
14.AC impedance & phasorsHard
100 V500 HzR1​ = 10 ΩR2​ = 20 ΩC = 4.7 µF

A resistor R1 is connected in series with a parallel combination of R2 and a capacitor C, across a 100 V (rms), 500 Hz supply. Find the magnitude of the impedance |Z|.

V = 100 V (rms)f = 500 HzR1 = 10 ΩR2 = 20 ΩC = 4.7 µF
|Z| = Ω
15.AC power & power factorMedium
240 V113 kW, 0.6225 kW, 0.95I = ?

Two loads are connected in parallel to a 240 V single-phase supply: a 13 kW load at a power factor of 0.6 lagging and a 25 kW load at a power factor of 0.95 lagging. Find the total current I drawn from the supply.

V = 240 VP1 = 13 kW, pf1 = 0.6 laggingP2 = 25 kW, pf2 = 0.95 lagging
I = A
16.AC power & power factorHard
50 V50 HzRs​ = 4 ΩXs​ = j15 ΩZL​ = ?

A 50 V (rms), 50 Hz source has an internal impedance Zs = 4 + j15 Ω. The load impedance ZL can be chosen freely. Find the maximum real power Pmax that can be delivered to the load.

Vs = 50 V (rms)f = 50 HzZs = 4 + j15 Ω
Pmax = W
17.Three-phase powerMedium
ABCVL​ = 480 VNZ = 15 + j20 Ωper phase

A balanced Y-connected load with an impedance of 15 + j20 Ω per phase is connected to a balanced three-phase supply with a line-to-line voltage of 480 V. Find the total real power P absorbed by the load in kW.

VL = 480 VZ = 15 + j20 Ω per phase
P = kW
18.Three-phase powerHard
P = 50 kWφ1​S1​Q2​QC​ = ?

A balanced three-phase load takes 50 kW at a power factor of 0.65 lagging from a 415 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. Find the total reactive power QC the capacitor bank must supply, in kvar.

P = 50 kWpf1 = 0.65pf2 = 0.9VL = 415 Vf = 50 Hz
QC = kvar
19.TransformersMedium
7200 V240 VIHV​ILV​ = ?250 kVA

A single-phase 250 kVA, 7200/240 V transformer operates at its rated load. Treat it as ideal. Find the current ILV in the low-voltage winding.

S = 250 kVAV1 = 7200 VV2 = 240 V
ILV = A
20.TransformersHard
75 kVA

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

S = 75 kVAPcore = 375 WPcu,fl = 562.5 W
Sη,max = kVA
21.Op-amp circuitsMedium
−+Vout​Rf​ = 47 kΩR1​ = 10 kΩVin​ = 0.8 V

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

Vin = 0.8 VR1 = 10 kΩRf = 47 kΩ
Vout = V
22.Op-amp circuitsHard
−+Vout​Rf​ = 22 kΩV1​ = −1.2 VR1​ = 4.7 kΩV2​ = 0.8 VR2​ = 10 kΩ

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

V1 = −1.2 VV2 = 0.8 VR1 = 4.7 kΩR2 = 10 kΩRf = 22 kΩ
Vout = V
23.Diodes & transistorsMedium
RC​ = 3.3 kΩβ = 120RE​ = 680 ΩVCC​ = 12 VR1​ = 47 kΩR2​ = 8.2 kΩ

An NPN transistor with β = 120 has voltage-divider bias from VCC = 12 V: R₁ = 47 kΩ from VCC to the base and R₂ = 8.2 kΩ from the base to ground. The collector resistor is RC = 3.3 kΩ and the emitter resistor is RE = 680 Ω. Take VBE = 0.7 V and use the Thévenin equivalent of the divider (do not neglect the base current). Find the collector–emitter voltage VCE.

VCC = 12 VR1 = 47 kΩR2 = 8.2 kΩRC = 3.3 kΩRE = 680 Ωβ = 120
VCE = V
24.Diodes & transistorsHard
RC​ = 100 Ωβ = 100VCC​ = 9 V3.3 VRB​ = ?

An NPN transistor with β = 100 switches a 100 Ω 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 = 100 Ωβ = 100Vin = 3.3 VVBE = 0.7 VVCE(sat) = 0.2 V
RB = kΩ
25.Number systemsMedium
8-bit two's complement0−12806403201608040201

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

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

Set the bits to the 8-bit result of 1100 1000 << 1. What is the result's value R in decimal?

1100 1000<< 1
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(2, 3, 5, 7, 10, 11, 12, 15)
  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
CLKJK1234567

A positive-edge-triggered JK flip-flop starts with Q = 0 and receives the inputs shown at 7 rising clock edges. How many times N does Q change state?

Q₀ = 0JK
N =
29.Laplace transformsMedium
t (s)f(t)t = 0.3f(0.3) = ?

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

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

A system obeys y″ + 10y′ + 24y = 48·u(t), with y(0) = 6 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″ + 10y′ + 24y = 48·u(t)y(0) = 6y′(0) = 0u(t) = 1t = 0.2 s
y(0.2) =
31.Block diagramsMedium
R(s)+17K+7s + 7G(s)C(s)0.5H₁−−

The plant G(s) = 7/(s + 7) has an inner (minor) negative feedback loop with gain H₁ = 0.5. A controller gain K = 17 and an outer unity negative feedback loop close the system. Find the closed-loop pole p.

G(s) = 7/(s + 7)H₁ = 0.5K = 17
p =
32.Block diagramsHard
R(s)+56s(s + 12)G(s)C(s)1H−

The plant G(s) = 56/(s(s + 12)) is in a negative feedback loop with sensor gain H = 1. The closed-loop poles are complex. Find their imaginary part ωd (the positive value), in rad/s.

G(s) = 56/(s(s + 12))H = 1
ωd = rad/s
33.Step responseMedium
t (s)y(t)3

A system has the transfer function G(s) = 219/(s² + 7s + 73) and receives a unit step input. Find the natural frequency ωn in rad/s.

G(s) = 219/(s² + 7s + 73)
ωn = rad/s
34.Step responseHard
R(s)+230s(s + 20)G(s)C(s)−

A unity negative feedback loop has G(s) = 230/(s(s + 20)). Find the 2 % settling time ts of the closed-loop step response, using ts ≈ 4/(ζωₙ).

G(s) = 230/(s(s + 20))
ts = s
35.Bode plots & marginsMedium
vin​R = 1 kΩC = 47 nFvout​

The RC low-pass filter shown has R = 1 kΩ, C = 47 nF. A sinusoidal input of 34 kHz is applied. Find the gain |H| = |vout/vin| in dB.

R = 1 kΩC = 47 nFf = 34 kHz
|H| = dB
36.Bode plots & marginsHard
|H| (dB)11101010010010001000−80−60−40−2002040ω (rad/s)φ (°)ω (rad/s)−180−135−90−450ωc​

A unity-feedback loop has the open-loop transfer function L(s) = 800/(s(s + 10)). Find the phase margin PM in degrees.

L(s) = 800/(s(s + 10))
PM = °
37.Stability: Routh–Hurwitz & root locusMedium
R(s)+Ks + 4(s − 2)(s + 2)C(s)−

The plant G(s) = (s + 4)/((s − 2)(s + 2)) has an unstable pole at s = 2. A proportional gain K closes a unity-feedback loop around it. Find the smallest gain Kmin that makes the closed loop stable.

G(s) = (s + 4)/((s − 2)(s + 2))
Kmin =
38.Stability: Routh–Hurwitz & root locusHard
ReIm−0.5−1−1.5−2−2.5−3−3.5−40.5j0.5j1sb​

The root locus of L(s) = K/((s + 1)(s + 3)) is shown. Find the gain K at the break-away point sb, where the two closed-loop poles meet on the real axis.

L(s) = K/((s + 1)(s + 3))
K =
39.Steady-state error & PID controlMedium
r(t) = 1t+20(s + 3)s(s + 4)C(s)−

A ramp r(t) = 1t is applied to a unity-feedback loop with G(s) = 20(s + 3)/(s(s + 4)). Find the steady-state error ess.

G(s) = 20(s + 3)/(s(s + 4))r(t) = 1t
ess =
40.Steady-state error & PID controlHard
R(s)+K4s(s + 8)C(s)−

A proportional controller K drives the plant G(s) = 4/(s(s + 8)) in a unity-feedback loop. Find the gain K that gives the closed loop a damping ratio ζ = 0.707.

G(s) = 4/(s(s + 8))ζ = 0.707
K =

3Solutions

1.Series & parallel resistors

Answer: Req = 17.22 Ω

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​ = 15 ΩR3​ = 2 Ω+−V1​18 VR2​4 Ω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 = 2 + 3 = 5 Ω
R2 ∥ 5 = 4·5/(4+5) = 2.222 Ω
Req = R1 + 2.222 = 15 + 2.222 = 17.22 Ω

Answer

Req = 17.22 Ω
2.Series & parallel resistors

Answer: Req = 8.227 Ω

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​ = 5 ΩR5​ = 10 Ω+−V1​6 VR2​3 ΩAR4​4 ΩBR6​30 Ω

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 = 10 + 30 = 40 Ω
R4 ∥ 40 = 3.636 Ω
R3 + 3.636 = 8.636 Ω
R2 ∥ 8.636 = 2.227 Ω
Req = R1 + 2.227 = 6 + 2.227 = 8.227 Ω

Answer

Req = 8.227 Ω
3.Nodal analysis

Answer: VB = 2.449 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​ = 2 ΩR3​ = 3 Ω+−V1​18 VR2​4 ΩAR4​12 ΩBIs​2 A

Set up the nodes

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

KCL at node A

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

VA/R2 + (VA − V1)/R1 + (VA − VB)/R3 = 0
VA/4 + (VA − 18)/2 + (VA − VB)/3 = 0
1.083·VA − 0.3333·VB = 9

KCL at node B

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

VB/R4 + (VB − VA)/R3 = Is
VB/12 + (VB − VA)/3 = (−2)
−0.3333·VA + 0.4167·VB = −2

Solve

Δ = (1.083)(0.4167) − (−0.3333)(−0.3333) = 0.3403
VA = Δ1/Δ = 3.083/0.3403 = 9.061 V
VB = Δ2/Δ = 0.8333/0.3403 = 2.449 V

Answer

VB = 2.449 V
4.Nodal analysis

Answer: IR1 = 0.8176 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.

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 − 15
(VA − V1)/R1 + VA/R2 + VB/R3 = Is

Solve

(VA − 36)/25 + VA/15 + (VA − 15)/2 = 0.5
VA·(1/25 + 1/15 + 1/2) = 0.5 + 36/25 + 15/2 = 9.44
VA = 9.44/0.6067 = 15.56 V
VB = 0.5604 V

Current through R₁

IR1 = (V1 − VA)/R1 = (36 − 15.56)/25 = 0.8176 A

Answer

IR1 = 0.8176 A

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

5.Mesh analysis

Answer: I1 = −0.1026 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​ = 15 ΩR2​ = 2 Ω+−V1​6 VR3​12 ΩA+−V2​9 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
15·I1 + 12(I1 − I2) = 6
27·I1 − 12·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
2·I2 + 12(I2 − I1) = (−9)
−12·I1 + 14·I2 = −9

Solve

Δ = (27)(14) − (−12)(−12) = 234
I1 = Δ1/Δ = −24/234 = −0.1026 A
I2 = Δ2/Δ = −171/234 = −0.7308 A

Answer

I1 = −0.1026 A

A negative mesh current flows anticlockwise.

6.Mesh analysis

Answer: VR1 = 1.977 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​ = 2 ΩR2​ = 25 ΩR3​ = 4 Ω+−V1​30 VR4​30 ΩAR5​30 ΩB+−V2​30 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
2·I1 + 30(I1 − I2) = 30
32·I1 − 30·I2 = 30

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
25·I2 + 30(I2 − I1) + 30(I2 − I3) = 0
−30·I1 + 85·I2 − 30·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
4·I3 + 30(I3 − I2) = (−30)
−30·I2 + 34·I3 = −30

Solve

Δ = det of the coefficient matrix = 33080
I1 = Δ1/Δ = 32700/33080 = 0.9885 A
I2 = Δ2/Δ = 1800/33080 = 0.05441 A
I3 = Δ3/Δ = −27600/33080 = −0.8343 A

Answer

IR1 = I1 = 0.9885 A
VR1 = IR1·R1 = 0.9885·2 = 1.977 V

A negative mesh current flows anticlockwise.

7.Superposition

Answer: I = 2.5 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₁ + 10·k₂ = 3.5
15·k₁ + 1·k₂ = 7.6

Solve for the constants

Δ = (5)(1) − (10)(15) = −145
k₁ = Δ1/Δ = −72.5/−145 = 0.5
k₂ = Δ2/Δ = −14.5/−145 = 0.1
k₁ = 0.5 mA/V, k₂ = 0.1

Predict the new current

I = 0.5·4 + 0.1·5 = 2.5 mA

Answer

I = 2.5 mA
8.Superposition

Answer: IR4 = 2.078 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 ΩR2​ = 8 ΩR4​ = 4 Ω+−V1​9 VR3​25 Ω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) = 25 ∥ 12 = 8.108 Ω
VA = 9·8.108/(4+8.108) = 6.027 V
VB = VA·R4/(R2+R4) = 6.027·4/12 = 2.009 V
IR4′ = (VB − V2)/R4 = (2.009 − 0)/4 = 0.5022 A
R1​ = 4 ΩR2​ = 8 ΩR4​ = 4 ΩSHORTR3​25 ΩAIs​3 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.448 Ω, so the left path is R2+3.448 = 11.45 Ω
Req = R4 ∥ 11.45 = 2.964 Ω
VB = Is·Req = 3·2.964 = 8.893 V
VA = VB·3.448/11.45 = 2.679 V
IR4″ = (VB − V2)/R4 = (8.893 − 0)/4 = 2.223 A
R1​ = 4 ΩR2​ = 8 ΩR4​ = 4 ΩSHORTR3​25 ΩAOPENB+−V2​10 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 = 4·25/(4+25) = 3.448 Ω
VB = V2·(R2+R1∥R3)/(R4+R2+R1∥R3) = 10·11.45/15.45 = 7.411 V
VA = VB·(R1∥R3)/(R2+R1∥R3) = 7.411·3.448/11.45 = 2.232 V
IR4‴ = (VB − V2)/R4 = (7.411 − 10)/4 = −0.6473 A

Add the contributions

IR4 = IR4′ + IR4″ + IR4‴
IR4 = 0.5022 + 2.223 + (−0.6473) = 2.078 A

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

9.Thévenin & Norton

Answer: Rth = 7.222 Ω

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​ = 5 ΩR3​ = 5 ΩSHORTR2​4 Ω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 = 5·4/(5+4) = 2.222 Ω
Rth = (R1 ∥ R2) + R3 = 2.222 + 5 = 7.222 Ω
10.Thévenin & Norton

Answer: IN = 6.262 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​ = 25 ΩR3​ = 25 ΩSHORTR2​15 Ω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 = 25·15/(25+15) = 9.375 Ω
Rth = (R1 ∥ R2) + R3 = 9.375 + 25 = 34.38 Ω
R1​ = 25 ΩR3​ = 25 Ω+−V1​24 VR2​15 ΩAIs​6 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) = 9 + 6·9.375 = 65.25 V
Vth = VB = VA + Is·R3 = 65.25 + 6·25 = 215.3 V
IN​6.262 ARth​34.38 Ω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 = 215.3/34.38 = 6.262 A
11.RC & RL transients

Answer: τ = 27.79 ms

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.

Thévenin equivalent seen by the capacitor

Short the source to find Rth; open the capacitor to find the voltage it will settle at.

Rth = R1 ∥ R2 = 6.8·4.7/(6.8 + 4.7) = 2.779 kΩ
vC(∞) = 12·4.7/(6.8 + 4.7) = 4.904 V

Time constant

τ = Rth·C = 2.779·10 = 27.79 ms

Answer

τ = 27.79 ms
12.RC & RL transients

Answer: t = 270.2 ms

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 value, final value, time constant

The capacitor voltage cannot jump, so it starts at its stored value and heads for the source voltage.

vC(0) = 18 V, vC(∞) = Vs = 15 V
τ = R·C = 3.3 kΩ · 68 µF = 224.4 ms
vC(t) = 15 + (18 − 15)·e−t/τ

Solve for the time

15.9 = 15 + (3)·e−t/τ → e−t/τ = (15.9 − 15)/(18 − 15) = 0.3
t = τ·ln((18 − 15)/(15.9 − 15)) = 224.4·ln(3.333) = 270.2 ms

Answer

t = 270.2 ms
13.AC impedance & phasors

Answer: cos φ = 0.2387

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 = 18.85 Ω, XC = 120.6 Ω

Impedance

|Z| = √(25² + (−101.7)²) = 104.7 Ω

Power factor

cos φ = R/|Z| = 25/104.7 = 0.2387
The circuit is capacitive, so the power factor is leading.

Answer

cos φ = 0.2387
14.AC impedance & phasors

Answer: |Z| = 28.91 Ω

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

Reactance

XC = 1/(2π·500·4.7·10⁻⁶) = 67.73 Ω

Parallel combination

Multiply top and bottom by the complex conjugate to split Zp into real and imaginary parts.

Zp = R₂·(−jXC)/(R₂ − jXC) = (R₂·XC² − jR₂²·XC)/(R₂² + XC²)
Zp = 18.4 − j5.432 Ω

Total impedance

Z = 10 + 18.4 − j5.432 = 28.4 − j5.432 Ω
|Z| = √(28.4² + 5.432²) = 28.91 Ω

Answer

|Z| = 28.91 Ω
15.AC power & power factor

Answer: I = 190.8 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 of each load

A lagging load takes reactive power (Q > 0); a leading load supplies it (Q < 0).

Q1 = 13·tan(arccos 0.6) = 17.33 kvar
Q2 = 25·tan(arccos 0.95) = 8.217 kvar

Totals

P = 13 + 25 = 38 kW
Q = 17.33 + 8.217 = 25.55 kvar
S = √(38² + 25.55²) = 45.79 kVA

Total current

I = S/V = 45791/240 = 190.8 A

Answer

I = 190.8 A
16.AC power & power factor

Answer: Pmax = 156.3 W

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.

Conjugate match

The load reactance cancels the source reactance, and the load resistance equals the source resistance.

ZL = Zs* = 4 − j15 Ω

Maximum power

I = Vs/(2Rs) = 50/8 = 6.25 A
Pmax = I²·RL = Vs²/(4Rs) = 50²/(4·4) = 156.3 W

Answer

Pmax = 156.3 W
17.Three-phase power

Answer: P = 5.53 kW

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

Phase voltage

Vph = 480/√3 = 277.1 V

Phase current

|Z| = √(15² + 20²) = 25 Ω
Iph = 277.1/25 = 11.09 A

Total real power

Only the resistive part of each impedance absorbs real power.

P = 3·Iph²·R = 3·11.09²·15 = 5.53 kW

Answer

P = 5.53 kW

Check: cos φ = R/|Z| = 0.6, and √3·VL·IL·cos φ gives the same power.

18.Three-phase power

Answer: QC = 34.24 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 = 50·tan(acos 0.65) = 50·1.169 = 58.46 kvar
Q2 = 50·tan(acos 0.9) = 50·0.4843 = 24.22 kvar

Reactive power from the capacitors

QC = Q1 − Q2 = 34.24 kvar

Answer

QC = 34.24 kvar
19.Transformers

Answer: ILV = 1042 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.

Rated current

Both windings carry the same apparent power.

ILV = S/V = 250000/240 = 1042 A

Answer

ILV = 1042 A
20.Transformers

Answer: Sη,max = 61.24 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²·562.5 = 375 → x = √(375/562.5) = 0.8165

Load at maximum efficiency

Sη,max = x·S = 0.8165·75 = 61.24 kVA

Answer

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

Answer: Vout = 4.56 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₊ = 0.8 V
I = V₋/R1 = 0.8/10 = 0.08 mA

Output voltage

The current through R₁ also flows through Rf.

Vout = V₋ + I·Rf = 0.8 + 0.08·47 = 4.56 V

Answer

Vout = 4.56 V
22.Op-amp circuits

Answer: Vout = 3.857 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 = −1.2/4.7 = −0.2553 mA
I2 = V2/R2 = 0.8/10 = 0.08 mA
If = I1 + I2 = −0.1753 mA

Output voltage

Vout = −Rf·If = −22·(−0.1753) = 3.857 V

Answer

Vout = 3.857 V
23.Diodes & transistors

Answer: VCE = 6.199 V

BJT bias point: in the active region VBE = 0.7 V, IC = β·IB and IE = (β + 1)·IB. Find IB from the base loop with KVL, then IC, then VCE from the collector–emitter loop. A voltage divider at the base is replaced by its Thévenin equivalent VTH = VCC·R₂/(R₁ + R₂), RTH = R₁∥R₂; an emitter resistor appears (β + 1) times larger in the base loop.

Thévenin equivalent of the divider

VTH = 12·8.2/(47 + 8.2) = 1.783 V
RTH = 47·8.2/(47 + 8.2) = 6.982 kΩ

Base current

KVL around the base loop; the emitter current is (β + 1)·IB.

IB = (1.783 − 0.7)/(6.982 + 121·0.68) = 12.13 µA

Collector current

IC = 120·12.13 µA = 1.455 mA
IE = 121·12.13 µA = 1.468 mA

Collector–emitter voltage

VCE = 12 − 1.455·3.3 − 1.468·0.68 = 6.199 V

Answer

VCE = 6.199 V
24.Diodes & transistors

Answer: RB = 2.955 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)/100 = 88 mA

Minimum base current

IB(min) = IC(sat)/β = 88/100 = 880 µA

Base resistor

RB = (3.3 − 0.7)/IB = 2.6 V/0.88 mA = 2.955 kΩ

Answer

RB = 2.955 kΩ

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

25.Number systems

Answer: U = 174

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

82 = 0101 0010
inverted: 1010 1101
+1 → 1010 1110

Read it as unsigned

1010 1110₂ = 256 − 82 = 174

Answer

U = 174
26.Number systems

Answer: R = 144

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

Shifting left by 1 moves every bit 1 places to the left; bits that fall off the left end are lost and zeros come in on the right.

1100 1000 << 1
= 1001 0000

Value of the result

1001 0000₂ = 144

Answer

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

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

m12: m13, m14, m8, m4 → 0
ABCD000111100001111011111111

The isolated 1

m12 = ABC′D′ → AB = 11, CD = 00

Answer

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

Answer: N = 4

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.

Q after every edge

A JK flip-flop: 00 holds, 01 resets (Q = 0), 10 sets (Q = 1), 11 toggles.

1: J = 0, K = 1 → Q = 0
2: J = 1, K = 1 → Q = 1
3: J = 0, K = 0 → Q = 1
4: J = 0, K = 0 → Q = 1
5: J = 0, K = 1 → Q = 0
6: J = 1, K = 1 → Q = 1
7: J = 1, K = 1 → Q = 0

Count the changes

0 → 0 → 1 → 1 → 1 → 0 → 1 → 0
N = 4

Answer

N = 4
29.Laplace transforms

Answer: f(0.3) = 0.519

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 + 1) + C/(s + 5)
A = 20/(1·5) = 4
B = 20/((−1)·4) = −5
C = 20/((−5)·(−4)) = 1

Inverse transform

f(t) = 4 − 5·e−t + e−5t

Evaluate

f(0.3) = 4 − 5·e−0.3 + e−5·0.3 = 0.519

Answer

f(0.3) = 0.519
30.Laplace transforms

Answer: y(0.2) = 4.982

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² + 10s + 24)·Y(s) = 6s + 60 + 48/s
Y(s) = (6s² + 60s + 48)/(s(s + 4)(s + 6))

Partial fractions

A = 48/(4·6) = 2
B = −96/((−4)·2) = 12
C = −96/((−6)·(−2)) = −8

Result

y(t) = 2 + 12·e−4t − 8·e−6t
y(0.2) = 4.982

Answer

y(0.2) = 4.982

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

31.Block diagrams

Answer: p = −129.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).

Inner loop

Gᵢ = G/(1 + G·H₁) = 7/(s + 7 + 7·0.5) = 7/(s + 10.5)

Outer loop

T(s) = K·Gᵢ/(1 + K·Gᵢ) = 119/(s + 10.5 + 119) = 119/(s + 129.5)

Result

p = −129.5

Answer

p = −129.5
32.Block diagrams

Answer: ωd = 4.472 rad/s

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 + 12) + 56·1 = 0 → s² + 12s + 56 = 0

Roots

s = −6 ± j·√(56 − 36) = −6 ± j4.472
ωd = 4.472 rad/s

Answer

ωd = 4.472 rad/s
33.Step response

Answer: ωn = 8.544 rad/s

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

ωₙ² = 73 → ωₙ = 8.544 rad/s
2ζωₙ = 7 → ζ = 7/(2·8.544) = 0.4096

Result

ωₙ = 8.544 rad/s

Answer

ωn = 8.544 rad/s
34.Step response

Answer: ts = 0.4 s

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) = 230/(s² + 20s + 230): ωₙ = 15.17 rad/s, ζ = 0.6594

Settling time

ζωₙ = 20/2 = 10
ts ≈ 4/(ζωₙ) = 0.4 s

Answer

ts = 0.4 s

For this loop ζωₙ = a/2 whatever K is: raising K adds overshoot but does not shorten the settling time.

35.Bode plots & margins

Answer: |H| = −20.08 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.

Corner frequency

ωc = 1/(RC) = 1/(1000·4.7 × 10⁻⁸) = 21277 rad/s
fc = 3386 Hz → f/fc = 34000/3386 = 10.04

Gain

|H| = 1/√(1 + 10.04²) = 0.09911
20·log₁₀(0.09911) = −20.08 dB

Answer

|H| = −20.08 dB
36.Bode plots & margins

Answer: PM = 20.04 °

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.

Gain crossover

ω⁴ + 100ω² − 640000 = 0
ω² = (−100 + √(10000 + 4·640000))/2 = 751.6
ωc = 27.41 rad/s

Phase margin

∠L(jωc) = −90° − atan(27.41/10) = −160°
PM = 180° + ∠L = 20.04°

Answer

PM = 20.04°
37.Stability: Routh–Hurwitz & root locus

Answer: Kmin = 1

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 − 2)(s + 2) + K(s + 4) = s² + (0 + K)s + (4K − 4)

Conditions

For s² + c₁s + c₀ all roots lie in the left half-plane exactly when c₁ > 0 and c₀ > 0.

0 + K > 0 → K > 0
4K − 4 > 0 → K > 1
Kmin = 1

Answer

Kmin = 1
38.Stability: Routh–Hurwitz & root locus

Answer: K = 1

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.

Break-away point

dK/ds = 0 for K = −(s + 1)(s + 3) gives 2s + 4 = 0.

sb = −2

Magnitude condition

K = |−2 + 1|·|−2 + 3| = 1·1 = 1

Answer

K = 1

For this gain the closed loop is critically damped (ζ = 1).

39.Steady-state error & PID control

Answer: ess = 0.06667

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.

Velocity constant

Kv = lim s·G(s) = 15

Ramp error

ess = 1/15 = 0.06667

Answer

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

Answer: K = 8.002

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 + 8) + 4K = s² + 8s + 4K

Natural frequency

2·0.707·ωₙ = 8 → ωₙ = 5.658 rad/s

Gain

4K = ωₙ² = 32.01 → K = 8.002

Answer

K = 8.002

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