Signal detection method and related device

By processing the WiFi signals at the transmitting and receiving ends in the WiFi radar system, the phase difference of the initial phase is generated, which solves the problem of target information calculation deviation in the WiFi radar system and improves the detection accuracy.

CN119335474APending Publication Date: 2025-01-21HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310900970.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-21
Publication Date
2025-01-21

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 deviations in the calculation of target information, thereby reducing the detection of target objects. Accuracy.

Method used

In a device in the WiFi band, the first transceiver unit and the second transceiver unit are connected to the clock unit to receive and process the respective WiFi signals to generate the phase difference of the initial phase of the transmitted signal, thereby solving the accurate target object information.

Benefits of technology

This method can calculate the difference in initial phase between the transmitter and the receiver, improves the accuracy of target information, and improves the accuracy of detecting targets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119335474A_ABST
    Figure CN119335474A_ABST
Patent Text Reader

Abstract

A signal detection method and a related device can be applied to the field of signal detection. In the embodiment of the invention, the equipment comprises a first transceiving unit, a second transceiving unit and a clock unit. A first WiFi signal is received through the first transmit-receive unit, and the first WiFi signal is from the second transmit-receive unit. And then receiving a second WiFi signal through a second transceiver unit, wherein the second WiFi signal is from the first transceiver unit. The phase difference of the initial phases of the signals transmitted by the first transmitting-receiving unit and the second transmitting-receiving unit is generated based on the phases of the first WiFi signal and the second WiFi signal, so that the phase change of the echo signal caused by the target object is obtained, the accurate target object information is solved, and the precision of detecting the target object is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Wireless Fidelity (WiFi) wireless sensing technology mainly analyzes WiFi signals, infers the environment and / or human body during the propagation process, and obtains information such as direct distance, human movement, breathing and heartbeat. A radar-like device (called "WiFi radar") built based on WiFi devices can effectively obtain information such as the distance, speed and Doppler frequency deviation of the target to be measured.

[0003] "WiFi radar" usually includes two WiFi devices, such as WiFi device A and WiFi device B. Each WiFi device can send and receive WiFi signals. When device A transmits a signal to a target object, device B is in a state of receiving the reflected signal from the target object, thus forming the basic working principle of "WiFi radar".

[0004] Since the radar system calculates the target information based on the difference between the transmitted signal and the reflected signal of the target, it is necessary to establish the synchronization of the transmitter and the receiver by connecting the transmitter and the receiver to the same clock unit. However, every time the local oscillator (LO) of the transmitter and / or the receiver outputs a signal of a new frequency (for example, a signal of the target frequency), the initial phase of the transmitter and / or the receiver signal will change randomly, causing deviations in the calculation of the target information, which in turn leads to the problem of low accuracy in detecting the target. Summary of the invention

[0005] A signal detection method and related device provided in the embodiment of the present application can calculate the difference between the initial phases of the transmitting end and the receiving end, and then solve the accurate target object information to improve the accuracy of detecting the target object.

[0006] 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 outputs a signal of a target frequency; the method comprising:

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

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

[0009] 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.

[0010] 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 comprising 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 output 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 phase 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.

[0011] In the embodiment of the present application, the first WiFi signal can be understood as a WiFi signal transmitted by the second transceiver unit, and after the transmission, the first WiFi signal may have a different phase from 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, and after the transmission, the second WiFi signal may have a different phase from the initial signal transmitted by the first transceiver unit.

[0012] It is understandable that the phase of the first WiFi signal usually 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 usually 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.

[0013] In a possible implementation manner 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.

[0014] In the embodiment of the present application, based on the phase of the first WiFi signal and the second signal, a phase difference between the first WiFi signal and the second WiFi signal is generated. Since the phases of the first WiFi signal and the second WiFi signal both include phase changes caused by the influence of the target object, by generating the phase difference between the first WiFi signal and the second WiFi signal, the phase change caused by the influence of the target object can be offset. Therefore, the phase difference of the initial phase of the signal transmitted by the first transceiver unit and the second transceiver unit can be generated.

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

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

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

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

[0019] 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.

[0020] In the 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. Then, based on the phase 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, and the second phase difference is also used to generate the phase difference of the above initial phase.

[0021] 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:

[0022] 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.

[0023] In the embodiment of the present application, a third phase difference is generated by weighted averaging the first phase difference and the second phase difference, and the third phase difference is twice the phase difference of the initial phase.

[0024] It is understandable that the impact of the target object on the phase of the received WiFi signal is variable. Therefore, the above initial phase difference obtained by generating the first phase difference or the second phase difference will have a certain error due to the different targets that affect the transmission of the WiFi signal. The third phase difference is generated by weighted averaging the first phase difference and the second phase difference, and the error of the initial phase phase difference obtained according to the third phase difference is smaller. After obtaining the phase difference of the initial phase with a smaller error, combined with the received WiFi signal, a more accurate phase change caused by the target object can be obtained, and then more accurate target information can be calculated to improve the accuracy of detecting the target object.

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

[0026] Receiving N WiFi signals through the first transceiver unit, wherein the N WiFi signals come from the second transceiver unit;

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

[0028] Based on the ith WiFi signal among the N WiFi signals and the jth WiFi signal among the M WiFi signals, a kth phase difference is generated, and the kth phase difference is used to generate the phase difference of the initial signal. The ith WiFi signal and the jth 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. The phase differences of the multiple WiFi signals generated above are weighted averaged 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.

[0029] In an embodiment of the present application, the first transceiver unit receives N WiFi signals, the second transceiver unit receives M WiFi signals, and generates a plurality of phase differences of the WiFi signals received by the first transceiver unit and the second transceiver unit based on the N WiFi signals and the M WiFi signals. Then, a weighted average is performed 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 initial phase phase difference is smaller, and thus the accurate phase change caused by the target object can be obtained, thereby calculating the accurate target object information and improving the accuracy of detecting the target object.

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

[0031] 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, 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 outputs a signal of a target frequency; the first transceiver unit is used to receive a first WiFi signal, the first WiFi signal comes from the second transceiver unit; the second transceiver unit is used to receive a second WiFi signal, the second WiFi signal comes from the first transceiver unit; the device also includes:

[0032] 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.

[0033] In a possible implementation manner of the second aspect, the generating unit is further used 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.

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

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

[0036] The second transceiver unit is further used to receive a fourth WiFi signal, where the fourth WiFi signal comes from the first transceiver unit;

[0037] 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.

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

[0039] 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.

[0040] In a third aspect, an embodiment of the present application provides a signal detection device, wherein the communication device includes a processor. The processor is coupled to a memory and can be used to execute instructions in the memory to implement any aspect of the first aspect and any possible implementation method. Optionally, the communication device also includes a memory. Optionally, the communication device also includes a communication interface, and the processor is coupled to the communication interface.

[0041] In a fourth aspect, an embodiment of the present application provides a signal detection device, comprising: a logic circuit and a communication interface. The communication interface is used to receive information or send information; the logic circuit is used to receive information or send information through the communication interface, so that the communication device executes the method of any aspect of the first aspect and any possible implementation method.

[0042] 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.

[0043] In a sixth aspect, an embodiment of the present application provides a computer program product, comprising: a computer program (also referred to as code, or instructions); when the computer program is executed, the computer executes any aspect of the above-mentioned first aspect and any possible implementation method.

[0044] In a seventh aspect, an embodiment of the present application provides a chip, the chip including a processor, the processor being used to execute instructions, when the processor executes the instructions, the chip executes any aspect of the first aspect and any possible implementation method. Optionally, the chip also includes a communication interface, the communication interface being used to receive or send signals.

[0045] 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 a process in which the processor outputs information, and / or a process in which the processor receives 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.

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

[0047] Optionally, for the operations of transmitting, 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 descriptions, they can be more generally understood as operations such as processor output, reception and input.

[0048] 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 arranged on different chips. The embodiment of the present application does not limit the type of memory and the arrangement of the memory and the processor.

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

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

[0051] 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.

[0052] In the present 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.

[0053] 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

[0054] 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.

[0055] Figure 1 A schematic diagram of a scenario architecture provided for an embodiment of the present application;

[0056] Figure 2 A schematic diagram of the structure of a target device provided in an embodiment of the present application;

[0057] Figure 3 A schematic diagram of a transceiver unit provided in an embodiment of the present application;

[0058] Figure 4 A schematic diagram of a flow chart of a signal detection method provided in an embodiment of the present application;

[0059] Figure 5 A schematic diagram of the structure of a signal detection device provided in an embodiment of the present application;

[0060] Figure 6 A schematic diagram of the structure of a possible physical entity of the signal detection device provided in this application. DETAILED DESCRIPTION

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

[0062] For ease of understanding, the following exemplary descriptions of some concepts related to the embodiments of the present application are given for reference. As shown below:

[0063] 1. Clock unit.

[0064] The clock unit provided in the embodiment of the present application may be, for example, a crystal oscillator (Crystal Oscillator, XO). A crystal oscillator, also known as a crystal oscillator, can generate mechanical oscillations after power is turned on, and can provide a stable clock signal for the system. Usually, a system uses only one crystal oscillator to keep the various parts synchronized. There are also cases where the baseband unit and the radio frequency unit of some communication systems use different crystal oscillators.

[0065] 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).

[0066] The clock unit is usually used in conjunction with a local oscillator to provide the system with a required local oscillator signal. For example, the clock unit provides a clock signal to the local oscillator, and the local oscillator outputs a local oscillator signal according to the clock signal and provides it to the system.

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

[0068] The WiFi frequency band mentioned in the embodiments of the present application may be a frequency band indicated by the WiFi protocol. The WiFi protocol generally refers to the IEEE 802.11X series of standards, including: IEEE 802.11, IEEE 802.11a, IEEE 802.11b, IEEE802.11g, IEEE 802.11n, IEEE 802.11ac, IEEE 802.11ax and IEEE 802.11be, etc. Each standard has its corresponding WiFi version and indicated frequency band.

[0069] For example, the IEEE 802.11 standard released in 1997 corresponds to WiFi0, and the indicated frequency band is 2.4 GHz. The IEEE 802.11a standard released in 1999 corresponds to WiFi1, and the indicated frequency band is 5 GHz. The IEEE 802.11b standard released in 1999 corresponds to WiFi2, and the indicated frequency band is 2.4 GHz. The IEEE 802.11g standard released in 2003 corresponds to WiFi3, and the indicated frequency band is 2.4 GHz. The IEEE 802.11n standard released in 2009 corresponds to WiFi4, and the indicated frequency band is 2.4 GHz or 5 GHz. The IEEE 802.11ac version released in 2014 corresponds to WiFi5, and the indicated frequency band is 5 GHz. The IEEE 802.11ax standard released in 2019 corresponds to WiFi6, and the frequency band indicated is 2.4GHz or 5GHz. The IEEE 802.11be standard released in 2022 corresponds to WiFi7, and the frequency band indicated is 2.4GHz, 5GHz or 6GHz.

[0070] It should be noted that the WiFi frequency bands that can be used in the solution provided in the embodiment of the present application are not limited to the frequency bands listed above. With the development of technology, a WiFi frequency band may be discontinued, and a new frequency band may be determined 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 embodiment of the present application.

[0071] In order to facilitate understanding of the technical solution provided by the embodiment of the present application, the scenario architecture of the embodiment of the present application is first described exemplarily below.

[0072] See also Figure 1 , Figure 1 A schematic diagram of a scenario architecture provided for an embodiment of the present application. Figure 1The target device 101 and the target object 102 are included. 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), binary phase shift keying (BPSK), quadrature phase shift keying (QPSK), quadrature amplitude modulation (QAM), etc. The frequency band of the target signal can be a WiFi frequency band, for example, 2.4 GHz, 5 GHz, and 6 GHz.

[0073] The target object 102 may affect the target signal sent by the target device 101. For example, the target object 102 may affect one or more of the propagation direction, frequency, phase and power of the target signal. The target object 102 may be, for example, a human body, an animal, a plant, a vehicle, a building, and furniture. It should be noted that Figure 1 The target object 102 shown in the figure is a human body, which is only for illustration and does not constitute a limitation to the embodiments of the present application. For the convenience of description, the target objects in the subsequent introduction and illustrations are all described by taking the human body as an example.

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

[0075] Exemplarily, the target device 101 sends a target signal, which is affected by the target object 102, returns to the target device 101, and is received by the target device 101. The target device 101 analyzes and processes the received target signal to generate the characteristics of the target object 102. For example, by analyzing the phase change of the target signal, the speed and micromotion of the target object 102 can be calculated. By analyzing the frequency (Doppler) of the target signal, the motion state of the target object 102 can be calculated. It can be understood that since the target signal sent by the target device 101 is affected by the target object 102, the target signal received by the target device 101 is usually different from the target signal sent by the target device 101.

[0076] The micro-motion in the embodiments of the present application includes the following situations:

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

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

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

[0080] The first threshold may be, for example, 1 mm, 1 cm, or 10 cm. In this case, the target object may be the position where the deformation degree is the largest when the object is deformed. The deformed object may be, for example, a sofa, a bed, a floor, a building, or a tire.

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

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

[0083] 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 chest rise and fall of a human body or to monitor the movement range 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 feedback the chest rise and fall of family members. When the target device 101 is placed in a hospital, it can be placed in a suitable position in the ward to monitor the patient's chest rise and fall and micro-movement of the limbs. Combined with a prompt device, the patient's condition can be fed back 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, the movement of the jewelry can be fed back to the security personnel.

[0084] Figure 2 A schematic diagram of a target device provided in an embodiment of the present application is shown below. Figure 2 The working principle of the target device 101 is introduced exemplarily.

[0085] See also Figure 2 , Figure 2The target device 101 and the target object 102 are included, wherein 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.

[0086] 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 functions of the processor 204 include one or more of the following: used to provide the first transceiver unit 201 and / or the second transceiver unit 202 with a signal to be transmitted, process the signal received by the first transceiver unit 201 and / or the second transceiver unit 202, or control 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 function of receiving and transmitting signals of the first transceiver unit 201. The second transmitting interface 221 and the second receiving interface 222 are used to implement the function of receiving and transmitting signals of the second transceiver unit 202. The first local oscillator 213 is used to cooperate with the clock unit 203 to generate a local oscillator signal of the first transceiver unit 201, and the second local oscillator 223 is used to cooperate with the clock unit 203 to generate a local oscillator signal of 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.

[0087] The connection relationship between the units inside the target device 101 is that 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 obtain the same clock signal to ensure the synchronicity 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 connected to the processor 204.

[0088] Next, Figure 2 Taking the target device 101 as an example, the working principle of detecting the target object 102 is introduced exemplarily.

[0089] In a 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 .

[0090] 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, etc. The target signal may also be, for example, a WiFi signal packet.

[0091] The first transceiver unit 201 and the second transceiver unit 202 may transmit and receive signals in time division. Time division means that the transmission and reception of signals are performed in time periods. For example, the first transceiver unit 201 may transmit signals from the first moment to the second moment, and receive signals from the second moment to the third moment. However, it is not possible to receive and transmit signals at the same time.

[0092] For example, in combination 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 transmitting interface 211, and the second antenna 224 in the second transceiver unit 202 is connected to the second receiving interface 222. The first transceiver unit 201 sends a target signal through the first transceiver antenna 214, and the target signal affected by the target object 102 is received by the second antenna 224 and sent to the processor 204. The processor 204 generates the characteristics of the target object 102 by processing and analyzing the received target signal. Exemplarily, the target object 102 can be a human body, and the processor 204 can generate a schematic diagram of the rise and fall of the human chest through analysis.

[0093] The 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 of the received target signal. Exemplarily, by sampling the received target signal, one or more of the phase change, the frequency change, or the power change is analyzed. The received target signal may not be demodulated, and the original information of the received target signal may not be restored.

[0094] 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 .

[0095] 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.

[0096] In order to more comprehensively demonstrate the working principle of the target device 101, Figure 3The internal structure of the first transceiver unit 201 is introduced as an example. Since the internal structures of the first transceiver unit 201 and the second transceiver unit 202 are similar, the internal structure of the second transceiver unit 202 refers to the description of the first transceiver unit 201 .

[0097] Figure 3 A schematic diagram of a transceiver unit provided in an embodiment of the present application is used to illustrate the working principle of the first transceiver unit. Figure 3 As shown, 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, etc.

[0098] The internal connection relationship of the first transceiver unit 201 can be that the first port of the DAC is used to receive the signal of 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 transmitting interface 211. The first port of the ADC is used to output a signal 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 receiving interface 212. The input port of the first local oscillator 213 is connected to the output port of the clock unit 203, and the output port of the second local oscillator 223 is respectively connected to the third port of the first mixer and the third port of the second mixer. The first transceiver antenna 214 is connected to the first transmitting interface 211 or the first receiving interface 212 through a switch device, and the switch device can be, for example, a single-pole double-throw switch or a radio frequency switch.

[0099] When the first transceiver unit 201 is used to transmit a signal, the 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 performs power amplification on 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.

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

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

[0102] Need to explain, Figure 3 The schematic diagram of the first transceiver unit 201 is exemplarily shown in the embodiment of the present application and does not constitute a limitation on the embodiment of the present application.

[0103] Normally, when the local oscillators of the first transceiver unit 201 and the second transceiver unit 202 generate a local oscillator signal 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 change caused by the target object 102 cannot be accurately calculated, and the speed and micro-motion path of the target object 102 will also be deviated, resulting in low detection accuracy of the target device 101, inaccurate detection results, and other problems.

[0104] 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, so as 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.

[0105] For example, in combination Figure 2 For a schematic diagram of the structure, see Figure 4 , exemplarily shows a flow chart of a signal detection method provided in an embodiment of the present application. The method includes but is not limited to the following steps:

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

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

[0108] For example, in combination Figure 2 , the first transceiver unit may be, for example, Figure 2 In the first transceiver unit 201 shown in FIG, the modulation mode of the first target signal may be, for example, CCK modulation mode, BPSK modulation mode, QPSK modulation mode, QAM and FMCW, etc. The frequency band of the first target signal may be, for example, 2.4 GHz, 5 GHz and 6 GHz, etc. The first target signal may also be, for example, a WiFi signal packet.

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

[0110] In a possible implementation, the first target signal may be a signal transmitted by the second transceiver unit, which is affected by the 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 the target object to obtain the second target signal. The target object may be, for example, Figure 2 The target object 102 is shown in FIG.

[0111] In a 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.

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

[0113] Exemplarily, 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 after a first preset time, and the second transceiver unit is controlled to transmit a signal. The first preset time may be, for example, 0ms, 1ms, or 10ms.

[0114] The first transceiver unit enters the signal receiving state, combined with Figure 2 For example, the first transceiver antenna 214 of the first transceiver unit 201 may be connected to the first receiving interface 212 via a switch device.

[0115] The second transceiver unit transmits a signal, combined with Figure 2 For example, the second antenna 224 of the second transceiver unit 202 may be connected to the second transmitting interface 221 through a switch device.

[0116] Exemplarily, after the first preset time length of the local oscillator of the first transceiver unit and / or the second transceiver unit generating a signal of the target frequency, the first transceiver unit is controlled to enter a signal receiving state, and after the second preset time length, 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 time length is greater than the second preset time length. For example, when the first preset time length is 1ms, the second preset time length is less than 1ms. The second preset time length may be, for example, 0ms or 0.5ms.

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

[0118] Exemplarily, the first transceiver unit and / or the second transceiver unit are used to provide a WiFi signal to the terminal device, so that the terminal device can communicate with other terminal devices through 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.

[0119] In a possible implementation, during the interval when the first transceiver unit and / or the second transceiver unit provides the WiFi signal to the terminal device, the first transceiver unit is controlled to enter the signal receiving state, and the second transceiver unit is controlled to transmit the signal. Exemplarily, as shown below:

[0120] 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 time after the local oscillator of the first transceiver unit and / or the second transceiver unit generates a signal of a target frequency. The first preset time may be, for example, the time taken by a time slice of the first transceiver unit for WiFi communication, and the time taken by a time slice may be, for example, 100us, 1ms, or 10ms.

[0121] 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.

[0122] The first transceiver unit transmits a signal, combined with Figure 2 For example, the first transceiver antenna 214 of the first transceiver unit 201 may be connected to the first transmitting interface 211 through a switch device.

[0123] The second transceiver unit enters the signal receiving state, combined with Figure 2For example, the second antenna 224 of the second transceiver unit 202 may be connected to the second receiving interface 222 via a switch device.

[0124] 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 of a target frequency, it is considered that the first transceiver unit has completed the operation of receiving the first target signal. Otherwise, it is considered that the first transceiver unit has failed to receive the signal, and subsequent related operations are terminated, and steps S401 and S402 are re-executed.

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

[0126] In a possible implementation, the first transceiver unit 201 receives the signal and the second transceiver unit 202 transmits the signal. The switching to the first transceiver unit 201 transmitting the signal and the second transceiver unit 202 receiving the signal may be an operation performed continuously for a period of time.

[0127] Exemplarily, the first transceiver unit 201 receives a signal and the second transceiver unit 202 transmits a signal at a first preset time after the first local oscillator 213 generates a signal of a target frequency. The first transceiver unit 201 transmits a signal and the second transceiver unit 202 receives a signal at a second preset time after the first transceiver unit 201 receives the signal. The first preset time may be, for example, 100 us, 1 ms, or 10 ms. The second preset time may be, for example, 100 us, 1 ms, or 10 ms.

[0128] It can be understood 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 smaller the target time interval. The lower the frequency bands of the first target signal and the second target signal, the larger the target time interval.

[0129] In a 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 a signal, and the second transceiver unit may be controlled to receive a signal. After the second transceiver unit completes signal reception, the first transceiver unit may be controlled to receive a signal, and the second transceiver unit may be controlled to transmit a signal.

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

[0131] 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 a target frequency) so that the first transceiver unit and / or the second transceiver unit can operate in the new channel. Exemplarily, 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. Among them, the center frequency of the first frequency band can be 2.4GHz, the center frequency of the second frequency band can be 2.42GHz, and the bandwidth of the first frequency band and the second frequency band can be 50MHz, for example. 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 that the frequency of the local oscillator signal generated by the local oscillator is 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 above channel switching can be a signal of the target frequency. Therefore, in another possible implementation, when it is detected that the first transceiver unit and / or the second transceiver unit completes the channel switching, the first transceiver unit is controlled to enter a signal receiving state, and the second transceiver unit is controlled to transmit a signal. For the specific implementation of this solution, please refer to the corresponding content above, which will not be repeated here.

[0132] 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.

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

[0134] 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 phases of the first target signal and the second target signal at the same time. For ease of description, the phase of the first target signal may be referred to as the first phase κ1, and the phase of the second target signal may be referred to as the second phase κ2, wherein κ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 second transceiver unit transmits the signal with an initial phase of The first target signal received by the first transceiver unit is affected by the target object, resulting in a phase change of the first change phase ω1, and the second target signal received by the second transceiver unit is affected by the target object, resulting in a phase change of the second change phase ω2. The first phase can be expressed as The second phase can be represented by To express.

[0135] For example, the first phase is subtracted from the second phase to obtain a phase difference between the first phase and the second phase. 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 by (κ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 smaller 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 expressed by (κ1-κ2) / 2 is. The greater the error that exists.

[0136] 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.

[0137] The above-mentioned target object refers to an object that affects the signal transmitted by the first transceiver unit or the second transceiver unit, such as a human body, an animal, a plant, a vehicle, a building, and furniture. For a detailed introduction, please refer to the above Figure 1 Introduction to target object 102.

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

[0139] The target signals received by the first transceiver unit and the second transceiver unit may be, in sequence, 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.

[0140] 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, respectively, to exemplarily introduce 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 .

[0141] 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, and 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 third phase difference λ3 can be generated by weighted averaging the first phase difference and the second phase difference. 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 .

[0142] This solution generates a second phase difference by acquiring a third target signal and a fourth target signal. The method of weighted averaging the first phase difference and the second phase difference to generate the initial signal phase difference can reduce the error in the generated initial signal phase difference caused by the different target objects that affect the WiFi signal transmission, and improve the accuracy of the generated initial signal phase difference. When a more accurate initial signal phase difference is generated, combined with the received target signal, the accurate phase change caused by the target object can also be obtained, and more accurate target object information can be calculated.

[0143] Exemplarily, at a first preset time 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 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 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 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.

[0144] 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 successively received by the first transceiver unit and the second transceiver unit. Among them, 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.

[0145] 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 in 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 in which any one of the M signals is received discontinuously.

[0146] In the case where the i-th target signal among the above-mentioned N target signals and the j-th target signal among the above-mentioned M target signals are successively received target signals, the k-th phase difference can be generated according to the i-th target signal and the j-th target signal. For the method of generating the k-th phase difference, please refer to the above-mentioned method of generating the first phase difference, which will not be repeated here. Based on the above-mentioned received N WiFi signals and M WiFi signals, multiple phase differences can be generated. For the method of generating any one of the multiple phase differences, please refer to the above-mentioned introduction to generating the k-th phase difference, which will not be repeated here.

[0147] In a possible implementation, the above-mentioned multiple phase differences are weighted averaged to generate a target phase difference. According to the target phase difference, the phase difference of the initial phase of the signal transmitted by the above-mentioned first transceiver unit and the second transceiver unit is generated. Exemplarily, the target phase difference is twice the phase difference of the initial phase.

[0148] Since the solution generates the target phase difference by weighted average of multiple phase differences, and then generates the phase difference of the initial phase by the target phase difference, it is possible to reduce the error of the phase difference of the initial phase as much as possible, and then accurately calculate the phase change caused by the target object, accurately solve the target object information, and improve the accuracy of detecting the target object.

[0149] 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 exceed the scope of the present application.

[0150] 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 module 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. There may be other division methods in actual implementation.

[0151] In the case of dividing each functional module according to each function, the embodiment of the present application also provides a device for implementing any of the above methods, for example, a device is provided including units (or means) for implementing each step in any of the above methods.

[0152] For example, see Figure 5 , is a structural schematic diagram of a signal detection device provided in an embodiment of the present application. Figure 5 The signal detection device 500 shown may be a signal detection device for implementing any embodiment of the above 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. Wherein:

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

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

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

[0156] 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 phases of the first WiFi signal and the second WiFi signal.

[0157] 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 a phase difference of the initial phase.

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

[0159] In another possible implementation manner, 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;

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

[0161] 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 a phase difference of the initial phase.

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

[0163] 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.

[0164] Figure 5 The specific operation and beneficial effects of each unit in the signal detection device 500 can be found in the above Figure 4 The corresponding descriptions in possible embodiments thereof will not be repeated here.

[0165] It should be understood that the division of the 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 realize the functions of the 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 in 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 realized 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), and the functions of some or all of the above units are realized by designing the logical relationship of the components in the circuit. For example, in another implementation, the hardware circuit can be implemented by a programmable logic device (PLD), taking a field programmable gate array (FPGA) as an example, which can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured by a configuration file, so as to realize the functions of some or all of the above units. All units of the above device can be implemented in the form of a processor calling software, or in the form of a hardware circuit, or in part in the form of a processor calling software, and the rest in the form of a hardware circuit.

[0166] In an embodiment of the present application, a processor is a circuit with data processing capability. In one implementation, the processor may be a circuit with instruction reading and running capability, such as a CPU, a microprocessor, a graphics processing unit (GPU) (which may be understood as a microprocessor), or a digital signal processor (DSP). In another implementation, the processor may implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit may be 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 hardware circuit configuration process, which may 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 may also be a hardware circuit designed for artificial intelligence, which may 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.

[0167] 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.

[0168] In addition, all or part of the units in the above device can be 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 each unit of the device. The type of the at least one processor may be different, for example, including a CPU and an FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.

[0169] For example, see Figure 6 , which is a schematic diagram of a possible physical entity structure of the signal detection device provided by the present application. Figure 6The present invention provides a signal detection device according to an embodiment of the present invention, which may be a network device or a device for a network device. The device for a network device may be a chip system or a chip in a network device. The chip system may be composed of a chip, or may 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 may be interconnected or connected to each other through a bus 604.

[0170] Exemplarily, the memory 602 is used for computer programs and data of the signal detection device 600, and 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 (compact disc read-only memory, CD-ROM), etc.

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

[0172] 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 complete other functions described in the method embodiment (such as the function of receiving or sending data).

[0173] There may be multiple communication interfaces 603 for supporting the signal detection device 600 to communicate, such as receiving or sending data or signals.

[0174] 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 forms. The processor 601 may be used to read the program stored in the memory 602, execute the program, and so on. Figure 4 And the operations performed by the signal detection device in possible embodiments thereof.

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

[0176] The present application also provides a chip, which includes a processor and a memory. The memory is used to store computer programs or computer instructions, and the processor is used to execute the computer programs or computer instructions stored in the memory, so that the chip executes the above Figure 4 And the operations performed by the signal detection device in possible embodiments thereof.

[0177] The present application also provides a computer-readable storage medium, which stores a computer program or computer instructions, which is executed by a processor to implement the above Figure 4 And the method implemented by the signal detection device in possible embodiments thereof.

[0178] The present application also provides a computer program product. When the computer program product is read and executed by a computer, the above Figure 4 The method implemented by the signal detection device in its possible embodiment will be executed.

[0179] In this application, the terms "first", "second", etc. are used to distinguish between identical or similar items with substantially the same effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there a limitation on the quantity and execution order. It should also be understood that although the following description uses the terms first, second, etc. to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another element.

[0180] 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.

[0181] It should 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.

[0182] It should also be understood that the references to "one embodiment", "an embodiment", or "a possible implementation" throughout the specification mean that specific features, structures, or characteristics related to the embodiment or implementation are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment", or "a possible implementation" throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0183] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the above embodiments can still be modified, or some or all of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present 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: 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.

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.