SBAA615 December   2023 OPT4003-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Light Source Detection
  6. 3Light Source Ratios
  7. 4Design and Calibration Considerations
    1. 4.1 Cover Materials
    2. 4.2 Cover Glass Application Example
  8. 5Near Infrared Components of Common Light Sources
    1. 5.1 Incandescent
    2. 5.2 Halogen
    3. 5.3 Light Emitting Diode
    4. 5.4 Fluorescent
    5. 5.5 Sunlight
  9. 6Summary
  10. 7References

Light Source Ratios

Figure 3-1 shows measured data from the OPT4003-Q1. The ratio of channel 0 codes to channel 1 codes is shown on the x-axis, with the light source categories listed on the y-axis. Each broader category includes different sources, which can be seen in Figure 3-2.

GUID-FBF28331-CEDF-4B9A-BE99-AE7D18A28158-low.pngFigure 3-1 Example of OPT4003-Q1 Light Source Ratios
GUID-02E4486B-393A-405B-B223-D82FBB41E6D7-low.pngFigure 3-2 Expanded Example of OPT4003-Q1 Light Source Ratios

Measurements were taken with twenty-five OPT4003-Q1 devices to make sure of stability across units. The resulting light source ratios have clear and defined boundaries. For this data set, thresholds can be created to identify sunlight versus artificial sources.Table 4-2 lists the minimum and maximum ratios of all the indiviudual sources shown in Figure 3-2. The variation of ratios in each category is due to different color temperature sources being grouped together.

Table 3-1 OPT4003-Q1 Test Data Ratios
SourceMinimum Measured RatioMaximum Measured Ratio
Sunlight6.316.97
LED126.52495.19
Incandescent0.941.91
Halogen1.992.18

Specific distinctions can be made by defining thresholds for each light source category, following the same pattern shown in the block of code below.

if (ratio > 2.2 and ratio < 11):
     source = sunlight
else:
     source = artificial