Shown here are characteristics of the RPR-0521RS regarding the light disturbance canceling function and distance. The RPR-0521RS includes a light disturbance canceling function. The graph on the left shows the LED pulse in the upper part and light-receiving intensity of the photo IC in the lower half, both with time on the horizontal axis. In this way, the RPR-0521RS synchronizes the LED pulse emission and photo IC light-reception timing. The blue outputs A and C in the lower graph represent the disturbance light component, while the red output B denotes the output due to reflection. The output of RPR-0521RS is calculated as "B-(A+C)/2". In other words, by calculating the average value of the disturbance light before and after the emission of light and subtracting it from B, the output for the disturbance light is more accurately canceled. The graph on the right shows the measurement results with and without light disturbance. The lines overlap, with the output characteristics remaining almost unchanged even in the presence of light disturbance. This ensures stable distance detection even in the presence of disturbing light.