M62254FP Standard Battery Charger Controller REJ03F0244-0200 Rev.2.00 Jun 16, 2008 Description The M62254FP is designed as standard battery charger controller. The M62254FP has functions which require for the battery charge control on single chip. Not only the combination of M62254 and MCU capable of handling battery charge control, but also it is capable of monitoring battery temperature, prevent from over current or voltage, using minimal peripherals. It also has feedback function to the primary source of SW power supply, which can used to control feedback of charge current and output voltage. Features • • • • • • • Built-in reset circuit and WDT function Built-in multiplexer and level magnification circuit with 4 input ports Built-in two standard stand alone OP-amp Built-in sub-switch circuit with feedback function Built-in 3 line serial data interface function Built-in low input/output operation 5 V voltage regulator function Built-in charge current/output voltage control circuit Applications Video camera, mobile phone and general battery charger for other digital equipments Block Diagram VDET Iadj IDET 28 30 29 OPOUT1 36 Voltage control OP + − + − Current control OP VDD 19 Voltage regulator LED1 LED2 LED3 MSW1MSW2 3 4 8 5 7 LED driver circuit SSW 9 Main SW driver Sub SW driver Voltage control circuit Driver detection circuit Serial ⇒ Parallel conversion circuit Current control circuit CS IN CLOCK + 1 16 ISENSE − 12 IN1 Reset circuit OPOUT2 35 13 IN2 WDT Amp2 + 3 18 27 26 24 22 23 17 33 34 2 1 25 6 OPIN2− OPIN2+ OPIN1− OPIN1+ Ctd P.GND RESET TC WD CS DI CK DOUT REJ03F0244-0200 Rev.2.00 Jun 16, 2008 Page 1 of 11 14 IN3 + − − 31 GND 10 CD Amp1 9 + − P.C 32 VCC VB 20 21 15 IN4 1 11 REF M62254FP Pin Arrangement M62254FP OPIN1+ OPIN1− LED1 LED2 LED3 P.GND MSW1 MSW2 SSW CD REF IN1 IN2 IN3 IN4 ISENSE DOUT RESET 1 36 2 35 3 34 4 33 5 32 6 31 7 30 8 29 9 28 10 27 11 26 12 25 13 24 14 23 15 22 16 21 17 20 18 19 OPOUT1 OPOUT2 OPIN2+ OPIN2− P.C GND Iadj IDET VDET TC WD Ctd CS CK DI VB VCC VDD (Top view) Outline: PRSP0036GA-A (36P2R-A) Pin Description Pin No. 24 23 Pin Name CS CK 22 DI 17 11 12 to 15 16 10 9 7, 8 3 to 5 19 21 20 29 30 28 32 2, 33 1, 34 36, 35 31 6 18 27 26 25 DOUT REF IN1 to IN4 ISENSE CD SSW MSW1, MSW2 LED1 to LED3 VDD VB Vcc IDET Iadj VDET P.C OPIN1–, OPIN2– OPIN1+, OPIN2+ OPOUT1, OPOUT2 GND P.GND RESET TC WD Ctd Function The serial data input pin which used to receives 8-bit wide serial data. The shift clock input pin which takes the input signal of DI pin to 8-bit shift register by the rising edge of the clock signal. When CS pin is "Low", this pin can receive the data into the 8-bit shift register. The each bit will be latched at rising edge of the clock signal. The output pin of the amplified A/D input. The reference voltage output pin of the A/D converter. The A/D converter input pin. The current sense input pin. The input pin for the current detection to feedback of sub-switch driver. The sub-switch driver output pin. The main switch driver output pin. (Open collector) The LED driver output pin. (Open collector) The stabilized +5 V output pin. The pre-drive pin which used to connect the external PNP Tr. The power supply pin. The current detection input pin. The input pin for current detection adjustment. The voltage detection input pin. The feedback pin for voltage and current control. The inverted input pin of OP-amp. The non-inverted input pin of OP-amp. The OP-amp. output pin. (Open collector output) The ground pin. The ground pin of power unit. (Main switch driver and LED driver) The output pin of Reset and WDT. (Pulled up to VDD) The pin used to connect capacitor to determine the time constant of WDT. The input pin of the WDT. The pin used to connect capacitor to determine delay time the output after the Reset. REJ03F0244-0200 Rev.2.00 Jun 16, 2008 Page 2 of 11 M62254FP Absolute Maximum Ratings Items Power supply voltage Main switch drive current Sub switch drive current LED drive current Regulator output current P.C drive current Main switch maximum voltage Sub switch maximum voltage LED maximum drive voltage P.C maximum voltage Power dissipation Thermal derating ratio Operating temperature Storage temperature REJ03F0244-0200 Rev.2.00 Jun 16, 2008 Page 3 of 11 Symbols Vcc ISW ISUB ILED IB IPC VSW VSUB VLED VPC Pd Kθ Topr Tstg Ratings 16 200 –5 30 20 10 Vcc Vcc Vcc Vcc 650 6.5 –20 to +85 –40 to +125 Unit V mA mA mA mA mA V V V V mW mW/°C °C °C M62254FP Electrical Characteristics (Ta = 25°C, Vcc = 12 V, ISW = 50 mA, ILED = 20 mA, unless specified otherwise) Voltage Mag. OP-Amp. Control OP Driver WDT/RESET 5 V power supply Block Item Power supply voltage Circuit current Stabilized voltage output Input variable ratio Load variable ratio Ripple remove ratio Symbol Vcc Icc VDD Reg-in Reg-L R.R Min I/O voltage difference VDD detection voltage Hysteresis voltage WD input current WD "H" input voltage WD "L" input voltage TC charge current TC discharge current VDEF VTH1 ∆VTH1 IWD VWDH VWDL ITCH ITCL Reset output saturation voltage WDT time Reset timer time Reset output delay time Min input pulse width Main SW "L" output voltage Sub SW "L" output voltage LED "L" output voltage Sub SW detection voltage Input voltage range Input bias current P.C "L" output voltage Input offset voltage Input bias current Input offset current Phase input range Open loop gain Slew rate Output voltage range Output sink current ISENSE input voltage range IN input voltage range VRESL IN input current IIN tWD tRT td tWDIN (MIN) VsatM VsatS VsatL VCD VIN VPCL VIo IIB IIO VICM AV SR VOR Isink VISENSE VIN REJ03F0244-0200 Rev.2.00 Jun 16, 2008 Page 4 of 11 Min VDD + 0.2 — 4.75 — — — Typ — 15 5.00 50 10 60 Max 15 — 5.25 200 100 — Unit V mA V mV mV dB — 4.05 30 — 3.5 — — — — 0.2 4.25 50 0.15 — — 25 100 0.2 — 4.45 80 — — 1.5 — — 0.4 V V mV mA V V µA µA V — — — 5 — — — — 0 –1 — — –100 — –0.3 80 — 0.2 20 — 0.2 0.2 –100 1 × 105CT 2.5 × 104CT 2 × 105Ctd 10 0.8 0.8 0.8 1.0 — — 0.2 2 — — — — — 4 — — — — — — — — 20 1.2 1.2 1.2 — VCC – 2 — 0.4 7 — 100 VCC – 2 — — VCC — 0.5 5 3.5 — s s s µs V V V V V µA V mV nA nA V dB V/µs V mA V V V nA Test Conditions IB = 10 mA VDD + 0.2 V IDD = 1 to 100 mA f = 120 Hz, Vin = 0 dBm VWD = +5 V IRES = 1 mA IM = 50 mA IS = 5 mA ILED = 20 mA IPC = 5 mA Vcc ≥ 7 V Vcc = 5.5 V M62254FP Digital Data Format MSB LSB DI 8-bit shift register CK D7 D6 D5 D4 D3 D2 D1 Address decoder CS D0 4 8 Latch Latch Latch Latch Latch Latch Latch MPX MPX MPX MPX MPX MPX MPX MPX Current control SW Voltage control SW LED drive SW Input amp SW A/D input SW Reference voltage SW Latch Main SW Sub SW Data Setting Control Function D7 Address D6 D5 D4 D3 Data D2 D1 D0 Description All SW is OFF A/D reference voltage = 0.4 V Voltage setting reference voltage = 4.0 V See table 1 See table 2 See table 3 See table 4 See table 5 See table 6 See table 7 See table 8 RESET 0 0 0 0 — — — — Current control Voltage control LED driver select Main SW Sub SW Amp. select A/D input select A/D reference select 0 0 0 0 0 0 0 1 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — Table 1 Current Control Data D3 0 0 0 0 0 0 D2 0 0 0 0 1 1 D1 0 0 1 1 0 0 D0 0 1 0 1 0 1 Current Control OP-Amp Input Voltage 0V 20 mV 40 mV 80 mV 160 mV 240 mV Current Ratio 0 1/16 1/8 1/4 1/2 3/4 0 0 1 1 1 1 0 1 320 mV — 1 Trickle Note: During trickle charge, use constant voltage mode and charge directly to the battery using external resistor. 20 mV is selected at RESET. REJ03F0244-0200 Rev.2.00 Jun 16, 2008 Page 5 of 11 M62254FP Table 2 Voltage Control Data D3 0 0 0 0 0 0 0 0 1 1 1 1 1 Note: D2 0 0 0 0 1 1 1 1 0 0 0 0 1 D1 0 0 1 1 0 0 1 1 0 0 1 1 0 D0 0 1 0 1 0 1 0 1 0 1 0 1 0 Voltage Control OP-Amp Input Voltage 0V 0.4 V 0.8 V 1.2 V 1.6 V 2.0 V 2.4 V 2.8 V 3.2 V 3.6 V 4.0 V 4.4 V 4.8 V Voltage Ratio 10 1 2 3 4 5 6 7 8 9 10 11 12 Output port of MCU can be used to control the voltage and current settings. 4.0 V is selected at RESET. Table 3 LED Driver Select D2 D1 D0 LED3 LED2 LED1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 OFF OFF OFF OFF ON ON ON ON OFF OFF ON ON OFF OFF ON ON OFF ON OFF ON OFF ON OFF ON Table 4 Main SW D1 0 0 1 1 Table 5 Sub SW D0 0 1 0 1 SW1 OFF OFF ON SW2 OFF ON OFF D0 0 1 0 SW OFF ON Not select Table 6 Amp. Select D1 0 0 1 D0 0 1 Table 7 A/D Input Select State Select Amp1 output Select Amp2 input Select Amp2 output Note: Amp1 output is selected at RESET. D1 0 0 1 1 D0 0 1 0 1 Note: Input 1 is selected at RESET. REJ03F0244-0200 Rev.2.00 Jun 16, 2008 Page 6 of 11 State Select input 1 Select input 2 Select input 3 Select input 4 M62254FP Table 8 A/D Reference Voltage Select D3 0 0 0 0 0 0 0 0 1 1 1 1 1 Note: D2 0 0 0 0 1 1 1 1 0 0 0 0 1 D1 0 0 1 1 0 0 1 1 0 0 1 1 0 D0 0 1 0 1 0 1 0 1 0 1 0 1 0 State Select 0 V Select 0.4 V Select 0.8 V Select 1.2 V Select 1.6 V Select 2.0 V Select 2.4 V Select 2.8 V Select 3.2 V Select 3.6 V Select 4.0 V Select 4.4 V Select 4.8 V 0.4 V is selected at RESET. Note: All outputs will be OFF at RESET. Function Block Descriptions (1) A/D converter input + − REF 4.8 V Voltage regulator reference voltage + − 3 1 * 0.4 V Note: Connect few 1000 pF capacitor to stabilize the reference voltage. Select the desire reference voltage to be detected by serial data from the MCU. The input voltage level of IN1 to IN4 will be magnified 4 times using selected reference voltage as a center. This magnified data will be return to the A/D input port of the MCU. As result, accuracy of the A/D converter of the MCU will be increased by 2-bit. (2) +5 V voltage regulator IDD +5 V Q1 VCC VB VDD Since it is capable of driving external PNP Tr. base up to 20 mA, it can supply current of IDD MAX = 20 mA × Q1hFE. Also, since this is low I/O type power source, it can operate VCC MIN = VCC – VDD = 0.1 V. REJ03F0244-0200 Rev.2.00 Jun 16, 2008 Page 7 of 11 M62254FP (3) Watchdog timer 5V VTH + ∆VTH VTH VDD 0V 2.7 V TC 0.2 V 0V WD 0V tWDIN RESET 0V td tRT (1) tRT (2) (1) (2) tWD (3)(4) (5) (6) (7) (8) (9) (1) When VDD reaches 4.75 V (VTH1 + ∆VTH1); after fixed amount of time (td), Reset pin outputs "High" and begin charging of the capacitor connected TC pin. (2) (3) When TC pin reaches 2.7 V (VTH2 (H)); the capacitor connected TC pin begin discharge, and the Reset pin outputs "Low". During the Reset outputs "High" for the first time; the time of charge will be tWD + tRT (1), since TC pin begin charging its capacitor starting from 0 V. (4) When TC pin drops to 0.2 V (VTH2 (L)); the Reset will outputs "High" again. At same time, TC pin will begin charging again. Unless correct clock input is given to WD pin, the TC pin will repeats the charging from 0.2 V to 2.7 V, and the Reset will also repeats "High" during the tWD cycle, and "Low" during tRT (2) cycle. (5) (6) When correct clock input is given to WD pin before TC pin reaches 2.7 V, the Reset holds "High" output. (7) (8) When incorrect clock is given to WD pin, the TC pin will repeats the charging from 0.2 V to 2.7 V, and the Reset will also repeats "High" during the tWD cycle, and "Low" during tRT (2) cycle. (9) When VDD drops down to 4.25 V (VTH1), the Reset circuit will function, and it will output "Low" to Reset pin and TC pin changes to discharging state. (4) Reset circuit ∆VTH1 VTH1 VDD 0.65 RESET Output td (1) td (2) (3) (1) When VDD reaches 4.75 V (VTH1 + ∆VTH1), the Reset outputs "High" after fixed amount of time (td). (2) When VDD drops below 4.25 V (VTH1), the Reset outputs "Low". (3) When VDD reaches 4.75 V (VTH1 + ∆VTH1) again, the Reset outputs "High" after fixed amount of time (td). Also, Reset output will be "Low" until VDD reaches 0.65 V (Typ). REJ03F0244-0200 Rev.2.00 Jun 16, 2008 Page 8 of 11 M62254FP Word Description: td: The time after VDD reaching Reset release voltage to "High" Reset output. tRT (1): The time TC pin voltage changes from 0 V to VTH2 (L), when VDD is given. tWD: The time TC pin voltage changes from VTH2 (L) to VTH2 (H). tRT (2): The time TC pin voltage changes from VTH2 (H) to VTH2(L). 1. Regarding the pin 25 (Ctd pin) capacity and the delay time (td) The delay time (td) of Reset output can be found using following equation. td = 2 × 105 × Ctd (s) 2. Regarding charge and discharge of pin 27 (TC pin) When incorrect clock is given to the WD pin, the voltage level of TC pin will be changed as show below. tWD tRT (1) tRT (2) tRT (1) = 8 × 103 × Ctd (s) tWD = 1 × 105 × CT (s) 4 tRT (2) = 2.5 × 10 × CT (s) 3. Regarding the input clock, input pulse width, charging time, and discharging time of pin 26 (WD pin) When correct clock is given to the WD pin, the voltage level of TC pin will be changed as show below. 2.7 V TC xV t1 = 1 × 105 × CT × 0.2 V t1 t2 tWDIN (MIN) WD Please, set the pulse width (tWDIN) more than tWDIN (MIN). REJ03F0244-0200 Rev.2.00 Jun 16, 2008 Page 9 of 11 t2 = 1 × t1 4 x − 0.2 2.5 photo coupler REJ03F0244-0200 Rev.2.00 Jun 16, 2008 Page 10 of 11 CT − + − + Ctd WDT Reset circuit Current control circuit Voltage control circuit Reset Voltage regulator When WDT is not used, connect to GND − + Current control OP − + Voltage control OP To VDD Max 30 mA INT XIN D8 Main SW driver A B F3 F2 F1 AVSS K1 Sub SW driver K0 D0 1 2 RAM 4 K, 6 7 CNTR 256 1 K/2 K, 64/128 3 4 5 M34225M1/M2: M50927: ROM Current detection resistor VSS SO VREF AVDD VDD Multiplexer level magnification circuit Driver detection circuit 4-bit MCU with built-in A/D converter F0 Serial ⇒ Parallel conversion circuit CS IN CLOCK 3 S1 2 3 RESET VDD LED driver circuit 1 2 Main SW Tr. Trickle current setting resistor Battery mount detection switch battery temperature detection To battery M62254FP Application Example of M62254FP M62254FP Package Dimensions JEITA Package Code P-SSOP36-8.4x15-0.80 RENESAS Code PRSP0036GA-A Previous Code 36P2R-A MASS[Typ.] 0.5g E 19 *1 HE 36 F NOTE) 1. DIMENSIONS "*1" AND "*2" DO NOT INCLUDE MOLD FLASH. 2. DIMENSION "*3" DOES NOT INCLUDE TRIM OFFSET. 1 18 Index mark c *2 D A1 A A2 *3 y bp L e Detail F REJ03F0244-0200 Rev.2.00 Jun 16, 2008 Page 11 of 11 Reference Dimension in Millimeters Symbol D E A2 A A1 bp c HE e y L Min Nom Max 14.8 15.0 15.2 8.2 8.4 8.6 2.0 2.4 0.05 0.35 0.4 0.5 0.13 0.15 0.2 0° 10° 11.63 11.93 12.23 0.65 0.8 0.95 0.15 0.3 0.5 0.7 Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan Notes: 1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights or any other rights of Renesas or any third party with respect to the information in this document. 2. Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising out of the use of any information in this document, including, but not limited to, product data, diagrams, charts, programs, algorithms, and application circuit examples. 3. You should not use the products or the technology described in this document for the purpose of military applications such as the development of weapons of mass destruction or for the purpose of any other military use. When exporting the products or technology described herein, you should follow the applicable export control laws and regulations, and procedures required by such laws and regulations. 4. All information included in this document such as product data, diagrams, charts, programs, algorithms, and application circuit examples, is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas products listed in this document, please confirm the latest product information with a Renesas sales office. Also, please pay regular and careful attention to additional and different information to be disclosed by Renesas such as that disclosed through our website. (http://www.renesas.com ) 5. Renesas has used reasonable care in compiling the information included in this document, but Renesas assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information included in this document. 6. When using or otherwise relying on the information in this document, you should evaluate the information in light of the total system before deciding about the applicability of such information to the intended application. Renesas makes no representations, warranties or guaranties regarding the suitability of its products for any particular application and specifically disclaims any liability arising out of the application and use of the information in this document or Renesas products. 7. With the exception of products specified by Renesas as suitable for automobile applications, Renesas products are not designed, manufactured or tested for applications or otherwise in systems the failure or malfunction of which may cause a direct threat to human life or create a risk of human injury or which require especially high quality and reliability such as safety systems, or equipment or systems for transportation and traffic, healthcare, combustion control, aerospace and aeronautics, nuclear power, or undersea communication transmission. If you are considering the use of our products for such purposes, please contact a Renesas sales office beforehand. Renesas shall have no liability for damages arising out of the uses set forth above. 8. Notwithstanding the preceding paragraph, you should not use Renesas products for the purposes listed below: (1) artificial life support devices or systems (2) surgical implantations (3) healthcare intervention (e.g., excision, administration of medication, etc.) (4) any other purposes that pose a direct threat to human life Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas Technology Corp., its affiliated companies and their officers, directors, and employees against any and all damages arising out of such applications. 9. You should use the products described herein within the range specified by Renesas, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas shall have no liability for malfunctions or damages arising out of the use of Renesas products beyond such specified ranges. 10. Although Renesas endeavors to improve the quality and reliability of its products, IC products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Please be sure to implement safety measures to guard against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other applicable measures. Among others, since the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you. 11. In case Renesas products listed in this document are detached from the products to which the Renesas products are attached or affixed, the risk of accident such as swallowing by infants and small children is very high. You should implement safety measures so that Renesas products may not be easily detached from your products. Renesas shall have no liability for damages arising out of such detachment. 12. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written approval from Renesas. 13. Please contact a Renesas sales office if you have any questions regarding the information contained in this document, Renesas semiconductor products, or if you have any other inquiries. http://www.renesas.com RENESAS SALES OFFICES Refer to "http://www.renesas.com/en/network" for the latest and detailed information. Renesas Technology America, Inc. 450 Holger Way, San Jose, CA 95134-1368, U.S.A Tel: <1> (408) 382-7500, Fax: <1> (408) 382-7501 Renesas Technology Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K. Tel: <44> (1628) 585-100, Fax: <44> (1628) 585-900 Renesas Technology (Shanghai) Co., Ltd. Unit 204, 205, AZIACenter, No.1233 Lujiazui Ring Rd, Pudong District, Shanghai, China 200120 Tel: <86> (21) 5877-1818, Fax: <86> (21) 6887-7858/7898 Renesas Technology Hong Kong Ltd. 7th Floor, North Tower, World Finance Centre, Harbour City, Canton Road, Tsimshatsui, Kowloon, Hong Kong Tel: <852> 2265-6688, Fax: <852> 2377-3473 Renesas Technology Taiwan Co., Ltd. 10th Floor, No.99, Fushing North Road, Taipei, Taiwan Tel: <886> (2) 2715-2888, Fax: <886> (2) 3518-3399 Renesas Technology Singapore Pte. Ltd. 1 Harbour Front Avenue, #06-10, Keppel Bay Tower, Singapore 098632 Tel: <65> 6213-0200, Fax: <65> 6278-8001 Renesas Technology Korea Co., Ltd. Kukje Center Bldg. 18th Fl., 191, 2-ka, Hangang-ro, Yongsan-ku, Seoul 140-702, Korea Tel: <82> (2) 796-3115, Fax: <82> (2) 796-2145 Renesas Technology Malaysia Sdn. Bhd Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No.18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia Tel: <603> 7955-9390, Fax: <603> 7955-9510 © 2008. Renesas Technology Corp., All rights reserved. Printed in Japan. Colophon .7.2