The present disclosure relates to the field of radar technologies, and in particular, to a radar detection method and a related apparatus.
A frequency modulated continuous wave (FMCW) radar is a ranging device, and the FMCW radar has different subdivided types. For example, a frequency modulated continuous wave radar using radio waves is referred to as FMCW RADAR. For another example, a frequency modulated continuous wave radar using laser light is referred to as FMCW LIDAR. An FMCW radar of any type includes a structure shown in
In the FMCW radar, the frequency of the beat frequency signal is proportional to the distance of the target object (also referred to as a reflector). A long-distance object corresponds to a higher beat frequency, and a short-distance object forms a lower beat frequency. A common problem in the FMCW radar is low frequency crosstalk. As shown in
Embodiments of the present disclosure disclose a radar ranging method and a related apparatus, to improve accuracy of a radar detection result and reduce implementation costs.
According to a first aspect, an embodiment of the present disclosure provides a radar ranging method. The method includes: obtaining a first signal, where the first signal is a frequency domain signal obtained after low frequency suppression is performed in a beat frequency signal, and the beat frequency signal is a signal obtained by mixing a transmitted signal transmitted by a frequency modulated continuous wave FMCW radar and a received echo signal; performing mean gradient calculation on the first signal in frequency domain to obtain a second signal, where the mean gradient calculation is used to highlight a difference between a signal value of each sampling point in the first signal and a signal value of a surrounding sampling point; and calculating at least one of a speed or a distance of a target object based on a peak signal in the second signal.
In the foregoing method, low frequency suppression is performed on the frequency domain signal of the beat frequency signal, so as to reduce influence of low frequency interference on subsequent calculation of the speed or distance of the target object. To prevent a peak signal that may exist in the low frequency part from being clipped due to low frequency suppression, the peak signal that may exist in the low frequency part is further highlighted by performing mean gradient calculation. Therefore, accuracy of a radar detection result calculated by using the solution in this embodiment of the present disclosure is relatively high. In addition, implementation of this embodiment of the present disclosure is completed by performing special processing on a signal, and a hardware structure of a radar does not need to be improved. Therefore, implementation costs are relatively low.
With reference to the first aspect, in a possible implementation of the first aspect, the obtaining a first signal includes: performing low frequency suppression on the beat frequency signal to obtain a first transition signal; and performing FFT or short-time Fourier transform (STFT) on the first transition signal to obtain the first signal.
With reference to the first aspect or any one of the foregoing possible implementations of the first aspect, in still another possible implementation of the first aspect, the obtaining a first signal includes: performing FFT or STFT on the beat frequency signal to obtain a second transition signal; and performing low frequency suppression on the second transition signal to obtain the first signal.
With reference to the first aspect or any one of the foregoing possible implementations of the first aspect, in still another possible implementation of the first aspect, the low frequency suppression is implemented by using a digital tap filter, or the low frequency suppression is implemented by performing scaling processing on a preset sequence parameter.
With reference to the first aspect or any one of the foregoing possible implementations of the first aspect, in still another possible implementation of the first aspect, the performing mean gradient calculation on the first signal in frequency domain to obtain a second signal includes: perform, in frequency domain, a target operation on a signal of each sampling point in a plurality of sampling points in the first signal, to obtain a sub-signal that is in the second signal and that corresponds to each sampling point, where the target operation includes: performing a difference operation between a signal value of each sampling point and a reference value to obtain a sub-signal of each sampling point, where the reference value is an average value obtained through calculation based on signal values of at least two other sampling points than the sampling point.
With reference to the first aspect or any one of the foregoing possible implementations of the first aspect, in still another possible implementation of the first aspect, in frequency domain, a spacing between the at least two other sampling points and the sampling point is greater than a first preset threshold and less than a second preset threshold.
With reference to the first aspect or any one of the foregoing possible implementations of the first aspect, in still another possible implementation of the first aspect, the sub-signal ΔS(k) of each sampling point is as follows:
ΔS(k)=S(k)−(Σn-1lw(S(k−lp−n)+S(k+lp+n)))/(2lw),
where S(k) is a signal value of each sampling point, S(k−lp−n) is a signal value of another sampling point that has a frequency less than that of each sampling point in frequency domain and that is separated from each sampling point by (lp+n) sampling points, S(k+lp+n) is a signal value of another sampling point that has a frequency greater than that of each sampling point in frequency domain and that is separated from each sampling point by (lp+n) sampling points, lp is the first preset threshold, and lw is the second preset threshold.
According to a second aspect, an embodiment of the present disclosure provides a signal processing apparatus. The apparatus includes: an obtaining unit configured to obtain a first signal, where the first signal is a frequency domain signal obtained after low frequency suppression is performed in a beat frequency signal, and the beat frequency signal is a signal obtained by mixing a transmitted signal transmitted by a frequency modulated continuous wave FMCW radar and a received echo signal; an optimization unit configured to perform mean gradient calculation on the first signal in frequency domain to obtain a second signal, where the mean gradient calculation is used to highlight a difference between a signal value of each sampling point in the first signal and a signal value of a surrounding sampling point; and a calculation unit configured to calculate at least one of a speed or a distance of a target object based on a peak signal in the second signal.
In the foregoing apparatus, low frequency suppression is performed on the frequency domain signal of the beat frequency signal, so as to reduce influence of low frequency interference on subsequent calculation of the speed or distance of the target object. To prevent a peak signal that may exist in the low frequency part from being clipped due to low frequency suppression, the peak signal that may exist in the low frequency part is further highlighted by performing mean gradient calculation. Therefore, accuracy of a radar detection result calculated by using the solution in this embodiment of the present disclosure is relatively high. In addition, implementation of this embodiment of the present disclosure is completed by performing special processing on a signal, and a hardware structure of a radar does not need to be improved. Therefore, implementation costs are relatively low.
With reference to the second aspect, in a possible implementation of the second aspect, in terms of obtaining the first signal, the obtaining unit is further configured to: perform low frequency suppression on the beat frequency signal to obtain a first transition signal; and perform FFT or STFT on the first transition signal to obtain the first signal.
With reference to the second aspect or any one of the foregoing possible implementations of the second aspect, in still another possible implementation of the second aspect, in terms of obtaining the first signal, the obtaining unit is further configured to: perform FFT or STFT on the beat frequency signal to obtain a second transition signal; and perform low frequency suppression on the second transition signal to obtain the first signal.
With reference to the second aspect or any one of the foregoing possible implementations of the second aspect, in still another possible implementation of the second aspect, the low frequency suppression is implemented by using a digital tap filter, or the low frequency suppression is implemented by performing scaling processing on a preset sequence parameter.
With reference to the second aspect or any one of the foregoing possible implementations of the second aspect, in still another possible implementation of the second aspect, when mean gradient calculation is performed on the first signal in frequency domain to obtain a second signal, the calculation unit is further configured to: perform, in frequency domain, a target operation on a signal of each sampling point in a plurality of sampling points in the first signal, to obtain a sub-signal that is in the second signal and that corresponds to each sampling point, where the target operation includes: performing a difference operation between a signal value of each sampling point and a reference value to obtain a sub-signal of each sampling point, where the reference value is an average value obtained through calculation based on signal values of at least two other sampling points than the sampling point.
With reference to the second aspect or any one of the foregoing possible implementations of the second aspect, in still another possible implementation of the second aspect, in frequency domain, a spacing between the at least two other sampling points and the sampling point is greater than a first preset threshold and less than a second preset threshold.
With reference to the second aspect or any one of the foregoing possible implementations of the second aspect, in still another possible implementation of the second aspect, the sub-signal ΔS(k) of each sampling point is as follows:
ΔS(k)=S(k)−(Σn-1lw(S(k−lp−n)+S(k+lp+n)))/(2lw),
where S(k) is a signal value of each sampling point, S(k−lp−n) is a signal value of another sampling point that has a frequency less than that of each sampling point in frequency domain and that is separated from each sampling point by (lp+n) sampling points, S(k+lp+n) is a signal value of another sampling point that has a frequency greater than that of each sampling point in frequency domain and that is separated from each sampling point by (lp+n) sampling points, lp is the first preset threshold, and lw is the second preset threshold.
According to a third aspect, an embodiment of the present disclosure provides a radar system. The radar system includes a memory and a processor. The memory is configured to store a computer program, and the processor is configured to invoke the computer program to implement the method described in any one of the first aspect or the possible implementations of the first aspect.
According to a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium. The computer-readable storage medium stores a computer program; and when the computer program is run on a processor, the method according to any one of the first aspect or the possible implementations of the first aspect is implemented.
The following describes the accompanying drawings used in embodiments of the present disclosure.
The following describes embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure.
A lidar in this embodiment of the present disclosure can be applied to various fields such as intelligent transportation, autonomous driving, atmospheric environment monitoring, geographic surveying and mapping, and unmanned aerial vehicle, and can complete functions such as distance measurement, speed measurement, target tracking, and imaging recognition.
In this embodiment of the present disclosure, the target object 505 is also referred to as a reflector. The target object 505 may be any object in a scanning direction of the scanner 504, for example, may be a person, a mountain, a vehicle, a tree, or a bridge.
In this embodiment of the present disclosure, an operation of processing a beat frequency signal obtained by sampling to obtain information such as a speed and a distance of the target object may be completed by one or more processors 512, for example, by one or more DSPs, or may be completed by one or more processors 512 in combination with another component, for example, a DSP in combination with one or more central processing units CPUs. When processing the beat frequency signal, the processor 512 may specifically invoke a computer program stored in a computer-readable storage medium. The computer-readable storage medium includes but is not limited to a random-access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM) or a compact disc read-only memory (CD-ROM). The computer-readable storage medium may be disposed on the processor 512, or may be independent of the processor 512.
In this embodiment of the present disclosure, there may be one or more components mentioned above. For example, there may be one or more lasers 501. When there is one laser 501, the laser 501 may alternately transmit a laser signal with a positive slope and a laser signal with a negative slope in time domain. When there are two lasers 501, one laser 501 transmits a laser signal with a positive slope, and the other laser 501 transmits a laser signal with a negative slope, and the two lasers 501 may synchronously transmit laser signals.
As shown in
Step S701: A signal processing apparatus obtains a first signal.
In an embodiment, the first signal is a frequency domain signal obtained after low frequency suppression is performed in a beat frequency signal, and the beat frequency signal is a signal obtained by mixing a signal transmitted by a frequency modulated continuous wave FMCW radar and a received echo signal.
The low frequency suppression is to suppress energy of a low frequency part in a signal (that is, weaken the energy of the low frequency part). There are many specific implementation manners to implement the low frequency suppression. For example, the low frequency suppression may be implemented by using a digital tap filter. For another example, the low frequency suppression may be implemented by performing scaling processing on a preset sequence parameter. A specific implementation is not limited in the present disclosure.
In a manner, as shown in
First, low frequency suppression is performed on the beat frequency signal to obtain a first transition signal. For example, a digital tap filter is used to suppress a low frequency component of a beat frequency signal. A working principle of the digital tap filter when the digital tap filter suppresses a low frequency is shown in
s′(n)=Σi=1Ns(n−i)*hi 1-1
In formula 1-1, s(n) is an input beat frequency signal, and a low frequency part of the beat frequency signal s(n) may be suppressed by selecting the filtering coefficient [h1, h2, . . . , hN] of the digital tap filter. Therefore, energy of the low frequency part of the obtained first transition signal s′(n) is relatively low.
Then, FFT or STFT is performed on the first transition signal to obtain the first signal.
Optionally, the first transition signal may be converted into a frequency domain signal by using FFT, and the frequency domain signal is the first signal. An expression of the FFT is shown in formula 1-2:
S(k)=F(s′(n)) 1-2
In formula 1-2, F( ) represents Fourier transform, and S(k) is a frequency signal obtained after FFT is performed on the first transition signal s′(n), that is, the first signal described above.
Optionally, the first transition signal may be converted into a time-frequency two-dimensional signal by using STFT (STFT), and the time-frequency two-dimensional signal is the first signal. An expression of the STFT (STFT) is shown in formula 1-3:
S(k)=STFT(s′(n)) 1-3
In formula 1-3, STFT( ) represents STFT, and S(k) is a time-frequency two-dimensional spectrum obtained after STFT is performed on the first transition signal s′(n), that is, the first signal described above.
An upper part of
In another manner, as shown in
First, FFT or STFT is performed on the beat frequency signal to obtain a second transition signal.
Optionally, the beat frequency signal may be converted into a frequency domain signal by using FFT, and the frequency domain signal is the second transition signal. An expression of the FFT is shown in formula 1-4:
S(k)′=F(s(n)) 1-4
In formula 1-4, F( ) represents Fourier transform, and S(k)′ is a frequency signal obtained after FFT is performed on the beat frequency signal s(n), that is, the second transition signal described above.
Optionally, the beat frequency signal may be converted into a time-frequency two-dimensional signal by using STFT, and the time-frequency two-dimensional signal is the second transition signal. An expression of the STFT is shown in formula 1-5:
S(k)′=STFT(s(n)) 1-5
In formula 1-5, STFT( ) represents STFT, and S(k)′ is a time-frequency two-dimensional spectrum obtained after STFT is performed on the beat frequency signal s(n), that is, the second transition signal described above.
Then, low frequency suppression is performed on the second transition signal to obtain the first signal.
For example, a frequency domain sequence of the second transition signal is multiplied by a preset sequence parameter, which may be specifically implemented by using a frequency domain equalizer. The preset sequence parameter has a relatively low coefficient in a low frequency part and a relatively high coefficient in a high frequency part. In this way, low frequency suppression is completed. For details, refer to formulas 1-6.
S(k)=E(n)*S(k)′ 1-6
In formula 1-6, S(k) is the first signal, S(k)′ is the second transition signal, and E(n) is the preset sequence number parameter.
Step S702: The signal processing apparatus performs mean gradient calculation on the first signal in frequency domain to obtain a second signal.
In an embodiment, after the low frequency suppression, although an interference signal may be suppressed, an amplitude of a low frequency signal may be suppressed severely, thereby causing gain imbalance of an entire frequency band. It can be learned from the upper part of the signal in
The gain imbalance of the entire frequency band results in a situation that a wave peak originally exists in the low frequency part. However, because low frequency suppression is performed, an amplitude of a wave peak in the low frequency part is lower than an amplitude of a non-wave peak in the high frequency part, that is, a real wave peak is masked. As a result, a subsequent calculation of the speed and/or distance based on the wave peak is inaccurate. To resolve a problem that a real wave peak may be masked, the present disclosure specifically provides a signal optimization manner for calculating a mean gradient. The mean gradient calculation is used to highlight a difference between a signal value of each sampling point in the first signal and a signal value of a surrounding sampling point. A specific principle is as follows: performing, in frequency domain, a target operation on a signal of each sampling point in a plurality of sampling points in the first signal, to obtain a sub-signal that is in the second signal and that corresponds to each sampling point, where the target operation includes: performing a difference operation between a signal value of each sampling point and a reference value to obtain a sub-signal of each sampling point, where the reference value is an average value obtained through calculation based on signal values of at least two other sampling points than the sampling point.
Optionally, in frequency domain, a spacing between the at least two other sampling points and the sampling point is greater than a first preset threshold and less than a second preset threshold. It should be noted that, it is mentioned that the distance is less than the second preset threshold, so that each sampling point is compared with a nearby sampling point for calculation, because if the sampling point is too far from each sampling point, comparison value is lost. However, the another sampling point cannot be too close to each sampling point either, because a sampling point that is too close to each sampling point may have a same problem as that of each sampling point, for example, is severely interfered. Therefore, when the another sampling point is too close to each sampling point, the sub-signal obtained through calculation may be unstable. Therefore, in the present disclosure, the first preset threshold and the second preset threshold are introduced, so that another sampling point used for calculating the sub-signal is near each sampling point, but is not too close.
For ease of understanding, the following provides a method for calculating a sub-signal ΔS(k) of each sampling point as follows:
ΔS(k)=S(k)−(Σn-1lw(S(k−lp−n)+S(k+lp+n)))/(2lw),
where S(k) is a signal value of each sampling point, S(k−lp−n) is a signal value of another sampling point that has a frequency less than that of each sampling point in frequency domain and that is separated from each sampling point by (lp+n) sampling points, S(k+lp+n) is a signal value of another sampling point that has a frequency greater than that of each sampling point in frequency domain and that is separated from each sampling point by (lp+n) sampling points, lp is the first preset threshold, and lw is the second preset threshold.
As shown in
Step S703: The signal processing apparatus calculates at least one of a speed or a distance of a target object based on a peak signal in the second signal.
Optionally, as shown in
The distance from the target object to the radar obtained through calculation is
where c is the speed of light.
The moving speed of the target object obtained through calculation is
where λ is the wavelength of the emitted laser.
In the method described in
The foregoing describes in detail the method in embodiments of the present disclosure. The following provides an apparatus in embodiments of the present disclosure.
In this solution, low frequency suppression is performed on the frequency domain signal of the beat frequency signal, so as to reduce influence of low frequency interference on subsequent calculation of the speed or distance of the target object. To prevent a peak signal that may exist in the low frequency part from being clipped due to low frequency suppression, the peak signal that may exist in the low frequency part is further highlighted by performing mean gradient calculation. Therefore, accuracy of a radar detection result calculated by using the solution in this embodiment of the present disclosure is relatively high. In addition, implementation of this embodiment of the present disclosure is completed by performing special processing on a signal, and a hardware structure of a radar does not need to be improved. Therefore, implementation costs are relatively low.
In an optional solution, in terms of obtaining the first signal, the obtaining unit 1201 is further configured to: perform low frequency suppression on the beat frequency signal to obtain a first transition signal; and perform FFT or STFT on the first transition signal to obtain the first signal.
In an optional solution, in terms of obtaining the first signal, the obtaining unit 1201 is further configured to: perform FFT or STFT on the beat frequency signal to obtain a second transition signal; and perform low frequency suppression on the second transition signal to obtain the first signal.
In still another optional solution, the low frequency suppression is implemented by using a digital tap filter, or the low frequency suppression is implemented by performing scaling processing on a preset sequence parameter.
In still another optional solution, when mean gradient calculation is performed on the first signal in frequency domain to obtain a second signal, the calculation unit 1203 is further configured to: perform, in frequency domain, a target operation on a signal of each sampling point in a plurality of sampling points in the first signal, to obtain a sub-signal that is in the second signal and that corresponds to each sampling point, where the target operation includes: performing a difference operation between a signal value of each sampling point and a reference value to obtain a sub-signal of each sampling point, where the reference value is an average value obtained through calculation based on signal values of at least two other sampling points than the sampling point.
In still another optional solution, in frequency domain, a spacing between the at least two other sampling points and the sampling point is greater than a first preset threshold and less than a second preset threshold.
In still another optional solution, a sub-signal ΔS(k) of each sampling point is as follows:
ΔS(k)=S(k)−(Σn-1lw(S(k−lp−n)+S(k+lp+n)))/(2lw),
where S(k) is a signal value of each sampling point, S(k−lp−n) is a signal value of another sampling point that has a frequency less than that of each sampling point in frequency domain and that is separated from each sampling point by (lp+n) sampling points, S(k+lp+n) is a signal value of another sampling point that has a frequency greater than that of each sampling point in frequency domain and that is separated from each sampling point by (lp+n) sampling points, lp is the first preset threshold, and lw is the second preset threshold.
It should be noted that, for implementations of the units, reference may be correspondingly made to corresponding descriptions of the method embodiment shown in
An embodiment of the present disclosure further provides a chip system. The chip system includes at least one processor, a memory, and an interface circuit. The memory, the interface circuit, and the at least one processor are interconnected through lines, and the at least one memory stores instructions. When the instructions are executed by the processor, the method procedure shown in
An embodiment of the present disclosure further provides a computer-readable storage medium. The computer-readable storage medium stores instructions, and when the instructions are run on a processor, the method procedure shown in
An embodiment of the present disclosure further provides a computer program product. When the computer program product is run on a processor, the method procedure shown in
In conclusion, low frequency suppression is performed on the frequency domain signal of the beat frequency signal, so as to reduce influence of low frequency interference on subsequent calculation of the speed or distance of the target object. To prevent a peak signal that may exist in the low frequency part from being clipped due to low frequency suppression, the peak signal that may exist in the low frequency part is further highlighted by performing mean gradient calculation. Therefore, accuracy of a radar detection result calculated by using the solution in this embodiment of the present disclosure is relatively high. In addition, implementation of this embodiment of the present disclosure is completed by performing special processing on a signal, and a hardware structure of a radar does not need to be improved. Therefore, implementation costs are relatively low.
A person of ordinary skill in the art may understand that all or some of the processes of the methods in the embodiments may be implemented by a computer program instructing relevant hardware. The program may be stored in a computer-readable storage medium. When the program is executed, the processes of the methods in the embodiments are performed. The foregoing storage medium includes various media that can store program code, such as a ROM or a RAM, a magnetic disk, or an optical disc.
This application is a continuation of International Patent Application No. PCT/CN2020/118164 filed on Sep. 27, 2020, the disclosure of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2020/118164 | Sep 2020 | US |
Child | 18189703 | US |