ComponentFreeNewv1.0.0
去耦电容选型
目标阻抗法去耦网络选型:按瞬态电流与纹波预算算 Ztarget,结合 MLCC 降额、ESL/ESR 与自谐振频率给出电容组合与数量,输出契约报告。
Claude CodeGeneric
Badges only claim the demo-run passed on that host; cross-host installation is handled by the adapter layer.
Script environment
- node ≥ 20
Dependencies
No dependencies
This skill works standalone.
SKILL.md
Content matches the files inside the package; extracted by the publish pipeline.
去耦电容选型
用目标阻抗法(Ztarget = ΔV / ΔI)为每条电源轨选去耦网络, 而不是"每个电源引脚放一个 100 nF"的经验法则。
1. Brief 确认
每条轨需要:电压、瞬态电流阶跃 ΔI(A)、允许纹波 ΔV(mV)、 电流边沿时间(ns,决定频谱拐点 f_knee = 0.35 / tr)。 MCU 轨可用数据手册的 active/sleep 电流差;FPGA/SoC 核轨 用厂商 PDN 工具给出的瞬态值。拿不到就向用户要,禁止编造。
2. 计算选型
node scripts/cap_select.mjs --rails rails.json --out-dir out
rails.json 格式见 scripts/fixtures/rails.json。脚本:
- Ztarget = ΔV/ΔI;f_knee = 0.35/tr。
- 对候选系列(100 nF/1 µF/4.7 µF/22 µF/100 µF,含典型安装 ESL、ESR 与直流偏压降额系数)算 f_knee 处单颗阻抗。
- 选阻抗最低的高频电容,数量 N = ceil(Z_single / Ztarget)。
- Ztarget < 100 mΩ 时追加聚合物 100 µF + 22 µF 储能,并提示 大小电容并联的反谐振风险(需 PDN 仿真复核)。
产出 out/selection.csv + stdout 契约报告。
3. 落地建议
- N 颗高频电容分布到各电源引脚,100 nF 最近引脚;过孔电感 计入安装电感(脚本的 ESL 已含典型安装值,见参考文档)。
- 降额系数是估计值:正式设计用厂商 DC-bias 曲线(Murata SimSurfing / TDK)复核有效容量。
- N > 8 或 Ztarget < 5 mΩ:板级去耦已到极限,建议改用更低 ESL 封装(0201/反转封装)、埋容或芯片封装内电容。
Rules
- 输入必须来自真实数据手册/厂商工具;无数据先要数据。
- 不打印、不存储任何 API key;本 Skill 不需要第三方凭证。
- 模型是集中参数近似,> 500 MHz 或电源平面腔体效应显著时 必须建议 PDN 场仿真,不得声称"精确达标"。
Package files
references/
scripts/
- decoupling-cap-selection/scripts/cap_select.mjs3.5 KB
- decoupling-cap-selection/scripts/fixtures/rails.json225 B
demo-run/
- demo-run/reports/selection-report.json834 B
- demo-run/selection.csv145 B
Demo run
Passed with warnings0 errors · 1 warnings
pskillry-cap-select 1.0.0 · 2026/11/17
- [info] RECOMMENDATION (3V3_MCU): 5 x 100nF (0402, SRF 20 MHz) for Ztarget 165.0 mohm; bulk: none
- [info] RECOMMENDATION (1V2_CORE): 6 x 100nF (0402, SRF 20 MHz) for Ztarget 50.0 mohm; bulk: 100uF polymer + 22uF
- [warning] ANTI_RESONANCE (1V2_CORE): bulk + HF mix can peak between SRFs; verify with PDN simulation or VNA measurement
Ratings & reviews
Not rated0 ratings
5 star
0
4 star
0
3 star
0
2 star
0
1 star
0
Sign in to rate this skill.
Sign inVersions
- v1.0.0Latest6.2 KB
首发种子版本。
License: MITSHA-256: 14b5eb3bcc915edc…
Related skills
No related skills
Skills with the same output type and use case will appear here.