pcb_calc_pdn_impedance
Profile PDN impedance across frequency, modeling VRM, bulk capacitors, MLCC decaps, and plane capacitance, to flag anti-resonance peaks that exceed the target impedance.
Instructions
Frequency-swept PDN impedance profiling. Models VRM, bulk caps, MLCC decaps, and plane capacitance as parallel RLC networks. Sweeps from freq_start to freq_stop and flags anti-resonance peaks exceeding the target impedance Z_target = V * ripple% / I_max.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capacitors | Yes | List of capacitor specs: [{capacitance_uf, esr_mohm, esl_nh, quantity}] | |
| num_points | No | Number of logarithmic sweep points (default 500) | |
| max_current_a | Yes | Maximum transient load current (A) | |
| plane_area_mm2 | No | Power-ground plane pair area (mm^2) | |
| ripple_percent | Yes | Allowed voltage ripple (%) | |
| vrm_r_out_mohm | No | VRM closed-loop output resistance (mohm, default 1) | |
| supply_voltage_v | Yes | Supply rail voltage (V) | |
| frequency_stop_hz | No | Sweep stop frequency (Hz, default 1e9) | |
| vrm_bandwidth_khz | No | VRM control-loop bandwidth (kHz, default 50) | |
| frequency_start_hz | No | Sweep start frequency (Hz, default 1) | |
| dielectric_constant | No | Relative permittivity of inter-plane dielectric | |
| dielectric_height_mm | No | Spacing between power and ground planes (mm) |