Microcontroller Brown-out detection
Mostly all microcontrollers have built in Brown-out detection (BOD) circuit, which monitors supply voltage level during operation. BOD circuit is nothing more than comparator, which compares supply voltage to a fixed trigger level.
If microcontroller doesn’t have On-Chip Brown-Out detector, then there can be external circuit used :
The circuit above illustrates the brown out detectors circuit. In real word there are special IC where additional delay circuitry and hysteresis used because normalizing of supply voltage may take some time. Such IC’s are more cheap than one built from discrete components.
As an example lets take Atmega128 microcontroller which have On-chip Brown-Out detector. Trigger level can be 2,7V or 4,0V (selected by programming Fuse bits). Trigger level also has a hysteresis to avoid spikes. The hysteresis can be interpreted as VBOT+=VBOT+VHYST/2 and VBOT-=VBOT-VHYST/2.
So if Brown-Out circuit is enabled by the Fuse bit and Vcc voltage decreases to a value bellow trigger value (VBOT-), Then Brown-Out reset is activated and after supply voltage increases above triggered level (VBOT+) then delay timer starts counting for keeping MCU on reset for some time. After timer counts up, then internal reset signal finishes.
Blogsphere: TechnoratiFeedsterBloglines
Bookmark: Del.icio.usSpurlFurlSimpyBlinkDigg
RSS feed for comments on this post | TrackBack URI for this post
New on WinAVR Tutorial
Running TX433 and RX433 RF modules with AVR microcontrollers,Sometimes in embedded design you may want to go wireless. Might be you will want to log various readi …Programming AVR ADC module with WinAVR,Most of AVR microcontrollers have Analog to Digital Converter (ADC) integrated in to chip. Such solut … |
New on WinARM Tutorial
What are differences between WinARM and WinAVR,Everyone who is working with AVR microcontrollers knows this powerful tool – WinAVR (http://win …LPC2000 watchdog timer,As in all microcontrollers watchdog timers purpose isto reset microcontroller after reasonable amount … |

September 14th, 2008 at 11:35 pm
Thank you for brown out detector explanation.
please provide an example sample project showing how to use on-chip brown out detector of AVR microcontrollers
March 24th, 2009 at 10:18 am
Hello,
Thank you for brown out detector explanation. Its is very helpful.
Please provide an example sample code showing how to use built in Brown-out detection (BOD) circuit of AVR Atmega128 microcontroller.
Regards,
Amol G