| CPC G01S 7/4802 (2013.01) [G01S 7/497 (2013.01); G01S 17/10 (2013.01); G01S 17/894 (2020.01); G01S 17/931 (2020.01)] | 18 Claims |

|
1. A ranging system for mounting on an electronic apparatus, the ranging system comprising:
a light source that emits light;
a sensor that detects reflection light of light emitted from the light source unit and reflected on a target object;
a determination unit that determines whether or not a peripheral object is usable as a reflection object on a basis of a predetermined determination condition; and
a generation unit that generates a correction table for correcting an offset value between a true value of a range value and a measured value on a basis of a detection result received from the sensor and obtained by detecting reflection light of light applied from the light source to a target object usable as the reflection object in a case where the peripheral object is determined to be usable as the reflection object, wherein
the determination unit determines that a second surface that is included in the target object and has unknown reflectance is usable as the reflection object in a case where a first surface on a side where the light source and the sensor are provided is in contact with the second surface,
the target object includes a charging stand that has a function of charging the electronic apparatus, and
the determination unit determines that the second surface is usable as the reflection object when the electronic apparatus is placed on the charging stand during charge, and comes into such a state where the first surface of the electronic apparatus faces the second surface of the charging stand.
|