The present disclosure relates to a light source driving device, a light source device, and a distance measuring device. Particularly, the present invention relates to a light source driving device that drives a light source, and a light source device and a distance measuring device that uses the light source driving device.
Distance measuring devices for measuring the distance to an object have conventionally been used for imaging devices such as in-vehicle cameras. For such a distance measuring device, for example, a device may be used that emits laser light to an object and detects light reflected from the object, so that the time required for the laser light to travel to the object and back to the device can be measured to obtain the distance. A driving device for a light emitting element used in such a distance measuring device has a problem of variations in delay time of light emission from the light emitting element. This is because such variations cause an error in distance measurement.
A driving device proposed as such a driving device is, for example, one that sets a target current for attaining a desired emission intensity in distance measurement, in a manner such that the target current is set according to the characteristics of a light emitting element and background light provided when the light emitting element emits no light (see, for example, Patent Document 1). In the prior art, a bias current corresponding to a threshold for light emission from the light emitting element is set in addition to the target current. The drive current for the light emitting element is controlled on the basis of the target current and the bias current that have been set. An error in distance measurement that is caused by an error in, for example, the target current is reduced.
The above-described prior art has the problem of inability to reduce an error in distance measurement in a case where the delay time of a drive signal for the light emitting element varies. In distance measurement, a processing device for performing the distance measurement outputs a signal for controlling light emission to a driving device for a light emitting element. An error in the distance measurement will occur if a delay time between the timing at which the signal is output and the timing at which the light emitting element emits light varies. The above-described prior art has the problem of inability to reduce the error that is based on a variation in the delay time.
The present disclosure was provided in view of the above-described problems, and an object thereof is to reduce an error that is based on a delay time when a light emitting element is driven.
The present disclosure was provided to solve the above-described problems, and a first aspect thereof is a light source driving device including: a light emission drive unit that supplies a light emission current for causing a light source to emit light; a drive signal generation unit that generates a drive signal for driving the light emission drive unit on the basis of the light emission control signal for causing the light source to emit light; a phase difference detection unit that detects a phase difference between a light emission period of the light source and the light emission control signal; and a delay detection unit that detects a delay in the light emission on the basis of the detected phase difference.
Furthermore, in the first aspect, the phase difference detection unit may detect the phase difference from the light emission control signal, with the drive signal being defined as the light emission period of the light source.
Furthermore, in the first aspect, the phase difference detection unit may detect the phase difference from the light emission control signal, with a signal based on the light emission current being defined as the light emission period of the light source.
Furthermore, the first aspect may further include a light receiving unit that detects the light emission from the light source, and the phase difference detection unit may detect the phase difference from the light emission control signal, with a period of the detected light emission being defined as the light emission period of the light source.
Furthermore, in the first aspect, the phase difference detection unit may output a differential signal corresponding to the detected phase difference, and the delay in the light emission may be detected on the basis of the differential signal output from the phase difference detection unit.
Furthermore, the first aspect may further include a filter that attenuates high frequency components of the detected phase difference, and the delay detection unit may detect the delay on the basis of the phase difference in which the high frequency components have been attenuated.
Furthermore, the first aspect may further include a reception unit that receives the light emission control signal, which is transferred through a signal line path, and outputs the received light emission control signal, the drive signal generation unit may generate the drive signal on the basis of the light emission control signal output from the reception unit, and the phase difference detection unit may detect a phase difference between the light emission period of the light source and the light emission control signal output from the reception unit.
Furthermore, in the first aspect, the signal line path may transfer a differential light-emission-control signal provided by converting the light emission control signal into a differential signal, and the reception unit may receive and convert the transferred differential light-emission-control signal into the light emission control signal.
Furthermore, the first aspect may further include a second reception unit to which the generated drive signal is input, and the phase difference detection unit may detect a phase difference between the light emission period of the light source and the drive signal output from the second reception unit.
Meanwhile, a second aspect of the present disclosure is a light source device including: a light source; a light emission drive unit that supplies a light emission current for causing the light source to emit light; a drive signal generation unit that generates a drive signal for driving the light emission drive unit on the basis of a light emission control signal for causing the light source to emit light; a phase difference detection unit that detects a phase difference between a light emission period of the light source and the light emission control signal; and a delay detection unit that detects a delay in the light emission on the basis of the detected phase difference.
Meanwhile, a third aspect of the present disclosure is a distance measuring device including: a light source; a light emission drive unit that supplies a light emission current for causing the light source to emit light; a drive signal generation unit that generates a drive signal for driving the light emission drive unit on the basis of a light emission control signal for causing the light source to emit light; a phase difference detection unit that detects a phase difference between a light emission period of the light source and the light emission control signal; a delay detection unit that detects a delay in the light emission on the basis of the detected phase difference; a sensor that detects reflected light that is the light emitted from the light source and then reflected from an object; and a processing circuit that performs a process of detecting a distance to the object by measuring a time from the emission of the light to the detection of the reflected light.
Aspects of the present disclosure provide the effect of detecting a delay in light emission on the basis of the phase difference between a light emission period of the light source and a light emission control signal. It is assumed that distance detection is corrected on the basis of the detected delay.
Next, modes for carrying out the present disclosure (hereinafter referred to as embodiments) will be described with reference to the drawings. In the drawings referred to in the following, the same or similar parts are denoted by the same or similar reference numerals. Meanwhile, embodiments will be described in the following order.
The distance measuring sensor 3 measures the distance to the object. The distance measuring sensor 3 detects reflected light that is light emitted from the light source device 4 and reflected by the object, and measures the distance to the object on the basis of a required time from the emission of the light from the light source device 4 to the incidence of the reflected light. Signal lines 11, 12, and 13 are connected between the distance measuring sensor 3 and the light source device 4. A light emission control signal output from the distance measuring sensor 3 is transferred through the signal line 11. In this example, the light emission control signal is intended to cause a light source of the light source device 4 to emit light, and indicates the period (timing) of light emission from the light source. As described hereinafter, a differential light-emission-control signal converted into a differential signal is transferred through the signal line 11 in
The light source device 4 includes a light source 20 and a light source driving device 10.
The light source 20 emits light. For example, a laser diode that generates laser light can be used for the light source 20.
The light source driving device 10 causes the light source 20 to emit light. The light source driving device 10 causes the light source 20 to emit light on the basis of, for example, a control signal from the distance measuring sensor 3. For example, the light emission may be performed in a manner such that light emission and non-light emission are repeated on a predetermined cycle. Meanwhile, the light source driving device 10 detects a delay time when the light source 20 emits light, and outputs the detected delay time to the distance measuring sensor 3. The light source driving device 10 in
The control unit 100 controls the entirety of the light source driving device 10. The control unit 100 controls the light source driving device 10 on the basis of a control signal from the distance measuring sensor 3. The control signal from the distance measuring sensor 3 is input to the control unit 100 via the signal line 12. Furthermore, the control unit 100 in
The reception unit 110 receives a light emission control signal output from the distance measuring sensor 3. In this example, the light emission control signal may include a digital signal (train of a pulse signal) indicating a light emission period. For example, a period in which the value of the light emission control signal is “1” may be mapped to a light emission period of the light source. The reception unit 110 outputs the received light emission control signal to the drive signal generation unit 120 and the phase difference detection unit 140. The output signal from the reception unit 110 is output via a signal line 101.
Note that the distance measuring sensor 3 in
The drive signal generation unit 120 generates a drive signal for driving the light emission drive unit 130 (described hereinafter) on the basis of a light emission control signal output from the reception unit 110. The drive signal generation unit 120 outputs the generated drive signal to the light emission drive unit 130 and the phase difference detection unit 140. The output signal from the drive signal generation unit 120 is transferred through a signal line 102.
The light emission drive unit 130 causes the light source 20 to emit light. The light emission drive unit 130 supplies the light source 20 with a light emission current for causing the light source 20 to emit light. The light emission drive unit 130 can include a semiconductor element such as a MOS transistor. Details of the configuration of the light emission drive unit 130 will be described hereinafter.
The phase difference detection unit 140 detects the phase difference between a light emission period of the light source 20 and a light emission control signal. By detecting the phase difference, a delay in light emission from the light source 20 can be detected with reference to the light emission control signal. The delay in light emission may be subtracted from the required time from the emission of light from the light source device 4 to the incidence of the reflected light, i.e., a time measured by the distance measuring sensor 3, so as to reduce an error when detecting the distance to the object.
The phase difference detection unit 140 in
The filters 151 and 152 attenuate the high frequency components of the phase difference detected by the phase difference detection unit 140. The filters 151 and 152 may include low-pass filters. The phase difference signals output from the phase difference detection unit 140 include pulse signal trains having a pulse width corresponding to the phase difference. The filters 151 and 152 attenuate the high frequency components of the pulse signals so as to generate low-frequency phase difference signals having a voltage corresponding to the phase difference. The filter 151, which is connected to the signal lines 105 and 107, attenuates the high frequency components of the phase difference signal input via the signal line 105, and outputs the resultant signal to the signal line 107. The filter 152, which is connected to the signal lines 106 and 108, attenuates the high frequency components of the phase difference signal input via the signal line 106, and outputs the resultant signal to the signal line 108.
The delay detection unit 160 detects a delay in the light emission at the light source 20 on the basis of the phase difference detected by the phase difference detection unit 140. The signal lines 107 and 108 are connected to the delay detection unit 160 in
The gate of the MOS transistor 131 is connected to the signal line 102. The source of the MOS transistor 131 is connected to a sink-side terminal of the constant current circuit 132. A source-side terminal of the constant current circuit 132 is grounded. The drain of the MOS transistor 131 is connected to the cathode of the light source 20 via a signal line 14. The anode of the light source 20 is connected to a power supply line Vcc. In this example, the power supply line Vcc supplies power for causing a light emission current for the light source 20 to flow.
The MOS transistor 131 is a semiconductor element that supplies a light emission current to the light source 20. The MOS transistor 131 is driven by a drive signal generated by the drive signal generation unit 120. An n-channel MOS transistor can be used as the MOS transistor 131 in
The constant current circuit 132 causes a constant current to flow. The constant current circuit 132 limits a current flowing through the light source 20 to a predetermined light emission current when the MOS transistor 131 is conductive. A constant current circuit including a MOS transistor can be used as the constant current circuit 132.
As illustrated in
The signal line 101 is connected to the input of the delay circuit 141. The output of the delay circuit 141 is connected to one input of the NAND gate 145 via the inverting gate 143. The signal line 101 is connected to the other input of the NAND gate 145. The signal line 102 is connected to the input of the delay circuit 142. The output of the delay circuit 142 is connected to one input of the NAND gate 146 via the inverting gate 144. The signal line 102 is connected to the other input of the NAND gate 146. The output of the NAND gate 145 is connected to one input of the NAND gate 147. The output of the NAND gate 148 is connected to the other input of the NAND gate 147. The output of the NAND gate 146 is connected to one input of the NAND gate 148. The output of the NAND gate 147 is connected to the other input of the NAND gate 148. The signal line 105 is connected to the output of the NAND gate 147. The signal line 106 is connected to the output of the NAND gate 148.
The delay circuits 141 and 142 delay input signals for a predetermined period and then output the signals. The delay circuit 141 delays a light emission control signal output from the reception unit 110. The delayed light emission control signal is inverted by the inverting gate 143 and input to the NAND gate 145, and an undelayed light emission control signal is input to the NAND gate 145. As a result, a signal synchronous with a rise of the light emission control signal and having a pulse width corresponding to the delay time of the delay circuit 141 can be generated. Similarly, a signal synchronous with a rise of a drive signal generated by the drive signal generation unit 120 is generated. These signals are input to a flip-flop circuit including the NAND gates 147 and 148. The flip-flop circuit is set by the light emission control signal and is reset by the drive signal. A signal having a pulse width corresponding to the period from the setting by the light emission control signal to the resetting by the drive signal corresponds to the phase difference between the light emission control signal and the drive signal, and is output to the signal lines 105 and 106.
Output signals of the flip-flop circuit are inversions of each other. Thus, signals through the signal lines 105 and 106 are phase difference signals with a differential. The phase difference signals with a differential are input to the delay detection unit 160 respectively via the filters 151 and 152. The phase difference detection unit 140 outputs the phase difference signals with a differential in such a manner, and an analog-to-digital conversion unit 161 (described hereinafter) performs analog-to-digital conversion of the differential signal. In this way, errors in phase difference signals resulting from a fabrication process of the light source driving device 10 or a change in, for example, the power supply voltage or temperature can be reduced.
The analog-to-digital conversion unit 161 converts a phase difference signal into a digital signal. The analog-to-digital conversion unit 161 in
Furthermore, a delay signal that is a digital signal corresponding to the delay time of the drive signal with reference to the light emission control signal can be generated. The delay signal is output to the delay holding unit 162 via a signal line 169. Meanwhile, the analog-to-digital conversion by the analog-to-digital conversion unit 161 is controlled by a control signal from the control unit 100.
The delay holding unit 162 holds the delay signal output from the analog-to-digital conversion unit 161. The delay holding unit 162 outputs the held delay time to the distance measuring sensor 3 at a desired timing. The delay holding unit 162 can include a register that holds a digital signal. Meanwhile, the analog-to-digital conversion unit 161 can perform a plurality of analog-to-digital conversions to generate a plurality of delay signals, and the delay holding unit 162 can hold the plurality of delay signals and output the average of the delay signals as a delay time. The delay holding unit 162 is controlled by a control signal from the control unit 100.
Note that a solid line and a dotted line for the “differential light-emission-control signal” in
The differential light-emission-control signal output from the distance measuring sensor 3 is converted into a single-ended light emission control signal by the reception unit 110. As illustrated in
The pulse signals are input to the NAND gates 147 and 148 forming the flip-flop circuit. In synchronization with a fall of the output signal of the NAND gate 145, the output signal of the NAND gate 147 (signal through the signal line 105) and the output signal of the NAND gate 148 (signal through the signal line 106) transition to value “1” and value “0”, respectively. Then, in synchronization with a fall of the output signal of the NAND gate 146, the output signal of the NAND gate 147 (signal through the signal line 105) and the output signal of the NAND gate 148 (signal through the signal line 106) are inverted and thus transition to value “0” and value “1”, respectively.
The first half in
A in
The distance can be measured using a plurality of microframes associated with different conditions or the like for image generation. For example, the phases of light emission by the light source device 4 and light reception by the distance measuring sensor 3 may be set to 0°, 90°, 180°, and 270° for each microframe, so as to generate four images. Next, the phase difference between the light emitted from the light source device 4 and the light reflected from the object can be calculated from the four images to measure the distance to the object. Details of the distance measurement will be described hereinafter.
The periods of the four microframes form a frame for measuring the distance to the object. This frame can be repeated a plurality of times, and the average of distances obtained by a plurality of frames can be defined as the distance to the object.
B in
When the microframe signal reaches value “1”, a differential light-emission-control signal in the form of a pulse train is output from the distance measuring sensor 3. The output differential light-emission-control signal is received and converted by the reception unit 110 into a light emission control signal, which is output to the drive signal generation unit 120 and the phase difference detection unit 140. After differential light-emission-control signals with a predetermined number of pulses are output, the distance measuring sensor 3 outputs a delay detection signal having a value of “1”. Upon the delay detection signal being output, the control unit 100 outputs an AD conversion signal having a value of “1” to the analog-to-digital conversion unit 161. Upon the AD conversion signal being input, the analog-to-digital conversion unit 161 performs analog-to-digital conversion of phase difference signals output from the filters 151 and 152. The delay time of the digital signals generated through the analog-to-digital conversion is held in the delay holding unit 162.
B in
Furthermore, when the microframe signal reaches value “1”, the distance measuring sensor 3 starts to detect reflected light, and an image signal based on the reflected light is generated. The image signal is generated by an imaging element 350 (described hereinafter) disposed in the distance measuring sensor 3. The imaging element 350 performs photoelectric conversion of the reflected light and generates an image signal on the basis of the charge generated through the photoelectric conversion. In this situation, during a period in which the value of the microframe signal is “1”, the imaging element 350 accumulates the charge generated through photoelectric conversion; and when the microframe signal reaches value “0”, the imaging element 350 generates an image signal on the basis of accumulated image signals and outputs (transfers) the generated image signal to an image processing unit 360 (described hereinafter). The object is detected by the image processing unit 360, and the time from the light emission to the detected object by the light source driving device 10 to the detection of reflected light is measured. The distance is measured by subtracting, from the measured time, the delay time that is based on the delay signal output by the delay holding unit 162. Owing to the subtraction of the delay time, an error based on a delay in light emission by the light source driving device 10 can be reduced.
As described above, the light source driving device 10 according to the first embodiment of the present disclosure detects a delay in light emission from the light source 20 by detecting the phase difference between a light emission control signal input to the drive signal generation unit 120 and a drive signal output from the drive signal generation unit 120. An error in the distance measurement can be reduced by correcting the distance to the object by using the detected delay.
The light source driving device 10 according to the first embodiment detects a delay in the drive signal generation unit 120. By contrast, the light source driving device 10 according to the second embodiment of the present disclosure further detects a delay in the reception unit and, in this respect, is different from the first embodiment.
The reception unit 170 has similar delay characteristics to the reception unit 110. The non-inverting input of the reception unit 170 is connected to the signal line 102. The inverting input of the reception unit 170 is connected to a power supply line Vdd/2. The output of the reception unit 170 is connected to a signal line 103. The power supply line Vdd/2 supplies power having a voltage that is ½ of the power supply voltage of the reception unit 170. The reception unit 170 is operated as a non-inverting buffer since the voltage that is ½ of the power supply voltage is applied to the inverting input. Meanwhile, the signal line 103 is also connected to inputs of the delay circuit 142 and the NAND gate 146 described above by referring to
In terms of the other features, the configuration of the light source driving device 10 is similar to the configuration of the light source driving device 10 described above by referring to the first embodiment of the present disclosure, and descriptions of these features are omitted herein.
The light source driving device 10 according to the second embodiment of the present disclosure includes, as described above, the reception unit 170 disposed between the drive signal generation unit 120 and the phase difference detection unit 140 so as to delay the drive signal, so that the delay time of the reception unit 110 can be detected. An error in the distance measurement can be further reduced.
The light source driving device 10 according to the first embodiment detects the phase difference between a light emission control signal and a drive signal. By contrast, the light source driving device 10 according to the third embodiment of the present disclosure detects the phase difference between a light emission control signal and a signal that is based on a light emission current of the light source 20, and, in this respect, is different from the first embodiment.
The phase difference detection unit 140 in
The drive voltage detection unit 180 generates a drive voltage signal. The drive voltage detection unit 180 converts the drain voltage of the MOS transistor 131, which is acquired via the signal line 14, into a voltage having a signal level of a logic circuit of the phase difference detection unit 140, and inverts the logic, thereby generating a drive voltage signal. The generated drive voltage signal is input to the phase difference detection unit 140 via a signal line 104.
In the light emission drive unit 130, a delay time arises in the period from the input of a drive signal to the supply of a light emission current to the light source 20. This is because the MOS transistor 131 needs a time to transition to the conductive state. Accordingly, the drain voltage of the MOS transistor 131 is detected to generate a drive voltage signal, and the drive voltage signal is input to the phase difference detection unit 140 so that the delay time of the light emission drive unit 130 can be detected.
In terms of the other features, the configuration of the light source driving device 10 is similar to the configuration of the light source driving device 10 described above by referring to the first embodiment of the present disclosure, and descriptions of these features are omitted herein.
As described above, the light source driving device 10 according to the third embodiment of the present disclosure detects the phase difference from a light emission control signal by generating a drive voltage signal from the drain voltage of the MOS transistor 131 of the light emission drive unit 130. As a result, the delay time of the light emission drive unit 130 can be detected, and an error in the distance measurement can be further reduced.
The light source driving device 10 according to the third embodiment detects the phase difference between a light emission control signal and a drive voltage signal. By contrast, the light source driving device 10 according to the fourth embodiment of the present disclosure detects the phase difference between a light emission control signal and light emission from the light source 20, and, in this respect, is different from the third embodiment.
The phase difference detection unit 140 in
The light receiving element 30 receives light from the light source 20. The light receiving element 30 performs light reception by converting a change in emitted light into an electric signal. For example, the light receiving element 30 can include a light receiving diode. The light receiving element 30 in
The light receiving unit 190 detects light emission from the light source 20. The light receiving unit 190 includes a resistor 191 and a non-inverting buffer 192. The input of the non-inverting buffer 192 is connected to the anode of the light receiving element 30 and one end of the resistor 191. The other end of the resistor 191 is grounded. The output of the non-inverting buffer 192 is connected to the signal line 104. As described above, a current corresponding to the amount of received light flows through the light receiving element 30. The resistor 191 converts a change in the current into a voltage change. The voltage change is amplified by the non-inverting buffer 192 and output as a light reception signal.
The light source 20 has a delay time in the period from supply of a light emission current to emission of light. This is because the start of oscillation of laser light is accompanied by a delay time. Accordingly, the light receiving element 30 and the light receiving unit 190 are disposed to directly detect light emission from the light source 20 and generate a light reception signal. Inputting the light reception signal to the phase difference detection unit 140 allows the delay time of the light emission drive unit 130 and the light source 20 to be detected.
In terms of the other features, the configuration of the light source driving device 10 is similar to the configuration of the light source driving device 10 described above by referring to the third embodiment of the present disclosure, and descriptions of these features are omitted herein.
As described above, the light source driving device 10 according to the fourth embodiment of the present disclosure detects light from the light source 20 so as to generate a light reception signal and detect the phase difference from a light emission control signal. As a result, the delay time of the light emission drive unit 130 and the light source 20 can be detected, and an error in the distance measurement can be further reduced.
The following describes the configuration of the distance measuring sensor 3 applied to the distance measuring device.
The distance measuring sensor 3 includes a host interface unit 310, a system control unit 320, a light-source-device control unit 330, a transmission unit 340, an imaging element 350, an image processing unit 360, and a delay detection unit 370.
The host interface unit 310 communicates with the distance measurement control device 2. The distance measurement control device 2 outputs a control signal. The distance measuring sensor 3 outputs a status indicating the state thereof and outputs a distance map image (described hereinafter) to the distance measurement control device 2. The communication of the signals is performed by the host interface unit 310.
The system control unit 320 controls the entirety of the distance measuring sensor 3 and controls distance measurement on the basis of a control signal output from the distance measurement control device 2. The system control unit 320 generates a light emission timing signal indicating a light emission timing of the light source device 4, and outputs the light emission timing signal to the light-source-device control unit 330, the image processing unit 360, and the delay detection unit 370.
The light-source-device control unit 330 controls the light source device 4. The light-source-device control unit 330 generates a light emission control signal on the basis of the light emission timing signal output from the system control unit 320, and outputs the light emission control signal to the transmission unit 340. Furthermore, the light-source-device control unit 330 generates the control signal described above by referring to
The transmission unit 340 converts a light emission control signal into a differential light-emission-control signal, i.e., a differential signal, and transmits the differential signal to the light source device 4 via the signal line 11.
The delay detection unit 370 detects a delay in the light-source-device control unit 330. The delay detection unit 370 detects a delay in the light-source-device control unit 330 on the basis of the phase difference between a light emission timing signal and a light emission control signal. The detected delay is output to the image processing unit 360.
The imaging element 350 is a semiconductor element that captures an image. The imaging element 350 captures an image of an object, i.e., generates an image of the object. The generated image is output to the image processing unit 360.
The image processing unit 360 processes an image output from the imaging element 350. The image processing unit 360 detects the distance to the object unit on the basis of the image output from the imaging element 350. Specifically, the image processing unit 360 starts to measure time upon a light emission timing signal being output from the system control unit 320. Thereafter, reflected light is detected on the basis of the image from the imaging element 350, and the measuring of time stops. The distance to the object is detected according to the time of flight of light that has been measured. In this situation, the image processing unit 360 subtracts the delay detected by the light source driving device 10 and the delay detected by the delay detection unit 370 from the time of flight of light that has been measured. In this way, an error based on the delays in the light source driving device 10 and the light-source-device control unit 330 can be reduced. Furthermore, the image processing unit 360 can generate a distance map image on the basis of the distance to the object. The three-dimensional shape of the object can be obtained from the distance map image. The image processing unit 360 outputs the generated distance map image to the distance measurement control device 2.
Note that the imaging element 350 is an example of the sensor set forth in the claims. The image processing unit 360 is an example of the processing circuit set forth in the claims. The distance measuring sensor 3 is an example of the distance measuring device set forth in the claims.
The phase difference detection unit 371 detects the phase difference between a light emission timing signal output from the system control unit 320 and a light emission control signal output from the light-source-device control unit 330. The detected phase difference is output to the filter 372.
The filter 372 attenuates the high frequency components of the phase difference output from the phase difference detection unit 371. The phase difference in which high frequency components have been attenuated is output to the analog-to-digital conversion unit 373.
The analog-to-digital conversion unit 373 performs analog-to-digital conversion of the phase difference in which high frequency components have been attenuated, thereby generating a delay time of a digital signal. The generated delay time is output to the image processing unit 360.
Note that the configuration of the distance measuring sensor 3 is not limited to this example. For example, the delay detection unit 370 can be omitted. In this case, the image processing unit 360 corrects the time of flight of light on the basis of a delay output from the light source driving device 10.
As described above, the distance measuring sensor 3 of the present disclosure detects a delay in the light-source-device control unit 330 in addition to the delay time of the light source driving device 10, and subtracts the delays from the time of flight of light. In this way, an error in the distance measurement can be reduced.
Note that the configuration of the light source driving device 10 according to the second embodiment can be combined with other embodiments. Specifically, the configuration of the light source driving device 10 in
The following describes a distance measuring device using the light source device 4 and the distance measuring sensor 3.
The lens 5 forms an image of the object on the imaging element 350 of the distance measuring sensor 3.
The distance measuring sensor 3 in
In this formula, I indicates a peak value of reflected light in phase with the emitted light. Q indicates a peak value of orthogonal reflected light. A in
The “emitted light” and the “reflected light” in B in
In this formula, c indicates the speed of light. f indicates the frequency of the emitted light.
Meanwhile, “Q0”, “Q180”, “Q90”, and “Q270” in B in
Thus, θ can be expressed by the following formula.
The distance D to the object can be calculated by substituting θ into the above formula.
The above descriptions of embodiments are intended for examples of the present disclosure, and the present disclosure is not limited to the described embodiments. Thus, various changes can be made as a matter of course according to, for example, design without departing from the technical idea of the present disclosure, even in a case where such changes provide embodiments that are not described herein.
Meanwhile, the effects described herein are nothing but examples and are not limiting. In addition, other effects are also possible.
Furthermore, the drawings pertaining to the described embodiments are schematic, and the ratios between the sizes of components and the like do not necessarily match actual ones. In addition, it is needless to say that the drawings include portions having different relationships and ratios in size.
Furthermore, the processing procedures described above by referring to embodiments may be deemed as methods including the series of procedures, or may be deemed as programs for causing a computer to execute the series of procedures, or as a recording medium storing the programs. For example, a compact disc (CD), a digital versatile disc (DVD), a memory card, and the like can be used as the recording medium.
Note that the present technology can also have the following configurations.
(1) A light source driving device including:
(2) The light source driving device according to (1), in which the phase difference detection unit detects the phase difference from the light emission control signal, with the drive signal being defined as the light emission period of the light source.
(3) The light source driving device according to (1), in which the phase difference detection unit detects the phase difference from the light emission control signal, with a signal based on the light emission current being defined as the light emission period of the light source.
(4) The light source driving device according to (1), further including
(5) The light source driving device according to any of (1) to (4),
(6) The light source driving device according to any of (1) to (5), further including
(7) The light source driving device according to any of (1) to (6), further including
(8) The light source driving device according to (7),
(9) The light source driving device according to (7), further including
(10) A light source device including:
(11) A distance measuring device including:
Number | Date | Country | Kind |
---|---|---|---|
2020-103106 | Jun 2020 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2021/016704 | 4/27/2021 | WO |