Macroblock MBI5029 Datasheet 16-Bit Constant Current LED Sink Driver with Error Detection and Current Adjust Features Dual In-Line Package I5016CNS MBI5016CNS z Compatible with MBI5026 in electrical characteristics and package z Exploiting Share-I-O™ technique to provide two operation modes: - Normal Mode with the same functionality as MBI5026 - Special Mode to detect individual LED errors, like MBI5027 and program output current gain, like MBI5028 CN: P-DIP24-300-2.54 GN: P-DIP24-300-2.54 z 16 constant-current output channels z Constant output current invariant to load voltage change z Constant output current range: 5 -90 mA z Excellent output current accuracy, CNS: SP-DIP24-300-1.78 GNS: SP-DIP24-300-1.78 Small Outline Package I5016CF between channels: < ±3% (max.), and between ICs: < ±6% (max.) z Output current adjusted through an external resistor z 128-step programmable output current gain for White Balance, low current band: gain = 1/9 ~ 95/288, linearly divided into 64 steps z high current band: gain = 1/3 ~ 95/96, linearly divided into 64 steps CD: SOP24-300-1.27 Fast response of output current, GD: SOP24-300-1.27 CF: SOP24-300-1.00 OE (min.): 200 ns GF: SOP24-300-1.00 z 25MHz clock frequency z Schmitt trigger input z 5V supply voltage z Optional for “Pb-free & Green” Package Shrink BI5016CP SOP CP\CPA: SSOP24-150-0.64 GP\GPA: SSOP24-150-0.64 Current Accuracy Between Channels Between ICs < ±3% < ±6% Conditions IOUT = 10 ~ 60 mA Macroblock, Inc. 2005 Floor 6-4, No. 18, Pu-Ting Rd., Hsinchu, Taiwan 30077, ROC. TEL: +886-3-579-0068, FAX: +886-3-579-7534, E-mail: [email protected] -1April 2005, VA.02 MBI5029 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment Product Description MBI5029 succeeds MBI5026 and also exploits PrecisionDrive™ technology to enhance its output characteristics. Furthermore, MBI5029 uses the idea of Share-I-O™ technology to make MBI5029 backward compatible with MBI5026 in both package and electrical characteristics and extend its functionality for LED load Error Detection and run-time LED current gain control in LED display systems, especially LED traffic sign applications. MBI5029 contains a 16-bit Shift Register and a 16-bit Output Latch, which convert serial input data into parallel output format. At MBI5029 output stages, sixteen regulated current ports are designed to provide uniform and constant current sinks with small skew between ports for driving LED’s within a wide range of forward voltage (Vf) variations. Users may adjust the output current from 5 mA to 90 mA with an external resistor Rext, which gives users flexibility in controlling the light intensity of LED’s. MBI5029 guarantees to endure maximum 17V at the output ports. Besides, the high clock frequency up to 25 MHz also satisfies the system requirements of high volume data transmission. Besides Normal Mode, MBI5029 provide another mode, Special Mode, to extend its functionality by means of the Share-I-O™ technique on pins LE and OE , without any extra pins. In Special Mode two functions are included, Error Detection and Current Gain Control. Thus, MBI5029 could be a drop-in replacement of MBI5026. The printed circuit board originally designed for MBI5026 may be also applied to MBI5029. In MBI5029 there are two operation modes and three phases: Normal Mode phase, Mode Switching transition phase, and Special Mode phase. The signal on the multiple function pin OE / SW / ED would be monitored. Once an one-clock-wide short pulse appears on the pin OE / SW / ED , MBI5029 would enter the Mode Switching phase. At this moment, the voltage level on the pin LE/MOD/CA is used to determine the next mode to which MBI5029 is going to switch. In the Normal Mode phase, MBI5029 has exactly the same functionality with MBI5026. The serial data could be transferred into MBI5029 via the pin SDI, shifted in the Shift Register, and go out via the pin SDO. The LE/MOD/CA can latch the serial data in the Shift Register to the Output Latch. OE / SW / ED would enable the output drivers to sink current. In the Special Mode phase, the low-voltage-level signal OE / SW / ED can enable output channels and detect the status of the output current to tell if the driving current level is enough or not. The detected error status would be loaded into the 16-bit Shift Register and be shifted out via the pin SDO along with the signal CLK. Then system controller could read the error status and know whether the LED’s are properly lit or not. On the other hand, in the Special Mode phase MBI5029 also allows users to adjust the output current level by setting a run-time programmable Configuration Code. The code is sent into MBI5029 via the pin SDI. The positive pulse of LE/MOD/CA would latch the code in the Shift Register into a built-in 16-bit Configuration Latch, instead of the Output Latch. The code would affect the voltage at the terminal R-EXT and control the output current regulator. The output current could be adjusted finely by a gain ranging from 1/9 to 95/96 in 128 steps. Hence, the current skew between IC’s can be compensated within less than 1% and this feature is suitable for white balancing in LED color display panels. -2- April 2005, VA.02 MBI5029 Pin Configuration 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 CN\CNS\CD\CF\CP\ MBI5029 CPA\GPA GN\GNS\GD\GF\GP Terminal Description Pin Name Function GND Ground terminal for control logic and current sinks SDI Serial-data input to the Shift Register CLK Clock input terminal for data shift at the rising edge Output channel data strobe input terminal: in the Normal Mode phase, serial data in the Shift Register is transferred to the respective Output Latch when LE/MOD/CA is high; the data is latched inside the Output Latch when LE/MOD/CA goes low. If the data in the Output Latch is “1” (High), the respective output channel LE/MOD/CA OUT0 ~ OUT15 OE / SW / ED will be enabled after OE / SW / ED is pulled down to low. Mode selection input terminal: in the Mode Switching phase, LE/MOD/CA couldn’t strobe serial data but its level is used for determining the next mode to which MBI5029 is going to switch. When LE/MOD/CA is high, the next mode is the Special Mode; when low, the next mode is the Normal Mode. Configuration data strobe input terminal: in the Special Mode phase, serial data is latched into the Configuration Latch, instead of the Output Latch in the Normal Mode. The serial data here is regarded as the Configuration Code, which affect the output current level of all channels. Constant current output terminals Output enable terminal: no matter in what phase MBI5029 operates, the signal OE / SW / ED can always enable output drivers to sink current. When its level is (active) low, the output drivers are enabled; when high, all output drivers are turned OFF (blanked). Mode switching trigger terminal: an one-clock-wide short pulse signal of OE / SW / ED could put MBI5029 into the Mode Switching phase. Error detection enable terminal: in the Special Mode phase, the active low signal OE / SW / ED can make MBI5029 not just enable output drivers but detect LED load error status. The detected error status would be stored into the Shift Register. SDO Serial-data output to the following SDI of the next driver IC R-EXT Input terminal used for connecting an external resistor in order to set up the current level of all output ports VDD 5V supply voltage terminal -3- April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 In MBI5029, the relationship between the functions of pins LE/MOD/CA and OE / SW / ED and the operation phases are listed below: Normal Mode Mode Switching Special Mode LE: latching serial data into the Output Latch Yes No No MOD: mode selection No Yes No CA: latching serial data into the Configuration Latch No No Yes OE : enabling the current output drivers Yes Yes Yes SW: entering the Mode Switching phase Yes Yes Yes ED : enabling error detection and storing results into the Shift Register No No Yes Pin Name LE/MOD/CA OE / SW / ED Function -4- April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Block Diagram OUT1 OUT0 R-EXT OUT14 OUT15 IOUT Regulator VDD OE /SW/ ED 16-Bit Output Driver Control Logic LE/MOD/CA 7 16 GND 16-Bit Output Latch 16-Bit Configuration Latch CLK 16 16 16-Bit Shift Register SDI SDO 16 Equivalent Circuits of Inputs and Outputs OE/SW/ED Terminal LE/MOD/CA Terminal VDD VDD LE/MOD/CA OE/SW/ ED CLK, SDI Terminal SDO Terminal VDD VDD SDO CLK, SDI -5- April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Timing Diagram Normal Mode N=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CLK SDI LE OE OFF OUT0 ON OFF OUT1 ON OFF OUT2 ON OFF OUT3 ON OFF OUT15 ON SDO : don’t care Truth Table (In Normal Mode) CLK LE OE SDI OUT 0 … OUT 7 … OUT15 SDO H L Dn Dn ….. Dn - 7 …. Dn - 15 Dn-15 L L Dn+1 No Change Dn-14 H L Dn+2 Dn + 2 …. Dn - 5 …. Dn - 13 Dn-13 X L Dn+3 Dn + 2 …. Dn - 5 …. Dn - 13 Dn-13 X H Dn+3 Off Dn-13 -6- April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Switching to Special Mode 1 2 3 4 5 CLK OE/SW/ ED 1 0 1 1 1 LE/MOD/CA 0 0 0 1 0 The above shows an example of the signal sequence that can set the next operation mode of MBI5029 to be the Special Mode. The LE/MOD/CA active pulse here would not latch any serial data. Note: After entering the Special Mode, MBI5029 can detect LED error and adjust current gain. Writing Configuration Code (In Special Mode) N=0 1 2 3 4 5 12 13 14 15 Bit3 Bit2 Bit1 Bit0 CLK LE/MOD/CA SDI 16-Bit Configuration Code Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 In the Special Mode, by sending the positive pulse of LE/MOD/CA, the content of the Shift Register with a Configuration Code will be written to the 16-bit Configuration Latch. Reading Error Status Code (In Special Mode) CLK At least 2 µs OE/SW/ ED SDO Error Status Code : don’t care Bit15 Bit14 Bit13 Bit12 Bit11 When MBI5029 is working in the Special Mode, the above signal sequence example can let a system controller read the Error Status codes via the pin SDO. -7- April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Switching to Normal Mode 3 5 1 2 OE/SW/ ED 1 0 1 1 1 LE/MOD/CA 0 0 0 0 0 4 CLK Voltage “Low” The above signal sequence example can make MBI5029 operate in the Normal Mode. Note: If users want to know the detailed process for each of the above examples, please refer to the contents in Operation Principle. Maximum Ratings Characteristics Symbol Rating Unit Supply Voltage VDD 0 ~ 7.0 V Input Voltage VIN -0.4 ~ VDD + 0.4 V Output Current IOUT +90 mA Output Voltage VDS -0.5 ~ +17 V Clock Frequency FCLK 25 MHz GND Terminal Current IGND 1440 mA Power Dissipation (On PCB, Ta=25°C) Thermal Resistance (On PCB, Ta=25°C) CN GN 1.80 2.00 CNS GNS 1.50 1.61 CD GD 2.01 2.19 CF GF 1.69 1.91 CP GP 1.38 1.46 CPA GPA 1.38 1.46 CN GN 53.82 49.91 CNS GNS 66.74 62.28 CD GD 49.81 45.69 CF GF 59.01 52.38 CP GP 72.43 68.48 CPA GPA 72.43 68.48 PD Rth(j-a) W °C/W Operating Temperature Topr -40 ~ +85 °C Storage Temperature Tstg -55 ~ +150 °C -8- April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Recommended Operating Conditions Characteristics Symbol Condition Min. Typ. Max. Unit - 4.5 5.0 5.5 V Supply Voltage VDD Output Voltage VDS OUT0 ~ OUT15 - - 17.0 V IOUT OUT0 ~ OUT15 5 - 90 mA IOH SDO - - -1.0 mA IOL SDO - - 1.0 mA 0.8*VDD - VDD V GND - 0.3*VDD V 20 - - ns 5 - - ns 10 - - ns 20 - - ns 5 - - ns 10 - - ns 5 - - ns Output Current VIH Input Voltage VIL CLK Pulse Width tw(CLK) Setup Time for SDI tsu(D) Hold Time for SDI th(D) LE/MOD/CA Pulse Width tw(L) Setup Time for LE/MOD/CA tsu(L) Hold Time for LE/MOD/CA th(L) Setup Time for LE/MOD/CA tsu(MOD) Hold Time for LE/MOD/CA th(MOD) CLK, OE/SW/ ED LE/MOD/CA, and SDI CLK, OE/SW/ ED , LE/MOD/CA, and SDI - For data strobe In Mode Switching 10 - - ns tw(SW) To trigger Mode Switching 20 - - ns tw(OE) Iout < 60mA 200 - - ns tw(OE) Iout = 60~100mA 400 - - ns tw(ED) When detecting LED error status 2010 - - ns Setup Time for Correctly-Generated Error Status Code * tsu(ER) When detecting LED error status 2000 - - ns Setup Time for OE/SW/ ED tsu(SW) 5 - - ns Hold Time for OE/SW/ ED th(SW) 10 - - ns Clock Frequency FCLK - - 25 MHz OE/SW/ ED Pulse Width To trigger Mode Switching or when detecting LED error status Cascade Operation * In the Error Detection mode, when OE/SW/ ED is pulled down to LOW for enabling output drivers and error detection, the output drivers must be enabled for at least 2us so that the error status code could be correctly generated. See Operation Principle and Timing Waveform. -9- April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Electrical Characteristics Characteristics Symbol Condition Min. Typ. Max. Unit Supply Voltage VDD - 4.5 5.0 5.5 V Output Voltage VDS - - 17.0 V 5 - 90 mA IOUT OUT0 ~ OUT15 Test Circuit for Electrical Characteristics IOH SDO - - -1.0 mA IOL SDO - - 1.0 mA “H” level VIH Ta = -40~85ºC 0.8*VDD - VDD V “L” level VIL Ta = -40~85ºC GND - 0.3*VDD V VDS=17.0V and channel off - - 0.5 µA VOL IOL=+1.0mA - - 0.4 V VOH IOH=-1.0mA 4.6 - - V IOUT1 VDS=0.6V; Rext=809 Ω; G**=0.9896 - 26.0 - mA dIOUT1 IOUT = 26mA VDS = 0.6V - ±1 ±3 % IOUT2 VDS = 0.8V; Rext = 404Ω; G**=0.9896 - 52.1 - mA dIOUT2 IOUT = 52.1mA VDS = 0.8V - ±1 ±3 % Output Current Input Voltage Output Leakage Current Output Voltage SDO Output Current 1 Current Skew (between channels) Output Current 2 Current Skew (between channels) Output Current vs. Output Voltage Regulation Output Current vs. Supply Voltage Regulation Pull-up Resistance Pull-down Resistance Open Circuit Error*** Discrimination Voltage Rext=809 Ω Rext = 404Ω %/dVDS VDS within 1.0V and 3.0V - ±0.1 - %/V %/dVDD VDD within 4.5V and 5.5V - ±1 - %/V RIN(up) OE/SW/ ED 250 500 800 KΩ 250 500 800 KΩ RIN(down) LE/MOD/CA VDS, Th1 When all output ports sink Iout,target =20mA simultaneously 1.0 - - V VDS, Th2 When a single output port sinks Iout,target =20mA 0.8 - - V VDS, Th3 When all output ports sink Iout,target =50mA simultaneously 1.2 - - V When a single output port sinks 1.0 V Iout,target =50mA Rext=Open, OUT0 ~ OUT15=Off, IDD(off) 0 7 12 G**=0.9896 Rext=809 Ω, OUT0 ~ OUT15=Off, “OFF” IDD(off) 1 10 12 G**=0.9896 Supply Rext=404 Ω, OUT0 ~ OUT15=Off, mA IDD(off) 2 12 15 Current G**=0.9896 Rext=809 Ω, OUT0 ~ OUT15=On, IDD(on) 1 10 18 G**=0.9896 “ON” Rext=404 Ω, OUT0 ~ OUT15=On, IDD(on) 2 12 20 G**=0.9896 ** In the above table, G is the programmable output current gain. The detail description could be found in the section Operation Principle. *** To effectively detect the open-circuit error occurring at the output port, MBI5029 has a built-in current VDS, Th4 detection circuit. The current detection circuit will detect the effective current IOUT, effective and compare the - 10 - April 2005, VA.02 MBI5029 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment effective current IOUT, effective to the target current IOUT, target defined by Rext. If IOUT, effective is less than the target current IOUT, target, an error flag(Low) will be asserted and stored into the built-in Shift Register. The minimum voltage requirement for such current detection is VDS, Th1, VDS, Th2, VDS, Th3 and VDS, Th4. - 11 - April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Switching Characteristics Characteristics Symbol Min. Typ. Max. Unit tpLH1 - 100 150 ns tpLH2 - 100 150 ns tpLH3 - 50 150 ns CLK - SDO tpLH 15 20 - ns CLK - OUTn tpHL1 - 50 100 ns - 50 100 ns - 20 100 ns 15 20 - ns 20 - - ns 20 - - ns 200 - - ns 10 - - ns CLK - OUTn Propagation Delay LE/MOD/CA - OUTn Time (“L” to “H”) OE/SW/ ED - OUTn Test Circuit for Switching Characteristics tpHL2 Propagation Delay LE/MOD/CA - OUTn Time (“H” to “L”) OE/SW/ ED - OUTn Pulse Width Condition tpHL3 CLK - SDO tpHL CLK tw(CLK) LE/MOD/CA tw(L) OE/SW/ ED (@ Iout< 60mA) tw(OE) VDD=5.0 V VDS=0.8 V VIH=VDD VIL=GND Rext=372 Ω VL=4.0 V RL=64 Ω CL=10 pF Hold Time for LE/MOD/CA th(L) Setup Time for LE/MOD/CA tsu(L) 5 - - ns Maximum CLK Rise Time tr*** - - 500 ns Maximum CLK Fall Time tf*** - - 500 ns Output Rise Time of Vout (turn off) tor - 70 200 ns Output Fall Time of Vout (turn on) tof - 40 120 ns *** If MBI5029 are connected in cascade and tr or tf is large, it may be critical to achieve the timing required for data transfer between two cascaded LED drivers, MBI5029. Test Circuit for Switching Characteristics Test Circuit for Electrical Characteristics IDD IDD VDD OE/SW/ ED IIH,IIL CLK LE/MOD/CA IOUT VIH, VIL .. .. OUT0 OUT15 CLK Generator LE/MOD/CA SDI SDO R - EXT GND VIH, VIL Iref OE/SW/ ED Function SDI R - EXT GND VDD VIH = 5V Logic Input Waveform IOUT .. . OUT0 OUT15 RL SDO CL VL Iref CL VIL = 0V tr = tf = 10 ns - 12 - April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Timing Waveform Normal Mode tW(CLK) tsu(D) SDI 50% 50% CLK 50% 50% th(D) 50% SDO tW(L) tpLH, tpHL LE/MOD/CA 50% 50% th(L) OE/SW/ ED tsu(L) LOW = OUTPUT ENABLED HIGH = OUTPUT OFF 50% OUTn LOW = OUTPUT ON tpLH1, tpHL1 tpLH2, tpHL2 tW(OE) OE/SW/ ED 50% 50% tpLH3 tpHL3 90% 50% 10% OUTn tof - 13 - 90% 50% 10% tor April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Switching to Special Mode tW(CLK) 50% 50% 50% CLK tsu(MOD) th(MOD) LE/MOD/CA 50% 50% 2 CLK tsu(SW) OE/SW/ ED th(SW) 50% 50% tW(SW) Reading Error Status Code CLK 50% 50% th(SW) 50% 50% 50% tsu(SW) th(SW) tsu(SW) tsu(ER) OE/SW/ ED 50% 50% tw(ED) - 14 - April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Operation Principle Constant Current In LED display applications, MBI5029 provides nearly no current variations from channel to channel and from IC to IC. This can be achieved by: 1) While IOUT ≦ 60mA, the maximum current skew between channels is less than ±3% and that between ICs is less than ±6%. 2) In addition, the characteristics curve of output stage in the saturation region is flat and users can refer to the figure as shown below. Thus, the output current can be kept constant regardless of the variations of LED forward voltages (Vf). The output current level in the saturation region is defined as output target current Iout,target. 100.00 90.00 80.00 Iout (mA) 70.00 60.00 50.00 40.00 30.00 20.00 10.00 0.00 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 2 2.5 V DS (V) - 15 - April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Adjusting Output Current MBI5029 scales up the reference current Iref set by the external resistor Rext to sink a current Iout at each output port. Users can follow the below formulas to calculate the output current Iout in the saturation region: VR-EXT = 1.4175Volt x G Iref = VR-EXT / Rext if another end of the external resistor Rext is connected to ground. Iout, target = Iref x 15 = (1.4175Volt x G / Rext) x 15 where Rext is the resistance of the external resistor connected to the R-EXT terminal, and VR-EXT is the voltage of the R-EXT terminal and controlled by the programmable current gain G, which is defined by the Configuration Code. After power-on, the default value of G is 95/96 = 0.9896. Based on the default current gain, VR-EXT = 1.4175Volt x 0.9896 = 1.40Volt Iout, target = (1.40Volt / Rext ) x 15 Hence, the default magnitude of current is around 52mA at 404Ω and 26mA at 809Ω. The default relationship after power-on between Iout,target and Rext is shown in the following figure. After power-on, the default Iout,target vs. Rext Curve Iout,target (mA) 90 80 70 VDS = 1.0V 60 50 40 30 20 10 0 0 500 1000 1500 Rext 2000 2500 3000 3500 Resistance of the external resistor, Rext, in Ω Operation Phases MBI5029 exploits the Share-I-O™ technique to extend the functionality of pins in MBI5026 in order to provide LED load error detection and run-time programmable LED driving current in the Special Mode phase as well as the original function of MBI5026 in the Normal Mode phase. In order to switch between the two modes, MBI5029 monitors the signal OE/SW/ ED . Once an one-clock-wide pulse of OE/SW/ ED appears, MBI5029 would enter the two-clock-period transition phase---the Mode Switching phase. After power-on, the default operation mode is the Normal Mode. - 16 - April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Operation Mode Switching Switching to the Special Mode 1 2 3 4 Switching to the Normal Mode 5 CLK CLK OE/SW/ ED LE/MOD/CA 1 0 1 x x x 1 2 3 4 5 x x 0 x x x OE/SW/ ED 1 0 1 1 x LE/MOD/CA x x x Voltage Low Voltage High Phase Normal Mode or Mode Special Special Mode Switching Mode Phase Normal Mode or Mode Normal Special Mode Switching Mode As shown in the above figures, once a one-clock-wide short pulse “101” of OE/SW/ ED appears, MBI5029 would enter the Mode Switching phase. At the 4th rising edge of CLK, if LE/MOD/CA is sampled as “Voltage High”, MBI5029 would switch to the Special Mode; otherwise, it would switch to the Normal Mode. Worthwhile noticing, the signal LE/MOD/CA between the 3rd and the 5th rising edges of CLK can not latch any data. Its level is just used for determining which mode to switch. However, the short pulse of OE/SW/ ED can still enable the output ports. During the mode switching, the serial data can still be transferred through the pin SDI and shifted out from the pin SDO. Note: 1. The signal sequence for the mode switching could be frequently used for making sure under which mode MBI5029 is working. 2. The aforementioned “1” and “0” are sampled at the rising edge of CLK. The “X” means its level would not affect the result of mode switching mechanism. Normal Mode Phase MBI5029 in the Normal Mode phase has similar functionality to MBI5026. The serial data could be transferred into MBI5029 via the pin SDI, shifted in the Shift Register, and go out via the pin SDO. The LE/MOD/CA can latch the serial data in the Shift Register to the Output Latch. OE/SW/ ED would enable the output drivers to sink current. The only difference is mentioned in the last paragraph about monitoring short pulse OE/SW/ ED . The short pulse would trigger MBI5029 to switch the operation mode. However, as long as the signal LE/MOD/CA is not Voltage High in the Mode Switching phase, MBI5029 would still remain in the Normal Mode as if no mode switching occurs. - 17 - April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Special Mode Phase In the Special Mode, as long as OE/SW/ ED is not at the Voltage Low, the serial data can still be shifted to the Shift Register via the pin SDI and shifted out via the SDO pin, as in the Normal Mode. But there are two differences between the Special Mode and the Normal Mode. 2 1 n≧3 CLK At least 2 µs OE/SW/ ED 1 0 0 0 SDO 1 1 1 1 Error Status Code Bit15 Bit14 Bit13 Bit12 Bit11 Data Source of From pin SDI Shift Register From Error Detector From pin SDI Reading Error Status Code (in Special Mode) The first difference is that when the state of OE/SW/ ED is pulled down to Voltage Low, MBI5029 in the Special Mode would execute error detection and load error status codes into the Shift Register, as well as enabling output ports to sink current. The above figure shows the timing sequence for error detection. The shown “0” and “1” are sampled at the rising edge of each CLK. At least three “0” must be sampled at the Voltage Low signal OE/SW/ ED . Just after the 2nd “0” is sampled, the data input source of the Shift Register would come from 16-bit parallel error status codes out of the circuit Error Detector, instead of serial data input via the pin SDI. Normally, the error status codes will be correctly generated at least 2µs after the falling edge of OE/SW/ ED . The occurrence of the 3rd or later “0” results in the event that MBI5029 saves the detected error status codes into the Shift Register. Thus, when OE/SW/ ED is at the Voltage Low state, the serial data cannot be shifted into MBI5029 via the pin SDI. But when the state of OE/SW/ ED is pulled up to Voltage High from Voltage Low, the data input source of the Shift Register would again come from the pin SDI. At the same time, the output ports are disabled and the error detection is completed. Then, the error status codes saved in the Shift Register could be shifted out via the pin SDO bit by bit along with CLK, as well as the new serial data can be shifted into MBI5029 via the pin SDI. The limitation is that in the Special Mode, it couldn’t be allowed to simultaneously transfer serial data and detect LED load error status. - 18 - April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Writing Configuration Code N=0 1 2 3 4 5 12 13 14 15 Bit3 Bit2 Bit1 Bit0 CLK LE/MOD/CA SDI 16-Bit Configuration Code Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 : don’t care The second difference is that the active high signal LE/MOD/CA latches the serial data in the Shift Register to the Configuration Latch, instead of the Output Latch. The latched serial data is regarded as the Configuration Code. The code would be memorized until power off or the Configuration Latch is re-written. As shown above, the timing for writing the Configuration Code is the same as that in the Normal Mode for latching output channel data. As aforementioned descriptions, both of Configuration Code and Error Status Code are transferred in common 16-bit Shift Register. Users must pay attention to the sequence of error detection and current adjustment to avoid the Configuration Code being overwritten by Error Status Code. Open-Circuit Detection Principle Iout Given Rext Iout, target MBI5029Output Characteristics Curve Iout, effect Loading Line VDS, effect Vknee VDS VDS, Th ~ Vknee + 0.2Volt The principle of MBI5029 LED Open-Circuit Detection is based on the fact that the LED loading status is judged by comparing the effective current value(Iout, effect) of each output port with the target current(Iout, target) set by Rext. As shown in the above figure, the knee voltage (Vknee) is the one between triode region and saturation region. The cross point between the loading line and MBI5029 output characteristics curve is the effective output point (VDS, effect, Iout, effect).Thus, to detect the status of LED correctly, the output ports of MBI5029 must be enabled. The relationship between the Error Status code and the effective output point is shown below: State of Output Port Condition of Effective Output Point OFF Iout, effect = 0 Iout, effect ≦ Iout, target and Vout, effect < VDS, Th ON Iout, effect = Iout, target and Vout, effect ≧ VDS, Th Note:the threshold voltage VDS, Th is around Vknee + 0.2Volt - 19 - Detected Open-Circuit Error Status Code “0” “0” “1” Meaning Open Circuit Normal April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Short-Circuit Detection Principle Iout Given Rext Iout, effect1 = Iout, target MBI5029Output Characteristics Curve Loading Line with short error occurring Iout, effect2 Normal Loading Line VDS, effect2 Vknee VDS, Th VDS VDS, effect1 When LED is damaged, a short-circuit error may occur. To effectively detect the short-circuit error, LEDs need insufficiently biasing. The principle of MBI5029 LED Short Circuit Detection is based on the fact that the LED loading status is judged by comparing the effective current value(Iout, effect) of each output port with the target current(Iout, target) set by Rext. When normal LED is insufficiently biased, its effective output point would be located at the ramp segment (VDS < VDS,Th) of MBI5029 Output Characteristics Curve, compared with LED with a short error falling within the flat zone (VDS ≧ VDS,Th). The relationship between the Error Status code and the effective output point is shown below: State of Output Port Condition of Effective Output Point OFF Iout, effect = 0 Iout, effect ≦ Iout, target and Vout, effect < VDS, Th ON Iout, effect = Iout, target and Vout, effect ≧ VDS, Th Note:the threshold voltage VDS, Th is around Vknee + 0.2Volt - 20 - Detected Short-Circuit Error Status Code “0” “0” “1” Meaning Normal Short Circuit April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Current Gain … G = 95/96 64 steps …. …. G = 1/3 …. …. 64 steps G = 1/9 (1,0,0,0,0,0,0) (0,0,0,0,0,0,0) (1,1,1,1,1,1,1) (0,0,0,0,0,0,1) (0,0,0,0,0,1,0) 16-Bit Configuration Code Meaning Default Value Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Bit 8 HC CC0 CC1 CC2 CC3 CC4 CC5 - 1 1 1 1 1 1 1 7-bit Current Adjust Code - Bit 9 Bit 10 Bit 11 Bit 12 Bit 13 Bit 14 Bit 15 - - - - - - - Note: “-“ means “reserved and not used now” After entering the Current Adjust mode, the system controller can sends 7-bit Current Adjust code to 16-bit Shift Register through MBI5029 SDI pin. Then sending LE/MOD/CA active pulse will transfer the contents in the Shift Register to a 16-bit Configuration Latch rather than the 16-bit Output Latch in a Normal mode. The 7-bit Current Adjust code in the Configuration Latch will directly affect the voltage at R-EXT terminal and output current Iout,target by the current gain, G. The relationship between the Current Adjust Code {HC, CC〔0:5〕}and current gain G is shown below: G = [(1 + 2 x HC)/3]x [(1 + D/32)/3] where HC is 1 or 0 (HC=0 : Low current band; HC=1 : High current band) and - 21 - April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 D = CC0 x 25+ CC1 x 24+ CC2 x 23+ CC3 x 22+ CC4 x 21+ CC5 x 20; So, the Current Adjust Code is a floating number with one bit exponent HC and 6-bit mantissa. For example, when the Current Adjust Code is (1,1,1,1,1,1,1) Gain, G = [(1 + 2 x 1)/3] x [(1 + 63/32)/3]= 0.9896 when the Current Adjust Code is (1,0,0,0,0,0,0) Gain, G = [(1 + 2 x 1)/3] x [(1 + 0/32)/3]= 1/3 when the Current Adjust Code is (0,0,0,0,0,0,0) Gain, G = [(1 + 2 x 0)/3] x [(1 + 0/32)/3]= 1/9 After power on, the default value of Current Adjust Code is (1,1,1,1,1,1,1). Thus, G is 0.9896. Typically, the output current resulted by the digital current gain, G, is shown as the figure below. IOUT,target vs. G ( Rext= 809ohm ) 28 IOUT,target (mA) 24 20 16 12 8 4 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 G - 22 - April 2005, VA.02 2 3 A 4 5 Entering the Special Mode OE/SW/ ED LE/MOD/CA SDI, 0 CLK 1 OE/SW/ ED CLK LE/MOD/CA - - - - MBI5029, 2 CC5 CC4 CC3 CC2 CC1 CC0 CC HC - - - - - 23 - - - - For MBI5029, 0 2 3 4 5 April 2005, VA.02 Resuming to the Normal Mode C 1 SDO, N-1 LE/MOD/CA Pulse (Note 3) - MBI5029, N-1 CC5 CC4 CC3 CC2 CC1 CC0 HC MBI5029, N-2 Note 3: The LE/MOD/CA pulse writes the Configuration Codes to each MBI5029. - N x 16 CLK Pulses (Note 1) SDO, 2 Note 2: Gain G =﹝(1+ 2 X HC)/3﹞x (1 + D/32)/ 3 5 4 3 2 D = CC0 x 2 + CC1 x 2 + CC2 x 2 + CC3 x 2 + 1 0 CC4 x 2 + CC5 x 2 . For MBI029, N-1 N x 16 CLK pulses are required to shift the 8-bit Configuration Codes needed by N of MBI5029. B SDO, 1 MBI5029, 1 SDI, 1 Configuration Codes (Note 1) (Note2) - - SDO, 0 MBI5029, 0 Writing the Configuration Codes, Code k, k = 0… (N x 16 –1) - SDI, 0 N of MBI5029 are connected in cascade, i.e., SDO, k --> SDI, k+1. And, all MBI5029 are connected to the same signal bus CLK, LE/MOD/CA and OE/SW/ ED . Timing Chart for Current Adjust Mode (An Example) MBI5029 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment Nx16 -1 Image Data I 2 1 Latch the LED status LE/MOD/CA SDI, 0 CLK Nx16 CLK Pulses 0 0 1 0 3 1 1 4 1 0 5 Entering Detection Mode B Inserted sequence for entering Error Detection Mode 1 0 2 2 Detecting the Error Status SDO, N-1 C SDO, 1 SDO, 0 T3 T2 = 2 us T1 = 2 CLK 1 15 7 Nx16 -1 3 3 CLK Pulses Required (Note 1) D - 24 - 1 0 2 1 1 5 SDI, 0 1 2 2 0 1 0 April 2005, VA.02 1 Displaying Image Data I LE/MOD/CA CLK Nx16 CLK Pulses Sending Image Data II (Optional) 4 Embedded sequence for quitting Error Detection Mode 3 Resuming to the Normal Mode and Reading Back the Error 1 Nx16 -1 Note 1: T1 = 2 CLK pluses is required to start the error detection. When Short-Circuit Detection is executed, LEDs should be insufficiently biased during this period. T2 = 2 µs is required to obtain the stable error status result. T3 = the third CLK pulses is required before OE/SW/ED goes voltage high. The rising edge of CLK writes the error status code back to the MBI5029 built-in shift register. A OE/SW/ED 0 SDI, 0 CLK 1 MBI5029 Timing Chart for Open-/Short- Circuit Detection Mode (An Example) 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment 2 3 A 4 5 B N x 16 -1 MBI5029, 1 SDO, 1 SDI, 0 1 OE/SW/ED 0 th(L) MBI5029, 2 LE/MOD/CA 2 N x 16 CLK Pulses (Note 1) Serial Data (Note 1) MBI5029, 0 SDI, 1 C T3 (Note 2) T2 = 2µs T1 = 2 CLK SDO, N-1 N1 - 25 - Reading Back the Error Status Code D 2 1 SDI, 0 0 2 3 4 Resuming to the Normal Mode 1 SDO, N-1 LED j, j = 0… (N x16 –1) 5 April 2005, VA.02 Note 3: The first rising edge of CLK after the rising edge of OE/SW/ED starts shifting the Image Data with LED Error. An LED error will be represented by a “0”, to over write the original image data “1”. Image Data k, k = 0… (N x 16 –1), = all “1” is suggested. N x 16 CLK pulses shift all N x 16 error results (Error Status Code) via Node SDO, N-1. N x 16 -1 30 31 SDO, 1 N x 16 -2 14 15 MBI5029, N-1 N x 16 CLK Pulses (Note 3) MBI5029, N-2 Could Be “Don’t Care” SDO, 0 Don’t Care 3 CLK Pulses Required (Note 2) SDO, 2 Writing the Configuration Codes, Detecting the Error Status Code k, k = 0… (N x 16 –1) Note 2: T1 = 2 CLK pluses is required to start the error detection. When Short-Circuit Detection Note 1: N x 16 CLK pulses are is executed, LEDs should be insufficiently biased during this period. required to shift the 8-bit Configuration T2 = 2 µs is required to obtain the stable error status result. Codes needed by N of MBI5029 T3 = the third CLK pulses is required before OE/SW/ED goes voltage high. The rising edge of CLK writes the error status code back to the MBI5029 built-in shift register. OE/SW/ED LE/MOD/CA SDI, 0 CLK 1 OE/SW/ ED CLK LE/MOD/CA SDI, 0 SDO, 0 The connection of each MBI5029 is referred to “Timing Chart for Current Adjustment, shown on P23. MBI5029 Timing Chart for Current Adjust Mode Plus Open-/Short- Circuit Detection Mode (An Example) 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 Soldering Process of “Pb-free & Green” Package Plating* Macroblock has defines "Pb-Free & Green" to mean semiconductor products that are compatible with the current RoHS requirements and selected 100% pure tin (Sn) to provide forward and backward compatibility with both the current industry-standard SnPb-based soldering processes and higher-temperature Pb-free processes. Pure tin is widely accepted by customers and suppliers of electronic devices in Europe, Asia and the US as the lead-free surface finish of choice to replace tin-lead. Also, it is backward compatible to standard 215ºC to 240ºC reflow processes which adopt tin/lead (SnPb) solder paste. However, in the whole Pb-free soldering processes and materials, 100% pure tin (Sn), will all require up to 260oC for proper soldering on boards, referring to J-STD-020B as shown below. Temperature (℃) 300 260℃+0℃ -5℃ 245℃±5℃ 255℃ 250 240℃ 217℃ 30s max 200 Ramp-down 6℃/s (max) Average ramp-up rate= 0.7℃/s 100s max 150 Peak Temperature 245℃~260℃< 10s 100 Average ramp-up rate = 0.4℃/s 50 Average ramp-up rate= 3.3℃/s 25 0 0 50 100 150 200 250 300 Time (sec) ----Maximum peak temperature Recommended reflow profile Acc.J-STD-020B *Note1: For details, please refer to Macroblock’s “Policy on Pb-free & Green Package”. - 26 - April 2005, VA.02 MBI5029 Package Power Dissipation (PD) 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment The maximum allowable package power dissipation is determined as PD(max) = (Tj – Ta) / Rth(j-a). When 16 output channels are turned on simultaneously, the actual package power dissipation is PD(act) = (IDD x VDD) + (IOUT x Duty x VDS x 16). Therefore, to keep PD(act) ≤ PD(max), the allowable maximum output current as a function of duty cycle is: IOUT = { [ (Tj – Ta) / Rth(j-a) ] – (IDD x VDD) } / VDS / Duty / 16, where Tj = 150°C. Iout vs. Duty Cycle at Rth = 55.52 (°C/W) Iout vs. Duty Cycle at Rth = 59.01 (°C/W) 100 100 90 90 80 80 70 70 Iout(mA) 50 40 60 50 40 30 30 20 Iout vs. Duty Cycle at Rth = 66.74 (°C/W) 90 80 80 70 70 90% 85% 80% 75% 70% 65% 95% 95% 90% 85% 80% 75% 70% 65% 60% 55% 50% 45% 40% 35% 30% 5% Duty Cycle CNS\GNS type package 100% Duty Cycle 100% 95% 90% 85% 80% 75% 70% 65% 60% 55% 50% 45% 0 40% 10 0 35% 20 10 30% 30 20 25% 40 30 25% 50 40 20% 60% 60 20% 50 15% 60 10% Iout(mA) 90 15% 55% Iout vs. Duty Cycle at Rth = 72.43 (°C/W) 100 5% 50% CF\GF type package 100 10% 45% Duty Cycle CN\GN type package Iout(mA) 100% Duty Cycle 40% 35% 30% 25% 20% 5% 95% 100% 90% 85% 80% 75% 70% 65% 60% 55% 50% 45% 40% 35% 30% 25% 20% 10% 15% 0 5% 10 0 15% 20 10 10% Iout(mA) 60 CP\CPA\GP\GPA type package Iout vs. Duty Cycle at Rth = 49.81 (°C/W) 100 90 70 60 50 40 30 20 10 100% 95% 90% 85% 80% 75% 70% 65% 60% 55% 50% 45% 40% 35% 30% 25% 20% 15% 10% 0 5% Iout(mA) 80 Condition : Iout = 90mA,VDS = 1.0V,16 output channels active Device Type Rth(j-a)(°C/W) Note CN GN 55.52 49.90 Ta = 25℃ CNS GNS 66.74 62.28 Ta = 55℃ CD GD 49.81 45.69 Ta = 85℃ CF GF 59.01 52.38 CP\CPA GP\GPA 72.43 68.48 Duty Cycle CD\GD type package - 27 - April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 The maximum power dissipation, PD(max) = (Tj – Ta) / Rth(j-a), decreases as the ambient temperature increases. Max. Power Dissipation at Various Ambient Temperature 2.50 Power Dissipation 2.25 2.00 CN Type: Rth= 53.82 1.75 CNS T ype: Rth= 66.74 CD Type: Rth= 49.81 1.50 CF T ype: Rth= 59.01 1.25 CP Type: Rth= 72.43 CPA T ype: Rth= 72.43 1.00 0.75 0.50 10 20 30 40 50 60 Ambient Temperature 70 80 90 Load Supply Voltage (VLED) MBI5029 are designed to operate with VDS ranging from 0.4V to 1.0V considering the package power dissipating limits. VDS may be higher enough to make PD(act) > PD(max) when VLED = 5V and VDS = VLED – Vf, in which VLED is the load supply voltage. In this case, it is recommended to use the lowest possible supply voltage or to set an external voltage reducer (VDROP). A voltage reducer lets VDS = (VLED – Vf) – VDROP. Resisters, or Zener diode can be used in the applications as the following figures. Voltage Supply Voltage Supply VDrop VDrop VLED VLED VF VF VDS VDS MBI5029 MBI5029 Switching Noise Reduction LED Driver ICs are frequently used in switch-mode applications which always behave with switching noise due to parasitic inductance on PCB. To eliminate switching noise, refer to “Application Note for 8-bit and 16-bit LED Drivers- Overshoot”. - 28 - April 2005, VA.02 MBI5029 Package Outline 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029CN\GN Outline Drawing MBI5029CNS\GNS Outline Drawing - 29 - April 2005, VA.02 MBI5029 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029CD\GD Outline Drawing MBI5029CF\GF Outline Drawing - 30 - April 2005, VA.02 16-Bit Constant Current LED Sink Driver with LED Error Detection and Run-Time Current Adjustment MBI5029 MBI5029CP\CPA\GP\GPA Outline Drawing Note: The unit for the outline drawing is mm. Product Top-mark Information The first row of printing MBIXXXX ○ ○○ Part number ID number ● Or The second row of printing XXXXXXXX ○ MBIXXXX ○ ○ Manufacture Code Package Code Product No. Device Version Code Process Code C: General type G: Green and Pb-free Product Revision History Datasheet version VA.00 VA.01 VA.02 Device version code Not defined A A Product Ordering Information Part Number Package Type MBI5029CN MBI5029CNS MBI5029CD MBI5029CF MBI5029CP MBI5029CPA P-DIP24-300-2.54 SP-DIP24-300-1.78 SOP24-300-1.27 SOP24-300-1.00 SSOP24-150-0.64 SSOP24-150-0.64 Weight (g) 1.628 1.11 0.617 0.28 0.11 0.11 Part Number MBI5029GN MBI5029GNS MBI5029GD MBI5029GF MBI5029GP MBI5029GPA - 31 - “Pb-free & Green” Package Type P-DIP24-300-2.54 SP-DIP24-300-1.78 SOP24-300-1.27 SOP24-300-1.00 SSOP24-150-0.64 SSOP24-150-0.64 Weight (g) 1.628 1.11 0.617 0.28 0.11 0.11 April 2005, VA.02