unfried.
Streak:0 days XP:0

Formula sheet

Concepts

Circuit laws, component equations, time constants and power, by unit.

52 entries in 11 units. Free to use and share.

Jump to a unit (11 units)

Unit 1 Charge, current, voltage, resistance

Ohm's law

I
current through the resistorA
V
voltage across the resistorV
R
resistanceΩ

Applies: Resistors. Volts over kilohms gives milliamps.

Careful: V is the difference across the part, not a node voltage. LEDs and diodes don't obey it.

Taught in Ohm's law: no difference, no current

Power in a part

P
powerW
V
voltage across the partV
I
current through the same partA

Applies: Any part, with both values for that part. Keep a resistor under half its rating (common through-hole parts are 1/4 W).

Taught in Power turns into heat

Internal resistance of a source

r
internal resistanceΩ
Vopen
voltage with no loadV
Vloaded
voltage under loadV
I
load currentA

Applies: Measured under load. A fresh alkaline AA is about 0.15 Ω, a 9 V battery about 1.5 Ω.

Careful: A bench supply's current limit is a ceiling, not a target.

Taught in Lab: A battery's hidden resistance

Multimeter placement

Move the red lead back to the V jack after every current measurement.

ModeGoesInsideWrong place does
voltsacross the partabout 10 MΩin series, current drops to µA
ampsin series, loop openedabout 2 Ωacross a part, shorts it and blows the fuse

Taught in Using a multimeter without breaking anything

Unit 2 Series, parallel, dividers, meters, logic levels

Series and parallel resistance

R
total resistanceΩ
R1,R2
the resistorsΩ

Applies: Series share one current; parallel branches share one voltage. Two in parallel give R1R2/(R1+R2)⁠, and N equal ones give R/N⁠.

Careful: Parallel resistance is below the smallest branch.

Taught in Parallel: the currents add up

Voltage divider

Vout
output voltageV
Vin
input voltageV
R1
top resistorΩ
R2
bottom resistorΩ

Applies: Unloaded. The ratio sets the voltage; the size sets the current, Vin/(R1+R2)⁠.

Careful: A load at OUT pulls it down; a divider can't power an LED.

Taught in The voltage divider

Loading a divider

Seen from OUT, a divider is its unloaded voltage behind R1∥R2⁠. A load 10× that reads about 9 % low; 100× about 1 %. To measure the output resistance, find the load that halves OUT.

Taught in Loading a divider

Real source

V
terminal voltageV
Vrest
voltage at restV
I
load currentA
r
source resistanceΩ

Applies: Find r from two readings, r=ΔV/ΔI⁠. A 3.3 V MCU pin is about 25 Ω.

Careful: A meter at rest draws nothing, so it can't see r; test a battery under load.

Taught in Why batteries sag: source resistance

Logic levels

At or below VIL an input reads 0; at or above VIH it reads 1. For many 3.3 V CMOS parts that is 0.99 V (30 %) and 2.31 V (70 %). In between nothing is promised. A Schmitt-trigger input switches up and down at different voltages, so noise smaller than the gap can't flip it.

Careful: A 3.3 V output isn't a guaranteed 1 for a 5 V input with VIH = 3.5 V.

Taught in Logic levels: when is a voltage a 1?

Unit 3 Capacitors and RC timing

Capacitor charge and energy

q
charge on each plateC
C
capacitanceF
V
voltageV
E
stored energyJ

Applies: Always. The net charge is zero; what it holds is energy. Double V, four times the energy.

Taught in What a capacitor holds

Capacitor current

i
currentA
C
capacitanceF
V
voltage across itV
t
times

Applies: Current flows while the voltage changes. 1 mA into 100 µF ramps 10 V/s.

Careful: No charge crosses the gap, and the current stops when the voltage holds still.

Taught in Current flows while the voltage changes

RC time constant

τ
time constants
R
resistanceΩ
C
capacitanceF

Applies: kΩ × µF = ms. It reaches 63 % at 1τ, 86 % at 2τ, 95 % at 3τ and 99.3 % at 5τ.

Careful: τ is not the time to charge.

Taught in The time constant

Time to a threshold

t
time to reach the thresholds
τ
time constants
V∞
final voltageV
Vth
thresholdV

Applies: Charging from empty. Halfway takes 0.69τ, not 0.5τ.

Taught in Time to a threshold

Debouncing with an RC

τ
time constants
tbounce
worst bounce time, up to 6.2 mss
V∞
final voltageV
Vth
input thresholdV

Applies: A conservative rule that ignores hysteresis. A Schmitt input lets a smaller RC work.

Taught in RC versus a bouncing switch

Unit 4 Inductors and stored current

Inductor voltage

v
voltage across the coilV
L
inductanceH
i
currentA
t
times

Applies: Always. At switch-on the current starts climbing at V/L⁠; settled, a coil passes DC and drops 0 V.

Careful: A coil's current can't jump.

Taught in Current with inertia

L/R time constant

τ
time constants
L
inductanceH
R
resistanceΩ

Applies: mH over Ω = ms; the same 63 % / 86 % / 95 % / 99.3 % table as RC.

Careful: A bigger R makes an RL circuit faster, unlike RC.

Taught in The L/R time constant

Flyback

Cut a coil's current and it pushes that current through whatever path is left; through a resistor R the peak is I×R⁠. A flyback diode across the coil, stripe toward +V, clamps the switch node one drop above the supply at the cost of a slower release.

Careful: A diode across the switch does nothing for the spike.

Taught in Opening the switch: flyback

LC ringing frequency

f
ringing frequencyHz
L
inductanceH
C
capacitanceF

Applies: Little series resistance. A step overshoots toward twice its size; series resistance damps it.

Taught in LC ringing

Unit 5 AC signals and impedance

Peak and RMS

Vpeak
peak, from the center lineV
VRMS
RMS valueV
Vpp
peak to peakV

Applies: Sines only. 230 V mains peaks at 325 V.

Taught in Sine waves: peak and RMS

Reading a scope

The period is divisions per cycle times time/div, and f=1/T⁠. Height is divisions times V/div. Set the scope's probe setting to match a ×10 probe, or every reading is 10× off.

Taught in Reading a scope

Phase from two traces

ϕ
phase difference°
Δt
time between matching peakss
T
periods

Applies: Two traces at the same frequency. A capacitor's current leads by 90°; a coil's lags by 90°.

Taught in Phase

Decibels

Vout,Vin
output and input voltagesV

Applies: Voltage ratios. Stages in a row add their dB.

Careful: −3 dB is 0.707 of the voltage (half the power), not half the voltage.

Taught in Decibels

Unit 6 Diodes and LEDs

Diode forward voltage

A 1N4148's current grows about ×10 for every extra 0.11 V; 0.61 V at 1 mA, 0.90 V at 100 mA. "0.7 V" is only the value at a few mA, and Vf falls about 2 mV/°C as it warms.

Taught in A one-way valve with a knee

LED resistor

I
LED currentA
Vsupply
supply voltageV
Vf
LED forward voltage; red 2.0, blue about 3.1V
R
series resistorΩ

Applies: Plenty of headroom. 5 V and 150 Ω give red 20 mA.

Careful: With under about 1 V of headroom the formula can be off by several times.

Taught in LED colors and forward voltage

Rectifier ripple

ΔV
ripple, peak to peakV
I
load currentA
f
mains frequency (half-wave) or twice it (bridge)Hz
C
reservoir capacitanceF

Applies: The capacitor feeds the load between peaks. It errs on the safe side; size C≈I/(fΔV) and round up.

Taught in Rectifiers and ripple

Zener shunt regulator

R1 supplies (Vin−Vz)/R1⁠; the load takes what it needs and the zener the rest. Size R1 for full load plus about 1 mA, round down, then check zener power with no load.

Careful: When the load wants more than R1 supplies, the zener drops out.

Taught in Zeners and clamps

Schottky or silicon

Heat is Vf×I⁠; at 1 A a 1N4007 drops about 0.94 V and an SS14 about 0.48 V. Schottkys leak far more and block less. Low voltage and high current suit a Schottky; mains, heat or µA budgets suit silicon.

Taught in Schottky vs silicon

Unit 7 Transistors as switches

NPN in the active region

IC
collector currentA
β
current gainno unit
IB
base currentA

Applies: Vce stays above about 0.2 V.

Careful: Once β × Ib asks for more than the load allows, the transistor saturates and the load sets Ic.

Taught in A small current steers a big one

Saturated switch base resistor

RB
base resistorΩ
Vpin
drive voltageV
IB
base currentA
IC
load currentA

Applies: Forced β ≈ 10 for a switch; round RB down and keep the pin under its 20 mA.

Careful: Size the base for the worst part; β falls at high current.

Taught in The saturated switch

MOSFET heat

P
powerW
I
drain currentA
RDS(on)
on-resistance at your real VgsΩ

Applies: Fully on. Temperature rise is watts times the package's °C/W.

Careful: Partly on is worst. From a 3.3 V pin, pick a logic-level part with Rds(on) listed at 2.5 V.

Taught in Rds(on) and heat

Low side or high side

An N-MOSFET goes between the load and ground, source on ground, so Vgs is the pin's full voltage. On the high side the source rises with the load. Add 10–100 kΩ from gate to source.

Taught in Low side or high side

Unit 8 Op amps

Open-loop op amp

Vout
outputV
A
open-loop gain, about 100,000 for an LM358no unit
V+,V−
input voltagesV

Applies: No feedback (a comparator), and only while the output is between its rails.

Taught in Open-loop gain: the comparator

Virtual short

With negative feedback and the output not at a rail, V+≈V−⁠. Nothing connects the inputs; they draw nanoamps.

Careful: Once the output clips, the loop is broken and the inputs separate.

Taught in Negative feedback and the virtual short

Op amp stages

Largest clean input is rail ÷ gain. An inverting stage needs a negative rail.

StageGainSource sees
non-inverting1+Rf/Rgthe + input, nanoamps
inverting−Rf/RinRin to a virtual ground
follower1the + input, nanoamps

Careful: Rf = Rg is ×2, not ×1.

Taught in The inverting amplifier

Unit 9 Filters

RC corner frequency

fc
corner frequencyHz
R
resistanceΩ
C
capacitanceF

Applies: Unloaded output. At fc the output is 0.707 of the input, −3 dB.

Careful: −3 dB is not half.

Taught in The RC low-pass

Rolloff

Well above the corner, a first-order gain is about fc/f⁠.

Above fc1 pole2 poles
×10−20 dB, ×0.1−40 dB, ×0.01
×100−40 dB, ×0.01−80 dB, ×0.0001

Taught in Rolloff: how much gets through

Coupling capacitor

C
coupling capacitorF
R
input resistanceΩ
flow
lowest frequency to passHz

Applies: A high-pass into an input resistance; round up.

Taught in High-pass and AC coupling

PWM ripple after an RC

Vpp
ripple, peak to peakV
V
PWM high levelV
f
PWM frequencyHz
R
resistanceΩ
C
capacitanceF

Applies: 50 % duty and fc well below the PWM frequency. Settling within 1 % takes 5τ.

Taught in PWM to DC: filter design for a job

Series resonance Q

Q
quality factorno unit
L
inductanceH
C
capacitanceF
R
resistanceΩ

Applies: Series RLC at f0=1/(2πLC)⁠; L and C each carry Q times the input.

Careful: Check the capacitor's voltage rating.

Taught in Resonance and Q

Cascading filters

Two identical unbuffered RCs load each other and the corner falls well below fc⁠. Buffered by a follower, each keeps its own response and the pair is −6 dB at fc⁠.

Taught in Cascading and active filters

Unit 10 ADCs and DACs

Aliasing

falias
frequency shownHz
f
real toneHz
k
whole number landing the result between 0 and fs/2no unit
fs
sample rateHz

Applies: Any tone above the Nyquist frequency fs/2⁠.

Careful: No firmware filter can remove an alias; filter before the ADC.

Taught in Sampling and aliasing

ADC step (LSB)

Vref
reference voltageV
n
bitsno unit

Applies: An ideal n-bit ADC; code = Vin / LSB rounded down, read back as (code+12)×LSB⁠. 12 bits at 3.3 V is 0.806 mV.

Taught in Quantization: the LSB

Resolution is not accuracy

Bits set the step size. Accuracy also depends on reference error (a share of the reading), noise (averaging N readings divides it by N⁠) and INL. Add them in LSB for a worst-case budget.

Taught in Resolution is not accuracy

PWM DAC resolution

ftimer
timer clockHz
fPWM
PWM frequencyHz

Applies: An RC after a PWM pin. 16 MHz at 1 kHz gives 16,000 steps.

Careful: Raising fPWM cuts ripple and steps together.

Taught in DACs and PWM as a DAC

Unit 11 Power

Battery runtime

Runtime is capacity at your load divided by the load. An alkaline AA rated 2,500 mAh at 25 mA gives about 994 mAh at 1 A. Series cells add volts, not amp-hours.

Taught in Battery capacity is not a constant

Linear regulator efficiency

η
efficiencyno unit
Vout
output voltageV
Vin
input voltageV
Pheat
heatW
I
load currentA

Applies: Any LDO above its dropout. 12 V to 3.3 V at 100 mA is 27.5 % efficient.

Taught in The linear regulator

Junction temperature

Tj
junction temperature°C
Ta
ambient temperature°C
P
power dissipatedW
θJA
junction-to-air thermal resistance°C/W

Applies: Steady state. Design to the operating limit, often 125 °C.

Careful: The front-page current rating is a ceiling, not what the package can shed.

Taught in Heat: junction temperature

Buck converter

Vout
output voltageV
D
duty cycleno unit
Vin
input voltageV
Iin
input currentA
Iout
output currentA
η
efficiencyno unit

Applies: Power carries over, not current. 12 V to 3.3 V at 1 A and 90 % draws 0.31 A.

Taught in The buck converter

LDO or buck

Compare battery current. An LDO draws Iload+Iq⁠; a buck draws IloadVout/(ηVin)+Iq⁠. Asleep at µA the LDO often wins; a buck with no light-load mode is poor at mA loads. Pick an LDO for a quiet rail.

Taught in LDO or buck