This course climbs a ladder of methods, and each rung is used by the next. We start with units and sign conventions, move on to systematic network methods, and…
英語のナレーション・英語と中国語の字幕を切り替え可能
1.1
このコースについて、およびその使い方
English
This is the first course in University Electrical Engineering: direct-current circuit
analysis 直流电路分析. In a DC circuit the currents and voltages settle to steady
values. Batteries, sensors, logic supplies and the bias networks inside every amplifier
are DC circuits.
The units build on each other, so take them in order:
Units 1.1 and 1.2 need only algebra: quantities, sign conventions, Ohm's law and
Kirchhoff's laws.
Units 1.3 to 1.5 give systematic methods: node and mesh analysis, network theorems
and the ideal op-amp. They turn long circuits into short calculations.
Units 1.6 and 1.7 add the elements that store energy and the first transient
response 暂态响应. Here calculus starts to matter.
Each unit has the same shape. A short opening says why the topic matters. A picture or
a rule of thumb comes before any formula, and then the exact statement follows. Next come
worked examples that get harder step by step, each with a check at the end. The unit
closes with common mistakes and a short summary.
Every number in the examples can be checked a second way: by a different loop, an unused
node or a limiting case. Build that habit now. In later courses a check is often the
difference between catching an error and burning out a resistor.
A phone charger labelled "20 W" and a kettle labelled "2000 W" both move charge. Why is
the kettle a hundred times more powerful? To answer, you need the five quantities that
every circuit question uses, and one sign convention that keeps their signs correct.
A bench oscilloscope: voltage against time on a calibrated grid, read off as volts per division and seconds per division
Learn the quantities as a chain, not a list. Charge moves. Its rate of flow is current.
Current through a difference in potential transfers energy. The rate of that energy
transfer is power.
Charge 电荷$q$ is measured in coulombs 库仑 (C). One coulomb is about
$6.24 \times 10^{18}$ elementary charges. Charge is conserved 守恒: a circuit
never creates or destroys it; it only moves it.
Current 电流$i$ is the rate of flow of charge, in amperes 安培 (A):
$i = \dfrac{dq}{dt}$, so 1 A = 1 C/s.
Voltage 电压$v$ is energy per unit charge, in volts 伏特 (V):
1 V = 1 J/C. A voltage is always measured between two points. "5 V at a node"
means 5 V between that node and the reference (ground) node.
Power 功率$p$ is energy per unit time, in watts 瓦特 (W):
$p = vi$, and 1 W = 1 J/s.
Energy 能量$w$ is power added up over time, $w = \int p \, dt$, in joules焦耳 (J). Electricity meters measure the kilowatt-hour 千瓦时:
$1\ \text{kWh} = 3.6\ \text{MJ}$.
Deriving the power formula. Move a small charge $dq$ through a potential difference
$v$. The energy transferred is $dw = v \cdot dq$. Divide both sides by the time $dt$:
$p = \dfrac{dw}{dt} = v \cdot \dfrac{dq}{dt} = vi$. Power is voltage times current.
The passive sign convention 无源符号约定 removes all doubt about signs. Choose a
direction for the current through an element and a polarity ($+$ and $-$) for its
voltage. If the current arrow enters the $+$ terminal, then $p = vi$ is the power the
element absorbs. A positive result means the element takes in power; a negative
result means it supplies power. Getting this backwards is the most common cause of wrong
signs in the whole course.
Worked example 1 (power and energy). A 12 V battery drives a lamp that draws
0.25 A. The current arrow goes into the lamp's $+$ terminal.
Energy in 2 minutes: $w = pt = 3 \times 120 = 360 \text{ J}$.
Check with the battery. The same current arrow enters the battery's $-$ terminal, so
the battery's absorbed power is $-3$ W. It supplies exactly the 3 W that the lamp
takes, and the power balance closes.
Worked example 2 (the meter reads the wrong number). An ideal 12 V source feeds two
10 M$\Omega$ resistors in series, so each should have 6 V across it. You connect a
voltmeter with 10 M$\Omega$ input resistance across the lower resistor to check.
The meter is now a third 10 M$\Omega$ resistor, in parallel with the lower one.
The lower part becomes $10 \parallel 10 = 5$ M$\Omega$.
The meter reads $\dfrac{5}{10+5} \times 12 = 4 \text{ V}$, not 6 V. The check itself
changed the circuit.
Across the ideal source itself the meter would read 12 V correctly, because an ideal
source holds its voltage whatever is connected. Rule of thumb: a voltmeter's resistance
should be at least a hundred times the resistance it is connected across. An ammeter电流表 has the opposite problem. It sits in series, so any resistance it has takes some
of the voltage, and it reads a current that is too low.
Common mistakes.
Giving "the voltage at point A" without saying what the other point is. A voltage is
always between two points; name both.
Mixing units, such as minutes with watts or mA with k$\Omega$. Convert first. Then
the unit of the answer follows by itself ($\text{V}/\Omega = \text{A}$).
Trusting a meter without asking what resistance it adds.
Summary: five quantities form one chain (charge, current, voltage, energy, power).
Power is $vi$ under the passive sign convention. A meter must hardly change the circuit:
an ammeter in series should be nearly a short circuit, and a voltmeter in parallel
nearly an open circuit.
Two resistors meet at a node and share the current that arrives there. How much current
goes through each one? The answer needs two laws named after Kirchhoff. They are not new
physics. One says that charge does not pile up at a point. The other says that energy
is conserved around a loop. Both follow from unit 1.1.
Two resistors in parallel and their single equivalent resistor
Ohm's law 欧姆定律 describes a resistor 电阻: $v = Ri$, where $R$ is the
resistance in ohms 欧姆 ($\Omega$). Conductance 电导$G = \dfrac{1}{R}$, in
siemens (S), is sometimes easier to use. A resistor always absorbs power. Putting
$v = Ri$ into $p = vi$ gives three equal forms:
$p = vi = i^{2}R = \dfrac{v^{2}}{R}$. Use the one whose variables you already know.
Elements in series 串联 carry the same current, and their resistances add. Elements
in parallel 并联 have the same voltage, and their conductances add. Two resistors
in parallel combine as the product over the sum,
$R_{1} \parallel R_{2} = \dfrac{R_{1}R_{2}}{R_{1}+R_{2}}$. The result is always smaller
than either resistor.
Deriving the divider. Two resistors in series across a source voltage $v_{s}$ carry
one current, $i = \dfrac{v_{s}}{R_{1}+R_{2}}$. The voltage across $R_{2}$ is this
current times $R_{2}$:
$v_{2} = v_{s} \cdot \dfrac{R_{2}}{R_{1}+R_{2}}$. This is the voltage divider分压器. The same argument for two parallel resistors fed by a source current $i_{s}$
gives the current divider 分流器:
$i_{1} = i_{s} \cdot \dfrac{R_{2}}{R_{1}+R_{2}}$. Notice the swap: each branch takes a
share set by the other resistor, so the smaller resistor takes more current.
Kirchhoff's current law 基尔霍夫电流定律 (KCL) is conservation of charge. The
currents leaving any closed surface, each taken with its sign, add up to zero. A
node 节点 is a junction of two or more elements. All points joined by plain wire
form one node, however many branches meet there.
Kirchhoff's voltage law 基尔霍夫电压定律 (KVL) is conservation of energy. The
voltages around any closed loop 回路, each taken with its sign, add up to zero.
Walk around a loop and add the rises and drops. When you arrive back at the start you
are at the same potential, so the total must be zero: you cannot gain energy by walking
in a circle.
Worked example 1 (divider, checked two ways). A 9 V source feeds $R_{1} = 6$
k$\Omega$ in series with $R_{2} = 3$ k$\Omega$.
Voltage on $R_{2}$: $v_{2} = 1 \text{ mA} \times 3 \text{ k}\Omega = 3 \text{ V}$.
The divider formula gives the same: $9 \times \dfrac{3}{9} = 3$ V.
Check by KVL around the loop: $-9 + 6 + 3 = 0$.
Check by power: the source gives $9 \times 1 \text{ mA} = 9$ mW, and the resistors
take $6 + 3 = 9$ mW.
Worked example 2 (current divider, then KCL at a node). A 2 A current source feeds
6 $\Omega$ in parallel with 3 $\Omega$.
The parallel pair is $\dfrac{6 \times 3}{9} = 2\ \Omega$, so both resistors have
$2 \times 2 = 4$ V across them.
Currents: $\dfrac{4}{6} = 0.667$ A and $\dfrac{4}{3} = 1.333$ A. The divider formula
gives the same shares.
KCL check: $0.667 + 1.333 = 2$ A, the source current.
Now go further. The two branch currents join again at the bottom node, and the
source takes its 2 A back from that node. Suppose 0.5 A also arrives at the bottom
node from another part of the circuit, and one more wire carries current $i_{4}$ away.
KCL, currents leaving:
$-0.667 - 1.333 - 0.5 + 2 + i_{4} = 0$, so $i_{4} = 0.5$ A. The extra 0.5 A cannot
stay at the node, so it leaves on the new wire. If you forget the source branch, you
get 2.5 A, which is wrong: count every branch that touches the node.
Common mistakes.
Drawing some arrows in and some out, then adding the sizes. Write "sum of currents
leaving = 0" and let the signs do the work.
Treating two separate pieces of wire as one node. They are one node only if they are
connected.
A parallel combination that comes out bigger than a resistor in it. It is always
smaller than the smallest one.
Summary: Ohm's law and the two conservation laws solve every DC resistor circuit.
Derive the dividers from them instead of memorising. Label every arrow first, then trust
the algebra: a negative answer tells you the real direction; it is not a mistake.
探索
Change the reference, keep the physical flow
$\sum i_{out}=0$
The fourth branch follows from conservation of charge. Reversing a positive reference arrow changes the reported number and its coefficient together, while the physical currents and the outward KCL sum stay unchanged.
You can solve a circuit with four nodes and six branches by clever guessing, once. But
the same kind of circuit appears again and again in design work, so the guessing must
become a method that even a computer can follow. There are two such methods. Both end
in a few simultaneous equations.
Guess a direction for each current; a negative answer means the real current flows the other way
Nodal analysis 节点法 uses KCL. Choose one reference node 参考节点 (ground,
0 V). If the circuit has $n$ nodes, label the other $n-1$ node voltages. Write one KCL
equation for each unknown node, with each branch current written as a voltage difference
divided by a resistance. Circuit simulators such as SPICE solve exactly these
equations, often millions of them.
Mesh analysis 网孔法 uses KVL. Give each window of a planar circuit (one drawn with
no crossing wires) a circulating mesh current 网孔电流, and write one KVL equation
for each mesh. A resistor shared by two meshes carries the difference of their two
mesh currents. Choose the method that gives fewer equations. A voltage source fixes the
difference between two node voltages, so it makes nodal analysis easier. A current
source fixes a branch current, so it makes mesh analysis easier.
Deriving the nodal equation. Take a node $A$ with voltage $V_{A}$. A resistor
$R_{1}$ joins it to a source node at voltage $V_{s}$, and $R_{2}$ joins it to ground.
KCL, with all currents leaving $A$:
$\dfrac{V_{A}-V_{s}}{R_{1}} + \dfrac{V_{A}-0}{R_{2}} = 0$. The equation is always
linear in the node voltages. Every nodal analysis repeats this step, once per node.
Worked example 1 (one unknown node). A 12 V source connects through 2 $\Omega$ to
node $A$. From $A$, a 6 $\Omega$ resistor goes to ground, and a 1 A current source
pushes current into $A$. KCL at $A$, currents leaving:
$$\frac{V_A - 12}{2} + \frac{V_A}{6} - 1 = 0$$
Multiply by 6: $3(V_{A} - 12) + V_{A} - 6 = 0$.
So $4V_{A} = 42$ and $V_{A} = 10.5$ V.
Check by a route the equation did not use. The 12 V source sends
$\dfrac{12 - 10.5}{2} = 0.75$ A into $A$, and the current source adds 1 A. The
6 $\Omega$ resistor should therefore carry $0.75 + 1 = 1.75$ A, and indeed
$\dfrac{10.5}{6} = 1.75$ A.
Worked example 2 (two meshes, shared resistor). Mesh A has a 12 V source (a rise
in the clockwise direction) and a 2 $\Omega$ resistor. Mesh B has a 6 $\Omega$ resistor
and a 3 V source that opposes the clockwise direction. The meshes share a 4 $\Omega$
resistor. With clockwise mesh currents $i_{A}$ and $i_{B}$, KVL gives:
The shared resistor carries $i_{A}-i_{B} = 1.773$ A, in mesh A's direction.
Check: put both values back into each original equation. Both give zero to within
rounding.
Common mistakes.
Forgetting that a shared resistor carries the difference of two mesh currents.
Choosing a method without counting the equations first.
Thinking the reference node must be a source's negative terminal. Any node can be the
reference, although choosing one end of a voltage source often makes the equations
simpler.
Summary: nodal analysis writes KCL at each unknown node (the method simulators use).
Mesh analysis writes KVL around each window. A shared element carries a difference of
mesh currents. Count the equations, then choose.
You replace a sensor board and the lamp it feeds gets slightly brighter. What did the
board look like to the lamp? Not its full circuit diagram, just one source and one
resistance. Three theorems make that replacement exact. They all say the same thing: at
two terminals, a linear network behaves like a very simple one.
Thévenin's theorem 戴维南定理: any linear two-terminal network of sources and
resistors behaves, at its terminals, like one voltage source $V_{th}$ in series with
one resistance $R_{th}$. $V_{th}$ is the open-circuit voltage 开路电压, measured
with nothing connected. $R_{th}$ is the resistance seen at the terminals with independent
sources set to zero (independent voltage sources replaced by shorts, independent
current sources by open circuits). Keep dependent sources active and use a test
source when needed.
Norton's theorem 诺顿定理 gives the same network as a current source
$I_{N} = \dfrac{V_{th}}{R_{th}}$ in parallel with $R_{th}$. Changing between the two
forms is a source transformation 电源变换. Use whichever form makes the
arithmetic easier.
Superposition 叠加定理: in a linear circuit with several independent sources, the
response is the sum of the responses to each source acting alone, with the others set
to zero. It is a way of calculating, not a property of any one part.
Deriving maximum power transfer. A Thévenin source ($V_{th}$, $R_{th}$) feeds a
load resistance $R_{L}$. The load power is
$P = \left(\dfrac{V_{th}}{R_{th}+R_{L}}\right)^{2} R_{L}$. Differentiate with respect
to $R_{L}$ and set the result to zero. The maximum is at $R_{L} = R_{th}$, where
$P_{max} = \dfrac{V_{th}^{2}}{4R_{th}}$. At that point the source resistance uses
exactly as much power as the load receives, so the efficiency is only 50%.
Maximum power transfer 最大功率传输 is a rule for signals, not for energy.
Audio and radio systems match resistances (impedances) to keep weak signals as strong as
possible. Power grids never do this, because 50% efficiency would double every bill.
Note also that a Thévenin equivalent does not keep the internal losses of the real
network; to find the real efficiency, calculate it from the actual sources.
Worked example 1 (find the equivalent, then load it). A 10 V source in series with
4 $\Omega$ is connected across a 6 $\Omega$ resistor. Find the equivalent seen by a
load connected across the 6 $\Omega$ resistor.
$V_{th}$: with no load, the terminals are a divider:
$V_{th} = 10 \times \dfrac{6}{10} = 6$ V.
$R_{th}$: short the source; 4 $\Omega$ is then in parallel with 6 $\Omega$:
$R_{th} = \dfrac{4 \times 6}{10} = 2.4\ \Omega$.
Load with $R_{L} = R_{th} = 2.4\ \Omega$: the current is
$\dfrac{6}{2.4+2.4} = 1.25$ A, and the load power is $1.25^{2} \times 2.4 = 3.75$ W.
Check with the formula: $\dfrac{V_{th}^{2}}{4R_{th}} = \dfrac{36}{9.6} = 3.75$ W.
Maximum power at R_L = R_th, where the efficiency is only 50%
Worked example 2 (superposition, then a direct check). A 12 V source feeds node
$A$ through 2 $\Omega$. A 3 A current source also pushes current into $A$, and a
4 $\Omega$ resistor joins $A$ to ground.
12 V source alone (current source replaced by an open circuit): a divider of 2 and
4 $\Omega$ gives $V_{A1} = 12 \times \dfrac{4}{6} = 8$ V.
3 A source alone (voltage source replaced by a short): the source sees
$2 \parallel 4 = 1.333\ \Omega$, so $V_{A2} = 3 \times 1.333 = 4$ V.
Add: $V_{A} = 8 + 4 = 12$ V.
Check with one nodal equation: $\dfrac{V_{A}-12}{2} + \dfrac{V_{A}}{4} - 3 = 0$ gives
$V_{A} = 12$ V. The two methods agree exactly.
Common mistakes.
Finding $R_{th}$ with the independent sources still switched on. Set them to zero
first: short the voltage sources and open the current sources. Keep any dependent
sources, and use a test source at the terminals when there are some.
Using superposition on power. It works for voltages and currents, which are
linear, but not for their squares. Add the currents first, then find the power.
Thinking the 50%-efficiency point is a good target for delivering power.
Summary: two measurements ($V_{th}$ open-circuit, $R_{th}$ with sources at zero) turn
any linear two-terminal network into a source and a resistor. Change between the series
and parallel forms freely. Add responses, never powers. Match resistances for the most
signal power, not for efficiency.
The 10 V, 4 Ω and 6 Ω network becomes 6 V in series with 2.4 Ω. At a matched load both deliver 3.75 W, but only the series-resistance equivalent has 50% efficiency. Change the load and compare the terminal and internal power accounts.
A microphone produces 10 mV, but a speaker needs 2 V. Something must multiply the
signal by 200, and the factor must be set exactly. That something is the operational
amplifier. This unit is about one idea: feedback makes a device with an enormous,
unreliable gain behave like an exact amplifier with a modest gain.
An operational amplifier 运算放大器 (op-amp) is a differential voltage amplifier
with a very large gain. It is drawn as a triangle with a $+$ input, a $-$ input and one
output. Real op-amps have a limited gain-bandwidth product 增益带宽积 and small
input currents. The ideal op-amp 理想运算放大器 model used for analysis assumes
infinite open-loop gain (the gain with no feedback), infinite input resistance and zero
output resistance.
Why the golden rules follow from feedback. With negative feedback 负反馈, a
path from the output back to the $-$ input, the output moves until the difference
between the inputs is almost zero. With a gain above $10^{5}$, an output of a few volts
needs an input difference of only microvolts, which we can treat as zero. So two
golden rules 黄金法则 hold:
No current flows into either input (infinite input resistance).
The two inputs are at the same voltage. This is a virtual short 虚短路: the
inputs have equal voltages without being connected.
Deriving the inverting gain. The most used circuit is the inverting amplifier反相放大器. The input voltage $v_{in}$ goes through $R_{in}$ to the $-$ node, a feedback
resistor $R_{f}$ joins the output to the same node, and the $+$ input is grounded. Rule
2 holds the $-$ node at 0 V, a virtual ground 虚地. Rule 1 says the input current
$\dfrac{v_{in}}{R_{in}}$ cannot enter the op-amp, so all of it flows on through $R_{f}$:
Two resistors set the gain; the op-amp's own huge gain does not appear in the answer.
The non-inverting amplifier 同相放大器 puts the signal on the $+$ input and a divider
($R_{f}$ and $R_{in}$) on the $-$ input. Its gain is
$\dfrac{v_{out}}{v_{in}} = 1 + \dfrac{R_{f}}{R_{in}}$, which is never less than 1. With
a gain of exactly 1 it is a voltage follower 电压跟随器, used as a buffer.
Worked example 1 (inverting stage, every current found).$R_{in} = 10$ k$\Omega$,
$R_{f} = 100$ k$\Omega$, $v_{in} = +0.2$ V.
Gain: $-\dfrac{100}{10} = -10$, so $v_{out} = -2$ V. This is well inside $\pm 15$ V
supplies.
Input current: $\dfrac{0.2}{10\ \text{k}\Omega} = 20\ \mu\text{A}$. It flows through
$R_{f}$ into the output; the ideal input takes none.
Check at the virtual ground: the $-$ node is at 0 V, so the voltage across $R_{f}$ is
$0 - (-2) = 2$ V, and $20\ \mu\text{A} \times 100$ k$\Omega$ = 2 V.
Worked example 2 (a mixer, and the saturation trap). Give the inverting stage two
inputs, $R_{1} = R_{2} = 10$ k$\Omega$, with the same $R_{f} = 100$ k$\Omega$. The
virtual ground collects both input currents, so
$v_{out} = -\left(\dfrac{R_f}{R_1}v_{1} + \dfrac{R_f}{R_2}v_{2}\right)$. This is a
summing amplifier 求和放大器.
With $v_{1} = 0.2$ V and $v_{2} = -0.05$ V:
$v_{out} = -(10 \times 0.2 + 10 \times (-0.05)) = -(2 - 0.5) = -1.5$ V.
Now change $R_{f}$ to 1 M$\Omega$, a gain of $-100$ for each input. The formula asks
for $-(100 \times 0.2 + 100 \times (-0.05)) = -15$ V.
Saturation 饱和 stops this. The output cannot go past its supply voltages.
Assume that this op-amp on $\pm 15$ V has a negative output limit of $-13.5$ V;
then its output is $-13.5$ V. The golden rules no longer apply, because the output
can no longer hold the inputs equal. Report the limited output, not the impossible value.
The virtual ground adds the two input currents
Common mistakes.
Forgetting the minus sign of the inverting stage, or removing it to "correct" it.
Using rule 2 when there is no negative feedback. Without feedback there is no virtual
short.
Reporting an output beyond the supply voltages.
Summary: feedback controls the huge gain and gives the two golden rules. They give a gain
of $-\dfrac{R_{f}}{R_{in}}$ for the inverting stage and $1 + \dfrac{R_{f}}{R_{in}}$ for
the non-inverting stage. The virtual ground makes mixers possible. Saturation is a real
state of the output, not a rounding error.
探索
Feedback equality and output limits
$i_+=i_-=0$
Compare the inverting, non-inverting and summing examples. Beyond the stated output limit, the linear request is unattainable and the two input nodes no longer agree, even though neither draws current.
A phone's camera flash collects energy slowly and releases it in about a millisecond. No
arrangement of resistors can do that, because resistors only turn energy into heat. The
two new elements in this unit store energy. That one change makes circuits change
with time, and it is why this course needs calculus.
A network is reduced one step at a time: combine the parallel pair first, then the series pairElectrolytic capacitors on a circuit board: capacitance stores energy as U = ½CV²
A capacitor 电容器 stores separated charge: two plates with an insulator between
them and an electric field across it. Its capacitance 电容$C$, in farads 法拉
(F), is the charge stored per volt: $q = Cv$. Differentiate with respect to time, and
the current is $C$ times the rate of change of voltage:
$$i = C \frac{dv}{dt}$$
So a capacitor carries current only while its voltage is changing. To steady DC it is
an open circuit. Integrating the power $vi$ gives the stored energy
$w = \frac{1}{2}Cv^{2}$. It depends only on the present voltage, not on how the
capacitor reached it.
An inductor 电感器 stores energy in the magnetic field around a coil. Its
inductance 电感$L$, in henrys 亨利 (H), gives the matching law:
$$v = L \frac{di}{dt}$$
So an inductor has a voltage across it only while its current is changing. To steady DC
it is a short circuit. Its stored energy is $w = \frac{1}{2}Li^{2}$.
Why the combinations mirror the resistor rules. Capacitors in parallel have the same
voltage, so their charges add: $C_{eq} = C_{1}+C_{2}$ (like adding plate area).
Uncoupled inductors in series carry the same current, so their voltages add:
$L_{eq} = L_{1}+L_{2}$. Capacitors in series and inductors in parallel use the
reciprocal rule, $\dfrac{1}{C_{eq}} = \dfrac{1}{C_{1}} + \dfrac{1}{C_{2}}$. Inductors
follow the resistor rules; capacitors follow the opposite rules, because the capacitor
law has the roles of $v$ and $i$ swapped.
Worked example 1 (two energies).
A 100 µF capacitor charged to 12 V holds
$w = \frac{1}{2} \times 100\times10^{-6} \times 12^{2} = 7.2$ mJ.
A 10 mH inductor carrying 2 A holds
$w = \frac{1}{2} \times 0.01 \times 2^{2} = 20$ mJ.
Both are small amounts of energy. But if the capacitor's 7.2 mJ is released in 1 ms,
the power is 7.2 W, and in 1 µs it would be 7.2 kW. The rate of release makes
stored energy dangerous, which is why large capacitors are discharged before anyone
touches them.
Worked example 2 (the slope law and combinations).
A 10 µF capacitor's voltage rises at 100 V/s. The current is
$i = C\dfrac{dv}{dt} = 10\times10^{-6} \times 100 = 1$ mA. It is constant, because
the slope is constant.
A 2 µF and a 3 µF capacitor in series: $\dfrac{2 \times 3}{5} = 1.2$ µF. In series
both hold the same charge, but the voltage is shared, so the charge per volt is
smaller. In parallel they give $2 + 3 = 5$ µF.
A 10 mH and a 20 mH inductor in series: 30 mH. In parallel:
$\dfrac{10 \times 20}{30} = 6.67$ mH.
⚠ The current in an inductor cannot change suddenly. If you open a switch in an
inductor's path, $\dfrac{di}{dt}$ becomes very large, and the voltage $L\dfrac{di}{dt}$
can make a spark jump across the opening contacts. This is real: old car ignition coils
made their spark this way.
Common mistakes.
Putting the wrong quantity into $w = \frac{1}{2}Cv^{2}$. Check the units: farads
times volts squared gives joules.
Adding parallel capacitances as reciprocals. That is the series rule.
Saying a capacitor "blocks" all DC at once. It blocks steady DC; while its voltage
is changing, it carries current.
Summary: a capacitor holds its voltage and an inductor holds its current;
$i = C\dfrac{dv}{dt}$ and $v = L\dfrac{di}{dt}$. Their energies are $\frac{1}{2}Cv^{2}$
and $\frac{1}{2}Li^{2}$. Inductors combine like resistors and capacitors the opposite
way. Never break an inductor's current path suddenly.
A 100 µF capacitor at 12 V stores 7.2 mJ. Reverse the voltage or double its magnitude, compare the inductor case, and distinguish stored energy from the hypothetical average power E/Δt.
Press a button and a light fades up over a second, or a sensor reading moves to its new
value over a few milliseconds. When a switch changes a circuit that holds stored
energy, the stored quantity cannot jump. It moves smoothly to its new steady value. A
circuit with one storage element is first order, and every such circuit has the
same shape of answer. Learn the shape once.
A capacitor charges through switch A, then discharges through the resistor via switch BA real circuit on a breadboard: a resistor and capacitor together set how fast the voltage rises and falls
The natural response 自然响应 is the decay from a starting state after the source
is removed. The step response 阶跃响应 is the move from a starting value $V_{0}$ to
a new final value $V_{F}$ set by the source. For a capacitor voltage:
$$v(t) = V_F + (V_0 - V_F)\,e^{-t/\tau}$$
Deriving it. After the switch, a capacitor $C$ discharges through a resistor $R$.
KCL at the top node gives $C\dfrac{dv}{dt} + \dfrac{v}{R} = 0$. Separate the variables:
$\dfrac{dv}{v} = -\dfrac{dt}{RC}$. Integrate: $\ln v = -\dfrac{t}{RC} + \text{const}$,
so $v = V_{0}e^{-t/RC}$. This is an exponential with time constant 时间常数$\tau = RC$. With a source present, the equation also has a constant solution $V_{F}$.
The full answer is that constant plus a decaying difference, so the voltage always
moves exponentially to the new value. For an inductor and a resistor (RL), the same
working gives $\tau = \dfrac{L}{R}$.
At $t = \tau$ the remaining gap is 37% of its starting size. After $5\tau$ it is below
1%, and engineers treat the circuit as settled. The starting value $V_{0}$ comes from
the stored energy: a capacitor's voltage and an inductor's current cannot jump. The
final value $V_{F}$ comes from the circuit after the switch, with a capacitor treated as
an open circuit and an inductor as a short circuit.
Worked example 1 (RC discharge). A 100 µF capacitor charged to 12 V discharges
through 10 k$\Omega$.
$\tau = RC = 10\,000 \times 100\times10^{-6} = 1$ s, so $v(t) = 12e^{-t}$ volts
($t$ in seconds).
After 2 s: $v = 12 \times e^{-2} = 1.62$ V.
After 5 s ($5\tau$): $v = 12e^{-5} = 0.08$ V, so it has settled.
Check the energy: by then almost all of the starting 7.2 mJ has been turned into
heat in the resistor.
Worked example 2 (charging between two non-zero values). The same RC circuit. The
switch moves the resistor from a 2 V supply to a 9 V supply, and the capacitor is
already at 2 V.
$V_{0} = 2$ V and $V_{F} = 9$ V, so $v(t) = 9 + (2-9)e^{-t} = 9 - 7e^{-t}$ volts.
At $t = 1$ s ($= \tau$): $v = 9 - 7 \times 0.368 = 6.42$ V. The 7 V gap has closed by
63.2%, which is what one time constant means.
Check both ends: $v(0) = 2$ V, and $v(5) = 9 - 0.047 \approx 9$ V.
Worked example 3 (the RL version). A 20 mH inductor in series with 100 $\Omega$ is
switched onto a 10 V supply, with no starting current.
Final current: $I_{F} = \dfrac{10}{100} = 0.1$ A, so
$i(t) = 0.1(1 - e^{-t/0.2\text{ ms}})$ amperes.
At $t = 0.6$ ms (three time constants): $i = 0.1(1 - e^{-3}) = 0.095$ A, which is
95% of the final value. It is the same shape as the capacitor voltage: one law for
both elements.
Method for every switching problem:
Find $V_{0}$ from the circuit before the switch.
Find $V_{F}$ from the circuit after the switch.
Find $\tau$ from the circuit after the switch, using the resistance the storage
element sees with the sources set to zero.
Write the one-line answer and check it at both ends ($t = 0$ and large $t$).
Common mistakes.
Taking $V_{F}$ from the old circuit or $V_{0}$ from the new one. The two values come
from different moments on purpose.
Finding $\tau$ with the source still active. Set the source to zero to see the real
resistance the storage element faces.
Thinking $5\tau$ is a law of physics. It is an engineering convention for "within 1%".
Summary: one storage element gives one exponential. $V_{0}$ comes from continuity,
$V_{F}$ from the final circuit, and $\tau$ from the resistance with sources at zero:
$\tau = RC$ or $\dfrac{L}{R}$. After $5\tau$ the circuit has settled for practical
purposes. Check every answer at both ends.
探索
One exponential, two storage elements
$x(t)=x_F+(x_0-x_F)e^{-t/\tau}$
A capacitor initially at 2 V approaches a new 9 V source and reaches 6.42 V after one time constant. Compare discharge and RL current growth, then change resistance to see how RC and L/R differ.