fundamentals

First Principles Primer

What first-principles thinking means for an electrical engineer on a robot: circuit laws, fields, analogies across domains, motion, materials and heat, with every number derived on the page.

00

What first principles means for an EE

Everyone claims to be a first-principles thinker. In engineering it has a concrete meaning: you can get to a defensible number from conservation laws and a few material properties, without a datasheet curve or a past design to copy. Interviewers test it by asking for an estimate and watching how you get there.

The method

  1. Name the quantity. Turn the question into a physical quantity with units: temperature rise in K, voltage drop in mV, torque in N·m.
  2. Pick the conservation law. Charge (KCL), energy (KVL, power balance, heat balance), momentum (F = ma).
  3. Add the constitutive relation. The material or component law that links effort to flow: V = IR, q = ΔT/Rθ, σ = Eε, τ = Kt·I.
  4. Put in round numbers and compute to one significant figure first.
  5. Check units and limits. Does the answer go the right way when you double an input? Does it reach a sensible value at zero or infinity?
  6. Find the dominant term and say what would change the answer.

Example: why a 48 V bus?

For the same power P, current is I = P/V. Conduction loss is I²R = (P/V)²·R. Going from 12 V to 48 V cuts current to ¼ and loss to 1/16 for the same copper. 48 V also stays under the 60 V DC limit for safety extra-low voltage. Above that, touch-safety requirements get much harder.

Say it this wayFirst principles for me means: name the quantity, pick the conservation law, add the constitutive relation, get a one-digit number, check units and limits, then say which term dominates.

01

Circuit laws: Ohm, KCL, KVL

Ohm's law: V = I·R

It comes from the material: current density J = σE. For a conductor of length L and cross-section A, R = ρL/A.

Copper ρ = 1.72×10⁻⁸ Ω·m. 1 oz copper is 35 µm thick, so sheet resistance = ρ/t ≈ 0.49 mΩ per square.
A 0.25 mm × 50 mm trace = 200 squares → ≈ 98 mΩ. At 2 A that is 0.2 V and 0.4 W.

KCL: currents into a node sum to zero

It is conservation of charge: a node can't store charge (unless you draw a capacitor). Use it for current budgets, return paths and nodal analysis.

KVL: voltages around a loop sum to zero

It is conservation of energy in a conservative electric field. It holds exactly only if no changing magnetic flux passes through the loop. With changing flux, Faraday's law adds −dΦ/dt. That term is what you call loop inductance, and it is why layout matters:

v = L·di/dt. A 1 nH power loop with 20 A switched in 2 ns gives 1 nH × 20 A / 2 ns = 10 V of overshoot.

Capacitors and inductors

Tools that follow from these

Say it this wayKCL is charge conservation and KVL is energy conservation. KVL breaks when changing flux threads the loop, and that correction is loop inductance: 1 nH at 10 A per ns is 10 V. That is why I care about loop area.

02

When circuits stop being lumped

Say it this wayA 100 ps edge has energy to 3.5 GHz. At about 6.7 ps per millimetre in FR-4, anything longer than a few millimetres is a transmission line, so I think about impedance, termination and the return path.

03

One equation, three domains

One equation, three domainsELECTRICALV (effort) · I (flow)SourceV_inRΩ · V = IRCF · i = C dV/dtτ = RCsTHERMALT (effort) · Q̇ (flow)SourceP in WRθK/W · ΔT = Q̇ RθCθJ/K · Q̇ = Cθ dT/dtτ = Rθ CθsMECHANICALF (effort) · v (flow)Sourceforce Fb (damper)N·s/m · F = b vm (mass)kg · F = m dv/dtτ = m / bs

Most physical systems you will meet are effort and flow with resistance and storage. Once you see the pattern, a thermal or mechanical problem becomes a circuit you already know how to solve.

ElectricalThermalMechanical (translational)Mechanical (rotational)Fluid
Voltage VTemperature TForce FTorque τPressure p
Current IHeat flow Q̇ (W)Velocity vAngular velocity ωVolume flow
Resistance RThermal resistance Rθ (K/W)Damping bRotational dampingFlow resistance
Capacitance CThermal capacitance m·c_p (J/K)Mass m (stores momentum)Inertia JTank compliance
Inductance LnoneSpring 1/kTorsional springFluid inertance
P = V·IQ̇ is already powerP = F·vP = τ·ωP = p·flow

The mapping shown is one consistent choice (mass as capacitance). The other common choice (force-voltage) maps mass to inductance. Either works if you stay consistent.

Say it this wayHeat flow is current, temperature is voltage, thermal resistance is resistance and thermal mass is capacitance. A heat-sink problem is an RC circuit, and the thermal time constant is Rθ times Cθ.

04

Physics of robot motion

Joint drivetrain from bus to link48 V bus feeds an inverter that sets motor current; motor torque equals Kt times current; a gearbox multiplies torque by N and divides speed by N; the link sees torque and angular velocity; equations shown under each block.48 V busV, IP = V · IInverterPWM, FOCV_ph ≈ I·R + Ke·ω_mMotorKt = Keτ_m = Kt · IGearbox ×Nη ≈ 0.8τ_j = N·η·τ_mJoint + linkJ, m, rτ = J·α + m·g·rSpeed goes the other way: ω_motor = N · ω_joint. Reflected load inertia at the motor = J_load / N².Power is conserved except losses: τ·ω out = V·I in − I²R − switching − gear friction.Torque sets current (and heat, I²R). Speed sets voltage (back-EMF). The bus voltage must exceed I·R + Ke·ω.

Kinematics

Dynamics

Motor as an electrical component

Worked example: one shoulder joint

QuantityDerivationValue
Gravity torque at joint2 kg × 9.81 m/s² × 0.5 m9.8 N·m
Motor torque (N = 100, η = 0.8)9.8 ÷ 100 ÷ 0.80.12 N·m
Motor current (Kt = 0.05 N·m/A)0.12 ÷ 0.052.5 A
Copper loss (R = 0.5 Ω)2.5² × 0.53 W, continuous while holding
Back-EMF at 1 rad/s joint speed0.05 × (1 × 100 rad/s)5 V, well within 48 V
Mechanical output9.8 N·m × 1 rad/s9.8 W
Reflected inertia (J_load = 0.05 kg·m²)0.05 ÷ 100²5×10⁻⁶ kg·m²
Encoder resolution (17-bit)2π ÷ 131,07248 µrad; 24 µm at 0.5 m

Holding a load costs power even with no motion (I²R). That is a heat and battery problem for a robot that holds parts for long periods, and a reason for brakes or non-back-drivable gearing.

Say it this wayTorque sets current, current sets heat by I²R, and speed sets back-EMF and so the voltage I need. A 2 kg load at half a metre is about 10 N·m at the joint, 2.5 A at the motor through a 100:1 gearbox, and about 3 W of copper loss just to hold it.

05

Mechanics of materials for electronics

MaterialYoung's modulus ECTE α (ppm/K)
Copper~117 GPa~17
FR-4 in-plane~20 GPa~14–17
FR-4 through thickness (below Tg)~50–70
Silicon~130–170 GPa~2.6
SAC solder~50 GPa~22
Aluminium~69 GPa~23
Steel~200 GPa~12

Worked examples

Say it this wayThermal expansion mismatch turns temperature cycles into strain. 43 ppm/K over 100 K is 0.4% in a via barrel, and a BGA corner sees a few percent shear, which is why I care about underfill, board thickness and the thermal cycle profile.

06

Thermal from first principles

Heat path from the Thor module to ambientSeries thermal resistances from the module's thermal transfer plate through TIM, a cold plate or heat sink, the chassis, and convection to ambient, with temperatures at each node for 130 W.Module plateT_plate ≤ 80 °C*TIM0.002 K/WCold plate / sinkspreadingChassisconductionAmbient45 °C in enclosureBudget: R_total ≤ (80 − 45) °C ÷ 130 W = 0.27 K/W from plate to ambient.Natural convection alone (h ≈ 7 W/m²K) would need A = 1 ÷ (h · R) ≈ 0.53 m² of fin area. Not practical in a robot.So: conduction into a chassis or cold plate with forced air or liquid. The TIM itself is small (~0.002 K/W); interfaces and convection dominate.* Example limit for the arithmetic; use the module's specified plate temperature.

Board-level heat paths

One 0.3 mm via with 25 µm plating: copper area ≈ π(0.15² − 0.125²) mm² ≈ 0.022 mm².
Rθ = 1.6 mm ÷ (390 W/m·K × 0.022 mm²) ≈ 190 K/W per via. Twenty vias in parallel ≈ 9.5 K/W.

Power sources to estimate for the thermal engineer: conduction loss I²R (a 5 mΩ FET at 20 A is 2 W), switching loss ½·V·I·t·f, gate charge loss Qg·V·f, inductor and capacitor ESR losses, and regulator drop (V_in − V_out)·I.

Say it this wayHeat is current through thermal resistance. For 130 W into a 45 °C enclosure with an 80 °C plate limit I have 0.27 K/W total, which natural convection can't do without half a square metre of fins, so the module conducts into the chassis or a cold plate.

07

Working with a thermal engineer

Thermal and electrical engineers use the same network math. Friction comes from mismatched assumptions, not physics. Agree on these early.

You provideThey provide
Power map: watts per component and where it sits on the boardPredicted temperatures for each component and board region
Operating cases: typical, maximum sustained, and transient profile with duty cycleRequired heat sink, cold plate, TIM, airflow or liquid flow
Limits: T_j max, case or plate max, derating rulesKeep-outs, mounting pressure and fastener locations for heat sinks
Thermal data: θJC, θJB, package and pad drawingsWhere to place thermistors, and the expected sensor-to-hotspot offset
Board stack-up: copper weights, thermal vias, planesEnclosure ambient, altitude, worst-case environment

The process

  1. Month one: a power budget and a one-dimensional resistance network, like the one above, to check feasibility.
  2. CFD or FEA on the placed board and enclosure.
  3. Prototype with thermocouples and IR imaging under the agreed load cases.
  4. Correlate model to measurement, then iterate placement, copper and heat sinking.
  5. Close the loop in firmware: thermistors, power modes and throttling before limits are reached.

Common mismatches

Your levers as the EE

Lower-loss parts (lower R_ds(on), higher-efficiency converters), placement near the heat exit path, copper pours and thermal vias, splitting hot parts apart, power modes, and sensor placement for closed-loop control.

The same habits apply to the mechanical engineer: stiffness and mounting, connector mating forces, vibration and shock specifications, tolerance stacks and keep-outs.

Say it this wayI give the thermal engineer a power map with operating cases and limits, they give me temperatures and the heat path. We share the same resistance-network language, so the useful work is agreeing on load cases and ambient early and correlating the model to IR and thermocouple data.

08

Practice questions

How much current can a 1 mm wide, 1 oz trace carry?
R per mm ≈ 0.49 mΩ/sq ÷ 1 mm × 1 mm = 0.49 mΩ/mm. Heating is I²R per length against how fast the board removes heat. A common design figure is a few amps for a modest rise (IPC-2152 gives the curves). Say: I compute I²R per length and check the temperature rise against IPC-2152 rather than guessing.
Why does a fast edge cause ground bounce?
Shared return inductance: v = L·di/dt. 1 nH with 1 A/ns is 1 V. Fix by reducing loop inductance: wide planes, more ground pins, decoupling close to the pins.
How long can a joint hold a load before the motor overheats?
Copper loss 3 W into the winding's thermal capacitance and resistance to the housing. Temperature rises with time constant Rθ·Cθ toward ΔT = P·Rθ. If P·Rθ exceeds the insulation limit, you have minutes, set by Rθ·Cθ.
How hot does this LDO get?
T_j = T_a + (V_in − V_out)·I·θJA. 3.3 V to 1.8 V at 1 A is 1.5 W; at 50 K/W from 25 °C that is 100 °C.
Why does a gearbox help a small motor lift a heavy arm?
Torque multiplies by N, reflected inertia divides by N². The motor runs fast at low torque, and it sees the load inertia much reduced.
Why do BGAs crack at the corners?
Thermal expansion mismatch times distance from the package centre gives the largest shear displacement at the corners.
When does KVL fail?
When changing magnetic flux passes through the loop. Then the sum of voltages equals −dΦ/dt, which is the inductive voltage you see as ringing and ground bounce.