A controller obtains a change with time in output of the photodetectors (i.e., motion speed from a differential value of the sensed distance, a displacement amount total from an integral value of the sensed distance, and a motion frequency), senses movement of the object to be sensed based thereon, determines whether the object to be sensed is a human, an animal, or other, and determines the kind