SNVS598B August 2010 – March 2018 LM3535
PRODUCTION DATA.
The ALS averaging time is the time over which the averager block collects samples from the A/D converter and then averages them to pass to the discriminator block (see Figure 32). Ambient light sensor samples are averaged and then further processed by the discriminator block to provide rejection of noise and transient signals. The averager is configurable with 8 different averaging times to provide varying amounts of noise and transient rejection (see Figure 25). The discriminator block algorithm has a maximum latency of two averaging cycles, therefore the averaging time selection determines the amount of delay that will exist between a steady state change in the ambient light conditions and the associated change of the backlight illumination. For example, the A/D converter samples the ALS inputs at 16 kHz. If the averaging time is set to 800 ms, the averager sends the updated zone information to the discriminator every 800 ms. This zone information contains the average of approximately 12800 samples (800 ms × 16 kHz). Due to the latency of 2 averaging cycles, when there is a steady-state change in the ambient light, the LED current begins to transition to the appropriate target value after approximately 1600 ms have elapsed.
The sign and magnitude of these averager outputs are used to determine whether the LM3535 should change brightness zones. The averager block follows the following rules to make a zone transition:
Figure 33 provides a graphical representation of the behavior of the averager.
Using the diagram for the ALS block (Figure 30), Figure 34 shows the flow of information starting with the A/D, transitioning to the averager, followed by the discriminator. Each state filters the previous output to help prevent unwanted zone to zone transitions.
When using the ALS averaging functionality, it is important to remember that the averaging cycle is free running and is not synchronized with changing ambient lighting conditions. Due to the nature of the averager round down, an increase in brightness can take between 2 and 3 averaging cycles to change zones while a decrease in brightness can take between 1 and 2 averaging cycles to change. See Figure 25 for a list of possible averager periods. Figure 35 shows an example of how the perceived brightness change time can vary.