# NTC Thermistor (`ntc`)

> A resistor that falls as it heats, used to limit inrush current.

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

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

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

## When to use it

Use it in series with a supply input to limit the inrush current into the bulk capacitors. It also works as a temperature sensor on a thermal net.

## Pins

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

## Common parameters

- `r25`: Resistance at 25 °C (Default: 10)
- `b`: B value: how fast the resistance falls with temperature (Default: 2818)
- `delta`: Dissipation factor: heat it loses per kelvin above its surroundings (Default: 10m)

## Parameters

| Key | Unit | Default | Typical range | Description |
|---|---|---|---|---|
| `r25` | Ω | 10 |  | Resistance at 25 °C |
| `b` | K | 2818 |  | B value: how fast the resistance falls with temperature |
| `delta` | W/K | 10m |  | Dissipation factor: heat it loses per kelvin above its surroundings |
| `cth` | J/K | 0.7 |  | Heat capacity |
| `ta` | °C | 25 |  | Temperature of its surroundings |
| `thermal` | — | optional (off) |  | Thermal net for its heat and temperature; replaces delta and cth |
| `imax` | A | 3.5 |  | Largest steady current; above it the part is in a surge |
| `ct` | F | 300u |  | Test capacitance: the capacitor it may charge in one surge from the peak of vt |
| `vt` | V | 230 |  | RMS mains voltage the test capacitance is given at |

_Parameter descriptions are in English in both languages._

**Use for:** Inrush limiting · Temperature sensing

**Not for:** Precise temperature sensing → [`ntcSensor`](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/meters/ntcSensor/) · Resettable overcurrent protection → [`ptc`](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/passive/ptc/)

## Formulas

| Formula | Equation | Source |
|---|---|---|
| Resistance at the body temperature | R = r25·exp(b·(1/(tb + 273.15) − 1/298.15)) | IEC 60539-1:2016, B value |
| Power that holds it at tb | P = delta·(tb − ta) | IEC 60539-1:2016, dissipation factor |

## Quick check

Inputs:

- `r25`: Resistance at 25 °C = 10 Ω, `r25`
- `b`: B value = 2.818k K, `b`
- `delta`: Dissipation factor = 10m W/K, `delta`
- `ta`: Ambient temperature = 25 °C, `ta`
- `tb`: Body temperature = 100 °C

Outputs:

- `rt`: Resistance at tb = `r25*exp(b*(1/(tb + 273.15) - 1/298.15))` Ω
- `p`: Power that holds it at tb = `delta*(tb - ta)` W
- `ihold`: Steady current at tb = `sqrt(p/rt)` A

## Model logic

- Each step it is the resistance r25·exp(b·(1/T − 1/298.15 K)) at the body temperature T reached at the end of the last step.
- It starts at ta; after each accepted step T moves toward ta + P/delta with the time constant cth/delta, exact for a constant power.
- With thermal set, T is the temperature of that thermal net and its heat goes into the net; delta and cth are then not used.
- The energy taken while the current is above imax is compared with ½·ct·(√2·vt)², and more raises a warning; the part does not fail.

## Model

The resistance follows R = r25 * exp(b * (1/T - 1/298.15 K)). Its own power heats it: with no thermal net, its temperature T rises with the power over cth and falls toward ta with the dissipation factor delta, so it settles at ta + P / delta. With thermal set, T is the temperature of that thermal net, and its heat flows into that net. T is updated after each step, so the resistance of a step is the one at the end of the last step. With no thermal net, its temperature is the waveform T(name).

## Common mistakes

- A hot NTC has a low resistance, so a quick restart sees almost no inrush limit. Run the off time too when that matters.
- The resistance changes over seconds. A run of a few milliseconds shows only the cold resistance.

## Datasheet and sources

Take r25 from the ordering table, delta (dissipation factor) and cth (heat capacity) from the general technical data, and b from the B value. When the data sheet gives only Rmin at Imax, b = ln(r25 / Rmin) / (1/298.15 K - 1/T), with T = 298.15 K + Imax² * Rmin / delta. Take imax from the maximum current and ct from the test capacitance at the mains voltage vt: one surge may put ½ * ct * (√2 * vt)² into it, and more raises a warning. Only the energy absorbed while the current is above imax counts as the surge. The defaults are the TDK B57236S0100M (S236, 10 Ω), data sheet July 2019, with imax and ct from the TDK Product Center page of B57236S0100M000.

## Example

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

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