Electronic device, wifi signal adjustment method and apparatus
By switching the connection between the receiving antenna and the detection port in the radio frequency circuit, the harmonic signal is acquired and combined with digital predistortion calibration, which solves the problem of unstable performance of the WiFi circuit when the user holds the device, and improves the WiFi signal quality and adjustment accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- VIVO MOBILE COMM CO LTD
- Filing Date
- 2023-10-16
- Publication Date
- 2026-05-01
AI Technical Summary
When a mobile terminal's Wi-Fi circuit is held by the user, the performance of the power amplifier is affected, resulting in poor accuracy of digital predistortion calibration and impacting Wi-Fi signal quality.
By setting a switching component in the radio frequency circuit to switch the connection between the receiving antenna and the detection port, harmonic signals are obtained to adjust the operating parameters of the Wi-Fi circuit. Combined with digital predistortion calibration technology, the environmental state of the Wi-Fi circuit is adjusted in real time according to the correspondence between harmonic signals and transmission power.
It improves the accuracy of adjusting the operating parameters of the Wi-Fi circuit, enhances the performance of the power amplifier and the quality of the Wi-Fi signal, and improves the user experience.
Smart Images

Figure CN117254830B_ABST
Abstract
Description
Electronic devices, Wi-Fi signal adjustment methods and devices Technical Field
[0001] This application belongs to the field of electronic technology, specifically relating to an electronic device, a method and apparatus for adjusting Wi-Fi signals. Background Technology
[0002] With the development of mobile communications, Wireless Fidelity (WiFi) technology has come into focus. Most mobile terminals now support WiFi for communication. To achieve higher WiFi signal output power, the power amplifier in the WiFi circuit of a mobile terminal typically operates near its saturation point. However, power amplifiers operating near saturation points produce nonlinear distortion, generating interference frequency components. For example, second-order nonlinear distortion produces second harmonics; third-order nonlinear distortion produces third harmonics, and so on. This nonlinear distortion degrades several antenna circuit performance indicators, such as error vector magnitude (EVM) and sidelobe suppression, affecting WiFi signal quality.
[0003] To address the nonlinear distortion problem in power amplifiers, Digital Pre-Distortion (DPD) calibration technology has been developed. This DPD technology can expand the linear range of a power amplifier without altering its characteristics, thus mitigating nonlinear distortion to some extent. Currently, mobile terminals typically perform DPD calibration when switching Wi-Fi on / off or switching Wi-Fi channels. For example, after detecting a switch from a closed to an open Wi-Fi connection, the mobile terminal performs DPD calibration to adjust the operating parameters of the Wi-Fi circuit based on the calibration parameters obtained, thereby adjusting the linear range of the power amplifier.
[0004] However, mobile terminals are typically held by the user. Whether the user holds the terminal or not significantly affects the load on the power amplifier's environment, and this load greatly influences the power amplifier's performance. This results in differences between DPD calibration results performed on a held Wi-Fi circuit and those performed on an unheld Wi-Fi circuit, thus affecting the accuracy of DPD calibration. Therefore, accurately adjusting the operating parameters of the Wi-Fi circuit becomes a crucial problem to solve. Summary of the Invention
[0005] The purpose of this application is to provide an electronic device, a method and apparatus for adjusting Wi-Fi signals, which can solve the problem that the accuracy of adjusting the working parameters of the current Wi-Fi circuit is poor due to the influence of changes in the holding state of the Wi-Fi circuit.
[0006] In a first aspect, embodiments of this application provide an electronic device, which includes: a radio frequency circuit and a Wi-Fi circuit;
[0007] The radio frequency circuit includes a radio frequency transceiver, a transmitting antenna, and a receiving antenna. The radio frequency transceiver includes a transmitting port, a receiving port, and a detection port. The transmitting antenna is connected to the transmitting port, and the receiving antenna is connected to the receiving port and the detection port through a switching assembly.
[0008] When the switching assembly is in the first conducting state, the receiving antenna and the receiving port are connected, and the electronic device transmits and receives signals through the radio frequency circuit; when the switching assembly is in the second conducting state, the receiving antenna and the detection port are connected, and the electronic device obtains the harmonic signal of the Wi-Fi circuit through the receiving antenna, and adjusts the operating parameters of the Wi-Fi circuit according to the harmonic signal.
[0009] Secondly, embodiments of this application provide a Wi-Fi signal adjustment method, applied to any of the electronic devices described in the first aspect, the method comprising:
[0010] The target signal magnitude of the harmonic signal is obtained through the radio frequency transceiver, and the current target transmission power and target correspondence of the Wi-Fi circuit are also obtained.
[0011] Based on the target correspondence, the environmental state of the Wi-Fi circuit corresponding to both the target transmission power and the target signal strength is determined. The environmental state includes the user holding state or the unheld state.
[0012] When the environmental conditions of the Wi-Fi circuit change, the operating parameters of the Wi-Fi circuit are adjusted through digital predistortion (DPD) calibration.
[0013] The target correspondence records the magnitude range of harmonic signals radiated by the WiFi circuit when it is held by the user, and the magnitude range of harmonic signals radiated when it is not held, when the WiFi circuit has multiple transmission powers in sequence.
[0014] Thirdly, embodiments of this application provide a Wi-Fi signal adjustment device, applied to any of the electronic devices described in the first aspect, the device comprising:
[0015] The acquisition module is used to acquire the target signal magnitude of the harmonic signal through the radio frequency transceiver, and to acquire the current target transmission power and target correspondence of the Wi-Fi circuit.
[0016] The determination module is used to determine the environmental state of the Wi-Fi circuit that corresponds to both the target transmission power and the target signal strength based on the target correspondence relationship. The environmental state includes a user-held state or an unheld state.
[0017] An adjustment module is used to adjust the operating parameters of the Wi-Fi circuit through digital predistortion (DPD) calibration when the environmental conditions of the Wi-Fi circuit change.
[0018] The target correspondence records the magnitude range of harmonic signals radiated by the WiFi circuit when it is held by the user, and the magnitude range of harmonic signals radiated when it is not held, when the WiFi circuit has multiple transmission powers in sequence.
[0019] Fourthly, embodiments of this application provide an electronic device, which is any of the electronic devices described in the first aspect, further comprising a processor and a memory, wherein the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method described in the second aspect.
[0020] Fifthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the second aspect.
[0021] In a sixth aspect, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method described in the second aspect.
[0022] In a seventh aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the second aspect.
[0023] In this embodiment, the electronic device includes a radio frequency (RF) circuit and a Wi-Fi circuit. The RF circuit includes an RF transceiver, a transmitting antenna, and a receiving antenna. The RF transceiver includes a transmitting port, a receiving port, and a detection port. The transmitting antenna is connected to the transmitting port, and the receiving antenna is connected to the receiving port and the detection port via a switching component. When the switching component is in a first conducting state, the receiving antenna is connected to the receiving port, and the electronic device transmits and receives signals through the RF circuit. When the switching component is in a second conducting state, the receiving antenna is connected to the detection port, and the electronic device acquires the harmonic signals of the Wi-Fi circuit through the receiving antenna and adjusts the operating parameters of the Wi-Fi circuit according to the harmonic signals. In this technical solution, the electronic device can acquire the harmonic signals of the Wi-Fi circuit through the receiving antenna of the RF circuit when the switching component is in the second conducting state, and adjust the operating parameters of the Wi-Fi circuit according to the harmonic signals. There is a correspondence between the harmonic signals, the transmitting power of the Wi-Fi circuit, and the user's holding state; there is also a correspondence between the harmonic signals, the transmitting power of the Wi-Fi circuit, and the unheld state. Therefore, the electronic device can determine the current environmental state of the Wi-Fi circuit based on the acquired harmonic signals, which includes the user's holding state or the unheld state. Furthermore, when the environmental conditions of the Wi-Fi circuit change, the operating parameters of the Wi-Fi circuit are readjusted to ensure the accuracy of the adjustment. Attached Figure Description
[0024] Figure 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0025] Figure 2 is a schematic diagram of a radio frequency circuit provided in an embodiment of this application;
[0026] Figure 3 is a schematic diagram of a Wi-Fi circuit provided in an embodiment of this application;
[0027] Figure 4 is a schematic diagram of the structure of another electronic device provided in an embodiment of this application;
[0028] Figure 5 is a flowchart of a Wi-Fi signal adjustment method provided in an embodiment of this application;
[0029] Figure 6 is a block diagram of a Wi-Fi signal adjustment device provided in an embodiment of this application;
[0030] Figure 7 is a block diagram of an electronic device provided in an embodiment of this application;
[0031] Figure 8 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0032] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0033] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0034] The electronic device, Wi-Fi signal adjustment method, and apparatus provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.
[0035] Most mobile devices now support communication via WiFi technology. To achieve higher WiFi signal output power, the power amplifier in the WiFi circuitry of a mobile device typically operates near its saturation point.
[0036] However, mobile terminals are usually held by the user. Whether the user holds the terminal or not has a significant impact on the load of the power amplifier's environment, and the load of the power amplifier's environment has a significant impact on the power amplifier's performance when it is in operation.
[0037] For example, as shown in Table 1, when the Wi-Fi circuit's transmit power is 17 dBm, if the Wi-Fi circuit is not held, its EVM is -30, and the second harmonic signal magnitude is -55. If the Wi-Fi circuit is held vertically or horizontally by the user with one hand, its EVM is -26, and the second harmonic signal magnitude is -30. Similarly, when the Wi-Fi circuit's transmit power is 15 dBm, if the Wi-Fi circuit is not held, its EVM is -35, and the second harmonic signal magnitude is -50. If the Wi-Fi circuit is held vertically or horizontally by the user with one hand, its EVM is -30, and the second harmonic signal magnitude is -42. It is easy to see that the power amplifier's performance differs significantly before and after the user holds the Wi-Fi circuit. The mobile terminal can adjust the Wi-Fi circuit's operating parameters through DPD calibration to ensure the power amplifier's performance. Therefore, changes in the holding state of the Wi-Fi circuit can affect the accuracy of DPD calibration and the accuracy of adjusting the operating parameters of the Wi-Fi circuit. Thus, how to more accurately adjust the operating parameters of the Wi-Fi circuit to improve the performance of the power amplifier becomes a pressing issue.
[0038]
[0039] Table 1
[0040] Please refer to Figure 1, which shows a schematic diagram of the structure of an electronic device provided in an embodiment of this application. As shown in Figure 1, the electronic device 100 includes: a radio frequency (RF) circuit 101 and a Wi-Fi circuit 102. The RF circuit 101 includes an RF transceiver 1011, a transmitting antenna 1012, and a receiving antenna 1013. The RF transceiver 1011 includes a transmitting port TX1, a receiving port RX1, and a detection port P. The detection port PDET is also known as a power detector (PDET) port. The transmitting antenna 1012 is connected to the transmitting port TX1, and the receiving antenna 1013 is connected to the receiving port RX1 and the detection port P through a switching assembly 1014.
[0041] When the switching assembly 1014 is in the first conducting state, the receiving antenna 1013 is connected to the receiving port RX1, and the electronic device transmits and receives signals through the radio frequency circuit 101 to perform radio frequency communication of the electronic device.
[0042] When the switch assembly 1014 is in the second conduction state, the receiving antenna 1013 is connected to the detection port P, and the electronic device obtains the harmonic signal of the WiFi circuit 102 through the receiving antenna 1013 and adjusts the operating parameters of the WiFi circuit 102 according to the harmonic signal.
[0043] The receiving antenna 1013 can receive signals that have a frequency harmonic relationship with the Wi-Fi signal transmitted by the Wi-Fi circuit 102, thereby receiving the harmonic signals of the Wi-Fi circuit 102. Optionally, the harmonic signal can be the second harmonic signal or the third harmonic signal of the Wi-Fi circuit, etc. For example, the harmonic signal is the second harmonic signal. The receiving antenna is used to receive signals in the N79 frequency band, and the Wi-Fi circuit is used to transmit 2.4GHz Wi-Fi signals; or, the receiving antenna is used to receive signals in the N78 frequency band, and the Wi-Fi circuit is used to transmit Wi-Fi signals in the B3 frequency band; or, the receiving antenna is used to receive signals in the N79 frequency band, and the Wi-Fi circuit is used to transmit Wi-Fi signals in the B40 frequency band.
[0044] In some embodiments of this application, the radio frequency transceiver 1011 can detect the target signal magnitude of the harmonic signal input through the detection port P, so that the electronic device can acquire the target signal magnitude of the harmonic signal and then execute the Wi-Fi signal adjustment method provided in the embodiments of this application to adjust the operating parameters of the Wi-Fi circuit 102 according to the target signal magnitude. For example, the electronic device adjusts the operating parameters of the Wi-Fi circuit through DPD calibration. The specific execution process of the Wi-Fi signal adjustment method provided in the embodiments of this application by the electronic device is described in detail below.
[0045] Since the RF transceiver 1011 typically has the function of detecting signal strength, a switching assembly connects the receiving antenna and the detection port, allowing the RF transceiver to receive harmonic signals from the Wi-Fi circuit via the receiving antenna and detect the target signal strength of the harmonic signals. By multiplexing the RF circuit and utilizing the switching assembly to multiplex the signal strength detection function of the RF transceiver, it is possible to achieve harmonic signal strength detection in electronic devices without having to set up separate circuit devices for detecting harmonic signals, thus reducing circuit redundancy.
[0046] In this embodiment, the electronic device includes a radio frequency (RF) circuit and a Wi-Fi circuit. The RF circuit includes an RF transceiver, a transmitting antenna, and a receiving antenna. The RF transceiver includes a transmitting port, a receiving port, and a detection port. The transmitting antenna is connected to the transmitting port, and the receiving antenna is connected to the receiving port and the detection port via a switching component. When the switching component is in a first conducting state, the receiving antenna is connected to the receiving port, and the electronic device transmits and receives signals through the RF circuit. When the switching component is in a second conducting state, the receiving antenna is connected to the detection port, and the electronic device acquires the harmonic signals of the Wi-Fi circuit through the receiving antenna and adjusts the operating parameters of the Wi-Fi circuit based on the harmonic signals. In this technical solution, the electronic device can acquire the harmonic signals of the Wi-Fi circuit through the receiving antenna of the RF circuit when the switching component is in the second conducting state, and adjust the operating parameters of the Wi-Fi circuit based on the harmonic signals. There is a correspondence between the harmonic signals, the transmitting power of the Wi-Fi circuit, and the user's holding state; there is also a correspondence between the harmonic signals, the transmitting power of the Wi-Fi circuit, and the unheld state. Therefore, the electronic device can determine the current environmental state of the Wi-Fi circuit based on the acquired harmonic signals, which includes the user's holding state or unheld state. Furthermore, when the environmental conditions of the Wi-Fi circuit change, the operating parameters of the Wi-Fi circuit are readjusted to ensure the accuracy of the adjustment.
[0047] Optionally, as shown in Figure 2, the switch assembly 1014 includes: a first switch element S1 and a second switch element S2. The stationary end of the first switch element S1 is connected to the detection port P. The first moving end of the first switch element S1 is connected to the first moving end of the second switch element S2. The second moving end of the first switch element S1 is connected to the transmitting antenna 1012. The stationary end of the second switch element S2 is connected to the receiving antenna 1013. The second moving end of the second switch element S2 is connected to the receiving port RX1. Optionally, the first switch element S1 and the second switch element S2 can be single-pole double-throw switches.
[0048] When the switching assembly 1014 is in the first conducting state, the stationary end of the second switching element S2 is connected to the second moving end of the second switching element S2, and the receiving port RX1 receives the signal through the receiving antenna 1013. Optionally, when the switching assembly 1014 is in the first conducting state, the second moving end of the first switching element S1 can also be connected to the stationary end of the first switching element S1, and the detection port P receives the transmitted signal from the transmitting antenna 1012 and detects the magnitude of the transmitted signal.
[0049] When the switch assembly 1014 is in the second conducting state, the stationary end of the second switch S2 is connected to the first moving end of the second switch S2, and the first moving end of the first switch S1 is connected to the stationary end of the first switch S1, connecting the detection port P and the receiving antenna 1013, and cutting off the receiving port RX1 and the receiving antenna 1013, so that the detection port P receives the harmonic signal of the WiFi circuit 102 through the receiving antenna 1013.
[0050] Further optionally, as shown in FIG2, the radio frequency circuit 101 further includes a first low-noise amplifier (LNA) 1015. The first low-noise amplifier 1015 is connected to the receiving antenna 1013 and the switching assembly 1014, respectively.
[0051] When the switching assembly 1014 is in the second conducting state, the receiving antenna 1013 is connected to the detection port P through the first low-noise power amplifier 1015. The electronic device acquires harmonic signals through the receiving antenna 1013 and adjusts the operating parameters of the Wi-Fi circuit according to the harmonic signals amplified by the first low-noise power amplifier 1015.
[0052] The first low-noise power amplifier 1015 amplifies the harmonic signal received by the receiving antenna 1013 to prevent the electronic device from being unable to acquire the harmonic signal due to its small size. Furthermore, since the RF transceiver 1011 can detect the target signal size of the harmonic signal, amplifying the harmonic signal by the first low-noise power amplifier 1015 also prevents the RF transceiver from having poor accuracy in detecting the harmonic signal size due to its small size.
[0053] For example, the stationary end of the second switch S2 is connected to the first low-noise power amplifier 1015, which is also connected to the receiving antenna 1013. When the switch assembly 1014 is in the second ON state, the stationary end of the second switch S2 is connected to the first moving end of the second switch S2, and the first moving end of the first switch S1 is connected to the stationary end of the first switch S1, so that the receiving antenna 1013 is connected to the detection port P through the first low-noise power amplifier 1015.
[0054] In this way, by adding a switching component to the high-frequency receiving path in the radio frequency circuit, that is, the radio frequency receiving path where the receiving antenna is located, and the power detection path where the detection port is located, the harmonic signal of the WiFi circuit, that is, the low-frequency transmission signal of the WiFi circuit, can be amplified by the first low-noise power amplifier and then switched to the detection port by the switching component, so that the radio frequency transceiver can accurately detect the magnitude of the harmonic signal transmitted by the WiFi circuit.
[0055] Optionally, as shown in Figure 3, the Wi-Fi circuit 102 includes: a wireless transceiver 1021, a third switch 1022, a second power amplifier (PA) 1023, and a Wi-Fi antenna 1024.
[0056] The wireless transceiver 1021 includes a wireless transmitting port TX2 and a wireless receiving port RX1. A Wi-Fi antenna 1024 is connected to the stationary terminal of a third switch 1022. The first moving terminal of the third switch 1022 is connected to the wireless transmitting port TX2 via a second power amplifier 1022. The second moving terminal of the third switch 1022 is connected to the wireless receiving port RX1.
[0057] When the switching assembly 1014 is in the second conducting state, the first moving end of the third switching element 1022 is connected to the stationary end, and the Wi-Fi antenna 1024 is connected to the wireless transmission port TX2 through the second power amplifier 1023. The wireless transceiver 1021 transmits the generated Wi-Fi signal to the second power amplifier 1023 through the wireless transmission port TX2. The Wi-Fi antenna 1024 transmits the Wi-Fi signal amplified by the second power amplifier 1023.
[0058] Optionally, when the switching component 1014 is not in the second conducting state, the electronic device can be in a Wi-Fi signal receiving state, and the second moving terminal of the third switching component 1022 can be connected to the stationary terminal, allowing the wireless transceiver 1021 to receive the Wi-Fi signal through the Wi-Fi antenna 1024. Further optionally, as shown in FIG4, the Wi-Fi circuit 102 also includes a third low-noise amplifier (LNA) 1025. The third low-noise amplifier 1025 is connected to both the second moving terminal of the third switching component 1022 and the wireless receiving port RX1. The electronic device can be in a Wi-Fi signal receiving state, and the Wi-Fi antenna 1024 transmits the received Wi-Fi signal to the third low-noise amplifier 1025. The wireless receiving port RX1 of the wireless transceiver 1021 receives the Wi-Fi signal amplified by the third low-noise amplifier 1025.
[0059] In some embodiments of this application, as shown in FIG4, the radio frequency circuit 101 further includes: a fourth power amplifier 1016, a coupler 1017, a first filter 1018, and a second filter 109.
[0060] The fourth power amplifier 1016 is connected to the transmit port TX1 of the RF transceiver 1011 and the coupler 1017. The fourth power amplifier 1016 amplifies the RF transmission signal transmitted by the RF transceiver 1011 through the transmit port TX1. The first filter 1018 is connected to the coupler 1017 and the transmit antenna 1012. The first filter 1018 filters the RF transmission signal transmitted from the fourth power amplifier 1016 to the first filter 1018, and transmits the filtered RF transmission signal using the transmit antenna 1012.
[0061] Coupler 1017 is also connected to detection port P via switch assembly 1014. Optionally, when switch assembly 1014 is in a first conducting state or a third conducting state, the stationary end and the second moving end of the first switch are connected, thereby connecting detection port P to the transmitting antenna. If the RF transceiver 1011 can detect the target signal magnitude of the harmonic signal by checking port P, when switch assembly 1014 is in the first conducting state or the third conducting state, the RF transceiver 1011 can detect the signal magnitude of the RF transmit signal output by the fourth power amplifier 1016. For example, as shown in FIG4, the RF circuit 101 further includes a resistor R. Coupler 1017 is also grounded via resistor R.
[0062] The second filter 109 is connected to both the receiving antenna 1013 and the first low-noise power amplifier 1015. The second filter 109 filters the signal received by the receiving antenna 1013 and transmits the filtered signal to the first low-noise power amplifier 1015. For example, the second filter 109 filters harmonic signals received by the receiving antenna 1013 and transmits the filtered harmonic signals to the first low-noise power amplifier 1015.
[0063] For example, assume the harmonic signal is a second harmonic signal. The receiving antenna is used to receive signals in the N79 band. The Wi-Fi circuit is used to transmit 2.4 GHz Wi-Fi signals. RF transceiver 1011 is a radio frequency IC (RFIC). Wireless transceiver 1021 is a WCN chip.
[0064] When the electronic device is in a Wi-Fi signal transmission state, in the Wi-Fi circuit 102, the first moving terminal of the third switch 1022 is connected to the stationary terminal, and the Wi-Fi antenna 1024 is connected to the wireless transmission port TX2 (Wi-Fi 2.4G TX) through the second power amplifier 1023. The wireless transceiver 1021 transmits the generated 2.4G Wi-Fi signal to the second power amplifier 1023 through the wireless transmission port TX2. The Wi-Fi antenna 1024 transmits the 2.4G Wi-Fi signal amplified by the second power amplifier 1023.
[0065] In the radio frequency circuit 101, the switching component 1014 is in a second conducting state. The stationary end of the second switching element S2 is connected to the first moving end of the second switching element S2, and the first moving end of the first switching element S1 is connected to the stationary end of the first switching element S1, connecting the detection port P and the receiving antenna 1013, and cutting off the receiving port RX1 (N79RX) and the receiving antenna 1013, so that the detection port P receives the harmonic signal of the WiFi circuit 102 through the receiving antenna 1013. The radio frequency transceiver 1011 detects the target signal magnitude of the harmonic signal input through the detection port P, so that the electronic device obtains the target signal magnitude of the harmonic signal, and then executes the WiFi signal adjustment method provided in this application embodiment to adjust the operating parameters of the WiFi circuit 102 according to the target signal magnitude.
[0066] When the electronic device is in a Wi-Fi signal receiving state, the second moving terminal of the third switch 1022 can be connected to the stationary terminal, and the Wi-Fi antenna 1024 transmits the received Wi-Fi signal to the third low-noise power amplifier 1025. The wireless receiving port RX1 (Wi-Fi 2.4G RX) of the wireless transceiver 1021 receives the Wi-Fi signal amplified by the third low-noise power amplifier 1025.
[0067] It should be noted that, due to the size limitations of electronic devices, in one optional scenario, the radio frequency circuit 101 and the Wi-Fi circuit 102 are laid out relatively close together.
[0068] In summary, the electronic device provided in this application includes a radio frequency (RF) circuit and a Wi-Fi circuit. The RF circuit includes an RF transceiver, a transmitting antenna, and a receiving antenna. The RF transceiver includes a transmitting port, a receiving port, and a detection port. The transmitting antenna is connected to the transmitting port, and the receiving antenna is connected to the receiving port and the detection port via a switching assembly. When the switching assembly is in a first conducting state, the receiving antenna is connected to the receiving port, and the electronic device transmits and receives signals through the RF circuit. When the switching assembly is in a second conducting state, the receiving antenna is connected to the detection port, and the electronic device acquires the harmonic signals of the Wi-Fi circuit through the receiving antenna and adjusts the operating parameters of the Wi-Fi circuit according to the harmonic signals. In this technical solution, the electronic device can acquire the harmonic signals of the Wi-Fi circuit through the receiving antenna of the RF circuit when the switching assembly is in the second conducting state, and adjust the operating parameters of the Wi-Fi circuit according to the harmonic signals. There is a correspondence between the harmonic signals, the transmitting power of the Wi-Fi circuit, and the user's holding state; there is also a correspondence between the harmonic signals, the transmitting power of the Wi-Fi circuit, and the unheld state. Therefore, electronic devices can determine the current environmental state of the Wi-Fi circuit based on the acquired harmonic signals. This environmental state includes whether the user is holding the device or not. Then, when the environmental state of the Wi-Fi circuit changes, the operating parameters of the Wi-Fi circuit are readjusted to ensure the accuracy of the parameter adjustments.
[0069] Please refer to Figure 5, which shows a flowchart of a Wi-Fi signal adjustment method provided in an embodiment of this application. The Wi-Fi signal adjustment method can be applied to the electronic device provided in this embodiment. Optionally, the Wi-Fi signal adjustment method can be applied to the electronic device shown in Figure 1 or Figure 4. In an optional implementation, the Wi-Fi signal adjustment method can be executed by a processor in the electronic device; the following example uses a processor executing the method. As shown in Figure 5, the Wi-Fi signal adjustment method includes:
[0070] Step 501: Obtain the target signal magnitude of the harmonic signal through the radio frequency transceiver, and obtain the current target transmission power and target correspondence of the WiFi circuit.
[0071] The target correspondence refers to the relationship between the Wi-Fi circuit's transmission power, environmental conditions, and the magnitude range of harmonic signals. Environmental conditions include whether the user is holding the device or not. The target correspondence records the magnitude range of harmonic signals radiated by the Wi-Fi circuit in the user-held state and the magnitude range of harmonic signals radiated in the unheld state, when the Wi-Fi circuit has multiple transmission power levels. Optionally, the target correspondence includes the correspondence between transmission power, user-held state, and the magnitude range of harmonic signals, as well as the correspondence between transmission power, unheld state, and the magnitude range of harmonic signals.
[0072] Optionally, the processor can acquire the target signal magnitude of the harmonic signal of the Wi-Fi circuit, as well as the current target transmission power and target correspondence of the Wi-Fi circuit, either in real time or periodically. The electronic device can store the target correspondence, allowing the processor to directly obtain it from the electronic device. Alternatively, the processor can obtain the target correspondence from a third-party device.
[0073] For example, when the processor is in the Wi-Fi signal transmission state, it can control the switching component in the radio frequency circuit to be in a second conduction state to obtain the target signal magnitude of the harmonic signal detected by the radio frequency transceiver. It can also obtain the target correspondence and, by acquiring the transmission parameters of the Wi-Fi circuit, obtain the current target transmission power of the Wi-Fi circuit, including the transmission parameters.
[0074] In some embodiments of this application, the target mapping relationship can be a mapping relationship directly generated by the processor. Alternatively, the target mapping relationship can also be a mapping relationship generated by a third-party device and transmitted to the electronic device. Optionally, the processor can generate the mapping relationship by executing a target mapping relationship generation process. The target mapping relationship generation process includes:
[0075] Step S1: Adjust the transmission power of the Wi-Fi circuit to multiple transmission powers in sequence.
[0076] Step S2: After each adjustment of the transmission power of the Wi-Fi circuit, the first signal magnitude of the harmonic signal radiated by the Wi-Fi circuit when the user holds the device, and the second signal magnitude of the harmonic signal radiated by the Wi-Fi circuit when the device is not held, are obtained through the radio frequency transceiver.
[0077] In one alternative implementation, after each adjustment of the Wi-Fi circuit's transmission power, the user can hold the Wi-Fi circuit, allowing the processor to obtain, via an RF transceiver, the first signal magnitude of the harmonic signal radiated by the Wi-Fi circuit while held by the user. Furthermore, after each adjustment of the Wi-Fi circuit's transmission power, the processor can also obtain, via an RF transceiver, the second signal magnitude of the harmonic signal radiated by the Wi-Fi circuit when it is not held.
[0078] In another alternative implementation, after each adjustment of the Wi-Fi circuit's transmission power, the user can hold the Wi-Fi circuit multiple times. This allows the processor to obtain, via the RF transceiver, the first signal magnitude of the harmonic signal radiated by the Wi-Fi circuit in the user-held state each time the user holds the circuit, thus obtaining multiple first signal magnitudes. Furthermore, after each adjustment of the Wi-Fi circuit's transmission power, the processor can obtain, via the RF transceiver, multiple second signal magnitudes of the harmonic signal radiated by the Wi-Fi circuit in the unheld state, thus obtaining multiple second signal magnitudes.
[0079] Step S3: Generate a size range corresponding to the user's holding state based on the first signal size, and generate a size range corresponding to the unheld state based on the second signal size.
[0080] In the first implementation of step S2, the process of the processor generating a size range corresponding to the user's holding state based on the first signal magnitude, and generating a size range corresponding to the unheld state based on the second signal magnitude, may include:
[0081] The processor determines the range from the difference between the first signal magnitude and the target value to the sum of the first signal magnitude and the target value as the size range corresponding to the user's holding state. It then determines the range from the difference between the second signal magnitude and the target value to the sum of the second signal magnitude and the target value as the size range corresponding to the unheld state.
[0082] In the latter implementation of step S2, the process of the processor generating a size range corresponding to the user's holding state based on the first signal magnitude, and generating a size range corresponding to the unheld state based on the second signal magnitude, may include:
[0083] The processor determines the value range of multiple first signal magnitudes as the size range corresponding to the user's holding state. It also determines the value range of multiple second signal magnitudes as the size range corresponding to the unheld state.
[0084] Step S4: Generate target correspondence based on the size range corresponding to the user holding state and the size range corresponding to the unheld state under each transmission power.
[0085] For example, the generated target correspondence can be as follows: Transmission power: W1, environmental state: Wi-Fi circuit is not held, magnitude range of 2nd harmonic signal: A1±1 and C1±1 correspond; Transmission power: W1, environmental state: Wi-Fi circuit is held by user, magnitude range of 2nd harmonic signal: B1±1 and D1±1 correspond; Transmission power: W2, environmental state: Wi-Fi circuit is not held, magnitude range of 2nd harmonic signal: A2±1 and C2±1 correspond; Transmission power: W2, environmental state: Wi-Fi circuit is held by user, magnitude range of 2nd harmonic signal: B2±1 and D2±1 correspond.
[0086] Step 502: Determine the environmental state of the Wi-Fi circuit that corresponds to both the target's transmission power and the target's signal strength based on the target correspondence.
[0087] Optionally, the processor can look up the environmental state corresponding to both the target's transmission power and the target's signal strength from the target correspondence to obtain the current environmental state of the Wi-Fi circuit.
[0088] For example, after the processor obtains the target signal magnitude K of the harmonic signal through the RF transceiver, it obtains the target correspondence and reads the transmission power parameters of the Wi-Fi circuit to obtain the target transmission power W1. The target correspondence includes: Transmission power: W1, environmental state: Wi-Fi circuit is in an unheld state, magnitude range of the 2nd harmonic signal: A1±1 and C1±1 correspond; Transmission power: W1, environmental state: Wi-Fi circuit is in a user-held state, magnitude range of the 2nd harmonic signal: B1±1 and D1±1 correspond; Transmission power: W2, environmental state: Wi-Fi circuit is in an unheld state, magnitude range of the 2nd harmonic signal: A2±1 and C2±1 correspond; Transmission power: W2, environmental state: Wi-Fi circuit is in a user-held state, magnitude range of the 2nd harmonic signal: B2±1 and D2±1 correspond.
[0089] If A1 < K < A1+1, the processor determines that the current environmental state of the Wi-Fi circuit is unheld. If B1 < K < B1+1, the processor determines that the current environmental state of the Wi-Fi circuit is held by the user.
[0090] Step 503: When the environmental conditions of the Wi-Fi circuit change, adjust the operating parameters of the Wi-Fi circuit through DPD calibration.
[0091] In this embodiment, when the environmental conditions of the Wi-Fi circuit change, the processor can re-execute DPD calibration to adjust the operating parameters of the Wi-Fi circuit. This allows DPD calibration to be performed before and after the user holds the Wi-Fi circuit, ensuring that DPD calibration is triggered promptly when factors affecting the power amplifier's performance change, adjusting the Wi-Fi circuit's operating parameters, maintaining excellent power amplifier performance, and thus improving the transmission quality of the Wi-Fi signal and enhancing the user experience.
[0092] In this embodiment, the target signal magnitude of the harmonic signal is obtained through a radio frequency transceiver, as well as the current target transmission power and target correspondence of the Wi-Fi circuit. Based on the target correspondence, the environmental state of the Wi-Fi circuit corresponding to both the target transmission power and the target signal magnitude is determined. Furthermore, if the environmental state of the Wi-Fi circuit changes, the operating parameters of the Wi-Fi circuit are readjusted through DPD calibration to ensure the accuracy of the adjustment.
[0093] Due to the size limitations of electronic devices, the radio frequency (RF) circuit and Wi-Fi circuit are typically positioned relatively close together. This means that when a user holds the Wi-Fi circuit, they may also be holding the RF circuit, which in turn affects the first low-noise power amplifier within the RF circuit.
[0094] Based on this, the target correspondence can record the magnitude range of harmonic signals radiated by the Wi-Fi circuit when both the Wi-Fi circuit and the radio frequency circuit are held by the user, with the Wi-Fi circuit having multiple transmission powers in sequence; the magnitude range of harmonic signals radiated by the Wi-Fi circuit when it is not held, and the radio frequency circuit is held by the user; the magnitude range of harmonic signals radiated by the Wi-Fi circuit when both the Wi-Fi circuit and the radio frequency circuit are not held; and the magnitude range of harmonic signals radiated by the Wi-Fi circuit when it is held by the user, and the radio frequency circuit is not held.
[0095] For example, the target correspondence is recorded in the form of a correspondence table as shown in Table 2 below. As shown in Table 2, the target correspondence includes:
[0096] Transmit power: 17dBm; Environmental conditions: Wi-Fi circuit is unhandled + power detection circuit is unhandled; Magnitude range of 2nd harmonic signal: A1±1;
[0097] Transmit power: 17dBm; Environmental conditions: Wi-Fi circuit is held by the user + power detection circuit is not held; Magnitude range of 2nd harmonic signal: B1±1;
[0098] Transmit power: 17dBm; Environmental conditions: Wi-Fi circuit is in an unheld state + power detection circuit is in a user-held state; Magnitude range of the second harmonic signal: C1±1;
[0099] Transmit power: 17dBm; Environmental conditions: Wi-Fi circuit is held by the user + power detection circuit is held by the user; Magnitude range of the second harmonic signal: D1±1.
[0100]
[0101]
[0102] Table 2
[0103] Similarly, after acquiring the target signal magnitude of the harmonic signal through the RF transceiver and the current target transmission power and target correspondence of the Wi-Fi circuit, the processor also determines the environmental state of the Wi-Fi circuit corresponding to both the target transmission power and the target signal magnitude based on the target correspondence. Then, if the environmental state of the Wi-Fi circuit changes, the processor readjusts the operating parameters of the Wi-Fi circuit through DPD calibration to ensure the accuracy of the adjustment.
[0104] In summary, the Wi-Fi signal adjustment method provided in this application obtains the target signal magnitude of the harmonic signal through a radio frequency transceiver, and obtains the current target transmission power and target correspondence of the Wi-Fi circuit. Based on the target correspondence, it determines the environmental state of the Wi-Fi circuit corresponding to both the target transmission power and the target signal magnitude. Furthermore, when the environmental state of the Wi-Fi circuit changes, it recalibrates via DPD to adjust the operating parameters of the Wi-Fi circuit, ensuring the accuracy of the adjustment.
[0105] The Wi-Fi signal adjustment method provided in this application can be executed by a Wi-Fi signal adjustment device. This application uses a Wi-Fi signal adjustment device to execute the Wi-Fi signal adjustment method as an example to illustrate the Wi-Fi signal adjustment device provided in this application.
[0106] Please refer to Figure 6, which shows a block diagram of a Wi-Fi signal adjustment device provided in an embodiment of this application. The Wi-Fi signal adjustment device is applied to the electronic device provided in this embodiment of the application. Optionally, the Wi-Fi signal adjustment device can be applied to the electronic device shown in Figure 1 or Figure 4. As shown in Figure 6, the Wi-Fi signal adjustment device 600 includes: an acquisition module 601, a determination module 602, and an adjustment module 603.
[0107] The acquisition module 601 is used to acquire the target signal magnitude of the harmonic signal through the radio frequency transceiver, and to acquire the current target transmission power and target correspondence of the WiFi circuit.
[0108] The determination module 602 is used to determine the environmental state of the Wi-Fi circuit that corresponds to both the target transmission power and the target signal strength based on the target correspondence relationship. The environmental state includes the user holding state or the unheld state.
[0109] The adjustment module 603 is used to adjust the operating parameters of the Wi-Fi circuit through digital predistortion (DPD) calibration when the environmental conditions of the Wi-Fi circuit change.
[0110] The target correspondence records the magnitude range of harmonic signals radiated by the WiFi circuit when it is held by the user, and the magnitude range of harmonic signals radiated when it is not held, when the WiFi circuit has multiple transmission powers in sequence.
[0111] Optionally, the target correspondence record includes the range of harmonic signals radiated by the Wi-Fi circuit when both the Wi-Fi circuit and the radio frequency circuit are held by the user, with the Wi-Fi circuit having multiple transmission powers in sequence.
[0112] The range of harmonic signals radiated by the Wi-Fi circuit when it is not held and the radio frequency circuit is held by the user.
[0113] The range of harmonic signals radiated by the Wi-Fi circuit when both the Wi-Fi circuit and the radio frequency circuit are unheld;
[0114] The range of harmonic signals radiated by the Wi-Fi circuit when it is held by the user and when the radio frequency circuit is not held.
[0115] Optionally, the adjustment module 603 is also used to sequentially adjust the transmission power of the Wi-Fi circuit to multiple transmission powers;
[0116] The acquisition module 601 is also used to acquire, through the radio frequency transceiver, the first signal magnitude of the harmonic signal radiated by the Wi-Fi circuit when the user holds the device, and the second signal magnitude of the harmonic signal radiated by the Wi-Fi circuit when the device is not held, after each adjustment of the transmission power of the Wi-Fi circuit.
[0117] The Wi-Fi signal adjustment device also includes: a generation module, used to generate a size range corresponding to the user's holding state based on the first signal strength, and to generate a size range corresponding to the unheld state based on the second signal strength;
[0118] The generation module is also used to generate target correspondences based on the size range corresponding to the user holding state and the size range corresponding to the unheld state under each transmission power. The target correspondences include the correspondence between transmission power, user holding state, and the size range of harmonic signals, as well as the correspondence between transmission power, unheld state, and the size range of harmonic signals.
[0119] In summary, the Wi-Fi signal adjustment device provided in this application obtains the target signal magnitude of the harmonic signal through a radio frequency transceiver, and obtains the current target transmission power and target correspondence of the Wi-Fi circuit. Based on the target correspondence, it determines the environmental state of the Wi-Fi circuit corresponding to both the target transmission power and the target signal magnitude. Furthermore, when the environmental state of the Wi-Fi circuit changes, it recalibrates via DPD to adjust the operating parameters of the Wi-Fi circuit, ensuring the accuracy of the adjustment.
[0120] The Wi-Fi signal adjustment device in this application embodiment is 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, PDA, 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. This application embodiment does not specifically limit the device.
[0121] The Wi-Fi signal adjustment 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 it.
[0122] The Wi-Fi signal adjustment device provided in this application embodiment can implement the various processes implemented in the method embodiment of FIG5. To avoid repetition, it will not be described again here.
[0123] Optionally, as shown in FIG7, this application embodiment also provides an electronic device 700, including a processor 701 and a memory 702. The memory 702 stores a program or instructions that can run on the processor 701. When the program or instructions are executed by the processor 701, they implement the various steps of the above-described WiFi signal adjustment method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0124] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0125] Figure 8 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of this application. The electronic device 800 includes, but is not limited to, components such as: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810. The electronic device can be the electronic device provided in the embodiments of this application. Optionally, the electronic device can be any of the electronic devices shown in Figures 1 to 4.
[0126] Those skilled in the art will understand that the electronic device 800 may also include a power supply (such as a battery) for powering various components. The power supply can be logically connected to the processor 810 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. 8 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.
[0127] The processor 810 is used to obtain the target signal magnitude of the harmonic signal through the radio frequency transceiver, and to obtain the current target transmission power and target correspondence of the Wi-Fi circuit.
[0128] Based on the target correspondence, the environmental state of the Wi-Fi circuit corresponding to both the target transmission power and the target signal strength is determined. The environmental state includes the user holding state or the unheld state.
[0129] When the environmental conditions of the Wi-Fi circuit change, the operating parameters of the Wi-Fi circuit are adjusted through digital predistortion (DPD) calibration.
[0130] The target correspondence records the magnitude range of harmonic signals radiated by the WiFi circuit when it is held by the user, and the magnitude range of harmonic signals radiated when it is not held, when the WiFi circuit has multiple transmission powers in sequence.
[0131] In this embodiment, the target signal magnitude of the harmonic signal is obtained through a radio frequency transceiver, as well as the current target transmission power and target correspondence of the Wi-Fi circuit. Based on the target correspondence, the environmental state of the Wi-Fi circuit corresponding to both the target transmission power and the target signal magnitude is determined. Furthermore, if the environmental state of the Wi-Fi circuit changes, the operating parameters of the Wi-Fi circuit are readjusted through DPD calibration to ensure the accuracy of the adjustment.
[0132] Optionally, the target correspondence records the range of harmonic signals radiated by the Wi-Fi circuit when the Wi-Fi circuit has multiple transmission powers in sequence, and both the Wi-Fi circuit and the radio frequency circuit are in the user's holding state;
[0133] The range of harmonic signals radiated by the Wi-Fi circuit when it is not held and when the radio frequency circuit is held by the user;
[0134] The range of harmonic signals radiated by the Wi-Fi circuit when both the Wi-Fi circuit and the radio frequency circuit are in an unheld state;
[0135] The range of harmonic signals radiated by the Wi-Fi circuit when it is held by the user and when it is not held by the user.
[0136] Optionally, the processor 810 is further configured to sequentially adjust the transmission power of the Wi-Fi circuit to the plurality of transmission powers;
[0137] After each adjustment of the transmission power of the Wi-Fi circuit, the first signal magnitude of the harmonic signal radiated by the Wi-Fi circuit when held by the user and the second signal magnitude of the harmonic signal radiated by the Wi-Fi circuit when not held are obtained through the radio frequency transceiver.
[0138] Generate a size range corresponding to the user's holding state based on the first signal size, and generate a size range corresponding to the unheld state based on the second signal size;
[0139] Based on the size range corresponding to the user holding state and the size range corresponding to the unheld state at each transmission power, the target correspondence is generated. The target correspondence includes the correspondence between the transmission power, the user holding state, and the size range of the harmonic signal, as well as the correspondence between the transmission power, the unheld state, and the size range of the harmonic signal.
[0140] In this embodiment, the target signal magnitude of the harmonic signal is obtained through a radio frequency transceiver, as well as the current target transmission power and target correspondence of the Wi-Fi circuit. Based on the target correspondence, the environmental state of the Wi-Fi circuit corresponding to both the target transmission power and the target signal magnitude is determined. Furthermore, if the environmental state of the Wi-Fi circuit changes, the operating parameters of the Wi-Fi circuit are readjusted through DPD calibration to ensure the accuracy of the adjustment.
[0141] It should be understood that, in this embodiment, the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042. The GPU 8041 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 806 may include a display panel 8061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 807 includes at least one of a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include a touch detection device and a touch controller. Other input devices 8072 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.
[0142] The memory 809 can be used to store software programs and various data. The memory 809 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 809 may include volatile memory or non-volatile memory, or it may include both volatile and non-volatile memory. 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 809 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
[0143] Processor 810 may include one or more processing units; optionally, processor 810 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 810.
[0144] 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 above-described WiFi signal adjustment method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0145] 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.
[0146] 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 WiFi signal adjustment method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0147] 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.
[0148] 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 above-described WiFi signal adjustment method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0149] 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.
[0150] 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.
[0151] 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. An electronic device, characterized in that, The electronic device includes a radio frequency (RF) circuit and a Wi-Fi circuit. The RF circuit includes an RF transceiver, a transmitting antenna, and a receiving antenna. The RF transceiver includes a transmitting port, a receiving port, and a detection port. The transmitting antenna is connected to the transmitting port, and the receiving antenna is connected to the receiving port and the detection port via a switching assembly. When the switching assembly is in a first conducting state, the receiving antenna is connected to the receiving port, and the electronic device transmits and receives signals through the RF circuit. When the switching assembly is in a second conducting state, the receiving antenna is connected to the detection port, and the electronic device acquires the harmonic signals of the Wi-Fi circuit through the receiving antenna and adjusts the operating parameters of the Wi-Fi circuit according to the harmonic signals.
2. The electronic device according to claim 1, characterized in that, The switching assembly includes: a first switching element and a second switching element; the stationary end of the first switching element is connected to the detection port, the first moving end of the first switching element is connected to the first moving end of the second switching element, the second moving end of the first switching element is connected to the transmitting antenna, the stationary end of the second switching element is connected to the receiving antenna, and the second moving end of the second switching element is connected to the receiving port; when the switching assembly is in the first conducting state, the stationary end of the second switching element is connected to the second moving end of the second switching element; when the switching assembly is in the second conducting state, the stationary end of the second switching element is connected to the first moving end of the second switching element, and the first moving end of the first switching element is connected to the stationary end of the first switching element.
3. The electronic device according to claim 1 or 2, characterized in that, The radio frequency circuit further includes: a first low-noise power amplifier; the first low-noise power amplifier is connected to the receiving antenna and the switching assembly respectively; when the switching assembly is in the second conduction state, the receiving antenna is connected to the detection port through the first low-noise power amplifier, the electronic device acquires the harmonic signal through the receiving antenna, and adjusts the operating parameters of the Wi-Fi circuit according to the harmonic signal amplified by the first low-noise power amplifier.
4. The electronic device according to claim 1 or 2, characterized in that, The Wi-Fi circuit includes: a wireless transceiver, a third switch, a second power amplifier, and a Wi-Fi antenna; the wireless transceiver includes a wireless transmitting port and a wireless receiving port, the Wi-Fi antenna is connected to the stationary end of the third switch, the first moving end of the third switch is connected to the wireless transmitting port through the second power amplifier, and the second moving end of the third switch is connected to the wireless receiving port; when the switch assembly is in the second conducting state, the first moving end of the third switch is connected to the stationary end, and the Wi-Fi antenna is connected to the wireless transmitting port through the second power amplifier.
5. The electronic device according to claim 1, characterized in that, The harmonic signal is a second harmonic signal. The receiving antenna is used to receive signals in the N79 frequency band, and the Wi-Fi circuit is used to transmit 2.4GHz Wi-Fi signals; or, the receiving antenna is used to receive signals in the N78 frequency band, and the Wi-Fi circuit is used to transmit Wi-Fi signals in the B3 frequency band; or, the receiving antenna is used to receive signals in the N79 frequency band, and the Wi-Fi circuit is used to transmit Wi-Fi signals in the B40 frequency band.
6. A method for adjusting a Wi-Fi signal, characterized in that, The method, applied to any one of claims 1 to 5, comprises: acquiring the target signal magnitude of the harmonic signal through the radio frequency transceiver, and acquiring the current target transmission power and target correspondence of the Wi-Fi circuit; determining the environmental state of the Wi-Fi circuit corresponding to both the target transmission power and the target signal magnitude based on the target correspondence, wherein the environmental state includes a user-held state or an unheld state; and adjusting the operating parameters of the Wi-Fi circuit by digital predistortion (DPD) calibration when the environmental state of the Wi-Fi circuit changes; wherein the target correspondence records the magnitude range of the harmonic signal radiated by the Wi-Fi circuit in the user-held state and the magnitude range of the harmonic signal radiated in the unheld state when the Wi-Fi circuit has a plurality of transmission powers in sequence.
7. The method according to claim 6, characterized in that, The target correspondence records the following: when the Wi-Fi circuit is at multiple transmission power levels, and both the Wi-Fi circuit and the radio frequency circuit are in a user-held state, the range of harmonic signals radiated by the Wi-Fi circuit is as follows: when the Wi-Fi circuit is not held, and the radio frequency circuit is in a user-held state; when both the Wi-Fi circuit and the radio frequency circuit are not held, the range of harmonic signals radiated by the Wi-Fi circuit is as follows: when the Wi-Fi circuit is held, and the radio frequency circuit is not held, the range of harmonic signals radiated by the Wi-Fi circuit is as follows: when the Wi-Fi circuit is held, and the radio frequency circuit is not held, the range of harmonic signals radiated by the Wi-Fi circuit is as follows: when the Wi-Fi circuit is at multiple transmission power levels, and both the Wi-Fi circuit and the radio frequency circuit are in a user-held state ...
8. The method according to claim 6 or 7, characterized in that, The method further includes: sequentially adjusting the transmission power of the Wi-Fi circuit to the plurality of transmission powers; after each adjustment of the transmission power of the Wi-Fi circuit, obtaining, through the radio frequency transceiver, a first signal magnitude of the harmonic signal radiated by the Wi-Fi circuit in the user-held state and a second signal magnitude of the harmonic signal radiated by the Wi-Fi circuit in the unheld state; generating a size range corresponding to the user-held state based on the first signal magnitude and a size range corresponding to the unheld state based on the second signal magnitude; generating the target correspondence relationship based on the size range corresponding to the user-held state and the size range corresponding to the unheld state under each transmission power, wherein the target correspondence relationship includes the correspondence relationship between the transmission power, the user-held state, and the size range of the harmonic signal, and the correspondence relationship between the transmission power, the unheld state, and the size range of the harmonic signal.
9. A Wi-Fi signal adjustment device, characterized in that, An electronic device according to any one of claims 1 to 5, the apparatus comprising: an acquisition module, configured to acquire the target signal magnitude of the harmonic signal via the radio frequency transceiver, and to acquire the current target transmission power and target correspondence of the Wi-Fi circuit; a determination module, configured to determine the environmental state of the Wi-Fi circuit corresponding to both the target transmission power and the target signal magnitude based on the target correspondence, the environmental state including a user-held state or an unheld state; and an adjustment module, configured to adjust the operating parameters of the Wi-Fi circuit by digital predistortion (DPD) calibration when the environmental state of the Wi-Fi circuit changes; wherein the target correspondence records the magnitude range of the harmonic signal radiated by the Wi-Fi circuit in the user-held state and the magnitude range of the harmonic signal radiated in the unheld state when the Wi-Fi circuit has a plurality of transmission powers in sequence.
10. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the Wi-Fi signal adjustment method as described in any one of claims 6 to 8.
Citation Information
Patent Citations
Method for processing harmonic interference and mobile terminal
CN108649991A
Second harmonic measurement device of integrated fiber repeater system
KR1020130116469A