Signal detection method and related apparatus

By processing the phase difference of the WiFi signal in the WiFi radar system, the problem of low accuracy caused by the initial phase of the signal initial phase of the signal in the WiFi radar system, and realized the accurate solution and accurate detection of target information.

WO2025020806A1PCT designated stage expired Publication Date: 2025-01-30HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/101085
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-21
Filing Date
2024-06-24
Publication Date
2025-01-30

AI Technical Summary

Technical Problem

In WiFi radar system, when the local oscillator of the transmitter and receiver outputs the target frequency signal, the initial phase of the transmitter and/or the receiving end will change randomly, resulting in a deviation in the calculation of the target object information, thereby reducing the detection target. object accuracy.

Method used

By connected to the devices working in the WiFi frequency band, use the first income unit and the second -income unit to connect to the clock unit, receive and process the WiFi signal from the respective units to generate the phase difference of the initial phase of the transmitting signal, so as to solve the accuracy of accuracy Target information.

Benefits of technology

This method can accurately calculate the initial phase difference between the launch and the receiving end, improve the accuracy of target information, and improve the accuracy of signal detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024101085_30012025_PF_FP_ABST
    Figure CN2024101085_30012025_PF_FP_ABST
Patent Text Reader

Abstract

A signal detection method and a related apparatus, capable of being applied to the field of signal detection. In the embodiments of the present application. A device comprises a first transceiver unit, a second transceiver unit, and a clock unit. A first WiFi signal is received by means of the first transceiver unit, the first WiFi signal being from the second transceiver unit. Then, a second WiFi signal is received by means of the second transceiver unit, the second WiFi signal being from the first transceiver unit. On the basis of the phases of the first WiFi signal and the second WiFi signal, a phase difference of the initial phases of signals transmitted by the first transceiver unit and the second transceiver unit is generated, phase changes of echo signals caused by a target object are thus obtained, and accurate target object information is calculated, improving the precision of detecting the target object.
Need to check novelty before this filing date? Find Prior Art

Description

A signal detection method and related device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on July 21, 2023, with application number 202310900970.6, and priority to the Chinese patent application entitled “A Signal Detection Method and Related Devices”, all contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a signal detection method and related devices. Background Art

[0003] Wireless Fidelity (WiFi) sensing technology primarily analyzes WiFi signals to infer the environment and / or human presence during their propagation, acquiring information such as direct range, human motion, breathing, and heartbeat. A radar-like device (called a "WiFi radar") built around WiFi devices can effectively acquire information such as the target's distance, speed, and Doppler frequency deviation.

[0004] A WiFi radar typically consists of two WiFi devices, such as WiFi device A and WiFi device B. Each WiFi device is capable of sending and receiving WiFi signals. When device A transmits a signal toward a target, device B receives the signal reflected by the target. This constitutes the basic operating principle of a WiFi radar.

[0005] Because radar systems calculate target information based on the difference between the transmitted signal and the target's reflected signal, synchronization between the transmitter and receiver must be established by connecting them to the same clock unit. However, each time the local oscillator (LO) at the transmitter and / or receiver outputs a signal at a new frequency (e.g., a signal at the target frequency), the initial phase of the transmitter and / or receiver signals randomly changes, causing deviations in the calculation of target information and, in turn, low target detection accuracy.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide a signal detection method and related devices that can calculate the difference in initial phase between the transmitting end and the receiving end, thereby solving accurate target object information and improving the accuracy of detecting the target object.

[0008] In a first aspect, an embodiment of the present application provides a signal detection method, the method being applied to a device operating in a WiFi frequency band, the WiFi frequency band being a frequency band indicated by a WiFi protocol; the device comprising a first transceiver unit, a second transceiver unit, and a clock unit, the first transceiver unit and the second transceiver unit being connected to the clock unit; the local oscillator of the first transceiver unit and / or the local oscillator of the second transceiver unit outputting a signal of a target frequency; the method comprising:

[0009] receiving a first WiFi signal through the first transceiver unit, where the first WiFi signal comes from the second transceiver unit;

[0010] receiving a second WiFi signal through the second transceiver unit, where the second WiFi signal comes from the first transceiver unit;

[0011] Based on the phases of the first WiFi signal and the second WiFi signal, a phase difference between initial phases of signals transmitted by the first transceiver unit and the second transceiver unit is generated.

[0012] In an embodiment of the present application, a signal detection method is provided, which is applied to a device operating in a WiFi frequency band. The device includes a first transceiver unit, a second transceiver unit, and a clock unit, and the first transceiver unit and the second transceiver unit are both connected to the clock unit. When the local oscillator of the first transceiver unit and / or the local oscillator of the second transceiver unit outputs a signal of a target frequency, the first transceiver unit receives a first WiFi signal and the second transceiver unit receives a second WiFi signal. The first WiFi signal comes from the second transceiver unit, and the second WiFi signal comes from the first transceiver unit. Then, based on the phases of the first WiFi signal and the second WiFi signal, a phase difference between the initial phases transmitted by the first transceiver unit and the second transceiver unit is generated.

[0013] In the embodiments of the present application, the first WiFi signal can be understood as a WiFi signal transmitted by the second transceiver unit. After transmission, the first WiFi signal may have a different phase than the initial signal transmitted by the second transceiver unit. The second WiFi signal can be understood as a WiFi signal transmitted by the first transceiver unit. After transmission, the second WiFi signal may have a different phase than the initial signal transmitted by the first transceiver unit.

[0014] It is understandable that the phase of the first WiFi signal generally depends on the phase difference between the initial phases of the signals transmitted by the first transceiver unit and the second transceiver unit, and the phase of the second WiFi signal generally depends on the phase difference between the initial phases of the signals transmitted by the second transceiver unit and the second transceiver unit. Optionally, the phases of the first WiFi signal and the second WiFi signal also depend on the phase change caused by the target object. It can be seen that the phases of the first WiFi signal and the second WiFi signal are both affected by the target object. Therefore, based on the phases of the first WiFi signal and the second WiFi signal, the phase difference between the initial phases of the signals transmitted by the first transceiver unit and the second transceiver unit can be generated, and then the phase change caused by the target object can be obtained, accurate target object information can be calculated, and the accuracy of detecting the target object can be improved.

[0015] In a possible implementation of the first aspect, the method further includes: generating a first phase difference between the first WiFi signal and the second WiFi signal based on phases of the first WiFi signal and the second WiFi signal; the first phase difference is used to generate a phase difference of the initial phase.

[0016] In this embodiment of the present application, a phase difference between the first and second WiFi signals is generated based on the phases of the first and second WiFi signals. Because both the phases of the first and second WiFi signals include phase variations caused by the influence of an object, generating the phase difference between the first and second WiFi signals can offset the phase variations caused by the influence of the object. Therefore, a phase difference can be generated between the initial phases of the signals transmitted by the first and second transceiver units.

[0017] In another possible implementation of the first aspect, the first phase difference is twice the phase difference of the initial phase.

[0018] In another possible implementation of the first aspect, the method further includes:

[0019] receiving a third WiFi signal through the first transceiver unit, where the third WiFi signal comes from the second transceiver unit;

[0020] receiving a fourth WiFi signal through the second transceiver unit, where the fourth WiFi signal comes from the first transceiver unit;

[0021] Based on the phases of the third WiFi signal and the fourth WiFi signal, a second phase difference between the third WiFi signal and the fourth WiFi signal is generated; the second phase difference is used to generate the phase difference of the initial phase.

[0022] In this embodiment of the present application, the first transceiver unit also receives a third WiFi signal, and the second transceiver unit also receives a fourth WiFi signal. The third WiFi signal comes from the second transceiver unit, and the fourth WiFi signal comes from the first transceiver unit. Based on the phases of the third and fourth WiFi signals, a second phase difference between the third and fourth WiFi signals is generated. This second phase difference is also used to generate the initial phase difference.

[0023] In another possible implementation of the first aspect, generating a phase difference between initial phases of signals transmitted by the first transceiver unit and the second transceiver unit includes:

[0024] A weighted average is performed on the first phase difference and the second phase difference to generate a third phase difference; the third phase difference is used to generate a phase difference of the initial phase, and the third phase difference is twice the phase difference of the initial phase.

[0025] In the embodiment of the present application, a third phase difference is generated by taking a weighted average of the first phase difference and the second phase difference. The third phase difference is twice the phase difference of the initial phase.

[0026] It is understandable that the impact of the target on the phase of the received WiFi signal varies. Therefore, the initial phase difference obtained by generating the first phase difference or the second phase difference will have a certain degree of error due to the different targets affecting the WiFi signal transmission. By generating a third phase difference by weighted averaging the first and second phase differences, the error of the initial phase difference obtained based on the third phase difference is reduced. After obtaining the initial phase difference with a smaller error, combined with the received WiFi signal, a more accurate phase change caused by the target can be obtained, and thus more accurate target information can be calculated, improving the accuracy of target detection.

[0027] In another possible implementation of the first aspect, the method further includes:

[0028] Receive N WiFi signals through the first transceiver unit, where the N WiFi signals come from the second transceiver unit;

[0029] receiving, through the second transceiver unit, M WiFi signals from the first transceiver unit;

[0030] Based on the i-th WiFi signal among the N WiFi signals and the j-th WiFi signal among the M WiFi signals, a k-th phase difference is generated, and the k-th phase difference is used to generate the phase difference of the initial signal. The i-th WiFi signal and the j-th WiFi signal are WiFi signals received successively by the first transceiver unit and the second transceiver unit. Wherein, M and N are positive integers, i is an integer from 1 to N, j is an integer from 1 to M, and k is a positive integer. A weighted average is performed on the phase differences of the multiple WiFi signals generated above to generate a target phase difference; the target phase difference is used to generate the phase difference of the initial phase, and the target phase difference is twice the phase difference of the initial phase.

[0031] In an embodiment of the present application, a first transceiver unit receives N WiFi signals, and a second transceiver unit receives M WiFi signals. A plurality of phase differences between the WiFi signals received by the first transceiver unit and the second transceiver unit are generated based on the N WiFi signals and the M WiFi signals. A weighted average is then taken based on the phase differences of the plurality of WiFi signals generated above to generate a target phase difference. The target phase difference is used to generate the phase difference of the initial phase, and the target phase difference is twice the phase difference of the initial phase. Because the phase difference of the initial phase is generated by more WiFi signals, the error of the generated phase difference of the initial phase is smaller, and thus, the accurate phase change caused by the target object can be obtained, thereby calculating accurate target object information and improving the accuracy of target detection.

[0032] In another possible implementation of the first aspect, a time interval between receiving the first WiFi signal and receiving the second WiFi signal is proportional to an error in a phase difference used to generate the initial phase.

[0033] In a second aspect, an embodiment of the present application provides a signal detection device, the device comprising a first transceiver unit, a second transceiver unit, and a clock unit, wherein the first transceiver unit and the second transceiver unit are connected to the clock unit; the local oscillator of the first transceiver unit and / or the local oscillator of the second transceiver unit output a signal of a target frequency; the first transceiver unit is configured to receive a first WiFi signal, the first WiFi signal being from the second transceiver unit; the second transceiver unit is configured to receive a second WiFi signal, the second WiFi signal being from the first transceiver unit; the device further comprising:

[0034] A generating unit is configured to generate a phase difference between initial phases of signals transmitted by the first transceiver unit and the second transceiver unit based on the phases of the first WiFi signal and the second WiFi signal.

[0035] In a possible implementation manner of the second aspect, the generating unit is further configured to generate a first phase difference between the first WiFi signal and the second WiFi signal based on the phases of the first WiFi signal and the second WiFi signal; the first phase difference is used to generate a phase difference of the initial phase.

[0036] In yet another possible implementation of the second aspect, the first phase difference is twice the phase difference of the initial phase.

[0037] In another possible implementation of the second aspect, the first transceiver unit is further configured to receive a third WiFi signal, where the third WiFi signal comes from the second transceiver unit;

[0038] The second transceiver unit is further configured to receive a fourth WiFi signal, the fourth WiFi signal coming from the first transceiver unit;

[0039] The generating unit is further configured to generate a second phase difference between the third WiFi signal and the fourth WiFi signal based on the phases of the third WiFi signal and the fourth WiFi signal; the second phase difference is used to generate the phase difference of the initial phase.

[0040] In another possible implementation of the second aspect, the generating unit is specifically configured to:

[0041] A weighted average is performed on the first phase difference and the second phase difference to generate a third phase difference; the third phase difference is used to generate a phase difference of the initial phase, and the third phase difference is twice the phase difference of the initial phase.

[0042] In a third aspect, embodiments of the present application provide a signal detection device, comprising a communication device including a processor. The processor is coupled to a memory and can be configured to execute instructions in the memory to implement the method of any aspect and any possible implementation of the first aspect described above. Optionally, the communication device further includes a memory. Optionally, the communication device further includes a communication interface, the processor being coupled to the communication interface.

[0043] In a fourth aspect, embodiments of the present application provide a signal detection device, comprising: a logic circuit and a communication interface. The communication interface is configured to receive or send information; the logic circuit is configured to receive or send information via the communication interface, so that the communication device executes the method of any aspect and any possible implementation of the first aspect.

[0044] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which is used to store a computer program (also referred to as code, or instructions); when the computer program is run on a computer, the method of any aspect of the above-mentioned first aspect and any possible implementation method is implemented.

[0045] In a sixth aspect, an embodiment of the present application provides a computer program product, which includes: a computer program (also referred to as code, or instructions); when the computer program is run, it enables the computer to execute any aspect of the above-mentioned first aspect and any possible implementation method.

[0046] In a seventh aspect, an embodiment of the present application provides a chip, comprising a processor configured to execute instructions. When the processor executes the instructions, the chip performs the method of any aspect and any possible implementation of the first aspect. Optionally, the chip further comprises a communication interface configured to receive or send signals.

[0047] In addition, in the process of executing the method described in any aspect of the first aspect and any possible implementation method, the process of sending information and / or receiving information in the above method can be understood as the process of the processor outputting information and / or the process of the processor receiving input information. When outputting information, the processor can output the information to the transceiver (or communication interface, or sending module) so that it can be transmitted by the transceiver. After the information is output by the processor, it may also need to undergo other processing before it reaches the transceiver. Similarly, when the processor receives input information, the transceiver (or communication interface, or sending module) receives the information and inputs it into the processor. Furthermore, after the transceiver receives the information, the information may need to undergo other processing before it is input into the processor.

[0048] Based on the above principles, for example, the sending of information mentioned in the above method can be understood as the processor outputting information. For another example, the receiving of information can be understood as the processor receiving input information.

[0049] Optionally, for the operations such as transmission, sending and receiving involved in the processor, if there is no special explanation, or if they do not conflict with their actual functions or internal logic in the relevant description, they can be more generally understood as processor output, reception, input and other operations.

[0050] Optionally, in the process of executing the method described in any aspect of the first aspect and any possible implementation method, the processor may be a processor specifically used to execute these methods, or a processor that executes these methods by executing computer instructions in a memory, such as a general-purpose processor. The memory may be a non-transitory memory, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or may be separately provided on different chips. The embodiments of the present application do not limit the type of memory and the configuration of the memory and the processor.

[0051] In a possible implementation, the at least one memory is located outside the device.

[0052] In yet another possible implementation, the at least one memory is located within the device.

[0053] In another possible implementation, part of the at least one memory is located inside the device, and another part of the memory is located outside the device.

[0054] In this application, the processor and the memory may also be integrated into one device, that is, the processor and the memory may also be integrated together.

[0055] The solutions provided in the second to seventh aspects are used to implement or cooperate with the corresponding methods provided in the first aspect, and therefore can achieve the same or corresponding beneficial effects as the corresponding methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the drawings required for use in the embodiments of the present application or the background technology will be described below.

[0057] FIG1 is a schematic diagram of a scenario architecture provided by an embodiment of the present application;

[0058] FIG2 is a schematic structural diagram of a target device provided in an embodiment of the present application;

[0059] FIG3 is a schematic diagram of a transceiver unit provided in an embodiment of the present application;

[0060] FIG4 is a flow chart of a signal detection method provided in an embodiment of the present application;

[0061] FIG5 is a schematic structural diagram of a signal detection device provided in an embodiment of the present application;

[0062] FIG6 is a schematic diagram of a possible physical structure of the signal detection device provided in this application. DETAILED DESCRIPTION

[0063] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application.

[0064] For ease of understanding, the following examples provide some explanations of concepts related to the embodiments of the present application for reference, as shown below:

[0065] 1. Clock unit.

[0066] The clock unit provided in the embodiments of the present application may be, for example, a crystal oscillator (XO). A crystal oscillator, also known as a crystal oscillator, generates mechanical oscillations when powered on and can provide a stable clock signal for the system. Typically, a system uses only one crystal oscillator to synchronize its various components. However, some communication systems use different crystal oscillators for the baseband unit and radio frequency unit.

[0067] Crystal oscillators are classified according to their characteristics and functions, including: packaged crystal oscillator (PXO), temperature compensated crystal oscillator (TCXO), voltage controlled crystal oscillator (VCXO), oven controlled crystal oscillator (OCXO), voltage controlled temperature compensated crystal oscillator (VCTCXO), voltage controlled oven controlled crystal oscillator (VCOCXO), temperature sensing crystal oscillator (TSX) and disciplined oscillator (DO).

[0068] A clock unit typically works in conjunction with a local oscillator (LO) to provide the system with the required LO signal. For example, the clock unit provides a clock signal to the LO, which then outputs a local oscillator signal based on the clock signal to the system.

[0069] 2. Wireless fidelity (WiFi) frequency band.

[0070] In the embodiments of this application, the WiFi frequency bands mentioned may be frequency bands indicated by the WiFi protocol. The WiFi protocol typically refers to the IEEE 802.11X series of standards, including IEEE 802.11, IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, IEEE 802.11n, IEEE 802.11ac, IEEE 802.11ax, and IEEE 802.11be. Each standard has its own corresponding WiFi version and indicated frequency bands.

[0071] For example, the IEEE 802.11 standard, released in 1997, corresponds to WiFi0, with a frequency band of 2.4 GHz. The IEEE 802.11a standard, released in 1999, corresponds to WiFi1, with a frequency band of 5 GHz. The IEEE 802.11b standard, released in 1999, corresponds to WiFi2, with a frequency band of 2.4 GHz. The IEEE 802.11g standard, released in 2003, corresponds to WiFi3, with a frequency band of 2.4 GHz. The IEEE 802.11n standard, released in 2009, corresponds to WiFi4, with a frequency band of 2.4 GHz or 5 GHz. The IEEE 802.11ac standard, released in 2014, corresponds to WiFi5, with a frequency band of 5 GHz. The IEEE 802.11ax standard, released in 2019, corresponds to the WiFi version WiFi 6, indicating a frequency band of 2.4 GHz or 5 GHz. The IEEE 802.11be standard, released in 2022, corresponds to the WiFi version WiFi 7, indicating a frequency band of 2.4 GHz, 5 GHz, or 6 GHz.

[0072] It should be noted that the WiFi frequency bands that can be used in the solution provided in the embodiments of this application are not limited to the frequency bands listed above. With the development of technology, a WiFi frequency band may be discontinued, or a new frequency band may be designated as a WiFi frequency band. Whether it is a discontinued WiFi frequency band or a newly added WiFi frequency band, it can be a WiFi frequency band that can be used in the solution provided in the embodiments of this application.

[0073] In order to facilitate understanding of the technical solutions provided by the embodiments of the present application, the scenario architecture of the embodiments of the present application is first described exemplarily below.

[0074] Please refer to Figure 1, which is a schematic diagram of a scenario architecture provided by an embodiment of the present application. Figure 1 includes a target device 101 and a target object 102. Among them, the target device 101 is capable of receiving and sending target signals. The modulation method of the target signal can be, for example, orthogonal frequency-division multiplexing (OFDM), frequency modulated continuous wave (FMCW), complementary code keying (CCK) modulation, binary phase shift keying (BPSK) modulation, quadrature phase shift keying (QPSK) modulation, quadrature amplitude modulation (QAM), etc. The frequency band of the target signal can be a WiFi band, for example, 2.4GHz, 5GHz and 6GHz.

[0075] Target object 102 may affect the target signal transmitted by target device 101. For example, target object 102 may affect one or more of the propagation direction, frequency, phase, and power of the target signal. Target object 102 may be, for example, a human body, an animal, a plant, a vehicle, a building, or furniture. It should be noted that the depiction of target object 102 as a human body in FIG1 is for illustrative purposes only and does not limit the present embodiments. For ease of description, the following description and illustrations will use the human body as an example of a target object.

[0076] The target device 101 can be used to detect features of the target object 102 . The features of the target object 102 include, but are not limited to, one or more of the following: location information, motion state, material, shape, and the like.

[0077] For example, target device 101 transmits a target signal, which is affected by target object 102, returns to target device 101, and is received by target device 101. Target device 101 analyzes and processes the received target signal to generate characteristics of target object 102. For example, by analyzing the phase changes of the target signal, the speed and micromotion of target object 102 can be calculated. By analyzing the frequency (Doppler) of the target signal, the motion state of target object 102 can be calculated. It will be understood that because the target signal transmitted by target device 101 is affected by target object 102, the target signal received by target device 101 is typically different from the target signal transmitted by target device 101.

[0078] The micro-movement in the embodiment of the present application includes the following situations:

[0079] Case 1: The moving distance of the target object is less than the first threshold.

[0080] The first threshold value may be, for example, 1 mm, 1 cm, or 10 cm. The moving distance of the target object is less than the first threshold value, for example, the moving distance of a door bolt is less than the first threshold value, the moving distance of a window is less than the first threshold value, or the moving distance of an animal's limb is less than the first threshold value.

[0081] Case 2: The deformation degree of the target object is less than the second threshold.

[0082] The first threshold value may be, for example, 1 mm, 1 cm, or 10 cm. In this case, the target object may be the location where the object is deformed to the greatest extent. The deformed object may be, for example, a sofa, bed, floor, building, or tire.

[0083] Case 3: The moving range of the target object is smaller than the third threshold.

[0084] The third threshold value may be, for example, ±1 mm, ±1 cm, or ±10 cm, etc. The target object's movement range is smaller than the third threshold value, such as the rise and fall of the chest or the beating of the pulse.

[0085] Since the target device 101 can detect the speed and micro-movement of the target object 102, the target device 101 can usually be placed at home, in a hospital, or in a jewelry store, etc., to detect the rise and fall of a person's chest or monitor the range of movement of valuables. When the target device 101 is placed at home, it can be placed on a wall, a table lamp, a sofa, or a bedside, etc., and combined with a prompt device, it can provide feedback on characteristics such as the rise and fall of the chest of family members. When the target device 101 is placed in a hospital, it can be placed in a suitable location in the ward to monitor the patient's chest rise and fall and micro-movements of the limbs. Combined with a prompt device, it can provide feedback on the patient's condition to the doctor. When the target device 101 is placed in a jewelry store, it can be placed in a display cabinet to monitor whether the jewelry moves. Combined with an alarm device, it can provide feedback on the movement of the jewelry to security personnel.

[0086] FIG2 is a schematic structural diagram of a target device provided in an embodiment of the present application. The working principle of the target device 101 will be exemplarily introduced below with reference to FIG2 .

[0087] Please refer to Figure 2 , which includes a target device 101 and a target object 102. The target device 101 includes a first transceiver unit 201, a second transceiver unit 202, a clock unit 203, and a processor 204. The first transceiver unit 201 includes a first transmitting interface 211, a first receiving interface 212, a first local oscillator 213, and a first transceiver antenna 214. The second transceiver unit 202 includes a second transmitting interface 221, a second receiving interface 222, a second local oscillator 223, and a second antenna 224.

[0088] The clock unit 203 is used to provide a stable clock signal to the first transceiver unit 201 and / or the second transceiver unit 202. The processor 204 includes one or more of the following functions: providing signals to be transmitted to the first transceiver unit 201 and / or the second transceiver unit 202, processing signals received by the first transceiver unit 201 and / or the second transceiver unit 202, or controlling the operation of the first transceiver unit 201 and / or the second transceiver unit 202. The first transmitting interface 211 and the first receiving interface 212 are used to implement the signal transmission and reception functions of the first transceiver unit 201. The second transmitting interface 221 and the second receiving interface 222 are used to implement the signal transmission and reception functions of the second transceiver unit 202. The first local oscillator 213 cooperates with the clock unit 203 to generate a local oscillator signal for the first transceiver unit 201, and the second local oscillator 223 cooperates with the clock unit 203 to generate a local oscillator signal for the second transceiver unit 202. The first transceiver antenna 214 and the second antenna 224 are both used to transmit and receive signals in the WiFi frequency band.

[0089] The connection relationship between the various units within the target device 101 is as follows: the first transceiver unit 201 and the second transceiver unit 202 are both connected to the clock unit 203, so that the first transceiver unit 201 and the second transceiver unit 202 receive the same clock signal, ensuring the synchronization of the first transceiver unit 201 and the second transceiver unit 202. The first transceiver unit 201 and the second transceiver unit 202 are also both connected to the processor 204.

[0090] Next, taking FIG. 2 as an example, the working principle of the target device 101 detecting the target object 102 is exemplarily introduced.

[0091] In one possible implementation, the first transceiver unit 201 is used to send a target signal, the second transceiver unit 202 is used to receive a target signal affected by the target object 102 , and the processor 204 is used to process the target signal received by the second transceiver unit 202 to generate a feature of the target object 102 .

[0092] The modulation technology of the target signal may be, for example, OFDM, FMCW, CCK direct sequence spread spectrum technology, BPSK modulation technology, QPSK modulation technology, QAM technology, etc. The frequency band of the target signal may be, for example, 2.4 GHz, 5 GHz, and 6 GHz. The target signal may also be, for example, a WiFi signal packet.

[0093] The first transceiver unit 201 and the second transceiver unit 202 may transmit and receive signals in a time-division manner. Time-division means that the transmission and reception of signals are performed in separate time periods. For example, the first transceiver unit 201 may transmit signals from a first time point to a second time point, and receive signals from the second time point to a third time point. However, signals cannot be transmitted and received simultaneously at the same time point.

[0094] By way of example, with reference to Figure 2, when the target device 101 detects the target object 102, the first transceiver antenna 214 in the first transceiver unit 201 is connected to the first transmit interface 211, and the second antenna 224 in the second transceiver unit 202 is connected to the second receive interface 222. The first transceiver unit 201 transmits a target signal via the first transceiver antenna 214. The target signal, affected by the target object 102, is received by the second antenna 224 and transmitted to the processor 204. Processor 204 processes and analyzes the received target signal to generate a feature of the target object 102. By way of example, the target object 102 may be a human body, and processor 204 can generate a trajectory diagram of the rise and fall of the human chest through analysis.

[0095] Processor 204 analyzes and processes the received target signal, including detecting one or more of a phase change, a frequency change, or a power change in the received target signal. For example, the processor 204 samples the received target signal to detect one or more of the phase change, frequency change, or power change. The received target signal may not be demodulated, and the original information of the received target signal may not be recovered.

[0096] In another possible implementation, the second transceiver unit 202 is used to send a target signal, the first transceiver unit 201 is used to receive a target signal affected by the target object 102, and the processor 204 is used to process the target signal received by the first transceiver unit 201 to generate a feature of the target object 102.

[0097] The specific implementation process of generating the characteristics of the target object 102 is similar to the above solution and will not be repeated here.

[0098] In order to more comprehensively demonstrate the working principle of the target device 101, the internal structure of the first transceiver unit 201 is exemplarily introduced in conjunction with Figure 3. Since the internal structure of the first transceiver unit 201 is similar to that of the second transceiver unit 202, the internal structure of the second transceiver unit 202 refers to the description of the first transceiver unit 201.

[0099] FIG3 is a schematic diagram of a transceiver unit provided in an embodiment of the present application, which is used to illustrate the working principle of the first transceiver unit. As shown in FIG3 , the first transceiver unit 201 includes a digital to analog converter (DAC), an analog to digital converter (ADC), a first mixer, a second mixer, a power amplifier (PA), a low noise amplifier (LNA), a first transmitting interface 211, a first receiving interface 212, a first local oscillator 213, and a first transceiver antenna 214.

[0100] The internal connections of the first transceiver unit 201 can be as follows: the first port of the DAC is used to receive signals from the processor 204; the second port of the DAC is connected to the first port of the first mixer; the second port of the first mixer is connected to the input port of the PA; and the output port of the PA is connected to the first transmit interface 211. The first port of the ADC is used to output signals to the processor 204; the second port of the ADC is connected to the first port of the second mixer; the first port of the second mixer is connected to the output port of the LNA; and the input port of the LNA is connected to the first receive interface 212. The input port of the first local oscillator 213 is connected to the output port of the clock unit 203; the output port of the second local oscillator 213 is connected to the third port of the first mixer and the third port of the second mixer, respectively. The first transceiver antenna 214 is connected to the first transmit interface 211 or the first receive interface 212 via a switch device, such as a single-pole double-throw switch or a radio frequency switch.

[0101] When the first transceiver unit 201 is used to transmit signals, the above-mentioned DAC is used to convert the received digital signal into an analog signal and send it to the first mixer. The first mixer is used to mix the digital signal sent by the DAC and the clock signal sent by the first local oscillator 213. The PA power amplifies the RF signal obtained by mixing. The power-amplified RF signal is sent to the first transceiver antenna 214 through the first transmitting interface 211 and is sent out by the first transceiver antenna 214.

[0102] When the first transceiver unit 201 is used to receive signals, the first transceiver antenna 214 is connected to the first receiving interface 212 via a switch. The first transceiver antenna 214 transmits the received signal through the first receiving interface 212 to the LNA. The LNA performs low-noise amplification on the signal and sends the amplified signal to the second mixer. The second mixer is used to mix the signal sent by the LNA with the clock signal emitted by the first local oscillator 213. The resulting signal is input to the ADC, which converts it into a digital signal and transmits it.

[0103] The working principle of the second transceiver unit 202 is similar to that of the first transceiver unit 201. For a detailed introduction to the second transceiver unit 202, please refer to the relevant description of the first transceiver unit 201 in Figure 3, which will not be repeated here.

[0104] It should be noted that FIG3 is a schematic diagram of the first transceiver unit 201 exemplarily shown in an embodiment of the present application, and does not constitute a limitation to the embodiment of the present application.

[0105] Typically, when the local oscillators of the first transceiver unit 201 and the second transceiver unit 202 generate local oscillator signals of a new frequency, the initial phases of the signals generated by the first transceiver unit 201 and the second transceiver unit 202 will randomly change. Since the initial phases of the signals generated by the first transceiver unit 201 and the second transceiver unit 202 cannot be determined, the phase changes caused by the target object 102 cannot be accurately calculated. Consequently, the generated velocity and micro-motion trajectory of the target object 102 will be deviated, resulting in low detection accuracy and inaccurate detection results for the target device 101.

[0106] In order to solve the above problems, an embodiment of the present application proposes a signal detection method, which can accurately estimate the phase difference between the first transceiver unit 201 and the second transceiver unit 202 after the local oscillator generates a signal of the target frequency, thereby being able to calculate the phase change caused by the influence of the target object 102, and then generate the accurate characteristics of the target object 102, thereby improving the detection accuracy of the target device 101 and obtaining accurate detection results.

[0107] For example, referring to FIG4 , in conjunction with the structural diagram of FIG2 , a flow chart of a signal detection method provided by an embodiment of the present application is shown. The method includes but is not limited to the following steps:

[0108] S401: Receive a first target signal through a first transceiver unit.

[0109] S402: Receive a second target signal through a second transceiver unit.

[0110] By way of example, with reference to FIG2 , the first transceiver unit may be, for example, the first transceiver unit 201 shown in FIG2 , and the modulation scheme of the first target signal may be, for example, CCK modulation, BPSK modulation, QPSK modulation, QAM, FMCW, etc. The frequency band of the first target signal may be, for example, 2.4 GHz, 5 GHz, and 6 GHz. The first target signal may also be, for example, a WiFi signal packet.

[0111] The second transceiver unit may be, for example, the second transceiver unit 202 shown in FIG. 2 . The modulation scheme of the second target signal may be, for example, CCK modulation, BPSK modulation, QPSK modulation, QAM, FMCW, etc. The frequency band of the second target signal may be, for example, 2.4 GHz, 5 GHz, and 6 GHz. The second target signal may also be, for example, a WiFi signal packet.

[0112] In one possible implementation, the first target signal may be a signal transmitted by the second transceiver unit, which is affected by a target object to obtain the first target signal. The second target signal may be a signal transmitted by the first transceiver unit, which is affected by a target object to obtain the second target signal. The target object may be, for example, target object 102 shown in FIG. 2 .

[0113] In one possible implementation, when it is detected that the local oscillator of the first transceiver unit and / or the second transceiver unit generates a signal of a target frequency, the first transceiver unit is controlled to enter a signal receiving state, and the second transceiver unit is controlled to transmit a signal.

[0114] The local oscillator generates a signal of a target frequency. This may be a signal of a new frequency (e.g., a signal of the target frequency) generated by the local oscillator, which has a frequency different from the local oscillator signal currently output by the local oscillator. For example, if the local oscillator signal currently output by the local oscillator has a frequency of 2.4 GHz, the target frequency signal may have a frequency of 2.41 GHz, 2.42 GHz, or 2.39 GHz.

[0115] For example, after the local oscillator of the first transceiver unit and / or the second transceiver unit generates a signal of a target frequency, the first transceiver unit is controlled to enter a signal receiving state and the second transceiver unit is controlled to transmit a signal after a first preset time duration. The first preset time duration may be, for example, 0ms, 1ms, or 10ms.

[0116] The first transceiver unit enters a signal receiving state. Referring to FIG. 2 , for example, the first transceiver antenna 214 of the first transceiver unit 201 is connected to the first receiving interface 212 via a switch device.

[0117] The second transceiver unit transmits a signal. Referring to FIG. 2 , for example, the second antenna 224 of the second transceiver unit 202 is connected to the second transmitting interface 221 through a switch device.

[0118] Exemplarily, after the local oscillator of the first transceiver unit and / or the second transceiver unit generates a signal of a target frequency for a first preset duration, the first transceiver unit is controlled to enter a signal receiving state, and after a second preset duration, the second transceiver unit is controlled to transmit a signal. The first time period may be, for example, 0ms, 1ms, or 10ms. The second time period may be, for example, 0ms, 0.5ms, or 5ms. It should be noted that the first preset duration is greater than the second preset duration. For example, if the first preset duration is 1ms, the second preset duration is less than 1ms. The second preset duration may be, for example, 0ms or 0.5ms.

[0119] In a possible implementation, the first transceiver unit and / or the second transceiver unit can be used for WiFi communication.

[0120] Exemplarily, the first transceiver unit and / or the second transceiver unit is configured to provide a WiFi signal to the terminal device, so that the terminal device can communicate with other terminal devices via the WiFi signal. The other terminal devices may be, for example, other terminal devices in an Ethernet network or other terminal devices in a local area network.

[0121] In one possible implementation, during the gap between the first transceiver unit and / or the second transceiver unit providing the WiFi signal to the terminal device, the first transceiver unit is controlled to enter a signal receiving state, and the second transceiver unit is controlled to transmit a signal. For example, as shown below:

[0122] After the local oscillator of the first transceiver unit and / or the second transceiver unit generates a signal of the target frequency, the first transceiver unit is controlled to enter a signal receiving state and the second transceiver unit is controlled to transmit a signal for a first preset duration. The first preset duration may be, for example, the duration of a time slice occupied by the first transceiver unit for WiFi communication. The duration of a time slice may be, for example, 100 μs, 1 ms, or 10 ms.

[0123] In a possible implementation, after the first transceiver unit completes receiving the first target signal, the first transceiver unit is controlled to transmit a signal, and the second transceiver unit enters a signal receiving state.

[0124] The first transceiver unit transmits a signal. Referring to FIG. 2 , for example, the first transceiver antenna 214 of the first transceiver unit 201 is connected to the first transmitting interface 211 through a switch device.

[0125] The second transceiver unit enters a signal receiving state. Referring to FIG. 2 , for example, the second antenna 224 of the second transceiver unit 202 is connected to the second receiving interface 222 via a switch device.

[0126] For example, if a signal is received within a first preset time period after the first local oscillator 213 of the first transceiver unit 201 generates a signal at the target frequency, the first transceiver unit is deemed to have completed receiving the first target signal. Otherwise, the first transceiver unit is deemed to have failed to receive the signal, and subsequent related operations are terminated, with steps S401 and S402 being executed again.

[0127] Exemplarily, the moment after the first preset time period after the first local oscillator 213 generates a signal of the target frequency is determined as the moment when the first transceiver unit completes receiving the first target signal.

[0128] In one possible implementation, the first transceiver unit 201 receives signals and the second transceiver unit 202 transmits signals. Switching to the first transceiver unit 201 transmitting signals and the second transceiver unit 202 receiving signals can be performed continuously over a period of time.

[0129] For example, after the first local oscillator 213 generates a signal at the target frequency, the first transceiver unit 201 receives the signal and the second transceiver unit 202 transmits the signal. After the first transceiver unit 201 receives the signal, the first transceiver unit 201 transmits the signal and the second transceiver unit 202 receives the signal. The first preset duration can be, for example, 100 μs, 1 ms, or 10 ms. The second preset duration can be, for example, 100 μs, 1 ms, or 10 ms.

[0130] It will be appreciated that the target time interval between the first transceiver unit 201 receiving the first target signal and the second transceiver unit 202 receiving the second target signal is related to the frequency bands of the first target signal and the second target signal. For example, the higher the frequency bands of the first target signal and the second target signal, the shorter the target time interval. The lower the frequency bands of the first target signal and the second target signal, the longer the target time interval.

[0131] In one possible implementation, after detecting that the local oscillator of the first transceiver unit and / or the second transceiver unit generates a signal of a target frequency, the first transceiver unit may be controlled to transmit the signal and the second transceiver unit may be controlled to receive the signal. After the second transceiver unit completes signal reception, the first transceiver unit may be controlled to receive the signal and the second transceiver unit may be controlled to transmit the signal.

[0132] For the specific implementation steps, please refer to the corresponding introduction above, which will not be repeated here.

[0133] Normally, when the first transceiver unit and / or the second transceiver unit switches channels, the local oscillator needs to generate a signal of a new frequency (for example, a signal of the target frequency) so that the first transceiver unit and / or the second transceiver unit can operate in the new channel. For example, the first transceiver unit and / or the second transceiver unit currently operates in the first frequency band, and after the channel switching, the first transceiver unit and / or the second transceiver unit operates in the second frequency band. The center frequency of the first frequency band can be 2.4 GHz, the center frequency of the second frequency band can be 2.42 GHz, and the bandwidth of the first frequency band and the second frequency band can be, for example, 50 MHz. The center frequencies of the first frequency band and the second frequency band are usually related to the frequency of the local oscillator signal. For example, the center frequencies of the first frequency band and the second frequency band are equal to the frequency of the local oscillator signal. This is equivalent to the fact that the frequencies of the local oscillator signals generated by the local oscillator are different before and after the first transceiver unit and / or the second transceiver unit switches channels. The signal that the local oscillator needs to generate after the channel switch can be a signal of the target frequency. Therefore, in another possible implementation, upon detecting that the first transceiver unit and / or the second transceiver unit have completed the channel switch, the first transceiver unit is controlled to enter a signal receiving state, and the second transceiver unit is controlled to transmit a signal. The specific implementation of this solution is described above and will not be repeated here.

[0134] S403 : Generate a phase difference between initial phases of signals transmitted by the first transceiver unit and the second transceiver unit based on the phases of the first target signal and the second target signal.

[0135] Typically, the phase of a signal can be obtained in the following ways. For example, the signal is sampled using an analog-to-digital converter (ADC) to obtain two sampled signals, such as I[t] and Q[t]. I[t] and Q[t] can be processed to obtain the phase of the signal. The processing method for I[t] and Q[t] can be expressed as follows: Where t is the sampling time, Used to represent the phase of the signal at time t.

[0136] In general, the initial phase difference of the signals transmitted by the first transceiver unit and the second transceiver unit is generated by obtaining the phase of the first target signal and the second target signal at the same time. For the sake of convenience of description, the phase of the first target signal can be referred to as the first phase κ1, and the phase of the second target signal can be referred to as the second phase κ2, where κ1 and κ2 are the phases of the first target signal and the second target signal at the same time. It can be understood that the first phase and the second phase both depend on the phase difference between the second transceiver unit and the first transceiver unit and the influence of the target object on the signal phase. For example, after the first local oscillator of the first transceiver unit generates a signal of the target frequency, the initial phase of the signal transmitted by the first transceiver unit is the first initial phase After the second local oscillator of the second transceiver unit generates a signal of the target frequency, the initial phase of the second transceiver unit transmitting the signal is The phase change of the first target signal received by the first transceiver unit due to the influence of the target object is the first change phase ω1, and the phase change of the second target signal received by the second transceiver unit due to the influence of the target object is the second change phase ω2. The second phase can be represented by To express.

[0137] For example, the first phase is subtracted from the second phase, and the phase difference between the first phase and the second phase can be obtained by Assuming that ω1 and ω2 are equal, the phase difference between the first phase and the second phase can be expressed as Then, the initial phase difference between the first transceiver unit and the second transceiver unit transmitting the signal is It can be expressed as (κ1-κ2) / 2. It can be understood that the initial phase difference expressed as (κ1-κ2) / 2 There is an error, and the size of the error is determined by the difference between ω1 and ω2. The larger the difference between ω1 and ω2, the larger the initial phase difference represented by (κ1-κ2) / 2. The smaller the error is. The smaller the difference between ω1 and ω2 is, the smaller the initial phase difference represented by (κ1-κ2) / 2 is. The greater the error.

[0138] Since ω1 and ω2 are the phase changes caused by the target to the signal, if the time interval between the first transceiver unit receiving the first target signal and the second transceiver unit receiving the second target signal is shorter, the change of the target itself will be smaller, and the phase change caused by the target to the signal will be more consistent. The initial phase difference represented by (κ1-κ2) / 2 is It will become more and more accurate.

[0139] The target object refers to an object that affects the signal transmitted by the first transceiver unit or the second transceiver unit, and may be, for example, a human body, an animal, a plant, a vehicle, a building, or furniture. For a detailed description, please refer to the description of the target object 102 in FIG. 1 .

[0140] In one possible implementation, the first transceiver unit further receives a third target signal, which is transmitted from the second transceiver unit. The second transceiver unit further receives a fourth target signal, which is transmitted from the first transceiver unit. For details on receiving the third target signal, please refer to the above description of receiving the first target signal. For details on receiving the fourth target signal, please refer to the above description of receiving the second target signal.

[0141] The target signals received by the first transceiver unit and the second transceiver unit may be, in order, the first target signal, the second target signal, the third target signal, and the fourth target signal. Alternatively, the target signals may be the second target signal, the first target signal, the third target signal, and the fourth target signal. Alternatively, the target signals may be the second target signal, the first target signal, the fourth target signal, and the third target signal. Alternatively, the target signals may be the first target signal, the second target signal, the fourth target signal, and the third target signal.

[0142] Next, the target signals received by the first transceiver unit and the second transceiver unit are the first target signal, the second target signal, the third target signal and the fourth target signal, and an example is given to describe how to generate the initial phase of the signal transmitted by the first transceiver unit. The initial phase of the signal transmitted by the second transceiver unit The difference between .

[0143] The phase of the first target signal can be called the first phase κ1, the phase of the second target signal can be called the second phase κ2, the phase of the third target signal can be called the third phase κ3, and the phase of the fourth target signal can be called the fourth phase κ4. According to the first phase κ1 and the second phase κ2, a first phase difference λ1=κ2-κ1 between the first phase and the second phase can be generated. According to the third phase κ3 and the fourth phase κ4, a second phase difference λ2=κ4-κ3 between the third phase and the fourth phase can be generated. The weighted average of the first phase difference and the second phase difference can generate the third phase difference λ3. For example, λ3=k1λ1+k2λ2, where k1+k2=1. For example, k1 and k2 can both be 0.5, λ3=0.5λ1+0.5λ2. The calculated λ3 is the initial phase of the signal transmitted by the first transceiver unit. The initial phase of the signal transmitted by the second transceiver unit Twice the difference between .

[0144] This solution generates a second phase difference by acquiring a third target signal and a fourth target signal. By taking a weighted average of the first and second phase differences to generate the initial signal phase difference, this approach can reduce the error in the generated initial signal phase difference caused by varying targets that affect WiFi signal transmission, thereby improving the accuracy of the generated initial signal phase difference. By generating a relatively accurate initial signal phase difference, combined with the received target signal, the phase change caused by the target can be accurately determined, allowing for the calculation of more accurate target information.

[0145] For example, at a first preset time duration after the first local oscillator generates a signal of a target frequency, the first transceiver unit receives the first target signal and the second transceiver unit transmits a signal. At a second preset time duration after receiving the first target signal, the first transceiver unit transmits a signal and the second transceiver unit receives the second target signal. At a third preset time duration after the preset moment, the first transceiver unit receives the third target signal and the second transceiver unit transmits a signal. At a fourth preset time duration after receiving the third target signal, the first transceiver unit transmits a signal and the second transceiver unit receives the fourth target signal. The preset moment may be a preset moment after receiving the second target signal. The time interval between the preset moment and the moment of receiving the second target signal may be, for example, 0ms, 1ms, or 10ms.

[0146] In another possible implementation, the first transceiver unit receives N target signals, which are from the second transceiver unit. The second transceiver unit receives M target signals, which are from the first transceiver unit. Based on the i-th target signal among the N target signals and the j-th target signal among the M target signals, a k-th phase difference is generated, and the k-th phase difference is used to generate the phase difference of the initial signal. The i-th target signal and the j-th target signal are target signals received successively by the first transceiver unit and the second transceiver unit. Wherein, M and N are positive integers, i is an integer from 1 to N, j is an integer from 1 to M, and k is a positive integer. The phase differences of the multiple target signals generated above are weighted averaged to generate a target phase difference, and the target phase difference is used to generate a phase difference of the initial phase, and the target phase difference is twice the phase difference of the initial phase.

[0147] Exemplarily, the N target signals received by the first transceiver unit may be, for example, signals obtained after the N signals sent by the second transceiver unit are affected by the target object. The M target signals received by the second transceiver unit may be, for example, signals obtained after the M signals sent by the first transceiver unit are affected by the target object. In the following introduction, the i-th target signal among the N target signals is usually understood as the i-th target signal received among the N target signals received by the first transceiver unit. Similarly, the j-th target signal among the M target signals is usually understood as the j-th target signal received among the M target signals received by the second transceiver unit. The N signals received by the first transceiver unit may refer to a time period during which any one of the N signals is received discontinuously, and the M signals received by the second transceiver unit may refer to a time period during which any one of the M signals is received discontinuously.

[0148] When the i-th target signal among the N target signals and the j-th target signal among the M target signals are received successively, a k-th phase difference can be generated based on the i-th target signal and the j-th target signal. For the method of generating the k-th phase difference, refer to the method of generating the first phase difference described above and will not be repeated here. Based on the N and M received WiFi signals, multiple phase differences can be generated. For the method of generating any one of the multiple phase differences, refer to the description of generating the k-th phase difference described above and will not be repeated here.

[0149] In one possible implementation, a target phase difference is generated by weighted averaging the multiple phase differences. The target phase difference is used to generate the initial phase difference of the signals transmitted by the first transceiver unit and the second transceiver unit. For example, the target phase difference is twice the initial phase difference.

[0150] Since this solution generates the target phase difference by weighted averaging multiple phase differences, and then generates the initial phase difference from the target phase difference, it can minimize the error in generating the initial phase difference, and thus accurately calculate the phase change caused by the target object, accurately solve the target object information, and improve the accuracy of target detection.

[0151] The above mainly introduces the signal detection method provided by the embodiment of the present application. It is understandable that, in order to realize the corresponding functions mentioned above, each control unit or device includes a hardware structure and / or software module corresponding to the execution of each function. In combination with the units and steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0152] The embodiment of the present application can divide the functional modules of the device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. In actual implementation, there may be other division methods.

[0153] In the case of dividing each functional module according to each function, an embodiment of the present application also provides an apparatus for implementing any of the above methods, for example, providing an apparatus including units (or means) for implementing each step in any of the above methods.

[0154] For example, please refer to Figure 5, which is a schematic diagram of the structure of a signal detection device provided in an embodiment of the present application. The signal detection device 500 shown in Figure 5 can be a signal detection device for implementing any embodiment of the above-mentioned signal detection method. The signal detection device may include a first transceiver unit 501, a second transceiver unit 502, a clock unit 503, and a generation unit 504. Among them:

[0155] The first transceiver unit 501 is configured to receive a first WiFi signal, where the first WiFi signal comes from the second transceiver unit.

[0156] The second transceiver unit 502 is configured to receive a second WiFi signal, where the second WiFi signal comes from the first transceiver unit.

[0157] The clock unit 503 is configured to provide a clock signal to the first transceiver unit 501 and the second transceiver unit 502 .

[0158] The generating unit 504 is configured to generate a phase difference between initial phases of signals transmitted by the first transceiver unit 501 and the second transceiver unit 502 based on the phases of the first WiFi signal and the second WiFi signal.

[0159] In a possible implementation, the generating unit is further configured to generate a first phase difference between the first WiFi signal and the second WiFi signal based on the phases of the first WiFi signal and the second WiFi signal; the first phase difference is used to generate the phase difference of the initial phase.

[0160] In another possible implementation, the first phase difference is twice the phase difference of the initial phase.

[0161] In another possible implementation, the first transceiver unit 501 is further configured to receive a third WiFi signal, where the third WiFi signal comes from the second transceiver unit 502;

[0162] The second transceiver unit 502 is further configured to receive a fourth WiFi signal, where the fourth WiFi signal comes from the first transceiver unit 501;

[0163] The generating unit 504 is further configured to generate a second phase difference between the third WiFi signal and the fourth WiFi signal based on the phases of the third WiFi signal and the fourth WiFi signal; the second phase difference is used to generate the phase difference of the initial phase.

[0164] In another possible implementation, the generating unit is specifically configured to:

[0165] A weighted average is performed on the first phase difference and the second phase difference to generate a third phase difference; the third phase difference is used to generate a phase difference of the initial phase, and the third phase difference is twice the phase difference of the initial phase.

[0166] The specific operations and beneficial effects of each unit in the signal detection device 500 shown in FIG5 can be found in the corresponding descriptions in FIG4 and its possible embodiments, and will not be repeated here.

[0167] It should be understood that the division of the various units in the device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. In addition, the units in the device can be implemented in the form of a processor calling software. For example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory. The processor calls the instructions stored in the memory to implement any of the above methods or to implement the functions of the various units of the device, wherein the processor is, for example, a general-purpose processor, such as a central processing unit (CPU) or a microprocessor, and the memory is a memory within the device or a memory outside the device. Alternatively, the units in the device can be implemented in the form of hardware circuits, and the functions of some or all of the units can be implemented by designing the hardware circuits. The hardware circuit can be understood as one or more processors. For example, in one implementation, the hardware circuit is an application-specific integrated circuit (ASIC), which implements the functions of some or all of the above units by designing the logical relationships between the components within the circuit. For example, in another implementation, the hardware circuit can be implemented by a programmable logic device (PLD), such as a field programmable gate array (FPGA), which can include a large number of logic gate circuits. The connection relationship between the logic gate circuits is configured through a configuration file, thereby realizing the functions of some or all of the above units. All units of the above device can be implemented in the form of software called by the processor, or in the form of hardware circuits, or in part by the form of software called by the processor, and the rest by hardware circuits.

[0168] In an embodiment of the present application, a processor is a circuit with data processing capabilities. In one implementation, the processor can be a circuit with instruction reading and execution capabilities, such as a CPU, a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP). In another implementation, the processor can implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the processor loads a configuration document to implement the process of hardware circuit configuration, which can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc.

[0169] It can be seen that each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.

[0170] In addition, the various units in the above devices can be fully or partially integrated together, or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a system-on-a-chip (SOC). The SOC may include at least one processor for implementing any of the above methods or implementing the functions of the various units of the device. The type of the at least one processor can be different, for example, including a CPU and FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.

[0171] For example, see Figure 6, which is a schematic diagram of the structure of a possible physical entity of the signal detection device provided by the present application. As shown in Figure 6, a signal detection device provided in an embodiment of the present application can be a network device or a device for a network device. The device for a network device can be a chip system or a chip within the network device. Among them, the chip system can be composed of a chip, or it can include a chip and other discrete devices. The signal detection device 600 includes: a processor 601, a memory 602, and a communication interface 603. The processor 601, the communication interface 603, and the memory 602 can be interconnected or connected to each other through a bus 604.

[0172] Exemplarily, the memory 602 is used to store computer programs and data of the communication device 600. The memory 602 may include, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or portable read-only memory (CD-ROM).

[0173] The software or program codes required for all or part of the functions of the signal detection device in the above method embodiment are stored in the memory 602 .

[0174] In one possible implementation, if the software or program code required for some functions is stored in the memory 602, the processor 601, in addition to calling the program code in the memory 602 to implement some functions, can also cooperate with other components (such as the communication interface 603) to jointly complete other functions described in the method embodiment (such as the function of receiving or sending data).

[0175] There may be multiple communication interfaces 603 , which are used to support the signal detection device 600 to communicate, such as receiving or sending data or signals.

[0176] Exemplarily, the processor 601 may be the CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor types, as described above. The processor 601 may be configured to read the program stored in the memory 602 and execute the operations performed by the signal detection device in FIG. 4 and its possible embodiments.

[0177] The specific operations and beneficial effects of each unit in the signal detection device 600 shown in FIG6 can be found in the corresponding description in the above method embodiment, which will not be repeated here.

[0178] The present application also provides a chip including a processor and a memory, wherein the memory is configured to store computer programs or computer instructions, and the processor is configured to execute the computer programs or computer instructions stored in the memory, so that the chip performs the operations performed by the signal detection device in FIG. 4 and its possible embodiments.

[0179] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program or computer instructions, and the computer program or computer instructions are executed by a processor to implement the method implemented by the signal detection device in Figure 4 and its possible embodiments.

[0180] The embodiment of the present application further provides a computer program product. When the computer program product is read and executed by a computer, the method implemented by the signal detection device in FIG. 4 and its possible embodiments will be executed.

[0181] In this application, the terms "first," "second," and the like are used to distinguish between identical or similar items having substantially the same function or effect. It should be understood that "first," "second," and "nth" do not have a logical or temporal dependency, nor do they limit the quantity or order of execution. It should also be understood that although the following description uses the terms "first," "second," and the like to describe various elements, these elements should not be limited by these terms. These terms are simply used to distinguish one element from another.

[0182] It should also be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0183] It will also be understood that the term “comprise” (also known as “includes,” “including,” “comprises,” and / or “comprising”) when used in this specification specifies the presence of stated features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0184] It should also be understood that references throughout this specification to "one embodiment," "an embodiment," or "one possible implementation" mean that specific features, structures, or characteristics associated with that embodiment or implementation are included in at least one embodiment of the present application. Therefore, the appearance of "in one embodiment," "in an embodiment," or "one possible implementation" throughout this specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0185] Finally, it should be noted that the above embodiments are intended only to illustrate the technical solutions of this application and are not intended to limit them. Although this application has been described in detail with reference to the aforementioned embodiments, those skilled in the art will appreciate that they may modify the technical solutions described in the aforementioned embodiments or replace some or all of the technical features therein with equivalents. However, such modifications or replacements do not deviate from the essence of the corresponding technical solutions within the scope of the various embodiments of this application.

Claims

1. A signal detection method, characterized in that: The method is applied to a device operating in a WiFi frequency band, where the WiFi frequency band is a frequency band indicated by a WiFi protocol; the device comprises a first transceiver unit, a second transceiver unit and a clock unit, where the first transceiver unit and the second transceiver unit are connected to the clock unit; The local oscillator LO of the first transceiver unit and / or the local oscillator LO of the second transceiver unit output a signal of a target frequency; the method comprises: Receive a first WiFi signal through the first transceiver unit, where the first WiFi signal comes from the second transceiver unit; Receive a second WiFi signal through the second transceiver unit, where the second WiFi signal comes from the first transceiver unit; Based on the phases of the first WiFi signal and the second WiFi signal, a phase difference between initial phases of signals transmitted by the first transceiver unit and the second transceiver unit is generated.

2. The method according to claim 1, characterized in that The method further comprises: Based on the phases of the first WiFi signal and the second WiFi signal, a first phase difference between the first WiFi signal and the second WiFi signal is generated; the first phase difference is used to generate a phase difference of the initial phase.

3. The method according to claim 2, characterized in that The first phase difference is twice the phase difference of the initial phase.

4. The method according to claim 2, characterized in that: The method further comprises: Receive a third WiFi signal through the first transceiver unit, where the third WiFi signal comes from the second transceiver unit; Receive a fourth WiFi signal through the second transceiver unit, where the fourth WiFi signal comes from the first transceiver unit; Based on the phases of the third WiFi signal and the fourth WiFi signal, a second phase difference between the third WiFi signal and the fourth WiFi signal is generated; the second phase difference is used to generate a phase difference of the initial phase.

5. The method according to claim 4, characterized in that The generating a phase difference between an initial phase of a signal transmitted by the first transceiver unit and the second transceiver unit comprises: A weighted average is performed on the first phase difference and the second phase difference to generate a third phase difference; the third phase difference is used to generate a phase difference of the initial phase, and the third phase difference is twice the phase difference of the initial phase.

6. A signal detection device, characterized in that: The device comprises a first transceiver unit, a second transceiver unit and a clock unit, wherein the first transceiver unit and the second transceiver unit are connected to the clock unit; the local oscillator LO of the first transceiver unit and / or the local oscillator LO of the second transceiver unit outputs a signal of a target frequency; The first transceiver unit is used to receive a first WiFi signal, and the first WiFi signal comes from the second transceiver unit; The second transceiver unit is used to receive a second WiFi signal, where the second WiFi signal comes from the first transceiver unit; and the device further includes: A generating unit is used to generate a phase difference between initial phases of signals transmitted by the first transceiver unit and the second transceiver unit based on phases of the first WiFi signal and the second WiFi signal.

7. The device according to claim 6, characterized in that The generating unit is further configured to generate a first phase difference between the first WiFi signal and the second WiFi signal based on the phases of the first WiFi signal and the second WiFi signal; the first phase difference is used to generate a phase difference of the initial phase.

8. The device according to claim 7, characterized in that The first phase difference is twice the phase difference of the initial phase.

9. The device according to claim 7, characterized in that The first transceiver unit is further used to receive a third WiFi signal, and the third WiFi signal comes from the second transceiver unit; The second transceiver unit is further used to receive a fourth WiFi signal, where the fourth WiFi signal comes from the first transceiver unit; The generating unit is further configured to generate a second phase difference between the third WiFi signal and the fourth WiFi signal based on the phases of the third WiFi signal and the fourth WiFi signal; the second phase difference is used to generate a phase difference of the initial phase.

10. The method according to claim 9, characterized in that The generating unit is specifically used for: The first phase difference and the second phase difference are weighted averaged to generate a third phase difference; the third phase difference is used to generate the The third phase difference is twice the phase difference of the initial phase.

11. A signal detection device, characterized in that: The signal detection device comprises a processor and a storage medium, wherein the storage medium stores instructions, and when the instructions are executed by the processor, the method according to any one of claims 1 to 5 is implemented.

12. A computer program product, characterized in that The computer program product comprises instructions, and when the instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Positioning system and positioning method thereof

    CN106707230A

  • Phase-based ranging

    CN113204016A

  • Distance measuring device and distance measuring method

    CN114258500A

  • Radar system, object detecting method and record medium

    JP2000111638A

  • Method of Using Average Phase Difference to Measure a Distance and Apparatus for the Same

    US20110292982A1