Brown Out Detector
A brown-out detector continuously watches a chip's supply voltage during normal operation, ready to force a reset the instant VDD sags below a safe threshold — a fundamentally different job from power-on reset, which only ever handles the one-time transient at startup and has nothing left to do once the chip is running. A brown-out can strike at any arbitrary instant, with the chip already mid-instruction, mid-calculation, or worse, mid-write to non-volatile memory, which is exactly what makes it a genuinely harder problem than the clean power-up ramp this series has already covered.
A brown-out is caused by anything that pulls the supply down without cutting it off entirely — a depleting battery, a sudden current-hungry load elsewhere on the same rail, noisy or unstable external power, a loose connector momentarily increasing contact resistance. None of these events take VDD cleanly to zero the way removing power entirely does; instead, the supply sags into a marginal zone where it is too low for reliable operation but not low enough to simply halt everything. Logic gates in this zone do not fail cleanly — they can produce incorrect outputs, flip-flops can metastably resolve to the wrong value, and any operation already in progress when the droop begins continues executing against a supply that can no longer guarantee correct behavior.
This marginal-zone operation is specifically why a brown-out is more dangerous than a clean power loss, and nowhere is that more consequential than a write in progress to non-volatile memory. A clean, complete power loss simply halts whatever the chip was doing — a flash write that was underway when power vanished entirely just fails to complete, leaving the affected memory in a known, if incomplete, state. A brown-out droop instead can let the write operation partially continue on a supply too weak to guarantee it completes correctly, particularly dangerous given that flash and EEPROM programming depend on an elevated voltage a charge pump generates internally — if the charge pump's own input supply sags mid-operation, the boosted programming voltage it delivers can itself become marginal, corrupting exactly the bits the write was trying to set rather than simply failing to write them at all.
This is why brown-out detection is treated as its own discipline, separate from power-on reset, even though both circuits fundamentally compare a supply voltage against a threshold. Power-on reset solves a one-time bootstrapping problem and stops mattering once the chip is running; brown-out detection has to keep running continuously for the chip's entire powered-on lifetime, watching for a droop that can happen at literally any moment, including the specific moments — an in-progress flash write, a critical calculation, a communication transaction — where an uncontrolled failure does the most damage. Many designs share circuit blocks between the two, often the same bandgap-referenced comparator this series has already covered, but the monitoring behavior and the consequence of a trip are genuinely different problems being solved with related tools.
The trip and release thresholds are deliberately set at different voltages, a design choice called hysteresis, specifically to prevent the detector from oscillating on a noisy or slowly-recovering supply. If a brown-out detector used a single threshold for both triggering reset and releasing it, a supply voltage hovering right at that exact threshold — common during a slow recovery from a droop, or on a rail with ordinary ripple riding on top of it — would cause the reset signal to chatter rapidly between asserted and released, itself a failure mode nearly as damaging as the original brown-out. Setting the release threshold meaningfully above the trip threshold means the supply has to recover with real margin before the chip is allowed to resume, rather than being released the instant it technically crosses back over the same line it just tripped on.
Recovery from a detected brown-out is itself a design decision, not an automatic consequence of the detection circuit alone. Some systems simply hold reset asserted until VDD stabilizes and then restart from the beginning, accepting whatever state was lost. More sophisticated designs pair brown-out detection with error-correcting code or transactional write schemes specifically so that a write interrupted mid-operation can be detected as invalid and either retried or rolled back rather than silently trusted — a system-level answer to a problem the brown-out detector alone can only flag, not fix.
| Circuit | Monitoring window | Typical trigger | Failure mode if absent |
|---|---|---|---|
| Power-on reset | Startup only | VDD rising through threshold | Chip starts in an undefined state |
| Brown-out detector | Continuous, entire powered-on lifetime | VDD sagging below threshold mid-operation | Silent data/write corruption, not just a halt |
| Hysteresis margin | Both | Prevents chatter near the threshold | Reset oscillation on a noisy or recovering supply |
A brown-out detector is the circuit that recognizes a specific, dangerous middle ground this series has not yet covered directly — a supply that is neither fully present nor fully absent, where the chip is running badly rather than cleanly stopped. It picks up exactly where power-on reset leaves off, trading a one-time startup check for a lifetime of continuous vigilance, because the moment a chip starts trusting its own supply is also the first moment that supply can quietly betray it.