Basic Electrical & Electronics Engineering

Chapter 3
Transients and Energy-Storage Circuits

Bachelors Program in Mechnical Engineering
Basic Electrical & Electronics Engineering   •   Bachelor

Transients and Energy-Storage Circuits

Introduction

Electrical circuits do not always operate in steady state. Whenever a switch is opened or closed, a source changes, or a load is connected, voltages and currents may require time to reach new values. This temporary behavior is called a transient. Transients are central to electrical engineering because they determine switching stresses, relay operation, actuator response, sensor conditioning, power-supply performance, and electromagnetic interference.

Two passive components dominate first-order transient behavior:

  • A capacitor stores energy in an electric field and resists an instantaneous change in voltage.
  • An inductor stores energy in a magnetic field and resists an instantaneous change in current.

This chapter develops the physical laws of capacitors and inductors, derives the response of first-order RC and RL circuits, explains time constants and stored energy, and applies these ideas to relays, actuators, and protection circuits.

Learning Objectives

By the end of this chapter, the reader should be able to:

  1. Explain capacitor and inductor behavior using their constitutive relationships.
  2. Calculate stored energy and identify the relevant units.
  3. Determine initial and final conditions in switching circuits.
  4. Derive and use the time constants of RC and RL circuits.
  5. Analyze charging, discharging, current growth, and current decay.
  6. Apply transient concepts to relay suppression, actuator control, and circuit protection.
  7. Recognize practical nonidealities and limitations of ideal models.

1. Energy Storage in Capacitors and Inductors

1.1 Capacitors

A capacitor consists of two conducting surfaces separated by an insulating material. When a voltage is applied, equal and opposite charges accumulate on its plates. The ideal capacitor relationship is

q = Cv

where q is charge in coulombs (C), C is capacitance in farads (F), and v is voltage in volts (V). Differentiating with respect to time gives the current-voltage relationship:

iC = C dvC/dt

Here iC is capacitor current in amperes and dvC/dt is the rate of change of capacitor voltage in volts per second. This equation assumes an ideal, linear, time-invariant capacitor and passive sign convention.

The equation shows that a finite current can change capacitor voltage only at a finite rate. An instantaneous voltage change would require an impulse of theoretically infinite current. Consequently, in ordinary circuits:

vC(0^+) = vC(0^-)

The notation 0^- means immediately before switching and 0^+ means immediately after switching. This continuity rule applies when no ideal impulse current source is imposed.

The energy stored in a capacitor is

wC = 1/2 C vC2

where wC is energy in joules. The formula follows from integrating incremental work, dw = v dq, using q = Cv. It is valid for a linear capacitor. Because voltage is squared, reversing capacitor polarity does not change the stored energy, although it may exceed the component’s voltage rating.

1.2 Inductors

An inductor stores energy in a magnetic field produced by current through a winding. Its ideal voltage-current relationship is

vL = L diL/dt

where vL is in volts, L is inductance in henries (H), and diL/dt is the current rate of change in amperes per second. The relationship assumes an ideal linear inductor and passive sign convention.

A finite voltage produces a finite rate of current change. Therefore, without an ideal impulse voltage source,

iL(0^+) = iL(0^-)

An inductor current cannot change instantaneously. The stored magnetic energy is

wL = 1/2 L iL2

where wL is in joules and iL is in amperes.

1.3 Capacitor and Inductor Comparison

PropertyCapacitorInductor
Stored energyElectric fieldMagnetic field
Constitutive lawi = C dv/dtv = L di/dt
Continuous variableVoltageCurrent
Energy1/2 Cv21/2 Li2
DC steady stateOpen circuit ideallyShort circuit ideally
Main switching concernInrush current and voltage rippleCurrent interruption and voltage spike

In a DC steady state, capacitor voltage is constant, so ideal capacitor current is zero. An inductor current is constant, so ideal inductor voltage is zero. These are limiting steady-state results, not statements that capacitors and inductors never conduct or develop voltage.

2. First-Order Transient Analysis

A circuit is first-order when its differential equation contains one independent energy-storage state variable. A circuit containing one effective capacitor generally has one RC time constant; one effective inductor generally has one RL time constant.

The most useful general form of a first-order response is

x(t) = x(∞) + [x(0^+) - x(∞)]e^(-t/τ), t ≥ 0

where:

  • x(t) is the variable of interest;
  • x(0^+) is its value immediately after switching;
  • x(∞) is its final DC steady-state value;
  • τ is the time constant in seconds.

This equation applies to a linear first-order circuit after switching, provided the circuit configuration remains fixed for t ≥ 0. The initial and final values must be found from the actual circuit, not assumed to be zero.

At t = τ, the exponential factor is e-1 ≈ 0.368. Thus the variable has completed approximately 63.2% of its total change toward the final value. Useful approximations are:

Time after switchingApproximate completion
1τ63.2%
2τ86.5%
3τ95.0%
4τ98.2%
5τ99.3%

Five time constants are commonly treated as practical settling, although a specified engineering tolerance should determine the actual settling time.

3. RC Circuits

3.1 Series RC Charging Circuit

Consider a DC source Vs, resistor R, and initially uncharged capacitor C connected in series at t = 0. Kirchhoff’s voltage law gives

Vs = RiC + vC

Substituting iC = C dvC/dt yields

RC dvC/dt + vC = Vs

The time constant is

τRC = R C

The units are seconds because Ω × F = s. For an initially uncharged capacitor, vC(0^+) = 0, so

vC(t) = Vs[1 - e^(-t/(RC))]

The charging current is

iC(t) = Vs/R · e^(-t/(RC))

At the instant of connection, the uncharged capacitor behaves as a short circuit in the ideal model; therefore the initial current is Vs/R. At long times, the capacitor behaves as an open circuit, current approaches zero, and capacitor voltage approaches Vs.

For a capacitor with arbitrary initial voltage V0, the generalized result is

vC(t) = Vf + (V0 - Vf)e^(-t/(RC))

where Vf is the final capacitor voltage and R is the resistance seen by the capacitor after independent ideal voltage sources are replaced by shorts and independent ideal current sources by opens.

Worked Example 1: Capacitor Charging

A 12 V source charges a 100 μF capacitor through a 4.7 kΩ resistor. Find the time constant, capacitor voltage after 0.50 s, and initial current.

The time constant is

τ = RC = (4700 Ω)(100 × 10^(-6) F) = 0.470 s

The initial current is

iC(0^+) = Vs/R = 12/4700 = 2.55 mA

The voltage at 0.50 s is

vC(0.50) = 12[1 - e^(-0.50/0.470)] ≈ 12(1 - 0.345) = 7.86 V

The capacitor has therefore reached approximately 65.5% of its final voltage, consistent with a time slightly greater than one time constant.

3.2 RC Discharge

Suppose a capacitor initially has voltage V0 and is connected across a resistor with no independent source. KVL gives

RiC + vC = 0

Using the capacitor law produces

RC dvC/dt + vC = 0

The solution is

vC(t) = V0 e^(-t/(RC))

and the discharge current, with a reference direction consistent with the selected polarity, is

iC(t) = -V0/R · e^(-t/(RC))

The negative sign indicates that discharge current flows opposite to the assumed charging direction. The stored energy decays as

wC(t) = 1/2 C V02 e^(-2t/(RC))

Energy decreases twice as fast in exponent form because energy depends on voltage squared. In a real circuit, this energy is dissipated mainly as heat in the resistor.

4. RL Circuits

4.1 Current Growth in a Series RL Circuit

For a DC source Vs connected to a series resistor R and inductor L, KVL gives

Vs = RiL + L diL/dt

The RL time constant is

τRL = L/R

The units are seconds because H/Ω = s. If the inductor initially carries zero current, the current growth is

iL(t) = Vs/R [1 - e^(-t/(L/R))]

or equivalently

iL(t) = If[1 - e^(-t/τRL)]

where If = Vs/R is the final current. The inductor voltage is

vL(t) = Vs e^(-t/τRL)

Initially, the inductor behaves like an open circuit to a sudden DC current demand, so current is zero in the ideal zero-current initial condition and the entire source voltage appears across the inductor. At steady state, the inductor behaves as a short circuit and current is Vs/R.

For an arbitrary initial current I0 and final current If,

iL(t) = If + (I0 - If)e^(-t/τRL)

4.2 Inductor Current Decay

If a current-carrying inductor is connected to a resistance R without an independent source, its current is

iL(t) = I0 e^(-t/(L/R))

The inductor voltage is

vL(t) = -R I0 e^(-t/(L/R))

The polarity is such that the inductor attempts to maintain current in its original direction. This explains why opening an inductive circuit can produce a large voltage: forcing the current to change rapidly requires a large voltage according to vL = L di/dt.

Worked Example 2: Relay-Coil Current Growth

A relay coil is modeled as L = 0.20 H in series with R = 40 Ω and is connected to 24 V. Find the time constant, final current, and current after 10 ms, assuming zero initial current.

τ = L/R = 0.20/40 = 5.0 ms
If = Vs/R = 24/40 = 0.600 A

At 10 ms, which equals 2τ,

iL(10 ms) = 0.600[1 - e^(-2)] ≈ 0.600(0.8647) = 0.519 A

The relay coil current has reached approximately 86.5% of its final value. Whether the relay has operated depends on its pickup-current specification, not merely on the electrical time constant.

5. A Systematic Method for Switching Problems

A reliable procedure is more important than memorizing separate formulas.

  1. Identify the switching instant and circuit configuration before switching.
  2. Analyze the circuit for t < 0 and determine capacitor voltage or inductor current immediately before switching.
  3. Apply continuity: capacitor voltage and inductor current cannot jump under ordinary finite switching conditions.
  4. Analyze the circuit for t → ∞. Replace capacitors by open circuits and inductors by short circuits for DC steady-state analysis.
  5. Determine the time constant. For an RC circuit, use τ = Rth C. For an RL circuit, use τ = L/Rth, where Rth is the resistance seen by the storage element after independent sources are deactivated.
  6. Write the complete response using final value plus initial-to-final difference.
  7. Check limiting values: the expression must give the correct initial value at t = 0 and final value as t → ∞.

Thevenin resistance is often convenient. For a capacitor, replace the rest of the circuit by its Thevenin equivalent, Vth and Rth. Then the final voltage is generally Vth and the time constant is Rth C. Similar reasoning applies to an inductor using the resistance seen at its terminals.

6. Practical Applications

6.1 Relay and Solenoid Suppression

Relay and solenoid coils are inductive. When a transistor or switch disconnects the coil, the coil current cannot instantly become zero. If no alternate current path exists, the voltage can rise until it causes an arc, damages a transistor, or breaks down insulation.

A flyback diode connected across a DC coil provides a path for the decaying current. The diode clamps the reverse voltage to approximately its forward drop, greatly reducing switching stress. The limitation is slower current decay, because the relatively low clamp voltage produces a smaller magnitude of di/dt. A relay may therefore release more slowly.

A zener diode, diode-plus-zener network, resistor-capacitor snubber, or specialized transient suppressor can permit a higher clamp voltage. This gives faster release but increases switch voltage stress. Component selection must respect:

  • maximum switch voltage;
  • initial coil current;
  • suppressor pulse energy;
  • repetitive switching frequency;
  • required release time;
  • electromagnetic compatibility requirements.

6.2 Actuators and Electromagnetic Devices

Motor windings, solenoids, contactors, and electromagnetic brakes contain inductance. Their current does not immediately equal the value predicted by resistance alone. During energization, current growth affects force, heating, and mechanical response. The electrical time constant may interact with mechanical inertia, friction, magnetic saturation, and control-loop timing.

A simple RL model is useful for estimating current rise, but it becomes inaccurate when inductance varies with position or current. Iron-core devices may saturate, reducing incremental inductance and shortening the effective time constant. Mechanical motion can also create back electromotive force, which changes the circuit equation.

6.3 Capacitive Inrush and Power-Supply Protection

The input capacitor of a DC power supply may initially be uncharged. At connection, it can draw a large inrush current limited by source impedance, wiring resistance, switch resistance, and any intentional current-limiting component. This can weld contacts, trip a protective device, or stress rectifiers.

Common remedies include an NTC thermistor, pre-charge resistor bypassed by a relay, active current limiting, or controlled switching. The design must balance charging time, steady-state loss, thermal stress, and fault behavior.

6.4 RC Timing and Filtering

An RC network can provide a delay or low-pass filtering. For a step input, the capacitor voltage changes gradually according to the exponential response. A threshold circuit can interpret a selected voltage as a timing event. However, component tolerance, leakage, temperature coefficient, source resistance, and threshold variation limit timing accuracy.

For a first-order low-pass network, the characteristic break frequency is

fc = 1/(2πRC)

where fc is in hertz. This frequency-domain result and the time-domain constant τ = RC describe the same circuit from different perspectives. The simple filter model assumes linear components and negligible loading by the following circuit.

7. Detailed Applied Case: Suppressing a 24 V Relay Coil

Background

An industrial controller uses a transistor to energize a 24 V relay. The relay coil has a DC resistance of 48 Ω and an inductance of 0.30 H. The transistor is rated for 60 V, while the controller requires relay release within 20 ms.

Problem

When the transistor opens, the coil current attempts to continue. Without suppression, the voltage may exceed the transistor rating. A basic flyback diode protects the transistor but may make release too slow.

Analysis

The steady coil current before turn-off is

I0 = 24/48 = 0.500 A

The coil time constant based on its resistance is

τ = L/R = 0.30/48 = 6.25 ms

If a diode clamp produces an approximately 1 V reverse coil voltage, the initial current slope is approximately

di/dt = vL/L ≈ -1/0.30 = -3.33 A/s

The current decay is therefore relatively slow. A more exact model includes the coil resistance and diode voltage, but the low clamp voltage clearly reduces the rate of decay.

Suppose instead that a zener network limits the coil voltage to approximately 36 V in the reverse direction. The transistor sees a voltage of roughly 36 V, below its 60 V rating, with suitable allowance for tolerances and wiring overshoot. The magnitude of the initial current slope is approximately

|di/dt| ≈ 36/0.30 = 120 A/s

This is much faster than with a simple diode. The suppressor must absorb the coil’s stored energy:

wL = 1/2 Li2 = 1/2(0.30)(0.500)2 = 0.0375 J

The suppressor is not selected only by this single energy value; repetitive operation requires a pulse-power and average-power assessment.

Approach and Solution

A zener or TVS suppressor rated for the expected pulse current and energy is selected. Its maximum clamping voltage, including tolerance and dynamic resistance, is verified to remain below the transistor’s allowed voltage. The relay release time is then measured rather than inferred solely from the ideal model.

A diode would be preferable if maximum protection and slow release were acceptable. The zener solution is preferable when faster release is important and the switch has adequate voltage margin.

Outcome

The design illustrates a central engineering trade-off: lower clamp voltage reduces switch stress but prolongs current decay; higher clamp voltage accelerates release but increases switch stress. Verification should include oscilloscope measurement of coil voltage, current, switch temperature, and relay release time.

Learning Points

  1. Inductor current continuity creates the turn-off transient.
  2. Stored energy determines the minimum energy-handling requirement of the suppressor.
  3. The clamp voltage controls the current decay rate.
  4. Ideal equations must be checked against component tolerances and parasitic effects.
  5. Protection design is a system-level trade-off, not merely a choice of a diode.

8. Nonidealities, Limitations, and Safety

Real capacitors have equivalent series resistance (ESR), leakage current, dielectric absorption, voltage limits, and frequency-dependent capacitance. Real inductors have winding resistance, core losses, parasitic capacitance, saturation, and a maximum current rating. These effects can alter both the time constant and the final value.

Switches bounce mechanically, producing repeated transient events. Semiconductor switches have finite turn-on and turn-off times, output capacitance, and voltage-dependent losses. Wiring inductance can add unexpected voltage spikes, while stray capacitance can couple fast transients into signal circuits.

Safety is important because stored energy can remain after a supply is disconnected. Capacitors should be discharged through a properly rated resistor rather than shorted directly. The resistor must tolerate the initial pulse energy and the resulting voltage. Inductive circuits should never be opened without an appropriate current path unless the switching device and insulation are specifically designed for the resulting voltage.

Transient suppression must also account for failure modes. A suppressor that fails short may disable equipment; one that fails open may leave the switch unprotected. Industrial designs should consider standards, isolation, creepage and clearance, protective earthing, electromagnetic compatibility, and documented verification testing.

9. Contemporary Engineering Practice

Modern controllers increasingly use microcontrollers and power electronics to shape transient behavior actively. Pulse-width modulation, soft-start controllers, active clamp circuits, and current-mode control can reduce stress compared with simple passive switching. Simulation tools are useful for exploring parameter sensitivity, but models must include parasitic resistance, nonlinear inductance, switch behavior, and realistic component tolerances when safety or reliability is involved.

AI-based design tools may assist with parameter sweeps, fault classification, or predictive maintenance, but they do not replace physical verification. A trained engineer must validate model assumptions, check worst-case energy and voltage, and ensure that protection remains effective under component aging and abnormal operation.

Chapter Summary

Capacitors store energy in electric fields and obey i = C dv/dt, so their voltage is continuous during ordinary finite switching. Inductors store energy in magnetic fields and obey v = L di/dt, so their current is continuous. Their stored energies are wC = 1/2 Cv2 and wL = 1/2 Li2.

First-order transient responses have the universal form x(t) = x(∞) + [x(0^+) - x(∞)]e^(-t/τ). For RC circuits, τ = RC; for RL circuits, τ = L/R. Initial conditions come from continuity, final conditions come from DC steady-state analysis, and the resistance seen by the storage element determines the time constant.

These principles explain capacitor charging, discharge, inductor current growth and decay, relay operation, actuator behavior, capacitive inrush, and inductive switching spikes. Practical design must include ESR, leakage, saturation, switch limits, tolerances, energy ratings, electromagnetic compatibility, and safe discharge or suppression paths.

Key Terms

Capacitor: A component that stores energy in an electric field.

Inductor: A component that stores energy in a magnetic field.

Transient: Temporary circuit behavior following a change in circuit conditions.

Steady state: Circuit behavior after transient effects have effectively settled.

Capacitance: Charge stored per unit voltage, measured in farads.

Inductance: Flux-linkage change per unit current, measured in henries.

Time constant: A parameter describing the exponential speed of a first-order response.

RC circuit: A circuit whose transient behavior is governed by resistance and capacitance.

RL circuit: A circuit whose transient behavior is governed by resistance and inductance.

Continuity condition: The rule that capacitor voltage or inductor current cannot change instantaneously under ordinary finite excitation.

Inrush current: A temporarily large current drawn when a circuit or capacitor is energized.

Flyback diode: A diode providing a current path when an inductive load is switched off.

Suppressor: A component or network that limits transient voltage.

Thevenin resistance: The equivalent resistance seen by an energy-storage element.

ESR: Equivalent series resistance of a practical capacitor or other component.

Saturation: Nonlinear reduction in effective inductance when a magnetic core approaches its flux limit.

Stored energy: Energy held in the electric or magnetic field of a component.

Snubber: An RC, RCD, or related network used to control switching transients.

Review Questions

Short Answer Questions

  1. Why can capacitor voltage not change instantaneously in an ordinary circuit?
  2. State the energy formulas for a capacitor and an inductor.
  3. Define the RC and RL time constants.
  4. What are the ideal DC steady-state models of a capacitor and an inductor?
  5. Why is a flyback diode connected across a relay coil?

Long Answer Questions

  1. Derive the charging voltage and current equations for a series RC circuit connected to a DC source.
  2. Explain the physical meaning of the RL time constant and derive the current-growth equation.
  3. Describe a systematic method for solving a switched first-order circuit.
  4. Compare a flyback diode and a zener clamp for relay-coil suppression.
  5. Discuss the effects of ESR, leakage, saturation, and switch nonideality on transient predictions.

Analytical / Application Questions

  1. A 5 V source charges a 10 μF capacitor through a 2 kΩ resistor. Calculate the time constant, initial current, and capacitor voltage after one time constant.
  2. A 12 V supply drives a 6 Ω resistor in series with a 30 mH inductor. Determine the final current and current after 2 ms, assuming zero initial current.
  3. A solenoid stores 0.08 J immediately before turn-off. Explain the minimum energy consideration for its suppressor and analyze the trade-off between a low-voltage diode clamp and a higher-voltage TVS clamp.

Multiple Choice Questions with Answers

Question 1

Which quantity is continuous through an ideal capacitor during an ordinary switching transient?

A. Current

B. Voltage

C. Power

D. Resistance

Correct Answer: B. Voltage

Question 2

A 10 kΩ resistor is connected to a 100 μF capacitor. What is the RC time constant?

A. 0.001 s

B. 0.1 s

C. 1 s

D. 10 s

Correct Answer: C. 1 s

Question 3

An initially uncharged capacitor in a series RC charging circuit behaves immediately after connection approximately as a:

A. Short circuit

B. Open circuit

C. Constant-current source

D. Zener diode

Correct Answer: A. Short circuit

Question 4

The energy stored in an inductor is given by which expression?

A. LI

B. 1/2 Li2

C. 1/2 Cv2

D. V2/R

Correct Answer: B. 1/2 Li2

Question 5

An RL circuit has L = 0.20 H and R = 40 Ω. Its time constant is:

A. 0.005 s

B. 0.05 s

C. 8 s

D. 200 s

Correct Answer: A. 0.005 s

Question 6

After one time constant in a charging first-order circuit, approximately what percentage of the total change has occurred?

A. 36.8%

B. 50.0%

C. 63.2%

D. 99.3%

Correct Answer: C. 63.2%

Question 7

Why can opening a relay-coil circuit produce a high voltage?

A. The coil capacitance forces current to zero instantly

B. The inductor resists an abrupt change in current

C. The resistor becomes superconducting

D. The supply voltage automatically doubles

Correct Answer: B. The inductor resists an abrupt change in current

Question 8

A capacitor has C = 20 μF and voltage V = 10 V. Its stored energy is:

A. 0.0001 J

B. 0.001 J

C. 0.01 J

D. 1 J

Correct Answer: B. 0.001 J

Question 9

What is the principal effect of using a simple flyback diode across a DC relay coil?

A. It increases the coil supply voltage

B. It provides a path for decaying coil current and reduces voltage stress

C. It eliminates the coil resistance

D. It makes inductance zero

Correct Answer: B. It provides a path for decaying coil current and reduces voltage stress

Question 10

For a first-order response, the value at five time constants is approximately:

A. 36.8% of the final value

B. 63.2% of the final value

C. 86.5% of the final value

D. 99.3% of the final value

Correct Answer: D. 99.3% of the final value

Basic Electrical & Electronics Engineering
Chapter 3 of 15