pcb via current
pcb_via_currentCalculate PCB via current-carrying capacity using the IPC-2221 standard. A plated via is a hollow copper cylinder whose cross-sectional area is the annular ring of plating: A = pi * (D - t) * t, where D is the drill diameter and t is plating thickness. The IPC-2221 empirical formula I = k * dT^0.44 * A^0.725 (k=0.048) then gives the maximum current for a given temperature rise. Also computes via barrel resistance from copper resistivity (1.724e-6 ohm-cm) and barrel length (board thickness). When a target current is specified, returns how many parallel vias are needed. Essential for power planes, high-current paths, and thermal via arrays. Chain with trace_width to verify both trace and via can handle the same current.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| temp_rise_c | No | Allowable temperature rise above ambient in degrees Celsius. IPC-2221 standard uses 10, 20, or 30 C. | |
| target_current_a | No | Optional target current in amperes. When provided, calculates how many parallel vias are needed to carry this current safely. | |
| drill_diameter_mm | No | Via drill hole diameter in millimeters. Common values: 0.2 (microvia), 0.3 (standard), 0.4, 0.6, 0.8, 1.0. | |
| board_thickness_mm | No | Total PCB board thickness in millimeters. Standard 2-layer is 1.6 mm. Common values: 0.8, 1.0, 1.6, 2.0, 2.4. | |
| plating_thickness_um | No | Copper plating thickness on the via barrel wall in micrometers. Standard is 25 um (IPC Class 2). Heavy plating is 50 um (IPC Class 3). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vias_needed | Yes | Number of parallel vias needed for the target current. Null if no target_current_a was provided. | |
| max_current_a | Yes | Maximum current capacity of a single via at the specified temperature rise, in amperes. | |
| resistance_mohm | Yes | DC resistance of the via barrel in milliohms, calculated from copper resistivity and barrel length. | |
| voltage_drop_mv | Yes | Voltage drop across the via at maximum rated current in millivolts. | |
| cross_section_mm2 | Yes | Copper cross-sectional area of the via barrel annulus in square millimeters. | |
| cross_section_mil2 | Yes | Copper cross-sectional area of the via barrel annulus in square mils. | |
| power_dissipation_mw | Yes | Power dissipated in the via at maximum rated current in milliwatts. |