calc_trace_width
Calculate minimum PCB trace width for a given current using IPC-2221 standards. Input current, copper thickness, temperature rise, and layer type to ensure safe trace sizing.
Instructions
根据载流要求计算最小走线宽度 (IPC-2221)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current | Yes | 电流 (A) | |
| thickness | No | 铜厚 (mil),默认 1.4 (1oz) | |
| tempRise | No | 允许温升 (°C),默认 10 | |
| layer | No | 走线层类型,默认 external |