What is Brown-out detection?
A function that resets the microcontroller when the supply voltage drops below the operating minimum, preventing unreliable behavior and corrupt flash writes.
Japanese name: ブラウンアウト検出
A function that resets the microcontroller when the supply voltage drops below the operating minimum, preventing unreliable behavior and corrupt flash writes.
Japanese name: ブラウンアウト検出
When the supply voltage falls, the CPU, flash memory and oscillator are no longer guaranteed to work. The program may execute wrong instructions, and writes to flash or EEPROM may be corrupted partway. Brown-out detection (BOD, or brown-out reset, BOR) holds the microcontroller in reset while the voltage is below a set threshold and lets it run again once the voltage recovers. The threshold has a little hysteresis so the device does not chatter in and out of reset near the boundary.
Many microcontrollers let the threshold be selected; the ATmega328P, for example, offers 1.8 V, 2.7 V and 4.3 V. A microcontroller needs a higher supply voltage at a higher clock frequency, so the threshold is set above the minimum voltage guaranteed for the frequency in use. Too low a setting leaves a range where the device keeps running outside its guaranteed limits. Too high a setting causes a reset every time the voltage dips briefly, for example when a motor starts.
Power-on reset watches the voltage rise when power is first applied. Brown-out detection covers a slowly falling supply and brief dips during operation. The detector draws a small current all the time, so some parts allow it to be turned off during sleep in battery-powered devices. When a more accurate threshold is needed, an external voltage supervisor (reset IC) is used.
Answer: A. To reset the microcontroller when the supply voltage drops below what operation requires, preventing unreliable behavior
When a draining battery or unstable supply lowers the voltage, the microcontroller's circuits are no longer guaranteed to work, and it may execute instructions incorrectly or write garbage to flash. A brown-out detector holds the microcontroller in reset while the voltage is below a set threshold and lets it start only after the voltage has recovered sufficiently. It is an important feature for protecting data.
A condition where the supply does not go away completely but falls below the required voltage, in contrast to a blackout, where power is lost entirely. It is caused by a draining battery, a large load starting or a momentary sag in the supply.
Most microcontrollers have a register that records the cause of the last reset. Reading it at startup distinguishes power-on, brown-out, watchdog and external resets, which helps when investigating a fault.
Brown-out detection appears in 2 practice questions across 2 topics, including Embedded Systems & Firmware, Automotive Semiconductors and Functional Safety.
Building real circuits is a good way to check what you learned in the questions.
As an Amazon Associate I earn from qualifying purchases.
This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.