Circuit analysis models how electric fields move charge and store or dissipate energy. Voltage is electric potential difference, current is charge flow per unit time, and power is the rate of energy transfer:
V = I R
P = V IOhm’s law applies to a linear resistance, not to every component. Practical designs must also satisfy voltage, current, power, temperature, frequency, and transient ratings.
Resistance, Capacitance, and Inductance #
A resistor dissipates electrical energy as heat. Resistance is measured in ohms, while conductance is its reciprocal and is measured in siemens. Resistivity is a material property; a part’s resistance also depends on its geometry and temperature.
A capacitor stores energy in an electric field:
C = Q/V
i = C dv/dt
EC = C V²/2Capacitor voltage cannot change instantaneously in the ideal model because an
instantaneous change would require infinite current. In a series RC circuit,
voltage approaches its final DC value exponentially with time constant τ = RC.
Real capacitors add equivalent series resistance, leakage, dielectric absorption,
and voltage-dependent or temperature-dependent capacitance.
An inductor stores energy in a magnetic field:
v = L di/dt
EL = L I²/2Inductor current cannot change instantaneously in the ideal model. A series RL
circuit has time constant τ = L/R. Real inductors add winding resistance,
parasitic capacitance, core loss, and a saturation-current limit. Interrupting
inductive current can produce a large voltage, so coils and relays often need a
flyback diode or another clamp.
At sinusoidal angular frequency ω, impedance combines resistance and reactance:
ZR = R
ZC = 1/(jωC)
ZL = jωLMagnitude and phase therefore vary with frequency. At ideal DC steady state, a capacitor acts as an open circuit and an inductor as a short circuit; neither approximation describes startup or high-frequency behavior.
Kirchhoff’s current law balances currents at a node, while Kirchhoff’s voltage law balances potential changes around a loop. Thévenin and Norton equivalents reduce a linear two-terminal network to a source and impedance, which makes load and bias calculations easier.
Logic Levels, Pull Resistors, and Noise Margins #
Digital logic maps voltage ranges onto logical zero and one. A data sheet
specifies maximum input-low voltage VIL, minimum input-high voltage VIH,
maximum output-low voltage VOL, and minimum output-high voltage VOH. The
worst-case DC noise margins are:
low margin = VIL(max) - VOL(max)
high margin = VOH(min) - VIH(min)Supply variation, ground offset, crosstalk, termination, and edge rate reduce the available margin. Logic-family names such as TTL, LVTTL, CMOS, and SSTL do not guarantee electrical compatibility; compare the actual input, output, current, and timing specifications.
An undriven input has no guaranteed state. A pull-up or pull-down resistor gives it a default level while allowing an active driver to override the resistor. Open-drain and open-collector outputs require a pull-up and can share a line because devices assert only the low state. Push-pull outputs actively drive both states and must not be connected together unless the protocol prevents bus contention.
A high-impedance output disconnects a driver electrically from a shared bus.
Active-low names such as RESET_n or CS# describe assertion polarity, not a
voltage standard. Source-synchronous interfaces such as DDR distribute a strobe
with data because receiver timing depends on relative edge placement rather than
on a distant system clock alone.
PN Junctions, Diodes, and Rectification #
Donor doping supplies mobile electrons in n-type silicon, while acceptor doping supplies mobile holes in p-type silicon. Diffusion across a PN junction leaves fixed ionized dopants, producing a depletion region and built-in electric field.
Forward bias lowers the junction barrier and permits substantial current. Reverse bias widens the depletion region and permits leakage until breakdown. The common constant-voltage diode model is useful for rough analysis, but diode current changes exponentially with junction voltage and strongly with temperature.
A half-wave rectifier conducts during one input polarity. A bridge rectifier uses both half cycles but places two diode drops in the conducting path. A reservoir capacitor reduces ripple by supplying load current between peaks; the source, diodes, capacitor ripple rating, inrush current, and regulator must all be sized for the resulting pulse current.
Zener and avalanche diodes intentionally operate in reverse breakdown for clamping or references. Breakdown does not limit current, so a series impedance is required. LEDs convert carrier recombination into light, while photodiodes convert absorbed photons into current; spectral response and biasing depend on device construction.
BJT and MOSFET Operating Regions #
An NPN bipolar junction transistor has cutoff, forward-active, saturation, and
reverse-active regions. Analog amplification commonly biases the device in
forward-active operation, where collector current is related to base-emitter
voltage and is approximately β times base current over a limited range.
Switching drives the transistor between cutoff and saturation. Because β
varies with current, temperature, and device, a switch design uses a forced base
current and checks saturation voltage and storage time.
An enhancement-mode MOSFET has cutoff, triode/linear, and saturation regions in the long-channel model. The terminology differs from BJT switching: a MOSFET used as a closed switch operates in the low-resistance triode region, not in MOSFET saturation. Gate threshold voltage only marks the data-sheet test condition for initial conduction; it does not guarantee low on-resistance.
MOSFET gates draw little DC current but present capacitance. A driver must move
the specified gate charge fast enough to control switching loss. Designs must
check RDS(on) at the actual gate voltage, drain voltage and current limits,
safe operating area, body-diode behavior, thermal resistance, and switching
transients. CMOS logic combines n-channel and p-channel devices for low static
current, while charging capacitances produces dynamic power.
Grounding, Power, and Measurement Safety #
Ground is a reference node, not an infinite sink for current. Protective earth, chassis, analog ground, digital ground, and signal return have different roles. Return current follows the path of lowest impedance, which can differ from the path of lowest resistance at high frequency. Layout should therefore preserve short return paths and avoid forcing sensitive signals to share high-current voltage drops.
Power inputs need current limiting, decoupling near load pins, bulk energy storage, reverse-polarity protection where required, and conductors sized for fault current. Fuses protect wiring and reduce fire risk; they do not make a high-voltage circuit safe to touch.
Before probing a circuit:
- Verify the meter, probe, insulation, and category ratings for the source.
- De-energize and discharge stored energy when live measurement is unnecessary.
- Remember that a bench oscilloscope probe ground is commonly connected to protective earth; clipping it to a live node can create a short circuit.
- Use a differential or isolated measurement method designed for floating or high-side nodes.
- Keep current measurements in series and confirm the meter lead is in the correct fused input before connection.
Mains, high-energy batteries, and charged capacitors can cause lethal shock, arc, or fire. Such systems require applicable safety standards, isolation, and qualified procedures rather than an improvised breadboard workflow.
Comments
Read or comment on GitHub (sign-in required to comment)