模拟技术
Optimize the MAX44007 ambient light sensor for use in applications with black glass
Black glass presents a particular challenge for ambient light sensors since it changes the spectrum of ambient light that falls on the ambient light sensor. In particular, black glass enhances the infra-red content of the light spectrum, to which the human eye is blind. This application note explains how a calibration/compensation scheme corrects a light sensor's lux readings in the presence of different light sources. The article shows how to use Advanced Modes in the MAX44007 light sensor to adjust its response to visible and IR channels. Using the MAX44007's register map, you can optimize sensor performance under black glass.
The MAX44007 ambient light sensor provides advanced modes of operation designed to optimize sensor performance under black glass.
Today most smartphones, tablets, notebooks, and TVs have a black glass framing the LCD screen. This frame gives a sleek and professional look to the end-product. Traditionally, a clear circular window or slot was visible on the glass where the ambient light sensor was located. In recent designs, however, the window or slot for the light sensor is covered with a nearly opaque black ink to help that area blend with the color of the surrounding black housing. The manufacturers' reasoning is straightforward: darker the ink, the less distracting, more professional, and sleeker the look!
Unfortunately, the use of black ink over the ambient light sensor complicates its operation in two important ways. First, the black ink attenuates ambient light, thereby reducing the amount received by the sensor. Second, that ink also modifies the spectrum of the light that does get through. The spectral characteristics of the ink allow almost all the incident infrared light to be transmitted, while the visible light is attenuated to 3% to 5% of its original strength. As a result the infrared content is greatly amplified in the ambient light. The transmission of the light, infrared or ambient, is further complicated because the exact chemistry of the black ink can vary with suppliers.
It is difficult to precisely match the human eye's CIE curve. For this reason most high-performance ambient light sensors (e.g., the MAX9635) include a calibration/compensation scheme to correct its lux readings in the presence of different light sources. This correction is accomplished by mixing two types of on-chip photodiodes so that their combined effect provides an accurate light reading regardless of the type of light source. With the significant change in light spectrum falling on the sensor under a black glass, these calibration parameters need to be adjusted further.
It is important to note that the light source does affect the amount of calibration correction that will be required for a sensor under black glass. The adjustment is especially important when the light sources are naturally high in infrared content, such as sunlight and incandescent light. Less adjustment will be needed for light from white LEDs (WLEDs) and fluorescent light.
The MAX44007 incorporates Advanced Modes that can be used to adjust its response to visible and IR channels.
The following is the register map of MAX44007. You will also find this map in the device data sheet.
REGISTER | BIT | REGISTER ADDRESS | POWER-ON RESET STATE | R/W | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ||||
STATUS | |||||||||||
Interrupt Status | INTS | 0x00 | 0x00 | R | |||||||
Interrupt Enable | INTE | 0x01 | 0x00 | R/W | |||||||
CONFIGURATION | |||||||||||
Configuration | CONT | MANUAL | CDR | TIM[2:0] | 0x02 | 0x03 | R/W | ||||
LUX READING | |||||||||||
LUX high byte | E3 | E2 | E1 | E0 | M7 | M6 | M5 | M4 | 0x03 | 0x00 | R |
LUX low byte | M3 | M2 | M1 | M0 | 0x04 | 0x00 | R | ||||
THRESHOLD SET | |||||||||||
Upper Threshold—High Byte | UE3 | UE2 | UE1 | UE0 | UM7 | UM6 | UM5 | UM4 | 0x05 | 0xFF | R/W |
Lower Threshold—High Byte | LE3 | LE2 | LE1 | LE0 | LM7 | LM6 | LM5 | LM4 | 0x06 | 0x00 | R/W |
Threshold Timer | T7 | T6 | T5 | T4 | T3 | T2 | T1 | T0 | 0x07 | 0xFF | R/W |
ADVANCED MODE REGISTERS | |||||||||||
Adv1 Register | 0x09 | 0x00 | R/SW | ||||||||
Adv2 Register | 0xA | 0x00 | R/SW | ||||||||
Visible Gain Register | 0xB | 0x00 | R/SW | ||||||||
IR Gain Register | 0xC | 0x00 | R/SW | ||||||||
Trim Enable Register | 1 | ADV | 0xD | 0x80 | R/W |
Follow this procedure to perform a one-time presetup, typically at power-up.
Follow this procedure to enter Normal measurement mode.
全部0条评论
快来发表一下你的评论吧 !