Distance measurement system and method
By using avalanche photodiode and high sampling rate analog-to-digital converter in laser scanner, combined with logarithmic amplifier and anti-aliasing filter, the intercorrelation between digital signals and templates is solved, and the insufficient distance measurement accuracy in the prior art is solved. Problem, high resolution and sensitivity distance measurement is achieved.
Patent Information
- Application Number
- CN202080025761.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-03-29
- Filing Date
- 2020-02-27
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2040-02-27
AI Technical Summary
Existing distance measurement systems have problems of insufficient accuracy and high cost when measuring distances to objects, especially in applications requiring high resolution.
Using a laser scanner, combined with avalanche photodiode, logarithmic amplifier, anti-aliasing filter and high sampling rate analog-to-digital converter, determine the time of flight by generating and analyzing analog-to-digital signals, performing cross-correlation between digital signals and templates, and Calculate the distance of the object based on this. The system also includes different light detection thresholds and gain strategies to adapt to different distance ranges, improving sensitivity and accuracy.
The resolution of distance measurement is achieved on a cost-effective basis, the distance of the object can be determined with a resolution of about 5 mm to 75 mm, and the sensitivity and accuracy of the system are enhanced by different light detection thresholds and gain strategies.
Smart Images

Figure CN113661409B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of U.S. Provisional Patent Application No. 62 / 826,666, entitled “DISTANCE MEASUREMENT SYSTEMS AND METHODS” filed on March 29, 2019, under 35 U.S.C. §119(e). The entire contents of the above application are incorporated herein by reference, and the entire contents disclosed in it are made part of this specification.
[0003] Incorporation by reference
[0004] The entire contents of U.S. Patent No. 6,753,776, entitled “PRESENCE SENSING SYSTEM AND METHOD”, issued on June 22, 2004, are incorporated herein by reference, and the entire contents disclosed therein are made a part of this specification. Technical Field
[0005] Some embodiments disclosed herein involve determining the presence of and / or the distance to an object, such as using a laser scanner or other optical device. Background Art
[0006] While various systems exist for measuring the distance to an object, there remains a need for improved systems. Summary of the invention
[0007] For illustrative purposes, certain example embodiments are summarized below. The embodiments are not limited to the specific implementations described herein. The embodiments may include several novel features, no single one of which is solely responsible for its desirable attributes or essential to the embodiments.
[0008] Various embodiments disclosed herein may be directed to a laser scanner, comprising a laser light source configured to output laser pulses, and an optical sensor configured to generate an analog signal from one of the laser pulses reflected by an object. The analog signal may have a first dynamic range. The logarithmic amplifier may be configured to amplify the analog signal to have a second dynamic range less than the first dynamic range. The analog-to-digital converter may be configured to convert the analog signal into a digital signal sample having a signal sampling rate. A template may be stored in a computer-readable memory. The template may represent an expected return reflection signal. The template may have a template sampling rate higher than the signal sampling rate. At least one processor may be configured to: perform a cross-correlation between the digital signal sample and the template; determine a flight time value based at least in part on the cross-correlation; and determine a distance to the object based at least in part on the flight time value.
[0009] The optical sensor may be an avalanche photodiode. The laser scanner may have a capacitor between the optical sensor and the logarithmic amplifier. The capacitor may be configured to attenuate a direct current (DC) component of the analog signal. The anti-aliasing filter may be configured to attenuate the frequency content (e.g., above a threshold frequency) of the analog signal. At least one processor may be configured to convert digital signal sampling from a logarithmic scale to a linear scale. The signal sampling rate may be between about 200 million samples per second and about 1.25 billion samples per second. The signal sampling rate may be between about 200 million samples per second and about 600 million samples per second. The scanner may be configured to determine the distance to the object at a resolution of about 5 mm to about 75 mm. The signal sampling rate may be less than 750 million samples per second, and the scanner may be configured to determine the distance to the object at a resolution of less than about 100 mm.
[0010] At least one processor is configured to determine that an object is present at a first distance in response to detection of light exceeding a first light detection threshold; determine that an object is present at a second distance in response to detection of light exceeding a second light detection threshold; and determine that an object is present at a third distance in response to detection of light exceeding a third light detection threshold. The second distance may be farther than the first distance. The third distance may be farther than the second distance. The second light detection threshold may be higher than the first light detection threshold. The third light detection threshold may be lower than the second light detection threshold. At least one processor may be configured to determine that an object is present at least in part by applying different light detection thresholds for different distances or distance ranges. At least one processor may be configured to scale at least some of the digital signal samples based at least in part on the determined distance to the object. At least one processor may be configured to confirm or ignore the presence of an object based at least in part on a comparison of the scaled digital signal samples with a threshold. At least one processor is configured to: determine that an object may be present at the determined distance; scale at least some of the digital signal samples based at least in part on the determined distance; and confirm the presence of an object at least in part by comparing the scaled digital signal samples with a threshold. At least one processor may be configured to: apply a first gain to at least some of the digital signal samples for a first distance; apply a second gain to at least some of the digital signal samples for a second distance; and apply a third gain to at least some of the digital signal samples for a third distance. The second distance may be greater than the first distance. The third distance may be greater than the second distance. The second gain may be less than the first gain. The third gain may be greater than the second gain.
[0011] At least one processor may include a field programmable gate array and a microcontroller. The laser scanner may also include: a test signal generator configured to inject an analog test signal before the logarithmic amplifier, so that the logarithmic amplifier amplifies the analog test signal, and causes the analog-to-digital converter to convert the analog test signal into a plurality of digital test signal samples. At least one processor may be configured to analyze the plurality of digital test signal samples to verify the laser scanner. At least one processor may be configured to perform a Fourier transform on the digital test signal samples to convert the digital test signal samples to the frequency domain. At least one processor may be configured to analyze the frequency content of the digital test signal samples. At least one processor may be configured to compare the signal energy at the fundamental frequency with the signal energy at one or more harmonic frequencies to analyze the digital test signal samples. The laser scanner may also include: an optical filter, the optical filter may be configured to allow one of the laser pulses reflected by the object to be transmitted to the optical sensor. The optical filter may be configured to block the transmission of light of other wavelengths. The laser scanner may also include a window. The laser light source may output the laser pulse through the window. One of the laser pulses reflected by the object may be received through the window. The window may be configured to block transmission of ambient light or light having a wavelength not close to that of the laser light source.
[0012] Various embodiments disclosed herein may be directed to a method for determining a distance to an object. The method may include the following steps: emitting a light pulse in a direction toward the object; receiving a return reflection of the light pulse from the object; generating an analog signal for the return reflection using an optical sensor; amplifying the analog signal using a logarithmic amplifier; filtering the analog signal using an anti-aliasing filter; converting the analog signal to a plurality of digital signal samples at a signal sampling rate; performing a cross-correlation between the plurality of digital signal samples and a template having a template sampling rate faster than the signal sampling rate; and determining the distance to the object based at least in part on the cross-correlation.
[0013] The step of determining the distance to the object may include the steps of determining a time of flight value based at least in part on the cross-correlation; and determining the distance to the object based at least in part on the time of flight value. The method may also include the steps of determining a return reflection arrival time based at least in part on the cross-correlation; determining the time of flight based at least in part on the return reflection arrival time and the time when the light pulse is emitted; and determining the distance to the object based at least in part on the time of flight. The method also includes the steps of converting a plurality of digital signal samples from a logarithmic scale to a linear scale prior to the cross-correlation. The cross-correlation may be performed by a processor. The processor may communicate with a computer-readable memory storing a template. The method may also include the steps of stopping the machine in response to detecting the object. The method may also include the steps of determining the distance to the object with a resolution between about 10 mm and about 50 mm. The light pulse may be a laser pulse.
[0014] The method further includes the steps of confirming the presence of the object at least in part by scaling at least some of the digital signal samples based at least in part on the determined distance and comparing the scaled digital signal samples to a threshold. The step of scaling at least some of the digital signal samples may have the effect of increasing sensitivity within a short range compared to a medium range. The step of scaling may have the effect of increasing sensitivity within a long range compared to a medium range. The method may include applying different light detection thresholds for different distance ranges to determine the presence of the object. The method may also include the steps of comparing light reflected from a first distance with a first light detection threshold to determine whether the object is present at the first distance; comparing light reflected from a second distance with a second light detection threshold to determine whether the object is present at the second distance; and comparing light reflected from a third distance with a third light detection threshold to determine whether the object is present at the third distance. The second distance may be further than the first distance. The third distance may be further than the second distance. The second light detection threshold may be higher than the first light detection threshold. The third light detection threshold may be lower than the second light detection threshold.
[0015] The method may include the steps of injecting an analog test signal; amplifying the analog test signal using a logarithmic amplifier; filtering the analog test signal using an anti-aliasing filter; converting the analog test signal to a plurality of digital test signal samples; and analyzing the plurality of digital test signal samples for verification. The method may include the steps of analyzing the plurality of digital test signal samples in the frequency domain. The method may include the steps of performing a Fourier transform on the plurality of digital test signal samples.
[0016] Various embodiments disclosed herein may relate to a laser scanner, which may include: a laser light source configured to output laser light; an optical sensor for generating an analog signal from a return reflection of the laser light reflected by an object; an analog-to-digital converter configured to convert the analog signal into a digital signal sample; and a processor configured to process the digital signal sample to determine flight time information.
[0017] The laser scanner may include an amplifier for amplifying the analog signal. The amplifier may be a logarithmic amplifier. The processor may be configured to convert the digital signal samples from a logarithmic scale to a linear scale. The amplifier may have a soft saturation characteristic. The processor may be configured to compare the digital signal samples to a template. The time-of-flight information may be based at least in part on the comparison. The comparison may be a cross-correlation. The processor may be configured to determine a distance to an object based at least in part on the time-of-flight information.
[0018] Various embodiments disclosed herein may relate to a laser scanner comprising: an optical sensor configured to generate an analog signal; and an analog-to-digital converter configured to convert the analog signal into a digital signal sample. The digital signal sample may have a signal sampling rate between about 200 million samples per second and about 600 million samples per second. The processor may be configured to analyze the digital signal sample to determine the distance to the object at a distance resolution of about 5 mm to about 75 mm. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Specific embodiments will be discussed in detail with reference to the following drawings, wherein like reference numerals refer to similar features throughout. These drawings are provided for illustrative purposes, and the embodiments are not limited to the specific embodiments shown in the drawings.
[0020] Figure 1 An example implementation of a laser scanner configured for protection against hazardous equipment is shown.
[0021] Figure 2 is a block diagram illustrating components of an example implementation of a laser scanner.
[0022] Figure 3 A perspective view of an example implementation of a laser scanner is shown.
[0023] Figure 4 is a cross-sectional view of another example implementation of a laser scanner.
[0024] Figure 5 is a block diagram illustrating an example implementation of a detection system for a laser scanner.
[0025] 6A to 6FA comparison of the template and a graph of the digital signal samples is shown.
[0026] Figure 6G An example template waveform is shown.
[0027] Figure 7 is a flow chart of an example method for determining a distance to an object. DETAILED DESCRIPTION
[0028] Laser scanners or other systems for sensing the presence of an object and / or for measuring the distance to an object can be used in a variety of applications such as for guarding hazardous equipment (e.g., industrial machinery), for surveying, for security systems, for robot vision, robot guidance or path finding, and the like. Figure 1 A laser scanner 100 configured for guarding a hazardous device 102 (e.g., such as an industrial machine) is shown. Although various examples are provided herein with respect to a laser scanner for machine guarding, the features and concepts disclosed herein may be applied to various other contexts such as rangefinders, surveying equipment, light curtains, motion detectors, navigation systems, autonomous vehicles, and the like. The laser scanner 100 may emit light pulses and receive light reflected from an object 104, which may be measured and used to determine that the object 104 is present. In some applications, the laser scanner 100 may send light pulses in multiple directions so that the direction to the object may be determined. For example, the laser scanner 100 may step the light pulses across the angular field of view, for example, in sub-degree increments, although other increments or other configurations may be used depending on the application. The laser scanner 100 may determine the distance to the object 104, for example, by determining the time of flight of the light traveling to the object and then returning to the laser scanner 100. For example, the distance to the object may be 1 / 2·c·t, where c is the speed of light and t is the time of flight. Using the direction and distance information, the location of the object 104 can be determined. Actions can be taken in response to the determination of the location, direction, and / or distance of the object. For example, if the object 104 (e.g., a person) enters within a threshold distance, the dangerous device 102 can be stopped or an alarm or warning can be issued, etc.
[0029] Because light travels very quickly, the accuracy of the time-of-flight measurement has a significant impact on distance determination. For example, a 1 nanosecond difference in time of flight may result in a 150mm difference in distance. In addition, the resolution of the distance determination may depend on the sampling rate. For example, a sampling period of 2 nanoseconds (e.g., a sampling frequency of 500MHz) may result in a native distance resolution increment of 300mm. Therefore, in this example, the laser scanner will be able to determine the distance to the object in increments of 300mm. Increasing the sampling rate of the laser scanner 100 may be expensive. Various embodiments disclosed herein relate to upsampling to increase the effective sampling rate of the laser scanner 100 and thereby increase the resolution of the distance determination (e.g., in a cost-effective manner).
[0030] Figure 2 is a block diagram illustrating components of an example implementation of a laser scanner 100. The laser scanner 100 may have a light emitting system 106 that may be configured to emit light (e.g., by generating light pulses). The light emitting system 106 may have a laser such as a pulsed laser configured to output discrete laser pulses. The duration of the light pulse (e.g., laser pulse width) may also affect the resolution of the distance determination. For example, in some cases, if the light pulses are not fast enough, increasing the actual sampling rate may have a diminishing return for increasing the distance resolution. Faster lasers (e.g., lasers that generate laser pulses with shorter pulse widths) may be expensive. Some embodiments disclosed herein may involve upsampling to effectively increase the sampling rate, thereby increasing the resolution of the distance measurement while using cost-effective lasers and other components.
[0031] The laser scanner 100 may have a detection system 108 that may be configured to receive light (e.g., laser pulses) reflected from an object 104 back to the laser scanner 100. The laser scanner 100 may have a controller 110 configured to control the operation of the laser scanner 100 as described herein. The controller 110 may include one or more hardware processors and may execute instructions stored in a computer-readable memory (e.g., in a non-transitory computer-readable medium). The laser scanner 100 may have a machine interface 114 that may output instructions to a corresponding hazardous device 102 (e.g., industrial machinery) or other external device. For example, if an object (e.g., a person) is detected at a specified location or distance, etc., the laser scanner may stop the machine or move the machine to a safe configuration. Other output signals, such as for issuing warnings or alarms or for data logging, may also be provided.
[0032] The laser scanner 100 may have an input / output element 112. For example, a user input element (e.g., one or more buttons, dials, switches, microphones, etc.) may be used to receive input from a user. A user output element (e.g., one or more lights, speakers, displays, printers, etc.) may be used to output information to a user. In some cases, user input and output elements may be combined (e.g., using a touch screen display). The input and output elements 112 may be used to configure the laser scanner 100, operate the laser scanner 100, and / or troubleshoot the laser scanner 100. The output element 112 may provide information about the presence of an object, direction information, distance information, and / or position information. By way of example, the laser scanner 100 may have a plurality of lights that may be selectively irradiated to indicate the direction of an object. Different colors, light intensities, or numerical values may be output to indicate the distance of the detected object from the scanner 100. The laser scanner 100 may output a first color of light (e.g., green) for a safe condition (e.g., where no object is determined to be in a dangerous position or range), and may output a second color of light (e.g., red) for a dangerous condition (e.g., where an object is determined to be in a dangerous position or range). Many alternatives are possible.
[0033] Figure 3 is a perspective view of an example implementation of a laser scanner 100 . Figure 4 is a cross-sectional view of another example embodiment of the laser scanner 100. The laser scanner 100 can have a housing 120 that can enclose or otherwise protect various components of the laser scanner 100, such as electrical and / or optical components. The laser scanner 100 can have a window 122 that can allow light (e.g., from the light emitting system 106) to exit the laser scanner 100 and / or allow light (e.g., reflected from the object 104) to enter the laser scanner 100 so that the received light can be detected by the detection system 108.
[0034] The port 124 may receive a corresponding plug to transfer information to or from the laser scanner 100 (e.g., to implement the machine interface 114). Information may be communicated via a wired connection (e.g., via the port 124), or the scanner 100 may have a wireless communication system for wirelessly sending and / or receiving information. Figure 2 and Figure 3A display 126 (e.g., not visible in the image) can power the laser scanner 100, but other types of power sources (e.g., batteries) can also be used. The laser scanner 100 can have a display 126 (e.g., a touch screen) that can output information and / or receive user input. The display 126 can display text, images, or in some cases can display a light color or pattern (e.g., green, red, flashing, etc.) to indicate information to the user. In some embodiments, multiple light indicators 128 can illuminate to indicate the direction of a detected object, or output other information.
[0035] The scanner 100 can have a light source (e.g., a laser light source 130) that can emit light (e.g., a laser pulse). The light source 130 can be a pulsed laser (e.g., a NIR pulsed laser). The pulsed laser can output laser pulses, and the laser pulses have, for example, a pulse width of about 1ns, about 2ns, about 3ns, about 3.5ns, about 4ns, about 5ns, about 6ns, about 7ns, about 8ns, about 10ns, or any value or range therebetween, but pulse widths outside these ranges can also be used in some cases. In some embodiments, a continuous wave laser or a variety of different types of light sources can be used. In some cases, a pulsed laser can provide good signal energy and signal-to-noise ratio. One or more optical elements 132 can redirect light out of the laser scanner, or otherwise modify the emitted light. The optical elements 132 of the light emitting system 106 can include one or more lenses, filters, reflectors, etc. that can change or redirect light. In some cases, a collimator (e.g., a collimating lens) can be used to collimate the light emitted by the light source 130. Although some examples are discussed in conjunction with laser scanners, in some cases, the scanner 100 may use non-lasers that may be collimated in some embodiments. The scanner 100 may include a rotatable mirror 134 that may redirect light out of the scanner 100 at different azimuth angles depending on the rotational position of the rotatable mirror 134. The rotatable mirror 134 may be angled relative to the path of the emitted light that strikes the rotatable mirror 134 (e.g., at an angle between about 30 degrees and about 60 degrees, between about 40 degrees and about 50 degrees, or about 45 degrees). The motor 136 may rotate the rotatable mirror 134 (e.g., around a vertical rotation axis). Light (e.g., laser pulses) may be emitted through the window 122. The window may have a generally inverted frustoconical shape. The window may extend across about 90 degrees, about 120 degrees, about 150 degrees, about 180 degrees, about 210 degrees, about 240 degrees, about 270 degrees, about 300 degrees, about 330 degrees, or more, or any value or range therebetween. The scanner 100 can scan or step the laser pulses across a field of view or detection area (e.g., across angles of about 90 degrees, about 120 degrees, about 150 degrees, about 180 degrees, about 210 degrees, about 240 degrees, about 270 degrees, about 300 degrees, about 330 degrees, or greater, or any value or range therebetween). The steering mirror 138 can redirect light from the light source 130, for example, to help turn or redirect the light out of the scanner 100).
[0036] Light may be reflected from the object and the reflected light may be returned to the laser scanner 100. The return reflection of the emitted light may be received through the window 122. One or more optical elements 140 may redirect the received light and / or otherwise modify the received light before the received light is measured by the optical sensor 142. One or more optical elements 140 may include one or more lenses 143, filters 141, reflectors, etc. The optical sensor 142 may generate a signal based at least in part on the light reflected by the object and received by the laser scanner 100. The rotatable mirror 134 may direct the received light to the optical sensor 142. The optical sensor 142 may be a photodiode such as an avalanche photodiode, but any suitable type of image sensor may be used. The image sensor 142 may convert the received light into an electrical signal. The scanner 100 may analyze the electrical signal to determine the presence, direction, distance, and / or position of the object 104. The laser scanner 100 may utilize additional details and features disclosed in the '776 patent, which is incorporated herein by reference.
[0037] Figure 5 is a block diagram illustrating an example implementation of a detection system 108 for a laser scanner. The detection system 108 may have an optical sensor 142, an AC coupling capacitor, an amplifier 156, a filter 158, an analog-to-digital converter (ADC) 160, a processor 162, and a computer readable memory 164.
[0038] In some embodiments, the optical sensor 142 can be an avalanche photodiode, but any suitable type of optical sensor can be used. The avalanche photodiode can convert the light it receives into electricity using the photoelectric effect. The avalanche photodiode can have a relatively high bias voltage (e.g., between about 80 volts and about 300 volts, but any suitable voltage can be used), for example, received from a voltage source 150 (e.g., a power supply or battery). The optical sensor 142 can be coupled to ground via a resistor 152. In some embodiments, an active current source or load can be used in place of the resistor 152. The optical sensor 142 can generate an analog signal in response to light received by the laser scanner 100. The analog signal can be related to or otherwise indicate the amount of light received by the optical sensor 142 or the intensity of the light. The analog signal can be passed to additional components via a node or connection between the optical sensor 142 and the resistor 152 or between the optical sensor 142 and ground. Various other configurations are possible, for example for other types of optical sensors 142. In some cases, the resistor 152 can be omitted. Figure 5 One or more of a voltage source 150, a resistor 152, and / or ground are shown.
[0039] The analog signal can be provided to additional components (e.g., amplifier 156 and / or ADC 160, as discussed herein) through capacitor 154. Capacitor 154 can be an AC coupling capacitor. The capacitor can be configured to attenuate a direct current (DC) component of the analog signal while allowing the alternating current (AC) component of the analog signal to pass through capacitor 154 toward ADC 160 or other intermediate components. Capacitor 154 can block some signals that can correspond to constant ambient light received by laser scanner 100. Capacitor 154 can be a parallel plate capacitor or any other suitable type of capacitor.
[0040] The analog signal (e.g., output by the optical sensor 142) can be amplified by the amplifier 156. The amplifier 156 can be a logarithmic amplifier that can convert the analog signal to a logarithmic scale. The logarithmic amplifier 156 can compress or reduce the dynamic range of the analog signal. For example, the logarithmic amplifier 156 can receive an analog signal having a first dynamic range (e.g., from the optical sensor 142), and the logarithmic amplifier 156 can output an analog signal having a second dynamic range that can be narrower than the first dynamic range. As discussed herein, this can enable the ADC 160 to encode an analog signal with a wide dynamic range using a limited number of bits. Modifying the dynamic range of the analog signal before the ADC 160 can prevent saturation from occurring when the analog signal is converted to a digital signal. Modifying the dynamic range can improve the ranging accuracy by reducing the impact of the low-level tail in the laser pulse waveform and / or the optical sensor output. In some embodiments, other types of amplifiers or other techniques can be used to modify the dynamic range. For example, the amplifier can have a soft saturation characteristic that can be used to improve the dynamic range.
[0041] In some embodiments, filter 158 can modify the analog signal. For example, filter 158 can be an antialiasing filter. Filter 158 can attenuate higher frequencies (e.g., above a threshold frequency) while passing lower frequencies (e.g., below a threshold frequency). Filter 158 can be a low pass filter. For example, filter 158 can attenuate frequencies of about half or more of a sampling rate (e.g., the sampling rate of ADC 160). In some cases, filter 158 and a DC attenuation function (e.g., AC coupling capacitor 154) can be combined (e.g., using a bandpass filter). Filter 158 can be a third order, fifth order, or seventh order antialiasing filter (e.g., at an intermediate value or range), but other filters can also be used.
[0042] ADC 160 may convert an analog signal (e.g., an analog signal from optical sensor 142 or modified by an intermediate component) into a digital signal. ADC 160 may be an 8-bit ADC, but any other suitable number of bits may be used, e.g., 4, 6, 8, 10, 12, 14, 16 bits, or more, or any value or range therebetween. Logarithmic amplifier 156 may enable an ADC using a limited number of bits (e.g., by using a cost-effective ADC) to encode an increased dynamic range.
[0043] ADC 160 can have a sampling rate of about 150 million samples per second (Msps), about 200 Msps, about 250 Msps, about 300 Msps, about 350 Msps, about 400 Msps, about 450 Msps, about 500 Msps, about 550 Msps, about 600 Msps, about 650 Msps, about 700 Msps, about 750 Msps, about 800 Msps, about 900 Msps, about 1,000 Msps, about 1,250 Msps, about 1,500 Msps, about 1,759 Msps, about 2,000 Msps, about 2,500 Msps, about 3,000 Msps, or more, or any value therebetween, or any range bounded by these values, although other sampling rates may also be used. For example, for a sampling rate of 500Msps, ADC160 can generate a digital signal every 2 nanoseconds. An ADC 160 with a lower sampling rate can be more cost-effective. However, as discussed herein, a low native sampling rate may result in poor resolution for distance determination. In some embodiments, digital signal processing may be performed to upsample the digital signal to produce an effective sampling rate that can improve the range resolution. An upsampling correlator may be used. Upsampling may use zero insertion, which may be efficient and may avoid undesirable filter responses.
[0044] The processor 162 may be a field programmable gate array (FPGA), a general purpose hardware processor, an application specific integrated circuit (ASIC), or any other suitable hardware for performing the functions described herein. In some embodiments, the processor 162 may communicate with a computer readable memory 164 (e.g., a non-temporary computer readable medium). In some embodiments, the processor 162 may execute instructions stored in the memory 164 to perform the functions described herein. The processor 162 may be a digital signal processor. The processor 162 may perform digital signal processing to determine a time of flight value, a distance to an object, and / or the presence or location of an object, etc. In some embodiments, a correlation template may reside in an on-chip memory of the FPGA. In some cases, the FPGA may include volatile memory, and the template may be configured during system initialization. In some cases, the template may be stored in a non-volatile memory.
[0045] The processor 162 may perform a comparison between the digital signal samples and the template. For example, the processor 162 may perform a cross-correlation between the digital signal samples and the template. 6A to 6F An example of a cross-correlation operation between a digital signal sample 202 (shown by * in the figure) and a template 204 is shown. The template 204 may include discrete values or continuous functions. In some cases, the intervals between the discrete values of the template 204 may be shorter than the intervals between the digital signal samples 202 (e.g., from ADC 160). The template may have a template sampling rate that is faster than the signal sampling rate (e.g., set by ADC 160). For example, the template may have a sampling rate that is about 2 times, about 4 times, about 5 times, about 7 times, about 10 times, about 12 times, about 15 times, about 17 times, about 20 times, about 22 times, about 25 times, about 30 times, about 40 times, or about 50 times the signal sampling rate (e.g., which may be set by ADC 160), or any value therebetween, or any range of sampling rates defined by these values, but other sampling rates may be used. In some cases, the template 204 may be stored as a table or a collection of values. In some cases, the template 204 may be stored as a formula, equation, function, etc.
[0046] Fig. 6A An example graph is shown with multiple digital signal samples 202. The x-axis may correspond to time. The y-axis may correspond to the intensity or amount of light (e.g., light received by the optical sensor 142). Due to the sampling rate of the ADC 160 (e.g., 500Msps, or one sample every 2 nanoseconds), there are gaps between the digital signal samples 202. Fig. 6A The same sampled digital signal sample 202 is shown, where the template 204 is at a first position. For cross-correlation, as FIG. 6B to FIG. 6EAs shown, as the template steps across the digital signal samples 202 (or as the digital signal samples step across the template 204), the correlation between the template 204 and the digital signal samples 202 can be determined for multiple positions. The processor 160 can determine the position where the template 204 is most correlated or matches the digital signal samples 202, which is shown in Fig. 6F Several intermediate increments may be used but are omitted from the figure for simplicity.
[0047] The correlation may be evaluated in steps corresponding to the template sampling rate. For example, for a sampling rate of 10 gigasamples per second, the template 204 may be stepped in increments of 0.1 nanoseconds and compared to the digital signal samples 202, although other increments may be used. 6A to 6F As can be seen in , by performing a cross-correlation between the template 204 and the digital signal samples 202, the time at which the return reflection of the laser pulse is received can be determined more accurately than other techniques (e.g., simply comparing the digital signal samples 202 to a threshold light value). Fig. 6F As shown in FIG. 1 , by performing cross-correlation, the peak value of the return reflection of the laser pulse received at the time between the third drawing signal sampling and the fourth drawing signal sampling can be determined. Fig. 6A By comparing the digital signal samples 202 with the threshold, the return reflected light will be determined to arrive at the time of the third drawn sample or the fourth drawn sample (e.g., depending on the threshold setting value). Therefore, by performing a cross-correlation or other type of comparison between the digital signal samples 202 and the template 204, the digital signal can be upsampled to have a faster effective sampling rate.
[0048] By using a template 204 having sufficient resolution or a sufficiently high template sampling rate and / or by stepping the template 204 and / or the digital signal samples 202 in sufficiently short increments, the arrival time, flight time, and / or associated object distance of the return reflection can be determined with improved accuracy. For example, using a template 204 having a template sampling rate of 10 gigasamples per second, and by stepping the template 204 in increments of 0.1 nanoseconds, the arrival time of the return reflection (e.g., its peak or other identifiable feature) can be determined with a resolution of approximately 0.1 nanoseconds, rather than the 2 nanosecond resolution that may result from directly analyzing the 500Msps digital signal samples from the ADC 160. By this example, the distance to the object 104 can be determined with a distance resolution of approximately 15 mm rather than approximately 300 mm. The distance can be determined with a resolution of about 5 mm, about 7 mm, about 10 mm, about 12 mm, about 15 mm, about 17 mm, about 20 mm, about 25 mm, about 30 mm, about 35 mm, about 40 mm, about 45 mm, about 50 mm, about 55 mm, about 60 mm, about 65 mm, about 70 mm, about 75 mm, about 80 mm, about 85 mm, about 90 mm, about 95 mm, about 100 mm, or any value therebetween or any range defined by any combination of these values, although other values may also be applied. In some cases, the distance resolution may be determined with a 5 sigma confidence level, although other confidence levels may also be applied (e.g., depending on laser power and noise, etc.).
[0049] The use of an amplifier 156 (e.g., a logarithmic amplifier) to prevent saturation and cover an increased dynamic range is beneficial in providing a digital signal that accurately depicts the amount of light received by the optical sensor 142, which can facilitate cross-correlation operations. For example, if the amplifier 156 is omitted and the digital signal for some of the digital signals corresponding to the return reflections of the light pulses is saturated, then accurately performing cross-correlation with the template will be more difficult. For a system that only compares the digital signal to a threshold, a saturated digital signal may be sufficient because the determination is not affected by how much light is received in excess of the threshold amount. However, the exact amount of light received for each signal sample can improve the accuracy of the cross-correlation. Therefore, the use of a logarithmic amplifier (or otherwise increasing the dynamic range) can have a synergistic effect when combined with the template comparison techniques disclosed herein.
[0050] A relatively small number of digital signal samples 202 compared to template 204 may provide processing efficiency when performing comparisons (eg, cross-correlations). FIG. 6B to FIG. 6FIn the example, there are 6 digital signal samples. For example, each increment of the cross-correlation may involve 6 operations for comparing the 6 digital signal samples with the corresponding portion of the template. Since the number of digital signal samples is relatively small, the cross-correlation for each increment can be performed quickly, and a large number of increments can be performed using a cost-effective processor that can provide surprisingly good range resolution for the cost.
[0051] The template may be stored in a computer readable memory 164. The processor 162 may obtain the template from the memory 164 and may compare the template with the digital signal. The template may have a shape or value of the expected return reflection of the light pulse output by the light emitting system 106. For example, if a longer laser pulse is used, a longer template shape extending further along the x-axis may be used. The template may be configured to correspond to one or more of the following: the type of light source 130, one or more optical elements 132 that modify the emitted light, parameters of the emitted light pulse, one or more optical elements 140 that modify the received light, and / or one or more analog signal processing functions (e.g., logarithmic amplifier 156 or filter 158). For example, if the filter 158 is configured to filter out the portion of the tail of the analog signal, the template may omit those portions of the tail of the signal. Similarly, depending on the scale of the digital signal used for comparison, the template may adopt a logarithmic or linear scale. For example, in some cases, a logarithmic amplifier may convert an analog signal to a logarithmic scale, and the associated converted digital signal may maintain the logarithmic scale. The template may also have a logarithmic scale, and the cross-correlation or other comparison may be performed in a logarithmic scale. Alternatively, the processor 162 may convert the digital signal from a logarithmic scale to a linear scale. For example, the inverse function of a logarithmic amplifier may be applied to the digital signal. Thus, the cross-correlation or other comparison may be performed in a linear scale. Various other types of conversions of the signal are possible. The scanner 100 may use a non-linear amplifier, and then a linear ADC, which may provide a relatively large number of quantization steps compared to some other methods.
[0052] The intensity of the reflected light received by the scanner 100 may vary (e.g., depending on the distance to the object, the size of the object, the shape, color and / or reflectivity of the object, etc.). Fig. 6FIn the template, the amplitude of the digital signal is approximately the same as the template amplitude. However, in some cases, the amplitude of the digital signal may be significantly lower than the template amplitude. For example, the template may be based at least in part on an ideal expected reflectivity (e.g., no merged pulses or noise), and the digital signal may represent the actual received reflected light, which may be less than the ideal expected amount. Even if the amplitudes are significantly different, cross-correlation can be performed to find the time when the template is optimally aligned with the digital signal. The template may have a width (full width at half maximum) of less than about 20 nanoseconds, less than about 15 nanoseconds, less than about 10 nanoseconds, less than about 5 nanoseconds, less than about 3 nanoseconds, less than about 2 nanoseconds, or any value therebetween or a range defined by these values, but other template widths (e.g., depending on the laser pulse width) may be used. The template may have a tail in some embodiments. Depending on the application, various template shapes may be used. Correlation may be performed based on amplitude sampling of the receiver waveform. Template correlation may be a form of finite impulse response (FIR) filtering.
[0053] Figure 6G Some examples of template waveforms shown superimposed are shown. In some cases, the template waveform may have some rings or oscillations, which may drop below the baseline (e.g., when using a higher order anti-aliasing filter). In some cases, the digital signal samples and / or templates may include at least some portions with negative values (e.g., after removing the DC offset). This may be the result of anti-aliasing filtering. The shape of the template 204 can be made similar to the original signal expected from the return reflection. The shape of the template 204 can be made similar to the filtered and / or amplified signal expected from the return reflection.
[0054] Refer again Figure 5 In some embodiments, processor 162 may provide a sampling clock to ADC 160 for setting the sampling rate of ADC 160. In some cases, the clock signal may come from a different source. For example, an external master clock may send a clock signal to ADC 160 and / or any other suitable component. ADC 160 and processor 162 may be different integrated circuits, although these or other components may be integrated into a single integrated circuit.
[0055] In some cases, the processor 162 can output the return reflection arrival time, the flight time value, the distance to the detected object and / or the existence detection of the object. In some cases, the processor 162 can output information to a separate controller 110. For example, the processor 162 can perform signal processing and determine the flight time information that can be transmitted to the controller 110. The controller 110 can then determine the distance to the object based on the flight time information, and determine whether to take action (e.g., stop a machine). In some cases, the processor 162 and the controller 110 can be implemented on the same hardware processor. The processor 162 can be the same component as the controller 110. In the case of using multiple processors, any combination of tasks or division of labor can be used for the multiple processors.
[0056] In some cases, the scanner 100 may have an optical sensitivity that varies with range. For example, the scanner 100 may be more sensitive to light in the mid-range than in the short or long range. Therefore, in the mid-range where the scanner has a higher optical sensitivity, false positives for object detection are more likely to occur. For example, floating dust may reflect a small amount of light, which may cause the scanner 100 to determine that an object is present. In some cases, the optical element may be focused or optimized for the mid-range area. In some cases, the optical element may be configured to suppress window reflections at the short range, and this may result in some suppression of other short-range reflections. In some cases, some parts of the scanner may block or block some short-range light. For the long range, the distance traveled by the light may result in less light reaching the scanner, resulting in reduced sensitivity. The scanner 100 may apply different light detection thresholds at different ranges, which may at least partially compensate for the difference in sensitivity. For example, at a first distance in the short range, the scanner may apply a first light detection threshold. For a second distance in the mid-range, the scanner may apply a second light detection threshold that may be higher than the first light detection threshold. For a third distance in the long range, the scanner may apply a third light detection threshold that may be lower than the second light detection threshold. A particular light detection threshold may apply to all distances within a range (e.g., short range, medium range, or long range). Or a formula, equation, function, or lookup table may define a varying light detection threshold based on distance. Although some examples describe a first threshold, a second threshold, and a third threshold, the scanner may apply any number of different thresholds (e.g., far more than three thresholds) depending on the determined distance of the potential object.
[0057] In some embodiments, the scanner 100 (e.g., via the signal processor 162 and / or the controller 110) may scale the signal based at least in part on the determined distance. The same threshold may be applied to different distances or ranges, and the difference in sensitivity based on the distance may be the result of signal scaling. For example, the scanner 100 may adjust the amplitude of the signal based at least in part on the determined distance. The scanner 100 may apply different gain amounts to the signal based at least in part on the determined distance. For example, at a first distance in a short range, the signal may be scaled by a first amount (e.g., a first gain amount). For a second distance in a medium range, the signal may be scaled by a second amount (e.g., a second gain amount) that may be less than the first scaling amount (e.g., the first gain amount). For a third distance in a long range, the signal may be scaled by a third amount (e.g., a third gain amount) that may be greater than the second scaling amount (e.g., the second gain amount). In some cases, the same amount of scaling (e.g., gain) may be applied to different distances in a range (e.g., short range, medium range, or long range). In some cases, a formula, equation, function, or lookup table may define a varying amount of scaling (e.g., gain) based on distance. For example, a lookup table may have various multipliers assigned to various possible distances. If a potential object is at a first distance (e.g., at a relatively short range), a first multiplier (e.g., 1.5) may be applied to the digital signal value. If a potential object is at a second distance (e.g., at a relatively medium range), a second multiplier (e.g., 1.0) may be applied to the digital signal value. If a potential object is at a third distance (e.g., at a relatively long range), a third multiplier (e.g., 2.0) may be applied to the digital signal value. Various intermediate values may be filled into the lookup table. Although some examples discuss applying a signal gain to perform signal scaling, a signal reduction (e.g., reducing the medium range signal more than reducing the short range and / or long range signal) or any other suitable form of signal scaling may be applied. Although some examples describe a first scaling amount, a second scaling amount, and a third scaling amount (e.g., a signal gain), various different scaling amounts may be applied depending on the determined distance to the potential object. The relationship between distance and signal scaling may be fixed. Similarly, the relationship between the distance and the applicability threshold may be fixed.
[0058] If the scanner receives a small amount of light, it can first determine the distance to an object that may be at that distance or position (e.g., using the distance determination techniques disclosed herein). The scanner can then apply an applicable light detection threshold based on the determined distance. A lookup table or formula can be used. The amount of light received (e.g., the amplitude of the digital signal sample 202) can be compared to the applicable light detection threshold to confirm whether an object is present at the distance or position associated with the small amount of light received. In some embodiments, the scanner can scale a signal representing the amount of light received based on the determined distance. For example, a lookup table or formula can be used. The scaled signal can be compared to a threshold (e.g., a fixed threshold) to confirm whether an object is present at the distance or position associated with the small amount of light received.
[0059] Thus, in some cases, the amount of light received may trigger a determination that an object is present at a relatively greater distance (e.g., long range), while the same amount of light received may not trigger a determination that an object is present at a closer distance (e.g., medium range). Additionally, in some cases, the same amount of light may trigger a determination that an object is present at a closer range (e.g., short range).
[0060] In some embodiments, the optical elements or other parameters of the scanner 100 can be configured to reduce variability in light sensitivity (e.g., to provide a relatively flat optical sensitivity curve). However, by compensating for different sensitivities at different distances, a less flat optical sensitivity curve can be tolerated and some associated costs can be saved. In some embodiments, a presence determination can be dependent on a distance determination.
[0061] Various embodiments are discussed in conjunction with determining the reflection arrival time, the flight time value, the distance to the object (or potential object), and the object presence. In some implementations, one or more of these intermediate determinations or calculations may be omitted. For example, the distance may be determined directly without separately determining the flight time value.
[0062] Refer again Figure 5In some embodiments, a test signal may be injected for testing or verifying the detection system. The signal generator 166 may inject an analog test signal so that the analog test signal is converted to a digital test signal by the ADC 160. The test signal may be injected before the capacitor 154, the amplifier 156, and / or the filter 158 or at any intermediate position between these elements. The processor 162 may analyze the generated digital test signal to verify or test the scanner 100. The processor 162 may compare the digital test signal with the expected digital test signal. If the difference between the actual signal and the expected signal exceeds a threshold amount, the processor may determine that a fault has occurred between the operation of injecting the analog test signal and the operation of receiving the converted digital test signal. The expected digital test signal may be different from the injected analog test signal (e.g., taking into account changes in the test signal from the capacitor 154, the amplifier 156, the filter 158 and / or the conversion to digital by the ADC 160). In some cases, the digital signal may be compared with the original test signal to verify the scanner 100.
[0063] Capacitor 154 can attenuate the DC component of the analog test signal. Amplifier 156 can amplify the analog test signal (e.g., convert the analog test signal to a logarithmic scale). Filter 158 can attenuate portions of the analog test signal (similar to the discussion herein). ADC 160 can convert the analog test signal to one or more digital test signals. The processor can analyze one or more digital test signals in a logarithmic scale, or the digital test signal can be converted from a logarithmic scale to a linear scale for analysis by processor 162. In some cases, the processor can analyze one or more digital test signals in a frequency domain or a time domain. For example, processor 162 can perform a Fourier transform (e.g., a fast Fourier transform) to convert the digital test signal to a frequency domain. The frequency content of the converted signal can be analyzed or compared to verify the scanner 100. For example, verification or fault determination can be based at least in part on how much signal energy there is at the fundamental frequency and how much signal energy there is at the harmonics.
[0064] Refer again Figure 4In some embodiments, the scanner 100 may include a filter 141 disposed along the return reflection optical path and before the optical sensor 142. The filter 141 may be configured to allow the return reflection light of the laser pulse to pass through the filter 141 and reach the optical sensor 142. The filter 141 may be configured to block at least some types of other light (e.g., light not from the light source 130) from being transmitted to the optical sensor 142. The filter 141 may block light that would interfere with the return reflection light. The filter 141 may be configured to block ambient light. The filter 141 may be configured to block visible light. In some cases, multiple filters 141 may be combined (e.g., stacked in series) to block light of various wavelengths. The filter 141 may block light having a wavelength that differs from the wavelength of the light source 130 by at least a threshold amount. For example, the light source may be a NIR laser having a wavelength of approximately 905 nm. The filter 141 can substantially allow light with a wavelength between about 880nm and about 925nm to pass through the filter 141, while substantially blocking light below about 880nm or above about 925nm. Many different wavelengths, ranges, and thresholds can be used. In some cases, the threshold or light blocking characteristics of the filter 141 for light below the wavelength of the light source can be different from those for light above the wavelength of the light source. Modifying the above example, the filter 141 can block light below about 850nm while blocking light above about 2,000nm. As another example, the filter 141 can block light below about 850nm while substantially not blocking light above the 905nm wavelength of the light source 130. The filter 141 can be an interference filter, but any other suitable type of filter (e.g., an absorption filter) can be used. By preventing light of other wavelengths from reaching the optical sensor 142, the filter 141 can improve the signal-to-noise ratio output by the optical sensor 142, which can improve the object detection capability and ranging accuracy of the scanner 100.
[0065] In some embodiments, window 122 (e.g., which can have a generally frustoconical shape, although any other suitable shape can be used) can function as a filter. Window 122 can allow light from light source 130 and its return reflections to pass through window 122. The window can block other wavelengths of light from passing through window 122 (e.g., similar to the discussion herein regarding filter 141). In some embodiments, window 122 can block one or more wavelengths of light that are not effectively blocked by filter 141. In some embodiments, window 122 can have a dye, film, or other type of filter.
[0066] The scanner 100 may have a maximum operating range of about 1 meter, about 2 meters, about 3 meters, about 4 meters, about 5 meters, about 6 meters, about 7 meters, about 8 meters, about 9 meters, about 10 meters, about 12 meters, about 15 meters, about 20 meters, or any value or range therebetween, but other ranges are also possible. These ranges are sufficient to detect objects for machine protection applications. In some cases, the scanner 100 can determine the distance to objects at different (e.g., longer) ranges (e.g., for ranging or other applications) (e.g., about 25 meters, about 50 meters, about 100 meters, about 200 meters, about 300 meters, about 500 meters, about 1000 meters or more, or any value or range therebetween). In some embodiments, the operating range may be short enough so that the time window of the return reflection is narrow enough so that a trigger circuit or delay line is not used, but longer ranges that can use these features are also possible.
[0067] Figure 7 1 is a flow chart illustrating an example implementation of a method for operating a laser scanner according to the description herein. Various features disclosed herein are optional and may be omitted. The signal generator 166 and the testing techniques described herein are optional and may be omitted. In some cases, the capacitor 154, the amplifier 156, and / or the filter may be omitted. Figure 7 In the present invention, the functions of attenuating the DC component, amplifying the analog signal (e.g., using an amplifier with a logarithmic response), and converting the logarithm to a linear value can be omitted. As discussed herein, any combination of determining the time of arrival, determining the time of flight value, determining the distance, determining the presence of the object, and taking action can be performed or omitted. The features and methods disclosed herein can determine the distance with sufficient accuracy without averaging or otherwise combining multiple passes of the same object. However, in some cases, the distance to the object can be determined multiple times. Those determined distances can be averaged or otherwise combined, which can further increase the signal-to-noise ratio.
[0068] In some embodiments, the methods, techniques, microprocessors and / or controllers described herein are implemented by one or more special purpose computing devices. The special purpose computing device may be hardwired to perform the technology, or may include a digital electronic device such as one or more application specific integrated circuits (ASICs) or field programmable gate arrays (FPGAs) that are continuously programmed to perform the technology, or may include one or more general purpose hardware processors that are programmed to perform the technology according to program instructions in firmware, memory, other storage devices, or a combination thereof. Instructions may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disks, removable disks, CD-ROMs, or any other form of non-temporary computer-readable storage media. Such special purpose computing devices may also combine custom hardwired logic, ASICs or FPGAs with custom programming to complete the technology. The special purpose computing device may be a desktop computer system, a server computer system, a portable computer system, a handheld device, a network device, or any other device or a combination of devices that combine hardwiring and / or programming logic to implement the technology.
[0069] The microprocessor or controller described herein may be coordinated by operating system software such as iOS, Android, Chrome OS, Windows XP, Windows Vista, Windows 7, Windows 8, Windows 10, Windows Server, Windows CE, Unix, Linux, SunOS, Solaris, macOS, Blackberry OS, VxWorks, or other compatible operating systems. In other embodiments, the computing device may be controlled by a proprietary operating system. Among other things, conventional operating systems control and schedule computer processes for execution, perform memory management, provide file system, network, I / O services, and provide user interface functions such as a graphical user interface ("GUI"), etc.
[0070] The microprocessor and / or controller described herein can use customized hard-wired logic, one or more ASICs or FPGAs, firmware and / or programming logic to implement the technology described herein, which makes the microprocessor and / or controller a special machine. According to one embodiment, some of the techniques disclosed herein are executed by a controller in response to executing one or more instruction sequences contained in a memory. Such instructions can be read into the memory from another storage medium (e.g., a storage device). The execution of the instruction sequence contained in the memory enables the processor or controller to perform the process steps described herein. In an alternative embodiment, a hard-wired circuit can be used instead of a software instruction or in combination with a software instruction.
[0071] In addition, the various illustrative logic blocks and modules described in conjunction with the embodiments disclosed herein may be implemented or executed by a machine such as a processor device, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic, a discrete hardware component, or any combination thereof, designed to perform the functions described herein. The processor device may be a microprocessor, but in an alternative, the processor device may be a controller, a microcontroller or a state machine, a combination thereof, or the like. The processor device may include a circuit configured to process computer executable instructions. In another embodiment, the processor device includes an FPGA or other programmable device that performs logic operations without processing computer executable instructions. The processor device may also be implemented as a combination of computing devices (e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors combined with a DSP core, or any other such configuration). Although this article is primarily described with respect to digital technology, the processor device may also include a primary analog component. For example, some or all of the techniques described herein may be implemented in analog circuits or mixed analog and digital circuits.
[0072] Unless the context clearly requires otherwise, throughout the specification and claims, the words "include", "comprise", "have", "contain", etc. should be interpreted as inclusive, rather than exclusive or exhaustive; that is, "including but not limited to". As generally used herein, the word "coupled" or "connected" refers to two or more elements that can be directly connected or connected through one or more intermediate elements. In addition, when "herein", "above", "below" and words of similar meaning are used in this application, they should refer to the entirety of this application, rather than to any particular part of this application. Where the context permits, words used in the singular or plural in a specific embodiment may also include the plural or singular, respectively. The word "or" in a list referring to two or more items is intended to cover all the following interpretations of the word: any item in the list, all items in the list, and any combination of items in the list. All numerical values provided herein are intended to include similar values within the range of measurement error.
[0073] Although the present disclosure includes specific embodiments and examples, it will be understood by those skilled in the art that the scope extends from the specifically disclosed embodiments to other alternative embodiments and / or uses and obvious modifications and equivalents thereof. In addition, although several variations of the embodiments have been shown and described in detail, other modifications will be apparent to those skilled in the art based on the present disclosure. It is also contemplated that various combinations or sub-combinations of the specific features and aspects of the embodiments may be performed and that they still fall within the scope of the present disclosure. It should be understood that the various features and aspects of the disclosed embodiments may be combined or substituted with each other to form different modes of embodiment. Any method disclosed herein does not need to be performed in the order described. Therefore, it is intended that the scope is not limited by the specific embodiments described above.
[0074] Unless otherwise specifically stated, or otherwise understood in the context in which it is used, conditional language such as "may," "might," "likely," or "can" is generally intended to convey that certain embodiments include, while other embodiments do not include, particular features, elements, and / or steps. Thus, such conditional language generally does not mean that one or more embodiments require features, elements, and / or steps in any way, or that one or more embodiments must include logic for determining whether such features, elements, and / or steps are included or will be performed in any particular embodiment with or without user input or prompting. Any headings used herein are provided for the convenience of the reader only and are not meant to limit the scope.
[0075] In addition, although the devices, systems and methods described herein can be easily implemented in various modifications and alternative forms, specific examples thereof have been shown in the drawings and described in detail herein. However, it should be understood that the present disclosure is not limited to the specific forms or methods disclosed. On the contrary, the present disclosure covers all modifications, equivalents and alternatives that fall within the spirit and scope of the various implementations described. In addition, any specific functions, aspects, methods, characteristics, features, qualities, attributes, elements, etc. disclosed herein related to an implementation or embodiment can be used in all other implementations or embodiments described herein. Any method disclosed herein does not need to be performed in the order described. The methods disclosed herein may include certain actions taken by practitioners; however, these methods may also include any third-party instructions (whether explicit or implicit) for these actions.
[0076] The ranges disclosed herein also include any and all overlaps, subranges, and combinations thereof. Language such as "up to," "at least," "greater than," "less than," "between," and the like includes the quantities recorded. Numbers preceded by terms such as "approximately" or "about" include the numbers recorded and should be interpreted based on the specific circumstances (e.g., as accurately as reasonably possible in the case of, for example, ±5%, ±10%, ±15%, etc.). For example, "about 3.5 mm" includes "3.5 mm." Statements preceded by terms such as "substantially" include the statements recorded and should be interpreted based on the specific circumstances (e.g., as reasonably possible in the specific circumstances). For example, "substantially constant" includes "constant." Unless otherwise noted, all measurements are made under standard conditions including ambient temperature and pressure.
Claims
1. A laser scanner, comprising: a laser light source configured to output laser pulses; an optical sensor configured to generate an analog signal from light of one of the laser pulses reflected by the object, the analog signal having a first dynamic range; a logarithmic amplifier configured to amplify the analog signal to have a second dynamic range smaller than the first dynamic range; an analog-to-digital converter configured to convert the analog signal into a digital signal sample having a signal sampling rate; a computer readable memory having a template stored therein, wherein the template represents an expected return reflection signal, and wherein the template has a template sampling rate that is higher than a sampling rate of the signal; and at least one processor, the at least one processor being configured to: performing a cross-correlation between the digital signal samples and the template; determining a time of flight value based at least in part on the cross-correlation; and determining a distance to the object based at least in part on the time-of-flight value, wherein the at least one processor is configured to scale at least some of the digital signal samples based at least in part on a determined distance to the object, and wherein the at least one processor is configured to confirm or ignore the presence of the object based at least in part on a comparison of the scaled digital signal samples to a threshold.
2. The laser scanner according to claim 1, wherein: The optical sensor is an avalanche photodiode.
3. The laser scanner according to claim 1, further comprising: A capacitor is between the optical sensor and the logarithmic amplifier, wherein the capacitor is configured to attenuate a direct current (DC) component of the analog signal. 4 . The laser scanner of claim 1 , the anti-aliasing filter being configured to attenuate frequency content of the analog signal above a threshold frequency.
5. The laser scanner according to claim 1, wherein: The at least one processor is configured to convert the digital signal samples from a logarithmic scale to a linear scale.
6. The laser scanner according to claim 1, wherein: The signal sampling rate is between 200 million samples per second and 1.25 billion samples per second.
7. The laser scanner according to claim 1, wherein: The signal sampling rate is between 200 million samples per second and 600 million samples per second.
8. The laser scanner according to claim 7, wherein: The at least one processor is configured to determine the distance to the object with a resolution of 5 mm to 75 mm.
9. The laser scanner according to claim 1, wherein: The signal sampling rate is less than 750 million samples per second, and wherein the at least one processor is configured to determine the distance to the object with a resolution of less than 100 mm.
10. The laser scanner according to claim 1, wherein: The at least one processor is configured to: responsive to detection of light exceeding a first light detection threshold, determining that an object is present at a first distance; responsive to detection of light exceeding a second light detection threshold, determining that the object is present at a second distance; and responsive to detection of light exceeding a third light detection threshold, determining that the object is present at a third distance; wherein the second distance is farther than the first distance; wherein the third distance is farther than the second distance; wherein the second light detection threshold is higher than the first light detection threshold; and Wherein, the third light detection threshold is lower than the second light detection threshold.
11. The laser scanner according to claim 1, wherein: The at least one processor is configured to determine object presence at least in part by applying different light detection thresholds for different distances or distance ranges.
12. The laser scanner according to claim 1, wherein: The at least one processor is configured to: determining that the object may exist at the determined distance; scaling at least some of the digital signal samples based at least in part on the determined distance; and The presence of the object is confirmed at least in part by comparing the scaled digital signal samples to a threshold value.
13. The laser scanner according to claim 1, wherein: The at least one processor includes a field programmable gate array and a microcontroller.
14. The laser scanner according to claim 1, further comprising: A test signal generator configured to inject an analog test signal before the logarithmic amplifier so that the logarithmic amplifier amplifies the analog test signal and the analog-to-digital converter converts the analog test signal into a plurality of digital test signal samples, wherein the at least one processor is configured to analyze the plurality of digital test signal samples to verify the laser scanner.
15. The laser scanner according to claim 14, wherein: The at least one processor is configured to perform a Fourier transform on the digital test signal samples to convert the digital test signal samples to a frequency domain, and wherein the at least one processor is configured to analyze frequency content of the digital test signal samples.
16. The laser scanner according to claim 15, wherein: The at least one processor is configured to compare signal energy at a fundamental frequency to signal energy at one or more harmonic frequencies to analyze the digital test signal samples.
17. The laser scanner according to claim 1, further comprising: An optical filter is configured to allow light of one of the laser pulses reflected by the object to be transmitted to the optical sensor, wherein the optical filter is configured to block transmission of light of other wavelengths.
18. The laser scanner of claim 1, further comprising a window, wherein: The laser light source outputs the laser pulses through the window, wherein light of one of the laser pulses reflected by the object is received through the window, and wherein the window is configured to block transmission of ambient light.
19. A laser scanner, comprising: a laser light source configured to output laser pulses; an optical sensor configured to generate an analog signal from light of one of the laser pulses reflected by the object, the analog signal having a first dynamic range; a logarithmic amplifier configured to amplify the analog signal to have a second dynamic range smaller than the first dynamic range; an analog-to-digital converter configured to convert the analog signal into a digital signal sample having a signal sampling rate; a computer readable memory having a template stored therein, wherein the template represents an expected return reflection signal, and wherein the template has a template sampling rate that is higher than a sampling rate of the signal; and at least one processor, the at least one processor being configured to: performing a cross-correlation between the digital signal samples and the template; determining a time of flight value based at least in part on the cross-correlation; determining a distance to the object based at least in part on the time-of-flight value; determining that the object may exist at the determined distance; scaling at least some of the digital signal samples based at least in part on the determined distance; confirming the presence of the object at least in part by comparing the scaled digital signal samples to a threshold value; applying a first gain to at least some of the digital signal samples for a first distance; applying a second gain to at least some of the digital signal samples for a second distance; applying a third gain to at least some of the digital signal samples for a third distance; wherein the second distance is farther than the first distance; wherein the third distance is farther than the second distance; wherein the second gain is less than the first gain; and Wherein, the third gain is greater than the second gain.
