Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
?
EE Times-Asia > Amplifiers/Converters
?
?
Amplifiers/Converters??

Power-Up Considerations

Posted: 30 May 2000 ?? ?Print Version ?Bookmark and Share

Keywords:microchip technology? pic16c5x? microcontroller? harvard architecture? power management?

/ARTICLES/2000MAY/2000MAY30_AMD_CT_AN1.PDF

2 ? 1993 Microchip Technology Inc. DS00522C-page 1 Power-Up Considerations 2 AN522 INTRODUCTION When powering up all microcontrollers it is necessary for the power supply voltage to traverse voltage ranges where the device is not guaranteed to operate before the power supply voltage reaches its final state. Since some circuits on the device (logic) will start operating at voltage levels lower than other circuits on the chip (memory), the device may power-up in an unknown state. To guarantee that the device starts up in a known state, it is necessary that it contain a power-up reset circuit. PIC16C5X microcontrollers are equipped with on-chip power-on reset circuitry, which eliminates the need for external reset logic. This circuit will function in most power-up situations where VCC rise time is fast enough (50 ms or less). This application note describes the typical power-up sequence for PIC16C5X microcon- trollers. Methods of assuring reset on power-up and after a brownout are discussed and simple, low cost external solutions are discussed for power-up situations where the PIC16C5X's internal circuitry cannot provide the reset. POWER-UP SEQUENCE The PIC16C5X incorporates complex power-on reset (POR) circuitry on-chip which provides solid, reliable internal chip reset for most power-up situations. To use this feature, the user merely needs to tie MCLR to VDD. A simplified block diagram of the on-chip reset circuitry is shown in Figure 1. On power-up, the reset latch and the start-up timer are reset to appropriate states by the power-on reset (POR). The start-up timer will begin counting once it detects MCLR to be high (i.e., external chip reset goes inactive). After the time-out period, which is typically 18 ms long, the timer will reset the reset latch and thus end the on-chip reset signal. Figures 2 and 3 are two power-up situations with relative fast rise time on VDD. In Figure 1, VDD is stable when MCLR is brought high (i.e., reset pulse is being provided by external source). The chip actually comes out reset about tOST ms after that, where tOST = oscillator start-up timer. (The timer is called oscillator start-up timer becausethetime-outwasincorporatedprimarilytoallow the crystal oscillator to stabilize on power-up.) In Figure 3, the MCLR and VDD are tied together and clearly the on-chip rest mechanism is being utilized. The VDD is stable before the start-up timer expires and there is no problem with proper reset. Figure 4, where VDD rise time is much greater than tOST (typically 18 ms) clearly is the potentially problematic situation. The POR (power-on reset) pulse comes when VDD isabout1.5V. MostCMOSlogic,includingthestart- up timer starts functioning between 1.5V to 2.0V. When the start-up timer starts times out, the chip reset is ended and the chip attempts to execute. If by this time the VDD has reached VDDMIN value, then all circuits are guaran- teed to function correctly and power-up reset is success- ful. If, however, the VDD slope was too slow and had not reached VDDMIN, then the chip may or may not function properly. FIGURE 1 - PIC16C5X INTERNAL RESET CIRCUIT Power-Up Considerations 2-11 RC OSC POWER-UP DETECT 8-BIT ASYNCH RIPPLE COUNTER (START-UP TIMER) CLEAR WDT RESET S R Q Q CHIP_RESET VDD POR (POWER-ON RESET) MCLR PIN DS00522C-page 2 ? 1993 Microchip Technology Inc. Power-Up Considerations FIGURE 2 - EXTERNAL RESET PULSE FIGURE 3 - INTERNAL RESET (VDD AND MCLR TIED TOGETHER) FIGURE 4 - INTERNAL RESET (VDD AND MCLR TIED TOGETHER): SLOW VDD RISE TIME VDD INTERNAL POR MCLR OST TIME-OUT INTERNAL RESET 0 V V1 5 V When VDD rises slowly, the internal time-out period expires long before VDD has reached its final value. In this example, the chip will reset properly if, and only if, V1 VDDMIN. tOST VDD INTERNAL POR MCLR OST TIME-OUT INTERNAL RESET tOST VDD INTERNAL POR MCLR OST TIME-OUT INTERNAL RESET tOST 2-12 2 ? 1993 Microchip Technology Inc. DS00522C-page 3 Power-Up Considerations 2 EXTERNAL POWER-ON RESET CIRCUIT To use power supplies with slow rise times it is neces- sarytouseanexternalpower-onresetcircuitsuchasthe one shown in Figure 5. This circuit uses an external RC to generate the reset pulse. The time constant of the RC should be long enough to guarantee that the reset pulse is still present until VDD has reached VDD min. R should be 40K or less to guarantee that the MCLR will pull to within 0.2 volts of VDD. (since the leakage spec on MCLR is ?5 ?A, a resistor larger than 40K may cause input high voltage on this pin to be less than VDD ? 0.2V, the required spec). The diode D is used to rapidly discharge the capacitor on power-down. This is very important as a power-up reset pulse is needed after a short power-down (less than the time constant of RC) or after a power spike. The resistor R1 protects against high current flowing into MCLR pin from fully charged capacitorCintheeventMCLRpinbreakdown is induced through ESD or EOS. The circuit, however, does not protect against brown-out situations where the power does not drop to zero, but merely dips below VDD MIN. In such a situation, voltage at the MCLR pin will not go low enough (i.e., below VIL) to guarantee a reset pulse. The following section presents an example circuit to protect against such brown-outs. FIGURE 5 - EXTERNAL POWER-ON RESET CIRCUIT BROWNOUT PROTECTION In many applications it is necessary to guarantee a reset pulse whenever VDD is less than VDD min. This can be accomplished using a brownout protection circuit such as the one shown in Figure 6. This is a simple circuit that causes a reset pulse whenever VDD drops below the zener diode voltage plus the Vbe of Q1. A 3.3 volt zener will produce a reset pulse whenever VDD drops below about 4 volts. This circuit has a typical accuracy of about ?100 mV. A less expensive, albeit less precise, brown- out circuit is shown in Figure 7. Transistor Q1 turns off when Vbe = VDD? R1/(R1+R2) falls below 0.7 V allowing R3 to pull down MCLR input. FIGURE 6 - BROWNOUT PROTECTION CIRCUIT IN4684 VDD Q1 MCLR PIC16C5X 100K 10K VDD 33K FIGURE 7 - BROWNOUT PROTECTION CIRCUIT VDD Q1 MCLR PIC16C5X R3 R3 DS00522C-page 4 ? 1993 Microchip Technology Inc. Power-Up Considerations NOTES: 2-14 WORLDWIDE SALES & SERVICE AMERICAS (continued) San Jose Microchip Technology Inc. 2107 North First Street, Suite 590 San Jose, CA 95131 Tel: 408 436-7950 Fax: 408 436-7955 ASIA/PACIFIC Hong Kong Microchip Technology Unit No. 3002-3004, Tower 1 Metroplaza 223 Hing Fong Road Kwai Fong, N.T. Hong Kong Tel: 852 2 401 1200 Fax: 852 2 401 3431 Korea Microchip Technology 168-1, Youngbo Bldg. 3 Floor Samsung-Dong, Kangnam-Ku, Seoul, Korea Tel: 82 2 554 7200 Fax: 82 2 558 5934 Singapore Microchip Technology 200 Middle Road #10-03 Prime Centre Singapore 188980 Tel: 65 334 8870 Fax: 65 334 8850 Taiwan Microchip Technology 10F-1C 207 Tung Hua North Road Taipei, Taiwan, ROC Tel: 886 2 717 7175 Fax: 886 2 545 0139 EUROPE United Kingdom Arizona Microchip Technology Ltd. Unit 6, The Courtyard Meadow Bank, Furlong Road Bourne End, Buckinghamshire SL8 5AJ Tel: 44 0 1628 851077 Fax: 44 0 1628 850259 France Arizona Microchip Technology SARL 2 Rue du Buisson aux Fraises 91300 Massy - France Tel: 33 1 69 53 63 20 Fax: 33 1 69 30 90 79 Germany Arizona Microchip Technology GmbH Gustav-Heinemann-Ring 125 D-81739 Muenchen, Germany Tel: 49 89 627 144 0 Fax: 49 89 627 144 44 Italy Arizona Microchip Technology SRL Centro Direzionale Colleoni Palazzo Pegaso Ingresso No. 2 Via Paracelso 23, 20041 Agrate Brianza (MI) Italy Tel: 39 039 689 9939 Fax: 39 039 689 9883 JAPAN Microchip Technology Intl. Inc. Benex S-1 6F 3-18-20, Shin Yokohama Kohoku-Ku, Yokohama Kanagawa 222 Japan Tel: 81 45 471 6166 Fax: 81 45 471 6122 9/22/95 AMERICAS Corporate Office Microchip Technology Inc. 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 602 786-7200 Fax: 602 786-7277 Technical Support: 602 786-7627 Web: http://www.mchip.com/microhip Atlanta Microchip Technology Inc. 500 Sugar Mill Road, Suite 200B Atlanta, GA 30350 Tel: 770 640-0034 Fax: 770 640-0307 Boston Microchip Technology Inc. 5 Mount Royal Avenue Marlborough, MA 01752 Tel: 508 480-9990 Fax: 508 480-8575 Chicago Microchip Technology Inc. 333 Pierce Road, Suite 180 Itasca, IL 60143 Tel: 708 285-0071 Fax: 708 285-0075 Dallas Microchip Technology Inc. 14651 Dallas Parkway, Suite 816 Dallas, TX 75240-8809 Tel: 214 991-7177 Fax: 214 991-8588 Dayton Microchip Technology Inc. 35 Rockridge Road Englewood, OH 45322 Tel: 513 832-2543 Fax: 513 832-2841 Los Angeles Microchip Technology Inc. 18201 Von Karman, Suite 455 Irvine, CA 92715 Tel: 714 263-1888 Fax: 714 263-1338 New York Microchip Technology Inc. 150 Motor Parkway, Suite 416 Hauppauge, NY 11788 Tel: 516 273-5305 Fax: 516 273-5335 Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded by updates. No representation or warranty is given and no liability is assumed by Microchip Technology Incorporated with respect to the accuracy or use of such information, or infringement of patents or other intellectual property rights arising from such use or otherwise. Use of Microchip's products as critical components in life support systems is not authorized except with express written approval by Microchip. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights. The Microchip logo and name are registered trademarks of Microchip Technology Inc. All rights reserved. All other trademarks mentioned herein are the property of their respective companies. All rights reserved. ? 1995, Microchip Technology Incorporated, USA.




Article Comments - Power-Up Considerations
Comments:??
*? You can enter [0] more charecters.
*Verify code:
?
?
Webinars

Seminars

Visit Asia Webinars to learn about the latest in technology and get practical design tips.

?
?
Back to Top