calc_impedance
Calculate PCB trace impedance or determine trace width from target impedance. Supports microstrip, stripline, and differential modes.
Instructions
计算 PCB 走线阻抗,或根据目标阻抗反算线宽。支持微带线/带状线/差分模式
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | 走线类型 | |
| width | No | 线宽 (mil),与 targetImpedance 二选一 | |
| targetImpedance | No | 目标阻抗 (Ω),填此项则反算线宽 | |
| thickness | No | 铜厚 (mil),默认 1.4 (1oz) | |
| height | Yes | 介质厚度 (mil) | |
| er | No | 介电常数,默认 4.3 (FR4) | |
| spacing | No | 差分间距 (mil),差分模式必填 |