SNOAA69 April   2021 LM36922 , LM36923 , LM3697

 

  1.   Trademarks
  2. 1Introduction
    1. 1.1 LM3697 Key Specifications
    2. 1.2 LM3697 Simplified Block Diagram
  3. 2How to map Exponential Data to the Linear Dimming Lookup Table
    1. 2.1 Why use Exponential Data for Dimming?
    2. 2.2 Design Sample: Map Exponential Data to Linear Brightness Dimming Lookup Table
  4. 3Key LM369xx Design Tips
    1. 3.1 Simplified Schematic
    2. 3.2 How to Choose Key Components: Inductor and Capacitor, Schottky Diode D1
  5. 4LM369xx PCB Layout Tips
  6. 5References

Design Sample: Map Exponential Data to Linear Brightness Dimming Lookup Table

The following data is obtained using the LM369xx according to the 11-bit exponential dimming formula in Equation 1 and Equation 2:

Equation 1 shows the LM3697 Dimming Equation:

Equation 1.
GUID-20210202-CA0I-HWVF-SM1S-PSR7MFX8ZCVJ-low.gif

Equation 2 shows the LM36922_3 Dimming Equation:

Equation 2.
GUID-20210202-CA0I-TP0X-3NJT-3FGVQWHSC7P9-low.gif

Where:

  • Code is the 11-bit backlight code in the Control Brightness MSB and LSB registers, or 11-bit brightness dimming data
  • ILED_FULLSCALE is the full-scale LED current setting
  • DPWM is the PWM Duty Cycle; 50 µA is the minimum LED current that the LM36922_3 can handle

Code Configuration sample: Control Brightness MSB and LSB registers. Full format of 11-bit brightness dimming code: 8-bit MSB(10:3) + 3Bit LSB(2:0) = 11 bit, in an actual design, the 11-bit value should be translated to decimal format .

GUID-20210201-CA0I-6V8N-BFRC-9ZHPGQGLM3RV-low.pngFigure 2-1 LM3697 LSB+MSB 11Bit Brightness Dimming Code Format
GUID-20210324-CA0I-HJVW-JB57-53XR4GZN4CCP-low.pngFigure 2-2 LM36922_3 LSB+MSB 11Bit Brightness Dimming Code Format

Assumes target full brightness LED current of 30 mA, total 2048 step, or 11 bit:

Each step of the LED current in linear format is ILED_Step = 30 mA / 2048 = 14.6 µA.

  • For a design using the LM3697:

GUID-20210202-CA0I-0SFL-DVX8-QVGXRC1469DL-low.gif

Changing Equation 1 to ILED_FullScale = 30 mA, assumes DPWM = 1.

Equation 3.
GUID-20210202-CA0I-9HBV-LKWR-1RMCSSFMVDT2-low.gif

Then, it translates it from decimal code to Hex code.

Make a linear format excel table (Exponential Data to Linear Format Dimming Lookup Table) with the previous equations for quick calculation:

Table 2-1 LM3697 Exponential to Linear Dimming
Full Brightness Current (mA)Linear Format Dimming StepLinear Format Dimming Current (mA)Exponential Dimming Code Based on Linear Format, DecimalExponential Dimming Current in Linear Format (mA)
3010.01464800.024193
20.029297550.029315
30.0439451710.043953
40.0585942530.058524
50.0732423170.073178
60.0878913690.087747
203429.79492203829.79123
203529.80957203829.79123
203629.82422203829.79123
203729.83887203829.79123
203829.85352203929.89543
203929.86816203929.89543
204029.88281203929.89543
204129.89746203929.89543
204229.91211203929.89543
204329.92676203929.89543
204429.94141203929.89543
204529.95605204030
204629.9707204030
204729.98535204030
204830204030
  • For a design with the LM36922 and LM36923
    GUID-20210202-CA0I-XBHR-M5XV-PWQBGLR5FFZM-low.gif

Because the minimum LED current that the LM3692x can support is 50 µA in exponential mode, keep all of the value that is less than 50 µA to 50 µA, then make the following change to Equation 2:

Equation 4.
GUID-20210202-CA0I-C0F7-DLMX-TTJFFB0GJMVJ-low.gif

Then, translate decimal code to Hex code.

Make a linear format excel table (Exponential Data to Linear Format Dimming Lookup Table) with the previous equations for quick calculation:

Table 2-2 LM3692x Exponential to Linear Dimming
Full Brightness Current (mA)Linear Format Dimming StepLinear Format Dimming Current (mA)Exponential Dimming Code Based on Linear Format, DecimalExponential Dimming Current in Linear Format (mA)
3010.01464800.05
20.02929700.05
30.04394500.05
40.058594520.058551
50.0732421260.0733
60.0878911860.087945
203729.83887210529.81349
203829.85352210529.81349
203929.86816210629.90414
204029.88281210629.90414
204129.89746210629.90414
204229.91211210629.90414
204329.92676210629.90414
204429.94141210629.90414
204529.95605210729.99507
204629.9707210729.99507
204729.98535210729.99507
204830210729.99507

When dimming begins, the AP(Application Processor) can lookup this table according to linear dimming steps to easily get the target exponential mode brightness code. An example is made to show its working process:

  1. The Software Dimming Module in a smartphone OS sends out linear orders from 1 to 2048 as the Linear Format Dimming Step column of Table 2-1 and Table 2-2 show to AP.
  2. The AP will map linearity dimming orders to exponential dimming code that has been preset in the Exponential Dimming Code Based on Linear Format, Decimal column in Table 2-1 and Table 2-2.
  3. Next, the AP gets this exponential code from Table 2-1 and Table 2-2 sends it to the DPU.
  4. The DPU executes commands from the AP and outputs the target brightness.

In some user cases, the AP cannot handle exponential dimming processes directly for Software Dimming Module limits, so this method helps designers keep the AP dimming code linearity and take the use of smoother dimming performance in expo dimming. Furthermore, this Lookup Table could be integrated into software platform, it could be used as a general tool in all projects in which LM369xx family is designed-in. This solution is acceptable from all sides: easy dimming compatibility and better performance.