HA16113FPJ Dual Watchdog Timers The HA16113FPJ is a multifunction device that provides microprocessor systems with the necessary regulated power supply, monitors the supply voltage, and generates power-on reset and watchdog reset signals. It is ideally suited for battery-operated systems such as instrumentation systems. Functions • • • • • Regulated power supply Power-on reset Two built-in auto-reset circuits Two built-in watchdog timer circuits (WDT) Output voltage monitoring (LVI) Features • • • • Simultaneous or independent control of auto-reset outputs. Precisely regulated output voltage and accurate NMI trigger voltage (both ±2%). Low-voltage control with NMI, simultaneous RES1 and RES2, and STBY outputs. Independently selectable durations for power-on reset and auto-reset: power-on duration is common to both reset outputs; auto-reset durations can be selected independently. • Reset command input pin (CONT) for second reset output (RES2). • WDT filter function detects minimum pulse width and maximum period of P-RUN input pulses. HA16113FPJ Pin Arrangement P-RUN1 1 24 P-RUN2 Cf1 2 23 Cf2 Rf 3 22 RR CR1 4 21 CR2 STBYadj 5 20 SW STBY 6 19 CONT RES1 7 18 RES2 NMI 8 17 CRES NMIadj 9 16 VOUT Re1 10 15 VCONT Re2 11 14 CS GND 12 13 VCC (Top view) Pin Description Pin No. Symbol Function 1 P-RUN1 Input from main CPU to watchdog timer 1 (WDT1) 2 Cf1 For connecting capacitor Cf1 to determine WDT1 filter characteristic (frequency band) 3 Rf For connecting common bias resistor Rf to determine WDT1 and WDT2 filter characteristics (frequency band), power-on reset time (t on , common to RES1 and RES2), clock-off time of auto-reset circuits 1 and 2, reset high time (tRH1 and t RH2),reset low time (tRL1 and t RL2), and reset pulse delay at voltage drop and recovery. Use the resistor value from 100 kΩ to 500 kΩ. 4 CR1 For connecting capacitor C R1 to determine ton for power-on reset and toff1, tRH1, and tRL1 of auto-reset circuit 1. 5 STBY adj For adjusting standby trigger voltage (insert a resistor between this pin and ground) Recommended range: V H2 = 2.8 to 4.0 V 6 STBY Standby signal output 7 RES1 Reset signal output to main CPU 8 NMI Low-voltage interrupt signal output for memory backup 2 HA16113FPJ Pin Description (cont) Pin No. Symbol Function 9 NMI adj For fine adjustment of Vout trigger level for NMI signal (insert a resistor between this pin and Vout or ground) Recommended range: V H1 = 4.4 to 5.2 V 10 Re1 For connecting resistor Re1 to determine voltage Vout for microprocessor and IC internal circuits (insert between this pin and Re2) 11 Re2 For connecting resistor Re2 to determine voltage Vout for microprocessor and IC internal circuits (insert between this pin and ground) 12 GND Ground 13 VCC Power supply input pin (operating range: 6 to 40 V) 14 CS Input for detecting power supply current 15 VC For base control of external pnp transistor 16 Vout Regulated voltage supplied to microprocessor and IC internal circuits Connect to collector of external pnp transistor 17 CRES Determines reset pulse delay at voltage drop and recovery. NMI output goes low as soon as Vout drops below NMI trigger level. If Vout remains below this level for time t RES, both reset outputs also go low. When Vout recovers above NMI trigger level, first NMI output goes high, then after time tr both reset outputs also go high. Times tRES and t r are adjusted by capacitor CRES inserted between this pin and ground. 18 RES2 Reset signal output to sub CPU 19 CONT Input pin for resetting sub CPU on command, or when sub CPU crashes Low input at CONT causes low output at RES2 20 SW Selects simultaneous control, in which main and sub CPUs are both reset when main CPU crashes, or independent control, in which sub CPU is reset independently of main CPU Open—independent control; connected to ground—simultaneous control 21 CR2 For connecting capacitor C R2 to determine toff2, tRH2, and tRL2 of auto-reset circuit 2 22 RR For connecting bias resistor R R to determine t off1, toff2, tRH1, t RH2, t RL1, and tRL2. Use the resistor value from 100 kΩ to 500 kΩ. 23 Cf2 For connecting capacitor Cf2 to determine WDT2 filter characteristic (frequency band) 24 P-RUN2 Input from sub CPU to watchdog timer 2 (WDT2) 3 HA16113FPJ Block Diagram 16 VOUT STBYdetection block 71 k — 31.2 k + STBY adj NMI adj Over voltage detection block 3.3 k 5 36.8 k 69.7k 15 VCONT 14 CS NMI detection 2 k block 80 k — 13 VCC Detection block — 3.3 k + Reference voltage circuit + 9 Regulator block 25 k CR1 Re1 10 Re2 11 8 NMI 4 6 STBY 2 19 k I 19*I Auto-reset circuit 1 8.4 k Cf1 I/6 1 P-RUN1 CRES 33 k — + 17 Delay circuit block 21 20 + — SW Auto-reset circuit 2 P-RUN2 24 Cf2 I1 3.3 k I2 23 12 GND RES1 7 20 k I*4/3 CR2 4 3.3 k + — Rf 3 22 RR 19 CONT RES2 18 HA16113FPJ Timing Waveforms VBATT 4.7 V 4.6 V (VNMI) 4.6 V 4.5 V Vout 4.7 V 3.0 V (VSTBY) NMI STBY P-RUN1 Crash Crash P-RUN2 RES1 ton CONT RES2 tOFF1 tRL1 ton tOFF1 tRES tr tRH1 tRES tr tOFF2 Note: SW pin is connected to ground. 5 HA16113FPJ Absolute Maximum Ratings (Ta = 25°C) Item Symbol Value Unit VCC power supply voltage VCC 40 V CS voltage VCS 40 V Control pin voltage VC 40 V Control pin current IC 20 mA Vout voltage Vout 10 V P-RUN voltage VPRUN Vout V SW voltage VSW Vout V CONT voltage VCONT Vout V RES current I RES 5 mA NMI current I NMI 5 mA I STBY 5 mA PT 600 mW Operating temperature Topr –40 to +85 °C Storage temperature Tstg –50 to +125 °C STBY current Power dissipation Note Note: At ambient temperatures up to Ta = 60°C. Derated by 9.8 mW/°C above this point. 6 HA16113FPJ Electrical Characteristics (Ta = 25°C, Rf = 180 k , Cf1 = Cf2 = 0.01 µF, C R1 = CR2 = 0.1 µF) Item Symbol Min Typ Max Unit 10 15 mA Test Conditions Chip Power supply current I CC — Regulator Output voltage Vo1 4.875 5.00 5.125 V VCC = 6 to 17.5 V VC current = 5 mA Vo2 4.80 5.00 5.20 V VCC = 6 to 17.5 V VC current = 10 mA Stability with respect to line Voline voltage –50 — 50 mV VCC = 6 to 17.5 V VC current = 10 mA Stability with respect to load current Voload –100 — 100 mV VC current = 0.1 to 15 mA Ripple rejection RREJ 45 75 — dB Vi = 0.5 Vrms fi = 1 kHz Short-circuit detection voltage Vos 0.08 0.14 0.20 V Temperature coefficient of output voltage σVo/σT — –40 — ppm/ °C Maximum adjustable output voltage Vomax — — 7.0 V Low input voltage VIL1, 2 — — 0.8 V High input voltage VIH1, 2 2.0 — — V High input current I IH1, 2 — 0.3 0.5 mA Power-on time t on 25 40 60 ms Clock-off time (1) t off1 80 130 190 ms RR: open Reset low time (1) t RL1 15 20 30 ms RR: open Reset high time (1) t RH1 40 60 90 ms RR: open Clock-off time (2) t off2 25 40 60 ms RR: = 75 kΩ Reset low time (2) t RL2 4 6 9 ms RR: = 75 kΩ Reset high time (2) t RH2 15 20 30 ms RR: = 75 kΩ NMI trigger voltage VNMI 4.45 4.60 4.75 V Hysteresis width of above VHYSN 25 50 100 mV STBY trigger voltage VSTBY 2.70 3.00 3.30 V Hysteresis width of above VHYSS 1.35 1.50 1.65 V RES pulse delay time Drop t RES — 200 — µs CRES = 1500 pF Recovery tr — 200 — µs CRES = 1500 pF P-RUN1/2 input section Watchdog section (both RES1 and RES2 outputs) LVI section VIH = VOL 7 HA16113FPJ Electrical Characteristics (Ta = 25°C, Rf = 180 k , Cf1 = Cf2 = 0.01 µF, C R1 = CR2 = 0.1 µF) (cont) Item NMI output section STBY output section RES1/2 output section CONT and SW input section LVI section 8 Symbol Min Typ Max Unit Test Conditions NMI low voltage VOL1 — — 0.4 V I OL1 = 2 mA NMI high voltage VOH1 — VO1 — V NMI function initial voltage VSTN — 0.7 1.0 V STBY low voltage VOL2 — — 0.4 V STBY high voltage VOH2 — VO1 — V STBY function initial voltage VSTS — 0.7 1.0 V RES1/2 low voltage VOL3 — — 0.4 V RES1/2 high voltage VOH3 — VO1 — V RES1/2 function initial voltage VSTR — 0.7 1.0 V Low input voltage VIL3 — — 0.8 V High input voltage VIH3 2.0 — — V Low input current I IL3 –120 –60 — µA VIL3 = 0 V High input current I IH3 — 0.3 0.5 mA VIH3 = VOL Temperature coefficient of NMI trigger voltage δVH1/δT — 100 — ppm/ °C Temperature coefficient of STBY trigger voltage δVH2/δT — 200 — ppm/ °C I OL2 = 2 mA I OL3, 4 = 2 mA HA16113FPJ External Circuit Constant Calculations Equations for the various functions are given below. CR1 and Cf1 are for RES1. C R2 and Cf2 are for RES2. (Values given in equations are for reference.) Item Equation Remarks Vout = 0.388 × If the desired Vout is 5 V ± 2.5%, recommended values are Re1 = 1.5 kΩ and Re2 = 9.1 kΩ Regulated output voltage Re2 + 2.63 Re1 Vout HA16113FPJ Re1 Short-circuit detection voltage VCS < Iout × RCS When this function operates, VCONT stops drawing current from the base of the external transistor, so Vout output stops Maximum Vout Max < 7.0 V output voltage t RH, t RL (for both RES1 and RES2) t RH = 3.2 × CR × R’ t RL = 1.1 × CR × R’ Re2 Iout R CS V CC Re1 C S V C Vout Re2 Prevents microprocessor damage that would result if the output voltage were raised too high by mistake. The maximum output voltage is fixed. R’ = t ON (for both RES1 and RES2) t ON = 2.2 × CR × Rf t OFF (for both RES1 and RES2) tOFF = 6.1 × C R × R’ R’ = 1 1 1 + Rf RR 1 1 1 + Rf RR Determines the frequency and duty cycle of the reset pulse RES Sets the time from the rise of Vout to the clearing of RES output Vout Sets the time from when P-RUN pulses stop until the reset pulse is output P-RUN tRL tRH tON RES tOFF RES tr, tRES (for both RES1 and RES2) GND t r = 0.75 × CRES × Rf t RES = 0.625 × CRES × Rf tr sets the time from the rise of NMI to the rise of RES, when Vout drops by more than the STBY trigger voltage, then recovers. tRES is the time from the fall of NMI to the fall of RES. 4.65 V (typ) Vout 4.6 V (typ) NMI RES tr tRES 9 HA16113FPJ External Circuit Constant Calculations (cont) Item Equation Remarks VNMI V NMI = 1.2 × 1 + (R1 // 71.7) (R2 // 25) NMI recovery voltage (V NMI high) is: V NMI high = 86.65 86.65 + + 1.2 R2 // 25 R1 73.8 1+ R1 Voltage at which the NMI signal is output when Vout drops. The NMI trigger voltage and NMI recovery voltage can be trimmed by connecting resistors between the NMIadj pin and Vout (R1), and between NMIadj and GND (R2). VNMI high Vout Vout R1 NMIadj R2 NMI VNMI NMI (R1 and R2 are in kΩ ) VSTBY V STBY = 71 1.47× 1 + 31.2 + (36.8 // R3) t Voltage at which the STBY signal is output when Vout drops. The STBY trigger voltage can be adjusted by connecting a resistor (R3) between the STBYadj pin and GND. The STBY recovery voltage cannot be adjusted. VSTBY high Vout Vout VSTBY STBY STBYadj STBY R3 t (R3 is in kΩ ) WDT. Line1 = 0.31 × (Du – 24) Cf × Rf Line2 = Du (= 25%)* Line3 = 0.015 Cf × Rf Line4 = 1 – Du 2.1 × tRH The watchdog timer function determines whether the PRUN pulse is normal or not. A reset pulse is output if PRUN is determined to be abnormal. The normal region is the part bounded by Line1 to Line3 (or Line4) in the diagram. Line4 applies in certain cases, depending on CR, Cf, and the state of P-RUN. (Hz) Line1 Line5 = 99% * Du is the duty cycle of the P-RUN pulse. t RH Du = t RL + t RH Normal area Frequency Line2 Line3 Note: Line2 and Line5 are fixed. Line5 Line4 Duty 10 (%) HA16113FPJ Operating Interconnections (example) VCC RES STBY MAIN CPU NMI PORT GND Re2 Re1 NMI adj NMI RES1 STBY STBY CR1 adj Rf Cf1 P-RUN1 RR Cf2 P-RUN2 PORT HA16113 VCC CS VC Vout CRES RES2 CONT SW CR2 SYSTEM VCC PORT VCC Batt. NMI SUB CPU STBY RES 11 HA16113FPJ Characteristic Curves Watchdog timer characteristic 10 k 1k Normal area P-RUN1 P-RUN2 100 R F CR C F 0.01 µF 180 kΩ 0.1 µF Test circuit 10 0 20 40 60 80 100 (%) Vout characteristic 5.4 5.3 Re1 = 1 kΩ Re1 = 1.5 kΩ Re1 = 2 kΩ 5.2 5.1 Regulated output voltage (V) 5.0 ICONT 4.9 5 mA 4.8 VCC VCONT VOUT 4.7 HA16113FPJ 4 6 8 10 Re2 resistance (kΩ ) 12 12 14 RL Re1 Re2 16 HA16113FPJ ton characteristic Vary the external capacitance (CR) and resistance (Rf) that determine the ton time and measure the variation in ton. (Same for RES1 and RES2) Cf = 0.22 µF 140 12 V 120 RES1, RES2 CR1, CR2 Rf NMI 100 Measure with oscilloscope ton (ms) 80 60 Cf = 0.1 µF 40 Cf = 0.047 µF 20 0 60 100 140 180 220 260 Rf resistance (k Ω) toff characteristic 400 Vary the external capacitance (CR) and resistance (Rf) and measure the variation in toff . (Same for RES1 and RES2) RES1 RES2 300 CR = 0.22 µF toff (ms) 200 CR = 0.1 µF 100 CR = 0.047 µF 0 60 100 140 180 220 260 Rf resistance (k Ω) 13 HA16113FPJ t RL characteristic 60 Vary the external capacitance (CR) and resistance (Rf) and measure the variation in t RL . (Same for RES1 and RES2) RES1 RES2 CR = 0.22 µF 40 t RL (ms) CR = 0.1 µF 20 CR = 0.047 µF 0 60 100 140 180 220 260 Rf resistance (kΩ ) t RH characteristic 180 140 t RH (ms) RES1 RES2 Vary the external capacitance (CR) and resistance (Rf) and measure the variation in t RH. (Same for RES1 and RES2) C R = 0.22 µF 100 60 C R = 0.1 µF 20 C R = 0.047 µF 60 100 140 180 Rf resistance (kΩ ) 14 220 260 HA16113FPJ tr characteristic (for both RES1 and RES2) 800 12 V 600 tr (µs) CRES R f RES2 NMI Measure with oscilloscope CRES = 740 pF 400 CRES = 1500 pF 200 CRES = 3300 pF 0 60 100 140 180 220 260 Rf resistance (k Ω) t RES characteristic (for both RES1 and RES2) 600 12 V 500 CRES R f 400 t RES (µs) RES2 NMI Measure with oscilloscope CRES = 740 pF 300 CRES = 1500 pF 200 CRES = 3300 pF 100 0 60 100 140 180 220 260 Rf resistance (k Ω) 15 HA16113FPJ Precautions If the IC’s ground potential varies suddenly by several volts due to wiring impedance (see figure 7), a false RES pulse may be output. The reason for this is that potentials in the RES pulse generating circuit change together with the Vout-GND potential. The reference potential of the comparator in figure 8 and the potential of the external capacitor have different impedances as seen from the comparator, causing a momentary inversion. The solution is to stabilize the ground potential. Two ways of stabilizing the IC’s ground line are: • Separate the IC’s ground line from high-current ground lines. • Increase the capacitance (Co) used to smooth the Vout output. Wiring impedance SW2 SW1 HA16113FPJ Co RL VIGN Relay or other load Wiring impedance Figure 1 Typical Circuit Vout VCC Vcont Wiring impedance RES C RES + – GND Figure 2 RES Comparator 16 HA16113FPJ Package Dimensions Unit: mm 15.8 16.2 Max 13 12 1.12 Max *0.17 ± 0.05 0.15 ± 0.04 1 2.50 Max 8.4 24 11.8 ± 0.3 1.7 0.15 *0.40 ± 0.08 0.38 ± 0.06 0.20 M *Dimension including the plating thickness Base material dimension 0.20 ± 0.10 0° – 8° 1.27 1.0 ± 0.2 Hitachi Code JEDEC EIAJ Mass (reference value) FP-24D Conforms — 0.6 g 17 HA16113FPJ Cautions 1. Hitachi neither warrants nor grants licenses of any rights of Hitachi’s or any third party’s patent, copyright, trademark, or other intellectual property rights for information contained in this document. Hitachi bears no responsibility for problems that may arise with third party’s rights, including intellectual property rights, in connection with use of the information contained in this document. 2. Products and product specifications may be subject to change without notice. Confirm that you have received the latest product standards or specifications before final design, purchase or use. 3. Hitachi makes every attempt to ensure that its products are of high quality and reliability. However, contact Hitachi’s sales office before using the product in an application that demands especially high quality and reliability or where its failure or malfunction may directly threaten human life or cause risk of bodily injury, such as aerospace, aeronautics, nuclear power, combustion control, transportation, traffic, safety equipment or medical equipment for life support. 4. Design your application so that the product is used within the ranges guaranteed by Hitachi particularly for maximum rating, operating supply voltage range, heat radiation characteristics, installation conditions and other characteristics. Hitachi bears no responsibility for failure or damage when used beyond the guaranteed ranges. Even within the guaranteed ranges, consider normally foreseeable failure rates or failure modes in semiconductor devices and employ systemic measures such as failsafes, so that the equipment incorporating Hitachi product does not cause bodily injury, fire or other consequential damage due to operation of the Hitachi product. 5. This product is not designed to be radiation resistant. 6. No one is permitted to reproduce or duplicate, in any form, the whole or part of this document without written approval from Hitachi. 7. Contact Hitachi’s sales office for any questions regarding this document or Hitachi semiconductor products. Hitachi, Ltd. Semiconductor & Integrated Circuits. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan Tel: Tokyo (03) 3270-2111 Fax: (03) 3270-5109 URL NorthAmerica : http:semiconductor.hitachi.com/ Europe : http://www.hitachi-eu.com/hel/ecg Asia (Singapore) : http://www.has.hitachi.com.sg/grp3/sicd/index.htm Asia (Taiwan) : http://www.hitachi.com.tw/E/Product/SICD_Frame.htm Asia (HongKong) : http://www.hitachi.com.hk/eng/bo/grp3/index.htm Japan : http://www.hitachi.co.jp/Sicd/indx.htm For further information write to: Hitachi Semiconductor (America) Inc. 179 East Tasman Drive, San Jose,CA 95134 Tel: <1> (408) 433-1990 Fax: <1>(408) 433-0223 Hitachi Europe GmbH Electronic components Group Dornacher Straβe 3 D-85622 Feldkirchen, Munich Germany Tel: <49> (89) 9 9180-0 Fax: <49> (89) 9 29 30 00 Hitachi Europe Ltd. Electronic Components Group. Whitebrook Park Lower Cookham Road Maidenhead Berkshire SL6 8YA, United Kingdom Tel: <44> (1628) 585000 Fax: <44> (1628) 778322 Hitachi Asia Pte. Ltd. 16 Collyer Quay #20-00 Hitachi Tower Singapore 049318 Tel: 535-2100 Fax: 535-1533 Hitachi Asia Ltd. Taipei Branch Office 3F, Hung Kuo Building. No.167, Tun-Hwa North Road, Taipei (105) Tel: <886> (2) 2718-3666 Fax: <886> (2) 2718-8180 Hitachi Asia (Hong Kong) Ltd. Group III (Electronic Components) 7/F., North Tower, World Finance Centre, Harbour City, Canton Road, Tsim Sha Tsui, Kowloon, Hong Kong Tel: <852> (2) 735 9218 Fax: <852> (2) 730 0281 Telex: 40815 HITEC HX Copyright ' Hitachi, Ltd., 1998. All rights reserved. Printed in Japan. 18