A1021 of 28
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A10 · Lesson 21 · Solving circuits with Laplace

Switching problems as algebra, initial conditions included

A8 solved switching problems by writing a differential equation, guessing the form of the solution, and fitting the constants to the starting values. Laplace does all of that in one pass. Every capacitor and inductor becomes an impedance in s, the initial charge or current becomes a small extra source, and the whole circuit is solved like a resistor network. What's left is a fraction to break into pieces and look up in the table.

Play

  • A 5 V step drives a series RLC circuit (L = 10 mH, C = 10 µF). The scope shows the input and the capacitor's voltage.
  • Change R. Find the value where the ringing just disappears; compare it with 2L/C.
  • The lesson below finds this curve by hand with Laplace. Keep the sim open to check each step.

Predict

In the Laplace domain, a capacitor that starts charged to v0 behaves like what?

Name it

The method

  1. Transform the circuit. Resistors stay R. A capacitor becomes 1sC with a series source v0s; an inductor becomes sL with a series source Li0. A step source V becomes Vs.
  2. Solve it like a resistor circuit: dividers, KVL, node equations, all with algebra in s.
  3. Break the answer into partial fractions, simple terms that are in the table.
  4. Transform back term by term.

A worked example: RC charging. A capacitor at v0 is connected through R to a source Vs. In the s domain, the loop current is I=Vs/s−v0/sR+1/sC, and the capacitor's voltage is

V(s)=v0s+IsC=v0s+Vs−v0s(1+sRC)

Partial fractions split the second piece: 1s(1+sτ)=1s−1s+1/τ with τ=RC. Transforming back:

v(t)=v0+(Vs−v0)(1−e−t/τ)=Vs+(v0−Vs)e−t/τ

the same answer as A8, with no guessing.

Partial fractions. For distinct poles, N(s)(s−p1)(s−p2)=As−p1+Bs−p2, and each coefficient comes from the cover-up rule: A is the rest of the fraction evaluated at s=p1. For example 1s(s+a) has A=1a at s=0 and B=−1a at s=−a. A complex pair is usually kept together and matched to the e−atcos⁡ωt and e−atsin⁡ωt entries.

The sim's circuit. For the series RLC with v(0)=0 and i(0)=0, the divider gives

VC(s)=5s⋅1/sCR+sL+1/sC=5s⋅ω02s2+2ζω0s+ω02

with ω0=1/LC=3162 rad/s and ζ=R2C/L, the poles of A8 lesson 18.

Shortcuts without transforming back. If the response settles, the final value theorem gives where it ends up: limt→∞⁡x(t)=lims→0⁡sX(s). The initial value theorem gives where it starts: x(0+)=lims→∞⁡sX(s). For the RLC, sVC(s)→5 as s→0: it settles at 5 V, as the scope shows.

Worked example

A 10 mH inductor, carrying no current, is switched onto 5 V through 50 Ω. Find i(t).

Show the solution
  1. Write the current in s. The step is 5/s and the impedance is 50+0.01s: I(s)=5/s50+0.01s=500s(s+5000)=0.1s−0.1s+5000
  2. Invert. i=0.1(1−e−5000t)A
  3. Read it. It rises to 100 mA with time constant L/R=0.2 ms.

Answer i(t)=0.1(1−e−5000t) A, rising to 100 mA with a 0.2 ms time constant.

Worked example

A 1 µF capacitor at 10 V is connected through 1 kΩ to a 5 V source. What is its voltage after 1 ms?

Show the solution
  1. Write the voltage in s. With τ=RC=1 ms, V(s)=10s+5−10s(1+sτ)
  2. Transform back. v=5+5e−t/τ
  3. At 1 ms. v=5+5e−1=6.84V

Answer 6.84 V after 1 ms.

Worked example

A 1 mA step drives a 10 kΩ resistor in parallel with 1 µF, starting from 0 V. What is the voltage after 10 ms?

Show the solution
  1. Write the voltage in s. V=I(s)Z(s)=10−3s⋅R1+sRC
  2. Invert. v=IR(1−e−t/RC) with IR = 10 V and RC = 10 ms.
  3. After 10 ms. v=10(1−e−1)=6.32V
  4. Where it settles. The current source charges the capacitor until the resistor takes all of the current, at 10 V.

Answer 6.32 V after 10 ms, on its way to 10 V.

Check

A response has X(s)=4s(s+2). Where does it settle?

Check

A response has X(s)=4s+1s2+3s+20. What is x(0+)?

Check

Split 1s(s+4) into As+Bs+4.

(a)

What is A?

(b)

What is B?

Check

What is x(t) at t = 0.5 s if X(s)=4s+2?

Check

A capacitor at 2 V charges through R toward 10 V, with τ = 2 ms. Using the Laplace result, what is its voltage at 2 ms?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

A 1 mA step drives 5 kΩ in parallel with 2 µF, from 0 V.

(a)

What does the voltage settle to?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

(b)

What is the voltage at 20 ms?

Check

A switch connects V through R to an inductor L (mH) at rest; t in ms.

Step 1

I(s)=Vs(R+sL). What is i(t)?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why do initial conditions appear as extra sources when a circuit is transformed to the s domain?

Practice

Keep practicing

9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.