9 B5WC Built- In Color Sensor User's Manual (E612- E1- 01)
■Sampling period and average number of times
This sensor acquires RGB values at each sampling period of 1 msec. An additive average filter process is
then performed in the sensor to update the output RGB values. Shown below is the relationship between
the average number of times and the data update cycle.
Data update cycle = Sampling period (1 msec) x Average number of times
Average number of times and data update cycle
The average number of times can be configured in
the range from 1 to 50. Increasing the average
number of times allows control of fluctuations in
the output RGB values. Please refer to the chart
on the right for an indication of fluctuation control.
When the average number of times is set to 20,
the fluctuation range of RGB values is suppressed
to about 1/5 compared to the average number of
times set to 1.
Increasing the average number of times also increases the data update cycle. The maximum data update
cycle is 50 msec. For applications where the sensing object moves at high speed, set the average number
of times according to the moving speed and the timing you wish to measure.
For other details related to the I
2
C operation of this color sensor, refer to the product specifications B5W-
VB2322-1, Sections 10 to 12, or Appendix: Color Sensor Operation Overview.
Conceptual image of RGB value fluctuation range and average number of times
Average number of times: 1
Average number of times: 20
Fluctuation range ratio & Average number of times