Threshold generation for coded ultrasonic sensing

By using encoded pulse train signals and dynamic threshold processing technology in the ultrasonic sensing system, the problem of signal ambiguity between multiple ultrasonic transducers is solved, the detection speed and accuracy are improved, and the responsiveness of the autonomous driving system is enhanced and sensitivity.

CN110780301BActive Publication Date: 2024-09-17TEXAS INSTRUMENTS INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910683434.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-03-26
Filing Date
2019-07-26
Publication Date
2024-09-17
Estimated Expiration
2039-07-26

AI Technical Summary

Technical Problem

When multiple ultrasonic transducers operate simultaneously, it is difficult for existing ultrasonic sensing systems to effectively distinguish and identify the reflected signals generated by different transducers, resulting in insufficient detection speed and responsiveness, affecting the accuracy of collision detection and autonomous driving systems.

Method used

Use the encoded pulse train signal to distinguish the pulse train signals of different transducers through frequency modulation encoding technology, use peak search, peak buffer and peak rank logic to identify effective peaks, dynamically generate thresholds and perform thresholding processing to reduce or eliminate Signal ambiguity between different transducers improves the accuracy of reflection detection.

Benefits of technology

It significantly improves the speed and responsiveness of the detection system, enhances the accuracy of the automatic driving control system, can more accurately identify distant obstacles, reduces the false alarm rate, and improves the sensitivity of ultrasonic detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110780301B_ABST
    Figure CN110780301B_ABST
Patent Text Reader

Abstract

Embodiments of the present application relate to threshold generation for coded ultrasonic sensing. In an ultrasonic detection system that uses frequency modulation coding to distinguish pulse trains emitted from multiple transducers, a receiver (600) associated with the transducer uses a dynamic threshold to discriminate valid echoes (906) from system and environmental noise in multiple envelope signals generated by multiple correlators (608, 610). The time-varying dynamic threshold is generated based on the mean of the noise in the corresponding envelope derived from the output of the corresponding correlator. Multiple thresholds can be combined together (620) so that a single time-varying threshold is applied to the envelopes of all correlators. This thresholding has the benefit of a constant false alarm rate (as opposed to false triggering of noise) for echo detection, and due to finer resolution and adaptive thresholds, targets or obstacles can be detected at greater distances with greater time response.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to U.S. Provisional Patent Application No. 62 / 711,014 filed in the U.S. Patent and Trademark Office on July 27, 2018. The provisional patent application is incorporated herein by reference. Technical Field

[0003] The present invention relates to electronic processing systems and methods, and more particularly to threshold generation for coded ultrasonic sensing. Background Art

[0004] Ultrasonic ranging is used in various applications. For example, in automotive applications, ultrasonic transducers may be arranged in the bumper or fender of the car. The transducer emits an ultrasonic signal, which is reflected on a nearby object (if present), and senses the reflection. The round trip time of the ultrasonic signal is measured so that the distance to the object can be determined, or by processing the reflection information from multiple transducers, the position of the object can be derived. Collision avoidance can therefore be achieved, for example, by presenting such determined or inferred information or navigation information based thereon to an alarm system, which is configured to present an alarm signal to a human driver, or to an autonomous driving system configured to navigate the vehicle to avoid collision with a detected obstacle. Summary of the invention

[0005] An exemplary ultrasonic sensing system includes a pulse train generation circuit and a receiver signal path. The pulse train generation circuit generates a frequency modulated encoded pulse train signal, the signal including a pulse sequence of variable duration. The ultrasonic transducer emits the pulse train signal and converts the reflected acoustic signal. The receiver signal path includes a first correlator and a second correlator, each correlator is coupled to a corresponding threshold generation stage, and the threshold generation stage is coupled to a corresponding threshold comparison stage. The correlators each correlate the received signal sampled from the converted reflected acoustic signal with a corresponding transmission template of a frequency modulation code characterizing the generated pulse train signal. The threshold generation stage each generates a noise mean in a corresponding envelope derived from the output of the corresponding correlator, and dynamically generates a threshold based on the envelope noise mean. The threshold comparison stage each thresholds the corresponding envelope based on one or more of the dynamically generated thresholds. The receiver signal path is configured to calculate the position and amplitude of one or more peaks in the corresponding envelope, the envelope indicating one or more distances between the transducer and one or more detected objects.

[0006] In another example, a method for adaptive thresholding of ultrasonic detection includes correlating a received signal sampled from a converted reflected acoustic signal with a transmission template of a frequency modulation code characterizing a generated pulse train signal to produce a correlated received signal. Then generating a noise mean in an envelope derived from the correlated received signal. Then dynamically generating a threshold based on the envelope noise mean. Then thresholding the envelope based on the dynamically generated threshold.

[0007] In yet another example, an ultrasonic sensing system includes a pulse train generation circuit and a receiver signal path. The pulse train generation circuit generates a frequency modulated encoded pulse train signal, the signal including a pulse sequence of variable duration. The ultrasonic transducer emits the pulse train signal and converts the reflected acoustic signal. The receiver signal path includes a time-varying gain (TVG) amplifier, an analog-to-digital converter (ADC), a first correlator, and a second correlator, each correlator coupled to a corresponding threshold generation stage, the threshold generation stage coupled to a corresponding threshold comparison stage, the threshold comparison stage coupled to a corresponding peak search stage, and the peak search stage coupled to a corresponding peak buffer. The TVG amplifier amplifies the converted reflected acoustic signal. The ADC samples the amplified signal from the TVG amplifier. The correlators each associate the received signal with a corresponding transmission template based on the sampled signal from the ADC, the transmission template characterizing the frequency modulation code of the generated pulse train signal. The threshold generation stage each generates a noise mean in a corresponding envelope derived from the output of the corresponding correlator, and dynamically generates a threshold based on the envelope noise mean. The threshold comparison stages each thresholds a respective envelope based on one or more of the dynamically generated thresholds. Each set of peak search stages detects one or more peaks by determining the respective positions and amplitudes of the peaks in the respective thresholded envelopes. The peak buffers each store each or more detected peaks by amplitude and position of the one or more peaks detected by the corresponding peak search stage. The receiver signal path further includes a peak ranking stage that compares the peaks stored in the peak buffers and accordingly designates each of the peaks as valid or invalid. The receiver signal path is configured to calculate the position and amplitude of the one or more peaks in the respective envelopes, the envelopes indicating one or more distances between the transducer and the one or more detected objects. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 A vehicle having an ultrasonic transducer for measuring the distance to an object is described.

[0009] Figure 2 To show a high level diagram of the organization between a central controller and multiple ultrasonic sensor units, each ultrasonic sensor unit has a controller.

[0010] Figure 3is a graph of an example envelope of sensed ultrasonic reflections.

[0011] Figure 4 is a block diagram of an example portion of a received signal processing path in an ultrasound transducer controller.

[0012] Figure 5 is a graph of an example static threshold map consisting of linearly interpolated time / value pairs.

[0013] Figure 6 is a block diagram of an example portion of a received signal processing path in an ultrasound transducer controller.

[0014] Figure 7 is a block diagram of an example threshold generation stage used in a received signal processing path in an ultrasound transducer controller.

[0015] Figure 8 is a block diagram of an example averaging filter for use in a threshold generation stage in a received signal processing path in an ultrasound transducer controller.

[0016] Figures 9A to 9B is a graph of an example dynamic threshold plotted with an example envelope.

[0017] Figures 10A to 10B Flowchart of an example method for adaptive thresholding for ultrasonic detection. DETAILED DESCRIPTION

[0018] The reflected ultrasonic signal can be detected by the ultrasonic transducer and used to measure the round trip time, thus determining the distance to the object reflecting the ultrasonic signal. For example, an automotive application may use one or more ultrasonic sensors to sense the distance to an object behind, beside, or in front of the car. The present application discloses systems and methods that provide enhanced ultrasonic detection of obstacles, particularly when multiple ultrasonic transducers are operated simultaneously. The identification of echoes of ultrasonic signals generated by different transducers is improved by encoding the transmitted signal pulse train and processing the received echoes with knowledge of this encoded information.

[0019] Allowing simultaneous operation of multiple transducers greatly improves the speed of the detection system, and therefore also improves the responsiveness of the associated driver alert or autopilot control system. The encoding of signal bursts from different transducers improves reflection detection by distinguishing the main peak in the envelope of the relevant reflection signal from the peaks (primary or auxiliary) corresponding to the echo sensed from other transducers, the main peak of the relevant reflection signal corresponding to the real reflection. The present system and method use peak search, peak buffer and peak rank logic to identify valid peaks in the correlator output. Peak rank logic supports differential mode, which is designed to handle one burst code, two or more burst codes, or two or more burst codes with Doppler detection. Verified peak information (e.g., amplitude and time) can be reported to a central controller and / or stored locally in fusion logic to generate more intelligent information about possible targets or obstacles using peaks from multiple bursts.

[0020] Figure 1 The use of an ultrasonic-based distance measurement (i.e., ranging) system is illustrated in an automobile 100 that includes one or more ultrasonic transducers 105 in the front and / or rear bumpers. Figure 1 In the example of , four ultrasonic transducers 105 are shown, but in other examples, the number of transducers in each bumper may not be four. As used herein, "transducer" refers to an ultrasonic transducer. Any single transducer can play the role of emitting an ultrasonic signal, converting an electrical signal into an acoustic signal, and sensing a reflected signal, converting an acoustic signal into an electrical signal. Each transducer 105 can, for example, emit a sound wave, and then can detect the reflection of the emitted sound wave after it bounces off an object (e.g., object 120) and returns to the transducer. The elapsed time t between the time when the sound is first emitted from the transducer and the time when the reflected sound wave is detected back to the transducer can be measured by a receiver circuit coupled to the transducer. The total round-trip distance is the product of the speed of sound through the air c (approximately 344 meters / second or 1,129 feet / second) and the measurement time t. The distance D1 between the transducer and the object is then obtained by the formula D1=ct / 2, where the division by 2 takes into account the fact that the reflected sound wave returns to the transducer.

[0021] In some examples, the acoustic signal is emitted as a short burst of sound at a specific frequency (usually above 20 kHz, such as about 50 kHz). The emitted acoustic wave typically includes a plurality of pulses, such as between about 15 and 100 pulses, such as between about 20 and 65 pulses. The controller ( Figure 1The controller (not shown) can drive the transducer 105 with an electrical drive signal, and the controller can be implemented, for example, as an integrated circuit (IC) associated with a single transducer 105 and packaged together with it. The transducer 105 can then convert the electrical drive signal into an acoustic sound wave emitted from the transducer. The controller instructs its associated transducer to emit a pulse train, which will be referred to as "bursting" the transducer in this article. The transducer 105 converts the received reflected sound waves into electrical signals and transmits the converted signals to a receiver in the controller, which is configured to process the received signals. Inside the controller is a timer that starts when the pulse train sequence is emitted, and when a valid echo is received, the value of the timer is recorded as the time of flight (ToF) of the echo. As described above, this flight time is divided by 2 and multiplied by the speed of sound in air to obtain the distance between the transducer 105 and the reflecting object 120.

[0022] In some embodiments, the transducers 105 all emit the same frequency (e.g., 50kHz), but in sequence, i.e., one transducer 105 emits a sound signal and waits a predetermined period of time for reflection before permitting the next transducer 105 to emit its sound signal. Without waiting, it may not be clear which transducer emitted the signal of the echo, which in turn may reduce the accuracy of determining the position or distance of the reflecting object. This waiting means that for an example maximum object detection range of 5 meters, about 40 milliseconds must pass between successive pulse trains of different transducers, which means that a single scan of a typical complement of four sensors takes 160 milliseconds. In time-critical applications, such as those involving collision detection and warning, this length of time may be unacceptably long.

[0023] Compared to the single-tone implementation described above, for example, the systems and methods described herein use a coded waveform pulse train signal to distinguish the pulse train signals of different transducers and thus reduce or eliminate the time required between pulse trains of different transducers. Instead of using a single-tone pulse train signal, a frequency modulated signal can be sent by any one transducer, thereby permitting, for example, disambiguation of return echoes generated by multiple transducers.

[0024] In an example using this frequency modulation coding, each pulse train may, for example, consist of a sequence of pulses similar to a square wave, but each pulse in the waveform has a different duration corresponding to a different frequency. In some examples, the range of frequencies used to generate a given sound pulse train may be between a first frequency and a second frequency range, and thus have a difference referred to as Δf. As an example, the first pulse in the pulse train may have a duration corresponding to a frequency of 48.0 kHz, the second pulse in the pulse train may have a duration corresponding to a frequency of 48.2 kHz, the third pulse in the pulse train may have a duration corresponding to a frequency of 48.4 kHz, and so on, until the twenty-first and last pulse in the pulse train, which may have a duration corresponding to a frequency of 52.0 kHz. The foregoing represents only one example; other pulse frequencies and numbers of pulses per pulse train are also possible, as are the arrangement of pulses of different frequencies within a pulse train, over a sequential frequency increase, as in this example, or in other examples, a frequency decrease, or a frequency increase then a decrease, or a frequency decrease then an increase.

[0025] Thus, in other examples, the pulse train may be up-scanned from a first frequency to a higher second frequency and down-scanned back to the first frequency or back to a third frequency lower than the second frequency. In other examples, the pulse train may be down-scanned from a first frequency to a second lower frequency and then up-scanned back to the first frequency or back to a third frequency higher than the second frequency. Other modulation modes are also possible. Regardless of the mode, the specific scanning characteristics of the pulse train in terms of pulse frequency, number of pulses, pulse duration, and / or pulse time arrangement (e.g., by frequency duration or other aspects) may serve as a pulse train signature that identifies the transducer that emits the pulse train. Each transducer may have its own unique frequency modulation signature in the coded pulse train waveform it emits. Due at least in part to the pulse train encoding described above, there is no need to limit the overlap of the frequency ranges scanned in pulse trains from different transducers.

[0026] As described in more detail below, the receiver circuit in the controller associated with a particular transducer may be equipped with a correlator. The correlator may be provided with a template sampled from the encoded signal used to generate the drive signal. Thus, each transducer is only associated with its unique template. Specifically, because each transducer has a different frequency modulation pattern, the receiver circuit of each transducer is able to correlate the received signal only with the transducer's unique frequency modulation signature. Due to the specificity of the pulse trains of different transducers, the pulse trains may overlap in time, for example, all transducers 105 may emit their sound signals concurrently or simultaneously. Since each emitted sound signal is specially encoded for a particular transducer 105, the reflected sound signal is also unique and can be distinguished by the receiver circuit connected to each transducer.

[0027] Figure 2 The organization of multiple ultrasonic sensor modules 202 is shown as directed by a central controller 204, such as an electronic control unit (ECU). Each sensor module 202 may include an associated individual controller (not specifically shown), which may be implemented as an integrated circuit (IC), for example, and which is configured to drive the ultrasonic transducers (not specifically shown) in the sensor module 202 and process the received signals that may contain echoes corresponding to targets or obstacles. After processing, the transducer-associated controller may send the processed echo information back to the central controller 204, which may collect the processed echo information from multiple transducers (e.g., all four transducers in the illustrated example) and triangulate the detected objects based on the collected information from the multiple transducers. The central controller 204 may also perform some additional high-level processing, including processing to deal with interference. The individual transducer-associated controllers (not specifically shown, but within the sensor module 202) may have multiple configuration registers for storing configuration variables provided to them by the central controller 204. The central controller 204 may, for example, use a static threshold map (a series of time / value pairs, such as Figure 5 ) to program the controllers associated with individual transducers.

[0028] Figure 3 An example of a received echo signal 302 and its envelope 304 is shown. The echo signal 302 may be received by an ultrasonic transducer as an acoustic signal and converted into an electrical signal, which may be amplified and sampled by an analog-to-digital converter in an individual controller associated with the transducer. The individual controller may then generate an envelope 304 from the sampled received signal 302. The individual controller may further be configured to compare the envelope to a threshold 306. Envelopes that exceed the threshold may be declared to correspond to valid echoes of detected targets or obstacles (as opposed to mere noise, such as whether acoustic ambient noise or electrical noise inherent in the receiver signal path), and a time of flight may be calculated based on the time elapsed between the emission of the burst and the reception of the echo.

[0029] Figure 3 The threshold 306 illustrated in need not be a single value static threshold. In some examples, the threshold may vary with respect to time, for example, starting from the time the pulse train is emitted. Figure 4An example receiver signal path 400 that can be used in an individual controller associated with a transducer in a sensor module 202 is shown, which utilizes a time-varying threshold map 414. The analog electrical signal converted by the ultrasonic transducer from the received acoustic signal can be amplified by a programmable gain amplifier 402, which can receive a time-varying gain input 404. The amplified converted received signal can then be sampled by an analog-to-digital converter (ADC) 406. The ADC output can then enter a correlator 408. In an example where an encoded pulse train is not used, this stage can be a simple bandpass filter. In an example where an encoded pulse train is used, this stage can apply a correlation function between the sampled received signal provided by the ADC 406 and a transmission (TX) template, which supplies information about the code used by the emitted pulse train. Therefore, the output provided to the envelope stage 410 corresponds to the encoded pulse train emitted by the transducer associated with the receiver path, rather than to a differently encoded pulse train emitted by a different transducer. In the envelope stage 410, an envelope of the correlation signal is generated. As an example, a rectifier, peak hold stage, and low pass filter may be used to reconstruct the envelope of the correlation signal. This envelope is then compared to a threshold map 414 using a comparator 412 to declare the envelope as representing a valid echo from an object. After the threshold has been passed and the reflecting object has therefore been declared a valid object, the time of flight may then be recorded, which information may be sent back to the central controller 204 (e.g., ECU).

[0030] Figure 5 An example threshold graph 500 is shown, which is defined by a set of time / value pair points. The times and values ​​may be set by, for example, a user of a system integrator implementing an ultrasonic detection system in a detection application such as an automotive application. The beginning of the threshold graph 500 corresponds to a time related to the emission of a corresponding pulse train, for example, at the emission time or some predefined delay period thereafter. In the illustrated example, the threshold level values ​​have an 8-bit resolution, resulting in a vertical axis in the range of 0 to 255. For example, the threshold graph may be limited to 255 levels of amplitude resolution because the threshold settings are set by an EEPROM, which limits its resolution and the number of time points, and because any increase in resolution or time will result in a hardware cost of additional EEPROM storage in the ultrasonic detection device.

[0031] The first time / value pair point in the threshold map 500, labeled 502, is at a specific time and a value of about 250. For segments of the threshold map 500 between defined points, such as regions I, II, III, etc., the threshold map 500 can be interpolated (e.g., linearly interpolated) between the points to provide mapping values ​​for any arbitrary time instance. The initial segment of the threshold map can be constant at the value of the first point 502. If the echo envelope amplitude is above the threshold level, it is determined to be a valid echo. The threshold is set to be higher than the noise level, and in some instances, avoids verifying reflection peaks caused by certain types of targets at a specific distance, such as ground reflections. Therefore, for some instances, the threshold can be set higher to avoid being triggered by ground reflections. The end of the threshold map, i.e., the final threshold 504, corresponds to the end of the recording time of the received ultrasonic signal, and therefore corresponds to the sensor range, i.e., the farthest distance at which a valid reflection is detected.

[0032] The threshold graph 500 varies with respect to time, but it is static because the value at each time is pre-set and is not suitable for the case where the threshold is applied to the processed received signal. Figure 5 The static threshold map in presents several disadvantages. First, although one purpose of thresholding is to prevent false positive echo detections due to system electrical noise and ambient acoustic noise, the noise level can vary depending on the transducer and receiver devices used and the environment of operation. Second, the end-of-range threshold is set high enough to accommodate the widely varying noise floors of different transducer and receiver devices, and different environments can mask smaller end-of-range echoes.

[0033] Thus, the systems and methods described herein can dynamically set a threshold based on the noise level in a received signal by calculating an average of the noise in the received signal and setting the threshold based on the calculated noise average. Dynamically setting the noise threshold in this manner produces a constant false alarm rate that depends on a scaling factor (referred to herein as Confidence_Factor) used as a multiplier for the noise average. Dynamically setting the noise threshold in this manner also produces a finer threshold resolution because internally, the threshold can be determined at a resolution greater than the amplitude EEPROM of the threshold map (e.g., 8 bits, i.e., 255 levels, as in Figure 5 For example, internally, the threshold level may be represented as 16 bits instead of 8 bits.

[0034] Figure 6A portion of a receiver signal processing path 600 capable of generating a dynamic threshold is illustrated. The example receiver signal path 600 is a portion of a system that employs coded processing to distinguish reflections from two or more coded pulse train signals, for example, from two or more different ultrasound transducers, each of which emits a pulse train signature having its own unique signature frequency modulation code. These codes are in Figure 6 In the code, it is represented as "Code1" and "Code2". Figure 6 For simplicity, a dual code example is shown. Other examples can accommodate more codes (e.g., four codes) by implementing additional parallel processing paths between the high pass filter 606 and the peak rank stage 634, one such path for each code, and by implementing additional threshold generation stages between the respective additional envelope stages and the combining stage 620. The example receiver signal path 600 uses multiple correlators 608, 610 and corresponding post-processing to identify valid peak information and code IDs.

[0035] The received signal converted from the acoustic signal by the transducer (not shown) is amplified by a time-varying gain (TVG) amplifier 602, sampled by an analog-to-digital converter 604, and filtered by a high-pass filter 606. The receiver signal processing path may then be split into multiple parallel signal processing paths, which may, for example, correspond to the digital burst code used by the detection system, and thus to the number of transducers in the system. For simplicity, Figure 6 Only two such paths are illustrated in FIG. 6 , but the receiver signal processing path 600 may have more than two parallel paths, for example, four parallel paths. Each parallel path may begin with its own correlator 608, 610, each correlator 608, 610 being fed back a transmission (TX) template corresponding to a respective burst code Code1, Code2. The correlators may be used as previously described to provide an output substantially limited to reflections of a burst encoded with a code corresponding to the respective TX template of the correlator. After processing with the respective correlator 608 or 610, an envelope of the correlated signal is reconstructed with an envelope stage 612 or 614.

[0036] In the correlator 1 threshold generation stage 616, a threshold may be generated based on the first correlator output, and the correlator 2 threshold generation stage 618 may similarly generate a threshold based on the second correlator output. The two (or more) dynamic thresholds may then be combined in the multi-correlator threshold combination stage 620 to generate a common threshold to set all threshold comparison stages 622, 624. This common threshold has two components. One component is statically defined, as in Figure 5 The other component is dynamically generated based on the noise level of the received signal. These two components are combined to generate a combined threshold. Figure 6As shown in , this combined threshold can be generated for each correlator output, and the combined thresholds generated for multiple correlator outputs can then be combined together again to generate a common threshold that can be applied to each of the correlator outputs.

[0037] The multi-correlator threshold combination stage 620 can be configured to combine different correlator thresholds in various ways. As an example, the multi-correlator threshold combination stage 620 can obtain the maximum of the correlator 1 generated threshold and the correlator 2 generated threshold. As another example, the multi-correlator threshold combination stage 620 can obtain the minimum of the correlator 1 generated threshold and the correlator 2 generated threshold. As another example, the multi-correlator threshold combination stage 620 can obtain only one input as an output. For example, a threshold from a correlator path corresponding to a code associated with a transducer associated with the receiver signal processing path 600 can be used. The combination stage 620 in the transmitter path for any particular transducer can emit a pulse train specifically encoded to that transducer; then, the receiver path of the same transducer can pick a correlator threshold corresponding to the code transmitted by the transducer. Thus, for example, if the transducer associated with the receiver signal processing path 600 emits a Code1 pulse train, the multi-correlator threshold combination stage 620 can simply use the threshold generated by the correlator 1 as the threshold for all threshold comparison stages 622, 624.

[0038] After each respective threshold level 622, 624, the respective peak search level 626, 628 performs a peak search to find the location of the peak in the thresholded envelope waveform. In order to reduce the number of peaks processed by each signal path, the peak search may be subject to the influence of the minimum peak distance between peaks, which is provided as an input to each peak search level 626, 628. This minimum peak distance may be specified as a constant in a programmatic manner, or may be dynamically generated based on information about the peaks in the envelope of the sampled reflection signal. For example, this minimum peak distance may be set to about the width of the main autocorrelation peak. It is possible that within this minimum peak distance, one peak cannot actually be separated from another peak. This peak distance threshold aspect of the peak search level 630, 632 helps to reduce the number of peaks processed by each respective signal processing path, so that only relevant peaks are retained for processing, such as by the peak ranking level 634.

[0039] The peaks located by the peak search stages 626, 628 are written to peak buffers 630, 632 in each parallel data path, respectively. The peak buffers 630, 632 store the position and amplitude of each detected peak. The peak ranking stage 634 of the parallel signal processing path aggregation compares the peaks from multiple data paths and determines whether the detected echo should be designated as a Code1 echo (i.e., a reflection corresponding to a pulse train encoded with Code1) or a Code2 echo (i.e., a reflection corresponding to a pulse train encoded with Code2). For any valid peaks detected, the peak ranking stage 634 can then record the peak position and amplitude of any peak along with a code identifier indicating the code to which such peak belongs. As an example, the peak ranking stage 634 can be configured to record only peaks with codes associated with the entire receiver signal path 600 (associated with a single transducer by means of a receiver). Thus, for example, if the receiver signal path 600 is in a controller associated with a transducer that emits a Code1 encoded pulse train, the peak ranking stage 634 can be configured to record only Code1 peaks. Control inputs to the peak rank stage 634 may include the size 2win of the sliding comparison window and the mode of operation, specifying, for example, that the peak rank stage 634 should report only the primary peak or both the primary peak and the secondary peak. These control inputs may be provided, for example, by a central controller (e.g., an ECU). The functions of the peak search stages 626, 628 and the peak rank stage 634 and the states of other described signal processing are the subject of other patent applications and therefore a detailed description thereof is omitted herein. For example, the stages other than the threshold generation stages 616, 618, 620 are described in U.S. Provisional Patent Application No. 62 / 667,802 filed on May 7, 2018, which is incorporated herein by reference. The verified peak position, amplitude, and code ID may be reported 636 to a central controller (e.g., an ECU) for further processing.

[0040] To summarize the functionality of the receiver signal processing path 600, for each correlator 608, 610, a time-varying threshold is generated from a static register setting (e.g., 10 time / value pairs) and an estimated noise level in the envelope signal. Time is counted from the start of the ultrasound burst or some time defined about the start. The thresholds generated for the different correlators at the generation stages 616, 618 are combined at the multi-correlator threshold combination stage 620 and compared to the envelope of each correlator output at the comparison stages 622, 624 to detect a qualified echo in each correlator output. The multi-correlator threshold combination stage 620 can use the maximum of all generated correlator thresholds, or can use the minimum of all generated correlator thresholds, or can select a threshold generated from correlator 1 and use it for all other correlator outputs. All threshold comparison stages 622, 624 can use the same time-varying threshold to avoid inconsistencies, such as if the autocorrelation peak (Code1 echo / Code1 correlator output) is below a threshold, while the cross-correlation peak (Code1 echo / Code2 correlator output) exceeds a different threshold. This inconsistency will result in erroneous echo detection, for example where a cross-correlation peak is declared valid at peak rank level 634 rather than an autocorrelation peak.

[0041] Figure 7 An example threshold generation stage 700 is illustrated for one correlator, and may therefore correspond to Figure 6 The correlator specific threshold generation stages 616, 618. Static threshold 702, similar to Figure 4 The threshold map 414 or Figure 5 The threshold map 500 may be fed back into the static / dynamic combination stage 706. The static threshold 702 is programmed by register settings (e.g., a static threshold map for ten time / value pairs, then time 0 is the start of an ultrasound burst or some time defined about the start). These time / value pairs may be linearly interpolated to obtain a static threshold at a specific time starting from time 0 (e.g., the start of a burst).

[0042] The envelope incoming from the corresponding correlator path is processed by an average filter 704, such as a narrow bandwidth low-pass infinite impulse response (IIR) filter, which generates an average value of the envelope provided as input to the threshold generation stage 700. The calculated average noise value is multiplied by a scaling factor (e.g., a value greater than 1) called Confidence_Factor to generate a dynamic threshold component, which is a threshold associated with the mean value of the noise of the envelope. The scaled threshold can provide a constant false alarm rate. The average filter 704 maintains its state when the incoming envelope value is higher than the final correlator threshold provided via feedback 708, thereby avoiding updating the average filter with the envelope value of the super-threshold echo. If there is an echo in the envelope signal, it is desirable to avoid integrating the echo in the noise average filter. Therefore, when an envelope peak corresponding to an echo exceeding the combined threshold is observed, the average filter 704 stops being updated so that it only averages the noise component of the envelope. In other words, when an echo is incoming, if it is above the combining threshold, the averaging filter 704 stops updating and the output of the averaging filter 704 remains constant until the echo amplitude returns to sub-threshold.

[0043] The combining stage 706 combines the static and dynamic threshold components (i.e., the threshold map defined by the time / value pairs, and the scaled noise average) to generate a combined threshold for a particular correlator associated with the threshold generation 700. For example, the combining stage 706 may be configured to generate a correlator threshold that represents the maximum of the statically and dynamically generated threshold components, or to generate a correlator threshold that represents the sum of the statically and dynamically generated threshold components.

[0044] Figure 8 Description can correspond to Figure 7 The averaging filter 704 is an example of an averaging filter 800. The averaging filter may be provided by Figure 8 The enable signal illustrated at the bottom of FIG. 8 enables and disables. The input envelope may here be decimated by M (e.g., M=2) in decimator 802 to produce signal x(n). A delay D is provided to this signal in an enable / disable storage stage 804 (also referred to herein as a delay stage) to delay the decimated input and thus produce signal x(n-1). If disabled, the delay stage simply maintains its state.

[0045] Comparator 806 then compares the decimated input signal x(n) with the delayed decimated input signal x(n−1) to determine whether the input signal is increasing or decreasing, i.e., whether x(n) is greater or less than x(n−1). The filter has two coefficients, an increasing coefficient when x(n)>x(n−1) and a decreasing coefficient when x(n)≤x(n−1). If the input signal is increasing, then coefficient selector multiplexer 808 selects the increasing coefficient. If the input signal is decreasing, then coefficient selector multiplexer 808 selects the decreasing coefficient. Figure 7 The middle negative feedback loop represents a single coefficient infinite impulse response (IIR) filter. The feedback signal is subtracted from the delayed decimated input signal x(n−1) at adder 810.

[0046] The resulting signal is then multiplied by the coefficient (“coeff”) selected by the multiplexer at multiplier 812, and then the feedback signal is then re-added to the multiplied coefficient signal at adder 816 to produce signal y(n), where y(n)=y(n−1)+coeff×(x(n−1)−y(n−1)), which is delayed in delay stage 818 to produce the output of averaging filter 800. Another delay stage 814 delays signal y(n) to provide the feedback signal subtracted at adder 810 and re-added at adder 816. For example, the increasing and decreasing coefficients can be programmatically selected by the user. For example, the increasing coefficient can be 2 -6 , and the decreasing coefficient can be 2 -8 . Then, in averaging filter 800, the coefficient selected by multiplexer 808 can be adaptive based on whether the sampled input is increasing or decreasing.

[0047] As indicated by the formula Enable = autoThresholdEnable&[max(x(n–M),…x(n+N))<CorrelatorThreshold], averaging filter 800 is enabled only when auto thresholding is enabled and the samples are within a window of width N+M, where the maximum value of the signal in the window is less than the combined correlator threshold. The second condition is used to avoid updating the filter when there are super-threshold echoes in the envelope input. Thus, when the current sample is represented as x(n), the enable signal Enable looks N samples forward and M samples backward to see if there is a sample in this sample window that is higher than the current combined correlator threshold (i.e., Figure 6 the threshold generated by 616 or 618 or Figure 7 the output of threshold generator 700). If the samples in the window exceed the current combined correlator threshold, then the Figure 8The inequality in the enable signal definition at the bottom sets the enable signal to a disabled state and the averaging filter 800 is no longer updated. On the other hand, if no samples in the window exceed the current correlator combining threshold below which it is lowered, then the averaging filter 800 will use the incoming envelope signal to update the filter and generate an average output. For example, N and M can be set by the user as programmable parameters.

[0048] In some examples, the noise averaging filter 800 may start in a zero state, i.e., such that Figure 8 The delay stage 814 in is initialized to zero when the noise averaging filter starts operating. In other examples, the delay stage 814 can be configured to divide the value of the static threshold by the Confidence_Factor ( Figure 7 ). In the case where this initial value is set for delay stage 814, the output of delay stage 818 at the beginning of automatic thresholding is equal to the value of the static threshold divided by the value of Confidence_Factor. After multiplying the output of noise averaging filter 800 by Confidence_Factor, this output is initially equal to the static threshold. In this way, a smooth transition is advantageously achieved between the static threshold and the dynamically generated threshold. In such an example, Figure 7 The description may further include an input from a static threshold 702 to an averaging filter 704 .

[0049] Fig. 9A and 9B To illustrate the threshold generation component (e.g. Figures 6 to 8 A graph of an example of the functionality of levels 616, 618, 700, 800). Fig. 9A and 9B The graph in shows the incoming envelope as a solid line and the generated threshold as a dashed line. The combined threshold generated by taking the sum of the static threshold component and the dynamically generated threshold component is illustrated as a dashed line. The combined threshold generated by taking the maximum of the static and dynamically generated threshold components at each time point is illustrated as a dot-dash line. The vertical axis has units of a digital code representing the resolution of the static threshold setting, which is only 8 bits in the illustrated example, so the maximum value is 255. Fig. 9B exhibit Fig. 9A The amplified portion indicated by box 902 is from the time after 10 milliseconds and the amplitude between 0 and 10 digital units.

[0050] For the reasons discussed previously, in the case where the envelope signal is below the resolution of the static threshold map defined by, for example, the time / value pairs stored in an EEPROM, i.e., less than the minimum quantization level of one on the graph, using this low-resolution static threshold alone provides poor performance, especially when it is necessary to set it above the minimum quantization level (e.g., to two, three, four, five or six) in order to accommodate the various noise levels expected to be encountered in the transducer and its corresponding receiver. However, as in the examples of the present specification, in the case where the envelope signal is such as by Figure 6 In the signal processing path 600 shown in the example, when the threshold used is generated internally, this threshold can obtain a value between 0 and 1, for example, because the dynamically generated threshold is not limited by the resolution of the static threshold map (e.g., 8 bits).

[0051] pass Fig. 9A The envelope shown in effectively adjusts the generated threshold. Fig. 9B As can be seen more clearly in FIG. 9 , the peak 906 corresponding to the reflection from the distant (e.g., 6 meters away) target / obstacle occurs at about 36 to 37 milliseconds. Before the 10 millisecond mark, the autoThresholdEnable signal is disabled, which means that the averaging filter (e.g., 704, 800) is disabled and the combined threshold consists only of the static threshold component and therefore at Fig. 9A The time before 10 milliseconds in the static threshold is only displayed as a straight line segment. In this example, the automatic threshold is enabled for approximately 10 milliseconds. For example, the user can set the enable time of the automatic threshold through a programmable register setting. For example, when the static threshold is defined as a time / value pair, the user can select the time point in the static threshold setting as the enable time of the automatic threshold. Fig. 9A Seen in Fig. 9B More clearly in FIG. 9 , during the time period between 10 and 15 milliseconds when the static threshold exceeds the dynamically generated threshold component and thus the maximum of the two equals the static threshold, the combined threshold (dash-dotted line) is straight line 904. When the auto-threshold is enabled at approximately 10 milliseconds, the initially dynamically generated threshold component is still converging and thus it is below the static threshold, accounting for the linearly interpolated straight line segment 904 in the dash-dotted plot of the maximum combiner threshold between approximately 10 milliseconds and approximately 14 milliseconds.

[0052] At about 14 milliseconds, when the dynamically generated threshold begins to be larger than the static threshold, the maximum combiner threshold is no longer a straight line plot with 8-bit resolution, and becomes a finer resolution threshold signal observed in the dash-dot plot. This plot follows the average value of the noise and is multiplied by a scaling factor (e.g., Figure 7=Confidence_Factor). At approximately 36 milliseconds, echo 906 is above the combined threshold. Therefore, the noise averaging filter stops updating in that region until the threshold falls back below the combined threshold. At approximately 36 milliseconds, both the dashed (sum) and dot-dash (maximum) plots stop updating when echo 906 is above the threshold and become straight horizontal lines during the period when the envelope signal (solid line) exceeds the threshold. This is because the condition is not satisfied. Figure 8 The inequality discussed in the enabling formula of , and the averaging filter (eg, 704, 800) stops updating. When the echo drops below the combining threshold at approximately 37 milliseconds, the averaging filter begins updating again.

[0053] about Figure 8 To reiterate, when the enable signal is high, the noise averaging filter is continuously updated. This includes when the maximum value of the window of the correlation envelope is less than the correlator combining threshold. When the correlator envelope exceeds the threshold, effectively providing an indication of the presence of an echo above the valid threshold, the filter 800 stops updating. Figure 6 To reiterate, in the correlator condition, after the threshold comparison stage 622 or 624, an echo above the combined threshold is observed, and the observed echo is then fed back to the peak search stage 626 or 628 to attempt to identify the peak of the echo, and the peak rank stage 634 then compares the peaks from multiple correlator outputs and determines the code ID of each peak, i.e., whether the peak represents an echo from a pulse train encoded by Code1 or an echo from a pulse train encoded by Code2.

[0054] Because the echo peak 906 exceeds the threshold at 36 milliseconds (under any combiner method), the distant object causing the echo is properly detected by the ultrasonic detection system, which would not be the case if a static threshold map set at a terminal level of 3 or higher was used, such as Figure 5 The arrangement of the present invention is thus advantageously capable of detecting distant obstacles that would not otherwise be detected, or would not be detected until later when the obstacle is closer to the detection system. In this way, the present threshold generation system and method can provide more sensitive ultrasonic detection.

[0055] Fig. 10AA method 1000 for adaptive thresholding of ultrasonic detection is described. A received signal sampled from a converted reflected acoustic signal is correlated 1002 with a transmission (TX) template of a frequency modulation code characterizing a generated pulse train signal to produce a correlated received signal. Then, a mean of noise in an envelope derived from the correlated received signal is generated 1004. Then, a threshold based on the envelope noise mean is dynamically generated 1006. The envelope is then thresholded 1008 based on the dynamically generated threshold. The method may also include detecting 1010 an object from an envelope peak after the dynamic thresholding 1008.

[0056] Fig. 10B A method 1050 for adaptive thresholding of ultrasonic detection is described, which may be followed Fig. 10A The method 1000 of the present invention is described above, but it should be noted that some actions of method 1050 may be performed in parallel with the actions of method 1000 in some instances, rather than being performed sequentially thereafter. The received signal is correlated 1052 with a second transmission template, the second transmission template characterizing a second frequency modulation code of a second generated pulse train signal, to produce a second correlated received signal. A second noise mean in a second envelope derived from the second correlated received signal is generated 1054. A second threshold is dynamically generated 1056 based on the second envelope noise mean. Then, the (first) threshold (i.e., the threshold generated in 1006) is assigned 1060 as a multi-correlator combination threshold, or the maximum of the (first) threshold and the second threshold is assigned 1062 as a multi-correlator combination threshold. The second envelope is then thresholded 1064 based on the multi-correlator combination threshold. The threshold 1008 of the envelope is also based on the multi-correlator combination threshold. The method may still include detecting 1010 objects from envelope peaks after dynamic thresholding 1008, 1064.

[0057] Methods 1000, 1050 may be used, for example, according to Figure 6 , 7 The method may be extended to include dynamically generating a third threshold, a fourth threshold, etc. and using them to threshold the third envelope, the fourth envelope, etc. from the third correlation, the fourth correlation, etc.

[0058] about Figure 6 Understandable Fig. 10A and 10B Methods 1000, 1050 as outlined in FIG. Figure 6 As shown in FIG. 6 , and particularly with respect to multi-correlator threshold combination 620, the thresholds from the two correlators may be first combined and then applied to the two correlator outputs. In other words, the threshold applied to the output of correlator 1 may also be subject to Figure 6 The output of the correlator 2 threshold generation 618 in is affected (depending on the mode of the threshold combination).

[0059] The systems and methods described herein provide adaptive thresholds in the context of ultrasonic sensing systems for target detection. Between the envelope level and the thresholding level, the threshold generation level generates an average value of the noise in the envelope from each correlator signal processing path. The receiver signal path 600 has an advantage over the receiver signal path 400, namely supporting a multi-correlator implementation, further improving the responsiveness and robustness of ultrasonic detection by allowing multiple simultaneous pulse trains from different transducers without ambiguity about which reflections are caused by which pulse trains (and from which transducers) when echoes are received. In the present system and method, the threshold and time resolution are not limited by the capacity of the EEPROM used to store static threshold maps. The present system and method can solve background noise changes caused by environmental or component changes that cannot be solved in static threshold implementation.

[0060] The systems described herein may be implemented, and the methods described herein may be carried out using an application specific integrated circuit (ASIC) or multiple ASICs. In some examples, the systems and methods may be implemented or carried out using a general purpose digital electronic computer programmed to carry out the signal processing involved in the correlator, envelope stage, threshold generation and combination stage, threshold comparison stage, peak search stage, peak buffer, and peak ranking stage as software instructions.

[0061] In this specification, the term "based on" means at least partially based on. In this specification, the term "couple (couple or couples)" means an indirect or direct wired or wireless connection. Therefore, if a first device, element or component is coupled to a second device, element or component, the coupling can be by direct coupling or by indirect coupling via other devices, elements or components and connections. Similarly, the device, element or component coupled between the first component or position and the second component or position can be directly connected or by indirect connection via other devices, elements or components and / or couplings. The device "configured to" perform a task or function can be configured (e.g., programmed and / or hardwired) to perform a function when manufactured by the manufacturer and / or can be configured (or reconfigurable) by the user after manufacturing to perform a function and / or other additional functions or alternative functions. The configuration can be by firmware and / or software programming of the device, by the construction and / or layout of hardware components and the interconnection of the device or a combination thereof. In addition, it is said that the circuit or device containing certain components can be alternatively configured to be coupled to those components to form the described circuit or device. For example, a structure described as including one or more semiconductor elements (e.g., transistors), one or more passive elements (e.g., resistors, capacitors and / or inductors), and / or one or more power sources (e.g., voltage and / or current sources) may alternatively include only semiconductor elements within a single physical device (e.g., a semiconductor die and / or integrated circuit (IC) package), and may be configured to couple to at least some of the passive elements and / or power sources to form the described structure, for example, by an end user and / or a third party, at or after manufacturing.

[0062] Modifications may be made in the described embodiments, and other embodiments are possible, within the scope of the claims.

Claims

1. An ultrasonic sensing system, comprising: a pulse train generation circuit configured to generate a frequency modulated encoded pulse train signal comprising a sequence of pulses of variable duration, the pulse train generation circuit having a pulse train generation output; an ultrasonic transducer having a transducer input coupled to the pulse train generating output and having a transducer output, the ultrasonic transducer being configured to emit the pulse train signal and convert a reflected acoustic signal; A receiver signal path comprising: first and second correlators having respective first and second correlator inputs, each coupled to the transducer output of the ultrasonic transducer, and having respective first and second correlator outputs, the first and second correlators each being configured to correlate a received signal sampled from the converted reflected acoustic signal with a respective transmission template of a frequency modulation code characterizing the generated pulse train signal; a first threshold generation stage and a second threshold generation stage having respective first and second threshold generation outputs and having respective first and second threshold generation inputs coupled to the first and second correlator outputs, respectively, each of the first and second threshold generation stages being configured to generate a noise mean in a respective envelope derived from the output of the respective correlator and to dynamically generate a respective threshold value based on the noise mean of the envelope; and first and second threshold comparison stages having respective first and second threshold comparison inputs coupled to the first and second threshold generation outputs, respectively, the first and second threshold comparison stages each being configured to threshold the respective envelope based on one or more of the dynamically generated thresholds; The receiver signal path is configured to calculate the location and amplitude of one or more peaks in the respective envelopes, the envelopes being indicative of one or more distances between the transducer and one or more detected objects.

2. The system of claim 1 , wherein each of the first threshold generation stage and the second threshold generation stage comprises: a static threshold stage configured to be programmable with a series of time / value pairs that interpolate to describe a static threshold map; an averaging filter configured to generate a noise mean in the corresponding envelope; a multiplier configured to multiply the noise mean by a predetermined scaling factor; and A combining stage is configured to sum or obtain the scaled noise mean and the maximum of the static threshold map to provide the corresponding dynamically generated threshold.

3. The system of claim 2, wherein the respective averaging filter of each of the first threshold generation stage and the second threshold generation stage comprises: a decimator configured to decimate an incoming envelope; a multiplexer configured to select between two multiplication coefficients based on a comparator determining whether the decimated envelope is rising; and A multiplier is configured to multiply a signal based on the decimated envelope by the selected multiplication coefficient.

4. The system of claim 3, wherein the signal based on the decimated envelope is delayed from the decimated envelope and reduced by a negative feedback signal.

5. The system of claim 3 , further comprising a delay buffer that can be enabled and disabled to switch the averaging filter between an activation state and a hold state, in which the averaging filter outputs a noise mean of the envelope and in which the averaging filter outputs a constant value. 6 . The system of claim 5 , wherein the averaging filter is configured to switch to the hold state based on detection of a supra-threshold echo in the envelope.

7. The system of claim 5, wherein the delay buffer is configured to be enabled or disabled based on an enable signal based on comparing an output of a threshold generation stage with a maximum value of the decimated envelope within a window.

8. A system according to claim 7, wherein one of the delay buffers is an input delay buffer, which is arranged to receive the output of the extractor and is configured with an initial delay value, which is equal to the value of the static threshold map when the enable signal is received divided by a scaling factor, and the output of the averaging filter is multiplied by the scaling factor to achieve a smooth transition between the static threshold map and the dynamically generated threshold.

9. The system of claim 2, wherein each of the first threshold generation stage and the second threshold generation stage is a low pass infinite impulse response (IIR) filter.

10. The system of claim 1 having a constant false alarm rate.

11. The system of claim 1, wherein the corresponding dynamically generated thresholds each have an amplitude resolution finer than 8 bits.

12. An ultrasonic detection adaptive thresholding method, comprising: correlating a received signal sampled from the converted reflected acoustic signal with a transmission template of a frequency modulation code representative of the generated pulse train signal to produce a correlated received signal; generating a noise mean in an envelope derived from the correlated received signal; dynamically generating a threshold value based on the noise mean of the envelope; and The envelope is thresholded based on the dynamically generated threshold.

13. The method according to claim 12, further comprising: correlating the received signal with a second transmission template characterizing a second frequency modulation code of a second generated pulse train signal to produce a second correlated received signal; generating a second noise mean in a second envelope derived from the second correlated received signal; dynamically generating a second threshold based on the second noise mean in the second envelope; designating the threshold or a maximum value of the threshold and the second threshold as a multi-correlator combination threshold; and thresholding the second envelope based on the multi-correlator combined threshold; Wherein thresholding the envelope is also based on the multi-correlator combination threshold.

14. The method according to claim 12, further comprising: multiplying the noise mean by a predetermined scaling factor to produce a scaled noise mean; Wherein the dynamically generating the threshold value comprises summing or obtaining the maximum value of the scaled noise mean and a static threshold value map, wherein the static threshold value map is defined by an interpolated series of time / value pairs.

15. The method of claim 12, wherein said generating said noise mean in said envelope derived from said correlated received signal comprises: extracting the envelope; selecting between two multiplication coefficients based on a comparator determining whether the decimated envelope is rising; and A signal based on the decimated envelope is multiplied by the selected multiplication coefficient.

16. The method of claim 15, wherein the signal based on the decimated envelope is delayed from the decimated envelope and reduced by a negative feedback signal.

17. The method according to claim 15, further comprising: disabling a delay buffer in an averaging filter to switch the averaging filter to a hold state in which the averaging filter outputs a constant value based on detecting an above-threshold echo in the envelope; and Based on the amplitude of the echo entering a sub-threshold, the delay buffer is enabled to switch the averaging filter to an active state in which the averaging filter outputs the noise mean of the envelope.

18. The method according to claim 17, further comprising: comparing the dynamically generated threshold with the maximum value of the envelope extracted within a window to detect the supra-threshold echo; and The delay buffer is disabled based on detecting the above-threshold echo.

19. An ultrasonic sensing system, comprising: a pulse train generation circuit configured to generate a frequency modulated encoded pulse train signal comprising a sequence of pulses of variable duration, the pulse train generation circuit having a pulse train generation output, the pulse train generation circuit being adapted to be coupled to an ultrasonic transducer configured to emit the pulse train signal and convert a reflected acoustic signal; and a receiver signal path adapted to couple to the ultrasound transducer, the receiver signal path comprising: a time-varying gain TVG amplifier having a TVG amplifier input adapted to be coupled to the ultrasonic transducer and having a TVG amplifier output, the TVG amplifier being configured to amplify the converted reflected acoustic signal; an analog-to-digital converter ADC having an ADC input coupled to the TVG amplifier output and having an ADC output, the ADC being configured to sample an amplified signal from the TVG amplifier; first and second correlators having respective first and second correlator inputs coupled to the ADC output and having respective first and second correlator outputs, the first and second correlators each being configured to correlate a received signal based on the sampled signal from the ADC with a respective transmission template characterizing a frequency modulation code of the generated pulse train signal; first and second threshold generation stages having respective first and second threshold level inputs coupled to the first and second correlator outputs, respectively, each of the first and second threshold generation stages being configured to generate a noise mean in a respective envelope derived from the output of the respective correlator and to dynamically generate a threshold value based on the noise mean of the envelope; first and second threshold comparison stages having respective first and second threshold comparison inputs coupled to first and second threshold generation outputs, respectively, and having respective first and second threshold comparison stage outputs, the first and second threshold comparison stages each being configured to threshold the respective envelope based on one or more of the dynamically generated thresholds; first and second peak search stages having respective first and second peak search stage inputs coupled to the first and second threshold comparison stage outputs, respectively, and having respective first and second peak search stage outputs, the first and second peak search stages each being configured to detect one or more peaks by determining respective positions and amplitudes of peaks in the respective thresholded envelopes; a first peak buffer and a second peak buffer having respective first and second peak buffer inputs coupled to the first and second peak search stage outputs, respectively, and having respective first and second peak buffer outputs, the first and second peak buffers each being configured to store each one or more detected peaks according to the amplitude and position of the respective one or more peaks detected by the respective peak search stage; and a peak rank stage having first and second peak rank stage inputs coupled to the first and second peak buffer outputs, respectively, the peak rank stage being configured to compare the peaks stored in the first and second peak buffers and to designate each of the peaks as valid or invalid accordingly; The receiver signal path is configured to calculate the location and amplitude of one or more peaks in the respective envelopes, the envelopes being indicative of one or more distances between the transducer and one or more detected objects.

20. The system of claim 19, wherein each of the first threshold generation stage and the second threshold generation stage is a low pass infinite impulse response (IIR) filter.

21. The system of claim 19 having a constant false alarm rate and wherein the corresponding dynamically generated thresholds each have an amplitude resolution finer than 8 bits.