A similar version of this article appeared in the March 15, 2007 issue of
EDN magazine.
Applications that include LEDs but no microcontroller (or other form of control intelligence) can benefit from a simple circuit that provides manual control of the LED's light intensity. Among the devices suitable for this purpose are mechanical (analog) and electronic (digital) potentiometers. The digital pot with two pushbuttons (UP/DOWN), an alternative to the mechanical potentiometer, is smaller, more reliable, and usually less expensive (
Figure 1).
Figure 1. This brightness-control circuit lets you adjust the LED brightness manually, using the UP and DOWN buttons.
U2 is a current regulator (
MAX16800) designed to drive a chain of LEDs with current as high as 200mA. In a standard application circuit, U2's internal regulator senses the drop across current-sense resistor R
SENSE, in series with the LED chain. Thus, U2 controls current through the chain by regulating voltage at the differential inputs CS- and CS+, to the set value of 204mV.
Resistors R
A and R
B allow the current level to be adjusted by the output voltage at U1, pin 6.
U1 is a 64-tap linear digital potentiometer (
DS1869-10) whose resistance is connected between ground and V5, a well-regulated voltage internally generated by U2. The RW control voltage (pin 6), defined as a fraction of V5, is adjusted manually by the two pushbuttons UP and DOWN. A few assumptions allow a quick and simplified calculation of the resistor values needed. Initially you fix R
A, then calculate R
B and R
SENSE. The assumptions are:
- Error induced by the bias current at CS+ (6.93µA maximum) can be neglected.
- The value chosen for RA is much higher than U1's equivalent resistance, for which the worse-case value at position 32 (top and bottom resistances plus the wiper series resistance) is 2.9kΩ.
- RSENSE << RB
After setting R
A = 25.5kΩ, V
WIPER = (5V/63) × N, where N is the wiper setting (0 to 63). (V
WIPER - 0.204V)/R
A = (0.204V - I
LED × R
SENSE)/R
B.
Solve the above equation for R
B under the conditions for which I
LED = 0, which are N = 63 and V
WIPER = 5V (top position):
RB = 25.5kΩ × 0.204V/(5V - 0.204V) = 1.085kΩ
You can choose R
B from the standard values 1.07kΩ (1% series) or 1.1kΩ (5% series).
At the bottom position, where VWIPER = 0 and LED current is maximum (200mA), brightness should be the maximum available. Solving for R
SENSE:
RSENSE = [0.204V +(0.204V × (1.085/25.5))]/0.2A = 1.063Ω
1.07Ω is a standard value in the 1% series.
A graph of LED current versus tap position (
Figure 2) shows a slight nonlinearity due to the variation in resistance seen looking into the wiper at different tap positions. At extreme ends of the pot, only the 400Ω wiper resistance is seen. As the wiper moves towards mid-point, the resistance increases toward a maximum of ¼ of the end-to-end resistance value. Because U1 is a 10kΩ potentiometer, the resistance seen by the wiper at mid-point is about 2.5kΩ in series with R
WIPER. This variation introduces a maximum linearity error of 8%, which is negligible in most LED applications.
Figure 2. LED current vs. tap position in Figure 1 exhibits only a slight nonlinearity.
U2 offers thermal protection against excessive heat and overload conditions. For effective power dissipation and to avoid thermal cycling, the exposed pad of the package must be connected to a large-area ground plane.
© , Maxim Integrated Products, Inc.
|
このウェブサイトのコンテンツは米国および各国の著作権法によって保護されています。コンテンツの複製を希望される場合は
お問い合わせください。.
APP 4561:
アプリケーションノート
4561,
AN4561,
AN 4561,
APP4561,
Appnote4561,
Appnote 4561
|
maxim_web:en/products/analog/data-converters/digital-potentiometers,maxim_web:en/products/power/display-power-control/display-drivers
maxim_web:en/products/analog/data-converters/digital-potentiometers,maxim_web:en/products/power/display-power-control/display-drivers