# PTC Thermistor (`ptc`)

> A resistor that climbs steeply when it gets hot, used as a resettable fuse.

![ptc](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/img/ptc.svg)

[Component reference](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/) · [繁體中文](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/passive/ptc/)

**Group:** Passive · **Kind:** `{"kind":"ptc"}`

## When to use it

Use it in series with a load to limit a short-circuit or overload current. It resets when it cools down.

## Pins

| Pin | Domain | Meaning |
|---|---|---|
| `p` | electrical | One terminal |
| `n` | electrical | The other terminal |

## Common parameters

- `r25`: Resistance at 25 °C (Default: 2.3)
- `tref`: Reference temperature: the resistance climbs above it (Default: 120)
- `ismax`: Largest current it may switch off; more raises a warning (Default: 8)

## Parameters

| Key | Unit | Default | Typical range | Description |
|---|---|---|---|---|
| `r25` | Ω | 2.3 |  | Resistance at 25 °C |
| `rmin` | Ω | 1.5 |  | Lowest resistance |
| `tref` | °C | 120 |  | Reference temperature: the resistance climbs above it |
| `k` | 1/K | 0.167 |  | Steepness of the climb above tref, per kelvin |
| `rmax` | Ω | 500k |  | Highest resistance |
| `delta` | W/K | 20m |  | Dissipation factor: heat it loses per kelvin above its surroundings |
| `cth` | J/K | 0.78 |  | Heat capacity |
| `ta` | °C | 25 |  | Temperature of its surroundings |
| `ismax` | A | 8 |  | Largest current it may switch off; more raises a warning |
| `thermal` | — | optional (off) |  | Thermal net for its heat and temperature; replaces delta and cth |

_Parameter descriptions are in English in both languages._

**Use for:** Resettable fuses · Overload protection · Motor and transformer guards

**Not for:** Cutting a short for good → [`fuse`](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/passive/fuse/) · Fast surges → [`tvs`](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/switches/tvs/)

## Formulas

| Formula | Equation | Source |
|---|---|---|
| Resistance at the body temperature | R = (r25 + rmin·exp(k·(T − tref))) ∥ rmax | IEC 60738-1:2006, resistance-temperature characteristic |
| Power that holds it at T | P = delta·(T − ta) | IEC 60738-1:2006, dissipation factor |
| Residual current at T | I = √(P/R) | Hayt, Kemmerly & Durbin, Engineering Circuit Analysis, 8th ed. (2012), ch. 2 (power absorbed by a resistor) |

## Quick check

Inputs:

- `r25`: Rated resistance at 25 °C = 2.3 Ω, `r25`
- `rmin`: Coefficient of the steep rise = 1.5 Ω, `rmin`
- `tref`: Reference temperature = 120 °C, `tref`
- `k`: Temperature coefficient = 167m 1/K, `k`
- `rmax`: Highest resistance = 500k Ω, `rmax`
- `delta`: Dissipation factor = 20m W/K, `delta`
- `ta`: Ambient temperature = 25 °C, `ta`
- `tb`: Body temperature = 140 °C

Outputs:

- `rt`: Resistance at tb = `1/(1/(r25 + rmin*exp(k*(tb - tref))) + 1/rmax)` Ω
- `p`: Power that holds it at tb = `delta*(tb - ta)` W
- `ihold`: Residual current at tb = `sqrt(p/rt)` A
- `vhold`: Voltage that holds it at tb = `sqrt(p*rt)` V

## Model logic

- The resistance is r25 + rmin·exp(k·(T - tref)) in parallel with rmax, so it stays near r25 below tref and levels off at rmax.
- Without a thermal net, T starts at ta and after each accepted step moves toward ta + P/delta with the time constant cth/delta.
- With thermal set, T is the temperature of that thermal net and its heat goes into the net; each step uses the resistance at the end of the last step.
- A warning appears when the current goes above ismax; the part does not fail and resets as it cools.

## Model

The resistance is r25 + rmin * exp(k * (T - tref)), levelling off at rmax. Below tref it stays near r25. Above tref it grows by a factor e every 1 / k kelvin. Its temperature comes from its own power as for the NTC thermistor: from delta, cth and ta, or from the thermal net named by thermal. In an overload it heats past tref, its resistance climbs, and the current falls to a small residual current that keeps it hot. A warning appears when the current goes above ismax.

## Common mistakes

- A PTC trips in seconds, not microseconds. Use a TVS for fast surges and the PTC for long overloads.
- A tripped PTC stays hot on its residual current while the voltage is there. Remove the voltage, or the overload, to let it cool and reset.

## Datasheet and sources

Take r25 from the rated resistance RR, rmin from Rmin, tref from the reference temperature, and ismax from ISmax. Read k and rmax from the resistance versus temperature curve. Fit delta so that the residual current at Vmax matches Ir, and cth from a switching time. The defaults are the TDK B59940C0120A070 (C940), 63 V overcurrent protection data sheet, February 2018.

## Example

Open the example with the command `file.openExample` and the name `demo:ptc`.

---
Generated by `cargo xtask reference` from the usage texts and parameter specs. Do not edit by hand.
