A MATLAB GUI for quick-estimate sizing of planar (PCB-style) inductors and transformers — the kind of back-of-envelope numbers you want before committing to a full FEA run or a vendor design tool.
Add this folder to your MATLAB path (it's already inside
Documents/MATLAB, so it should be on the path by default), then run:
PLANAR_CALCULATORPick a mode (Planar Inductor or Planar Transformer) from the dropdown, fill in the geometry and operating point, and press Calculate.
Planar Inductor
- Inductance, via the modified Wheeler equation for a spiral coil (Mohan, Hershenson, Boyd, Lee — "Simple Accurate Expressions for Planar Spiral Inductances," IEEE JSSC, 1999)
- Winding DC resistance, from trace geometry and copper resistivity (temperature-corrected)
- AC resistance, via a single-layer (skin-effect-only) resistance-ratio formula
- Copper loss at the given RMS current
Planar Transformer
- Turns ratio and ideal secondary voltage/current
- Magnetizing inductance from core AL value, if provided
- Primary and secondary DC/AC resistance and copper loss
This tool is intentionally simple: hand-calc formulas only, no solver. It does not account for:
- Inter-layer proximity effect (Dowell's method covers this — see TI's SLUP125 seminar material)
- Core loss (Steinmetz or manufacturer loss curves)
- Fringing fields, gap loss, or leakage inductance
- Trace corner/via effects
Cross-check anything load-bearing against a vendor design tool, FEA (e.g. Ansys Maxwell / Q3D), or a physical prototype.
See CHANGELOG.md.