Moving object detection method, device and storage medium based on millimeter wave radar
By performing mixing and FFT operations on the millimeter-wave radar echo signal, the energy value of the target spectrum component range is determined, and the problems of poor detection accuracy and high computational complexity of moving objects in the prior art are solved, thus achieving more efficient motion Object detection reduces equipment costs.
Patent Information
- Application Number
- CN202211001504.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-19
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2042-08-19
AI Technical Summary
Existing millimeter-wave radars have poor accuracy in detection of moving objects, and the large amount of high-frequency signals leads to high computing demands, expensive costs, and cannot be used on a large scale.
By receiving the echo signal of the millimeter wave radar and mixing it with the preset carrier signal, filtering and fast Fourier transform (FFT) operations are performed to find the energy maximum value of the spectrum component, determine the target spectrum component range, and make the Summarize the energy values of the spectrum components to determine whether moving objects are detected, reducing the noise influence and operation complexity.
It improves the accuracy of detection of moving objects, reduces the computing complexity and equipment computing capabilities requirements, and reduces the cost of detection equipment.
Smart Images

Figure CN115372953B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of detection technology, and in particular to a moving object detection method, device and storage medium based on millimeter wave radar. Background Art
[0002] Millimeter wave radar refers to radar that works in the millimeter wave band, with a typical wavelength of 1 to 10 mm. In a broader sense, millimeter wave radars include 5.8 GHz, 10.5 GHz, 24 GHz and other frequencies. Millimeter wave radars have the advantages of both microwave radars and photoelectric radars. With the development of semiconductor technology, consumer electronics-level millimeter wave radars have begun to be widely used in recent years. Combined with application scenarios such as smart homes, smart lighting, smart door locks, health and safety, and elderly care, non-visual and non-contact vital signs detection is performed on signals such as body movement, heart rate, breathing, and distance.
[0003] Millimeter-wave radar detection in related technologies generally has the problem of poor accuracy in detecting moving objects and high computing requirements due to the large amount of high-frequency signal data, which in turn leads to high costs and cannot be applied on a large scale. Summary of the invention
[0004] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, one purpose of the present invention is to propose a moving object detection method based on millimeter wave radar, which improves the detection accuracy of moving objects in the target area, reduces the computational complexity and the computing power requirements of the device, and is conducive to reducing the cost of millimeter wave radar detection equipment.
[0005] The second objective of the present invention is to provide a moving object detection device based on millimeter wave radar.
[0006] A third object of the present invention is to provide a computer-readable storage medium.
[0007] A fourth objective of the present invention is to provide an electronic device.
[0008] To achieve the above-mentioned purpose, the first aspect of the present invention proposes a method for detecting a moving object based on a millimeter-wave radar, the method comprising: receiving an echo signal of a millimeter-wave radar, and mixing the echo signal with a preset carrier signal to obtain a mixed signal; filtering the mixed signal, and performing a fast Fourier transform (FFT) operation on the baseband signal obtained after filtering; searching for the maximum energy value of each spectral component in the FFT operation result, determining the target spectral component range, and summing the energy values of the spectral components within the target spectral component range; and judging whether the millimeter-wave radar has detected a moving object based on the summation result.
[0009] According to the moving object detection method based on millimeter wave radar according to the embodiment of the present invention, when calculating the energy values of the L spectral components output after the FFT operation and judging whether there is a moving object in the target area, the L spectral components output after the FFT operation are limited to determine the target spectral component range, and based on the sum of the energy values of each spectral component within the target spectral component range, it is judged whether there is a moving object in the target area, thereby ensuring that the sum statistics are basically the energy of the reflected signal of the moving object, greatly reducing the influence of noise and improving the accuracy of detection; at the same time, since it is not necessary to count the energy of all frequency points when counting the energy of the spectral components, only the energy of some frequency points is counted, thus saving computing resources.
[0010] In addition, the moving object detection method based on millimeter wave radar proposed in the above embodiment of the present invention may also have the following additional technical features:
[0011] According to one embodiment of the present invention, the maximum energy value of each spectral component in the FFT operation result is found to determine the target spectral component range, including: calculating the energy value of each spectral component in the FFT operation result; querying the maximum value among the energy values, and taking the spectral component corresponding to the maximum value as the target spectral component; determining the target spectral component range based on the target spectral component.
[0012] According to one embodiment of the present invention, the number L of spectral components in the FFT operation result satisfies the following formula:
[0013]
[0014] Among them, f s Indicates the sampling frequency of the echo signal, f d Indicates the maximum Doppler frequency shift caused by a moving object, and N indicates the number of points in the FFT operation.
[0015] According to an embodiment of the present invention, the target spectral component range includes a first preset value of spectral components to the left of the target spectral component, the target spectral component, and a second preset value of spectral components to the right of the target spectral component.
[0016] According to one embodiment of the present invention, calculating the energy value of the spectral component in the FFT operation result includes: obtaining the in-phase component and the orthogonal component of the spectral component according to the FFT operation result; calculating the sum of the squares of the in-phase component and the orthogonal component to obtain the energy value of the spectral component.
[0017] According to one embodiment of the present invention, calculating the energy value of the spectral component in the FFT operation result includes: obtaining the in-phase component and the orthogonal component of the spectral component according to the FFT operation result; taking the absolute value of the in-phase component and the orthogonal component; calculating the sum of the absolute value of the in-phase component and the absolute value of the orthogonal component to obtain the energy value of the spectral component.
[0018] According to one embodiment of the present invention, judging whether the millimeter-wave radar detects a moving object is based on the summation result, including: when the summation result is greater than or equal to a preset threshold value, determining that the millimeter-wave radar detects a moving object; when the summation result is less than the preset threshold value, determining that the millimeter-wave radar does not detect a moving object.
[0019] To achieve the above-mentioned purpose, the second aspect of the present invention proposes a moving object detection device based on millimeter-wave radar, and the device includes: a receiving module, which is used to receive the echo signal of the millimeter-wave radar, and mix the echo signal with a preset carrier signal to obtain a mixed signal; a filtering module, which is used to filter the mixed signal; an operation module, which is used to perform a fast Fourier transform (FFT) operation on the baseband signal obtained after filtering, find the maximum energy value of each spectral component in the FFT operation result, determine the target spectral component range, and sum the energy values of the spectral components within the target spectral component range; a judgment module, which is used to judge whether the millimeter-wave radar detects a moving object according to the summation result.
[0020] To achieve the above-mentioned purpose, the third aspect of the present invention proposes a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the moving object detection method based on millimeter-wave radar as proposed in the first aspect of the present invention is implemented.
[0021] To achieve the above-mentioned purpose, the fourth aspect of the present invention proposes an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the moving object detection method based on millimeter wave radar as proposed in the first aspect of the present invention is implemented.
[0022] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 is a flow chart of a moving object detection method based on millimeter wave radar according to an embodiment of the present invention;
[0024] Figure 2 is a flow chart of determining a target spectral component range according to an embodiment of the present invention;
[0025] Figure 3 is a flow chart of energy values of spectral components according to one embodiment of the present invention;
[0026] Figure 4 is a flow chart of energy values of spectral components according to another embodiment of the present invention;
[0027] Figure 5 is a schematic diagram of a moving object detection device based on millimeter wave radar according to an embodiment of the present invention;
[0028] Figure 6 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0030] The following will be combined with the instructions attached Figure 1-6 The specific implementation methods and the device and the storage medium for detecting moving objects based on the millimeter wave radar according to the embodiments of the present invention are described in detail.
[0031] Figure 1 FIG. 1 is a flow chart of a method for detecting moving objects based on millimeter wave radar according to an embodiment of the present invention. Figure 1 As shown, the moving object detection method based on millimeter wave radar may include:
[0032] S1, receiving the echo signal of the millimeter wave radar, and mixing the echo signal with a preset carrier signal to obtain a mixed signal.
[0033] It should be noted that millimeter waves are electromagnetic waves with a wavelength of 1 to 10 mm (millimeter), which is in the wavelength range where infrared light waves and microwave bands overlap. Millimeter wave radar uses the characteristics of millimeter waves with short wavelengths and high spatial resolution to measure distance and speed. Millimeter wave radar uses electromagnetic waves in the frequency range of 30 to 300 GHz. In a broader sense, millimeter wave radar also uses electromagnetic waves with frequencies of 5.8 GHz, 10.5 GHz, 24 GHz, etc.
[0034] Specifically, when the millimeter wave radar device detects whether there is a moving object in the target area, it transmits a millimeter wave signal to the target area, and the transmitted millimeter wave signal is reflected by the moving object to generate an echo signal. When detecting whether there is a moving object in the target area, the information of the moving object in the target area can be obtained according to the received echo signal.
[0035] In the embodiment of the present invention, it is assumed that the millimeter wave signal (transmitting signal) emitted by the millimeter wave radar is as shown in the following formula (1):
[0036] s0(t)=A0cos(ωt+φ0) (1)
[0037] When the millimeter wave signal emitted by the millimeter wave radar encounters a moving object, the echo signal reflected back to the receiver is:
[0038] r(t)=A1cos(ωt+φ1(t))+n(t) (2)
[0039] Where n(t) is Gaussian white noise and φ1(t) is the phase angle of the echo signal. φ1(t) consists of three parts as shown in the following equation (3).
[0040] φ1=φ0+2πfΔt+2πf d t′ (3)
[0041] Among them, φ0 is the phase of the transmitted signal, 2πfΔt is the fixed phase caused by the time difference between the millimeter wave radar device sending and receiving signals (transmitted signal and echo signal), and 2πf d t′ is the phase caused by the Doppler frequency shift of the moving object. If there is no moving object in the target area, then the third term 2πf in equation (3) d t′ is 0.
[0042] After receiving the echo signal, the millimeter wave radar device mixes the echo signal with the preset carrier signal, that is, multiplying the echo signal r(t) shown in formula (2) with the local co-frequency carrier signal s1(t) shown in formula (4) below to obtain the mixed signal d(t). The formulas of the local co-frequency carrier signal s1(t) and the mixed signal d(t) are:
[0043] s1(t)=A0cos(ωt+φ2) (4)
[0044] d(t)=r(t)*s1(t)=(A1cos(ωt+φ1(t))+n(t))*A0cos(ωt+φ2) (5)
[0045] Expanding (5) yields (6):
[0046]
[0047] It can be seen from the expansion of the mixing signal d(t) that the first term and the second term of the mixing signal d(t) both contain φ1(t), and the second term and the third term of the mixing signal d(t) are high-frequency components.
[0048] S2, filtering the mixed signal, and performing a fast Fourier transform (FFT) operation on the baseband signal obtained after filtering.
[0049] Specifically, the low-pass filter of the receiving channel of the millimeter-wave radar device can be used to filter out the second and third items of the mixed signal d(t). After the mixed signal d(t) passes through the low-pass filter of the receiving channel, its second and third items are effectively filtered out to obtain a baseband signal, that is, the first item of the mixed signal d(t). φ1 in the first item of the mixed signal d(t) can be used to detect moving objects.
[0050] More specifically, after the mixing signal d(t) is low-pass filtered, the baseband signal d′(t) is obtained as shown in formula (7):
[0051]
[0052] in,
[0053] φ1(t)-φ2=φ0-φ2+2πfΔt+2πf d t′
[0054] By performing FFT operation on equation (7), it can be detected whether it contains non-DC frequency components. If so, it means that there is a moving object in the target area (near the millimeter wave radar), otherwise there is no moving object.
[0055] S3, searching for the maximum energy value of each spectral component in the FFT operation result, determining the target spectral component range, and summing the energy values of the spectral components within the target spectral component range.
[0056] For an N-point FFT operation, there are L spectral components in the FFT operation result, where L < N. Since the amount of calculation required to obtain the energy values of the L spectral components is too large, and the accuracy of determining whether there is a moving object in the target area based on the energy values of the L spectral components is low. s and the maximum Doppler frequency shift f that may be caused by a moving object d The L spectral components in the FFT operation result are further limited, that is, the spectral components corresponding to a certain range of the moving object are determined, and only the energy values of the spectral components corresponding to the certain range of the moving object are calculated to save computing resources.
[0057] In the embodiment of the present invention, the number L of spectral components in the FFT operation result may satisfy the following formula:
[0058]
[0059] Among them, f s Indicates the sampling frequency of the echo signal, f drepresents the maximum Doppler frequency shift caused by a moving object, and N represents the number of points in the FFT operation. The number of spectrum components L set by the above formula can ensure the accuracy of calculation while saving computing resources.
[0060] Specifically, we can obtain The energy values of multiple spectral components within the range.
[0061] In order to further improve the accuracy of detecting moving objects in the target area, we can The target spectral component range is further determined by the energy values of multiple spectral components within the target spectral component range, and only the energy values of the spectral components within the target spectral component range are summed, and it is judged whether the millimeter wave radar detects a moving object according to the summation result.
[0062] S4, judging whether the millimeter-wave radar detects a moving object according to the summation result.
[0063] In an embodiment of the present invention, judging whether the millimeter wave radar detects a moving object according to the summation result may include: when the summation result is greater than or equal to a preset threshold value, determining that the millimeter wave radar detects a moving object; and when the summation result is less than the preset threshold value, determining that the millimeter wave radar does not detect a moving object.
[0064] Specifically, the sum of the energy values of multiple spectrum components within the target spectrum component range is compared with the preset threshold value. When the sum is greater than or equal to the preset threshold value, it indicates that there is a moving object in the target area, and it can be determined that the millimeter-wave radar has detected the moving object. When the sum is less than the preset threshold value, it indicates that there is no moving object in the target area, and it can be determined that the millimeter-wave radar has not detected the moving object.
[0065] In an embodiment of the present invention, Figure 2 As shown, finding the maximum energy value of each spectrum component in the FFT operation result and determining the target spectrum component range may include:
[0066] S301, calculating the energy value of each spectral component in the FFT operation result;
[0067] S302, searching for a maximum value among the energy values, and taking a spectrum component corresponding to the maximum value as a target spectrum component;
[0068] S303: Determine a target spectrum component range according to the target spectrum component.
[0069] In the embodiment of the present invention, the target spectrum component range may include a first preset value LeftNum spectrum components to the left of the target spectrum component, the target spectrum component, and a second preset value RightNum spectrum components to the right of the target spectrum component.
[0070] Specifically, when determining the target spectrum component range, in order to improve the detection accuracy of moving objects and reduce noise interference, the calculated The maximum value of the energy values of multiple spectral components within the range, the spectral component corresponding to the maximum value is taken as the target spectral component F, and the spectral components within a certain range of the target spectral component F are determined as the target spectral component range.
[0071] More specifically, the first preset value LeftNum spectral components to the left of the target spectral component F, the target spectral component F, and the second preset value RightNum spectral components to the right of the target spectral component F may be used as the target spectral component range.
[0072] It should be noted that the first preset value and the second preset value are adjustable parameters and can be adjusted accordingly according to actual conditions.
[0073] In the embodiment of the present invention, in the process of calculating the energy values of the L spectral components output after the FFT operation and determining whether there is a moving object in the target area, the sampling frequency f of the echo signal is firstly s and the maximum Doppler frequency shift f that may be caused by a moving object d , the number of L frequency components output after FFT operation is limited, and then the energy values of the multiple spectral components after the limitation are calculated, and the spectral components within a certain range of the spectral components corresponding to the maximum value are taken as the target spectral component range, and the sum of the energy values of the spectral components within the target spectral component range is obtained, and the movement of the object is judged based on the summation result. While saving computing resources, it can also ensure that the summation statistics are basically the energy values of the reflected signals of the moving objects, which greatly reduces noise interference and improves the detection accuracy of moving objects.
[0074] As a feasible implementation method, Figure 3 As shown, calculating the energy value of the spectrum component in the FFT operation result may include:
[0075] S311, obtaining the in-phase component and the orthogonal component of the spectrum component according to the FFT operation result;
[0076] S312, calculating the square sum of the in-phase component and the orthogonal component to obtain the energy value of the spectrum component.
[0077] Specifically, when calculating the energy value of each spectral component in the FFT operation result, the in-phase component and the orthogonal component of the corresponding spectral component can be obtained, and the sum of the squares of the in-phase component and the orthogonal component can be calculated, where the sum of the squares of the in-phase component and the orthogonal component is the energy value of the corresponding spectral component.
[0078] As another feasible implementation, Figure 4 As shown, calculating the energy value of the spectrum component in the FFT operation result may also include:
[0079] S321, obtaining the in-phase component and the orthogonal component of the spectrum component according to the FFT operation result;
[0080] S322, taking the absolute values of the in-phase component and the orthogonal component;
[0081] S323, calculating the sum of the absolute value of the in-phase component and the absolute value of the orthogonal component to obtain the energy value of the spectrum component.
[0082] Specifically, when calculating the energy value of each spectral component in the FFT operation result, after obtaining the in-phase component and the orthogonal component of the corresponding spectral component, the absolute value of the in-phase component and the orthogonal component can be taken to calculate the sum of the absolute value of the in-phase component and the absolute value of the orthogonal component, wherein the sum of the absolute value of the in-phase component and the absolute value of the orthogonal component is the energy value of the corresponding spectral component. Calculating the sum of the absolute value of the in-phase component and the absolute value of the orthogonal component saves more computing resources than calculating the sum of the squares of the in-phase component and the orthogonal component.
[0083] The moving object detection method based on millimeter wave radar of the embodiment of the present invention, when calculating the energy values of the L spectral components output after the FFT operation and judging whether there is a moving object in the target area, the L spectral components output after the FFT operation are limited to determine the target spectral component range, and according to the sum of the energy values of each spectral component within the target spectral component range, it is judged whether there is a moving object in the target area, ensuring that the sum statistics are basically the energy of the reflected signal of the moving object, greatly reducing the influence of noise and improving the accuracy of detection; at the same time, because when counting the energy of the spectral components, it is not necessary to count the energy of all frequency points, only the energy of some frequency points is counted, saving computing resources. This method improves the accuracy of moving object detection in the target area, reduces the computational complexity and the computing power requirements of the equipment, and is conducive to reducing the cost of millimeter wave radar detection equipment.
[0084] The embodiment of the present invention also proposes a moving object detection device based on millimeter wave radar.
[0085] Figure 5 It is a structural block diagram of a moving object detection device based on millimeter wave radar according to an embodiment of the present invention.
[0086] like Figure 5 As shown, the millimeter wave radar-based moving object detection device 10 may include: a receiving module 11, a filtering module 12, a calculation module 13 and a judgment module 14.
[0087] Among them, the receiving module 11 is used to receive the echo signal of the millimeter-wave radar, and mix the echo signal with a preset carrier signal to obtain a mixed signal; the filtering module 12 is used to filter the mixed signal; the operation module 13 is used to perform a fast Fourier transform FFT operation on the baseband signal obtained after filtering, find the maximum energy value of each spectral component in the FFT operation result, determine the target spectral component range, and sum the energy values of the spectral components within the target spectral component range; the judgment module 14 is used to judge whether the millimeter-wave radar detects a moving object based on the summation result.
[0088] It should be noted that, for other specific implementations of the moving object detection device based on millimeter wave radar in the embodiment of the present invention, reference may be made to the specific implementation of the moving object detection method based on millimeter wave radar in the above embodiment of the present invention.
[0089] The moving object detection device 10 based on millimeter wave radar in the embodiment of the present invention ensures that the sum statistics are basically the energy of the moving object reflected signal, greatly reducing the influence of noise and improving the accuracy of detection; at the same time, since it is not necessary to count the energy of all frequency points when counting the energy of spectral components, only the energy of some frequency points is counted, saving computing resources. The device improves the accuracy of moving object detection in the target area, reduces the computational complexity and the computing power requirements of the device, and is conducive to reducing the cost of millimeter wave radar detection equipment.
[0090] The embodiment of the present invention also provides a computer-readable storage medium.
[0091] In this embodiment, a computer program is stored on a computer-readable storage medium, and the computer program corresponds to the above-mentioned moving object detection method based on millimeter-wave radar. When the computer program is executed by a processor, the above-mentioned moving object detection method based on millimeter-wave radar is implemented.
[0092] An embodiment of the present invention further provides an electronic device.
[0093] In this embodiment, if Figure 6 As shown, the electronic device 100 may include a memory 101 and a processor 102. The memory 101 stores a computer program. When the computer program is executed by the processor 102, the moving object detection method based on millimeter wave radar as described above is implemented.
[0094] The computer-readable storage medium and electronic device 100 of the embodiments of the present invention, using the above-mentioned moving object detection method based on millimeter wave radar, can improve the accuracy of moving object detection in the target area, reduce the computational complexity and the computing power requirements of the device, and help reduce the cost of millimeter wave radar detection equipment.
[0095] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0096] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0097] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0098] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0099] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0100] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0101] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0102] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A moving object detection method based on millimeter wave radar, characterized in that: The method comprises: Receive the echo signal of the millimeter wave radar, and mix the echo signal with a preset carrier signal to obtain a mixed signal; the preset carrier signal is a local same-frequency carrier signal; Filtering the mixed signal, and performing a fast Fourier transform (FFT) operation on the baseband signal obtained after filtering; Find the maximum energy value of each spectral component in the FFT operation result, determine the target spectral component range, and sum the energy values of the spectral components within the target spectral component range; Determine whether the millimeter-wave radar detects a moving object according to the summation result; Finding the maximum energy value of each spectral component in the FFT operation result and determining the target spectral component range includes: Calculating the energy value of each spectral component in the FFT operation result; Querying a maximum value among the energy values, and taking a spectrum component corresponding to the maximum value as a target spectrum component; The target spectrum component range is determined according to the target spectrum component.
2. The moving object detection method based on millimeter wave radar according to claim 1, characterized in that: The number L of spectral components in the FFT operation result satisfies the following formula: Among them, f s Indicates the sampling frequency of the echo signal, f d Indicates the maximum Doppler frequency shift caused by a moving object, and N indicates the number of points in the FFT operation.
3. The moving object detection method based on millimeter wave radar according to claim 1, characterized in that: The target spectral component range includes a first preset value of spectral components to the left of the target spectral component, the target spectral component, and a second preset value of spectral components to the right of the target spectral component.
4. The moving object detection method based on millimeter wave radar according to claim 1, characterized in that: Calculating energy values of spectral components in the FFT operation result includes: Acquire the in-phase component and the orthogonal component of the spectral component according to the FFT operation result; The square sum of the in-phase component and the orthogonal component is calculated to obtain the energy value of the spectrum component.
5. The moving object detection method based on millimeter wave radar according to claim 1, characterized in that: Calculating energy values of spectral components in the FFT operation result includes: Acquire the in-phase component and the orthogonal component of the spectral component according to the FFT operation result; Taking absolute values of the in-phase component and the orthogonal component; The sum of the absolute value of the in-phase component and the absolute value of the orthogonal component is calculated to obtain the energy value of the spectrum component.
6. The moving object detection method based on millimeter wave radar according to claim 1, characterized in that: Judging whether the millimeter wave radar detects a moving object according to the summation result includes: When the summation result is greater than or equal to a preset threshold value, it is determined that the millimeter wave radar detects a moving object; When the summation result is less than the preset threshold value, it is determined that the millimeter wave radar does not detect a moving object.
7. A moving object detection device based on millimeter wave radar, characterized in that: The device comprises: A receiving module, used for receiving an echo signal of a millimeter-wave radar, and mixing the echo signal with a preset carrier signal to obtain a mixed signal; the preset carrier signal is a local same-frequency carrier signal; A filtering module, used for filtering the mixed signal; An operation module is used to perform a fast Fourier transform (FFT) operation on the baseband signal obtained after filtering, find the maximum energy value of each spectral component in the FFT operation result, determine the target spectral component range, and sum the energy values of the spectral components within the target spectral component range; A judgment module, used for judging whether the millimeter wave radar detects a moving object according to the summation result; The operation module is further used to calculate the energy value of each spectral component in the FFT operation result; Querying a maximum value among the energy values, and taking a spectrum component corresponding to the maximum value as a target spectrum component; The target spectrum component range is determined according to the target spectrum component.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the moving object detection method based on millimeter-wave radar as described in any one of claims 1 to 6 is implemented.
9. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the moving object detection method based on millimeter-wave radar as described in any one of claims 1 to 6 is implemented.
