科研 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.
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-plannerand 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-analysisfor 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>.jsoncompares 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:
- 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?).
- 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.
- If source suppression is insufficient, treat the coupling path (common- mode choke, ferrite, Y-cap, cable shield termination at 360° to chassis).
- 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.
- 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'sreferences/markets.mdfor 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-plannerfirst 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.pyonly compares against a limit table supplied inreferences/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.mdbefore 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预扫描找出超标的干扰源。
所属插件
安装该插件会一并获得同领域的 63 个 Skill / MCP。
同插件的其他科研 Skill
- ANDES电力系统动态仿真Runs ANDES power-system dynamic studies via PowerMCP: power flow, eigenvalue analysis, and time-domain simulation. Use for damping, stability, or oscillation-mode questions.
- 电池选型与电源预算Builds an evidence-tagged power budget and sizes a manufacturable battery with pouch outline, seals, and derating. Use when sizing runtime, mAh, charging, or supply rails.
- FPGA比特流生成与烧录Generates a Xilinx FPGA bitstream and programs it over JTAG, or burns an MCS image into flash for power-on boot. Use when flashing a board or diagnosing boot failures.
- 硬件项目发布包组装Assembles a hardware release package (fab files, BOM/CPL, carts, assembly guide, hashed manifest) and runs a ready-to-build gate. Use before ordering prototypes.
- 时钟域交叉风险审查Audits clock-domain-crossing risk on an FPGA design and applies the smallest safe synchronizer or constraint fix. Use to resolve CDC violations before sign-off.
- 硬件产品认证合规规划Plans certifications a hardware product needs per target market (FCC, CE/RED, UKCA, battery/radio rules), with cost and lead-time estimates. Use before PCB or enclosure tooling.
- Vivado XDC时序约束编写Authors a Vivado XDC timing constraint set from scratch: clocks, I/O delays, and timing exceptions. Use first, before timing closure, on a design with no or incomplete constraints.
- N-1/N-2应急违规处置Playbook for N-1/N-2 contingency violations: ranks contingencies and proposes preventive and corrective actions. Use after a study shows voltage or thermal problems.
- 潮流计算不收敛诊断Playbook for power-flow convergence failures in PSS/E, PSLF, PowerWorld, pandapower, PyPSA, surge, or OpenDSS. Use when a case diverges or fails to solve.
- 硬件成本核算与采购Prices a hardware product at multiple volumes with one-time vs per-unit cost, landed cost per country, and sourcing leads. Use to estimate unit cost before a pitch.
- RTL仿真覆盖率收敛Measures RTL simulation code coverage and iteratively closes it toward a target by adding testbench stimulus. Use for a sign-off-grade coverage report.
- 配电网DER接纳能力治理Playbook for distribution DER hosting-capacity limits: voltage rise, reverse flow, and thermal limits from PV and storage. Use to estimate how much DER a feeder can host.
- 电子电路设计与审查Designs, audits, or corrects an electronic circuit from a brief, schematic, or netlist, checking power domains, reset sequencing, and ratings. Use for circuit review.
- 硬件可制造性红队审查Red-team audit that fix-loops a hardware project to ready-to-build, re-deriving parts, rails, battery physics, and cost. Use for a reality check before committing to a design.
- 电力系统动态稳定处置Playbook for dynamic stability problems: poor damping, angle instability, or sustained oscillations from eigenvalue or time-domain studies. Use after an unstable study result.
- Egret电力市场调度优化Runs Egret market/operations optimization (DC-OPF, AC-OPF, unit commitment) via PowerMCP. Use for cheapest dispatch, unit commitment, or congestion checks.
- 电子元器件选型核查Researches electronic components against primary sources: part numbers, datasheet limits, lifecycle, stock, and price breaks, one dossier per part. Use to verify or source a BOM.
- 产品外壳参数化建模Designs a hardware enclosure as parametric CAD with STEP/STL/GLB output, a DFM check, and Blender assembly validation. Use when designing a case or checking fit.
- 电网频率响应问题处置Playbook for frequency problems: low inertia, high RoCoF, weak primary response, or UFLS risk after loss of the largest unit. Use when a study flags frequency issues.
- FPGA RTL到比特流全流程Drives a Xilinx FPGA design end to end through RTL, simulation, synthesis, implementation, and bitstream, gated at every stage. Use to run the complete build flow in one pass.
- 硬件产品全流程总协调Leads a physical electronic product from idea to a doable design, coordinating specs, parts, battery, PCB, enclosure, render, and cost sub-skills. Use starting a hardware product.
- 硬件原理图与BOM审查Reviews hardware projects: checks schematics against datasheets, pin connections, and firmware-to-hardware alignment across KiCad/Altium files. Use for a design alignment check.
- FPGA ILA在线逻辑调试Inserts an Integrated Logic Analyzer, programs the board, arms a trigger, and reads captured waveforms on real FPGA hardware. Use when sim passes but the board fails.
- 新能源并网影响评估Playbook for screening the grid impact of a new generator, storage, or large-load interconnection. Use to check whether a given MW can connect and what upgrades it needs.
常见问题
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 收录的每个版本都会记录内容摘要与权限声明,当前版本已通过安全审核。