background image

AVR180

8

Alternative 3: Integrated Circuit Solutions

Characteristics

Easy to Mount

Very Accurate Threshold Voltage

Low Power Consumption

Small Footprint

Low Component Count

Wide Variety in Additional Functionality

Introduction

A selection of integrated circuits is available from various
semiconductor suppliers. They vary from simple 3-pin fixed
voltage detectors to advanced circuitry containing watch-
dog timers and power on reset (POR) time-outs. Because
all AVR MCUs have built-in watchdog and POR circuitry,
these functions do not require handling by the external IC.
The threshold accuracy is better than ±1% for most circuits.
Current consumption is in the µA range. Make sure to
choose a device with an active low output. A wide variety of
package types are available, ranging from miniature three-
pin SOT-23 to large packages with high pin count.

Figure 5a. Detector with Push-Pull Output

Figure 5b. Detector with Open-Drain Output

Figure 5c. Alternative Location of Manual Reset Switch

Output Driver

The IC reset output can be push-pull or open drain (open
collector), either CMOS or TTL output levels. Open drain

solutions allow easy connection of a manual reset button
and/or in-system programmers. This feature can also be
implemented with push-pull outputs, with the addition of a
resistor in series with the output. The ISP and/or manual
button is connected between the resistor and the AVR
RESET input (see Figure 5a and Figure 5b).

Figure 6.  Reset Pulse Stretching

Reset Pulse Stretching
An additional feature in some of these circuits is stretching
of the reset pulse. The reset is held active for a defined
amount of time after the condition (power-on reset, brown-
out reset etc.) that caused the reset has returned to normal
(see Figure 6). Some of these devices also provide this
feature for the manual reset. The device senses the output
level, detecting the closing and opening of a reset button.
When the button is released, the device keeps the reset
line active for an additional amount of time. WARNING!
This feature will interfere with the operation of an in-system
programmer, which toggles the RESET line actively.

Power Regulator

Several integrated power regulators includes the low-volt-
age detector, combining both functionalities in one device.
This reduces part count, and often adds the functionality at
no extra cost.

Battery Backup Solutions

Some systems contain a battery to supply power when the
main power drops. The power regulator in such systems
often provides a status signal to the MCU telling which
source currently supplies power to the circuit. Connecting
this signal to RESET will shut the AVR down when battery
power is used, preserving RAM contents but halting execu-
tion. Alternatively, connecting this signal to an input pin, the
AVR can detect the event and execute a safe power down
sequence, switching off power hungry peripheral equip-
ment (motor, display etc.) before entering power-down
mode. (The power consumption in RESET is the same as
in normal active running mode, whereas the consumption
in power down mode is in the µA range.) When main power
supply voltage returns to an acceptable level, the AVR

V

CC

R1

1 - 4K 

OPTIONAL
RESET
SWITCH

ISP

RESET

DETECTOR

LOGIC

V

CC

OPTIONAL
RESET
SWITCH

ISP

RESET

DETECTOR

LOGIC

V

CC

GND

RESET

V

CC

RESET WITHOUT
PULSE STRETCHING

V

CC

V

T

RESET WITH
PULSE STRETCHING

t

BROWN-OUT

t

BROWN-OUT

t

RST

Summary of Contents for AVR180

Page 1: ...e instructions the supplied volt age must always stay above the mini mum voltage level set by the chosen operating frequency When supplied voltage drops below this level the CPU may start to execute s...

Page 2: ...s described in the introduction may initialize an unintended write to the non volatile memory This may cause random corruption of the memory contents Note 1 As the AVR CPU is not capable of writing to...

Page 3: ...ost design The voltage transition on the RESET pin is very steep Combined with the large hysteresis the accuracy is high On the other hand the response time is slow which makes it unsuitable for rapid...

Page 4: ...ly large current C1 and C2 Capacitors C1 and C2 short RF noise picked up in the cir cuitry and amplified by the transistors Both capacitors can be omitted but a value greater than 1nF is recommended F...

Page 5: ...tor R5 is usually chosen much smaller than the other resistors R1 R4 the last two expressions both sim plify to I VCC R1 R2 R3 R4 VCC 1 R1 R2 1 R3 R4 I VCC R1 R2 R3 R4 R5 R RESET I VCC R1 R2 R5 R RESE...

Page 6: ...transistor T1 is open keeping RESET at VCC When the supply voltage VCC drops below the threshold voltage VT the transistor T1 closes This allows resistor R3 to pull RESET low active The closing of th...

Page 7: ...ide the transistor T1 and pull the RESET pin low To ensure proper low voltage detector operation the series resistance in R3 R4 should not exceed the recommended 50 k Threshold Accuracy As the thresho...

Page 8: ...e reset is held active for a defined amount of time after the condition power on reset brown out reset etc that caused the reset has returned to normal see Figure 6 Some of these devices also provide...

Page 9: ...nput pin is higher than the reference voltage the output will be activated The threshold voltage is easily defined by a volt age divider R1 and R2 Notes 1 Offered by Maxim Integrated Product Inc 2 Off...

Page 10: ...AVR180 10...

Page 11: ...AVR180 11...

Page 12: ...port devices or systems Atmel Headquarters Atmel Operations Corporate Headquarters 2325 Orchard Parkway San Jose CA 95131 TEL 408 441 0311 FAX 408 487 2600 Europe Atmel U K Ltd Coliseum Business Centr...

Reviews: