This applicaTIon note discusses some techniques for adding global LED intensity control to the MAX6956 and MAX6957 static LED drivers. These drivers already have 16-step individual segment current control; this additional control provides a master intensity control that reduces, together, all the individual segment currents in as many steps as desired.
A single external resistor RISET controls the maximum segment current for all the segments. RISET sinks a current from the driver's internal voltage reference, and this small current is mirrored internally to set the full-scale segment current of up to 24mA. The internal segment intensity registers allow each segment drive to be individually reduced from the full-scale in 16 steps.
The full-scale segment current can be controlled by adjusting the effective value of RISET. This can be achieved by replacing the fixed RISET resistor with a low cost digital resistor (for example the 32-step MAX5160). If fewer steps are required, and spare MAX6956/MAX6957 ports are available, then these spare ports can be used instead to directly control the full-scale segment current. The ports drive external resistors to build a simple R-2R-4R type DAC directly at the RISET pin. The design software is an Excel spreadsheet which calculates the resistor values used for a 2-bit DAC (resistors RA and RB) and for a 3-bit DAC (resistors RA, RB, and RC). The slope and linearity of the global control can be chosen to suit the application. These DACs provide 4 and 8 steps of intensity control respectively (Figure 1.)
Figure 1. Adding two or three extra resistors to unused ports to build a global intensity control DAC.
The user will have to provide software in the end application to control the DAC ports to adjust the global intensity. The ports should be switched between a logic low output for a DAC code of 0, and a logic input without pullup (i.e., high impedance) for a DAC code of 1.
Figure 2. Screenshot of the 2-bit Excel spreadsheet.
Figure 3. Screenshot of the 3-bit Excel spreadsheet.
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)