Professional Documents
Culture Documents
Application Note
D1 D2 D3 D4
R1 R2 R3 R4
D5 D6 D7 D8
R5 R6 R7 R8
Figure 2: LED array in a matrix connection with one resistor per LED
R2 R4
11
R1
2
11
V-
- 0 R3
1 2
V-
0 R5 OUT - 0
U1 3 1
V+
+ V CC OUT Output
3 V CC
V+
C1 +
4
R6 0
U2
C2
0
Figure 4: Current measurement circuitry
December, 2013 Page 4 of 10
Temperature Measurement ture can be determined, and the controller
can respond accordingly.
Even when the current remains constant, the The disadvantage of this method is that the
brightness can vary, however, due to the response curve of the resistor must be
influence of temperature. saved as a table of values in the PIC
The following figure shows this dependency memory.
for a Power TOPLED (LAE67B):
via a watchdog timer
D1 Multiplexer
R1 1
2 1
3 U1
0
D2
Test
R2 Circuit
1
2 1
D3 3 U1
0
R3
0
Controller
Figure 6: Failure recognition circuitry
The Figure 6 illustrates the technique for a all numbers. For example, with 3 input pins,
circuit containing three diodes: 2^3=8 brightness groups can be
differentiated. Then, according to the
The multiplexer can be digitally controlled by configuration of the input pins (high or low),
the microcontroller. Each LED is assigned the number can be specified at the controller
an address which allows it to be selected by input, the corresponding brightness group is
the PIC, in order to determine the current selected and the brightness can be
passing through the diode for current adjusted. In the following example, eight
regulation or to assist in failure recognition. different brightness groups can be used.
V CC
noted that diodes of the same type are R1X R2X R3X
divided into various brightness groups. The
usage of different brightness groups leads to
a different brightness of the LEDs at the 0
same current. With the PWM-Signal the
brightness can be adjusted. The pro- Figure 7: Layout for adjustment of
grammable input/output pins provide the brightness groups
means for adjustment without requiring the
controller to be reprogrammed. The indi- Depending on the value of the resistors R1X
vidual brightness groups are designated by to R3X, a high signal (>4V) or low signal
a number. Enough input pins must be (<1V) is applied to the inputs, and the
available to be able to differentiate between corresponding brightness group is selected.
December, 2013 Page 6 of 10
Circuit Diagram Note:
The PWM signal created by the controller is
In the following figure, the principle amplified by a transistor prior to being
construction of the driver circuitry with the applied to the array. The amplitude of 5V is
previously described applications is too low to drive the array directly.
described. The LED array consists of nine
diodes connected together. If the array size is increased, additional
paths must be connected to the multiplexer
and additional transistors may possibly be
required for amplification.
V CC
Multiplexer D1 D2 D3
1
In01 2
In02 3
+ 13 In03 4
Test- + Out1 In04 5
Circuit In05 6 R1 R2 R3
Current - 14 In06 7
OUT - Out2 In07 8
OUT In08 9
Contr oll 1
Contr oll 2
In09 10
In10 11 D4 D5 D6
In11 12
In12
Test-
15
16
Circuit
Temperature
OUT R4 R5 R6
OUT
D7 D8 D9
PIC-Microcontroller
1
A /D (Temper atur e)
2 5
A /D (Cur rent) Controll 1 R7 R8 R9
6
3 Controll 2
X1 CLKIN
J1
4 7
CLKOUT PWM
Input1
Input2
Input3
externer
Taktgenerator
10
R10
8
9
1
3
OUT 1
OUT 2
OUT 3
LED-Type
Multiplexer V CC
1
In01
Test- + 5 R1 R2 R3
+ Out1
Circuit
Current - 6 2
OUT - Out2 In02 3
OUT In03 4
Controll 1
Controll 2
In04
D1 D2 D3
7
D4 D5 D6
PIC-Microcontroller
D7 D8 D9
1
A /D (Cur rent) 4
Controll 1
5
2 Controll 2
X1 CLKIN
J1
3 6
CLKOUT PWM
Input1
Input2
Input3
externer
Taktgenerator
R10
1 7
2 8
3 9
OUT 1
OUT 2
OUT 3
LED-Type
1
PWM
D4 D5 D6
2
A /D (Cur rent)
D7 D8 D9
R1
0
Figure 10: Circuit example with matrix connection
Conclusion
The applications shown here are not
restricted to a particular type of LED. The
appropriate resistor values must be selected
and the temperature characteristics must be
entered into a lookup table in memory.
Additional options are available when using
a controller. Many controllers provide serial
communications capabilities (USART, SPI,
USB, CAN, etc.), which permit connections
to other devices.
The applications described here allow driver
circuitry to be created which can be
individually tailored to address the tasks at
hand.
DISCLAIMER
PLEASE CAREFULLY READ THE BELOW TERMS AND CONDITIONS BEFORE USING THE
INFORMATION. IF YOU DO NOT AGREE WITH ANY OF THESE TERMS AND CONDITIONS, DO NOT
USE THE INFORMATION.
The Information shown in this document was produced with due care, but is provided by OSRAM Opto
Semiconductors GmbH as is and without OSRAM Opto Semiconductors GmbH assuming, express or
implied, any warranty or liability whatsoever, including, but not limited to the warranties of correctness,
completeness, merchantability, fitness for a particular purpose, title or non-infringement. In no event shall
OSRAM Opto Semiconductors GmbH be liable - regardless of the legal theory - for any direct, indirect,
special, incidental, exemplary, consequential, or punitive damages related to the use of the Information.
This limitation shall apply even if OSRAM Opto Semiconductors GmbH has been advised of possible
damages. As some jurisdictions do not allow exclusion of certain warranties or limitations of liability, the
above limitations or exclusions may not apply. The liability of OSRAM Opto Semiconductors GmbH would
in such case be limited to the greatest extent permitted by law.
OSRAM Opto Semiconductors GmbH may change the Information at anytime without notice to user and is
not obligated to provide any maintenance or support related to the Information. The Information is based
on specific Conditions and, therefore, alterations to the Information cannot be excluded.
Any rights not expressly granted herein are reserved. Except for the right to use the Information included
in this document, no other rights are granted nor shall any obligation be implied requiring the grant of
further rights. Any and all rights or licenses to patents or patent applications are expressly excluded.
Reproduction, transfer, distribution or storage of part or all of the contents of this document in any form
without the prior written permission of OSRAM Opto Semiconductors GmbH is prohibited except in
accordance with applicable mandatory law.