科研 Skill

EMC电磁兼容预测试

emc-emi-precompliance

Plans grounding, shielding, and filtering for EMC/EMI, and runs an emissions pre-scan with a root-cause fix sequence. Use before a lab test or after a failed EMI scan.

发布者 Codar安全审核通过v0.1.0更新于 2026-11-18

SKILL.md

EMC/EMI Pre-Compliance

Gives the engineering steps to design a product so it is likely to pass formal EMC (electromagnetic compatibility) testing, and the diagnostic sequence to root-cause a failure found during an in-house pre-scan or at a lab. This is the circuit- and layout-level engineering work; it complements compliance-planner, which plans which certifications and standards apply and their cost/timeline, but does not itself touch grounding, filtering, or shielding design.

When to use this

  • Before PCB layout freeze, to set grounding, decoupling, and shielding decisions while they are still cheap to change.
  • After a prototype fails (or is expected to fail) a radiated or conducted emissions scan, or an ESD/surge immunity test.
  • Before booking expensive accredited lab time, to run a lower-cost pre-compliance scan and fix the big offenders first.
  • When a user says "EMI", "EMC", "radiated emissions", "conducted emissions", "ESD", "surge immunity", "ground bounce causing noise", or "failed FCC/CE emissions".

Core concepts

  • Emissions vs. immunity. Emissions = energy the product radiates or conducts onto its power/signal lines (must stay under a limit). Immunity = the product's ability to keep working when hit with external noise, ESD, or surges (must exceed a minimum level). They need different tests and often different fixes.
  • Common standards families (confirm the exact applicable standard with compliance-planner and the target market's regulator — do not assume one applies globally):
    • Emissions: CISPR 32 / EN 55032 (multimedia), CISPR 11 / EN 55011 (ISM/ industrial), FCC Part 15 Subpart B (USA, unintentional radiators).
    • Immunity: IEC 61000-4-2 (ESD), IEC 61000-4-3 (radiated RF immunity), IEC 61000-4-4 (EFT/burst), IEC 61000-4-5 (surge), IEC 61000-4-6 (conducted RF immunity), IEC 61000-4-11 (voltage dips/interruptions).
    • Generic immunity/emissions umbrella: IEC 61000-6-1/-2/-3/-4; product- family standards (e.g. IEC 60601-1-2 for medical) override the generic ones when they apply.
  • Coupling paths. Differential-mode (loop-area driven, dominant below a few MHz) vs. common-mode (ground/reference driven, usually dominant above ~30 MHz and the main cause of radiated-emissions failures). Most EMI fixes target common-mode current, because it couples efficiently to cables that act as unintentional antennas.
  • Antenna length rule of thumb. A cable or trace becomes an efficient radiator around a quarter-wavelength (λ/4) of the noise frequency. At 100 MHz, λ/4 ≈ 0.75 m — most cable harnesses on small products are already in or near this resonant range for clock harmonics in the 30 MHz–1 GHz band, which is why cable shielding/filtering matters more than board size for most radiated-emissions failures.

Procedure

1. Design-stage grounding and layout review

Read references/grounding-checklist.md and verify, before layout freeze:

  • A single, continuous ground reference plane under every high dv/dt or high di/dt net (switching regulators, clock lines, high-speed digital). No plane splits under a signal unless a controlled return path (stitching capacitor) is provided — see signal-integrity-analysis for the return-path check in detail.
  • Switching regulator loop area minimized: input cap, switch node, inductor, output cap, and the IC's ground pin kept in the smallest possible physical loop. This is usually the single biggest radiated-emissions lever on a switch-mode power supply design.
  • Clock and oscillator traces routed away from board edges and connectors, with series termination resistors sized to the driver's output impedance (reduces ringing harmonics, which are what the emissions scan measures).
  • I/O connectors have a defined, low-impedance path to chassis/earth (via a ferrite, a direct chassis bond, or a filtered connector) rather than depending on the signal ground plane alone to sink common-mode current.
  • Enclosure: metal or metallized-plastic shielding with gasketed seams if the product has high internal clock rates (above a few hundred MHz) or switching frequencies in the tens of MHz; seam and aperture size should stay well below λ/20 of the highest frequency of concern.

2. Filtering and protection component selection

  • Common-mode chokes on cables/power input where common-mode current is suspected or measured; size for the expected noise frequency, not just the DC current rating.
  • Y-capacitors (line-to-ground, safety-rated, e.g. per IEC 60384-14) for conducted common-mode filtering on mains or long cables — respect the product's leakage-current limit for its safety class.
  • TVS diodes / ESD protection arrays at every externally accessible connector pin, rated for the immunity level the target standard requires (e.g. IEC 61000-4-2 contact/air discharge levels for the product's intended environment).
  • Ferrite beads on cable I/O, chosen from the ferrite's impedance-vs- frequency curve (not its DC resistance) to attenuate the specific frequency band causing trouble.

3. Pre-compliance scanning

  • Near-field probing. A hand-held H-field/E-field probe plus a spectrum analyzer (or an SDR with a wide-enough front end, e.g. a HackRF/RTL-SDR for a rough first pass) scanned over the running board identifies the physical source of a given frequency peak — walk the probe along suspect nets (switcher loop, clock lines, connector pins) and watch for amplitude peaks on the analyzer. scripts/near_field_scan_log.py --csv <spectrum-sweep.csv> --limit references/limits/<standard>.json compares a saved frequency sweep against a stored emissions limit table and reports which peaks exceed it, to triage before a full lab run.
  • Pre-compliance chamber or open-area test site (OATS) rental. Many test houses rent partial-day slots on a semi-anechoic chamber for a pre-scan at a fraction of full compliance-test cost; bring the worst-case operating mode (maximum clock load, all peripherals active) since regulators test worst case, not typical use.
  • Conducted emissions via a LISN (line impedance stabilization network) on the power input, feeding a spectrum analyzer — required for anything with a mains or long DC power cable.

4. Root-cause and fix sequence

When a peak exceeds the limit:

  1. Identify the source (near-field probe) and the coupling path (is it leaving via a cable, a slot in the enclosure, or direct board radiation?).
  2. Prefer source suppression first (slow an edge rate, add series termination, shrink a switching loop) over brute-force shielding — it is cheaper and does not need re-testing the whole enclosure.
  3. If source suppression is insufficient, treat the coupling path (common- mode choke, ferrite, Y-cap, cable shield termination at 360° to chassis).
  4. Only add enclosure shielding/gasketing as the last resort when source and path fixes cannot get enough margin, since it also affects thermal design and cost.
  5. Re-scan after each change — fixes can shift energy to another frequency or path rather than removing it.

Data sources

  • Standard texts and limit tables: CISPR/IEC standards (purchase from IEC Webstore or a national standards body; FCC Part 15 text is free at ecfr.gov).
  • Ferrite/choke impedance-vs-frequency curves: component vendor datasheets (Murata, TDK, Würth Elektronik all publish impedance curves, not just DC resistance).
  • compliance-planner's references/markets.md for which standard applies in which target market, and typical certification cost/lead time.

Prerequisites

  • A working prototype (for scanning) or a routed-but-not-fabricated layout (for the grounding/layout review in step 1).
  • For step 3: a spectrum analyzer and near-field probe set, or a test-house pre-compliance booking. A LISN is required for conducted-emissions pre-scans on mains/DC-powered products.
  • Read compliance-planner first to know which exact standard and limit table applies to the product and its target markets — this skill does not determine that; it only designs to and tests against whatever table it is given.

Limitations

  • A near-field probe scan is a relative, uncalibrated measurement: it finds which net or area is the worst offender and roughly how much margin a fix buys, but it does not produce the calibrated, antenna-distance-corrected numbers (dBµV/m at 3/10 m) that a formal test report requires. Treat a pre-scan pass as encouraging, not as a substitute for the accredited test.
  • Fixes that work in one enclosure/cable configuration (e.g. a development cable) can behave differently with the final production cable or enclosure; always re-verify pre-compliance with production-representative hardware before the paid formal test.
  • This skill does not cover safety standards (electrical safety, battery safety) — those are separate from EMC and are also tracked by compliance-planner.
  • scripts/near_field_scan_log.py only compares against a limit table supplied in references/limits/; it ships with no built-in limit tables and must be given the correct one for the product's actual target market and standard, or its pass/fail verdict is meaningless.

Quality checks before sign-off

  • Every switching converter's power loop area and every clock trace length reviewed against references/grounding-checklist.md before layout freeze.
  • At least one near-field pre-scan run on a production-representative prototype (final cables and enclosure, not a bare board) before booking formal lab time.
  • Every externally accessible connector pin has documented ESD protection with a stated discharge-level rating, cross-checked against the target immunity standard's required level.
  • Any fix applied after a failed scan is re-verified by re-scanning, not assumed to work from first principles alone.
  • A clear written note of which numbers are MEASURED (scan or lab) versus ESTIMATED (datasheet curve, rule of thumb) in the EMC design record.

示例提示词

帮我规划接地屏蔽方案,并做一次EMI预扫描找出超标的干扰源。

所属插件

电子电气与信息工程面向电气与电子工程研究:电力系统仿真(PSS/E、PSLF、PowerWorld、pandapower、PyPSA、OpenDSS、ANDES)与越限/稳定/短路处置,FPGA 时序收敛与跨时钟域检查,电路与 PCB 设计评审,硬件产品开发流程。

安装该插件会一并获得同领域的 63 个 Skill / MCP。

同插件的其他科研 Skill

常见问题

EMC电磁兼容预测试能做什么?

Plans grounding, shielding, and filtering for EMC/EMI, and runs an emissions pre-scan with a root-cause fix sequence. Use before a lab test or after a failed EMI scan。

如何安装EMC电磁兼容预测试?

在科搭 Codar 左侧点击「插件」,在「组件」页签搜索「EMC电磁兼容预测试」并安装;在 Claude Code 或 Codex 中可以发送本页的安装提示词,或下载 Skill 包后解压到 ~/.claude/skills 或 ~/.codex/skills。

EMC电磁兼容预测试需要哪些权限?

该科研 Skill没有声明额外权限;执行具体操作时仍由 Agent 按自身规则请求确认。

EMC电磁兼容预测试经过官方审核吗?

是。SpeedSkills 收录的每个版本都会记录内容摘要与权限声明,当前版本已通过安全审核。