Mitsubishi Semiconductor < DIGI•ANA Interface > M62254FP Standard Battery Charger Controller DESCRIPTION Pin layout(Top view) 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. FEATURE Built-in Reset circuit and WDT function Built-in Multiplexer and Level magnification circuit with 4 input ports Built-in two standard stand alone OPAmp Built-in Sub-switch circuit with feedback function Built-in 3 line serial data interface function Built-in Low inputÅEoutput operation 5V voltage regulator function 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 M62254FP OPIN1+ 1 OPIN1- 2 LED1 3 LED2 4 LED3 5 P.GND 6 MSW1 7 MSW2 8 SSW 9 CD 10 REF 11 IN1 12 IN2 13 IN3 14 IN4 15 ISENSE 16 DOUT 17 RESET 18 OP OUT1 OP OUT2 OP IN2+ OP IN2P.C GND Iadj IDET V DET TC WD Ctd CS CK DI VB Vcc V DD 36P2R Built-in Charge current/output voltage control circuit APPLICATIONS Video camera, Hand carry telephone and general battery charger for other digital equipments Block diagram P.C 32 V DET Iadj IDET 28 30 29 Voltage control OP Vcc VB V DD 20 21 19 Voltage regulator + - OPOUT1 36 - Current control OP LED driver circuit Voltage control circuit / + / Current control circuit LED1 LED2 LED3 MSW1 MSW2 3 4 5 7 8 SSW 9 Main SW driver / Sub SW driver / Serial Parallel conversion circuit Driver detection circuit / / Amp1 9 1 / +- CS IN CLOCK + 16 ISENSE Reset circuit OPOUT2 35 12 IN1 13 IN2 WDT + Amp2 14 IN3 + 15 IN4 - - 3 31 GND 10 CD 33 2 25 6 34 1 18 27 26 24 22 23 17 OPIN2- OP IN2+ OP IN1- OP IN1+ Ctd P.GND RESET TC WD CS DI CK DOUT 1 11 REF Mitsubishi Semiconductor < DIGI•ANA Interface > M62254FP Standard Battery Charger Controller «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 Latch MPX MPX MPX MPX MPX MPX MPX MPX Current control SW Voltage control SW LED drive SW Main SW Sub SW Input Amp SW A-D input SW Reference voltage SW «Data Setting» Control Function Address Data Description D7 D6 D5 D4 D3 D2 D1 D0 RESET 0 0 0 0 - - - - All SW is OFF A-D reference voltage=0.4V Voltage setting reference voltage = 4.0V Current control 0 0 0 1 - - - - See Table 1 Voltage control 0 0 1 0 - - - - See Table 2 LED driver select 0 0 1 1 - - - - See Table 3 Main SW 0 1 0 0 - - - - See Table 4 Sub SW 0 1 0 1 - - - - See Table 5 Amp.select 0 1 1 0 - - - - See Table 6 A-D input select 0 1 1 1 - - - - See Table 7 A-D Reference select 1 0 0 0 - - - - See Table 8 Mitsubishi Semiconductor < DIGI•ANA Interface > M62254FP Standard Battery Charger Controller Table1: Current control data D3 D2 D1 D0 Current control OPAmp input voltage Current Ratio 0 0 0 0 0V 0 0 0 1 20mV 1/16 0 0 1 0 40mV 1/8 0 0 1 1 1/4 0 1 0 0 80mV 160mV 0 1 0 1 240mV 3/4 0 1 1 0 320mV 1 0 1 1 1 0 1/2 Tricle – * During trickle charge, use constant voltage mode and charge directly to the battery using external resister * 20mV is selected at RESET Table2: Voltage control data D3 D2 D1 D0 0 0 0 0 0V 10 0 0 0 1 0.4V 1 0 0 1 0 0.8V 2 0 0 1 1 1.2V 3 0 1 0 0 1.6V 4 0 1 0 1 2.0V 5 0 1 1 0 2.4V 6 0 1 1 1 2.8V 7 1 0 0 0 3.2V 8 1 0 0 1 3.6V 9 1 0 1 0 4.0V 10 1 0 1 1 4.4V 11 1 1 0 0 4.8V 12 Voltage control OPAmp input voltage Voltage Ratio * Output port of MCU can be used to control the voltage and current settings * 4.0V is selected at RESET Table3: LED driver select Table4: Main SW D2 D1 D0 LED3 LED2 LED1 D1 D0 SW1 SW2 0 0 0 OFF OFF OFF 0 0 OFF OFF 0 0 1 OFF ON 0 1 OFF ON 0 1 0 OFF OFF ON OFF 1 0 0 1 1 OFF ON ON 1 1 ON OFF Not Select 1 0 0 ON 1 0 1 ON OFF OFF OFF ON 1 1 0 ON ON OFF 1 1 1 ON ON ON Mitsubishi Semiconductor < DIGI•ANA Interface > M62254FP Standard Battery Charger Controller Table5: Sub SW Table8: A-D Reference voltage select D0 SW 0 OFF 1 ON D3 D0 0 0 State Select Amp1 output 0 1 Select Amp2 input 1 0 Select Amp2 output * Amp1 output is selected at RESET Table7: A-D input select D1 D0 State 0 0 Select input 1 0 1 Select input 2 1 0 Select input 3 1 1 Select input 4 D1 D0 State 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 * 0.4V is selected at RESET Table6: Amp. select D1 D2 Select 0V Select 0.4V Select 0.8V Select 1.2V Select 1.6V Select 2.0V Select 2.4V Select 2.8V Select 3.2V Select 3.6V Select 4.0V Select 4.4V Select 4.8V Note: All outputs will be OFF at RESET * Input 1 is selected at RESET «Function block descriptions» ~ (1) A-D converter input ~ + - REF 4.8V Voltage regulator reference voltage + 0.4V - 3 1 * *Connect few 1000pF 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~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) +5V voltage regulator IDD +5V Q1 Vcc VB VDD since it is capable of driving external PNP Tr. base up to 20mA, it can supply current of IDD MAX = 20mA x Q1hFE. Also, since this is low I/O type power source, it can operate VCC MIN = VCC – VDD = 0.1V. Mitsubishi Semiconductor < DIGI•ANA Interface > M62254FP Standard Battery Charger Controller (3) Watch Dog Timer 5V VTH+∆VTH VTH V DD 0V 2.7V TC 0.2V 0V WD 0V t WDIN RESET 0V t RT(1) t RT(2) td 1 2 3 4 t WD 5 6 7 8 9 1 When VDD reaches 4.75V (VTH1+∆VTH1); after fixed amount of time (td), Reset pin outputs "High" and begin charging of the condenser connected TC pin. 2 3 When TC pin reaches 2.7V (VTH2(H)); the condenser 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 condenser starting from 0V. 4 When TC pin drops to 0.2V (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.2V to 2.7V, 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.7V, the Reset holds "High" output. 7 8 When incorrect clock is given to WD pin, the TC pin will repeats the charging from 0.2V to 2.7V, and the Reset will also repeats "High" during the tWD cycle, and "Low" during tRT(2) cycle. 9 When VDD drops down to 4.25V (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 1 When VDD reaches 4.75V (VTH1+∆VTH1), the Reset outputs "High" after fixed amount of time (td). 2 When VDD drops below 4.25V (VTH1), the Reset outputs "Low" 3 When VDD reaches 4.75V (VTH1+∆VTH1) again, the Reset outputs "High" after fixed amount of time (td). Also, Reset output will be "Low" until VDD reaches 0.65V(typ). VTH1 VDD 0.65 RESET Output td 1 td 2 3 Mitsubishi Semiconductor < DIGI•ANA Interface > M62254FP Standard Battery Charger Controller Word description: td : The time after VDD reaching Reset release voltage to "High" Reset output. tRT(1) : The time TC pin voltage changes from 0V 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 = 2x10 5 x 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 3 tRT(1) = 8 x 10 x Ctd tRT(1) tRT(2) tWD 5 = 1 x 10 x CT (S) (S) 4 tRT(2) = 2.5 x 10 x 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.7V TC xV 5 t1 = 1 x 10 x CT x 0.2V t1 t2 tWDIN(MIN) WD Please, set the pulse width (tWDIN) more than tWDIN(MIN). t2 = 1 x t1 4 x - 0.2 2.5 Mitsubishi Semiconductor < DIGI•ANA Interface > M62254FP Standard Battery Charger Controller Pin description Pin # Symbol Description 24 CS The serial data input pin which used to receives 8 bit wide serial data. 23 CK 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. 22 DI 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. 17 DOUT The output pin of the amplified A-D input. 11 REF The reference voltage output pin of the A-D converter. 12~15 IN1~4 The A-D converter input pin. 16 ISENSE The current sense input pin. 10 CD The input pin for the current detection to feed back of sub-switch driver. 9 SSW The sub-switch driver output pin. 7,8 MSW1~2 The main switch driver output pin. (Open collector) 3~5 LED1~3 The LED driver output pin. (Open collector) 19 vDD The stabilized +5V output pin. 21 VB The pre-drive pin which used to connect the external PNP Tr. 20 Vcc The power supply pin. 29 IDET The current detection input pin. 30 Iadj The input pin for current detection adjustment. 28 VDET The voltage detection input pin. 32 P.C The feedback pin for voltage and current control. 2 , 33 OPIN1-,IN2- The inverted input pin of Op. amp. 1 , 34 OPIN1+,IN2+ The non-inverted input pin of Op. amp. 36 , 35 OPOUT1,2 The Op. amp. output pin. (Open collector output) 31 GND The ground pin. 6 P.GND The ground pin of power unit. (Main switch driver and LED driver) 18 RESET The output pin of Reset and WDT. (Pulled up to VDD) 27 TC The pin used to connect capacitor to determine the time constant of WDT. 26 WD The input pin of the WDT. 25 Ctd The pin used to connect capacitor to determine delay time the output after the Reset. Mitsubishi Semiconductor < DIGI•ANA Interface > M62254FP Standard Battery Charger Controller Absolute Maximum Ratings Items Symbols Ratings Condition Unit Power supply voltage Vcc 16 V Main switch drive current ISW 200 mA Sub switch drive current ISUB -5 mA LED drive current ILED 30 mA Regulator output current IB 20 mA P.C drive current IPC 10 mA Main switch max. voltage VSW Vcc V Sub switch max. voltage VSUB Vcc V LED max. drive voltage VLED Vcc V P.C max. voltage VPC Vcc V Power dissipation Pd 650 mW Thermal derating ratio K 6.5 mW/°C Operating temperature Topr -20~+85 °C Storage temperature Tstg -40~+125 °C WDT / RESET 5V power supply Block Electrical Characteristics (Ta=25°C ,Vcc=12V,ISW=50mA,ILED=20mA unless specified otherwise) Items Symbols Conditions Standard Typ Min Max Unit Power supply voltage Vcc Circuit current Icc Stabilized voltage output VDD IB = 10mA Input variable ratio Reg-in Load variable ratio Ripple remove ratio Min. I/O voltage difference VDEF VDD detection voltage VTH1 Hysteresis voltage ∆VTH1 WD input current IWD WD "H" input voltage VWDH WD "L" input voltage VWDL TC charge current ITCH 25 µA TC discharge current ITCL 100 µA VDD+0.2 15 15 V mA 5.00 5.25 V VDD + 0.2V 50 200 mV Reg-L IDD = 1~100mA 10 100 mV R.R f = 120Hz, Vin = 0dbm 60 dB 0.2 V Reset output saturation voltage VRESL WDT time tWD Reset timer time tRT Reset output delay time td Min. input pulse width tWDIN(MIN) 4.75 4.05 4.25 4.45 50 80 30 VWD = +5V 0.15 mV mA V 3.5 1.5 IRES = 1mA 0.2 0.4 V V 5 S 4 S 1x10 CT 2.5x10 CT 5 S 2x10 Ctd 5 V 10 20 µs Mitsubishi Semiconductor < DIGI•ANA Interface > M62254FP Standard Battery Charger Controller Electrical Characteristics (Ta=25°C ,Vcc=12V,ISW=50mA,ILED=20mA unless specified otherwise) Voltage Mag. Op Amp. Control Op. Driver Items Symbols Conditions Min Standard Typ Unit Main SW "L" output voltage VsatM IM=50mA 0.8 Max 1.2 Sub SW "L" output voltage Vsats Is=5mA 0.8 1.2 V LED "L" output voltage VsatL ILED=20mA 0.8 1.2 V Sub SW detection voltage VCD Input voltage range VIN V 1.0 0 Input bias current Vcc-2 VPCL IPC=5mA Input offset voltage VIo Input bias current IIB Input offset current IIO Phase input range VICM Open loop gain AV Through rate SR Output voltage range VOR 0.2 Output sink current Isink 20 ISENSE input voltage range VISENSE IN input voltage range VIN IN input current IIN V µA -1 P.C "L" output voltage V 0.2 0.4 V 2 7 mV nA -100 100 -0.3 Vcc-2 nA V dB 80 V/µs 4 Vcc mA 0.5 V V Vcc ≥ 7V 0.2 5 Vcc = 5.5V 0.2 3.5 -100 V V nA photo coupler When WDT is not used,connect to GND Ctd INT - CT AVSS K1 K0 S1 2 3 D0 1 2 M34225M1/M2 M50927 3 4 5 6 7 CNTR , 256 VSS RAM ROM 1K/2K , 64/128 4K Current detection resister VREF AVDD VDD Multiplexer Level magnification circuit Driver detection circuit bit MCU with built-in A-D converter SO F1 Sub SW driver RESET 4 F3 F2 Serial Parallel conversion circuit CS IN CLOCK Main SW driver A B F0 3 Main SW Tr. VDD XIN Reset MAX 30 mA LED driver circuit D8 WDT Reset circuit Current control circuit Voltage control circuit Voltage regulator 1 2 + - + - + Current control OP - + Voltage control OP To VDD Tricle current setting resister Battery mount detection switch battery temperature detection To battery Mitsubishi Semiconductor < DIGI•ANA Interface > M62254FP Standard Battery Charger Controller <Application example of M62254FP> Mitsubishi Semiconductor < DIGI•ANA Interface > M62254FP Standard Battery Charger Controller < MCU and its connection layout > 35 3 34 4 33 5 32 M62254FP 36 6 7 8 9 10 11 12 13 14 15 31 30 29 28 27 26 25 24 23 22 16 21 17 20 18 19 1 36 2 35 3 34 4 33 5 32 6 31 7 30 8 29 9 28 10 11 12 13 14 15 M34225 M50927 RESET INT AVss V REF K0 K1 AVDD NC S0 S1 S2 S3 NC NC D0 D1 (0V)CNVss (0V)Vss 1 2 MCU OP IN1+ OP IN1LED1 LED2 LED3 P.GND MSW1 MSW2 SSW CD REF IN1 IN2 IN3 IN4 ISENSE D OUT RESET 16 27 26 25 24 23 22 21 17 20 18 19 Outline : 36P2R OP OUT1 OP OUT2 OP IN2+ OP IN2P.C GND Iadj IDET VDET TC WD Ctd CS CK DI VB Vcc VDD V DD (5V) CNTR X IN X OUT NC NC F3/S IN F2/S OUT F1/CLK F0/S RDY NC D8 D7 D6 D5 D4 D3 D2 Actual size