Detection device, controller, dynamic network matching calibration method and terminal equipment

By introducing a dynamic network matching calibration method in a single-chip WIFI radar, the antenna end crosstalk is used to cancel the chip end crosstalk signal, and the problem of poor performance of WIFI radar in the prior art is solved, and higher detection accuracy and signal purification are achieved Spend.

CN119439062APending Publication Date: 2025-02-14HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310951107.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-29
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

The existing single-chip WIFI radar has poor performance and is difficult to effectively eliminate crosstalk signals at the chip end, affecting detection accuracy.

Method used

By introducing a dynamic network matching calibration method in the detection device, the crosstalk signal of the receiving antenna is cancelled by transmitting antenna crosstalk, and the configuration of the first network and the second network is adjusted to satisfy the crosstalk cancellation conditions.

Benefits of technology

It effectively improves the performance of the single-chip WIFI radar, reduces the impact of crosstalk signals on the detection device, and improves the purity and detection accuracy of the signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119439062A_ABST
    Figure CN119439062A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a detection device, a controller, a dynamic network matching calibration method and terminal equipment. The detection device comprises a transmitter, a receiver, a first network, a first antenna and a second antenna, the transmitter is coupled with a first network, the first network is coupled with a first antenna, and the receiver is coupled with a second antenna; the transmitter is used for outputting a first signal to a first network; the first network is used for at least performing first signal processing on the first signal to obtain a second signal and outputting the second signal to the first antenna, and the first signal processing comprises adjusting the phase of the first signal, so that the output second signal is subjected to crosstalk from the first antenna to a first crosstalk signal of the second antenna; a second crosstalk signal crosstalk with the transmitter to the receiver satisfies a crosstalk cancellation condition; the first antenna is used for transmitting a second signal; the second antenna is used for outputting a received third signal to the receiver, and the third signal corresponds to the signal transmitted by the first antenna; the performance of the detection device can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of detection, and in particular to a detection device, a controller, a dynamic network matching calibration method, and a terminal device. Background Art

[0002] WIFI radar, as the name implies, uses radar architecture, characterized by the transmitter (transmitter, Tx) and receiver (receiver, Rx) being turned on at the same time, that is, the transmitter and receiver work at the same time. WIFI radar is currently gaining more and more attention.

[0003] At present, existing WIFI radars often adopt the product form of dual WIFI chips, with Tx deployed on one WIFI chip and Rx deployed on the other WIFI chip. Single-chip WIFI radars have significant cost advantages over dual-chip WIFI radars. However, the performance of existing single-chip WIFI radars is poor, so it is necessary to study single-chip WIFI radars with better performance. Summary of the invention

[0004] The embodiments of the present application disclose a detection device, a controller, a dynamic network matching calibration method, and a terminal device, which can improve the performance of a single-chip WIFI radar by utilizing the crosstalk signal from the transmitting antenna to the receiving antenna to offset the crosstalk signal from the transmitter to the receiver.

[0005] In the first aspect, an embodiment of the present application provides a detection device, which includes: a transmitter, a receiver, a first network, a first antenna, and a second antenna; the transmitter is coupled to the first network, the first network is coupled to the first antenna, and the receiver is coupled to the second antenna; the transmitter is used to output a first signal to the first network; the first network is used to perform at least a first signal processing on the first signal to obtain a second signal, and output the second signal to the first antenna, and the first signal processing includes adjusting the phase of the first signal so that the output second signal crosstalks from the first antenna to the second antenna. The first crosstalk signal and the second crosstalk signal crosstalk from the transmitter to the receiver meet the crosstalk elimination condition; the first antenna is used to transmit the second signal; the second antenna is used to output the received third signal to the receiver, and the third signal corresponds to the signal transmitted by the first antenna. Exemplarily, the first crosstalk signal may include a direct path crosstalk signal transmitted by the first antenna and directly received by the second antenna, and a coupled crosstalk signal between the feeder of the first antenna and the second antenna. The second crosstalk signal can be understood as a crosstalk signal from the transmitter directly received by the receiver. Exemplarily, the second crosstalk signal may include: a coupled crosstalk signal of the detection device in the radio frequency and intermediate frequency parts, and a coupled crosstalk signal between chip pins in the detection device. Exemplarily, the transmitter and the receiver are located on the same chip, and the chip also includes a controller, which is coupled to the transmitter and the receiver respectively. Optionally, the controller is coupled to the first network.

[0006] In an embodiment of the present application, the first crosstalk signal of the second signal output by the first network from the first antenna crosstalks to the second antenna, and the second crosstalk signal from the transmitter crosstalks to the receiver meet the crosstalk cancellation condition, that is, the first crosstalk signal cancels part or all of the second crosstalk signal (that is, eliminates the crosstalk), which can improve the performance of the detection device.

[0007] In a possible implementation manner, satisfying the crosstalk cancellation condition includes: a phase difference of the first crosstalk signal and a phase difference of the second crosstalk signal by 180 degrees.

[0008] When the phase of the first crosstalk signal differs by 180 degrees from that of the second crosstalk signal, the first crosstalk signal and the second crosstalk signal will partially or completely cancel each other (ie eliminate crosstalk), which can reduce the impact of the crosstalk signal on the detection device receiving and transmitting signals.

[0009] In a possible implementation manner, a phase of the first crosstalk signal is equal to a sum of a phase of the second signal and a phase shift caused by crosstalk of the second signal from the first antenna to the second antenna.

[0010] In a possible implementation, satisfying the crosstalk elimination condition further includes: a ratio of the amplitude of the first crosstalk signal to the amplitude of the second crosstalk signal is less than a first threshold. Exemplarily, the first threshold is 3dB, 4dB, 5dB, 6dB, 8dB, etc. For example, the ratio of the amplitude of the first crosstalk signal to the amplitude of the second crosstalk signal is equal to 1, that is, the amplitude of the first crosstalk signal is equal to the amplitude of the second crosstalk signal.

[0011] In this implementation, the ratio of the amplitude of the first crosstalk signal to the amplitude of the second crosstalk signal is less than the first threshold. After the first crosstalk signal cancels the second crosstalk information, the remaining crosstalk signal is weak; this can prevent the remaining crosstalk signal from seriously affecting the performance of the detection device.

[0012] In a possible implementation, satisfying the crosstalk elimination condition further includes: a ratio of the amplitude of the first crosstalk signal to the amplitude of the second crosstalk signal is greater than or equal to a second threshold. The second threshold may be less than the first threshold. Exemplarily, the second threshold is 3dB, 4dB, or 5dB. For example, the first threshold is 3dB and the second threshold is 5dB. For another example, the first threshold is 5dB and the second threshold is 6dB.

[0013] In a possible implementation, the detection device also includes a second network; the coupling of the receiver and the second antenna includes: the receiver is coupled to the second network, and the second network is coupled to the second antenna; the second antenna is specifically used to output the received third signal to the second network, and the third signal includes the first crosstalk signal; the second network is used to perform at least second signal processing on the third signal to obtain a fourth signal, and output the fourth signal to the receiver, and the second signal processing includes adjusting the phase and / or amplitude of the third signal; satisfying the crosstalk elimination condition includes: the phase of the second crosstalk signal differs by 180 degrees from the phase of the third crosstalk signal, and the third crosstalk signal is the crosstalk signal output by the second network after performing the second signal processing on the first crosstalk signal.

[0014] In this implementation, the phase of the second crosstalk signal differs from that of the third crosstalk signal by 180 degrees, and the third crosstalk signal offsets part or all of the second crosstalk signal, thereby improving the performance of the detection device.

[0015] In a possible implementation, satisfying the crosstalk elimination condition further includes: a ratio of the amplitude of the third crosstalk signal to the amplitude of the second crosstalk signal is less than a first threshold. Exemplarily, the first threshold is 3dB, 4dB, 5dB, 6dB, 8dB, etc. For example, the ratio of the amplitude of the third crosstalk signal to the amplitude of the second crosstalk signal is equal to 1, that is, the amplitude of the first crosstalk signal is equal to the amplitude of the second crosstalk signal.

[0016] In this implementation, the ratio of the amplitude of the third crosstalk signal to the amplitude of the second crosstalk signal is less than the first threshold. After the third crosstalk signal cancels the second crosstalk information, the remaining crosstalk signal is weak; this can prevent the remaining crosstalk signal from seriously affecting the performance of the detection device.

[0017] In a possible implementation, satisfying the crosstalk elimination condition further includes: a ratio of the amplitude of the third crosstalk signal to the amplitude of the second crosstalk signal is greater than or equal to a second threshold. The second threshold may be less than the first threshold. Exemplarily, the second threshold is 3dB, 4dB, or 5dB. For example, the first threshold is 3dB and the second threshold is 5dB. For another example, the first threshold is 5dB and the second threshold is 6dB.

[0018] In a possible implementation, the phase of the third crosstalk signal is equal to the sum of the phase of the second signal, the phase shift caused by the crosstalk of the second signal from the first antenna to the second antenna, and the phase shift adjusted by the second network to its input signal.

[0019] In a possible implementation manner, the detection device further includes a controller, which is coupled to the first network; and the controller is used to adjust the configuration of the first network.

[0020] In this implementation, the controller is used to adjust the configuration of the first network. By adjusting the configuration of the first network, the crosstalk signal from the first antenna to the second antenna output by the first network under different environments and the crosstalk signal from the transmitter to the receiver can meet the crosstalk elimination condition.

[0021] In a possible implementation, the first network includes a detector and a plurality of adjustable components, wherein the plurality of adjustable components include one or more of an adjustable capacitor, an adjustable inductor, an adjustable resistor, or an adjustable microwave circuit having adjustable capacitor, inductor, or resistor properties. For example, the first network includes a detector and five or more adjustable capacitors.

[0022] In one possible implementation, the first network performs at least the first signal processing on the first signal, including: when the detection device is in a radar mode (which may be called a WIFI radar mode), the first network performs at least the first signal processing on the first signal under a first configuration; the first network is also used to adjust the phase and / or amplitude of its input signal under a second configuration when the detection device is in a communication transmission mode or a communication reception mode; the first configuration and the second configuration are different.

[0023] In this implementation, the first network adjusts the phase and / or amplitude of its input signal in a first configuration when the detection device is in radar mode; and adjusts the phase and / or amplitude of its input signal in a second configuration when the detection device is in communication transmission mode or communication reception mode; the performance of the detection device in different modes can be guaranteed.

[0024] In a possible implementation, the detection device further includes a controller and one or more switches; the controller is used to switch the working mode of the detection device by controlling the opening and closing of the one or more switches.

[0025] In this implementation, the controller can conveniently switch the working mode of the detection device by controlling the opening and closing of one or more switches. Switching the working mode of the detection device includes: switching from radar mode to communication transmission mode, switching from communication transmission mode to radar mode, switching from radar mode to communication reception mode, switching from communication reception mode to radar mode, switching from communication transmission mode to communication reception mode, and switching from communication reception mode to communication transmission mode. Exemplarily, one or more switches may include a single-pole double-throw switch and a single-pole single-throw switch.

[0026] In a possible implementation, the detection device further includes a controller, the controller is coupled to the first network; the controller is used to send first control information to the first network; the first network is used to adjust its configuration to a first configuration based on the first control information; the controller is also used to obtain a first direct path power of the detection device when the configuration of the first network is the first configuration; when the first direct path power is less than or equal to a first preset value, the first configuration is stored, the first configuration being the configuration of the first network when the detection device is in radar mode. Exemplarily, the first direct path power is the direct path power when the detection device is in radar mode and the configuration of the first network is the first configuration.

[0027] In this implementation, when the first direct path power is less than or equal to a first preset value, the first configuration is stored so that when the first network adopts the first configuration, the crosstalk signal can be eliminated.

[0028] In a possible implementation, the controller is further configured to send second control information to the first network; the first network is configured to adjust its configuration to a second configuration based on the second control information; the controller is further configured to obtain the return power of the detection device when the configuration of the first network is the second configuration; when the return power is less than or equal to a second preset value, the second configuration is stored, and the second configuration is the configuration of the first network when the detection device is in the communication mode. The return power may be the return power of the detection device in the communication mode.

[0029] In this implementation, when the return power is less than or equal to the second preset value, the second configuration is stored; this allows the detection device to have a better matching effect between the first antenna and the second antenna when the configuration of the first network is the second configuration.

[0030] In a possible implementation, the coupling of the receiver with the second antenna includes: the receiver is coupled with a second network, the second network is coupled with the second antenna, the controller is coupled with the second network, the output signal of the receiver is the input signal of the second network, the second network is used to adjust the amplitude and / or phase of its input signal, and the output signal of the second network is output to the second antenna; the controller is used to send third control information to the second network, the third control information is used to adjust the configuration of the second network to the third configuration; the second network is used to adjust its configuration to the third configuration based on the third control information; the controller is also used to obtain the second direct path power of the detection device when the configuration of the second network is the third configuration; when the second direct path power is greater than or equal to the third preset value, the third configuration is stored, and the third configuration is the configuration of the second network when the detection device is in radar mode. Exemplarily, the second direct path power is the direct path power when the detection device is in radar mode and the configuration of the second network is the third configuration.

[0031] In this implementation, when the second direct path power is greater than or equal to the third preset value, the third configuration is stored; this allows the detection device to have a better matching effect between the first antenna and the second antenna when the second network is configured as the third configuration.

[0032] In one possible implementation, when the detection device is in a communication transmission mode, the transmitter is coupled to the first network; the transmitter is used to output a fifth signal to the first network; the first network is used to perform at least a third signal processing on the fifth signal to obtain a sixth signal, and output the sixth signal to the first antenna, and the third signal processing includes adjusting the phase and / or amplitude of the fifth signal; the first antenna is used to transmit the sixth signal; when the detection device is in a communication reception mode, the receiver is coupled to the first network; the first antenna is used to output the received seventh signal to the first network; the first network is used to perform at least a fourth signal processing on the seventh signal to obtain an eighth signal, and output the eighth signal to the receiver, and the fourth signal processing includes adjusting the phase and / or amplitude of the seventh signal.

[0033] In this implementation, the detection device can conveniently switch between the communication transmission mode and the communication reception mode.

[0034] In a second aspect, an embodiment of the present application provides a controller, wherein the controller is coupled to a transmitter and a receiver, respectively, the transmitter is coupled to a first network, the first network is coupled to a first antenna, the receiver is coupled to a second antenna, the controller is coupled to the first network, the output signal of the transmitter is an input signal of the first network, the first network is used to adjust the amplitude and / or phase of its input signal, and the output signal of the first network is output to the first antenna; the controller is used to send first control information to the first network, the first control information is used to adjust the configuration of the first network to a first configuration; obtain a first direct path power of a detection device to which the first network belongs when the configuration of the first network is the first configuration; when the first direct path power is less than or equal to a first preset value, store the first configuration, the first configuration being the configuration of the first network when the detection device is in radar mode.

[0035] In the embodiment of the present application, when the first direct path power is less than or equal to the first preset value, the first configuration is stored so that when the first network adopts the first configuration, the crosstalk signal can be eliminated.

[0036] In a possible implementation, the controller is further configured to send second control information to the first network, the second control information being used to adjust the configuration of the first network to a second configuration; obtain the return power of the detection device when the configuration of the first network is the second configuration; and store the second configuration when the return power is less than or equal to a second preset value, the second configuration being the configuration of the first network when the detection device is in a communication mode. The return power may be the return power of the detection device in the communication mode.

[0037] In this implementation, when the return power is less than or equal to the second preset value, the second configuration is stored; this allows the detection device to have a better matching effect between the first antenna and the second antenna when the configuration of the first network is the second configuration.

[0038] In a possible implementation, the coupling of the receiver with the second antenna includes: the receiver is coupled with a second network, the second network is coupled with the second antenna, the controller is coupled with the second network, the output signal of the receiver is the input signal of the second network, the second network is used to adjust the amplitude and / or phase of its input signal, and the output signal of the second network is output to the second antenna; the controller is also used to send third control information to the second network, the third control information is used to adjust the configuration of the second network to a third configuration; obtain the second direct path power of the detection device when the configuration of the second network is the third configuration; when the second direct path power is greater than or equal to a third preset value, store the third configuration, the third configuration is the configuration of the second network when the detection device is in radar mode. Exemplarily, the second direct path power is the direct path power when the detection device is in radar mode and the configuration of the second network is the third configuration.

[0039] In this implementation, when the second direct path power is greater than or equal to the third preset value, the third configuration is stored; this allows the detection device to have a better matching effect between the first antenna and the second antenna when the second network is configured as the third configuration.

[0040] In a possible implementation, the controller is further used to send a first configuration signal to the first network when the detection device is in a radar mode, and the first configuration signal is used to adjust the configuration of the first network to the first configuration; when the detection device is in a communication transmission mode or a communication reception mode, send a second configuration signal to the first network, and the second configuration signal is used to adjust the configuration of the first network to a second configuration, and the first configuration and the second configuration are different.

[0041] In a third aspect, an embodiment of the present application provides a dynamic network matching calibration method, which is applied to a controller, wherein the controller is coupled to a transmitter and a receiver respectively, the transmitter is coupled to a first network, the first network is coupled to a first antenna, the receiver is coupled to a second antenna, the controller is coupled to the first network, the output signal of the transmitter is the input signal of the first network, the first network is used to adjust the amplitude and / or phase of its input signal, and the output signal of the first network is output to the first antenna; the method includes: the controller sends first control information to the first network, and the first control information is used to adjust the configuration of the first network to a first configuration; the controller obtains a first direct path power of a detection device to which the first network belongs when the configuration of the first network is the first configuration; the controller stores the first configuration when the first direct path power is less than or equal to a first preset value.

[0042] In the embodiment of the present application, when the first direct path power is less than or equal to the first preset value, the first configuration is stored so that when the first network adopts the first configuration, the crosstalk signal can be eliminated.

[0043] In a possible implementation, the method further includes: the controller sending second control information to the first network, the second control information being used to adjust the configuration of the first network to a second configuration; obtaining the return power of the detection device when the configuration of the first network is the second configuration; and storing the second configuration when the return power is less than or equal to a second preset value, the second configuration being the configuration of the first network when the detection device is in a communication mode. The return power may be the return power of the detection device in the communication mode.

[0044] In this implementation, when the return power is less than or equal to the second preset value, the second configuration is stored; this allows the detection device to have a better matching effect between the first antenna and the second antenna when the configuration of the first network is the second configuration.

[0045] In one possible implementation, the coupling of the receiver to the second antenna includes: the receiver is coupled to a second network, the second network is coupled to the second antenna, the controller is coupled to the second network, the output signal of the receiver is the input signal of the second network, the second network is used to adjust the amplitude and / or phase of its input signal, and the output signal of the second network is output to the second antenna; the method also includes: the controller sends third control information to the second network, the third control information is used to adjust the configuration of the second network to a third configuration; obtains the second direct path power of the detection device when the configuration of the second network is the third configuration; when the second direct path power is greater than or equal to a third preset value, stores the third configuration, the third configuration being the configuration of the second network when the detection device is in radar mode.

[0046] In a possible implementation, when the detection device is in radar mode, the controller sends a first configuration signal to the first network, and the first configuration signal is used to adjust the configuration of the first network to the first configuration; when the detection device is in communication transmission mode or communication reception mode, the controller sends a second configuration signal to the first network, and the second configuration signal is used to adjust the configuration of the first network to a second configuration, and the first configuration and the second configuration are different.

[0047] In this implementation, the controller sends different configuration signals to the first network in different modes, which can ensure the performance of the detection device in different modes.

[0048] In a fourth aspect, an embodiment of the present application provides a terminal device, which includes the detection device described in the above-mentioned first aspect or any possible implementation method of the first aspect.

[0049] In a fifth aspect, an embodiment of the present application provides a terminal device, which includes the controller described in the above-mentioned second aspect or any possible implementation method of the second aspect.

[0050] In a sixth aspect, an embodiment of the present application provides a chip, which includes the detection device, transmitter and receiver described in the above-mentioned second aspect or any possible implementation of the second aspect, wherein the transmitter is used to transmit signals and the receiver is used to receive signals.

[0051] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. The computer program includes program instructions, which, when executed, enable the computer to execute the method described in the third aspect or any possible implementation of the third aspect.

[0052] In an eighth aspect, an embodiment of the present application provides a computer program product, which includes a computer program, and the computer program includes program instructions, which, when executed, enable a computer to execute the method described in the third aspect or any possible implementation of the third aspect. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0054] Figure 1 A dual-chip WIFI radar system is shown;

[0055] Figure 2 A single-chip WIFI radar system is shown;

[0056] Figure 3 A schematic diagram showing two modes of the time-division WIFI radar / communication empathy system working in a time-division manner;

[0057] Figure 4 An example of a dynamic matching network provided in an embodiment of the present application;

[0058] Figure 5 A schematic diagram of a smart panel provided in an embodiment of the present application;

[0059] Figure 6 A schematic diagram of the hardware architecture of a single-chip detection device in radar mode provided in an embodiment of the present application;

[0060] Figure 7 A schematic diagram of the hardware architecture of a single-chip detection device in radar mode provided in an embodiment of the present application;

[0061] Figure 8 A schematic diagram of the hardware architecture of a single-chip detection device in a communication transmission mode provided in an embodiment of the present application;

[0062] Fig. 9 A schematic diagram of the hardware architecture of a single-chip detection device in a communication receiving mode provided in an embodiment of the present application;

[0063] Fig.10 A flow chart of a dynamic network matching calibration method provided in an embodiment of the present application;

[0064] Fig.11 A flow chart of another dynamic network matching calibration method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] The terms "first" and "second" in the specification, claims and drawings of this application are only used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0066] The "embodiment" mentioned in this article means that the specific features, structures or characteristics described in conjunction with the embodiment can be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It can be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0067] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear contrary indication in the context. It should also be understood that the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more listed items. For example, "A and / or B" can represent: only A exists, only B exists, and A and B exist at the same time, wherein A, B can be singular or plural. The term "multiple" used in the present application refers to two or more.

[0068] It can be understood that in each embodiment of the present application, "A corresponds to B" means that there is a corresponding relationship between A and B, and B can be determined according to A. However, it should also be understood that determining (or generating) B according to (or based on) A does not mean that B is determined (or generated) only according to (or based on) A, and B can also be determined (or generated) according to (or based on) A and / or other information.

[0069] To facilitate understanding of the solutions of the present application, the following first introduces the terms and technical solutions involved in the embodiments of the present application.

[0070] WIFI radar: Existing WIFI radars often take the form of dual WIFI chips, with Tx deployed on one WIFI chip and Rx deployed on the other WIFI chip. Figure 1 A dual-chip WIFI radar system is shown. Figure 1As shown, a Tx is deployed on the WIFI chip 1, and the Tx is coupled to the Tx antenna. An Rx is deployed on the WIFI chip 2, and the Rx is coupled to the Rx antenna. Under ideal working conditions, the WIFI radar collects the target (e.g. Figure 1 The WIFI radar detects the echo of the person in the vehicle and compares it with the waveform of the known transmission wave stored in the WIFI radar to obtain relevant information about the target, such as the distance to the target, the speed of the target, the position of the target, etc. Since the antenna of the WIFI radar is limited by the size of the product and other practical issues, in addition to the transmission wave and the echo, there are many other interference signals in the WIFI radar, namely the self-blocking signal of the transceiver (Tx and Rx, T-Rx) path, including:

[0071] 1) The direct path crosstalk signal transmitted by the Tx antenna and directly received by the Rx antenna;

[0072] 2) Coupling crosstalk signal between Tx antenna and Rx antenna;

[0073] 3) The coupled crosstalk signal in the RF / IF part of the WiFi chip;

[0074] 4) Coupling crosstalk signals between WIFI chip pins.

[0075] These crosstalk signals are often much larger than the target echo, and similar to the echo signal, it is difficult for WIFI radar to separate the crosstalk signal from the echo signal, which seriously interferes with the detection of targets at longer distances and with greater precision. A typical example is: in the 2.4GHz band, when the T-Rx antenna gain is 2dBi, a human target with a size of 0.5m2 RCS is considered at 6m, and the crosstalk signal strength is about 51dB stronger than the echo signal strength. In this article, the coupled crosstalk signal can be referred to as the crosstalk signal.

[0076] The hazards of the self-blocking signal include: an overly strong self-blocking signal will cause the Rx link of the WIFI radar to face the risk of saturation, causing the analog-to-digital converter (ADC) to lose the effective bit width used to detect the echo signal, that is, reducing the sensitivity of detecting the echo signal. In addition, the noise of the Tx link of the WIFI radar carried by the crosstalk signal will seriously raise the noise floor, causing the echo signal to be lower than the noise, increasing the difficulty of signal processing.

[0077] The goal of eliminating the self-blocking signal of the channel is to reduce the overall intensity of the self-blocking signal and noise of the channel, and to ensure the echo signal-to-noise ratio and the effective bit width of the ADC for echo sampling.

[0078] In the present application, the chip-side crosstalk may include: the RF / IF part inside the WIFI chip, and the T-Rx crosstalk caused by the corresponding pins on the WIFI chip package. In other words, the crosstalk signal at the chip end (i.e., the crosstalk signal from the transmitter to the receiver) may include: the coupled crosstalk signal in the RF / IF part inside the WIFI chip and the coupled crosstalk signal between the pins of the WIFI chip. The crosstalk signal at the chip end may also include other crosstalk signals, which are not limited in this application. The second crosstalk signal below is the crosstalk signal at the chip end. In the present application, the antenna-side crosstalk (which may be referred to as antenna / feeder crosstalk) refers to the crosstalk between the Tx antenna and the Rx antenna, and the antenna-side crosstalk signal (or the crosstalk signal from the transmitting antenna to the receiving antenna) may include: the straight-path crosstalk signal transmitted by the Tx antenna and directly received by the Rx antenna, and the coupled crosstalk signal between the Tx antenna and the Rx antenna feeder. The first crosstalk signal below is the crosstalk signal at the antenna end.

[0079] The dual-chip WIFI radar usually eliminates the coupled crosstalk signals in the RF and IF parts of the WIFI chip and the coupled crosstalk signals between the WIFI radar chip pins by enhancing the isolation between Tx and Rx, that is, eliminating the chip-side crosstalk. In other words, when the isolation between Tx and Rx in the dual-chip WIFI radar is high, it will hardly be affected by the coupled crosstalk signals in the RF and IF parts of the WIFI radar and the coupled crosstalk signals between the WIFI radar chip pins, that is, it will hardly be affected by the crosstalk signals on the chip side.

[0080] The Tx and Rx in a single-chip WIFI radar are deployed on the same chip, and it is difficult to eliminate (or weaken) the crosstalk signal at the chip end, namely, chip-end crosstalk, by enhancing the isolation between Tx and Rx. Figure 2 A single-chip WIFI radar system is shown. Figure 2 As shown, Tx and Rx are deployed on the WIFI chip 1, Tx is coupled to the Tx antenna, and Rx is coupled to the Rx antenna.

[0081] Time-division WIFI radar / communication and synaesthesia system architecture: The time-division WIFI radar / communication and synaesthesia system has a radar mode (or radar mode) and a communication mode (or WIFI communication mode), and the frequencies used by these two modes are the same or different. In this article, the communication mode includes a communication transmission mode and a communication reception mode. When the time-division WIFI radar / communication and synaesthesia system works in radar mode, it can be used as a radar; when the time-division WIFI radar / communication and synaesthesia system works in communication mode, it can communicate with other communication devices. The two working modes of the time-division WIFI radar / communication and synaesthesia system can work in a time-division manner. In other words, the time-division WIFI radar / communication and synaesthesia system can switch between the two modes, but cannot work in both modes at the same time. Figure 3 The schematic diagram shows that the two modes of the time-division WIFI radar / communication empathy system work in a time-division manner. Figure 3 As shown, the time-division WIFI radar / communication simulant system has three working states, the first is in radar mode, the second is in communication mode, and the third is idle mode, that is, it is neither in radar mode nor in communication mode. According to the actual usage scenario, the time-division WIFI radar / communication simulant system may continuously transmit communication frames or continuously transmit radar frames. The power of the time-division WIFI radar / communication simulant system in radar mode can be the same as or different from the power in communication mode.

[0082] Dynamic matching network: A dynamic matching network is used to adjust the phase and / or amplitude of its input signal. The dynamic matching network may include one or more adjustable devices. In this article, the adjustable device may include one or more of an adjustable capacitor, an adjustable inductor, an adjustable resistor, or an adjustable microwave circuit that embodies the properties of an adjustable capacitor, an inductor, or a resistor. Figure 4 An example of a dynamic matching network provided in an embodiment of the present application. Figure 4 The dynamic matching network shown includes a detector and five adjustable capacitors. The detector is used to feedback the matching situation to the WIFI chip. Antenna matching is defined as the ratio of the strength of the transmitted signal to the strength of the returned signal. The strength of the returned signal fed back by the detector is compared and calculated with the known strength of the transmitted signal inside the chip to indicate the matching situation.

[0083] Fast time compression algorithm:

[0084] The fast time compression algorithm can be a pulse compression algorithm, that is, by calculating the coherence of the transmitted waveform (corresponding to the transmitted signal) and the echo waveform (corresponding to the received signal), the similarity of the received signal compared to the transmitted signal under different time delays is obtained, thereby inferring the flight time of the radio signal, and then determining the distance between the target generating the echo and the transmitter.

[0085] Direct path power estimation: The matching energy at nearly zero flight time is regarded as the direct path, and its power is estimated accordingly; the direct path power represents the sum of the energy of a series of T-Rx loops with extremely close physical distances, such as T-Rx antenna crosstalk, integrated circuit (IC) crosstalk, and board-level crosstalk. It is worth noting that since the receiver has a certain gain, the value of this power is not equal to the actual power of the sum of the actual crosstalk signals at all levels; but the change of this power is positively correlated to the change of the sum of the crosstalk at all levels, and can be used to provide optimized pointing for the dynamic matching network.

[0086] In practical applications, many devices need to have both communication functions and perception capabilities (or detection capabilities). WIFI radar has communication functions and perception capabilities, and can be integrated into other devices (such as refrigerators, air conditioners, etc.) in order to provide communication functions and perception capabilities, that is, communication perception integration functions. Single-chip WIFI radars have significant cost advantages over dual-chip WIFI radars. An example of a single-chip detection device provided in the present application is a single-chip WIFI radar. The single-chip detection device provided in the present application has significant cost advantages over dual-chip WIFI radars. In addition, the single-chip detection device provided in the present application can better eliminate crosstalk signals and has better performance than dual-chip WIFI radars by utilizing antenna-end crosstalk to offset chip-end crosstalk.

[0087] The single-chip detection device provided in this application can be called a WIFI radar device, or a time-division WIFI radar, or a communication-sensing integrated device, or a synaesthesia integrated device, or other names, which are not limited in this application. The single-chip detection device provided in this application uses a radar architecture, and can work in radar mode, that is, used as a radar; it can also work in communication mode, that is, communicate with other communication devices. The single-chip detection device provided in this application has specific perception capabilities (or detection capabilities) in radar mode, such as the location, speed, size and other related information of the perceived target; and has the ability to communicate with other communication devices in communication mode.

[0088] The following introduces some examples of the single-chip detection device provided by the present application being integrated into other devices.

[0089] Example 1: The smart panel needs to have the function of operating a variety of household appliances, and at the same time needs to have perception capabilities, for example, the smart panel lights up the screen when a person approaches the smart panel. The single-chip detection device provided in this application can be integrated into the smart panel. In other words, a possible product form of the single-chip detection device provided in this application is a smart panel. The smart panel has perception capabilities (the detection device works in radar mode) and communication functions (the detection device works in communication mode). Exemplarily, the smart panel and a variety of household appliances are connected to a wireless network. After receiving the control command input by the user, the smart panel sends a wireless control signal corresponding to the control command in the communication mode to control the corresponding household appliance; the smart panel is in the off-screen state by default (that is, the smart panel is not lit); the smart panel senses whether someone is approaching the smart panel in radar mode; when the smart panel senses that someone is approaching the smart panel, the smart panel lights up; this can save energy. Figure 5 A schematic diagram of a smart panel provided in an embodiment of the present application. Figure 5 As shown, the smart panel has the following functions: control lights, control air conditioning, control cooling and heating fresh air system, control floor heating, control curtains (corresponding to Figure 5 It should be understood that the smart panel can control a variety of household devices. Figure 5 These are just some of the home devices that the smart panel can control.

[0090] Example 2: The smart water heater panel (i.e., the panel of the smart water heater) needs to light up when someone arrives. The infrared sensor is difficult to work properly when there is hot water in the bathroom. The camera in the bathroom involves privacy issues, so radar is needed for perception. At the same time, some water heaters currently need to be connected to a wireless network to facilitate users to remotely control them through the wireless network. In addition, in the case of an instant water heater, the water heater will only start to heat quickly when it detects that someone has entered the bathroom, which can achieve energy-saving effects, etc. The single-chip detection device provided in the present application can be integrated into the smart water heater panel. In other words, a possible product form of the single-chip detection device provided in the present application is a smart water heater panel. The smart water heater panel has perception capabilities (the detection device works in radar mode) and communication functions (the detection device works in communication mode). Exemplarily, the smart water heater panel is in an off-screen state by default (i.e., the smart water heater panel is not lit); the smart water heater panel senses whether someone is approaching the smart water heater panel in radar mode; when it senses that someone is approaching the smart water heater panel, the smart water heater panel lights up; after receiving a control instruction input by the user, the smart water heater panel sends a wireless control signal corresponding to the control instruction in communication mode to control the smart water heater.

[0091] Example 3: Some refrigerators are equipped with color LCD screens, which can be wirelessly networked with indoor WIFI to realize smart applications (such as viewing menus, etc.). Color LCD screens consume more power. If they are lit when a person approaches, they are off by default, which can save energy. The single-chip detection device provided in the present application can be integrated into a smart refrigerator panel, which can replace the color LCD screen. In other words, a possible product form of the single-chip detection device provided in the present application is a smart refrigerator panel. The smart refrigerator panel uses a single module (i.e., the single-chip detection device provided in the present application) to solve wireless network access and personnel approach detection, and has cost advantages; compared with infrared sensors, radars are not easily interfered by high-heat sources (such as stoves, etc.) in a kitchen environment, and have performance advantages; compared with cameras, it has the advantage of strong privacy.

[0092] Example 4: Smart air conditioners need to access wireless networks so that users can control them using devices at hand (such as mobile phones) without having to use a remote control to control the air conditioner. At the same time, they also need to be able to sense whether there are people in the room, the direction of the people, etc., so that they can automatically shut down when no one is around, send air to bypass the user, and other applications. The single-chip detection device provided in this application can be integrated into a smart air conditioner. In other words, one possible product form of the single-chip detection device provided in this application is a smart air conditioner. Smart air conditioners use a single module (i.e., the single-chip detection device provided in this application) to access the wireless network and sense whether there are people in the room, the direction of the people, etc.

[0093] It should be understood that the above examples are only partial examples of the single-chip detection device provided by the present application being integrated into other devices. The embodiments of the present application do not limit what type of device the single-chip detection device provided by the present application is integrated into. In other words, the embodiments of the present application do not limit the product form of the single-chip detection device.

[0094] The main principle of reducing the impact of crosstalk in the single-chip detection device (or the crosstalk self-blocking elimination technology for WIFI radar in a single-chip form factor) provided by the present application is: using the crosstalk at the antenna end to offset part or all of the crosstalk signal at the chip end, thereby reducing the crosstalk self-blocking of the detection device as a whole. Based on the above principle, a method for reducing the crosstalk self-blocking of a single-chip detection device is to use a dynamic matching network and a related adaptive algorithm to adaptively tune the antenna radiation characteristics while using the crosstalk at the antenna end to offset the chip end crosstalk.

[0095] The following is combined with Figure 6 To Attachment Fig. 9 The single-chip detection device provided by the present application is described.

[0096] Figure 6Schematic diagram of the hardware architecture of the single-chip detection device in radar mode provided in the embodiment of the present application. Figure 6 As shown, a single-chip detection device includes: a WIFI chip (the naming of the chip is not limited), a first network, a Tx antenna (i.e., the first antenna), a second network, and an Rx antenna (i.e., the second antenna), the WIFI chip includes a controller, Tx, and Rx, Tx is coupled to the first network (a dynamic matching network), the first network is coupled to the Tx antenna, Rx is coupled to the second network (a dynamic matching network), the second network is coupled to the Rx antenna, and the controller is coupled to the first network and the second network respectively; wherein, the input signal of the first network is the output signal of the Tx, the output signal of the first network is the input signal of the Tx antenna, the input signal of the second network is the output signal of the Rx antenna, and the output signal of the second network is the input signal of the Rx antenna. Figure 6 The functions of some components in the hardware architecture of the detection device shown are as follows:

[0097] The transmitter is configured to output a first signal to the first network. The first signal may be an example of an output signal of the transmitter.

[0098] The first network is used to perform at least a first signal processing on a first signal (its input signal) to obtain a second signal, and output the second signal to a first antenna. The first signal processing includes adjusting the phase and amplitude (optional) of the first signal so that the output second signal (i.e., the output signal of the first network) crosstalks from the first antenna to the second antenna. The first crosstalk signal and the second crosstalk signal from the transmitter to the receiver meet the crosstalk cancellation condition. Figure 6 The crosstalk signal from Tx to Rx shown (corresponding to the chip-side crosstalk) represents a second crosstalk signal. The second crosstalk signal can be understood as a crosstalk signal from the transmitter that is directly received by the receiver. Figure 6The crosstalk signal from the Tx antenna to the Rx antenna shown represents a first crosstalk signal (corresponding to antenna / feeder crosstalk). In other words, the first network is used to adjust the phase and amplitude (optional) of its input signal so that its output signal (e.g., the second signal) crosstalks from the first antenna to the first crosstalk signal of the second antenna, and the second crosstalk signal crosstalks from the transmitter to the receiver to meet the crosstalk cancellation condition. In other words, the first network is used to perform a first signal processing on its input signal, and the first signal processing includes adjusting the phase and amplitude (optional) of its input signal so that its output signal crosstalks from the first antenna to the first crosstalk signal of the second antenna, and the second crosstalk signal crosstalks from the transmitter to the receiver to meet the crosstalk cancellation condition. The first network can be a dynamic matching network in the Tx feed link of the detection device. The purpose of the first signal processing includes making the antenna-end crosstalk of the detection device (corresponding to the first crosstalk signal) offset part or all of the chip-end crosstalk of the detection device (corresponding to the second crosstalk signal). In other words, the function of the first network is to make the antenna-end crosstalk of the detection device offset part or all of the chip-end crosstalk of the detection device.

[0099] The first network may include a detector and a plurality of adjustable devices, wherein the plurality of adjustable devices include one or more of an adjustable capacitor, an adjustable inductor, an adjustable resistor, or an adjustable microwave circuit having adjustable capacitor, inductor or resistor properties. Figure 4 An example of the hardware architecture of the first network. The present application does not limit the specific hardware architecture of the first network. The configuration of the first network is different when the detection device is in different modes. In other words, when the detection device is in different modes, the network state configured of the first network is different. Exemplarily, the first network is used to perform at least the above-mentioned first signal processing on the above-mentioned first signal under a first configuration when the detection device is in a radar mode; and adjust the phase and / or amplitude of its input signal under a second configuration when the detection device is in a communication transmission mode or a communication reception mode; the above-mentioned first configuration is different from the above-mentioned second configuration.

[0100] The first antenna is used to transmit a second signal.

[0101] The second antenna is used to output the received third signal to the second network. The third signal corresponds to the signal transmitted by the first antenna. For example, the third signal is an echo signal of the second signal transmitted by the first antenna. The third signal includes the first crosstalk signal and the echo signal corresponding to the second signal. In other words, the first crosstalk signal is input to the second network by the second antenna. The output signal of the second antenna is the input signal of the second network.

[0102] The second network is used to perform at least a second signal processing on the third signal to obtain a fourth signal, and output the fourth signal to the receiver. The third signal is an example of an input signal of the second network. In other words, the second network is used to perform at least a second signal processing on its input signal to obtain its output signal, and output its output signal to the receiver. The second signal processing includes adjusting the phase and amplitude (optional) of the third signal so that the third crosstalk signal in the fourth signal outputted by it and the second crosstalk signal crosstalked from the transmitter to the receiver meet the crosstalk cancellation condition. The third crosstalk signal is the crosstalk signal output by the second network performing the second signal processing on the first crosstalk signal. The purpose of the second signal processing includes making the antenna end crosstalk (corresponding to the first crosstalk signal) of the detection device offset part or all of the chip end crosstalk (corresponding to the second crosstalk signal) of the detection device. In other words, the role of the second network is to make the antenna end crosstalk of the detection device offset part or all of the chip end crosstalk of the detection device. The hardware architecture of the first network and the hardware architecture of the second network may be the same or different. The second network may include a detector and a plurality of adjustable devices, wherein the plurality of adjustable devices include one or more of an adjustable capacitor, an adjustable inductor, an adjustable resistor, or an adjustable microwave circuit having adjustable capacitor, inductor or resistor properties. Figure 4 is an example of the hardware architecture of the second network. The present application does not limit the specific hardware architecture of the second network. The third crosstalk signal and the second crosstalk signal of the transmitter to the receiver satisfy the crosstalk cancellation condition, which may include: the phase of the second crosstalk signal differs by 180 degrees from the third crosstalk signal. Figure 6 , the crosstalk signal received by the receiver includes: the second crosstalk signal received by the receiver from the transmitter and the third crosstalk signal in the output signal of the second network (i.e., the fourth signal), and the third crosstalk signal is the crosstalk signal output from the second network to the receiver after the first crosstalk signal is input to the second network. When the phase of the second crosstalk signal differs by 180 degrees from the phase of the third crosstalk signal, the third crosstalk signal cancels part or all of the second crosstalk signal, which can improve the performance of the detection device.

[0103] The controller can be used to adjust the configuration of the first network and adjust the configuration of the second network (optional). Exemplarily, the controller is used to send a first configuration signal to the first network when the detection device is in radar mode, and the first configuration signal is used to adjust the configuration of the first network to the first configuration; when the detection device is in communication transmission mode or communication reception mode, the controller sends a second configuration signal to the first network, and the second configuration signal is used to adjust the configuration of the first network to the second configuration, and the first configuration and the second configuration are different. The controller is also used to switch the working mode of the detection device. Exemplarily, the controller is used to switch the working mode of the above-mentioned detection device by controlling the opening and closing of the above-mentioned one or more switches.

[0104] It should be noted that the first crosstalk signal of the second signal output by the first network (i.e., the output signal of the first network) from the first antenna crosstalks to the second antenna and the second crosstalk signal from the transmitter to the receiver satisfy the crosstalk cancellation condition. This can be: the third crosstalk signal output by the second network performing at least a second signal processing on the first crosstalk signal and the second crosstalk signal satisfy the crosstalk cancellation condition. In other words, the third crosstalk signal in the fourth signal output by the second network (i.e., the crosstalk signal in the output signal of the second network) and the second crosstalk signal from the transmitter to the receiver satisfy the crosstalk cancellation condition.

[0105] exist Figure 6 Under the hardware architecture of the detection device shown, an example of a signal processing flow of the single-chip detection device in radar mode is as follows: the controller outputs control information #1 to the transmitter; the transmitter outputs a first signal to the first network based on the control information #1; the first network performs at least a first signal processing on the first signal (i.e., the input signal of the first network) to obtain a second signal, and outputs the second signal to the first antenna, and the first signal processing includes adjusting the phase of the above-mentioned first signal so that the output second signal crosstalks from the first antenna to the second antenna, and the first crosstalk signal crosstalks from the transmitter to the receiver to meet the crosstalk elimination condition; the first antenna transmits the second signal; the second antenna outputs the received third signal to the second network, the third signal corresponds to the signal transmitted by the first antenna, and the third signal includes the first crosstalk signal; the second network performs at least a second signal processing on the third signal (the input signal of the second network) to obtain a fourth signal, and outputs the fourth signal to the receiver. The fourth signal includes the crosstalk signal output by the second network performing at least a second signal processing on the first crosstalk signal, i.e., the third crosstalk signal. The two crosstalk signals received by the receiver (ie, the second crosstalk signal from the transmitter and the third crosstalk signal input to the receiver by the second network) can cancel each other out.

[0106] Figure 6 It shows that the single-chip detection device has chip-side crosstalk and antenna-side crosstalk in radar mode. Figure 6 As shown, A1 indicates (or represents) the loss caused by the chip-side crosstalk on the transmission signal of the detection device (which can be understood as the amplitude), and Φ1 indicates the phase shift caused by the chip-side crosstalk on the transmission signal of the detection device. In other words, A1 indicates the loss caused by the T-Rx crosstalk caused by the RF / IF part inside the chip and the corresponding pins on the chip package on the transmission signal, and Φ1 indicates the phase shift caused by the T-Rx crosstalk caused by the RF / IF part inside the chip and the corresponding pins on the chip package on the transmission signal. a1 indicates the loss caused by the first network on the transmission signal, represents the phase shift caused by the first network to the transmitted signal. A2 represents the loss caused by the antenna end crosstalk to the transmitted signal of the detection device, Φ2 represents the phase shift caused by the antenna end crosstalk to the transmitted signal of the detection device. a2 represents the loss caused by the second network to the transmitted signal, represents the phase shift caused by the second network to the transmission signal. A' represents the loss caused by the transmission line in the detection device to the transmission signal, and Φ' represents the phase shift caused by the transmission line in the detection device to the transmission signal.

[0107] In a possible implementation, the phase shift (i.e., Φ2) and the first phase shift (i.e., ), the second phase shift (i.e. Φ′), the third phase shift (i.e. ) is 180 degrees different from the phase shift (i.e. Φ1) caused by the chip-side crosstalk on the above-mentioned transmission signal. In other words, the phase shift (i.e. Φ2) caused by the antenna-side crosstalk on the transmission signal of the detection device, the first phase shift (i.e. ), the second phase shift (i.e. Φ′), the third phase shift (i.e. ) and the phase shift (i.e. Φ1) caused by the chip-side crosstalk on the transmitted signal can satisfy the following formula:

[0108]

[0109] When the phase shift (i.e. Φ2) and the first phase shift (i.e. ), the second phase shift (i.e. Φ′), the third phase shift (i.e. ) is 180 degrees different from the phase shift (i.e. Φ1) caused by the chip-side crosstalk on the above-mentioned transmission signal, the phase shift caused by the antenna-side crosstalk, the first network, the second network and the transmission line on the transmission signal of the detection device is exactly opposite to the phase shift caused by the chip-side crosstalk on the transmission signal, so that the antenna-side crosstalk can offset part or all of the chip-side crosstalk.

[0110] For ease of understanding, the following two examples are used to illustrate the principle of antenna-side crosstalk canceling chip-side crosstalk. For example, if the loss and phase shift of the transmission line in the detection device on the transmitted signal are considered, the phase of the first signal input from the transmitter to the first network is d (greater than or equal to 0 degrees and less than 360 degrees), and the phase of the second signal output from the first network is The phase of the first crosstalk signal of the second signal from the first antenna to the second antenna is After the second antenna inputs the first crosstalk signal to the second network, the phase of the third crosstalk signal input by the second network to the receiver is The phase of the second crosstalk signal is (Φ1+d). In this example, when For another example, if the loss and phase shift of the transmission line in the detection device on the transmitted signal are not considered, the phase of the first signal input from the transmitter to the first network is d (greater than or equal to 0 degrees and less than 360 degrees), and the phase of the second signal output from the first network is The phase of the first crosstalk signal of the second signal from the first antenna to the second antenna is After the second antenna inputs the first crosstalk signal to the second network, the phase of the third crosstalk signal input by the second network to the receiver is The phase of the second crosstalk signal is (Φ1+d). In this example, when When the third crosstalk signal is equal to the phase of the second signal, the third crosstalk signal can cancel part or all of the second crosstalk signal. The phase of the third crosstalk signal is equal to the phase of the second signal. The phase shift (Φ2) of the second signal from the first antenna to the second antenna, the phase shift of the second network adjusting its input signal sum.

[0111] Since the configurations of the first network and the second network can be adjusted, that is, can be adjusted, so by adjusting the configuration of the first network and the second network (optional), Φ2, Φ′, Φ1 satisfies the above formula (1), thereby eliminating the crosstalk signal.

[0112] In a possible implementation, the ratio of the product of the loss (i.e., A2) caused by the antenna-side crosstalk to the transmission signal of the detection device, the first loss (i.e., a1), the second loss (i.e., A′), and the third loss (i.e., a2) to the loss (i.e., A1) caused by the chip-side crosstalk to the above transmission signal is less than the first threshold. Exemplarily, the first threshold is 3dB, 4dB, 5dB, 6dB, 8dB, etc. For example, the product of the loss (i.e., A2) caused by the antenna-side crosstalk to the transmission signal of the detection device, the first loss (i.e., a1), the second loss (i.e., A′), and the third loss (i.e., a2) is equal to the loss (i.e., A1) caused by the chip-side crosstalk to the above transmission signal. In other words, the loss (i.e., A2) caused by the antenna-side crosstalk to the transmission signal of the detection device, the first loss (i.e., a1), the second loss (i.e., A′), the third loss (i.e., a2) and the loss (i.e., A1) caused by the chip-side crosstalk to the above transmission signal can satisfy the following formula:

[0113] A1=a1×A2×a2×A′ (2);

[0114] When the phase shift (i.e. Φ2) and the first phase shift (i.e. ), the second phase shift (i.e. Φ′), the third phase shift (i.e. ) is 180 degrees different from the phase shift (i.e. Φ1) caused by the chip-side crosstalk on the above-mentioned transmission signal, if the loss caused by the antenna-side crosstalk on the transmission signal of the detection device (i.e. A2), the first loss (i.e. a1), the second loss (i.e. A′), the third loss (i.e. a2) and the loss caused by the chip-side crosstalk on the above-mentioned transmission signal (i.e. A1) satisfy the above formula (2), then the chip-side crosstalk is just offset by the antenna-side crosstalk, that is, the antenna-side crosstalk offsets all of the chip-side crosstalk.

[0115] For ease of understanding, the following two examples are used to illustrate the principle of antenna-side crosstalk canceling chip-side crosstalk. For example, if the loss and phase shift of the transmission line in the detection device on the transmitted signal are considered, the amplitude of the first signal input from the transmitter to the first network is h (real number), the amplitude of the second signal output from the first network is (a1×h), the amplitude of the first crosstalk signal of the second signal from the first antenna to the second antenna is (a1×A2×h), and after the second antenna inputs the first crosstalk signal to the second network, the amplitude of the third crosstalk signal input by the second network to the receiver is (a1×A2×a2×A′×h), and the amplitude of the second crosstalk signal is (A1×h). In this example, when A1=a1×A2×a2×A′, the third crosstalk signal can cancel all of the second crosstalk signal. For another example, if the loss and phase shift of the transmission line in the detection device on the transmitted signal are not considered, the amplitude of the first signal input from the transmitter to the first network is h (real number), the amplitude of the second signal output from the first network is (a1×h), the amplitude of the first crosstalk signal of the second signal from the first antenna to the second antenna is (a1×A2×h), after the second antenna inputs the first crosstalk signal to the second network, the amplitude of the third crosstalk signal input from the second network to the receiver is (a1×A2×a2×h), and the amplitude of the second crosstalk signal is (A1×h). In this example, when A1=a1×A2×a2, the third crosstalk signal can offset the entire second crosstalk signal. From the above two examples, it can be seen that in some examples, the amplitude of the first crosstalk signal is equal to the product of the amplitude of the second signal (a1×h) and the loss (A2) caused by the crosstalk of the second signal from the first antenna to the second antenna; the amplitude of the third crosstalk signal is equal to the product of the amplitude of the second signal (a1×h), the loss (A2) caused by the crosstalk of the second signal from the first antenna to the second antenna, and the amplitude (a2) adjusted by the second network to its input signal, that is, the product of the amplitude of the first crosstalk signal and the amplitude (a2) adjusted by the second network to its input signal.

[0116] Since the configurations of the first network and the second network can be adjusted, that is, a1 and a2 can be adjusted, A can be made to \ 、a \ , a2, A2, A′ satisfy the above formula (2), thereby eliminating the crosstalk signal.

[0117] In a possible implementation, both the first network and the second network are dynamic matching networks, that is, the loss and phase shift of the first network on its input signal can be adjusted, and the loss and phase shift of the second network on its input signal can be adjusted. In this implementation, by adjusting the phase shift of the first network on the transmitted signal and the phase shift of the second network on the transmitted signal, the phase shift (i.e. Φ2) and the first phase shift (i.e. ), the second phase shift (i.e. Φ′), the third phase shift (i.e. ) is 180 degrees different from the phase shift (i.e. Φ1) caused by the chip-side crosstalk on the transmitted signal. In this way, the antenna-side crosstalk of the detection device will offset part or all of the chip-side crosstalk of the detection device.

[0118] Exemplarily, the controller in the detection device can adjust (or calibrate) the loss and phase shift of the first network on the transmission signal of the detection device by adjusting the configuration of the first network (or the network state); it can also adjust the loss and phase shift of the second network on the transmission signal of the detection device by adjusting the configuration of the second network; it can also determine the situation where the antenna-end crosstalk cancels the chip-end crosstalk. In this example, the controller in the detection device can make the antenna-end crosstalk cancel part or all of the chip-end crosstalk of the detection device by adjusting the first network and the second network. For example, before a single-chip detection device or a device (such as a refrigerator, a water heater, etc.) equipped with a single-chip detection device leaves the factory, the controller in the detection device adjusts the configuration of the first network and / or the second network so that the antenna-end crosstalk of the detection device can cancel part or all of the chip-end crosstalk, that is, the above formula (1) is satisfied. For another example, when the single-chip detection device meets the trigger condition, the controller in the detection device adjusts the first network and the second network so that the antenna-end crosstalk of the detection device cancels part or all of the chip-end crosstalk of the detection device. Exemplarily, the trigger condition for the controller in the detection device to adjust the first network and the second network is that the detection device is powered on for the first time or the direct path estimated power of the detection device is greater than a fourth preset value, and the value range of the fourth preset value can be -95dBm to 30dBm. The value range of the fourth preset value can be configured according to actual needs, and the embodiment of the present application is not limited. For example, considering that the general transmission power range of the WiFi chip is -40dBm to 30dBm; the isolation design may be 60dBc to 10dBc according to different applications, so the absolute power of the possible crosstalk is (transmission power)-(isolation design), and the data is substituted as -100dBm to 20dBm; considering that the trigger calibration threshold is 5 to 10dBc, the calibration is triggered according to the preset value, and the preset value may range from -95dBm to 30dBm. Exemplarily, the controller in the detection device periodically adjusts the first network and the second network.

[0119] Figure 7 Schematic diagram of the hardware architecture of the single-chip detection device in radar mode provided in the embodiment of the present application. Figure 7 As shown, the single-chip detection device includes: a WIFI chip, a first network, a Tx antenna (i.e., the first antenna) and an Rx antenna (i.e., the second antenna). The WIFI chip includes a controller, Tx and Rx. Tx is coupled to the first network (a dynamic matching network), the first network is coupled to the Tx antenna, Rx is coupled to the Rx antenna, and the controller is coupled to the first network. The input signal of the first network is the output signal of the Tx, and the output signal of the first network is the input signal of the Tx antenna. Figure 7The description of the transmitter, the first network, the first antenna, and the second antenna in Figure 6 The description of the transmitter, the first network, the first antenna, and the second antenna in the embodiment will not be repeated here. The output signal of the second antenna is the input signal of the receiver, that is, the second antenna outputs the received echo signal to the receiver.

[0120] exist Figure 7 Under the hardware architecture of the detection device shown, an example of a signal processing flow of a single-chip detection device in radar mode is as follows: the controller outputs control information #1 to the transmitter; the transmitter outputs a first signal to the first network based on the control information #1; the first network performs at least a first signal processing on the first signal to obtain a second signal, and outputs the second signal to the first antenna, the first signal processing including adjusting the phase of the above-mentioned first signal so that the output second signal crosstalks from the first antenna to the second antenna, and the first crosstalk signal crosstalks from the transmitter to the receiver to meet the crosstalk cancellation condition; the first antenna transmits the second signal; the second antenna outputs the received third signal to the receiver, and the third signal corresponds to the signal transmitted by the first antenna. The third signal includes the second crosstalk signal. The first crosstalk signal of the second signal crosstalks from the first antenna to the second antenna, and the second crosstalk signal crosstalks from the transmitter to the receiver to meet the crosstalk cancellation condition may include: the phase shift of the first crosstalk signal is 180 degrees different from the phase shift of the second crosstalk signal. See. Figure 7 The crosstalk signal received by the receiver includes: the second crosstalk signal received by the receiver from the transmitter and the first crosstalk signal of the second signal from the first antenna to the second antenna. When the phase of the second crosstalk signal differs by 180 degrees from the phase of the first crosstalk signal, the first crosstalk signal cancels part or all of the second crosstalk signal, which can improve the performance of the detection device.

[0121] Figure 7 It shows that the single-chip detection device has chip-side crosstalk and antenna-side crosstalk in radar mode. Figure 7 A1, Φ1, a1, The meanings of A2 and Φ2 can be found in Figure 6 A1, Φ1, a1, The meanings of A2 and Φ2 are not described here in detail. A' represents the loss of the transmission line in the detection device on the transmission signal, and Φ' represents the phase shift of the transmission line in the detection device on the transmission signal.

[0122] In a possible implementation, the phase shift (i.e., Φ2) and the first phase shift (i.e., The sum of the first phase shift (i.e., Φ′) and the second phase shift (i.e., Φ1) caused by the chip-side crosstalk on the above-mentioned transmission signal is 180 degrees different. In other words, the phase shift (i.e., Φ2) caused by the antenna-side crosstalk on the transmission signal of the detection device, the first phase shift (i.e., ), the second phase shift (i.e. Φ′), and the phase shift (i.e. Φ1) caused by the chip-end crosstalk on the transmitted signal can satisfy the following formula:

[0123]

[0124] When the phase shift (i.e. Φ2) and the first phase shift (i.e. ), and the second phase shift (i.e., Φ′), differs from the phase shift (i.e., Φ1) caused by the chip-end crosstalk on the above-mentioned transmission signal by 180 degrees, the phase shift caused by the antenna-end crosstalk, the first network, and the transmission line on the transmission signal of the detection device is exactly opposite to the phase shift caused by the chip-end crosstalk on the transmission signal, so that the antenna-end crosstalk can offset part or all of the chip-end crosstalk.

[0125] For ease of understanding, the following two examples are used to illustrate the principle of antenna-side crosstalk canceling chip-side crosstalk. For example, if the loss and phase shift of the transmission line in the detection device on the transmitted signal are considered, the phase of the first signal input from the transmitter to the first network is d (greater than or equal to 0 degrees and less than 360 degrees), and the phase of the second signal output from the first network is The phase of the first crosstalk signal of the second signal from the first antenna to the second antenna is That is, the phase of the crosstalk signal input from the second antenna to the receiver is The phase of the second crosstalk signal is (Φ1+d). In this example, when For another example, if the loss and phase shift of the transmission line in the detection device on the transmitted signal are not taken into account, the phase of the first signal input from the transmitter to the first network is d (greater than or equal to 0 degrees and less than 360 degrees), and the phase of the second signal output from the first network is The phase of the first crosstalk signal of the second signal from the first antenna to the second antenna is That is, the phase of the crosstalk signal input from the second antenna to the receiver is The phase of the second crosstalk signal is (Φ1+d). In this example, when When the first crosstalk signal is equal to the phase of the second signal, the first crosstalk signal can cancel part or all of the second crosstalk signal. and the phase shift (Φ2) generated by the crosstalk of the second signal from the first antenna to the second antenna. Since the configuration of the first network can be adjusted, that is, can be adjusted, so by adjusting the configuration of the first network, Φ2, Φ′ and Φ1 satisfy the above formula (3), thereby eliminating the crosstalk signal.

[0126] In one possible implementation, the ratio of the product of the loss (i.e., A2) caused by the antenna-end crosstalk to the transmission signal of the detection device, the first loss (i.e., a1), and the second loss (i.e., A′) to the loss (i.e., A1) caused by the chip-end crosstalk to the above transmission signal is less than the first threshold. Exemplarily, the first threshold is 3dB, 4dB, 5dB, 6dB, 8dB, etc. For example, the product of the loss (i.e., A2) caused by the antenna-end crosstalk to the transmission signal of the detection device, the first loss (i.e., a1), and the second loss (i.e., A′) is equal to the loss (i.e., A1) caused by the chip-end crosstalk to the above transmission signal. In other words, the loss (i.e., A2) caused by the antenna-end crosstalk to the transmission signal of the detection device, the first loss (i.e., a1), the second loss (i.e., A′) and the loss (i.e., A1) caused by the chip-end crosstalk to the above transmission signal can satisfy the following formula:

[0127] A1=a1×A2×a2×A′ (4);

[0128] When the phase shift (i.e. Φ2) and the first phase shift (i.e. ), the sum of the second phase shift (i.e., Φ′), and the phase shift (i.e., Φ1) caused by the chip-side crosstalk on the above-mentioned transmission signal is 180 degrees different. If the loss (i.e., A2) caused by the antenna-side crosstalk on the transmission signal of the detection device, the first loss (i.e., a \ ), the second loss (i.e. A′), and the loss caused by the chip-side crosstalk on the above-mentioned transmission signal (i.e. A1) satisfy the above formula (4), then the chip-side crosstalk is just offset by the antenna-side crosstalk, that is, the antenna-side crosstalk offsets all of the chip-side crosstalk.

[0129] For ease of understanding, the following two examples are used to illustrate the principle of antenna-side crosstalk canceling chip-side crosstalk. For example, if the loss and phase shift of the transmission line in the detection device on the transmitted signal are considered, the amplitude of the first signal input from the transmitter to the first network is h (real number), the amplitude of the second signal output from the first network is (a1×h), and the amplitude of the first crosstalk signal of the second signal from the first antenna to the second antenna is (a1×A2×A′×h), that is, the amplitude of the crosstalk signal input from the second antenna to the receiver is (a1×A2×A′×h), and the amplitude of the second crosstalk signal is (A1×h). In this example, when A1=a1×A2×A′, the first crosstalk signal can cancel all of the second crosstalk signal. For another example, if the loss and phase shift of the transmission line in the detection device on the transmitted signal are not considered, the amplitude of the first signal input from the transmitter to the first network is h (real number), the amplitude of the second signal output from the first network is (a1×h), and the amplitude of the first crosstalk signal of the second signal from the first antenna to the second antenna is (a1×A2×h), that is, the amplitude of the crosstalk signal input from the second antenna to the receiver is (a1×A2×h), and the amplitude of the second crosstalk signal is (A1×h). In this example, when A1=a1×A2, the first crosstalk signal can offset the entirety of the second crosstalk signal. From the above two examples, it can be seen that in some examples, the amplitude of the first crosstalk signal is equal to the product of the amplitude of the second signal (a1×h) and the loss (A2) caused by the crosstalk of the second signal from the first antenna to the second antenna. Since the configuration of the first network can be adjusted, that is, a1 can be adjusted, A1, a1, A2, and A′ can satisfy the above formula (4) by adjusting the configuration of the first network, thereby better eliminating the crosstalk signal.

[0130] In a possible implementation, the first network is a dynamic matching network, that is, the loss and phase shift of the first network on its input signal can be adjusted. In this implementation, by adjusting the phase shift of the first network on the transmitted signal, the phase shift (i.e. Φ2) and the first phase shift (i.e. ), and the sum of the second phase shift (i.e., Φ′), differs by 180 degrees from the phase shift (i.e., Φ1) caused by the chip-side crosstalk on the transmitted signal, so that the antenna-side crosstalk of the detection device will offset part or all of the chip-side crosstalk of the detection device. Exemplarily, the controller in the detection device can adjust (or calibrate) the loss and phase shift caused by the first network on the transmitted signal of the detection device by adjusting the configuration (or network status) of the first network; and can also determine the situation in which the antenna-side crosstalk offsets the chip-side crosstalk. In this example, the controller in the detection device can adjust the first network so that the antenna-side crosstalk offsets part or all of the chip-side crosstalk of the detection device. For example, before a single-chip detection device or a device (such as a refrigerator, a water heater, etc.) equipped with a single-chip detection device leaves the factory, the controller in the detection device adjusts the configuration of the first network so that the antenna-side crosstalk of the detection device can offset part or all of the chip-side crosstalk, that is, the above formula (3) is satisfied. For another example, when a single-chip detection device meets the trigger condition, the controller in the detection device adjusts the first network so that the antenna-side crosstalk of the detection device cancels part or all of the chip-side crosstalk of the detection device. Exemplarily, the trigger condition for the controller in the detection device to adjust the first network is that the detection device is powered on for the first time or the direct path estimated power of the detection device is greater than a fourth preset value, and the value range of the fourth preset value can be -95dBm to 30dBm. Exemplarily, the controller in the detection device periodically adjusts the first network.

[0131] Figure 8 Schematic diagram of the hardware architecture of the single-chip detection device in the communication transmission mode provided in the embodiment of the present application. Figure 8As shown, the detection device in the form of a single chip includes: a WIFI chip, a first network, a Tx antenna (i.e., the first antenna), a second network, and an Rx antenna (i.e., the second antenna), the WIFI chip includes a controller, Tx, and Rx, Tx is coupled to the first network (a dynamic matching network), the first network is coupled to the Tx antenna, the connection between Rx and the second network is in a disconnected state (i.e., Rx is not connected to the second network), the second network is coupled to the Rx antenna, and the controller is coupled to the first network and the second network respectively. Exemplarily, in the communication transmission mode, the detection device in the form of a single chip, Tx, the first network, and the Tx antenna are all in a working state, and Rx, the second network, and the Rx antenna are not in a working state, that is, they are not working. The function of the first network in the single-chip detection device in the radar mode is basically the same as that in the communication mode, except that the configuration (or network state) of the first network in the radar mode is different from that in the communication transmission mode. The configuration of the first network in the communication transmission mode can be the same as the configuration in the communication reception mode. When the configuration of the first network is different, the phase shift and / or loss caused by the first network to the transmission signal of the detection device is different. In other words, when the configuration of the first network is different, the phase shift and / or loss adjusted by the first network to its input signal is different.

[0132] In a possible implementation, when the detection device is in radar mode, the first network adjusts the phase and / or amplitude of its input signal under a first configuration (i.e., performs at least a first signal processing on its input signal); when the detection device is in communication transmission mode or communication reception mode, the first network adjusts the phase and / or amplitude of its input signal under a second configuration (i.e., performs at least a first signal processing on its input signal). In a possible implementation, the first network switches configurations through the high and low levels and / or voltage values ​​of the control signals input thereto. Exemplarily, when the controller in the single-chip detection device inputs a first control signal to the first network, the first network adopts a first configuration, i.e., adjusts (or switches) its configuration to the first configuration, and the first control signal is at a low level; when the controller inputs a second control signal to the first network, the first network adopts a second configuration, i.e., adjusts its configuration to the second configuration, and the second control signal is at a high level. Exemplarily, when the controller in the single-chip detection device inputs a control signal of a first voltage value to the first network, the first network adopts a first configuration, that is, its configuration is adjusted (or switched) to the first configuration; when the controller inputs a control signal of a second voltage value to the first network, the first network adopts a second configuration, that is, its configuration is adjusted to the second configuration, and the difference between the first voltage value and the second voltage value is greater than a voltage threshold, for example, the voltage threshold is 0.2V, 0.3V, 0.5V, 0.8V, 1V, etc.

[0133] exist Figure 8Under the hardware architecture of the detection device shown, an example of the signal transmission process of the single-chip detection device in the communication transmission mode is as follows: the controller outputs control information #2 to the transmitter; the transmitter outputs the fifth signal to the first network based on the control information #2; the first network performs at least the third signal processing on the fifth signal to obtain the sixth signal, and outputs the sixth signal to the first antenna, and the third signal processing includes adjusting the phase and / or amplitude of the fifth signal; the first antenna transmits the sixth signal. An example of the first network performing at least the third signal processing on the fifth signal is: the first network adjusts the phase and / or amplitude of its input signal (i.e., the fifth signal) under the second configuration.

[0134] Fig. 9 Schematic diagram of the hardware architecture of the single-chip detection device in the communication receiving mode provided in the embodiment of the present application. Fig. 9 As shown, the detection device in the form of a single chip includes: a WIFI chip, a first network, a Tx antenna (i.e., the first antenna), a second network, and an Rx antenna (i.e., the second antenna), the WIFI chip includes a controller, Tx, and Rx, Rx is coupled to the first network (a dynamic matching network), the first network is coupled to the Tx antenna, the connection between Tx and the first network is in a disconnected state (i.e., Tx is not connected to the first network), the connection between Rx and the second network is in a disconnected state (i.e., Rx is not connected to the second network), the second network is coupled to the Rx antenna, and the controller is coupled to the first network and the second network respectively. Exemplarily, in the communication receiving mode of the detection device in the form of a single chip, Rx, the first network, and the Tx antenna are all in a working state, and Tx, the second network, and the Rx antenna are not in a working state, that is, they are not working. The function of the first network in the single-chip detection device in the radar mode is basically the same as that in the communication mode, except that the configuration of the first network in the radar mode is different from that in the communication mode.

[0135] exist Fig. 9 Under the hardware architecture of the detection device shown, an example of the signal transmission process of the single-chip detection device in the communication reception mode is as follows: the first antenna (i.e., the Tx antenna) outputs the received seventh signal to the first network; the first network performs at least the fourth signal processing on the seventh signal to obtain the eighth signal, and outputs the eighth signal to the receiver, and the above-mentioned fourth signal processing includes adjusting the phase and / or amplitude of the above-mentioned seventh signal. When the single-chip detection device is in the communication reception mode, the Tx antenna serves as a receiving antenna. An example of the first network performing at least the fourth signal processing on the seventh signal is: the first network adjusts the phase and / or amplitude of its input signal (i.e., the seventh signal) under the second configuration.

[0136] The single-chip detection device can switch between communication mode and radar mode, and between communication transmission mode and communication reception mode. Figure 6 , Figure 8 as well as Fig. 9 It can be seen that the single-chip detection device provided in the embodiment of the present application can work in radar mode or communication mode. In other words, the hardware architecture of the single-chip detection device provided in the embodiment of the present application can support both radar mode and communication mode. In a possible implementation, the detection device switches modes by adjusting the connection status of at least two components. Figure 6 and Figure 8 When the single-chip detection device is in radar mode, Tx is coupled to the first network and Rx is coupled to the second network; when the single-chip detection device is in communication transmission mode, Tx is coupled to the first network and Rx is disconnected from the second network; the detection device switches from radar mode to communication transmission mode including disconnecting Rx from the second network, that is, the hardware architecture after disconnecting Rx from the second network is a hardware architecture supporting the communication transmission mode; the detection device switches from communication transmission mode to radar mode including connecting Rx to the second network, that is, the hardware architecture after connecting Rx to the second network is an architecture supporting the radar mode. Exemplarily, the controller connects Rx to the second network or disconnects Rx from the second network by sending a control signal to Rx or the second network. For example, the second network is connected to Rx through a single-pole single-throw switch, and the control signal output by the controller can control the opening and closing of the single-pole single-throw switch.

[0137] See also Figure 6 and Fig. 9When the single-chip detection device is in radar mode, Tx is coupled to the first network and Rx is coupled to the second network; when the single-chip detection device is in communication reception mode, Rx is coupled to the first network and the connection between Rx and the second network is disconnected; the detection device switches from radar mode to communication reception mode, including disconnecting Rx from the second network, disconnecting Tx from the first network, and connecting Rx to the first network; the detection device switches from communication reception mode to radar mode, including disconnecting Rx from the first network, connecting Tx to the first network, and connecting Rx to the second network. Exemplarily, the controller connects Rx to the second network or disconnects Rx from the second network by sending a control signal to the second network; controls whether the first network is connected to Tx or Rx by sending control information to the first network. For example, the second network is connected to Rx through a single-pole single-throw switch, and the control signal output by the controller can control the opening and closing of the single-pole single-throw switch. When the single-pole single-throw switch is opened, the connection between Rx and the second network is disconnected, and when the single-pole single-throw switch is closed, Rx is connected to the second network; the first network is connected to Rx or Tx through a single-pole double-throw switch, and the control signal output by the controller can control whether the single-pole single-throw is connected to Rx or Tx. In this example, when the single-pole single-throw is connected to Rx, the first network is connected to Rx; when the single-pole single-throw is connected to Tx, the first network is connected to Tx.

[0138] Combine the following Fig.10 and Fig.11 The controller in the detection device adjusts the first network and the second network in a manner such that the antenna-side crosstalk of the detection device cancels part or all of the chip-side crosstalk of the detection device. The manner of adjusting the first network and the second network can be referred to as a manner of calibrating the first network and the second network.

[0139] Fig.10 A flow chart of a dynamic network matching calibration method provided in an embodiment of the present application. The controller in the detection device is adjusted by executing Fig.10 The method flow in the method can store the first configuration of the first network and the third configuration of the second network. When the detection device is in radar mode, the first network adjusts the phase and / or amplitude of its input signal under the first configuration, and the second network adjusts the phase and / or amplitude of its input signal under the third configuration; the antenna end crosstalk of the detection device can offset part or all of the chip end crosstalk of the detection device. Fig.10 As shown, the method includes:

[0140] 1001. The detection device adjusts the configuration of the second network to a third configuration.

[0141] The hardware architecture of the detection device can be Figure 6As shown. A possible implementation of step 1001 is as follows: the second network adjusts its configuration to the third configuration according to the third control information inputted thereto by the controller. That is, the controller in the detection device may input the third control information to the second network so that the second network adjusts its configuration according to the third control information. In other words, the controller in the detection device inputs the third control information to the second network to trigger the second network to adjust its configuration.

[0142] 1002. The detection device transmits and receives signals in radar mode.

[0143] Exemplarily, the controller in the detection device controls the transmitter to transmit and receive signals in radar mode.

[0144] 1003. The detection device estimates the direct path power based on the transmitted signal and the received signal.

[0145] A possible implementation of step 1003 is as follows: the controller uses a fast time compression algorithm to obtain the flight time of the transmitted signal based on the transmitted signal and the received signal; the matching energy at a flight time close to 0 is regarded as a direct path, and its power is estimated accordingly, that is, the direct path power is obtained. An example of the controller using a fast time compression algorithm to obtain the flight time of the transmitted signal based on the transmitted signal and the received signal is as follows: by calculating the coherence of the transmitted waveform (i.e., the waveform of the transmitted signal) and the echo waveform (i.e., the waveform of the received signal), the similarity between the received signal and the transmitted signal under different time delays is obtained, thereby inferring the flight time of the transmitted signal, and then determining the distance between the target generating the echo and the transmitter. The controller can also use other methods to estimate the direct path power, which is not limited in the embodiments of the present application. Step 1003 can be replaced by: obtaining the second direct path power of the detection device when the configuration of the second network is the third configuration.

[0146] 1004. The detection device determines whether the second direct path power is greater than a third preset value.

[0147] The second direct path power is the direct path power obtained by estimating the direct path power in step 1003. If yes, execute step 1005; if not, execute step 1001. The controller can execute steps 1001 to 1004 multiple times until the direct path power obtained by estimating the direct path power is greater than the third preset value. The third preset value can be set according to actual needs, and the embodiment of the present application is not limited. Exemplarily, the value range of the third preset value is -80dBm to 30dBm. For example, Rx calibration is generally aimed at maximizing the direct path; the target direct path power here = (transmit power) - (uncalibrated board-level antenna crosstalk) - (loss caused by antenna matching); considering that the transmit power of a general WiFi chip is -40dBm to 30dBm; the uncalibrated board-level antenna crosstalk is -40dBc to 0dBc; therefore, the value range of the third preset value can be -80dBm to 30dBm. It should be noted that when executing step 1001 for the second time, the detection device adjusts the configuration of the second network to a configuration different from the third configuration. That is, the detection device performs step 1001 twice in a different manner, that is, the configuration of the second network is adjusted to a different configuration.

[0148] 1005. The detection device stores the third configuration.

[0149] The controller storing the third configuration may be replaced by storing the network state of the second network under the third configuration. The purpose of steps 1001 to 1005 is to determine that the antenna matching of the second antenna is better, such as the best antenna matching, by adjusting the configuration of the second network. For example, the purpose of adjusting the second network (which may be called the Rx dynamic matching network) is to ensure the best antenna matching of the Rx antenna (ie, the second antenna). One possible adjustment method is as follows: using radar transceiver, using radar echoes for fast time compression and direct path estimation, to evaluate the self-matching of the Rx antenna. Assume that the parameter vector of the Rx dynamic matching network is A, the parameter vector of the Tx dynamic matching network (ie, the first network) is B, and the transmission power of the detection device is P t (and remain unchanged during the optimization and adjustment process), the direct path estimated power is P r , the optimization equation for Rx dynamic network adjustment is:

[0150] max A P r (A,B,P t ) (5);

[0151] Among them, the parameter vector A of the Rx dynamic matching network = {A1, A2, A3, ...}, A1, A2, A3, etc. are the degrees of freedom of the actual corresponding dynamic matching network adjustable capacitance, inductance, and resistance. From formula (5), it can be seen that the purpose of adjusting the Rx dynamic matching network (i.e., adjusting the configuration of the second network) is to maximize the direct path estimation power, and the optimization method is to adjust the parameter vector of the Rx dynamic matching network. The controller can also optimize the configuration of the second network in other ways, which is not limited in this application.

[0152] 1006. The detection device adjusts the configuration of the first network to the first configuration.

[0153] The hardware architecture of the detection device can be Figure 6 As shown. A possible implementation of step 1006 is as follows: the first network adjusts its configuration to the first configuration according to the first control information inputted by the controller. That is, the controller in the detection device may input the first control information to the first network so that the first network adjusts its configuration according to the first control information. In other words, the controller in the detection device inputs the first control information to the first network to trigger the first network to adjust its configuration.

[0154] 1007. The detection device transmits and receives signals in radar mode.

[0155] Step 1007 may refer to step 1002 .

[0156] 1008. The detection device estimates the direct path power based on the transmitted signal and the received signal.

[0157] Step 1008 may refer to step 1003. Step 1008 may be replaced by: obtaining a first direct path power of the detection device when the configuration of the first network is the first configuration.

[0158] 1009. The detection device determines that the first straight-path power is less than or equal to a first preset value.

[0159] The first direct path power is the direct path power obtained by estimating the direct path power in step 1008. If yes, execute step 1010; if not, execute step 1006. The controller can execute steps 1006 to 1009 multiple times until the direct path power obtained by estimating the direct path power is less than or equal to the first preset value. The first preset value can be set according to actual needs, and the embodiment of the present application is not limited. Exemplarily, the value range of the first preset value is -100dBm to 20dBm. For example, the target direct path power here = (transmitting power) - (isolation in design); assuming that the reflection power of a general WiFi chip is -40dBm to 30dBm, the isolation in the design is generally 60dBc to 10dBc according to different applications, and the value range of the first preset value is between -100dBm and 20dBm. It should be noted that when step 1006 is executed for the second time, the detection device adjusts the configuration of the first network to a configuration different from the first configuration. That is, step 1006 performed by the detection device any two times are different, that is, the configuration of the first network is adjusted to a different configuration.

[0160] 1010. The detection device stores the first configuration.

[0161] The controller storing the first configuration may be replaced by storing the network state of the first network under the first configuration. The purpose of steps 1006 to 1010 is to obtain the configuration of the first network so that the antenna-side crosstalk can offset the chip-side crosstalk by adjusting the configuration of the first network. When the detection device is in radar mode, the configuration of the first network is the first configuration and the configuration of the second network is the third configuration, the antenna-side crosstalk can offset the chip-side crosstalk.

[0162] The purpose of adjusting the Tx dynamic matching network is to ensure T-Rx crosstalk cancellation, that is, the direct path power is less than or equal to the first preset value, for example, the direct path power is estimated to be minimum. A possible adjustment method is as follows: relying on the way of using radar transceiver, using radar echo for fast time compression and direct path estimation to evaluate the T-Rx crosstalk. Let the parameter vector of the Rx dynamic matching network be A, the parameter vector of the Tx dynamic matching network be B, and the transmission power of the detection device be P t , the direct path estimated power is P r , the optimization equation for Tx dynamic network adjustment is:

[0163] min B P r (A,B,P t ) (6);

[0164] Among them, A is the parameter vector determined in the previous step of Rx dynamic matching network adjustment, B = {B1, B2, B3, ...}, B1, B2, B3, etc. are the degrees of freedom of the adjustable capacitance, inductance, and resistance of the actual dynamic matching network. r It is often not necessary to minimize P. Therefore, under certain circumstances, it is allowed to r A certain threshold (ie, a first preset value) is set.

[0165] Fig.10 The dynamic network matching calibration method flow shown is applicable to Figure 6 The detection device shown. Figure 7 The controller in the detection device shown can obtain the configuration of the first network so that the antenna-side crosstalk can offset the chip-side crosstalk by executing steps 1006 to 1010.

[0166] In the embodiment of the present application, when the first direct path power is less than or equal to the first preset value, the first configuration is stored so that when the first network adopts the first configuration, the crosstalk signal can be eliminated.

[0167] The configuration of the first network in the radar mode is different from the configuration in the communication mode. Fig.10 The controller determines the configuration of the first network when the detection device is in radar mode. Fig.11 A method flow is described in which a controller determines a configuration of a first network when a detection device is in a communication mode.

[0168] Fig.11 Another flow chart of a dynamic network matching calibration method provided in an embodiment of the present application. The controller in the detection device is adjusted by executing Fig.11 The method flow in the embodiment may store the configuration of the first network when the detection device is in the communication mode. Fig.11 As shown, the method includes:

[0169] 1101. The detection device adjusts the configuration of the first network to the second configuration.

[0170] The hardware architecture of the detection device can be Figure 6 As shown. A possible implementation of step 1101 is as follows: the first network adjusts its configuration to the second configuration according to the second control information inputted thereto by the controller. That is, the controller in the detection device may input the second control information to the first network so that the second network adjusts its configuration according to the second control information. In other words, the controller in the detection device inputs the second control information to the first network to trigger the first network to adjust its configuration.

[0171] 1102. The detection device transmits a waveform.

[0172] 1103. The detection device obtains the returned power when the configuration of the first network is the second configuration.

[0173] Step 1103 may be replaced by: the detection device performs return power estimation.

[0174] The waveform transmitted by the detection device can be a standard communication waveform, or any preset calibration waveform, and the signal is played by the chip's Tx link via baseband, up-conversion, and amplification; the return power estimation depends on the direct output of the detector.

[0175] 1104. The detection device determines whether the returned power is less than or equal to a second preset value.

[0176] If so, execute step 1105; if not, execute step 1101. The controller may execute steps 1101 to 1104 multiple times until the return power obtained by the return power estimation is less than or equal to the second preset value. The second preset value can be set according to actual needs, and the embodiment of the present application is not limited. Exemplarily, the value range of the second preset value is -50dBm to 24dBm. For example, the second preset value = (transmit power) - (ideal matching S11), which is actually an arbitrary value due to different transmit powers; typically the transmit power of a WIFI chip is between -40dBm and 30dBm, and the matching S11 is commonly 6dB to 10dB, so the second preset value range is between -50dBm and 24dBm.

[0177] 1105. The detection device stores the second configuration.

[0178] In the embodiment of the present application, when the return power is less than or equal to the second preset value, the second configuration is stored; this allows the detection device to have a better antenna matching effect on the first antenna when the configuration of the first network is the second configuration.

[0179] The present application also provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction is executed on a computer, the computer executes the method of the above embodiment.

[0180] The present application also provides a computer program product, which includes instructions or a computer program. When the instructions or the computer program are run on a computer, the method in the above embodiment is executed.

[0181] The present application also provides a terminal device, comprising the above-mentioned single-chip detection device.

[0182] The present application also provides a terminal device, comprising the above-mentioned controller.

[0183] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the above claims.

Claims

1. A detection device, characterized in that: include: A transmitter, a receiver, a first network, a first antenna, and a second antenna; The transmitter is coupled to the first network, the first network is coupled to the first antenna, and the receiver is coupled to the second antenna; The transmitter is used to output a first signal to the first network; The first network is used to perform at least a first signal processing on the first signal to obtain a second signal, and output the second signal to the first antenna, wherein the first signal processing includes adjusting a phase of the first signal so that a first crosstalk signal of the output second signal from the first antenna to the second antenna and a second crosstalk signal from the transmitter to the receiver meet a crosstalk cancellation condition; The first antenna is used to transmit the second signal; The second antenna is used to output a received third signal to the receiver, where the third signal corresponds to the signal transmitted by the first antenna.

2. The device according to claim 1, characterized in that Meeting the crosstalk elimination condition includes: a phase difference of the first crosstalk signal and a phase difference of the second crosstalk signal by 180 degrees.

3. The device according to claim 2, characterized in that Meeting the crosstalk elimination condition also includes: a ratio of the amplitude of the first crosstalk signal to the amplitude of the second crosstalk signal is less than a first threshold of 3 dB to 5 dB.

4. The device according to claim 1, characterized in that The detection device also includes a second network; The receiver is coupled to the second antenna, including: the receiver is coupled to the second network, and the second network is coupled to the second antenna; The second antenna is specifically configured to output the received third signal to the second network, wherein the third signal includes the first crosstalk signal; The second network is used to perform at least a second signal processing on the third signal to obtain a fourth signal, and output the fourth signal to the receiver, wherein the second signal processing includes adjusting the phase and / or amplitude of the third signal; Meeting the crosstalk elimination condition includes: a phase difference of 180 degrees between the second crosstalk signal and the third crosstalk signal, and the third crosstalk signal is a crosstalk signal output by the second network performing the second signal processing on the first crosstalk signal.

5. The device according to any one of claims 1 to 4, characterized in that: The detection device also includes a controller, and the controller is coupled to the first network; The controller is used to adjust the configuration of the first network.

6. The device according to any one of claims 1 to 5, characterized in that The first network includes a detector and a plurality of adjustable components, wherein the plurality of adjustable components include one or more of an adjustable capacitor, an adjustable inductor, an adjustable resistor, or an adjustable microwave circuit having adjustable capacitor, inductor or resistor properties.

7. The device according to any one of claims 1 to 6, characterized in that The first network performing at least the first signal processing on the first signal comprises: when the detection device is in the radar mode, the first network performing at least the first signal processing on the first signal in a first configuration; The first network is further configured to adjust the phase and / or amplitude of its input signal in a second configuration when the detection device is in a communication transmission mode or a communication reception mode; the first configuration and the second configuration are different.

8. The device according to claim 7, characterized in that The detection device also includes a controller and one or more switches; The controller is used to switch the working mode of the detection device by controlling the opening and closing of the one or more switches.

9. The device according to any one of claims 1 to 8, characterized in that The detection device also includes a controller, and the controller is coupled to the first network; The controller is configured to send first control information to the first network; The first network is configured to adjust its configuration to a first configuration based on the first control information; The controller is also used to obtain the first direct path power of the detection device when the configuration of the first network is the first configuration; when the first direct path power is less than or equal to a first preset value, store the first configuration, and the first configuration is the configuration of the first network when the detection device is in radar mode.

10. A controller, characterized in that: The controller is coupled to a transmitter and a receiver respectively, the transmitter is coupled to a first network, the first network is coupled to a first antenna, the receiver is coupled to a second antenna, the controller is coupled to the first network, the output signal of the transmitter is the input signal of the first network, the first network is used to adjust the amplitude and / or phase of its input signal, and the output signal of the first network is output to the first antenna; The controller is used to send first control information to the first network, where the first control information is used to adjust the configuration of the first network to a first configuration; obtain a first direct path power of a detection device to which the first network belongs when the configuration of the first network is the first configuration; and store the first configuration when the first direct path power is less than or equal to a first preset value, where the first configuration is the configuration of the first network when the detection device is in radar mode.

11. The chip according to claim 10, characterized in that: The controller is further configured to, when the detection device is in radar mode, send a first configuration signal to the first network, wherein the first configuration signal is used to adjust the configuration of the first network to the first configuration; and, when the detection device is in communication transmission mode or communication reception mode, send a second configuration signal to the first network, wherein the second configuration signal is used to adjust the configuration of the first network to a second configuration, and the first configuration and the second configuration are different.

12. A dynamic network matching calibration method, characterized in that: The method is applied to a controller, the controller is coupled to a transmitter and a receiver respectively, the transmitter is coupled to a first network, the first network is coupled to a first antenna, the receiver is coupled to a second antenna, the controller is coupled to the first network, the output signal of the transmitter is the input signal of the first network, the first network is used to adjust the amplitude and / or phase of its input signal, and the output signal of the first network is output to the first antenna; the method includes: The controller sends first control information to the first network, where the first control information is used to adjust the configuration of the first network to a first configuration; The controller obtains a first direct path power of a detection device to which the first network belongs when the configuration of the first network is the first configuration; The controller stores the first configuration when the first direct path power is less than or equal to a first preset value.

13. The method according to claim 12, characterized in that When the detection device is in the radar mode, the controller sends a first configuration signal to the first network, where the first configuration signal is used to adjust the configuration of the first network to the first configuration; When the detection device is in a communication transmission mode or a communication reception mode, the controller sends a second configuration signal to the first network, where the second configuration signal is used to adjust the configuration of the first network to a second configuration, and the first configuration and the second configuration are different.

14. A terminal device, characterized in that: Comprising a detection device as claimed in any one of claims 1 to 9.

15. A terminal device, characterized in that: Comprising a controller as claimed in claim 10 or 11.