Method and apparatus for detecting object using radar of vehicle
Disclosed is a method and apparatus for detecting an object using a radar in a vehicle, wherein object detection is performed by generating a transmission signal using a code sequence, receiving an echo signal reflected from an object, and detecting the object based on the echo signal and the code sequence.
1. A method of detecting an object using a radar, comprising:
propagating a transmission signal generated based on a code sequence;
receiving an echo signal;
detecting an object based on a correlation between the code sequence and the echo signal;
determining whether the object is detected by an interference signal based on an intensity of the echo signal and a distance from the object, wherein the determining of whether the object is detected by the interference signal comprises:
determining the intensity of the echo signal; and
determining that the object is detected by the interference signal, in response to the intensity of the echo signal being greater than a threshold set based on the distance from the object; and
changing the code sequence in response to the object being detected by the interference signal.
2. The method of claim 1 , wherein the transmission signal corresponds to a phase modulated continuous waveform (PMCW).
3. The method of claim 1 , wherein the transmission signal corresponds to a frequency modulated continuous waveform (FMCW).
4. The method of claim 2 , wherein the code sequence is determined based on any one or any combination of an autocorrelation and a cross-correlation.
5. The method of claim 1 , wherein the detecting of the object comprises:
generating a digital echo signal by converting the echo signal into a digital signal.
6. The method of claim 5 , wherein the detecting of the object comprises:
generating cumulative signals by accumulating digital echo signals for each chip period of the code sequence; and
detecting the object based on a respective correlation between the code sequence and each of the cumulative signals.
7. The method of claim 6 , wherein the detecting of the object based on the correlation comprises:
calculating the respective correlation between the code sequence and each of the cumulative signals; and
detecting the object by detecting an effective signal from the cumulative signals based on the calculated respective correlation.
8. The method of claim 7 , wherein the detecting of the effective signal comprises detecting the effective signal corresponding to a correlation greater than or equal to a threshold.
9. The method of claim 7 , wherein the detecting of the object further comprises:
calculating the distance from the object based on a delay time of the effective signal.
10. The method of claim 7 , wherein the calculating of the object further comprises:
calculating a speed of the object based on the distance from the object.
11. The method of claim 1 , wherein the changing of the code sequence comprises:
generating a random number; and
determining a target code sequence from candidate code sequences based on the random number.
12. The method of claim 1 , wherein the receiving of the echo signal comprises receiving the echo signal after a period of time has elapsed from a time of the propagating of the transmission signal.
13. A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to perform the method of claim 1 .
14. An apparatus for detecting an object using a radar, the apparatus comprising:
a processor configured to:
propagate a transmission signal generated based on a code sequence;
receive an echo signal;
detect an object based on a correlation between the code sequence and the echo signal;
determine whether the object is detected by an interference signal based on an intensity of the echo signal and a distance from the object, wherein the processor is further configured to:
determine the intensity of the echo signal; and
determine that the object is detected by the interference signal, in response to the intensity of the echo signal being greater than a threshold set based on the distance from the object; and
change the code sequence in response to the object being detected by the interference signal.
15. The apparatus of claim 14 , wherein the transmission signal corresponds to a phase modulated continuous waveform (PMCW).
16. The apparatus of claim 15 , wherein the code sequence is determined based on any one or any combination of an autocorrelation and a cross-correlation.
17. The apparatus of claim 14 , wherein the processor is further configured to:
generate a digital echo signal by converting the echo signal into a digital signal.
18. The apparatus of claim 17 , wherein the processor is further configured to:
generate cumulative signals by accumulating digital echo signals for each chip period of the code sequence; and
detect the object based on a respective correlation between the code sequence and each of the cumulative signals.
19. The apparatus of claim 18 , wherein the processor is further configured to:
calculate the respective correlation between the code sequence and each of the cumulative signals; and
detect the object by detecting an effective signal from the cumulative signals based on the calculated respective correlation.
20. The apparatus of claim 19 , wherein the processor is further configured to:
calculate the distance from the object based on a delay time of the effective signal.
21. The apparatus of claim 14 , wherein the processor is further configured to:
generate a random number; and
determine a target code sequence from candidate code sequences based on the random number.
22. The apparatus of claim 14 , further comprising a memory configured to store a program executed by the processor.
23. A method of detecting an object using a radar, comprising:
propagating a transmission signal generated based on a code sequence;
determining an intensity of an echo signal, received at a receiver of the radar;
detecting an object based on a correlation between the code sequence and the echo signal;
determining that the object is detected by an interference signal, in response to an intensity of the echo signal being determined to be greater than a threshold based on a distance of the object from the receiver; and
changing the code sequence in response to the object being detected by the interference signal.