AN2141
Application note
LED array reference design board
Introduction
New high brightness LED (HB LED) applications such as displays, information panels,
signs, traffic signals, automotive lighting and advertising are becoming more and more
popular. For these applications new HB LED drivers with constant current outputs have
been designed. The constant LED current guarantees the same brightness for all LEDs and
provides a cost advantage in lighting system solutions, as there is no need for external
resistors for each individual LED. This document describes a simple design solution to drive
an array of high brightness LEDs, using the STP16CP05 and the STP16CPS05 LED
drivers.
Two reference design (one with 80 LEDs and another with 32 LEDs) are proposed to
provide a solution for driving high brightness LED arrays. The first has an array of 80 blue
HB LEDs arranged in a 5 x 16 matrix. This matrix of LEDs is driven by five 16-channel
STP16CPS05 drivers, with which it is possible to implement short, moving text. Also, all of
the LEDs in the display can be turned on simultaneously using a switch, in order to
demonstrate the uniformity in the brightness of the LEDs, which is achieved by applying the
same sink current to all channels. The second reference design is a smaller 4 x 8 LED
matrix driven by the STP16CP05 and the STP16CPS05, and includes a DC-DC converter
for supply voltages varying from 5 V up to 35 V. For this new 32 LED array reference design,
an evaluation board using OSRAM LEDs is available through order code STEVAL-
ILL003V2.
The new STP16CP05, STP08CP05 and STP16CPS05 LED drivers are monolithic, low
voltage 8-bit or 16-bit shift registers designed for driving LED and LED panel displays.
Thanks to these drivers the output LED current is constant and can be very precisely set
using just one external resistor to control the light intensity of the LEDs. The STPxxCx05
guarantees up to 20 V output driving capability, allowing designers to connect more LEDs in
series. The high 30 MHz clock frequency also satisfies the system requirement of high
volume data transmission. Both designs are controlled by the ST7Lite09 microcontroller,
which provides full text motion control, brightness regulation through PWM and control of
text speed. A 3.3 V supply voltage for the microcontroller and the drivers is provided by a
linear voltage regulator (the LE33 or L78L33).
The STP16CPS05 LED driver employs auto power saving to reduce power consumption.
January 2008
Rev 3
1/18
www.st.com
Contents
AN2141
Contents
1
2
3
4
5
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Reducing power dissipation on the chip . . . . . . . . . . . . . . . . . . . . . . . . 6
Common drain outputs configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
LED array reference designs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5.1
80 LED array reference design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5.1.1
5.1.2
Application schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Bill of material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5.2
32 LED array reference design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.2.1
5.2.2
Application schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Bill of material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6
7
8
The STP16CP05 vs. the STP16CPS05 . . . . . . . . . . . . . . . . . . . . . . . . . . 16
References and related materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2/18
AN2141
List of figures
List of figures
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Figure 9.
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
General configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Configuration with resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Common drain outputs configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
80 LED array reference design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Application schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
32 LED array reference design board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Application schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3/18
Block diagram
AN2141
1
Block diagram
The block diagram of the LED array reference design board is shown in
Figure 1.
The
diagram shows a universal STMicroelectronics system solution for driving an LED array. The
number of LEDs can be increased by adding additional drivers in cascade. The input voltage
is connected to the anodes of all of the HB LEDs. The input voltage value is very important
due to the power dissipation in the drivers. A detailed explanation is described in
Section 3:
Reducing power dissipation on the chip.
The LED cathodes are connected to ground
through constant current sinks. The value of the constant current is set by only one external
resistor. The DC-DC converter is represented by a simple linear controller (LE33 or L78L33)
and provides 3.3 V supply voltage to the microcontroller and the LED drivers. The DC-DC
SMPS (switch mode power supply), using the L5970D step-down converter, is designed to
increase the efficiency, performance and supply voltage range (5 V up to 35 V). A detailed
description of the SMPS design can be found in the L5970D device datasheet.
The control unit in this application is a microcontroller which sends data through the serial
peripheral interface (SPI) to the shift registers. The data are shifted bit by bit to the next
driver with the falling edge of the clock frequency (the maximum communication frequency
for this driver is 30 MHz).
The control panel consists of the switch and two potentiometers. The switch changes the
modes and the potentiometers allow the changing of the brightness and the text speed
(blinking speed).
Figure 1.
Block diagram
4/18
AN2141
Timing diagram
2
Timing diagram
The typical timing diagram is shown in
Figure 2.
The DATA, CLOCK and LATCH waveforms
are shown. The data are changed with the falling edge of the clock frequency. For example,
in
Figure 2
one byte (01101001) can be seen. When all data are written to the drivers
through the SPI, the microcontroller sets the latch input terminal (LE) pin to “log 1" and
rewrites the data to the storage registers. In the next step the LE pin is grounded and thus
the following data can be transmitted to the shift registers without changes in the output
stage. The data in the storage registers are converted to the output constant current stages
by the output enable (EO) pin. Thanks to the output enable pin, the brightness can be
regulated through the PWM signal. Both LED array reference designs have adjustable delay
time via potentiometer after implementation of the “latch signal”. Thanks to this feature the
blinking speed can be regulated (time between sending data packets is changed).
Figure 2.
Timing diagram
5/18