# Output OVP (`ovpComparator`)

> Holds the switch off while the feedback voltage is above a multiple of the reference, non-latched or latch-off.

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

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

**Group:** ICs · **Kind:** `{"definition":"ovpComparator","kind":"subsystem"}`

## When to use it

Use it at the architecture stage to set the over-voltage threshold against the overshoot after a load release. Wire OVP through an inverter into the modulator's enable, together with the soft start's RUN.

## Pins

| Pin | Domain | Meaning |
|---|---|---|
| `FB` | electrical | Feedback voltage |
| `REF` | electrical | Reference the thresholds scale with |
| `OVP` | signal | High while the output is over-voltage |
| `GND` | electrical | Reference of FB and REF |

## Common parameters

- `kOv`: Rising threshold as a multiple of the reference: OVP trips above kOv·REF at FB (Default: 1.1)
- `kHys`: Hysteresis as a fraction of the reference: OVP releases below (kOv − kHys)·REF (Default: 0.02)
- `vRef`: Fixed reference instead of the REF pin (0 = read REF) (Default: 0)
- `tFilter`: Time FB must stay above the threshold before OVP rises (0 = at once) (Default: 0)
- `latch`: 1 = latch off: OVP stays high to the end of the run; 0 = released below the falling threshold (Default: 0)

## Parameters

| Key | Unit | Default | Typical range | Description | Datasheet source |
|---|---|---|---|---|---|
| `kOv` | — | 1.1 | 1 – 3 | Rising threshold as a multiple of the reference: OVP trips above kOv·REF at FB | typical, user must set |
| `kHys` | — | 0.02 | 0 – 500m | Hysteresis as a fraction of the reference: OVP releases below (kOv − kHys)·REF | typical, user must set |
| `vRef` | V | 0 | 0 – 100 V | Fixed reference instead of the REF pin (0 = read REF) | typical, user must set |
| `tFilter` | s | 0 | 0 – 1 s | Time FB must stay above the threshold before OVP rises (0 = at once) | typical, user must set |
| `latch` | — | 0 | 0 – 1 | 1 = latch off: OVP stays high to the end of the run; 0 = released below the falling threshold | typical, user must set |

_Parameter descriptions are in English in both languages._

## Model

OVP goes high once V(FB) has stayed above kOv·REF for tFilter and low again once V(FB) falls below (kOv − kHys)·REF. With latch set it stays high to the end of the run. With vRef above zero the block compares with that fixed reference and only holds REF to GND through 1 GΩ.

## Common mistakes

- The defaults are typical, user must set. Put kOv above the output's regulation band and its ripple at FB, or the OVP trips in steady state.
- A soft-started REF trips the OVP at start-up when the output leads it. Compare with a steady reference: set vRef, or wire REF to the internal reference rather than the soft start.

Problems rules: `ground.missing`

## Datasheet and sources

This is an architecture block. kOv is the OVP rising threshold as a fraction of the reference and kHys its hysteresis. A real controller gives them as percentages of its feedback reference.

## Example

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

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