Basic Electrical Engineering

Chapter 4
Capacitance, Inductance and Transient Response

Bachelor Program in Mechatronics Engineering
Basic Electrical Engineering   •   Bachelor

Capacitance, Inductance and Transient Response

Introduction

Electrical circuits do not always operate in steady state. Switching, faults, sensor changes, motor starting, relay actuation, and power-electronic commutation produce intervals during which voltages and currents change with time. These intervals are called transients. Understanding transients is essential in mechatronics because controllers, actuators, embedded systems, sensors, and power converters all contain energy-storage elements.

The two ideal passive storage elements are the capacitor and the inductor. A capacitor stores energy in an electric field and opposes abrupt changes in voltage. An inductor stores energy in a magnetic field and opposes abrupt changes in current. When combined with resistors and sources, they produce first-order RC and RL responses. Circuits containing both capacitors and inductors are second-order systems and may exhibit oscillation, overshoot, damping, or resonance.

This chapter develops mathematical models, time-domain solutions, practical design methods, and limitations of ideal assumptions.

Learning Objectives

After studying this chapter, the reader should be able to:

  1. Define capacitance and inductance and relate them to voltage, current, charge, and magnetic flux.
  2. Calculate energy stored in capacitors and inductors.
  3. Explain switching behavior and continuity conditions.
  4. Determine time constants and solve first-order RC and RL circuits.
  5. Analyze natural and forced responses of second-order RLC circuits.
  6. Classify RLC responses as overdamped, critically damped, or underdamped.
  7. Apply transient analysis to practical mechatronic systems.
  8. Recognize nonideal effects, measurement issues, and component limitations.

1. Capacitors: Electric-Field Energy Storage

A capacitor consists of two conductors separated by an insulating dielectric. When a voltage is applied, equal and opposite charges accumulate on the conductors. The capacitance is defined by

C = Q/V

where C is capacitance in farads (F), Q is stored charge in coulombs (C), and V is the voltage across the capacitor in volts (V). The relationship assumes a linear dielectric and a defined pair of terminals. For a parallel-plate capacitor,

C = εA/d

where ε is the permittivity of the dielectric in F/m, A is the plate area in m², and d is the plate separation in m. Fringing fields are neglected in this ideal expression.

Since Q = Cv, differentiating with respect to time gives the current-voltage relationship:

iC(t) = C dvC(t)/dt

The sign convention is passive: current enters the terminal marked positive for v_C. Equivalently,

vC(t) = vC(t0) + (1/C) ∫[t0 to t] iC(τ)dτ

This equation shows that capacitor voltage changes according to accumulated current. An ideal capacitor voltage cannot change instantaneously because that would require an impulse of current. Thus, in ordinary switching circuits,

vC(0⁺) = vC(0⁻)

where 0⁻ denotes the instant immediately before switching and 0⁺ the instant immediately after switching.

Energy Stored in a Capacitor

The instantaneous power absorbed by a capacitor is p = vi. Substituting i = C dv/dt and integrating gives

wC = (1/2) C vC²

where w_C is energy in joules. The energy is always nonnegative for an ideal capacitor, regardless of voltage polarity, because it depends on v².

2. Inductors: Magnetic-Field Energy Storage

An inductor is commonly formed by winding a conductor around a magnetic core or through free space. Current creates magnetic flux, and a changing current induces a voltage opposing that change. Inductance is defined by

L = NΦ/i

for a linear magnetic system, where L is inductance in henries (H), N is the number of turns, Φ is magnetic flux in webers (Wb), and i is current in amperes (A). For a linear magnetic circuit, an approximate solenoid relation is

L ≈ μN²A/l

where μ is magnetic permeability in H/m, A is core cross-sectional area in m², and l is mean magnetic path length in m. Leakage flux, fringing, saturation, and winding effects are neglected.

The terminal relationship for an inductor, using the passive sign convention, is

vL(t) = L diL(t)/dt

or

iL(t) = iL(t0) + (1/L) ∫[t0 to t] vL(τ)dτ

An ideal inductor current cannot change instantaneously. An instantaneous current change would require an impulse of voltage. Therefore,

iL(0⁺) = iL(0⁻)

Energy Stored in an Inductor

Using p = vi and v = L di/dt,

wL = (1/2) L iL²

where w_L is energy in joules. This energy resides in the magnetic field and can be returned to the circuit when the current decreases.

3. Switching Laws and Initial Conditions

Switching changes circuit topology, but it does not erase stored energy. The initial conditions for a transient are obtained from the pre-switch circuit:

  • Find the capacitor voltage immediately before switching, v_C(0⁻).
  • Find the inductor current immediately before switching, i_L(0⁻).
  • Apply continuity: v_C(0⁺) = v_C(0⁻) and i_L(0⁺) = i_L(0⁻).
  • Analyze the post-switch circuit using these values.

At DC steady state, an ideal capacitor behaves as an open circuit because dv/dt = 0 and therefore i_C = 0. An ideal inductor behaves as a short circuit because di/dt = 0 and therefore v_L = 0. These are steady-state equivalents, not universal replacements during a transient.

A practical warning is important. Real switches have finite resistance and finite transition time. Real capacitors have leakage and equivalent series resistance (ESR), while real inductors have winding resistance, core loss, parasitic capacitance, and possible saturation. The ideal continuity laws are highly useful but must be interpreted with the physical switching circuit in mind.

4. First-Order RC Transients

A first-order RC circuit contains one independent capacitor and resistive elements. Any linear source-resistor-capacitor network can be reduced, as seen by the capacitor, to a Thévenin source V_Th in series with R_Th.

For a source-free RC circuit, the capacitor discharges through R_Th. Kirchhoff’s voltage law gives

RTh iC + vC = 0

Using i_C = C dv_C/dt,

RTh C dvC/dt + vC = 0

Define the RC time constant

τ = RTh C

where τ is in seconds because Ω × F = s. The natural response is

vC(t) = V0 e^(−t/τ)

where V_0 = v_C(0⁺), and t ≥ 0.

For a circuit driven toward a constant final voltage V_∞, the complete response is

vC(t) = V_∞ + [V0 − V_∞]e^(−t/τ)

This formula consists of a forced response V_∞ and a natural response that decays from the initial error V_0 − V_∞. The corresponding resistor or capacitor current is often

i(t) = (V_∞ − V0)/RTh × e^(−t/τ)

with the sign determined by the chosen current direction.

At t = τ, the remaining initial difference is e⁻¹ ≈ 36.8%; approximately 63.2% of the total change has occurred. At 5τ, less than 1% of the initial difference remains, so 5τ is commonly used as an engineering settling estimate.

Worked Example 1: RC Charging

A 12 V source is connected through a 4.7 kΩ resistor to a 100 μF capacitor initially uncharged. Determine the time constant and capacitor voltage after 0.50 s.

The resistance seen by the capacitor is 4.7 kΩ, so

τ = RC = (4700 Ω)(100 × 10⁻⁶ F) = 0.47 s

Here V_∞ = 12 V and V_0 = 0. Therefore,

vC(0.50) = 12[1 − e^(−0.50/0.47)] V

Since 0.50/0.47 ≈ 1.064 and e⁻¹·⁰⁶⁴ ≈ 0.345,

vC(0.50) ≈ 12(0.655) = 7.86 V

The result is physically reasonable: the capacitor has not yet reached 12 V because only about one time constant has elapsed.

5. First-Order RL Transients

A first-order RL circuit can be reduced, as seen by the inductor, to a Thévenin source and resistance. For a source-free inductor discharging through R_Th,

L diL/dt + RTh iL = 0

The RL time constant is

τ = L/RTh

with units H/Ω = s. The natural response is

iL(t) = I0 e^(−t/τ)

For a circuit driven toward a final current I_∞,

iL(t) = I_∞ + [I0 − I_∞]e^(−t/τ)

The inductor voltage for a current response is

vL(t) = L diL/dt

For a step toward I_∞,

vL(t) = RTh(I_∞ − I0)e^(−t/τ)

assuming the passive polarity and consistent current direction.

Worked Example 2: RL Current Rise

A 24 V source is applied to a series circuit containing R = 12 Ω and L = 60 mH. The initial current is zero. Find the time constant, final current, and current at 2 ms.

The time constant is

τ = L/R = 0.060 H/12 Ω = 0.005 s = 5 ms

The final DC current is

I_∞ = V/R = 24/12 = 2 A

Thus,

i(2 ms) = 2[1 − e^(−2/5)] A

Since e⁻⁰·⁴ ≈ 0.6703,

i(2 ms) ≈ 2(0.3297) = 0.659 A

The current is continuous at switching and rises gradually rather than jumping to 2 A.

6. General First-Order Analysis Procedure

A reliable procedure for RC or RL switching problems is:

  1. Identify the variable that cannot change instantaneously: capacitor voltage or inductor current.
  2. Analyze the circuit before switching to obtain the initial condition.
  3. Analyze the circuit after switching to obtain the final value.
  4. Find the resistance seen by the storage element with independent voltage sources short-circuited and independent current sources open-circuited. Dependent sources require a test-source method.
  5. Calculate τ = R_ThC for an RC circuit or τ = L/R_Th for an RL circuit.
  6. Substitute the values into x(t) = x_∞ + [x(0⁺) − x_∞]e^(−t/τ).
  7. Check limiting values at t = 0⁺ and t → ∞.

The final-value check is especially important. If the predicted capacitor voltage or inductor current contradicts the post-switch DC circuit, the equivalent resistance or final-state analysis is probably incorrect.

7. Second-Order RLC Transients

A circuit containing both L and C has two independent energy-storage elements and is generally second order. Consider a source-free series RLC circuit. Kirchhoff’s voltage law gives

Ri + L di/dt + vC = 0

Differentiate and use i = C dv_C/dt, or formulate the equation directly in terms of capacitor voltage:

LC d²vC/dt² + RC dvC/dt + vC = 0

Dividing by LC gives the standard form

d²vC/dt² + (R/L)dvC/dt + (1/LC)vC = 0

Define the undamped natural frequency and damping ratio:

ω0 = 1/√(LC)
α = R/(2L)
ζ = α/ω0 = (R/2)√(C/L)

Here ω_0 and α have units rad/s, while ζ is dimensionless. The characteristic equation is

s² + 2αs + ω0² = 0

Its roots are

s1,2 = −α ± √(α² − ω0²)

The root type determines the response.

Overdamped Response

If α > ω_0, or ζ > 1, the roots are real and distinct. The response is a sum of two decaying exponentials:

v(t) = A e^(s1t) + B e^(s2t)

There is no oscillation, but the response is usually slower than the critically damped case.

Critically Damped Response

If α = ω_0, or ζ = 1, the repeated root is s = −α and

v(t) = (A + Bt)e^(−αt)

This is the fastest nonoscillatory response for the standard second-order model.

Underdamped Response

If α < ω_0, or 0 < ζ < 1, the roots are complex. Define the damped natural frequency

ωd = √(ω0² − α²)

The natural response can be written

v(t) = e^(−αt)[A cos(ωdt) + B sin(ωdt)]

The sinusoidal component indicates oscillation, while e^(−αt) defines its decaying envelope. If R = 0, the circuit is ideally undamped and oscillates indefinitely; real circuits always contain losses.

Initial Conditions for an RLC Circuit

For a series RLC circuit, the required initial conditions are commonly v_C(0⁺) and i_L(0⁺). Since the capacitor voltage and inductor current are continuous, they are obtained from the pre-switch circuit. The initial derivative can be found from the circuit equation. For example,

dvC(0⁺)/dt = i(0⁺)/C

These two conditions determine constants A and B in the second-order solution.

Worked Example 3: Classifying an RLC Circuit

A series circuit has R = 10 Ω, L = 0.10 H, and C = 100 μF. Classify its natural response.

First,

α = R/(2L) = 10/(0.20) = 50 rad/s

and

ω0 = 1/√(LC) = 1/√[(0.10)(100 × 10⁻⁶)] ≈ 316.2 rad/s

Because α < ω_0, the response is underdamped. The damping ratio is

ζ = 50/316.2 ≈ 0.158

The damped frequency is

ωd = √(316.2² − 50²) ≈ 312.2 rad/s

The transient oscillates at approximately 312 rad/s, or 49.7 Hz, while its envelope decays with time constant 1/α = 20 ms.

8. Step Responses and Transfer-Function View

For a linear circuit, the total response is the sum of zero-input and zero-state responses. The zero-input response is caused by stored initial energy with independent sources set to zero. The zero-state response is caused by external sources with initial storage set to zero.

In control and mechatronics, the Laplace-domain transfer function provides a compact representation. For a series RLC low-pass output taken across the capacitor,

H(s) = VC(s)/Vin(s) = 1/(LCs² + RCs + 1)

This expression assumes zero initial conditions, linear components, and a source with zero internal impedance beyond the explicitly modeled circuit. Its poles determine stability and transient characteristics. Poles in the left half of the complex s-plane produce decaying responses; poles on the imaginary axis produce sustained ideal oscillation; right-half-plane poles indicate instability.

A practical design trade-off exists. Low damping may provide a fast response but causes overshoot and ringing. High damping suppresses ringing but may increase settling time. In motor drives, switching supplies, and sensor interfaces, damping may be introduced deliberately through resistance, control action, or snubber networks.

9. Applied Case: DC Solenoid Driver with Flyback Protection

Background

Consider an illustrative mechatronics application: a 24 V DC solenoid actuates a pneumatic valve. The coil has resistance 24 Ω and inductance 120 mH. A transistor controls the coil, and the transistor is switched off when the valve must release.

Problem

During normal operation, the steady current is

I_∞ = V/R = 24/24 = 1 A

The coil time constant is

τ = L/R = 0.120/24 = 5 ms

If the transistor opens without a protective path, the inductor attempts to maintain its 1 A current. Since v_L = L di/dt, a very large voltage can appear across the switch. This voltage may exceed the transistor rating and cause avalanche breakdown, electromagnetic interference, or premature failure.

Approach and Solution

A flyback diode is connected across the coil in reverse bias during energization. When the transistor turns off, the coil current circulates through the diode and coil resistance. The current then decays approximately according to

i(t) = I0 e^(−t/τ)

with I_0 ≈ 1 A and τ ≈ 5 ms if the diode’s forward voltage and additional resistances are neglected.

For example, after 10 ms,

i(10 ms) ≈ 1e^(−10/5) = e^(−2) ≈ 0.135 A

The diode greatly limits the switch voltage, but it also slows current decay and therefore increases valve release time. If faster release is required, a zener clamp, TVS diode, or resistor-diode network can permit a larger controlled reverse voltage. The selected clamp must satisfy the transistor voltage rating, coil energy, repetitive switching frequency, thermal requirements, and electromagnetic compatibility limits.

The stored energy at turn-off is

wL = (1/2)LI² = (1/2)(0.120)(1²) = 0.060 J

This 60 mJ must be dissipated or transferred during the decay. The example demonstrates that transient analysis is not merely theoretical: it determines component ratings, timing, reliability, and safety.

Learning Points

  1. Inductor current continuity creates a turn-off voltage unless a current path is provided.
  2. A protection component changes both voltage stress and release time.
  3. Stored energy must be accounted for in thermal and reliability calculations.
  4. The ideal exponential model is a starting point; diode voltage, saturation, wiring inductance, and switch behavior refine the design.

10. Measurement, Simulation, and Design Practice

Oscilloscopes are commonly used to observe transient voltages and currents. Probe ground leads can introduce inductance and ringing, particularly in fast switching circuits. Differential probes, short ground springs, current probes, or appropriately rated shunts improve measurement quality.

Simulation tools solve circuit differential equations numerically and are useful for parameter sweeps, tolerance analysis, and worst-case design. However, a simulation is only as reliable as its model. Component parasitics, initial conditions, switch resistance, diode recovery, magnetic saturation, and measurement loading should be included when they influence the result.

Best practices include:

  • Use component voltage, current, ripple-current, and energy ratings with engineering margin.
  • Check both initial and final values of every transient solution.
  • Include parasitic resistance rather than assuming ideal lossless behavior in physical designs.
  • Use snubbers, clamps, flyback paths, and controlled gate drive where switching energy requires them.
  • Consider tolerances: τ varies with R, L, and C, and damping may change substantially with temperature and operating point.
  • Confirm that a chosen settling-time requirement is compatible with overshoot and noise requirements.
  • Treat high-voltage capacitors as hazardous even after power is removed; provide discharge paths and verify stored energy before handling.

11. Limitations and Contemporary Developments

The lumped-element model assumes that circuit dimensions are electrically small relative to the signal wavelength and that voltages and currents can be represented at discrete terminals. At high frequencies, transmission-line effects, electromagnetic radiation, skin effect, dielectric loss, and distributed capacitance become important.

Capacitors are nonideal because of leakage, ESR, equivalent series inductance, dielectric absorption, and voltage-dependent capacitance. Inductors exhibit winding resistance, core hysteresis, eddy-current loss, parasitic capacitance, and saturation. These effects can alter time constants and produce ringing not predicted by a simple model.

Modern mechatronic systems increasingly use wide-bandgap semiconductor switches such as silicon carbide and gallium nitride devices. Their faster transitions improve efficiency but make parasitic inductance, layout, electromagnetic interference, and damping more significant. Digital controllers can also implement active damping and estimate energy-storage states, but software cannot remove the need for correct electrical protection and isolation.

Safety is a professional responsibility. Capacitor discharge, inductive kickback, insulation failure, and unexpected actuator movement can injure personnel or damage equipment. Designs should follow applicable electrical safety, electromagnetic compatibility, and machinery standards, with documented verification and fault analysis.

Chapter Summary

Capacitors store energy in electric fields and obey iC = C dvC/dt, while inductors store energy in magnetic fields and obey vL = L diL/dt. Their stored energies are wC = (1/2)Cv² and wL = (1/2)Li². Consequently, capacitor voltage and inductor current are continuous in ordinary ideal switching models.

RC and RL circuits are first-order systems. Their time constants are τ = RThC and τ = L/RTh, and their responses approach a final value exponentially. RLC circuits are second order and are classified using the damping ratio or the relationship between α and ω_0. Overdamped systems do not oscillate, critically damped systems provide the fastest nonoscillatory response, and underdamped systems oscillate with a decaying envelope.

Transient analysis supports practical decisions involving actuator timing, switch protection, electromagnetic compatibility, energy dissipation, measurement, and reliability. Ideal models provide essential insight, but real designs must include parasitic effects, tolerances, component ratings, safety controls, and appropriate protective circuits.

Key Terms

Capacitance: Ability of a component to store charge per unit voltage.

Capacitor: Two-terminal element that stores energy in an electric field.

Inductance: Property of an element that relates magnetic flux linkage to current.

Inductor: Two-terminal element that stores energy in a magnetic field.

Transient: Time interval during which circuit variables change between operating states.

Steady state: Condition reached after transient effects have effectively decayed.

Time constant: Parameter that characterizes exponential first-order response speed.

Continuity condition: Requirement that capacitor voltage or inductor current cannot change instantaneously in the ideal model.

Natural response: Response produced by stored energy after independent sources are removed.

Forced response: Response produced by external sources.

Thévenin equivalent: A voltage source in series with an equivalent resistance representing a linear network.

Damping ratio: Dimensionless measure of second-order damping relative to critical damping.

Natural frequency: Characteristic oscillation frequency of an ideal or lightly damped system.

Overdamped: Second-order condition with two distinct real negative poles.

Critically damped: Condition with a repeated real pole and fastest nonoscillatory response.

Underdamped: Condition with complex-conjugate poles and decaying oscillation.

Flyback diode: Diode that provides a current path for an inductive load after switching off.

Equivalent series resistance: Effective series resistance representing capacitor or inductor losses.

Snubber: Protective network used to limit switching voltage or damp ringing.

Review Questions

Short Answer Questions

  1. Why can the voltage across an ideal capacitor not change instantaneously?
  2. State the energy-storage equations for a capacitor and an inductor.
  3. What is the difference between the initial value and final value in a first-order transient?
  4. Define the RC and RL time constants.
  5. What physical behavior distinguishes an underdamped RLC response from an overdamped response?

Long Answer Questions

  1. Derive the natural response of a source-free RC circuit from Kirchhoff’s voltage law.
  2. Explain a systematic procedure for solving a switched RL circuit, including determination of initial value, final value, and resistance seen by the inductor.
  3. Derive the characteristic equation for a series RLC circuit and explain the meaning of its roots.
  4. Discuss how capacitor and inductor nonidealities affect transient response in practical systems.
  5. Explain the design trade-off between fast actuator release and switch-voltage protection in an inductive load.

Analytical / Application Questions

  1. A 5 V source charges a 47 μF capacitor through a 10 kΩ resistor from zero initial voltage. Calculate the time constant and capacitor voltage after 0.30 s.
  2. A 48 V supply drives a 16 Ω coil with inductance 80 mH. Determine the steady current, time constant, and stored energy at steady state.
  3. For a series RLC circuit with R = 20 Ω, L = 0.20 H, and C = 50 μF, calculate α and ω_0, then classify the response and justify the classification.

Multiple Choice Questions with Answers

Question 1

Which quantity is continuous across an ideal capacitor during ordinary switching?

A. Capacitor current

B. Capacitor voltage

C. Resistor power

D. Source frequency

Correct Answer: B. Capacitor voltage

Question 2

A 10 kΩ resistor and a 100 μF capacitor have an RC time constant of:

A. 0.001 s

B. 0.01 s

C. 1 s

D. 10 s

Correct Answer: C. 1 s

Question 3

The energy stored in an inductor is given by:

A. LI

B. (1/2)LI²

C. (1/2)CV²

D. L/I

Correct Answer: B. (1/2)LI²

Question 4

For an RL circuit, increasing the resistance while holding inductance constant will:

A. Increase the time constant

B. Decrease the time constant

C. Leave the time constant unchanged

D. Make the inductance zero

Correct Answer: B. Decrease the time constant

Question 5

At DC steady state, an ideal capacitor behaves as a:

A. Short circuit

B. Current source

C. Open circuit

D. Voltage-controlled resistor

Correct Answer: C. Open circuit

Question 6

A second-order circuit is critically damped when the damping ratio is:

A. 0

B. Less than 0

C. Equal to 1

D. Greater than 2 only

Correct Answer: C. Equal to 1

Question 7

A 24 V source and 12 Ω resistor drive an initially unenergized RL circuit. The final current is:

A. 0.5 A

B. 2 A

C. 12 A

D. 288 A

Correct Answer: B. 2 A

Question 8

The main purpose of a flyback diode across a DC coil is to:

A. Increase the coil resistance

B. Provide a path for inductive current when switching off

C. Eliminate magnetic energy instantly

D. Increase the supply voltage

Correct Answer: B. Provide a path for inductive current when switching off

Question 9

For a series RLC circuit, the undamped natural frequency is:

A. R/L

B. L/R

C. 1/√(LC)

D. RC

Correct Answer: C. 1/√(LC)

Question 10

After five time constants in a first-order decay, approximately what percentage of the initial difference remains?

A. 63.2%

B. 36.8%

C. 5%

D. Less than 1%

Correct Answer: D. Less than 1%

Basic Electrical Engineering
Chapter 4 of 15