Ambient Light Sensor Calibration Test
This test verifies the ALS has a wide enough viewing angle to not impact sensor test scenarios.
Test details
Associated requirements |
Device.Input.Sensor.ALS.Discretional |
Platforms |
Windows 8.1 x64 Windows 8.1 x86 |
Expected run time |
~2 minutes |
Categories |
Functional |
Type |
Manual |
Running the test
Before you run the test, complete the test setup as described in the test requirements: Sensor Device Testing Prerequisites
The goal of this test is to guarantee that the ALS has a wide enough viewing angle. As seen in the following image, the viewing angle is affected by the depth of the embedded ALS as well as the width of the aperture (using a light pipe can also make a difference).
Figure 1 Viewing Angle
Generally, the observed lux attenuates based on the cosine of the incident angle of the light – this is unavoidable. However, a viewing angle that is too small will prematurely cause an exponential drop in lux readings, detracting from the user experience by falsely triggering our Autobrightness feature and other features that are dependent on ALS.
Therefore, the test measures the impact of incident angle on the fully integrated system’s ALS. There are two main stages to this test after setup.
Pre-Test: Use an adjustable halogen light source and verify with a lux meter at the testing distance (~1 ft) that there is 100 lux incident light. There should be no other light source in the room (top-left image below).
Place the System Under Test so that the ALS aperture is directly under the light with NO offset (top-right image below). The device must read within +/- 10% accuracy: 90-110 lux.
Rotate the System Under Test about the ALS aperture so that the incident light is at a 35 degree angle (bottom images below). The aperture should be at the same testing distance as before. The device must read NO MORE than 50% attenuation from before: 50-110 lux.
Figure 2 Light Sources
Troubleshooting
For troubleshooting information, see Troubleshooting Device.Input Testing.
If you cannot meet the accuracy requirements when the device is exposed to light at a 45 degree angle and the ambient light sensor reading is below 30% attenuation, you should decrease the Change Sensitivity of the senor by using the Sensor Diagnostic Tool included with the Windows Driver Kit.