# EMI estimates, from the LISN to the input filter and the layout

Voltecx estimates a converter's electromagnetic emission while it is still a schematic: the conducted noise through a LISN on the input, a filter that brings it under the limit, the radiated field from the switch node and the hot loop, and the layout that matters for both. Every number on this page is a pre-compliance estimate, not a compliance measurement. Each reply says `preCompliance: true` and each label says it is an estimate. Use it to find the problem early, size the filter and compare layouts; only a measurement in an accredited set-up says whether a product passes. Items marked *in the next release* are merged for the next beta and are not in Voltecx 0.9.0 yet.

## Conducted EMI on a DC input

`emi.conducted` (**Design › Automate › Conducted EMI**) never touches your circuit while it measures. It puts a LISN (50 µH, 0.1 µF, 50 Ω, after CISPR 16-1-2) on a copy, runs it until it settles, and reads the input current over a whole number of switching periods. The spectrum goes through a model of a CISPR 16-1-1 band B receiver (a 9 kHz bandwidth, quasi-peak with 1 ms charge and 160 ms discharge) with peak, quasi-peak and average detectors, and is held to CISPR 32 class A or B band by band. When the supply's return is not the ground node, both lines get a LISN and the result splits into differential mode and common mode, so you know which filter to build.

When the margin is below `targetMarginDb` (6 dB by default), it sizes one or two damped LC stages and measures again with them. The damping follows Middlebrook's condition (R. D. Middlebrook, 1976; Erickson and Maksimovic, *Fundamentals of Power Electronics*, chapter 10): the filter's peak output impedance must stay 3 times (9.5 dB) below the converter's input impedance, or the filter destabilises the converter it was meant to quieten. `zinOhm` gives that impedance, such as Vin,min²/P at full load; without it the measured V/I is used. With `"apply": true` the filter goes into your circuit in one undo step. [Input filter stability](https://voltecx-web.nguyenvanqui291.workers.dev/blog/input-filter-middlebrook-stability).

## AC mains inputs

*In the next release.* When the circuit has no DC source, its sine source is the input: an AC mains front end such as a diode bridge and a PFC stage. The LISN goes on L and on N, and the run settles for whole mains periods. The switching changes over the mains cycle, so one window is not enough: the estimate reads 8 windows of whole switching periods at equal phases of the next mains period and joins their receiver envelopes, with peak the largest, average the mean and quasi-peak the detector's value over the mains period. Each window must fit in an eighth of the mains period, 2.5 ms at 50 Hz.

## Limits that name their network and bandwidth

*In the next release.* Each limit names its document, the artificial network it is measured with and the receiver bandwidth, each with its source, and the reply repeats them:

| `limit` | Standard | Port | Network, receiver |
|---|---|---|---|
| `cispr32A`, `cispr32B` | CISPR 32:2015 Annex A | AC mains | 50 µH / 50 Ω, 9 kHz |
| `cispr11A`, `cispr11B` | CISPR 11:2015+A2:2019, group 1 (class A up to 20 kVA) | AC mains | 50 µH / 50 Ω, 9 kHz |
| `cispr25Class1` … `cispr25Class5` | CISPR 25 Ed. 5 (2021), voltage method | DC supply line | 5 µH + 1 Ω / 50 Ω, 9 kHz |

The CISPR 11 and CISPR 25 values come from secondary sources, articles that reproduce the standards' tables, and were not checked against the standards' text. The reply marks them `"provenance": "secondary"` and names the articles: for CISPR 11 the EN 55011 Table 2 values as philipmcgaw.com and a Cadence article cite them; for CISPR 25 the peak and average values of an ST article (Gambino, Grasso, Scrimizzi, 2024) and the quasi-peak values of a Baltic Lab article (Westerhold, 2025), from that one source only. Check them against the standard before you rely on a margin. CISPR 25 is assessed only inside its broadcast bands, and its bands above 30 MHz are in the file but not assessed, because the conducted measurement ends at 30 MHz. CISPR 11 class A above 20 kVA and MIL-STD-461G CE102 are not included: their values were not available. A DC input held to a mains-port limit is a screen, and a note says so.

## A common-mode stage, sized from a catalogue

*In the next release.* With two LISNs and a path to ground, a short common-mode margin gets a common-mode stage: a choke in both lines and a Y capacitor from each line to ground. The Y capacitance is set by your product's safety standard, through its touch-current limit, so Voltecx has no default for it: give `yCapMax` (farads per line), or `touchCurrent` with `mainsHz` and `mainsV`, which allows

$$C_{Y,\text{max}} = \frac{I_{\text{touch}}}{2\pi \, f_{\text{mains}} \, V_{\text{mains}}}$$

per line. The choke is the catalogue part (57 TDK and Schaffner chokes, each row read from its data sheet) whose worst-case common-mode inductance reaches the corner frequency, and the Y capacitor the largest catalogue Y2 part under the limit. The choke's stray inductance stays in the differential path, and the reply gives the gain in each mode (`improvementCmDb`, `improvementDmDb`). Without a Y limit, or when no catalogue choke is large enough, a note says so and only the LC stages are sized.

## Parasitic elements, only from your data

*In the next release.* With ideal parts the estimate is optimistic from about 5 to 30 MHz, where a real capacitor's ESL, an inductor's winding capacitance and a switch's Coss let noise through. Tick **Parasitic elements** on the form (`"parasitics": true`) to put them on the measured copies, never on your circuit. They come from your circuit's own `esr`, `esl` and `coss`, from **Parasitic values** you type by part name (`{"Cin": {"esl": "2n"}, "L1": {"srf": "30Meg"}}`), from the capacitor catalogue's ESR, or from the assigned device's Coss table at the input voltage (at the crest for a mains input). Nothing is assumed: a part with no value is listed as skipped, with what to give. The same window also runs with ideal parts, so the notes show what the parasitics cost in margin.

## Radiated EMI

`emi.radiated` estimates the field from 30 MHz to 1 GHz at 3 m or 10 m against CISPR 32 class A or B, at every harmonic of the switching frequency, from two sources with C. R. Paul's formulas (*Introduction to Electromagnetic Compatibility*): the switch node driving its capacitance to the chassis and the cable as a common-mode antenna, and the hot loop as a small loop. It then tries three layout changes, halving the loop area, halving the switch node's capacitance and doubling the edge time, and says which one raises the worst margin most.

*In the next release.* **Design › Automate › Radiated EMI** opens it as a form. A field left empty takes the circuit's value where there is one: the swing and the loop current come from the first hot loop of `layout.hints`, and the switch node's capacitance to the chassis is the capacitors drawn from the switch node to ground. Where nothing gives a value, a typical one stands in (1 cm² of loop area, 10 pF, a 1 m cable), and the result window lists each of them under **Assumed values** with a field: type your board's number and press **Run Again**. **Inputs** says where every number came from.

*In the next release.* **A switch on a heat sink** counts too: a MOSFET, IGBT or diode whose tab (the drain, the collector or the cathode, as its data sheet draws it) is the switch node, mounted on a heat sink through an insulating pad, couples the switch node to the heat sink through the pad. Draw the thermal network with the pad's library `part`, or let `design.thermal {apply: true}` draw it, and the estimate adds the tab's capacitance, ε0·εr·A/d, from the pad's data sheet and the package's outline drawing; `commonMode` shows it as a row with `via: "tab"`. The heat sink is taken as earthed: if yours floats, give `cSw`. A grease, a pad the library does not hold, or a package with no tab size is named in a note and left out.

## Radiated EMI from the routed board

*In the next release.* Give `emi.radiated` the routed board (`path` to a `.kicad_pcb`, or `board` for a Voltecx `.vxpcb`) and it reads the copper through `layout.extract` instead of typical values:

- **Every power loop**, each with its own current: the loop's own peak from `layout.hints`, matched by name, and listed in `loops` with its area and its own field. The gate loops join the sum too: with `iGate`, the gate driver's peak current from its data sheet, or without it each switch's own peak gate current from the last run, when the switch's gate is modelled (a MOSFET at the dynamic level). Either way their share is an upper bound, since the gate pulse takes the power loop's duty and edge. When the last run recorded each loop's switch node, a loop whose leg switches slowly or not at all leaves the sum, and its row says so. The same run gives each loop its leg's phase and the way its current goes round the board, and the loops add as phasors, each loop's current pulse at its own leg's duty in the run (`legDuty`): mirrored legs in antiphase cancel at the even harmonics and complementary legs at every harmonic, less as the frequency rises with their spacing. When the run or the board cannot say, they add in amplitude, the worst case.
- **The common-mode path from the copper**: the parallel-plate capacitance of every switch node's copper to a chassis or heat-sink fill, one row per node and fill in `commonMode`. When the last run recorded each switch node, every leg uses its own simulated frequency, phase and duty, so interleaved and complementary legs cancel where they should and a line-frequency leg adds nothing at the switching harmonics; without that run the legs add in phase, the worst case.
- **Where the cables leave**: `cables` lists each connector, its role (input, load or other) and its distance to the switch node, nearest first. The cable length stays yours, since a board does not say it.
- **In the result window** these are three tables: **Hot loops at** the worst line (area, peak current and field of each power and gate loop), **Common-mode paths** (each switch node's fill or tab, its capacitance, swing and field) and **Cables and connectors**. Rows are largest or nearest first, and a row the run left out of the sum says **Not in the sum**.

## Near-field map of the board

*In the next release.* `emi.nearField` maps the magnetic near field over the routed board: each hot loop's copper path carrying its own current (a gate loop takes `iGate`, or without it its switch's peak gate current from the run, an upper bound), the quasi-static Biot–Savart field (Griffiths, example 5.5) on a plane 10 mm above the copper by default, at the first switching harmonic at or above 30 MHz, or the strongest of its lobe when that one falls in a null of the spectrum (every even harmonic at 50 % duty; with a run, the null is looked for at the duties the loops' legs actually have), with a note saying so. It returns the map in dB(µA/m), each cell's strongest loop and the hot spots, strongest first. The board window's **Near field** button draws it under the copper with the hot spots ringed and numbered, and draws it again after each board edit, so you see at once whether moving a capacitor shrank the loop. With a current run, the power loops whose leg phase and direction round the board the run resolves add as phasors, each at its own leg's duty, as in the radiated estimate; the other loops add in amplitude on top, an upper bound for them. `cables` gives the field over each cable connector of the board (the connectors `emi.radiated` lists), its strongest loop there and how far it is under the strongest cell, strongest first, since a cable plugged in where the field is strong carries it off the board; the overlay marks each connector with a square and a label such as "J1 97 dB", and its scale names the strongest one. It is an estimate to find which loop to fix, not a probe scan.

## Layout hints

`layout.hints` (**Design › Automate › Layout Hints**) reads the circuit, and the last simulation when there is one, and says where the layout matters for EMI and for the switches: the commutation loops with the parts in each, an inductance budget for each loop (the largest loop inductance whose voltage spike still fits the switches' margin), the ring frequency with the switch capacitances, the gate loops, Kelvin source pairs, the switching nodes to keep small, the thermal resistance the copper under each device must stay below, and a split of the ground into power and control returns that `schematic.splitGrounds` can draw. Its checklist is a list of things to check on your board; it is not a board design.

## The example

**File › Open Example › Power quality › Conducted EMI bench** (`emiInputFilter`) draws the measurement itself: a floating 24 V supply feeds a switching load through two LISN parts and a TDK B82724A2202N001 common-mode choke. The load draws 1 A pulses at 100 kHz, and its switch node jumps 24 V in 20 ns against a 100 pF capacitance to ground, as a heatsink would. On the scope, half the difference of `v(mp)` and `v(mn)` is the differential noise and half their sum the common-mode noise, and you can see the choke's full inductance stand in the common-mode path while the load current sees only its stray inductance.

## From a script

```sh
powercraft-cli run --cmd file.openExample --params '{"name": "buck"}' \
  --cmd emi.conducted --params '{"limit": "cispr25Class3", "targetMarginDb": 6, "parasitics": true}' \
  --cmd emi.radiated --params '{"limit": "cispr32B", "distanceM": 3, "edgeTime": 5e-9}' \
  --cmd layout.hints --params '{"edgeTime": 1e-8}'
```

`cispr25Class3` and `parasitics` need a version with the next release's limits and parasitics; on 0.9.0 use `cispr32A` or `cispr32B` without `parasitics`.

## What these numbers are

An estimate from the circuit and the numbers you give. It knows the real board only as far as the routed board you give it, and nothing of the enclosure or the cable routing beyond the numbers you give, the filter parts are ideal apart from the values listed above, and no estimate has been compared with a chamber measurement yet. EMI results are not compliance results, layout hints are not a board design, and the CISPR 11 and CISPR 25 limits are unchecked against the standards' text. The EMI commands are in the EMI & Layout licence module; see [licences](https://voltecx-web.nguyenvanqui291.workers.dev/features/licences-and-protection).

More in the manual: [conducted EMI and the input filter](https://voltecx-web.nguyenvanqui291.workers.dev/docs/manual/06-analyses/#conducted-emi-and-the-input-filter), [radiated EMI](https://voltecx-web.nguyenvanqui291.workers.dev/docs/manual/06-analyses/#radiated-emi), the [near-field map](https://voltecx-web.nguyenvanqui291.workers.dev/docs/manual/06-analyses/#near-field-map-of-the-board) and its [board overlay](https://voltecx-web.nguyenvanqui291.workers.dev/docs/manual/22-board/#near-field), [parasitic elements](https://voltecx-web.nguyenvanqui291.workers.dev/docs/manual/06-analyses/#parasitic-elements-in-the-conducted-emi-estimate), the [EMI and layout commands](https://voltecx-web.nguyenvanqui291.workers.dev/docs/manual/16-automatic-design/#the-tools-one-by-one) and the [conducted EMI tutorial](https://voltecx-web.nguyenvanqui291.workers.dev/docs/tutorials/09-conducted-emi/). Related pages: [design tools](https://voltecx-web.nguyenvanqui291.workers.dev/features/design-tools), [analyses](https://voltecx-web.nguyenvanqui291.workers.dev/features/analyses), [isolation and gate drive](https://voltecx-web.nguyenvanqui291.workers.dev/features/isolation-and-gate-drive).
