1. A velocimeter comprising:
- a plurality of photodetectors detecting scattered light in different directions, the light being emitted from a light source and reflected on a moving object;
- an analog-to-digital conversion unit configured to convert detection signals of the photodetectors into digital form and output a plurality of digital signals;
- a velocity calculator configured to calculate velocities of the moving object based on the digital signals;
- an amplitude calculator configured to calculate amplitudes of the detection signals based on the digital signals;
- a dropout detector configured to detect dropouts of the detection signals based on the amplitudes calculated by the amplitude calculator;
- a time keeper configured to keep detection times at each of which a dropout has been detected by the dropout detector;
- a switching-time calculator configured to calculate signal switching times of the digital signals based on the detection times;
- a storage unit configured to store the velocities, the amplitudes, and the signal switching times calculated from the digital signals; and
- an output selector configured to select one of the velocities stored in the storage unit based on a result of comparison between the amplitudes and a result of determination as to whether the digital signals are not relevant to the signal switching times, and output the selected velocity.
2. The velocimeter according to claim 1, further comprising:
- a period calculator configured to calculate periods of the respective digital signals, wherein
- the dropout detector is configured to detect the dropouts of the respective detection signals based on amounts of variation in the periods.
3. The velocimeter according to claim 2, wherein the dropout detector is configured to detect the dropout when the amount of variation in the period of one of the digital signals is larger than a predetermined value.
4. The velocimeter according to claim 1, wherein the dropout detector is configured to detect the dropout when the amplitude of one of the detection signals is smaller than a predetermined value.
5. The velocimeter according to claim 1, wherein the output selector is configured to select the velocity calculated from the detection signal having the largest amplitude among the amplitudes and output the selected velocity.
6. The velocimeter according to claim 1, wherein the output selector is configured to correct a phase shift between the digital signal whose velocity is selected before switching and the digital signal whose velocity is selected after switching and obtain the velocity of the moving object.
7. The velocimeter according to claim 1, further comprising:
- a digital-to-analog conversion unit configured to convert the velocity output from the output selector into analog form and output the velocity in analog form as an analog signal, wherein
- a range of velocities to be output in analog form is set to any range.
8. The velocimeter according to claim 1, wherein the velocity calculator is configured to calculate the velocity of the moving object every period of each detection signal.