Black glass changes the spectrum of light that hits the ambient light sensor, which is a design challenge for ambient light sensors. In particular, black glass enhances the infrared portion of the spectrum, which is invisible to the human eye. This application note describes several calibration/compensation methods to correct the lumen readings of the light sensor under different lighting conditions. This article discusses how to use the advanced modes of the MAX44007 light sensor to adjust its response to visible light and IR channels. The MAX44007 registers can be used to optimize the sensor's performance under black glass.
introduction
The MAX44007 ambient light sensor offers an advanced operating mode to optimize the sensor's performance behind black glass.
Currently, most smartphones, tablets, laptops and TVs use black glass as the frame of the LCD screen, which makes the terminal product look exquisite and beautiful. In the traditional design, a clear circular window or gap is provided at the location of the ambient light sensor. In the new product, the window or gap of the light sensor is covered with almost opaque black ink, which blends in with the surrounding color. The reason for the manufacturer is simple: the darker the color, the less likely it is to distract the user, and it will look more professional and more sophisticated!
Unfortunately, dark ink covering the ambient light sensor complicates the design in two ways. First, the dark ink attenuates the ambient light, thus reducing the amount of light received by the sensor. Second, the ink also changes the spectrum of the light. The spectral characteristics of the ink almost entirely pass the incident infrared light, while the visible light is attenuated to 3% to 5% of its original intensity. Therefore, the infrared content of the ambient light is greatly amplified. The actual chemical properties of the dark ink will vary from supplier to supplier, further complicating the characteristics of the optical signal transmitted (infrared or ambient light).
Calibrated and compensated for black glass
It is very difficult to accurately match the CIE curve of the human eye. For this reason, most high-performance ambient light sensors (such as the MAX9635) have a calibration/compensation mechanism to correct the lumen reading under different light sources. This correction is achieved by combining two on-chip photodiodes, which effectively provide an accurate light intensity reading to eliminate the effects of different lighting conditions. Since the light spectrum shining on the sensor under black glass changes significantly, further adjustment of the calibration parameters is required.
Special attention needs to be paid to the effect of the light source on the sensor under the black glass and the calibration needs to be corrected. Correction is especially necessary if the light source has a high infrared component, such as sunlight and incandescent light. White LED (WLED) and fluorescent lighting require less adjustment.
The MAX44007 features advanced modes that can be used to adjust the response to visible light and IR signals.
One-time presetting, power-on setting
Follow these steps to perform a one-time preset, usually set at power-up.
Read the contents of each of the 4 registers: 0x09–0x0C.
Storage variables: Adv1, Adv2, VisibleGain and IRGain respectively.
Save the 1's complement of these variables into new variables: Adv1C, Adv2C, VisibleGainC, and IRGainC. For example, IRGainC = !IRGain;
If IRGain = 1010 0110, then IRGainC = 0101 1001.
Write 1000 0001 to register 0x0D to enter advanced mode (set ADV to 1).
Write Adv1C, Adv2C, VisibleGainC, and IRGainC to registers 0x09–0x0C, respectively.
For example, writing 0101 1001 to register 0x0C has an original value of 1010 0110.
Note: A subsequent read of register 0x0C (after the above write operation) will still read back 0101 1001 because the IC does an internal automatic bit flipping before saving the data into these advanced registers.
The IRGainC value is reserved for future use.
If necessary, set an appropriate delay for the Gate Timing Register 0x07.
Set INTE = 1 (register 0x01) to enable interrupts.
Enter normal working mode
Follow the steps below to enter normal measurement mode.
Read registers 0x03 and 0x04 to get a 12-bit lumens reading.
Save the value as ComboLux.
Write 0000 0000 to register 0x0C to enter temporary measurement mode.
Wait at least 1.6s (2x 800ms).
If necessary, contact Maxim to shorten this time.
Read registers 0x03 and 0x04 to get a 12-bit lumens reading.
Save the value as ApproxLux.
Write IRGainC to register 0x0C to exit temporary measurement mode.
Calculation: ActualLux =ApproxLux - IRFactor × (ApproxLux - ComboLux)
AcutalLux is the actual ambient light reading.
ApproxLux = ComboLux, approximating fluorescent and WLED lamps.
ApproxLux > ComboLux, usually incandescent light and sunlight.
To calculate the appropriate IRFactor, please contact Maxim Applications Support and provide a glass sample. Data can be obtained directly from laboratory testing.
According to the ActualLux calculated above, set the corresponding backlight intensity.
Using ComboLux as a reference (normal operating mode of the device), set the Lumen High Limit (Register 0x05) and Lumen Low Limit (Register 0x06) accordingly.
Perform a dummy read of the INTS bit (register 0x00) to clear all interrupts if they were previously set.
Waiting for hardware interrupt.
This is when the program takes the longest time.
After a hardware interrupt occurs, read register 0x00 and verify that INTS = 1.
If INTS = 1, go to step 7 above.
Otherwise, if INTS = 0, return to step 16 after checking other hardware interrupt sources.
Previous article:MAX44009 ambient light sensor LCD backlight brightness control application 2
Next article:Design of Sequential Driving Circuit for EMCCD Image Sensor CCD97
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- 100 sets of Pingtouge RISC-V low-power RVB2601 development boards are waiting for you, as well as projectors and other gifts~
- FPGA_100 Days Journey_if_else and case.pdf
- Based on PSOC6 development board simulation I2C solution X-NUCLEO-IKS01A3 LIS2DW12
- How to measure the output impedance of an amplifier circuit
- MLX90614 infrared temperature measurement module program msp430 source code and data sharing
- EEWORLD University Hall - Learn about CE Mark in one minute
- msp430f5529 interrupt notes--interrupt nesting
- Wearable ECG monitoring
- General test methods for wireless communication equipment
- I started to enter the Huada MCU again