Radio frequency circuit, electronic equipment and circuit control method

By designing radio frequency circuits and using superheterodyne circuits to configure different operating frequency bands and local oscillator frequencies, frequency differentiation and physical isolation of signals in virtual reality devices were achieved, solving the problem of mutual interference between signals and improving the accuracy of signal reception and communication stability.

CN121585189APending Publication Date: 2026-02-27VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511635432.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-10
Publication Date
2026-02-27

AI Technical Summary

Technical Problem

In wireless communication, the interference between multiple signals with similar or even identical frequency bands leads to poor signal stability, high data transmission latency, reduced speed, and even connection interruption, which particularly affects the user experience in virtual reality devices.

Method used

The design employs an RF circuit, connecting the antenna to the signal processing unit via a first switch and two paths. Different operating frequency bands and local oscillator frequencies are configured using a superheterodyne circuit to ensure that the signal is transmitted through different operating channels. The superheterodyne circuit is used to extract a clean RF signal.

Benefits of technology

It effectively solves the problem of mutual interference between signals on the same frequency band, significantly improves signal reception quality and communication stability, reduces user operation response delay, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121585189A_ABST
    Figure CN121585189A_ABST
Patent Text Reader

Abstract

The invention discloses a radio frequency circuit, electronic equipment and a circuit control method, and belongs to the technical field of wireless communication. In the radio frequency circuit, a first switch is used for communicating a first antenna with a first path or communicating the first antenna with a second path. The first path is used for receiving and outputting working channel information of the first radio frequency signal to the signal processing unit through the first antenna, and the working channel information indicates a working channel for transmitting the first radio frequency signal; the second path comprises a first superheterodyne circuit, and the signal processing unit is used for configuring a working frequency band of a second radio frequency signal as a target frequency band, and determining and configuring a first local frequency of the first superheterodyne circuit based on a center frequency of a working channel and a first intermediate frequency set by the first superheterodyne circuit; and the second path is used for extracting a first radio frequency signal from the radio frequency signal acquired by the first antenna through the first superheterodyne circuit based on the first local frequency and the first intermediate frequency.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of wireless communication, and particularly relates to a radio frequency circuit, an electronic device and a circuit control method. BACKGROUND

[0002] In the field of wireless communication, a radio frequency circuit, as the core circuit of a wireless communication device, is used for modulating, amplifying, filtering and transceiving high-frequency signals, and its performance directly affects the communication efficiency and user experience of the wireless communication device. In particular, in real-time interactive applications such as virtual reality (VR), since VR needs to simultaneously receive and process multiple different signals, VR has the problem of signal mutual interference when receiving signals.

[0003] At present, a time division duplexing (TDD) mechanism is usually adopted to alternately process signals of different frequency bands in a time-division manner to avoid mutual interference between signals of different frequency bands.

[0004] However, if multiple signals received at the same time have similar or even the same frequency bands, the multiple signals will be processed as the same signal under the TDD mechanism due to the overlapping of the frequency bands. Obviously, how to avoid the mutual interference of multiple signals with similar or even the same frequency bands is a problem that needs to be solved urgently. SUMMARY

[0005] The purpose of the embodiments of the present application is to provide a radio frequency circuit, an electronic device and a circuit control method, which can solve the technical problem of mutual interference of multiple signals with similar or even the same frequency bands when an electronic device receives signals.

[0006] In a first aspect, the embodiments of the present application provide a radio frequency circuit, comprising: a first switch, a first path, a second path, a signal processing unit and a first antenna; The first switch is connected with the first antenna, the first path and the second path, and the first path and the second path are connected with the signal processing unit; In a case where the first switch is in a first switch state, the first antenna is in communication with the signal processing unit through the first path, and in a case where the first switch is in a second switch state, the first antenna is in communication with the signal processing unit through the second path; The first path is configured to, when in communication with the signal processing unit and the first antenna, receive a first radio frequency signal through the first antenna and output working channel information of the first radio frequency signal to the signal processing unit, the working channel information indicating a working channel for transmitting the first radio frequency signal; The second path includes a first superheterodyne circuit, and the signal processing unit is configured to configure a working frequency band of the second radio frequency signal as a target frequency band, and determine and configure a first local oscillator frequency of the first superheterodyne circuit based on a center frequency of the working channel and a first intermediate frequency frequency set by the first superheterodyne circuit, the target frequency band being a frequency band other than a channel frequency band of the working channel. The second path is configured to extract the first radio frequency signal from a radio frequency signal collected by the first antenna based on the first local oscillator frequency, the first intermediate frequency frequency and a width of the working channel through the first superheterodyne circuit when in communication with the signal processing unit and the first antenna.

[0007] In a second aspect, the embodiments of the present application provide an electronic device, including the radio frequency circuit of any one of the first aspect.

[0008] In a third aspect, the embodiments of the present application provide a circuit control method, applied to the radio frequency circuit of any one of the first aspect, or the electronic device of the second aspect; the method includes: controlling the first switch to be in a first switch state; receiving working channel information of the first radio frequency signal transmitted by the first path, the working channel information indicating a working channel of the first radio frequency signal; configuring a working frequency band of the second radio frequency signal as a target frequency band, the target frequency band being a frequency band other than a channel frequency band of the working channel; determining a first local oscillator frequency of the first superheterodyne circuit based on a center frequency of the working channel and an intermediate frequency frequency set by the first superheterodyne circuit; configuring the first local oscillator frequency of the first superheterodyne circuit; controlling the first switch to be in a second switch state.

[0009] In a fourth aspect, the embodiments of the present application provide a readable storage medium, the readable storage medium storing a program or instructions, the program or instructions being executed by a processor to implement the steps of the method of the third aspect.

[0010] In a fifth aspect, the embodiments of the present application provide a chip, the chip including a processor and a communication interface, the communication interface and the processor being coupled, the processor being configured to run a program or instructions to implement the method of the third aspect.

[0011] In a sixth aspect, the embodiments of the present application provide a computer program product, the program product being stored in a storage medium, the program product being executed by at least one processor to implement the method of the third aspect.

[0012] In the embodiment of the present application, when the first switch is connected to the first antenna, the first path and the signal processing unit, the signal processing unit can obtain the working channel information of the first radio frequency signal received by the first antenna through the first path, configure the working frequency range of the second radio frequency signal to be a target frequency range other than the channel frequency range of the working channel of the first radio frequency signal based on the working channel of the first radio frequency signal indicated by the working channel information, and determine and configure the first local oscillator frequency of the first superheterodyne circuit based on the center frequency of the working channel of the first radio frequency signal and the first intermediate frequency frequency set in the second path. Thus, when the first switch is connected to the first antenna, the second path and the signal processing unit, the first superheterodyne circuit can extract the first radio frequency signal from the radio frequency signal collected by the first antenna based on the first local oscillator frequency and the first intermediate frequency frequency, and output the first radio frequency signal to the signal processing unit.

[0013] In the technical solution, the radio frequency circuit configures the working frequency range of the second radio frequency signal to be a target frequency range other than the channel frequency range of the working channel of the first radio frequency signal, so that the first radio frequency signal and the second radio frequency signal are transmitted through different working channels. Then, the radio frequency circuit configures the first local oscillator frequency of the first superheterodyne circuit according to the center frequency of the working channel and the first intermediate frequency frequency set in the first superheterodyne circuit, so that the first superheterodyne circuit can extract the radio frequency signal transmitted on the actual working channel of the first radio frequency signal to obtain a pure first radio frequency signal, thereby improving the signal reception accuracy. BRIEF DESCRIPTION OF DRAWINGS

[0014] Figure 1 is a connection flow diagram of a wireless fidelity provided by the related art; Figure 2 is a communication application diagram of a VR device provided by the related art; Figure 3 is a structure diagram of a radio frequency circuit provided by an embodiment of the present application; Figure 4 is a structure diagram of another radio frequency circuit provided by an embodiment of the present application; Figure 5 is a structure diagram of still another radio frequency circuit provided by an embodiment of the present application; Figure 6 is a structure diagram of a radio frequency circuit provided by another embodiment of the present application; Figure 7 is a structure diagram of a radio frequency circuit of an electronic device provided by an embodiment of the present application; Figure 8 is an effect display diagram of a radio frequency circuit provided by an embodiment of the present application; Figure 9is a flowchart of a circuit control method provided by an embodiment of the present application. Figure 10 is a schematic diagram of a radio frequency circuit control logic relationship provided by an embodiment of the present application. Figure 11 is a block diagram of a circuit control device provided by an embodiment of the present application. Figure 12 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 13 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0015] The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art belong to the scope of protection of the present application.

[0016] The terms “first”, “second”, and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by “first”, “second”, and the like are generally of a kind and are not limited in number, for example, the first object can be one or more. In addition, “and / or” in the specification and claims means at least one of the connected objects, and the character “ / ” generally represents an “or” relationship between the objects before and after it.

[0017] The radio frequency circuit, electronic device, and circuit control method provided by the embodiments of the present application will be described in detail below with reference to the drawings and specific embodiments.

[0018] In current Wireless Fidelity (WIFI) communication technology, the radio frequency circuit can improve the stability in the signal receiving process and the purity of the received signal through the cooperative work of key devices such as filters and amplifiers. Among them, the filter is used to suppress signal interference other than the signal to be received, to ensure the purity of signal transmission. The power amplifier is used to improve the transmission power of the received signal and to improve the signal transmission distance.

[0019] Figure 1 is a schematic diagram of a wireless fidelity connection process provided by the related art, as shown in Figure 1As shown, the current WIFI communication system generally includes a station (STA) 101 and an access point (AP) 102. WIFI connection can be established between the SAT 101 and the AP 102 through three interactive stages of scanning, authentication and association. Among them, the SAT 101 can be an electronic device such as a mobile phone, a notebook computer, etc. The AP 102 can be a device such as a router, a wireless bridge, etc. which can convert wired signals into wireless signals to provide wireless signal services for the SAT 101. The specific process of establishing WIFI connection between the SAT 101 and the AP 102 is as follows: In the scanning stage: The SAT 101 actively broadcasts a probe request to scan the surrounding AP 102. The AP 102 sends a probe response to the SAT 101 upon receiving the probe request of the SAT 101. The probe response includes configuration information of the AP 102 to assist the SAT 101 to connect the AP 102. Among them, the configuration information includes working channel information of the WIFI signal allocated by the AP 102 to the SAT 101, which indicates the working channel of the WIFI signal for communication of the SAT 101.

[0020] In the authentication stage: The SAT 101 sends an authentication request to the AP 102 upon confirming the connection with the AP 102. The authentication request includes the Media Access Control Address (MAC) of the SAT 101 and the authentication type. For example, the authentication type can be Open System Authentication (OSA). The AP 102 determines the authentication success of the SAT 101 based on the authentication request to determine the IEEE 802.11 standard protocol of the SAT 101, and returns an authentication success response to the SAT 101 upon determining the authentication success of the SAT 101.

[0021] In the association stage: SAT 101 sends an association request to AP 102, so that AP 102 returns an association response to SAT 101 upon receiving the association request, to determine that SAT 101 is successfully associated with AP 102, and complete the establishment of WIFI link between SAT 101 and AP 102. After that, SAT 101 and AP 102 can communicate through Data Frames 103.

[0022] It should be noted that SAT 101 can send radio frequency signals including probe request, authentication request, association request, Data Frames 103, etc. to AP 102 through its radio frequency circuit, and can receive probe response, authentication success response, association response, Data Frames 103, etc. sent by AP 102 through its radio frequency circuit, to realize data interaction between SAT 101 and AP 102. The elements such as filters and amplifiers in the radio frequency circuit can effectively ensure the reliability of signal transmission between SAT 101 and AP 102, and improve the signal transmission capability of the two.

[0023] By Figure 1 It can be seen that the electronic device needs to go through three stages of scanning, authentication and association to establish WIFI connection with AP 102. AP 102 can dynamically adjust the working channel of WIFI signal transmission between it and SAT 101 according to the interference of the environment where the electronic device is located. The working channel of WIFI signal is more, for example, WIFI 2.4G frequency band has 13 channels, and each channel may be used in actual application, so that the channel environment is complex and variable. Therefore, the electronic device needs to have the ability to guarantee the communication quality.

[0024] At present, the radio frequency circuit of the electronic device can effectively improve the communication quality of the WIFI signal and guarantee the effective communication ability of the device to the WIFI signal based on the synergistic effect of key devices such as filters and amplifiers when it captures the WIFI signal through the antenna.

[0025] However, during the process of receiving WIFI signals, the antenna of the electronic device may capture interference signals similar to or even the same as the frequency band of the WIFI signals, such as Bluetooth signals, which have obvious overlap with WIFI signals in the 2.4 GHz frequency band. At present, the filter in the radio frequency circuit cannot effectively filter out the interference signals, so that the radio frequency signal filtered by the filter may have overlapping signals of WIFI signals and interference signals, resulting in WIFI signals and interference signals being processed as the same signal due to signal frequency band overlap, thereby causing the electronic device to have problems such as poor signal stability, high data transmission delay, rate drop, and connection interruption due to signal interference.

[0026] Please refer to Figure 2 which shows a communication application schematic diagram of a VR device provided by the related art. As shown in Figure 2 , the VR device includes a VR glasses and a VR handle. The VR glasses usually have two communication modes, which are usually Bluetooth communication with the VR handle and WIFI communication with the router. Among them, the working frequency band of Bluetooth communication is 2.4 GHz. The working frequency band of WIFI communication can be 2.4 GHz or 5 GHz. Obviously, in the case where the working frequency bands of Bluetooth communication and WIFI communication are both 2.4 GHz, the Bluetooth signals and WIFI signals of the VR glasses will inevitably interfere with each other during communication, thereby causing poor signal transmission stability and further causing problems such as data transmission delay and interruption. Especially in the VR device, which is a high real-time application scenario, data transmission delay will seriously affect user experience.

[0027] The embodiments of the present application provide a radio frequency circuit, which can solve the foregoing problems to some extent. Please refer to Figure 3 which shows a structure schematic diagram of a radio frequency circuit provided by the embodiments. As shown in Figure 3 , the radio frequency circuit includes a first switch 5, a first path 1, a second path 2, a signal processing unit 3, and a first antenna 4.

[0028] The first switch 5 is connected with the first antenna 4 and the first path 1, so as to connect the first antenna 4 and the first path 1 when the first switch 5 is in a first switch state. The first switch 5 is also connected with the second path 2, so as to connect the first antenna 4 and the second path 2 when the first switch 5 is in a second switch state. The first path 1 and the second path 2 are both connected with the signal processing unit 3.

[0029] The first path 1 is used to receive and output working channel information of a first radio frequency signal to the signal processing unit 3 through the first antenna 4 when it is connected with the signal processing unit 3 and the first antenna 4, and the working channel information indicates a working channel for transmitting the first radio frequency signal.

[0030] The second path 2 comprises a first superheterodyne circuit 21, and the signal processing unit 3 is configured to set a working frequency band of the second radio frequency signal as a target frequency band, and determine and configure a first local oscillator frequency of the first superheterodyne circuit 21 based on a center frequency of the working channel and a first intermediate frequency frequency set by the first superheterodyne circuit 21, and the target frequency band is a frequency band other than a channel frequency band of the working channel.

[0031] The second path 2 is configured to extract, when in communication with the signal processing unit 3 and the first antenna 4, the first radio frequency signal from the radio frequency signal collected by the first antenna 4 based on the first local oscillator frequency, the first intermediate frequency frequency and a width of the working channel through the first superheterodyne circuit 21.

[0032] In the embodiment, the first end of the first switch 5 is connected with the first antenna 4, and when the first switch 5 is in the first switch state, the other end of the first switch 5 is connected with the signal processing unit 3 through the first path 1, so that the first path 1 is in communication with the signal processing unit 3 and the first antenna 4. The first path 1 is configured to receive and output the working channel information of the first radio frequency signal to the signal processing unit 3 through the first antenna 4, so that the signal processing unit 3 determines the working channel of the first radio frequency signal based on the working channel information.

[0033] After determining the working channel of the first radio frequency signal, the signal processing unit 3 can set the working frequency band of the second radio frequency signal as a target frequency band other than the channel frequency band of the working channel, so that the working frequency bands of the first radio frequency signal and the second radio frequency signal are different, and are used to transmit in different working channels. Moreover, the signal processing unit 3 can determine and configure the first local oscillator frequency of the first superheterodyne circuit 21 based on the center frequency of the working channel and the first intermediate frequency frequency set by the first superheterodyne circuit 21, so that the first superheterodyne circuit 21 can extract the radio frequency signal transmitted on the working channel based on the working channel of the first radio frequency signal, to obtain the first radio frequency signal.

[0034] When the first switch 5 is in the second switch state, the other end of the first switch 5 is connected with the signal processing unit 3 through the second path 2, so that the second path 2 is in communication with the signal processing unit 3 and the first antenna 4. The second path 2 is configured to receive the radio frequency signal collected by the first antenna 4, extract the first radio frequency signal from the radio frequency signal through the first superheterodyne circuit 21, and output the first radio frequency signal to the signal processing unit 3, so that the signal processing unit 3 receives the first radio frequency signal.

[0035] In some embodiments, the first path 1 can include a signal transmission line directly connected with the first switch 5 and the signal processing unit 3, for receiving the radio frequency signal collected by the first antenna 4 and transmitting the radio frequency signal directly to the signal processing unit 3 when in communication with the first antenna 4 and the signal processing unit 3. The signal processing unit 3 is configured to analyze the radio frequency signal received from the first path 1 to obtain the working channel of the first radio frequency signal.

[0036] The second path 2 includes a first superheterodyne circuit 21. Specifically, a first intermediate frequency is set in the first superheterodyne circuit 21, and a first local oscillator frequency of the first superheterodyne circuit 21 is obtained by adding or subtracting the center frequency of the working channel of the first radio frequency signal and the first intermediate frequency based on the center frequency of the working channel of the first radio frequency signal and the first intermediate frequency by the signal processing unit 3 through the frequency and difference principle, and finally the calculated first local oscillator frequency is configured to the first superheterodyne circuit 21.

[0037] In the case where the first local oscillator frequency is the difference between the center frequency of the working channel and the first intermediate frequency, the first superheterodyne circuit 21 down-converts the received radio frequency signal to the first local oscillator frequency, i.e. calculates the difference between the received radio frequency signal and the first local oscillator frequency, to obtain the converted radio frequency signal; then, the converted radio frequency signal is filtered according to the first band-pass frequency range to obtain the filtered radio frequency signal; and then, the filtered radio frequency signal is up-converted to the first local oscillator frequency, i.e. the sum of the received radio frequency signal and the first local oscillator frequency is calculated, to obtain the first radio frequency signal. The center frequency of the first band-pass frequency range is the first intermediate frequency, and the bandwidth is the bandwidth of the working channel of the first radio frequency signal.

[0038] In the case where the first local oscillator frequency is the sum of the center frequency of the working channel and the first intermediate frequency, the first superheterodyne circuit 21 up-converts the received radio frequency signal to the first local oscillator frequency, i.e. calculates the sum of the received radio frequency signal and the first local oscillator frequency, to obtain the converted radio frequency signal; then, the converted radio frequency signal is filtered according to the first band-pass frequency range to obtain the filtered radio frequency signal; and then, the filtered radio frequency signal is down-converted to the first local oscillator frequency, i.e. the difference between the received radio frequency signal and the first local oscillator frequency is calculated, to obtain the first radio frequency signal. The center frequency of the first band-pass frequency range is the first intermediate frequency, and the bandwidth is the bandwidth of the working channel of the first radio frequency signal.

[0039] For example, assume that the radio frequency circuit is used to receive WIFI signals and Bluetooth signals with a signal frequency range of 2.4 GHz. The WIFI signals are the first radio frequency signals, and the Bluetooth signals are the second radio frequency signals.

[0040] The signal processing unit 3 is configured to control the first switch 5 to be in the first switch state to connect the first antenna 4 and the first path 1 and disconnect the first antenna 4 and the second path 2, so that the first path 1 is connected with the first antenna 4 and the signal processing unit 3. The signal processing unit 3 is configured to establish a WIFI link after scanning, authentication and association, and receive working channel information of a WIFI signal through the first antenna 4, the first path 1 in sequence in the scanning stage, and determine a working channel of the WIFI signal allocated by an AP based on the working channel information.

[0041] The signal processing unit 3 is configured to configure a target frequency band of a working frequency band of a Bluetooth signal as a frequency band other than a channel frequency band of the working channel after determining the working channel of the WIFI signal, so as to configure another working channel for the Bluetooth signal to transmit data, so that the WIFI signal and the Bluetooth signal are transmitted in different working channels. In addition, the signal processing unit 3 is also configured to take a difference between a center frequency of the working channel of the WIFI signal and a first intermediate frequency frequency set by the first superheterodyne circuit 21 as a first local oscillator frequency of the first superheterodyne circuit 21, and configure the first local oscillator frequency of the first superheterodyne circuit 21.

[0042] Then, the signal processing unit 3 is configured to control the first switch 5 to be in the second switch state to connect the first antenna 4 and the second path 2 and disconnect the first antenna 4 and the first path 1, so that the second path 2 is connected with the first antenna 4 and the signal processing unit 3. In the second path 2, the WIFI signal is accurately extracted from the radio frequency signal collected from the first antenna by the first local oscillator frequency, the first intermediate frequency frequency and the width of the working channel of the first radio frequency signal of the first superheterodyne circuit 21, effectively ensuring the integrity and purity of the WIFI signal. Obviously, the radio frequency circuit provided by the technical scheme of the present application can configure the WIFI signal and the Bluetooth signal to be transmitted in different working channels, and the first superheterodyne circuit 21 can extract the radio frequency signal transmitted on the actual working channel of the WIFI signal according to the actual working channel of the WIFI signal, so as to realize pure reception of the WIFI signal, effectively solve the mutual interference problem of the WIFI signal and the Bluetooth signal with the same signal frequency band, and significantly improve the reception quality and communication stability of the WIFI signal.

[0043] Another example, the radio frequency circuit is configured to receive a WIFI signal and a Bluetooth signal with a signal frequency band of 2.4GHz. The Bluetooth signal is a first radio frequency signal; the WIFI signal is a second radio frequency signal. The radio frequency circuit can also configure the WIFI signal and the Bluetooth signal to be transmitted in different working channels, and the first superheterodyne circuit 21 can extract the radio frequency signal transmitted on the actual working channel of the Bluetooth signal according to the actual working channel of the Bluetooth signal, so as to realize pure reception of the Bluetooth signal, effectively solve the mutual interference problem of the WIFI signal and the Bluetooth signal with the same signal frequency band, and significantly improve the reception quality and communication stability of the Bluetooth signal.

[0044] Specifically, the radio frequency circuit provided by the embodiments of the present application is applied in a VR device. In the case that the working frequency bands of Bluetooth communication and WIFI communication are both 2.4 GHz, the radio frequency circuit provided by the embodiments of the present application realizes frequency differentiation and physical isolation of WIFI signals and Bluetooth signals, so that the VR handle has stability when transmitting Bluetooth signals and no longer appears the lag phenomenon. The actual measurement shows that the user operation response delay is reduced by more than 60%, greatly improving the experience of users using the VR device.

[0045] To sum up, in the embodiments of the present application, when the first switch 5 connects the first antenna 4, the first path 1 and the signal processing unit 3, the signal processing unit 3 can obtain the working channel information of the first radio frequency signal received by the first antenna 4 through the first path 1, configure the working frequency band of the second radio frequency signal to be a target frequency band other than the channel frequency band of the working channel of the first radio frequency signal based on the working channel of the first radio frequency signal indicated by the working channel information, and determine and configure the first local oscillator frequency of the first superheterodyne circuit 21 based on the center frequency of the working channel of the first radio frequency signal and the first intermediate frequency frequency set in the second path 2. Thus, when the first switch 5 connects the first antenna 4, the second path 2 and the signal processing unit 3, the first superheterodyne circuit 21 can extract the first radio frequency signal from the radio frequency signal collected by the first antenna 4 based on the first local oscillator frequency and the first intermediate frequency frequency, and output the first radio frequency signal to the signal processing unit 3.

[0046] In the technical solution, the radio frequency circuit configures the working frequency band of the second radio frequency signal to be a target frequency band other than the channel frequency band of the working channel of the first radio frequency signal, so that the first radio frequency signal and the second radio frequency signal are transmitted through different working channels. Further, in the radio frequency circuit, the first local oscillator frequency of the first superheterodyne circuit 21 is configured according to the center frequency of the working channel and the first intermediate frequency frequency set in the first superheterodyne circuit 21, so that the first superheterodyne circuit 21 can extract the radio frequency signal transmitted on the actual working channel of the first radio frequency signal according to the working channel, to obtain a pure first radio frequency signal, and improve the signal reception accuracy.

[0047] In some embodiments of the present application, as shown in Figure 4 The radio frequency circuit further includes a third path 6 and a second antenna 7 connected with the first switch 5 respectively. The third path 6 is connected with the signal processing unit 3. In the case that the first switch 5 is in the third switch state, the second antenna 7 is connected with the signal processing unit 3 through the third path 6.

[0048] Based on this, the first switch 5 has three switch states. When the first switch 5 is in the first switch state, the first switch 5 is used to connect the first antenna 4 and the first path 1; when the first switch 5 is in the second switch state, the first switch 5 is used to connect the first antenna 4 and the second path 2; when the first switch 5 is in the third switch state, the first switch 5 is used to connect the second antenna 7 and the third path 6.

[0049] The third path 6 is connected to the signal processing unit 3. The third path 6 includes a second superheterodyne circuit 61. The signal processing unit 3 is used to determine and configure the second local oscillator frequency of the second superheterodyne circuit 61 based on the center frequency of the target frequency band of the second radio frequency signal and the second intermediate frequency set by the second superheterodyne circuit 61.

[0050] The third path 6 is used to extract the second radio frequency signal from the radio frequency signal collected by the second antenna 7 through the second superheterodyne circuit 61 based on the second local oscillator frequency and the second intermediate frequency when connected to the signal processing unit 3 and the second antenna 7.

[0051] In some embodiments, please refer to Figure 4 The first end of the first switch 5 is connected to the first antenna 4 and the second antenna 7. The other end of the first switch 5 is connected to the signal processing unit 3 through the first path 1, the second path 2, and the third path 6.

[0052] After configuring the operating frequency band of the second radio frequency signal as the target frequency band, the signal processing unit 3 can also determine and configure the second local oscillator frequency of the second superheterodyne circuit 61 based on the center frequency of the target frequency band and the second intermediate frequency set by the second superheterodyne circuit 61, so that the second superheterodyne circuit 61 can extract the radio frequency signal transmitted on the operating frequency band based on the operating frequency band of the second radio frequency signal to obtain the second radio frequency signal.

[0053] Therefore, when the first switch 5 is in the third switch state, the second antenna 7 and the third path 6 are connected, so that the third path 6 is connected to the signal processing unit 3 and the second antenna 7. The third path 6 is used to receive the radio frequency signal collected by the second antenna 7, and extracts the second radio frequency signal of the target frequency band from the radio frequency signal through the second superheterodyne circuit 61, and outputs the second radio frequency signal to the signal processing unit 3 so that the signal processing unit 3 receives the second radio frequency signal. The principle of the second superheterodyne circuit 61 extracting the second radio frequency signal can be referred to the principle of the first superheterodyne circuit 21 extracting the first radio frequency signal, which will not be elaborated in this application.

[0054] In some embodiments of the present application, the radio frequency circuit adopts the first path 1, the second path 2 and the third path 6 to realize the extraction of two different radio frequency signals. Specifically, the signal processing unit 3 is used to control the first switch 5 to be in the first switch state only, so that the first switch 5 only connects the first antenna 4 and the first path 1. The signal processing unit 3 receives the working channel information of the first radio frequency signal through the first antenna 4 and the first path 1, and determines the working channel of the first radio frequency signal based on the working channel information. Further, the signal processing unit 3 is used to configure the working frequency band of the second radio frequency signal as a target frequency band other than the channel frequency band of the working channel, so that the first radio frequency signal and the second radio frequency signal are transmitted in different working channels.

[0055] Further, the signal processing unit 3 is also used to take the difference between the center frequency of the working channel of the first radio frequency signal and the first intermediate frequency frequency set by the first superheterodyne circuit 21 as the first local oscillator frequency of the first superheterodyne circuit 21, and configure the first local oscillator frequency of the first superheterodyne circuit 21.

[0056] Then, the signal processing unit 3 is used to control the first switch 5 to be in the second switch state to connect the first antenna 4 and the second path 2, and disconnect the first antenna 4 and the first path 1, so that the second path 2 is connected with the first antenna 4 and the signal processing unit 3. In the second path 2, the first radio frequency signal is accurately extracted from the radio frequency signal collected by the first antenna 4 through the first local oscillator frequency and the first intermediate frequency frequency of the first superheterodyne circuit 21.

[0057] Further, the signal processing unit 3 is also used to take the difference between the center frequency of the working channel of the first radio frequency signal and the first intermediate frequency frequency set by the first superheterodyne circuit 21 as the first local oscillator frequency of the first superheterodyne circuit 21, and configure the first local oscillator frequency of the first superheterodyne circuit 21.

[0058] Then, the signal processing unit 3 is used to control the first switch 5 to be in the second switch state to connect the first antenna 4 and the second path 2, and disconnect the first antenna 4 and the first path 1, so that the second path 2 is connected with the first antenna 4 and the signal processing unit 3. In the second path 2, the first radio frequency signal is accurately extracted from the radio frequency signal collected by the first antenna 4 through the first local oscillator frequency and the first intermediate frequency frequency of the first superheterodyne circuit 21.

[0059] In some embodiments, the parameters (e.g. the first local frequency) of the first superheterodyne circuit 21 of the second path 2 need to be determined based on the working channel information transmitted by the first path 1. Therefore, the first switch 5 is switched to the first switch state to connect only the first antenna 4 and the first path 1, and then switched to the second switch state to connect only the first antenna 4 and the second path 2, so that the first path 1 and the second path 2 are not connected to the first antenna 4 at the same time. In this way, the first path 1 and the second path 2 can be prevented from being connected to the first antenna 4 at the same time, so that the signal received by the second path 2 interferes with the signal received by the first path 1, thereby failing to accurately extract the radio frequency signal transmitted by the first path 1, and further failing to determine the working signal of the first radio frequency signal, affecting the configuration of the first superheterodyne circuit 21.

[0060] Similarly, the parameters (e.g. the second local frequency) of the second superheterodyne circuit 61 of the third path 6 also need to be determined based on the working channel information transmitted by the first path 1. Therefore, the first switch 5 is switched to the first switch state to connect only the first antenna 4 and the first path 1, and then switched to the third switch state to connect only the second antenna 7 and the third path 6, so that the first path 1 and the third path 6 are not connected to the antenna at the same time. In this way, the first path 1 and the third path 6 can be prevented from being connected to the antenna at the same time, so that the signal received by the third path 6 interferes with the signal received by the first path 1, resulting in failure to accurately extract the radio frequency signal transmitted by the first path 1, and further failing to determine the working signal of the first radio frequency signal, affecting the configuration of the second superheterodyne circuit 61.

[0061] It is not difficult to understand that in some embodiments, when the first superheterodyne circuit 21 of the second path 2 and the second superheterodyne circuit 61 of the third path 6 are configured, the second path 2 and the third path 6 can be connected to the antenna at the same time to receive radio frequency signals of different frequency bands respectively, realizing the synchronous processing of multi-band signals. Of course, in other embodiments, the second path 2 and the third path 6 can also be connected to the antenna at different times, so that the signal processing unit 3 receives radio frequency signals of different frequency bands at different times, further avoiding signal interference with each other and improving signal quality.

[0062] For example, it is assumed that the radio frequency circuit is used to receive WIFI signals and Bluetooth signals with a signal frequency of 2.4 GHz, wherein the WIFI signals are the first radio frequency signals, and the Bluetooth signals are the second radio frequency signals.

[0063] The signal processing unit 3 is used to control the first switch 5 to be in the first switch state, so as to connect the first antenna 4 and the first path 1, disconnect the first antenna 4 and the second path 2, and disconnect the second antenna 7 and the third path 6, so that the first path 1 is connected with the first antenna 4 and the signal processing unit 3. The signal processing unit 3 is used to establish a WIFI link after scanning, authentication and association, and receive working channel information of a WIFI signal through the first antenna 4 and the first path 1 in sequence in the scanning stage, and determine a working channel of the WIFI signal allocated by an AP based on the working channel information. Then, the signal processing unit 3 is used to configure a working frequency band of a Bluetooth signal as a target frequency band other than a channel frequency band of the working channel after receiving the working channel of the WIFI signal, so as to configure another working channel for the Bluetooth signal and transmit data, so that the WIFI signal and the Bluetooth signal are transmitted in different working channels.

[0064] In addition, the signal processing unit 3 is used to take a difference between a center frequency of the working channel of the WIFI signal and a first intermediate frequency frequency set by the first superheterodyne circuit 21 as a first local oscillator frequency of the first superheterodyne circuit 21, and configure the first local oscillator frequency of the first superheterodyne circuit 21. Meanwhile, the signal processing unit 3 is used to take a difference between a center frequency of the target frequency band of the Bluetooth signal and a second intermediate frequency frequency set by the second superheterodyne circuit 61 as a second local oscillator frequency of the second superheterodyne circuit 61 after configuring the working frequency band of the Bluetooth signal, and configure the second local oscillator frequency of the second superheterodyne circuit 61.

[0065] After the first local oscillator frequency and the second local oscillator frequency are determined, the signal processing unit 3 controls the first switch 5 to be in the second switch state and the third switch state at the same time, so as to disconnect the first antenna 4 and the first path 1, connect the first antenna 4 and the second path 2, and connect the second antenna 7 and the third path 6. In the second path 2, the WIFI signal is accurately extracted from a radio frequency signal collected by the first antenna 4 through the first local oscillator frequency and the first intermediate frequency frequency of the first superheterodyne circuit 21, so as to effectively ensure the integrity and purity of the WIFI signal. In the third path 6, the Bluetooth signal is accurately extracted from a radio frequency signal collected by the second antenna 7 through the second local oscillator frequency and the second intermediate frequency frequency of the second superheterodyne circuit 61, so as to effectively ensure the integrity and purity of the Bluetooth signal.

[0066] Obviously, the radio frequency circuit provided by the technical scheme of the application transmits WIFI signals and Bluetooth signals through different working channels, the first superheterodyne circuit 21 in the second path 2 can extract the WIFI signals transmitted on the actual working channel of the WIFI signals according to the actual working channel of the WIFI signals; the second superheterodyne circuit 61 in the third path 6 can extract the Bluetooth signals transmitted on the actual working frequency band of the Bluetooth signals according to the actual working frequency band of the Bluetooth signals. The second path 2 can receive pure WIFI signals, and the third path 6 can receive pure Bluetooth signals, thereby realizing efficient separation of WIFI signals and Bluetooth signals, effectively solving the mutual interference problem of WIFI signals and Bluetooth signals with the same signal frequency band, and significantly improving the reception quality and communication stability of WIFI signals.

[0067] In some embodiments of the application, the first local oscillator frequency is the difference between the center frequency of the working channel of the first radio frequency signal and the first intermediate frequency. Figure 5 As shown in the figure, the first superheterodyne circuit 21 includes a first mixer 210, a second mixer 211, a first generating unit 212, and a first filter unit 213.

[0068] The first generating unit 212 is connected with the first mixer 210 and the second mixer 211, and the first generating unit 212 is configured to output a radio frequency processing signal of the first local oscillator frequency to the first mixer 210 and the second mixer 211. Correspondingly, the signal processing unit 3 is configured to configure the first local oscillator frequency of the first generating unit 212 after determining the first local oscillator frequency of the first superheterodyne circuit 21, so as to realize the configuration of the first local oscillator frequency of the first superheterodyne circuit 21.

[0069] The first mixer 210, the first filter unit 213, and the second mixer 211 are connected in series. The first mixer 210 is configured to down-convert the frequency of the received radio frequency signal to the first local oscillator frequency based on the radio frequency processing signal, to obtain a first intermediate signal and output the first intermediate signal to the first filter unit 213.

[0070] The first filter unit 213 is configured to filter the first intermediate signal according to a first band-pass frequency band to obtain a second intermediate signal, and output the second intermediate signal to the second mixer 211, wherein the center frequency of the frequency band is set as the first intermediate frequency. The center frequency of the first band-pass frequency band is the first intermediate frequency, and the bandwidth is the width of the working channel.

[0071] The second mixer 211 is connected with the signal processing unit 3, and the second mixer 211 is configured to up-convert the frequency of the second intermediate signal to the first local oscillator frequency based on the radio frequency processing signal, to obtain a first radio frequency signal and output the first radio frequency signal to the signal processing unit 3.

[0072] In some examples, please continue to refer to Figure 5The first input end of the first mixer 210 is connected with the first antenna through the first switch 5, for receiving the radio frequency signal collected from the first antenna 4. The second input end of the first mixer 210 is connected with the first generating unit 212, and the output end of the first mixer 210 is connected with the input end of the first filtering unit 213. The output end of the first filtering unit 213 is connected with the first input end of the second mixer 211. The second input end of the second mixer 211 is connected with the first generating unit 212, for receiving the radio frequency processing signal of the first local frequency. The output end of the second mixer 211 is connected with the signal processing unit 3.

[0073] In the first superheterodyne circuit 21, the frequency of the radio frequency signal received by the first antenna 4 is down-converted to the first local frequency through the first mixer 210, to obtain a first intermediate signal. Then, the first intermediate signal is filtered by the first filtering unit 213, to obtain a second intermediate signal in the first band-pass frequency range. Then, the frequency of the second intermediate signal is up-converted to the first local frequency through the second mixer 211, to obtain a first radio frequency signal, which is output to the signal processing unit 3.

[0074] The first band-pass frequency range of the first filtering unit 213 is set as the width of the working channel of the first radio frequency signal, so that the bandwidth of the radio frequency signal processed by the first filtering unit 213 is limited to the width of the working channel. In this way, the second mixer 211 up-converts the radio frequency signal processed by the first filtering unit 213 to the first local frequency, to obtain the radio frequency signal transmitted on the working channel, thereby realizing the function of the first superheterodyne circuit 21 extracting signals according to the actual working channel of the first radio frequency signal. This effectively avoids the interference leakage problem caused by the excessively wide bandwidth of the first band-pass frequency range, and also prevents the signal distortion problem caused by the excessively narrow bandwidth of the first band-pass frequency range. Optionally, if the first radio frequency signal is a WIFI signal, the bandwidth of the working channel of the first radio frequency signal is 20MHz. Therefore, the width of the first band-pass frequency range of the first filtering unit 213 is 20MHz.

[0075] In some other embodiments of the present application, the first local frequency is the sum of the center frequency of the working channel of the first radio frequency signal and the first intermediate frequency. The first mixer 210 is configured to up-convert the frequency of the received radio frequency signal to the first local frequency based on the radio frequency processing signal, to obtain and output the first intermediate signal to the first filtering unit 213. The second mixer 211 is connected with the signal processing unit 3. The second mixer 211 is configured to down-convert the frequency of the second intermediate signal to the first local frequency based on the radio frequency processing signal, to obtain and output the first radio frequency signal to the signal processing unit 3, to realize the function of the first superheterodyne circuit 21 extracting signals according to the actual working channel of the first radio frequency signal.

[0076] Further optionally, please continue to refer to Figure 5The first superheterodyne circuit 21 further comprises a first filter 214. The first filter 214 is arranged between the first switch 5 and the first mixer 210, and is configured to filter the radio frequency signal collected by the first antenna 4 according to a second band-pass frequency range, and output the filtered radio frequency signal to the first mixer 210.

[0077] Specifically, the input end of the first filter 214 is connected with the first antenna 4 through the first switch 5, and is configured to receive the radio frequency signal collected by the first antenna 4. The output end of the first filter 214 is connected with the first input end of the first mixer 210, and is configured to output the radio frequency signal in the second band-pass frequency range in the radio frequency signal collected by the first antenna 4 to the first mixer 210. The second band-pass frequency range comprises the first band-pass frequency range. The first filter 214 filters the radio frequency signal collected by the first antenna 4 according to the second band-pass frequency range, so that the radio frequency signal input to the first mixer 210 retains the effective radio frequency signal in the first band-pass frequency range, and the out-of-band interference and other noise can be eliminated in advance, thereby avoiding that the radio frequency signal collected by the first antenna 4 has too large bandwidth, the signal input to the first mixer 210 exceeds the normal frequency processing range, nonlinear distortion is generated, and the reliability of the radio frequency circuit signal processing is affected.

[0078] For example, in the case that the radio frequency circuit receives a WIFI signal (first radio frequency signal), the first filter 214 is configured to filter out the signals with a frequency below 1 GHz and a frequency above 5 GHz, so as to effectively filter out the far-end strong interference irrelevant to the WIFI signal, avoid the interference signal causing the processing distortion of the first mixer 210, and guarantee the processing reliability of the first mixer 210. Specifically, the first radio frequency signal is a WIFI signal. The center frequency of the second band-pass frequency range of the first filter 214 is the center frequency of the frequency range [2.400 GHz, 2.4835 GHz] corresponding to 2.4 GHz, and the bandwidth is 100 MHz. In this way, the wide-band characteristic of the first filter 214 can effectively retain all signal components in the working frequency range of the WIFI signal, and effectively suppress the interference signals outside the frequency range, so as to provide a relatively pure input signal for the first mixer 210 in the next stage.

[0079] Further, please continue to refer to Figure 5 The first superheterodyne circuit 21 further comprises a first amplifier 215 and a second amplifier 216. The first amplifier 215 is arranged between the first filter 214 and the first mixer 210, and is configured to amplify the radio frequency signal output by the first filter 214, and output the amplified radio frequency signal to the first mixer 210.

[0080] The second amplifier 216 is arranged between the first filter unit 213 and the second mixer 211, and is configured to amplify the second intermediate signal to obtain an amplified second intermediate signal and output the amplified second intermediate signal to the second mixer 211.

[0081] Specifically, as shown in Figure 5 the input end of the first amplifier 215 is connected with the output end of the first filter 214, and the output end of the first amplifier 215 is connected with the input end of the first mixer 210. The first amplifier 215 is configured to amplify the radio frequency signal output by the first filter 214, so as to amplify the radio frequency signal filtered by the first filter 214 to the working interval of the first mixer 210, thereby facilitating the processing of the first mixer 210. Since the first filter 214 has a certain signal loss when filtering the out-of-band interference, the output signal is prone to insufficient strength, which makes it difficult to drive the normal operation of the subsequent first mixer 210. Therefore, the first amplifier 215 is used to improve the signal strength of the radio frequency signal, which can effectively compensate for the signal loss caused by the first filter 214 and ensure the processing reliability of the first mixer 210.

[0082] The input end of the second amplifier 216 is connected with the output end of the first filter unit 213, and the output end of the second amplifier 216 is connected with the input end of the second mixer 211. The second amplifier 216 is configured to amplify the second intermediate signal, so as to amplify the radio frequency signal filtered by the first filter 214 to the working interval of the second mixer 211, thereby facilitating the processing of the second mixer 211. Since the first filter unit 213 causes power loss of the radio frequency signal during filtering, the strength of the second intermediate signal output by the first filter unit 213 decreases, which affects the processing efficiency of the second mixer 211. Therefore, the second amplifier 216 is used to improve the signal strength of the second intermediate signal, which can effectively compensate for the signal loss caused by the first filter unit 213 and ensure the processing reliability of the second mixer 211.

[0083] Further, please refer to Figure 6 The second superheterodyne circuit 61 includes a third mixer 610, a fourth mixer 611, a second generation unit 612, and a second filter unit 613.

[0084] The second generation unit 612 is connected with the third mixer 610 and the fourth mixer 611, and is configured to output a radio frequency processing signal of the second local oscillator frequency to the third mixer 610 and the fourth mixer 611. Accordingly, the signal processing unit 3 is configured to configure the second local oscillator frequency of the second generation unit 612 after determining the second local oscillator frequency of the second superheterodyne circuit 61, so as to configure the second local oscillator frequency of the second superheterodyne circuit 61.

[0085] The third mixer 610, the second filter unit 613 and the fourth mixer 611 are connected in series. The third mixer 610 is configured to down-convert the frequency of the received radio frequency signal to the second local oscillation frequency based on the radio frequency processing signal, to obtain a third intermediate signal and output the third intermediate signal to the second filter unit 613.

[0086] The second filter unit 613 is configured to filter the third intermediate signal to obtain a fourth intermediate signal in a first band-pass frequency range, and output the fourth intermediate signal to the fourth mixer 611, wherein the center frequency of the frequency range is set as the second intermediate frequency.

[0087] The fourth mixer 611 is connected to the signal processing unit 3, and the fourth mixer 611 is configured to up-convert the frequency of the fourth intermediate signal to the second local oscillation frequency based on the radio frequency processing signal, to obtain a second radio frequency signal and output the second radio frequency signal to the signal processing unit 3.

[0088] In some examples, please continue to refer to Figure 6 The first input end of the third mixer 610 is connected to the second antenna 7 through the first switch 5, and is configured to receive the radio frequency signal collected by the second antenna 7. The second input end of the third mixer 610 is connected to the second generating unit 612. The output end of the third mixer 610 is connected to the input end of the second filter unit 613. The output end of the second filter unit 613 is connected to the first input end of the fourth mixer 611. The second input end of the fourth mixer 611 is connected to the second generating unit 612, and is configured to receive the radio frequency processing signal of the second local oscillation frequency. The output end of the fourth mixer 611 is connected to the signal processing unit 3.

[0089] In the second superheterodyne circuit 61, the frequency of the radio frequency signal received by the second antenna 7 is down-converted to the second local oscillation frequency through the third mixer 610 to obtain a third intermediate signal; then the third intermediate signal is filtered and processed by the second filter unit 613 to obtain a second intermediate signal in the first band-pass frequency range; and then the frequency of the second intermediate signal is up-converted to the first local oscillation frequency through the fourth mixer 611 to obtain a first radio frequency signal, and the first radio frequency signal is output to the signal processing unit 3.

[0090] The first band-pass frequency range of the second filter unit 613 is set as the width of the working channel of the second radio frequency signal, the bandwidth of the radio frequency signal processed by the second filter unit 613 is limited to the width of the working channel, so that the fourth mixer 611 obtains the radio frequency signal transmitted on the working channel by up-converting the radio frequency signal processed by the second filter unit 613 by the first local frequency, and the second superheterodyne circuit 61 can extract the signal according to the actual working channel of the first radio frequency signal, effectively avoiding the interference leakage problem caused by the too wide bandwidth of the second band-pass frequency range, and preventing the signal distortion problem caused by the too narrow bandwidth of the first band-pass frequency range. Optionally, if the second radio frequency signal is a Bluetooth signal, the bandwidth of the working channel of the second radio frequency signal is 20 MHz. Therefore, the width of the first band-pass frequency range of the second filter unit 613 is 20 MHz.

[0091] In some embodiments of the present application, the second local frequency is the sum of the center frequency of the working channel of the second radio frequency signal and the second intermediate frequency. The third mixer 610 is configured to up-convert the frequency of the received radio frequency signal by the second local frequency based on the radio frequency processing signal, obtain a third intermediate signal, and output the third intermediate signal to the second filter unit 613. The fourth mixer 611 is connected to the signal processing unit 3. The fourth mixer 611 is configured to down-convert the frequency of the fourth intermediate signal by the second local frequency based on the radio frequency processing signal, obtain the second radio frequency signal, and output the second radio frequency signal to the signal processing unit 3, so as to realize the function of the second superheterodyne circuit 61 extracting the signal according to the actual working channel of the second radio frequency signal.

[0092] Further optionally, please continue to refer to Figure 6 The second superheterodyne circuit 61 further comprises a second filter 614. The second filter 614 is arranged between the first switch 5 and the third mixer 610, and is configured to filter and process the radio frequency signal collected by the first antenna 4 according to the second band-pass frequency range, obtain a filtered radio frequency signal, and output the filtered radio frequency signal to the third mixer 610.

[0093] Specifically, the input end of the third filter 64 is connected to the first antenna 4 through the first switch 5, and is configured to receive the radio frequency signal collected by the first antenna 4. The output end of the second filter 614 is connected to the first input end of the third mixer 610, and is configured to output the radio frequency signal in the second band-pass frequency range in the radio frequency signal collected by the first antenna 4 to the third mixer 610. The second bandwidth frequency range includes the first bandwidth frequency range. The second filter 614 performs prior filtering processing on the radio frequency signal collected by the first antenna 4 according to the second bandwidth frequency range, so that the radio frequency signal input into the third mixer 610 retains the effective radio frequency signal in the first bandwidth frequency range, and the out-of-band interference and other noises can be eliminated in advance, thereby avoiding the problem that the signal input into the third mixer 610 exceeds the normal frequency processing range due to the too large bandwidth of the radio frequency signal collected by the first antenna 4, and the non-linear distortion is generated, which affects the reliability of the radio frequency circuit signal processing.

[0094] In an example, in the case that the radio frequency circuit receives a Bluetooth signal (second radio frequency signal), the second filter 614 is used to filter out signals with a frequency below 1 GHz and a frequency above 5 GHz, so as to effectively filter out far-end strong interference irrelevant to the Bluetooth signal, avoid the interference signal causing distortion in the processing of the third mixer 610, and ensure the processing reliability of the third mixer 610. For example, the second radio frequency signal is a Bluetooth signal. The center frequency of the second bandwidth frequency band of the second filter 614 is the center frequency of the frequency band [2.400 GHz, 2.4835 GHz] corresponding to 2.4 GHz, and the bandwidth is 100 MHz. In this way, the wide-band characteristic of the second filter 614 can effectively retain all signal components within the working frequency band of the Bluetooth signal, while effectively suppressing interference signals outside the frequency band, thereby providing a relatively pure input signal for the second mixer 610 of the subsequent stage.

[0095] Further optionally, please continue to refer to Figure 6 The second superheterodyne circuit 61 further includes a third amplifier 615 and a fourth amplifier 616. The third amplifier 615 is arranged between the second filter 614 and the third mixer 610, and is used to amplify the radio frequency signal output by the second filter 614, so as to obtain and output the amplified radio frequency signal to the third mixer 610.

[0096] The fourth amplifier 616 is arranged between the second filter unit 613 and the fourth mixer 611, and is used to amplify the fourth intermediate signal, so as to obtain and output the amplified fourth intermediate signal to the fourth mixer 610.

[0097] Specifically, as shown in Figure 6 , the input end of the third amplifier 615 is connected with the output end of the second filter 614, and the output end of the third amplifier 615 is connected with the input end of the third mixer 610. The third amplifier 615 is used to amplify the radio frequency signal output by the second filter 614, so as to amplify the radio frequency signal filtered by the second filter 614 to the working interval of the third mixer 610, thereby facilitating the processing of the third mixer 610. Since the second filter 614 has a certain signal loss when filtering and suppressing out-of-band interference, it is easy to cause the intensity of the output signal to be insufficient, and it is difficult to drive the normal operation of the third mixer 610 of the subsequent stage. Therefore, the signal intensity of the radio frequency signal is improved by using the third amplifier 615, which can effectively compensate for the signal loss caused by the second filter 614, thereby ensuring the processing reliability of the third mixer 610.

[0098] The input of the fourth amplifier 616 is connected to the output of the second filter unit 613, and the output of the fourth amplifier 616 is connected to the input of the fourth mixer 611. The fourth amplifier 616 amplifies the fourth intermediate signal to bring the radio frequency signal filtered by the second filter 614 into the operating range of the fourth mixer 611, facilitating its processing. Because the second filter unit 613 causes power loss in the radio frequency signal during filtering and suppression, the strength of the fourth intermediate signal output by the second filter unit 613 decreases, affecting the processing efficiency of the fourth mixer 611. Therefore, using the fourth amplifier 616 to enhance the signal strength of the fourth intermediate signal can effectively compensate for the signal loss caused by the second filter unit 613, ensuring the reliability of the fourth mixer 611.

[0099] In some embodiments of this application, such as Figure 6 As shown, the radio frequency circuit also includes a second switch 8. The second switch 8 is connected to the first path 1, the second path 2, and the signal processing unit 3. When the second switch 8 is in the fourth switch state, the first path 1 is connected to the signal processing unit 3. When the second switch 8 is in the fifth switch state, the second path 2 is connected to the signal processing unit 3.

[0100] Optionally, the first end of the second switch 8 is connected to the first path 1 and the second path 2. The second end of the second switch 8 is connected to the signal processing unit 3. The second switch 8 is used to synchronously connect the first antenna 4, the first path 1 and the signal processing unit 3 with the first switch 5, or to synchronously connect the first antenna 4, the second path 2 and the signal processing unit 3.

[0101] When the first switch 5 is in the first switch state and the second switch 8 is in the fourth switch state, the first switch 5 connects the first antenna 4 and the first path 1, and the second switch 8 connects the first path 1 and the signal processing unit 3. The first path 1 is connected to the signal processing unit 3 and the first antenna 4, and is used to receive and output the working channel information of the first radio frequency signal to the signal processing unit 3 through the first antenna 4. The signal processing unit 3 determines the working channel of the first radio frequency signal based on the working channel information.

[0102] When the first switch 5 is in the second switch state and the second switch 8 is in the fifth switch state, the first switch 5 connects the first antenna 4 and the second path 2, and the second switch 8 connects the second path 2 and the signal processing unit 3. The second path 2 is connected to the signal processing unit 3 and the first antenna 4, and is used to extract the first radio frequency signal from the radio frequency signal through the first superheterodyne circuit 21 in the second path 2, and output the first radio frequency signal to the signal processing unit 3 so that the signal processing unit 3 receives the first radio frequency signal.

[0103] In some embodiments, the second switch 8 is also connected to the third path 6. When the second switch 8 is in the sixth switch state, the second switch 8 is used to connect the third path 6 and the signal processing unit 3. Specifically, the second switch 8 is used to synchronously connect the first antenna 4, the first path 1 and the signal processing unit 3 with the first switch 5, or synchronously connect the first antenna 4, the second path 2 and the signal processing unit 3, or synchronously connect the second antenna 7, the third path 6 and the signal processing unit 3.

[0104] When the first switch 5 is in the third switch state and the second switch 8 is in the sixth switch state, the first switch 5 connects the second antenna 7 and the third path 6, and the second switch 8 connects the third path 6 and the signal processing unit. The third path 6 is connected to the signal processing unit 3 and the first antenna 4, and is used to extract the second radio frequency signal from the radio frequency signal through the second superheterodyne circuit 61 in the third path 6, and output the second radio frequency signal to the signal processing unit 3 so that the signal processing unit 3 receives the second radio frequency signal.

[0105] In this embodiment, by adding a second switch 8 between the signal processing unit 3 and the first path 1, the second path 2, and the third path 6, efficient switching of signal paths can be achieved. Furthermore, the first switch 5 and the second switch 8 work together to effectively establish physical isolation between the first path 1, the second path 2, and the third path 6, effectively avoiding signal crosstalk between the three paths and ensuring the signal processing effect on the three paths.

[0106] For example, the first radio frequency signal is a mobile hotspot WIFI signal or a Bluetooth signal; or, the first radio frequency signal is a WIFI signal and the second radio frequency signal is a Bluetooth signal; or, the first radio frequency signal is a Bluetooth signal and the second radio frequency signal is a WIFI signal.

[0107] Specifically, taking a first radio frequency signal as a Wi-Fi signal and a second radio frequency signal as a Bluetooth signal as an example, it is clear that the radio frequency circuit provided in this application can solve the problem of co-channel interference between Wi-Fi signals and Bluetooth signals; on the other hand, since the radio frequency circuit provided in this application can output clean Wi-Fi signals, Bluetooth signals, or both Wi-Fi and Bluetooth signals, it can effectively solve the problem of co-channel interference between Wi-Fi signals and Bluetooth signals.

[0108] In some embodiments of this application, an electronic device is provided, which includes a first radio frequency (RF) circuit and a second RF circuit. The first RF circuit includes: a first antenna 4, a first switch 5, a second switch 8, a first path 1, a second path 2, and a signal processing unit 3. Optionally, the first RF circuit may be an RF circuit provided in embodiments of this application that does not include a third path 6. For example, Figure 1 or Figure 5 The radio frequency circuit shown.

[0109] The second radio frequency circuit includes: a second antenna 7, a third switch 9, a fourth switch 10, a first path 1, a third path 6, and a signal processing unit 3.

[0110] The third switch 9 is connected to the second antenna 7, the first path 1, and the second path 6. When the third switch 9 is in the seventh switch state, the second antenna 7 is connected to the signal processing unit 3 through the first path 1; when the third switch 9 is in the eighth switch state, the second antenna 7 is connected to the signal processing unit 3 through the second path 2.

[0111] The fourth switch 10 is connected to the first path 1, the third path 6, and the signal processing unit 3. When the fourth switch 10 is in the ninth switch state, it connects the first path 1 and the signal processing unit 3. When the fourth switch 10 is in the tenth switch state, it connects the third path 6 and the signal processing unit 3.

[0112] In the second radio frequency circuit, when the third switch 9 is in the seventh switch state, the fourth switch 10 is in the ninth switch state. The third switch 9 connects the second antenna 7 and the first path 1, and the fourth switch 10 connects the first path 1 and the signal processing unit 3. The first path 1 is used to receive and output the working channel information of the first radio frequency signal to the signal processing unit 3 through the first antenna 4, so that the signal processing unit 3 can determine the working channel of the first radio frequency signal based on the working channel information.

[0113] After determining the working channel of the first radio frequency signal, the signal processing unit 3 can configure the working frequency band of the second radio frequency signal as the target frequency band, and use the difference between the center frequency of the working channel and the second intermediate frequency set by the second superheterodyne circuit 61 as the second local oscillator frequency of the second superheterodyne circuit 61, and configure the second local oscillator frequency of the second superheterodyne circuit 61 so that the second superheterodyne circuit 61 can extract the radio frequency signal of the target frequency band to obtain the second radio frequency signal.

[0114] When the third switch 9 is in the eighth switch state, the fourth switch 10 is in the tenth switch state, such that the third switch 9 connects the second antenna 7 and the third path 6, and the fourth switch 10 connects the third path 6 and the signal processing unit 3. The third path 6 is used to receive the radio frequency signal collected by the first antenna 4, extract the second radio frequency signal from the radio frequency signal through the second superheterodyne circuit 61, and output the second radio frequency signal to the signal processing unit 3 so that the signal processing unit 3 receives the second radio frequency signal.

[0115] For example, assume the first radio frequency signal is a Wi-Fi signal; the second radio frequency signal is a Bluetooth signal. Figure 7As shown in the illustration, this application provides an electronic device 00, which includes a first radio frequency (RF) circuit and a second RF circuit. The first RF circuit includes a first antenna 4, a first switch 5, a second switch 8, a first path 1, a second path 2, and a signal processing unit 3. The first path 1 includes a signal transmission line. The second path 2 includes a first superheterodyne circuit 21, which includes a first mixer 210, a second mixer 211, a first generation unit 212, a first filtering unit 213, a first filter 214, a first amplifier 215, and a second amplifier 216.

[0116] The first filter 214 is a 100MHz bandpass filter, with its second bandwidth having a center frequency corresponding to the 2.4GHz band [2.400GHz, 2.4835GHz], and a bandwidth of 100MHz. The first switch 5 and the second switch 8 are single-pole double-throw switches. The first filtering unit 213 is a 20MHz bandwidth filter with a center frequency of 800MHz and a bandwidth of 20MHz. The first generation unit 212 is a local oscillator signal generator with a local oscillator signal frequency of 1.6GHz.

[0117] The connection relationships of the various components in the first radio frequency circuit can be referenced. Figure 6 The connection relationships of the various devices shown are not elaborated upon here.

[0118] The second radio frequency circuit includes: a second antenna 7, a third switch 9, a fourth switch 10, a first path 1, a third path 6, and a signal processing unit 3. The first path 1 includes a signal transmission line. The second superheterodyne circuit 61 in the third path 6 includes: a third mixer 610, a fourth mixer 611, a second generation unit 612, a second filtering unit 613, a second filter 614, a third amplifier 615, and a fourth amplifier 616.

[0119] The second filter 614 is a 100MHz bandpass filter, with its second bandwidth frequency being the center frequency of the corresponding 2.4GHz frequency band [2.400GHz, 2.4835GHz], and a bandwidth of 100MHz. The first switch 5 and the second switch 8 are single-pole double-throw switches. The second filtering unit 613 is a 20MHz bandwidth notch filter, with a center frequency of 800MHz and a bandwidth of 20MHz. The second generation unit 612 is a local oscillator signal generator, with a local oscillator signal frequency of 1.6GHz.

[0120] The connection relationships of the various components in the second radio frequency circuit can be referenced. Figure 6 The connection relationships of the various devices shown are not elaborated upon here.

[0121] In the first radio frequency circuit, the signal processing unit 3 is first used to control the first switch 5 to be in only the first switch state and the second switch 8 to be in only the fourth switch state, so that the first switch 5 is connected only to the first antenna 4 and the first path 1, and the second switch 8 is connected only to the first path 1 and the signal processing unit 3. The signal processing unit 3 is used to establish a WIFI link after undergoing scanning, authentication, and association, and during the scanning phase, it sequentially receives the working channel information of the WIFI signal through the first antenna 4 and the first path 1, and determines the working channel of the WIFI signal allocated by the AP based on the working channel information.

[0122] The signal processing unit 3 is used to, after determining the working channel of the WIFI signal, take the difference between the center frequency of the working channel of the WIFI signal and the first intermediate frequency set by the first superheterodyne circuit 21 as the first local oscillator frequency of the first superheterodyne circuit 21, and configure the first local oscillator frequency of the first superheterodyne circuit 21.

[0123] Subsequently, the signal processing unit 3 controls the first switch 5 to be in the second switch state only, and controls the second switch 8 to be in the fifth switch state only, so that the first switch 5 is connected only to the first antenna 4 and the second path 2, and the second switch 8 is connected only to the second path 2 and the signal processing unit, so that the second path 2 can accurately extract the WIFI signal from the radio frequency signal collected by the first antenna through the first local oscillator frequency, the first intermediate frequency, and the working channel width of the first radio frequency signal of the first superheterodyne circuit 21, effectively ensuring the integrity and purity of the WIFI signal.

[0124] In the second radio frequency circuit, the signal processing unit 3 first controls the third switch 9 to be in the seventh switch state and controls the fourth switch 10 to be in the ninth switch state only, so that the third switch 9 is connected only to the second antenna 7 and the first path 1, and the fourth switch 10 is connected only to the first path 1 and the signal processing unit 3. The signal processing unit 3 is used to establish a WIFI link after scanning, authentication, and association. During the scanning phase, it sequentially receives the working channel information of the WIFI signal through the second antenna 4 and the first path 1, and determines the working channel of the WIFI signal allocated by the AP based on the working channel information.

[0125] The signal processing unit 3, after determining the operating channel of the WIFI signal, configures the operating frequency band of the Bluetooth signal as the target frequency band, and configures other operating channels for the Bluetooth signal to transmit data, so that the WIFI signal and the Bluetooth signal are transmitted on different operating channels. Furthermore, the signal processing unit 3 is also used to take the difference between the center frequency of the target frequency band and the second intermediate frequency set by the second superheterodyne circuit 61 as the second local oscillator frequency of the second superheterodyne circuit 61, and configure the second local oscillator frequency of the second superheterodyne circuit 61.

[0126] Subsequently, the signal processing unit 3 controls the third switch 9 to be in the eighth switch state only, and controls the fourth switch 10 to be in the tenth switch state only, so that the third switch 9 is connected only to the second antenna 7 and the third path 6, and the fourth switch 10 is connected only to the third path 6 and the signal processing unit 3, so that the third path 6 can accurately extract the Bluetooth signal from the radio frequency signal collected by the second antenna 7 through the second local oscillator frequency, the second intermediate frequency, and the width of the target frequency band of the second radio frequency signal of the second superheterodyne circuit 61, effectively ensuring the integrity and purity of the Bluetooth signal.

[0127] Obviously, the RF circuit provided in this application, by configuring WIFI and Bluetooth signals to be transmitted through different working channels, allows the first superheterodyne circuit 21 in the second path 2 to extract the WIFI signal transmitted on the actual working channel of the WIFI signal. Similarly, the second superheterodyne circuit 61 in the third path 6 can extract the Bluetooth signal transmitted on the actual working frequency band of the Bluetooth signal. The second path 2 can receive clean WIFI signals, and the third path 6 can receive clean Bluetooth signals, achieving efficient separation of WIFI and Bluetooth signals. This effectively solves the problem of mutual interference between WIFI and Bluetooth signals with the same frequency band, significantly improving the reception quality and communication stability of WIFI signals.

[0128] Please refer to Figure 8 This diagram illustrates the output signal of the first radio frequency circuit under the technical solution of this application. From... Figure 8 As can be seen, within the 2.4GHz band, the first radio frequency circuit can effectively extract the WIFI signal with a center frequency of 2.437GHz, effectively suppressing the Bluetooth signal on the same frequency, thus obtaining a clean WIFI signal. Clearly, the technical solution of this application can effectively solve the problem of co-frequency interference between WIFI and Bluetooth, with signal interference reduction exceeding 80%, significantly improving signal purity and communication quality.

[0129] In summary, in this embodiment, when the first switch 5 connects the first antenna 4, the first path 1, and the signal processing unit 3, the signal processing unit 3 can obtain the working channel information of the first radio frequency signal received by the first antenna 4 through the first path 1. Based on the working channel information indicating the working channel of the first radio frequency signal, it configures the working frequency band of the second radio frequency signal as a target frequency band other than the channel frequency band of the working channel of the first radio frequency signal. Based on the center frequency of the working channel of the first radio frequency signal and the first intermediate frequency set by the first superheterodyne circuit 21 in the second path 2, it determines and configures the first local oscillator frequency of the first superheterodyne circuit 21. Thus, when the first switch 5 connects the first antenna 4, the second path 2, and the signal processing unit 3, the first superheterodyne circuit 21 can extract the first radio frequency signal from the radio frequency signal collected by the first antenna 4 based on the first local oscillator frequency and the first intermediate frequency, and output the first radio frequency signal to the signal processing unit 3.

[0130] In this technical solution, the radio frequency (RF) circuit configures the operating frequency band of the second RF signal to a target frequency band other than the channel frequency band of the operating channel of the first RF signal, so that the first RF signal and the second RF signal are transmitted through different operating channels. Furthermore, in the RF circuit, the first local oscillator frequency of the first superheterodyne circuit 21 is configured according to the center frequency of the operating channel and the first intermediate frequency set by the first superheterodyne circuit 21. This allows the first superheterodyne circuit 21 to extract the RF signal transmitted on the actual operating channel of the first RF signal, thereby obtaining a pure first RF signal and improving signal reception accuracy.

[0131] This application also provides an electronic device that may include any of the radio frequency (RF) circuits provided in this application. In the electronic device provided in this application, the RF circuit configures the operating frequency band of the second RF signal to a target frequency band other than the channel frequency band of the operating channel of the first RF signal, so that the first RF signal and the second RF signal are transmitted through different operating channels. Furthermore, in the RF circuit, the first local oscillator frequency of the first superheterodyne circuit is configured according to the center frequency of the operating channel and the first intermediate frequency set by the first superheterodyne circuit, so that the first superheterodyne circuit can extract the RF signal transmitted on the actual operating channel of the first RF signal to obtain a pure first RF signal, thereby improving signal reception accuracy.

[0132] Please refer to Figure 9This document illustrates a flowchart of a circuit control method provided in an embodiment of this application. The circuit control method can be applied to any radio frequency circuit or any electronic device provided in the embodiments of this application, and is executed by a signal processing unit. Optionally, the circuit control method can be executed by a central processing unit (CPU) within the signal processing unit. Figure 9 As shown, the circuit control method includes: Step 901: Control the first switch to be in the first switch state.

[0133] Step 902: Receive the working channel information of the first radio frequency signal transmitted through the first path. The working channel information indicates the working channel through which the first radio frequency signal is transmitted.

[0134] Step 903: Configure the working frequency band of the second radio frequency signal as the target frequency band, which is a frequency band other than the channel frequency band of the working channel.

[0135] Step 904: Determine the first local oscillator frequency of the first superheterodyne circuit based on the center frequency of the working channel and the intermediate frequency set by the first superheterodyne circuit.

[0136] Step 905: Configure the first local oscillator frequency of the first superheterodyne circuit.

[0137] Step 906: Control the first switch to the second switch state.

[0138] It should be noted that the explanation and implementation of each step can be found in the relevant descriptions in the foregoing embodiments, and will not be repeated in this embodiment.

[0139] In some embodiments, after step 903 configures the operating frequency band of the second radio frequency signal as the target frequency band, the circuit control method further includes: Step S100: Determine the second local oscillator frequency of the second superheterodyne circuit based on the center frequency of the target frequency band and the second intermediate frequency set by the second superheterodyne circuit.

[0140] Step S200: Configure the second local oscillator frequency of the second superheterodyne circuit.

[0141] Step S300: Control the first switch to the third switch state.

[0142] In some embodiments, the radio frequency circuit further includes a second switch. Step 901, controlling the first switch to be in a first switch state, includes: controlling the first switch to be in the first switch state and controlling the second switch to be in a fourth switch state.

[0143] Step 906, which controls the first switch to be in the second switch state, includes: controlling the first switch to be in the second switch state and controlling the second switch to be in the fifth switch state.

[0144] Further optionally, step S300, which controls the first switch to be in the third switch state, includes: controlling the first switch to be in the third switch state and controlling the second switch to be in the sixth switch state.

[0145] In some embodiments of this application, the CPU 31 of the signal processing unit effectively achieves precise switching of the radio frequency circuit operating mode by executing a circuit control method, further ensuring the accuracy and stability of the received signal. For example... Figure 10 As shown, CPU31 controls the first switch 5 to be in the first switch state and controls the second switch 8 to be in the fourth switch state through the GPIO control line, so that the first switch 5 connects the first antenna 4 and the first path 1, and the second switch 8 connects the first path 1 and the signal processing unit 3.

[0146] The CPU 31 acquires the working channel information and center frequency parameters of the first radio frequency signal, configures the working frequency band of the second radio frequency signal as a target frequency band other than the working channel of the first radio frequency signal, and calculates the first local oscillator frequency of the first superheterodyne circuit 21 based on the center frequency of the working channel of the first radio frequency signal and the first intermediate frequency preset by the first superheterodyne circuit 21. Then, it transmits the first local oscillator frequency to the first generation unit 212 through the SPI_1 control line between the CPU 31 and the first generation unit 212 to configure the local oscillator frequency of the first generation unit 212 as the first local oscillator frequency.

[0147] Subsequently, CPU 31 controls the first switch 5 to the second switch state and the second switch 8 to the fifth switch state via GPIO control lines, so that the first switch 5 connects the first antenna 4 and the second path 2, and the second switch 8 connects the second path 2 and the signal processing unit 3. CPU 31 extracts the first radio frequency signal from the radio frequency signal through the first superheterodyne circuit 21 in the second path 2, thereby achieving accurate reception of the first radio frequency signal.

[0148] Optionally, the radio frequency signal also includes a third path 6. The CPU 31 can also, when configuring the operating frequency band of the second radio frequency signal to be a target frequency band other than the operating channel of the first radio frequency signal, calculate the second local oscillator frequency of the second superheterodyne circuit 61 based on the center frequency of the target frequency band and the second intermediate frequency preset by the second superheterodyne circuit 61. Then, through the SPI_2 control line between the CPU 31 and the second generation unit 612, the second local oscillator frequency is transmitted to the second generation unit 612 to configure the local oscillator frequency of the second generation unit 612 as the second local oscillator frequency.

[0149] Subsequently, CPU 31 controls the first switch 5 to the third switch state and the second switch 8 to the sixth switch state via GPIO control lines, so that the first switch 5 connects the second antenna 7 and the third path 6, and the second switch 8 connects the third path 6 and the signal processing unit 3. CPU 31 extracts the second radio frequency signal from the radio frequency signal through the second superheterodyne circuit 61 in the third path 6, thereby achieving accurate reception of the second radio frequency signal.

[0150] In this embodiment, after controlling the first switch 5 to be in the first switch state, so that the first switch 5 connects the first antenna 4 and the first path 1, the operating channel information of the first radio frequency signal transmitted through the first path 1 can be received. Then, the operating frequency band of the second radio frequency signal is configured as the target frequency band. Based on the center frequency of the operating channel and the intermediate frequency set by the first superheterodyne circuit 21, the first local oscillator frequency of the first superheterodyne circuit 21 is determined and configured. Afterwards, the first switch 5 is controlled to be in the second switch state, so that the first switch 5 connects the first antenna 4 and the second path 2. The first superheterodyne circuit 21 can extract the first radio frequency signal from the radio frequency signal collected by the first antenna based on the first local oscillator frequency and the first intermediate frequency, and output the first radio frequency signal to the signal processing unit 3.

[0151] In this technical solution, the radio frequency (RF) circuit configures the operating frequency band of the second RF signal to a target frequency band other than the channel frequency band of the operating channel of the first RF signal, so that the first RF signal and the second RF signal are transmitted through different operating channels. Furthermore, in the RF circuit, the first local oscillator frequency of the first superheterodyne circuit 21 is configured according to the center frequency of the operating channel and the first intermediate frequency set by the first superheterodyne circuit 21. This allows the first superheterodyne circuit 21 to extract the RF signal transmitted on the actual operating channel of the first RF signal, thereby obtaining a pure first RF signal and improving signal reception accuracy.

[0152] The circuit control method provided in this application can be executed by a circuit control device. This application uses an example of a circuit control device executing the circuit control method to illustrate the circuit control device provided in this application.

[0153] Please refer to Figure 11 This diagram illustrates a block diagram of a circuit control device provided in an embodiment of this application. The circuit control device can be applied to any radio frequency circuit provided in the embodiments of this application, or any electronic device provided in the embodiments of this application. Figure 11 As shown, the circuit control device 1100 includes: a control module 1101, a receiving module 1102, a configuration module 1103, and a determination module 1104.

[0154] Control module 1101 is used to control the first switch to be in the first switch state; The receiving module 1102 is used to receive the working channel information of the first radio frequency signal transmitted through the first path, wherein the working channel information indicates the working channel through which the first radio frequency signal is transmitted. Configuration module 1103 is used to configure the operating frequency band of the second radio frequency signal as the target frequency band, which is a frequency band other than the channel frequency band of the operating channel; The determination module 1104 is used to determine the first local oscillator frequency of the first superheterodyne circuit based on the center frequency of the working channel and the intermediate frequency set by the first superheterodyne circuit. Configuration module 1103 is used to configure the first local oscillator frequency of the first superheterodyne circuit; The control module 1101 is used to control the first switch to be in the second switch state.

[0155] It should be noted that the explanation and implementation of each step can be found in the relevant descriptions in the foregoing embodiments, and will not be repeated in this embodiment.

[0156] In some embodiments, the determining module 1104 is further configured to determine the second local oscillator frequency of the second superheterodyne circuit based on the center frequency of the target frequency band and the second intermediate frequency set by the second superheterodyne circuit.

[0157] Configuration module 1103 is also used to configure the second local oscillator frequency of the second superheterodyne circuit.

[0158] The control module 1101 is also used to control the first switch to be in the third switch state.

[0159] In some embodiments, the radio frequency circuit further includes a second switch. The control module 1101 is also configured to control the first switch to be in a first switch state and control the second switch to be in a fourth switch state.

[0160] The control module 1101 is also used to control the first switch to be in the second switch state and to control the second switch to be in the fifth switch state.

[0161] In some embodiments, the control module 1101 is further configured to control the first switch to be in the third switch state and control the second switch to be in the sixth switch state.

[0162] In this embodiment, after controlling the first switch to be in the first switch state to connect the first antenna and the first path, the operating channel information of the first radio frequency signal transmitted through the first path can be received. Then, the operating frequency band of the second radio frequency signal is configured as the target frequency band. Based on the center frequency of the operating channel and the intermediate frequency set by the first superheterodyne circuit, the first local oscillator frequency of the first superheterodyne circuit is determined and configured. Afterwards, the first switch is controlled to be in the second switch state to connect the first antenna and the second path. The first superheterodyne circuit can extract the first radio frequency signal from the radio frequency signal acquired by the first antenna based on the first local oscillator frequency and the first intermediate frequency, and output the first radio frequency signal to the signal processing unit.

[0163] In this technical solution, the radio frequency (RF) circuit configures the operating frequency band of the second RF signal to a target frequency band other than the channel frequency band of the operating channel of the first RF signal, so that the first RF signal and the second RF signal are transmitted through different operating channels. Furthermore, in the RF circuit, the first local oscillator frequency of the first superheterodyne circuit is configured according to the center frequency of the operating channel and the first intermediate frequency set by the first superheterodyne circuit. This allows the first superheterodyne circuit to extract the RF signal transmitted on the actual operating channel of the first RF signal, thereby obtaining a pure first RF signal and improving signal reception accuracy.

[0164] The circuit control device in this application embodiment can be a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, handheld computer, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. The embodiments of this application do not specifically limit the scope.

[0165] The circuit control device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.

[0166] The circuit control device provided in this application embodiment can achieve... Figure 11 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0167] Optionally, such as Figure 12 As shown, this application embodiment also provides an electronic device 1200, including a processor 1201, a memory 1202, and any of the charging circuits provided in this application embodiment. The memory 1202 stores a program or instructions that can run on the processor 1201. When the program or instructions are executed by the processor 1201, they implement the various steps of the circuit control method embodiments described above and achieve the same technical effects. To avoid repetition, they will not be described again here. It should be noted that the electronic device in this application embodiment includes the mobile electronic device and non-mobile electronic device described above.

[0168] Figure 13 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. The electronic device 1300 includes, but is not limited to, components such as: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, and a processor 1310. The electronic device 1300 also includes any of the radio frequency circuits provided in the embodiments of this application.

[0169] Those skilled in the art will understand that the electronic device 1300 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1310 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 13 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0170] The signal processing unit is used to determine the second local oscillator frequency of the second superheterodyne circuit based on the center frequency of the target frequency band and the second intermediate frequency set by the second superheterodyne circuit; configure the second local oscillator frequency of the second superheterodyne circuit; and control the first switch to be in the third switch state.

[0171] In this embodiment, the radio frequency (RF) circuit configures the operating frequency band of the second RF signal to a target frequency band other than the channel frequency band of the operating channel of the first RF signal, so that the first RF signal and the second RF signal are transmitted through different operating channels. Furthermore, in the RF circuit, the first local oscillator frequency of the first superheterodyne circuit is configured according to the center frequency of the operating channel and the first intermediate frequency set by the first superheterodyne circuit, so that the first superheterodyne circuit can extract the RF signal transmitted on the actual operating channel of the first RF signal to obtain a pure first RF signal, thereby improving signal reception accuracy.

[0172] Optionally, the radio frequency circuit further includes a second switch. A signal processing unit is used to control the first switch to a first switch state and to control the second switch to a fourth switch state.

[0173] The signal processing unit is used to control the first switch to be in the second switch state, and to control the second switch to be in the fifth switch state.

[0174] Optionally, the signal processing unit is used to control the first switch to be in the third switch state and to control the second switch to be in the sixth switch state.

[0175] In this embodiment, after controlling the first switch to be in the first switch state to connect the first antenna and the first path, the operating channel information of the first radio frequency signal transmitted through the first path can be received. Then, the operating frequency band of the second radio frequency signal is configured as the target frequency band. Based on the center frequency of the operating channel and the intermediate frequency set by the first superheterodyne circuit, the first local oscillator frequency of the first superheterodyne circuit is determined and configured. Afterwards, the first switch is controlled to be in the second switch state to connect the first antenna and the second path. The first superheterodyne circuit can extract the first radio frequency signal from the radio frequency signal acquired by the first antenna based on the first local oscillator frequency and the first intermediate frequency, and output the first radio frequency signal to the signal processing unit.

[0176] In this technical solution, the radio frequency (RF) circuit configures the operating frequency band of the second RF signal to a target frequency band other than the channel frequency band of the operating channel of the first RF signal, so that the first RF signal and the second RF signal are transmitted through different operating channels. Furthermore, in the RF circuit, the first local oscillator frequency of the first superheterodyne circuit is configured according to the center frequency of the operating channel and the first intermediate frequency set by the first superheterodyne circuit. This allows the first superheterodyne circuit to extract the RF signal transmitted on the actual operating channel of the first RF signal, thereby obtaining a pure first RF signal and improving signal reception accuracy.

[0177] It should be understood that, in this embodiment, the input unit 1304 may include a graphics processing unit (GPU) 13041 and a microphone 13042. The GPU 13041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1306 may include a display panel 13061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1307 includes a touch panel 13071 and at least one of other input devices 13072. The touch panel 13071 is also called a touch screen. The touch panel 13071 may include a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0178] The memory 1309 can be used to store software programs and various data. The memory 1309 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1309 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1309 in this embodiment includes, but is not limited to, these and any other suitable types of memory.

[0179] Processor 1310 may include one or more processing units; optionally, processor 1310 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 1310.

[0180] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the circuit control method embodiments described above and achieve the same technical effects. To avoid repetition, they will not be described again here.

[0181] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0182] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described circuit control method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0183] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0184] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the circuit control method embodiments described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0185] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0186] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0187] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A radio frequency circuit, characterized in that, The radio frequency circuit includes: a first switch, a first path, a second path, a signal processing unit, and a first antenna; The first switch is connected to the first antenna, the first path, and the second path, and both the first path and the second path are connected to the signal processing unit; When the first switch is in the first switch state, the first antenna is connected to the signal processing unit through the first path; when the first switch is in the second switch state, the first antenna is connected to the signal processing unit through the second path. The first path is used to receive and output working channel information of a first radio frequency signal to the signal processing unit through the first antenna when connected to the signal processing unit and the first antenna, wherein the working channel information indicates the working channel for transmitting the first radio frequency signal; The second path includes a first superheterodyne circuit. The signal processing unit is configured to set the operating frequency band of the second radio frequency signal as the target frequency band, and to determine and configure the first local oscillator frequency of the first superheterodyne circuit based on the center frequency of the operating channel and the first intermediate frequency set by the first superheterodyne circuit. The target frequency band is a frequency band other than the channel frequency band of the operating channel. The second path is used to extract the first radio frequency signal from the radio frequency signal collected by the first antenna through the first superheterodyne circuit based on the first local oscillator frequency and the first intermediate frequency, the first intermediate frequency and the width of the working channel when connected to the signal processing unit and the first antenna.

2. The radio frequency circuit according to claim 1, characterized in that, The radio frequency circuit further includes: a third path and a second antenna respectively connected to the first switch, wherein the third path is connected to the signal processing unit; When the first switch is in the third switch state, the second antenna is connected to the signal processing unit through the third path; The third path includes a second superheterodyne circuit, and the signal processing unit is used to determine and configure the second local oscillator frequency of the second superheterodyne circuit based on the center frequency of the target frequency band and the second intermediate frequency set by the second superheterodyne circuit. The third path is used to extract the second radio frequency signal from the radio frequency signal acquired by the second antenna through the second superheterodyne circuit based on the second local oscillator frequency, the second intermediate frequency frequency, and the width of the target frequency band when connected to the signal processing unit and the second antenna.

3. The radio frequency circuit according to claim 1 or 2, characterized in that, The first superheterodyne circuit includes: a first mixer, a second mixer, a first generation unit, and a first filtering unit; The first generation unit is connected to the first mixer and the second mixer, and is used to output the radio frequency processing signal of the first local oscillator frequency to the first mixer and the second mixer; The first mixer, the first filter unit, and the second mixer are connected in series. The first mixer is used to downconvert the frequency of the received radio frequency signal to the first local oscillator frequency based on the radio frequency processing signal, and to output a first intermediate signal to the first filter unit. The first filtering unit is used to filter the first intermediate signal according to the first passband to obtain a second intermediate signal, and output the second intermediate signal to the second mixer. The center frequency of the first passband is the first intermediate frequency, and the bandwidth is the width of the working channel. The second mixer is connected to the signal processing unit and is used to upconvert the frequency of the second intermediate signal to the first local oscillator frequency based on the radio frequency processing signal, so as to obtain and output the first radio frequency signal to the signal processing unit.

4. The radio frequency circuit according to claim 3, characterized in that, The first superheterodyne circuit further includes: a first filter; The first filter is disposed between the first switch and the first mixer, and is used to filter the radio frequency signal collected by the first antenna according to the second passband, so as to obtain and output the filtered radio frequency signal to the first mixer. The second bandwidth band includes the first bandwidth band.

5. The radio frequency circuit according to claim 3, characterized in that, The first superheterodyne circuit further includes: a first amplifier and a second amplifier; The first amplifier is disposed between the first filter and the first mixer, and is used to amplify the radio frequency signal output by the first filter to obtain and output the amplified radio frequency signal to the first mixer. The second amplifier is disposed between the first filter unit and the second mixer, and is used to amplify the second intermediate signal to obtain and output the amplified second intermediate signal to the second mixer.

6. The radio frequency circuit according to claim 2, characterized in that, The second superheterodyne circuit includes: a third mixer, a fourth mixer, a second generation unit, and a second filtering unit; The second generation unit is connected to the third mixer and the fourth mixer, and is used to output the radio frequency processing signal of the second local oscillator frequency to the third mixer and the fourth mixer; The third mixer, the second filter unit, and the fourth mixer are connected in series. The third mixer is used to downconvert the frequency of the received radio frequency signal to the second local oscillator frequency based on the radio frequency processing signal, and to output a third intermediate signal to the second filter unit. The second filtering unit is used to filter the third intermediate signal according to the second bandwidth frequency band to obtain the fourth intermediate signal, and output the fourth intermediate signal to the fourth mixer. The center frequency of the second bandwidth frequency band is the second intermediate frequency, and the bandwidth is the width of the target frequency band. The fourth mixer is connected to the signal processing unit and is used to up-convert the frequency of the fourth intermediate signal to the second local oscillator frequency based on the radio frequency processing signal, so as to obtain and output the second radio frequency signal to the signal processing unit.

7. The radio frequency circuit according to claim 1, characterized in that, The radio frequency circuit also includes: a second switch; The second switch is connected to the first path, the second path and the signal processing unit. When the second switch is in the fourth switch state, the first path is connected to the signal processing unit. When the second switch is in the fifth switch state, the second path is connected to the signal processing unit.

8. The radio frequency circuit according to any one of claims 2 to 7, characterized in that, The first radio frequency signal is a Wi-Fi signal or a Bluetooth signal; Alternatively, the first radio frequency signal may be a Wi-Fi signal, and the second radio frequency signal may be a Bluetooth signal; Alternatively, the first radio frequency signal may be a Bluetooth signal, and the second radio frequency signal may be a Wi-Fi signal.

9. An electronic device, characterized in that, Includes the radio frequency circuit described in any one of claims 1 to 8.

10. A circuit control method, characterized in that, Applied to the radio frequency circuit of any one of claims 1 to 8, or the electronic device of claim 9; the method comprises: Control the first switch to be in the first switch state; The working channel information for receiving the first radio frequency signal transmitted through the first path is indicated by the working channel information for transmitting the first radio frequency signal. Configure the operating frequency band of the second radio frequency signal as the target frequency band, wherein the target frequency band is a frequency band other than the channel frequency band of the operating channel; Based on the center frequency of the working channel and the intermediate frequency set by the first superheterodyne circuit, the first local oscillator frequency of the first superheterodyne circuit is determined. Configure the first local oscillator frequency of the first superheterodyne circuit; Control the first switch to be in the second switch state.