Documentation sections
USB Termination & Signal Integrity Calculator
POSThttps://rftools.io/ api/ py/ v1/ calculate
Slug usb-termination. Calculate USB bus termination resistor values, differential impedance, cable propagation delay and the USB 2.0 minimum rise time for USB 2.0 and USB 3.0
Inputs
Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.
| Name | Unit | Range | Default | Description |
|---|---|---|---|---|
| usbVersionnumber | none | 0 … 1 | 0 | USB Version |
| lineImpedancenumber | Ω | 50 … 150 | 90 | Differential impedance of the data pair, trace or cable: USB 2.0 and USB 3.0 both specify 90 Ω (45 Ω odd-mode per line) |
| cableLengthnumber | m | at least 0.01 | 2 | USB cable length in meters |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| terminationResistorheadline | Ω | Termination Resistor |
| differentialImpedance | Ω | Differential Impedance |
| propagationDelay | ns | Cable Propagation Delay |
| signalRiseTime | ps | USB 2.0 Table 7-8: the high-speed driver rise time is at least 500 ps (T_HSR), a minimum, not a typical value. USB 3.0 specifies no transmitter rise time, so none is reported for it. |
| impedanceError | Ω | How far the line impedance is from the 90 Ω nominal: |Z₀ − 90 Ω| |
| impedanceTolerance | Ω | The deviation from 90 Ω the chosen USB version allows: ±13.5 Ω (USB 2.0, ±15 %) or ±7 Ω (USB 3.0) |
| impedancePercent | % | The deviation as a percentage of the tolerance; above 100 % the line is outside the window |
| compliantImpedance | Ω | The nearest edge of the tolerance window: 90 Ω plus the tolerance at or above 90 Ω, minus it below |
Calling it
- Calculate: one call, the request and response in full, and its errors.
- Batch: this calculator with others, or a sweep, in one request.
- Solve for a target: the value of one input that brings an output to a target.