This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2019-090052, filed on May 10, 2019, the entire contents of which are incorporated herein by reference.
Embodiments described herein relate generally to an electronic apparatus and a distance measuring method.
A technique to measure the distance to an object is known, in which a laser beam is emitted to the object and the distance to the object is measured based on emission timing at which the laser beam is emitted and reception timing at which a reflected laser beam from the object is received. This technique has been attracting attention as being indispensable for collision prevention or automatic driving of vehicles since the use of such a technique enables a high-speed and contactless detection of a distance to an obstacle around a vehicle.
A reflected laser beam from the object is received together with ambient light such as sunlight. It is therefore difficult to distinguish the reflected laser beam from the ambient light if the light intensity of the reflected laser beam is weak. In order to accurately distinguish the reflected laser beam from the ambient light, it may be necessary to convert the reception signal to a digital signal, store the digital signal in a memory, and perform signal processing such as averaging on the digital signal. In recent years, there has been a demand to increase the distance to objects that can be measured. In order to meet the demand, a large amount of pixel data corresponding to the received light should be stored. This requires a large capacity memory, which leads to an increase in facility costs. In particular, when the above-described distance measuring function is intended to be achieved by a system on chip (SoC) module, an increase in capacity of memory may make it difficult to form a chip.
An electronic apparatus has a light receiver configured to receive a reception light including a reflected pulse provided by a reflection of an emitted pulse on an object, wherein the reception light is received during at least a first time and a second time, and the second time is earlier than the first time;
a memory configured to store a digital signal representing a part of information on the reception light received during the second time; and
processing circuitry configured to measure a distance to the object based on a difference between emission timing of the emitted pulse and reception timing of the reflected pulse by using the information on the reception light received during the first time and the part of information on the reception light received during the second time.
Embodiments of an electronic apparatus and a distance measuring method will now be described with reference to the accompanying drawings. Although most of the following descriptions are for the main part of the electronic apparatus, other parts or functions that are not illustrated or explained may be included in the electronic apparatus.
The electronic apparatus 1 shown in
The light emitter 2 emits a first light, which is a laser beam having a predetermined frequency band, for example. A laser beam is coherent light with uniform phase and frequency. The light emitter 2 intermittently emits pulses of the first light at a predetermined cycle. The cycle in which the light emitter 2 emits the first light is longer than the period of time in which the distance measuring device 7 measures a distance based on each pulse of the laser beam.
The light emitter 2 includes an oscillator 11, a light emission controller 12, a light source 13, a first driver 14, and a second driver 15. The oscillator 11 generates an oscillation signal in accordance with the cycle for emitting the first light. The first driver 14 intermittently supplies power to the light source 13 in synchronization with the oscillation signal. The light source 13 intermittently emits the first light using the power from the first driver 14. The light source 13 may be a laser element that emits a single laser beam, or a laser unit that emits a plurality of laser beams at a time. The light emission controller 12 controls the second driver 15 in synchronization with the oscillation signal. The second driver 15 supplies a drive signal in synchronization with the oscillation signal to the light controller 3 in accordance with a command from the light emission controller 12.
The light controller 3 controls the direction of the first light emitted from the light source 13. The light controller 3 also controls the direction of a second light to be received.
The light controller 3 includes a first lens 21, a beam splitter 22, a second lens 23, a half mirror 24, and a scan mirror 25.
The first lens 21 collects the first light emitted from the light emitter 2 and guides the collected first light to the beam splitter 22. The beam splitter 22 splits the first light from the first lens 21 into two directions, and guides the split lights to the second lens 23 and the half mirror 24. The second lens 23 guides one of the split lights (first split light) from the beam splitter 22 to the light receiver 4.
The half mirror 24 transmits the other of the split lights (second split light) from the beam splitter 22 and guides it to the scan mirror 25. The half mirror 24 reflects the second light, which includes reflected light entering the electronic apparatus 1, toward the light receiver 4.
The scan mirror 25 rotates its mirror surface in synchronization with the drive signal from the second driver 15 included in the light emitter 2, using the driving power of the second driver 15. As a result, the direction of the reflection of a second split light (of the first light), which passes through the half mirror 24 and is incident on the mirror surface of the scan mirror 25, is controlled. The first light emitted from the light controller 3 may be sent for scan in at least one direction by rotating the mirror surface of the half mirror 24 at a constant frequency. The first light may be emitted from the light controller 3 in two directions if two axes are provided to rotate the mirror surface. In
If an object 8 such as a human or a solid material is present in a scanning range of the first light emitted from the electronic apparatus 1, the first light is reflected on the object 8. At least part of the reflected light from the object 8 moves along a path that is substantially the same as the path of the first light, and is incident on the scan mirror 25 included in the light controller 3. The mirror surface of the scan mirror 25 is rotated at a constant frequency. However, since the laser beam travels at light speed, the reflected light from the object 8 is incident on the mirror surface while the angle of the mirror surface of the scan mirror 25 is substantially unchanged. After being incident on the mirror surface, the reflected light from the object 8 is reflected on the half mirror 24 and received by the light receiver 4.
The light receiver 4 includes a photodetector 31, an amplifier 32, a third lens 33, a light receiving sensor 34, and an analog-to-digital converter 35. The photodetector 31 receives the first split light (of the first light) from the beam splitter 22 and converts it to an electrical signal. The photodetector 31 detects emission timing at which the first light is emitted. The amplifier 32 amplifies the electrical signal outputted from the photodetector 31.
The third lens 33 focuses the second light reflected on the half mirror 24 to form an image on the light receiving sensor 34. The light receiving sensor 34 receives the second light and converts it to an electrical signal. The light receiving sensor 34 may be a silicon photomultiplier (SiPM), for example. The SiPM is a photo-sensing element including avalanche photodiodes (APD) that are two-dimensionally arranged in an array form. A reverse-bias voltage that is higher than a breakdown voltage of the APDs is applied to operate the SiPM in a region called “Geiger mode.” The gain of the APDs in the Geiger mode is very high. Therefore, a slight light of one photon may be measured. The electrical signal obtained by the photoelectric conversion at the light receiving sensor 34 is further converted to a digital signal at the analog-to-digital converter 35.
The signal processing unit 5 measures a distance to the object 8 that reflects the first light, and stores the digital signal corresponding to the second light in a memory 43. The signal processing unit 5 includes a distance measurer 41, an extractor 42, and the memory 43.
The distance measurer 41 measures the distance to the object 8 based on the first light and the reflected light. The distance measurer 41 also measures the distance to the object 8 using information on the second light received at a first point in time, and information on the second light received at a second point in time stored in the memory 43, the second point in time being earlier than the first point in time. More specifically, if the light intensity of the second light becomes greater than a reference level within a predetermined period of time from the emission timing at which the first light is emitted, the memory 43 does not store the digital signal corresponding to the second light that is received within the predetermined period of time, and the distance measurer 41 measures the distance to the object 8 based on the timing at which the light intensity of the received second light becomes greater than the reference level using the following expression (1).
Distance=Light Speed ×(reflected light reception timing—first light emission timing)/2 (1)
The extractor 42 extracts part of the second light received by the light receiver 4, the part being effectively used in the measurement operation performed by the distance measurer 41. As will be described later, the extractor 42 only extracts light that is needed for measuring the distance in order to reduce the number of digital signals stored in the memory 43.
The memory 43 stores the digital signal that corresponds to the part of light extracted by the extractor 42. Thus, the digital signals stored in the memory 43 do not correspond to the entire second light received by the light receiver 4, but only part of the second light that is effectively used for the distance measurement operation, which is extracted by the extractor 42.
The signal processing unit 5 shown in
The memory controller 44 controls the memory 43 as to whether or not to store the digital signal, which is the information on the second light received by the light receiver 4, based on a reference level for the light intensity of the second light. More specifically, if the light intensity of the second light becomes greater than a first reference level within a predetermined period of time from the emission timing at which the first light is emitted, the memory controller 44 does not allow the memory 43 to store the digital signal corresponding to the second light received within the predetermined period of time. If the light intensity of the second light is continuously equal to or less than the first reference level within the predetermined period of time, the memory controller 44 allows the memory 43 to store the digital signal corresponding to the second light received within the predetermined period of time. Thus, if a reflected light that travels a short distance is received, i.e., if the received light is a reflected light from an object 8 that is present near the electronic apparatus 1, the memory controller 44 does not allow the memory 43 to store a digital signal corresponding to the reflected light. In this case, the distance measurer 41 measures the distance using the reflected light from the near object. If the light intensity of the second light becomes greater than the reference level at least once, the memory controller 44 causes the memory 43 to store the number of times the intensity of the second light becomes greater.
The reference level setting unit 45 sets the first reference level, the value of which changes as the time elapses from the emission timing at which the first light is emitted. More specifically, the reference level setting unit 45 lowers the first reference level as the time passes from the emission timing. The reason for this is that as the time passes from the emission timing, the ratio of the reflected light from a more distant object 8 increases in the received light, and as the distance to the object 8 increases, the attenuation of the reflected light becomes greater.
The reference level setting unit 45 may set the first reference level not only based on the time passing from the emission timing at which the first light is emitted but also based on the brightness around the light receiver 4. In this case, the electronic apparatus 1 shown in
The memory controller 44 controls the memory 43 as to whether or not to store the digital signal corresponding to the second light received within the predetermined period of time according to the first reference level set by the reference level setting unit 45. More specifically, if the light intensity of the second light becomes greater than the first reference level within the predetermined period of time from the emission timing at which the first light is emitted, the memory controller 44 does not allow the memory 43 to store a digital signal corresponding to the second light received within the predetermined period of time, and if the light intensity of the second light is continuously equal to or less than the first reference level within the predetermined period of time, the memory controller 44 allows the memory 43 to store the digital signal corresponding to the second light received within the predetermined period of time. The state where the light intensity of the second light is greater than the first reference level indicates that the reflected light from a near object 8 is received. In this case, the memory 43 does not store the digital signal since the light intensity of the reflected light is sufficiently high and therefore the reflected light is not covered by noise such as sunlight. In actual cases, the memory controller 44 causes the memory 43 to store the reception timing at which the light intensity of the second light becomes greater than the reference level within the predetermined period of time from the emission timing.
The signal adder 46 performs a signal adding process every time a distance measurement operation is performed on the first light emitted from the light emitter 2. More specifically, if the light controller 3 scan the object 8 with the first light one dimensionally or two dimensionally, the signal adder 46 may obtain a cumulative sum of digital signals for a plurality of adjacent pixels stored in the memory 43 in accordance with the scan result of the first light, thereby improving the noise immunity of the signal. The noise immunity may further be improved by using data acquired during a previous scanning operation when obtaining the cumulative sum. The data that may be used in obtaining a cumulative sum to improve the performance of the measured data will be called “supplemental data.” If the memory 43 has supplemental data when the operation for obtaining a cumulative sum is performed, the supplemental data is used, and if not, the operation for obtaining a cumulative sum is performed without using supplemental data.
When the light intensity of the second light becomes greater than the first reference level within the predetermined period of time, the distance measurer 41 measures the distance to the object 8 based on the point in time (reception timing) at which the light intensity becomes greater than the first reference level. If the light intensity of the second light is continuously equal to or less than the first reference level, the distance measurer 41 measures the distance based on the result of the cumulative sum of the digital signals performed by the signal adder 46. The distance measurer 41 also measures the distance based on the result of the cumulative sum of the digital signals performed by the signal adder 46 when the predetermined period of time passes from the emission timing at which the first light is emitted.
The signal processing unit 5 also includes a small-capacity buffer for temporarily storing digital signals, which is not shown, in addition to the memory 43. The digital signal converted by the analog-to-digital converter 35 is temporarily stored in the buffer. After it is determined which of the digital signals in the buffer are stored in the memory 43, the determined digital signals are stored in the memory 43.
The image processing unit 6 shown in
As described above, the light receiver 4 receives a reception light including a reflected pulse provided by a reflection of an emitted pulse on an object. The reception light is received during at least a first time and a second time, and the second time is earlier than the first time, a memory configured to store a digital signal representing a part of information on the reception light received during the second time. The signal processing unit 5 measures a distance to the object based on a difference between emission timing of the emitted pulse and reception timing of the reflected pulse by using the information on the reception light received during the first time and the part of information on the reception light received during the second time.
The comparison between the digital signal and the reference level in
In the case of
At the same time as the emission of the first light from the light emitter 2, the measurement of the elapsed time from the emission timing starts (step S1). Then, the first reference level L1 is set at the reference level setting unit 45 in consideration of the elapsed time, and if necessary, the brightness around the light receiver 4 (step S2).
The second light is continuously received at the light receiver 4 after the emission of the first light at step S1 (step S3). It is then determined whether the time passing from the emission of the first light at step S1 reaches a predetermined time (step S4). For example, the predetermined time may be set in consideration of a case where the object 8 is located at a distance of several tens of meters from the light receiver 4. The specific value of the predetermined time may be arbitrarily set.
If it is determined that the elapsed time does not reach the predetermined time at step S4, whether the light intensity of the second light received at the light receiver 4 is greater than the first reference level L1 is determined (step S5). If the light intensity is determined to be greater than the first reference level L1, the second light received at that light reception timing is determined to be an effective reflected light from the object 8, and the distance to the object 8 is measured at the distance measurer 41 based on the light reception timing (step S6). In such a case, the memory controller 44 controls the memory 43 not to store the digital signal corresponding to the second light received at the light receiver 4. Steps S4 and S5 are performed by the extractor 42. After step S6, the process after step S2 is repeated. The process after step S2 is also repeated when the light intensity of the second light is determined to be equal to or less than the first reference level L1 at step S5.
If it is determined that the elapsed time passes the predetermined time at step S4, the memory 43 stores the digital signal corresponding to the light intensity of the second light (step S7). The signal adder 46 then obtains a cumulative sum of the digital signals stored in the memory 43 (step S8).
It is then determined whether the result of the cumulative sum of the digital signals is greater than a second reference level (step S9). The value of the second reference level may be changed depending on the elapsed time from the emission timing or the brightness of the surrounding areas as in the case of the first reference level L1.
If it is determined at step S9 that the result of the cumulative sum of the digital signals is greater than the second reference level, the distance measurer 41 measures the distance to the object 8 based on the light reception timing at that instant and the light emission timing (step S10).
If it is determined at step S9 that the result of the cumulative sum of the digital signals is not greater than the second reference level, whether the elapsed time from the emission of the first light reaches a time limit is determined (step S11). If the time limit is not reached, the process after step S3 is repeated. If the time limit is reached, the process shown in
As described above, in the first embodiment, part of the second light received at the light receiver 4, which is effectively used for the distance measurement, is extracted, and a digital signal corresponding to the part is stored in the memory 43. This may lead to a reduction in storage capacity of the memory 43. More specifically, the reflected light from the object 8 that is present near the electronic apparatus 1 has a greater light intensity than ambient light such as sunlight. Therefore, the digital signal corresponding to the reflected light is not stored in the memory 43 when the distance measurement is performed. The storage capacity of the memory 43 may be reduced since digital signals are not stored in the memory 43 in the case where it is not necessary to store them.
It is considered to be difficult to distinguish between ambient light and a reflected light from the object 8 that is present at a distance from the electronic apparatus 1. In order to distinguish the reflected light from the ambient light easily, digital signals corresponding to the reflected light are stored in the memory 43 and a cumulative sum of the digital signals are obtained at the signal adder 46. In this embodiment, the first reference level L1 and the second reference level are changed depending on the elapsed time from the emission timing in consideration of the fact that as the reflected light travels for a longer period of time, the light intensity of the reflected light attenuates more. Furthermore, the first reference level L1 and the second reference level are changed also in consideration of the light intensity of ambient light such as sunlight. As a result, the reflected light included in the second light may be appropriately extracted in consideration of the brightness of the surrounding areas.
If a silicon photomultiplier (SiPM) is used as the light receiving sensor 34 of the light receiver 4, it may detect faint light. However, because of a characteristic of the SiPM, in which the gradient of the falling edge of a reception signal is more gradual than the rising edge, it takes a long time for the reception signal to become zero. Therefore, if digital signals that are obtained as a result of an accurate sampling of signals received by the SiPM are stored in the memory 43, the storage capacity of the memory 43 may need to be increased.
In order to solve this problem, digital signals obtained by shaping the waveform of signals received by the SiPM are stored in the memory 43 in the second embodiment in order to reduce the storage capacity.
The electronic apparatus 1 according to the second embodiment has the same block configuration as the electronic apparatus 1 shown in
The extractor 42 according to the second embodiment extracts the timing at which the light intensity of the intermittent light 50a included in the second light received by the light receiver 4 becomes greater than a predetermined reference level. Each intermittent light 50a has a single waveform that rises from the reference level and falls thereafter as shown in
More specifically, the extractor 42 converts each intermittent light 50a to a pulse signal 50b in synchronization with the rising edge of the intermittent light 50a as shown in the lower part of
The waveform of the intermittent light 50a in the upper part of
By narrowing the pulse width of the pulse signal 50b as shown in
Since the timing at which the reception signal rises may be specified by the timing at which the digital signal generated by the analog-to-digital converter 35 rises, and the peak value at the rising of the reception signal may be specified from the value of the digital signal, the waveform having a long trail at the falling edge outputted by the light receiving sensor 34 may be reliably reproduced later. The reason for this is that the waveform at the falling edge of a signal of the SiPM may be accurately estimated from a simulation based on the characteristics of the SiPM. Therefore, if the reception signal at the light receiver 4 is converted to the pulse signal 50b having a rectangular shape at the extractor 42, the original shape of the reception signal can be reproduced. Accordingly, there is no practical problem.
As described above, in the second embodiment, the second light received at the light receiver 4 is converted to the pulse signal 50b having a rectangular waveform with a narrow pulse width and then stored in the memory 43. As a result, the number of digital signals stored in the memory 43 may be reduced.
The process performed by the extractor 42 according to the second embodiment may be applied to the first embodiment. Therefore, the extractor 42 according to the first embodiment may convert each intermittent light 50a included in the second light received by the light receiver 4 to a pulse signal 50b having a rectangular waveform, and then compares the level of the pulse signal 50b with the first reference level, like the extractor 42 according to the second embodiment. This may further reduce the storage capacity of the memory 43 according to the first embodiment.
In a third embodiment, whether the reflected light is included in the second light is determined from a result of the cumulative sum of the second light received by the light receiver 4 in each of a plurality of reception time regions.
The time sharing detector 48 detects the light intensity of second light 50c received by the light receiver 4 in each reception time region. The time sharing adder 49 obtains a cumulative sum of the light intensity of the second light 50c in each reception time region. More specifically, the time sharing detector 48 detects a digital signal corresponding to the second light 50c in each reception time region. The time sharing adder 49 obtains a cumulative sum of the digital signal corresponding to the second light 50c in each reception time region.
The memory controller 44 compares the values of the respective time regions, determines that the reflected wave 50d may be received during the time region T3 that has the maximum value, and stores a digital signal corresponding to the second light 50c in time region T3 in the memory 43. In this case, the digital signal of the time region T3 stored in the buffer is stored in the memory 43. The memory controller 44 does not allow the memory 43 to store digital signals corresponding to the second light 50c in time regions T1 and T3 to T5. This prevents an increase in storage capacity of the memory 43. As described above, in the third embodiment, a cumulative sum of digital signals corresponding to the second light 50c received by the light receiver 4 in each of a plurality of reception time regions is obtained, the obtained values of the respective reception time regions are compared to one another, and only the data of the reception time region having the maximum value is stored in the memory 43. As a result, only the data of a reception time region that is highly likely to have the reflected wave 50d sent from the object 8 is stored in the memory 43. This may reduce the storage capacity of the memory 43.
At least part of the functions and the operations of the electronic apparatus 1 in each of the above-described embodiments may be realized by means of hardware or software. If software is used, a program relating to the functions and the operations is stored in a storage device, and read and executed by a processor. The storage device for storing the program may be a fixed type storage device such as a hard disk drive (HDD) or a semiconductor memory such as a random access memory (RAM) or a read only memory (ROM).
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel methods and systems described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the methods and systems described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2019-090052 | May 2019 | JP | national |