Embodiments discussed herein are related to a measurement device, a measurement method, and a measurement program.
A technique that synchronizes a plurality of distance measurement devices including light emitting elements, micro electro mechanical systems (MEMS) mirrors, and light receiving elements has been disclosed.
Japanese Laid-open Patent Publication No. 2018-63228 and Japanese Laid-open Patent Publication No. 62-166172 are disclosed as related art.
According to an aspect of the embodiments, a measurement device includes: a memory; and a processor coupled to the memory and configured to: generate a drive signal with a sine wave, according to a clock signal; control a reflection direction of output light of a light emitting device, by utilizing a resonance frequency, according to the drive signal; control a timing at which the drive signal is generated; and add or remove a pulse of a reference clock signal configured to generate the clock signal, according to a phase difference between a desired control signal and the control signal.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention.
For example, in the above technique, a correction table is prepared for a correction target range, and position correction is performed by referring to the correction table based on a phase difference acquired in a measurement device. It is difficult to make adjustments at high resolution because dealing with ranges outside the correction range prepared in advance is not allowed. Meanwhile, when trying to achieve high-resolution adjustments, the contents of the correction table become enormous. Thus, a technique that detects an internal clock and a frequency offset of input data and inserts or removes an adjustment clock pulse has been disclosed (see Japanese Laid-open Patent Publication No. 62-166172, for example). However, since this technique is for correcting minute fluctuations caused by oscillator (OSC) deviation and the like, the phase difference will be finely adjusted. However, finely adjusting the phase difference impairs the followability between measurement devices. Meanwhile, when trying to broadly make adjustments at once, there are concerns about damage to the MEMS and the occurrence of undesired resonance.
In one aspect, an object of the present embodiments is to provide a measurement device, a measurement method, and a measurement program capable of easily synchronizing measurement devices with each other.
Hereinafter, embodiments will be described with reference to the drawings.
The measurement device 100b includes a light emitting device 11, a MEMS mirror 12, a light receiving lens 13, a light receiving element 14, a main control unit 20, a reference clock generation unit 30, a synchronization control unit 40, a light emission signal generation unit 50, a laser light emitting unit 60, a drive signal generation unit 70, a flight time measurement unit 80, and the like. The measurement device 100a also has a configuration similar to the configuration of the measurement device 100b.
The light emitting device 11 is a device that emits laser light in accordance with an instruction from the laser light emitting unit 60 and includes a light emitting element such as a semiconductor laser. As an example, the light emitting device 11 emits pulsed light in a predetermined sampling cycle. The light emission signal generation unit 50 controls the laser light emitting unit 60. A timing at which the laser light emitting unit 60 instructs the light emitting device 11 to emit pulsed light is sent to the flight time measurement unit 80 from the light emission signal generation unit 50. This means that the flight time measurement unit 80 acquires the pulsed light emission timing.
The MEMS mirror 12 is a micro electro mechanical systems mirror and is a mirror that changes the angle of emitted laser light three-dimensionally. In the MEMS mirror 12, the angle of emitted laser light changes three-dimensionally in response to changes made in the rotation angle about a horizontal axis and the rotation angle about a vertical axis. The rotation angle about the horizontal axis is referred to as a horizontal angle H, and the rotation angle about the vertical axis is referred to as a vertical angle V. The drive signal generation unit 70 gives instructions on the horizontal angle H and the vertical angle V of the MEMS mirror 12. Pulsed light emitted from the light emitting device 11 is deflected according to the horizontal angle H and the vertical angle V of the MEMS mirror 12.
Pulsed light reflected by the MEMS mirror 12 is applied to a distance measurement target, scattered (reflected), and returned to the light receiving lens 13. This return light is collected by the light receiving lens 13 and received by the light receiving element 14.
The flight time measurement unit 80 measures the distance to the distance measurement target by adopting a time-of-flight (TOF) technology.
The control device 200 transmits the frequency of a reference clock signal that defines the operation timing of the measurement devices 100a and 100b, to the measurement devices 100a and 100b. The frequency transmitted from the control device 200 is received by the main control unit 20.
The measurement device 100a sends a frame pulse (master frame pulse) and a line pulse (master line pulse) of the measurement device 100a to the inside and the outside of the measurement device 100a. The frame pulse and the line pulse will be described later.
The main control unit 20 sends the frequency received from the measurement device 100a to the reference clock generation unit 30. The reference clock generation unit 30 generates the reference clock signal at the received frequency. The reference clock signal generated by the reference clock generation unit 30 is sent to the synchronization control unit 40. In addition, the main control unit 20 sends the master line pulse and a correction maximum value to the synchronization control unit 40. Furthermore, the main control unit 20 sends the frame pulse (slave frame pulse) and the line pulse (slave line pulse) to the drive signal generation unit 70 and also sends the slave line pulse to the synchronization control unit 40.
The synchronization control unit 40 adjusts a clock signal according to the received master line pulse, slave line pulse, and correction maximum value and sends the adjusted clock signal to the light emission signal generation unit 50 and the drive signal generation unit 70. The operation timings of the light emission signal generation unit 50 and the drive signal generation unit 70 are defined according to the clock signal received from the synchronization control unit 40. Note that the frequency of the clock signal is set lower than the frequency of the reference clock signal.
The MEMS mirror 12 scans the inside of a scanning range with the reflected light from the light emitting device 11 by driving on the two axes, namely, the vertical axis and the horizontal axis.
One round trip of the scanning angle in the vertical direction is completed from the timing of the frame pulse illustrated in
One round trip of the scanning angle in the horizontal direction is completed from the timing of the line pulse illustrated in
The MEMS mirror 12 normally utilizes resonance for at least one axis among the two axes, namely, the horizontal axis and the vertical axis, in order to increase the scanning speed and also to increase the drive angle. In the present embodiment, resonance is utilized normally in the horizontal direction where the number of round trips is larger. An individual difference is sometimes produced in the resonance frequency due to variations during manufacturing. Therefore, for example, when raster scanning is performed horizontally with resonance and vertically without resonance, there is a possibility that the scanning speed in the horizontal direction differs and the frame rate differs for each individual. A large jitter that occurs by forcibly aligning the MEMS mirror 12 with different resonance frequencies into the reference frequency puts a load on the MEMS mirror 12 and, at the same time, can be a factor that causes lack of stability in a system that involves delicate control on the order of nanoseconds. A high-precision mechanism for synchronizing the phases of drive signals between a plurality of measurement devices with different resonance frequencies of the MEMS mirrors 12 while minimizing jitters is expected.
Thus, the present embodiment has a configuration that corrects the displacement between resonance points caused by the individual differences of the MEMS mirrors 12 between a plurality of measurement devices and causes the plurality of measurement devices to operate synchronously.
The master line pulse is sent to the count start unit 46. The slave line pulse is sent to the count end unit 47. The correction maximum value is sent to the correction comparison unit 45. The reference clock signal defines the operation timings of the switching clock generation unit 41 and the phase offset calculation unit 44.
The switching clock generation unit 41 generates a switching clock for making phase adjustments (addition and removal of pulses of the reference clock signal) on the clock signal, from the reference clock signal.
The count start unit 46 starts counting at the rise timing of the master line pulse. The count end unit 47 ends counting at the rise timing of the slave line pulse. The difference detection unit 48 detects the phase difference between the master line pulse and the slave line pulse, using the count start of the count start unit 46 and the count end of the count end unit 47.
The correction comparison unit 45 outputs a clock switching signal generated by referring to the phase difference detected by the difference detection unit 48 and the correction maximum value, to the clock switching unit 43. The correction comparison unit 45 determines whether or not the phase difference detected by the difference detection unit 48 exceeds the correction maximum value. When it is determined that the correction maximum value is exceeded, the correction comparison unit 45 replaces the phase difference with the correction maximum value. The correction maximum value can be set optionally by the control device 200.
The clock switching unit 43 adds and removes phases of the clock signal by switching the switching clock between a 0-phase and a n-phase, depending on the clock switching signal received from the phase comparison unit 42. This generates an adjusted clock signal.
In the example in
In this manner, to adjust the phase difference between two signals, by switching the clock signal between the 0-phase and n-phase to add or remove the pulse of the reference clock signal, adjustments at fine resolution according to the clock signal speed is enabled. This enables to optionally set the adjustment maximum value. As a result, the load put on the MEMS mirror 12 during phase correction may be reduced, and the jitter characteristics may be improved in association with the phase correction, which may decrease the phase difference between two signals.
Note that, in the present embodiment, a correction table or the like does not have to be prepared. Therefore, high resolution may be achieved over a wide scanning range without preparing an enormous correction table. In addition, since the correction of minute fluctuations caused by OSC deviation and the like is not intended, the followability between measurement devices is enhanced. Furthermore, by optionally setting the correction maximum value for large fluctuations (phase displacement), excessive correction is restrained, and enhanced followability may be achieved while damage to the MEMS mirror 12 is suppressed.
As described above, according to the present embodiment, measurement devices may be easily synchronized with each other.
Note that, in the examples in
The main control unit 20 of the measurement device 100a uses the reference clock signal at the frequency received from the control device 200 to generate the master line pulse (step S11) and to generate the master frame pulse (step S12). The main control unit 20 of the measurement device 100a transfers the master line pulse to the measurement device 100b (step S13) and transfers the master frame pulse to the measurement device 100b (step S14). Thereafter, in the measurement device 100a, the laser light emitting unit 60 emits pulsed light in the sampling cycle, and the drive signal generation unit 70 generates the drive signal according to the master frame pulse and the master line pulse to control the MEMS mirror 12. The flight time measurement unit 80 measures the distance in the sampling cycle (step S15).
The main control unit 20 of the measurement device 100b uses the reference clock signal at the frequency received from the control device 200 to generate the slave line pulse (step S21) and to generate the slave frame pulse (step S22). Next, the synchronization control unit 40 performs a synchronization process (step S23).
Thereafter, in the measurement device 100b, the laser light emitting unit 60 emits pulsed light in the sampling cycle, and the drive signal generation unit 70 generates the drive signal according to the master frame pulse and the master line pulse to control the MEMS mirror 12. The flight time measurement unit 80 measures the distance in the sampling cycle (step S24).
Although the synchronization between the measurement devices 100a and 100b has been described in the above embodiment, the number of devices to be synchronized may be three or larger. For example, in addition to the measurement devices 100a and 100b, a measurement device 100c having a configuration similar to the configuration of the measurement devices 100a and 100b may be included. For example, the measurement device 100a functioning as a master may transfer the master line pulse and the master frame pulse to the measurement devices 100b and 100c functioning as slaves.
In each of the above examples, the drive signal generation unit 70 is an example of a drive signal generation unit that generates a drive signal with a sine wave, according to a clock signal. The MEMS mirror 12 is an example of a MEMS mirror that controls a reflection direction of output light of a light emitting device, by utilizing a resonance frequency, according to the drive signal. The main control unit 20 is an example of a control unit that generates a control signal that controls a timing at which the drive signal generation unit generates the drive signal. The slave line pulse is an example of a control signal. The master line pulse is an example of a desired control signal. The synchronization control unit 40 is an example of a clock signal adjustment unit that adjusts the clock signal by adding or removing a pulse of a reference clock signal, according to a phase difference between the desired control signal and the control signal. The phase comparison unit 42 is an example of an instruction generation unit that generates a clock switching instruction from the phase difference. The switching clock generation unit 41 is an example of a switching clock generation unit that generates a switching clock for adjustment, according to the reference clock signal. The clock switching unit 43 is an example of a clock switching unit that switches a clock of the clock signal, by using the switching clock, according to the clock switching instruction.
While the embodiments have been described above in detail, the embodiments are not limited to such specific embodiments, and various modifications and alterations may be made within the scope of the embodiments described in the claims.
All examples and conditional language provided herein are intended for the pedagogical purposes of aiding the reader in understanding the invention and the concepts contributed by the inventor to further the art, and are not to be construed as limitations to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although one or more embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
This application is a continuation application of International Application PCT/JP2020/021872 filed on Jun. 3, 2020 and designated the U.S., the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2020/021872 | Jun 2020 | US |
Child | 17990259 | US |