Antenna tuning methods, apparatus, electronic devices and readable storage media
By acquiring parameter information using the detection device of the first RF link in the electronic device and combining it with the mapping relationship to tune the antenna of the second RF link, the problem of RF links without detectors being unable to be tuned is solved, thereby improving antenna tuning accuracy and communication quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2021-12-24
- Publication Date
- 2026-05-26
AI Technical Summary
Some radio frequency (RF) links in electronic devices lack antenna parameter detection devices, making it impossible to obtain antenna parameters and tune the corresponding antennas, thus affecting communication quality.
Antenna parameter information is obtained by the detection device in the first RF link, and the antenna corresponding to the second RF link is tuned by the tunable device. The antenna tuning of the RF link that does not contain a detector is achieved by combining the mapping relationship.
It improves antenna tuning accuracy and communication quality, and solves the problem of RF links without detectors being unable to be tuned.
Smart Images

Figure CN116346253B_ABST
Abstract
Description
Technical Field
[0001] This application relates to computer technology, and more particularly to an antenna tuning method, apparatus, electronic device, and readable storage medium. Background Technology
[0002] An electronic device may include at least one radio frequency (RF) line. When the RF link includes a device for detecting antenna parameters, the electronic device may tune the antenna corresponding to the RF line based on the antenna parameters detected by the device to improve the signal strength of the antenna and thus improve the communication quality of the electronic device.
[0003] Currently, some radio frequency (RF) links in electronic devices do not include devices for detecting antenna parameters. As a result, electronic devices cannot obtain the antenna parameters of the RF link and therefore cannot tune the antenna corresponding to the RF link. Summary of the Invention
[0004] This application provides an antenna tuning method, apparatus, electronic device, and readable storage medium, which can tune the antenna corresponding to a radio frequency link that does not include an antenna parameter detection device.
[0005] In a first aspect, embodiments of this application provide an antenna tuning method. The entity executing this antenna tuning method can be an electronic device, or a processor, chip, or RF front-end modem within the electronic device. The following description uses an electronic device as an example. The electronic device includes: a first RF link and a second RF link. The first RF link includes a device for detecting antenna parameters, and the second RF link includes a tunable device. In one embodiment, the second RF link does not include a device for detecting antenna parameters. Alternatively, in one embodiment, the second RF link includes a device for detecting antenna parameters.
[0006] In this method, the electronic device can obtain the first antenna parameter information of the first radio frequency link through the device used to detect antenna parameters in the first radio frequency link, and tune the antenna corresponding to the second radio frequency link according to the first antenna parameter information and through the tunable device in the second radio frequency link.
[0007] In this embodiment, the electronic device can tune the antenna corresponding to the radio frequency link that does not contain a detector based on the first antenna parameter information of the radio frequency link containing the detector, thereby improving the communication quality of the antenna.
[0008] In one possible implementation, the electronic device can generate a control signal based on the first antenna parameter information, and then tune the antenna corresponding to the second radio frequency link via the tunable device according to the control signal. For example, the electronic device may store a signal mapping relationship between the changes in the first antenna parameters and the control signal, and the electronic device can obtain control information mapped from the changes in the first antenna parameters within this signal mapping relationship. It should be understood that the control signal is used to tune the tunable device in the second radio frequency link.
[0009] In one possible implementation, the electronic device can obtain the second antenna parameter information of the second radio frequency link based on the first antenna parameter information, and then tune the antenna corresponding to the second radio frequency link using the tunable device based on the second antenna parameter information. Specifically, the electronic device can obtain the second antenna parameter information based on the first antenna parameter information and a mapping relationship, where the mapping relationship is a mapping between the antenna parameter information of the first radio frequency link and the antenna parameter information of the second radio frequency link. It should be understood that the mapping relationship can be preset in the electronic device, and the process of obtaining the mapping relationship can be referred to the relevant description in the second aspect.
[0010] In one embodiment, the electronic device may first determine whether the mapping relationship contains the first antenna parameter information. If the mapping relationship does not contain the first antenna parameter information, the electronic device can obtain the second antenna parameter information based on the first antenna parameter information and the mapping relationship.
[0011] In this embodiment, the electronic device can determine the second antenna information of the radio frequency link that does not contain a detector based on the mapping relationship preset in the electronic device and the first antenna parameter information of the radio frequency link containing the detector. Then, based on the second antenna parameter information, the antenna corresponding to the radio frequency link that does not contain a detector can be tuned, which can improve the communication quality of the antenna and achieve high tuning accuracy.
[0012] In one possible implementation, the first antenna parameter information may include: the first antenna parameter, and / or, the amount of change in the first antenna parameter.
[0013] In this embodiment, the first antenna parameters include: the frequency of the resonant position of the antenna corresponding to the first radio frequency link, and / or the position of the frequency on the Smith chart, and / or the input impedance of the antenna, and / or the amplitude and phase of the reflection coefficient of the antenna; the changes in the first antenna parameters include: frequency offset, and / or chart offset distance, and / or impedance change, wherein the chart offset distance is a vector distance.
[0014] The frequency offset includes the offset of a frequency point, or the frequency offset includes the offset of a frequency point and the change in the amplitude of the reflection coefficient at the frequency point.
[0015] In one possible implementation, the first radio frequency link corresponds to the first antenna, and the second radio frequency link corresponds to the second antenna; the mapping relationship is: the mapping relationship between the antenna parameter information of the first antenna and the antenna parameter information of the second antenna.
[0016] In one possible implementation, the first RF link and the second RF link correspond to the same antenna, the first RF link operates in a first frequency band, and the second RF link operates in a second frequency band. The first frequency band and the second frequency band may be different or the same. The mapping relationship is: the mapping relationship between the antenna parameter information of the first frequency band and the antenna parameter information of the second frequency band.
[0017] In one possible implementation, the mapping relationship can also be: a mapping relationship between the antenna parameter information of the first radio frequency link, the antenna parameter information of the second radio frequency link, and the state of the electronic device, wherein the state of the electronic device includes: a state in which an object is in contact with the electronic device, and a state in which no object is in contact with the electronic device.
[0018] In this implementation, the electronic device can determine its state based on the antenna parameters of the first radio frequency link. This state can then be applied to various other scenarios. Specifically, the electronic device can obtain its state based on the first antenna parameter information, the second antenna parameter information, and the mapping relationship.
[0019] The objects that come into contact with electronic devices include human bodies and non-human bodies, and the non-human bodies include housings.
[0020] Accordingly, when the object contacting the electronic device is a casing, the state of the electronic device includes: casing state. When the casing is a metal casing or a magnetic casing, a metal casing or a magnetic casing will affect the antenna performance of the electronic device, such as reducing the communication quality of the antenna. In this implementation, in response to the electronic device being in the casing state, the electronic device outputs a prompt message. The prompt message indicates that contacting the casing of the electronic device affects the communication quality of the antenna in the electronic device. Therefore, the user can remove the casing or replace it with another casing to reduce the impact of the casing on the antenna performance.
[0021] When both the first and second RF links contain devices for detecting antenna parameters, the antenna corresponding to the RF link can be tuned based on the antenna parameters of the RF link detected by the detector and the change in antenna parameters of the other RF link mapped to the change in antenna parameters of the RF link.
[0022] The electronic device can obtain the third antenna parameter information of the second radio frequency link through the device used to detect antenna parameters in the second radio frequency link, so as to tune the antenna corresponding to the second radio frequency link according to the second antenna parameter information and the third antenna parameter information.
[0023] In this implementation, because the electronic device combines multiple factors, namely the antenna parameters of the RF link detected by the detector, and the changes in the antenna parameters of another RF link mapped to the changes in the antenna parameters of this RF link, the accuracy of antenna tuning can be improved.
[0024] Secondly, embodiments of this application provide an antenna tuning method, which describes the process of obtaining the mapping relationship as described in the first aspect above, specifically including: obtaining the mapping relationship, wherein the mapping relationship is: the mapping relationship between the antenna parameter information of the first radio frequency link in the electronic device and the antenna parameter information of the second radio frequency link in the electronic device; and presetting the mapping relationship in the electronic device.
[0025] In one possible implementation, the antenna parameter information of the first radio frequency link is first antenna parameter information, which includes: first antenna parameters, and / or, the amount of change of the first antenna parameters.
[0026] In one possible implementation, the first antenna parameter information includes: first antenna parameters; the acquisition of the mapping relationship includes: acquiring the N1st test antenna parameter of the first radio frequency link of the electronic device in different states, and the N2nd test antenna parameter of the second radio frequency link, wherein the different states are the presence of different objects contacting the electronic device; storing the N1st test antenna parameter, the N2nd test antenna parameter, and the objects contacting the electronic device accordingly to obtain the mapping relationship; the first antenna parameter includes the N1st test antenna parameter of the first radio frequency link of the electronic device in each state.
[0027] In one possible implementation, the first antenna parameter information includes: a first antenna parameter change amount. Before obtaining the N1st test antenna parameter of the first RF link and the N2nd test antenna parameter of the second RF link of the electronic device in different states, the method further includes: obtaining the first test antenna parameter of the first RF link and the second test antenna parameter of the second RF link of the electronic device in a first state, wherein the first state is that no object is in contact with the electronic device; obtaining the difference between the first test antenna parameter and the N1st test antenna parameter to obtain the first antenna parameter change amount; obtaining the difference between the second test antenna parameter and the N2nd test antenna parameter to obtain the second antenna parameter change amount; and storing the first antenna parameter change amount, the second antenna parameter change amount, and the object in contact with the electronic device accordingly to obtain the mapping relationship.
[0028] In one possible implementation, the object includes a human body or a non-human body, wherein the non-human body includes a shell.
[0029] Thirdly, embodiments of this application provide an antenna tuning device, which can be an electronic device, or a processor, chip, or modem within the electronic device. The antenna tuning device may include:
[0030] The detection module is used to obtain the first antenna parameter information of the first radio frequency link.
[0031] The tuning module tunes the antenna corresponding to the second radio frequency link based on the first antenna parameter information and through the tunable device in the second radio frequency link.
[0032] In one possible implementation, the tuning module is specifically configured to generate a control signal based on the first antenna parameter information; and to tune the antenna corresponding to the second radio frequency link via the tunable device based on the control signal.
[0033] In one possible implementation, the tuning module is specifically configured to obtain the second antenna parameter information of the second RF link based on the first antenna parameter information; and to tune the antenna corresponding to the second RF link through the tunable device based on the second antenna parameter information.
[0034] In one possible implementation, the tuning module is specifically used to obtain the second antenna parameter information based on the first antenna parameter information and the mapping relationship, wherein the mapping relationship is a mapping relationship between the antenna parameter information of the first radio frequency link and the antenna parameter information of the second radio frequency link.
[0035] In one possible implementation, the first antenna parameter information includes: the first antenna parameter, and / or, the amount of change in the first antenna parameter.
[0036] In one possible implementation, the first antenna parameters include: the frequency point of the resonant position of the antenna corresponding to the first RF link, and / or the position of the frequency point on the Smith chart, and / or the input impedance of the antenna, and / or the amplitude and phase of the reflection coefficient of the antenna; the changes in the first antenna parameters include: frequency offset, and / or Smith chart offset distance, and / or impedance change, wherein the Smith chart offset distance is a vector distance; the frequency offset includes the offset of the frequency point, or the frequency offset includes: the offset of the frequency point and the change in the amplitude of the reflection coefficient at the frequency point.
[0037] In one possible implementation, the first radio frequency link corresponds to the first antenna, and the second radio frequency link corresponds to the second antenna; the mapping relationship is: the mapping relationship between the antenna parameter information of the first antenna and the antenna parameter information of the second antenna.
[0038] In one possible implementation, the first RF link and the second RF link correspond to the same antenna, the first RF link operates in a first frequency band, and the second RF link operates in a second frequency band. The first frequency band and the second frequency band may be different or the same. The mapping relationship is: the mapping relationship between the antenna parameter information of the first frequency band and the antenna parameter information of the second frequency band.
[0039] In one possible implementation, the mapping relationship is: a mapping relationship between the antenna parameter information of the first radio frequency link, the antenna parameter information of the second radio frequency link, and the state of the electronic device, wherein the state of the electronic device includes: a state in which an object is in contact with the electronic device, and a state in which no object is in contact with the electronic device.
[0040] The tuning module is used to obtain the state of the electronic device based on the first antenna parameter information, the second antenna parameter information, and the mapping relationship.
[0041] In one possible implementation, the object includes both human and non-human entities, with the non-human entity comprising a shell.
[0042] In one possible implementation, the state of the electronic device includes: a casing state.
[0043] A tuning module is configured to output a prompt message in response to the state of the electronic device being the housing state, the prompt message indicating that contact with the housing of the electronic device affects the communication quality of the antenna in the electronic device, wherein the housing is a metal housing or a magnetic housing.
[0044] In one possible implementation, the tuning module is further configured to determine whether the mapping relationship includes the first antenna parameter information.
[0045] In one possible implementation, the second radio frequency link does not include a device for detecting antenna parameters.
[0046] In one possible implementation, the second radio frequency link includes a device for detecting antenna parameters.
[0047] In one possible implementation, the tuning module is further configured to obtain third antenna parameter information of the second radio frequency link through a device for detecting antenna parameters in the second radio frequency link; and to tune the antenna corresponding to the second radio frequency link according to the second antenna parameter information and the third antenna parameter information.
[0048] Fourthly, embodiments of this application provide an antenna tuning device, which can be an electronic device, a testing device, or a chip in an electronic device or a chip in a testing device. The antenna tuning device may include:
[0049] The processing module is used to obtain the mapping relationship, which is: the mapping relationship between the antenna parameter information of the first radio frequency link in the electronic device and the antenna parameter information of the second radio frequency link in the electronic device;
[0050] A storage module is used to pre-set the mapping relationship in the electronic device.
[0051] In one possible implementation, the antenna parameter information of the first radio frequency link is first antenna parameter information, which includes: first antenna parameters, and / or, the amount of change of the first antenna parameters.
[0052] In one possible implementation, the first antenna parameter information includes: first antenna parameters.
[0053] The processing module is specifically used to obtain the N1st test antenna parameters of the first radio frequency link and the N2nd test antenna parameters of the second radio frequency link of the electronic device in different states, wherein the different states are due to different objects contacting the electronic device; and to store the N1st test antenna parameters, the N2nd test antenna parameters, and the objects contacting the electronic device accordingly to obtain the mapping relationship, wherein the first antenna parameters include the N1st test antenna parameters of the first radio frequency link of the electronic device in each state.
[0054] In one possible implementation, the first antenna parameter information includes: the amount of change in the first antenna parameter.
[0055] The processing module is further configured to obtain the first test antenna parameters of the first radio frequency link and the second test antenna parameters of the second radio frequency link of the electronic device in the first state, wherein the first state is that no object is in contact with the electronic device; obtain the difference between the first test antenna parameters and the N1th test antenna parameters to obtain the change in the first antenna parameter; obtain the difference between the second test antenna parameters and the N2th test antenna parameters to obtain the change in the second antenna parameter; and store the change in the first antenna parameter, the change in the second antenna parameter, and the object in contact with the electronic device accordingly to obtain the mapping relationship.
[0056] In one possible implementation, the object includes a human body or a non-human body, wherein the non-human body includes a shell.
[0057] Fifthly, embodiments of this application provide an electronic device that may include a processor and a memory. The memory stores computer-executable program code, which includes instructions; when the processor executes the instructions, the instructions cause the electronic device to perform the methods described in the first and second aspects.
[0058] Sixthly, embodiments of this application provide a computer program product containing instructions that, when run on a computer, cause the computer to perform the methods described in the first and second aspects above.
[0059] In a seventh aspect, embodiments of this application provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the methods described in the first and second aspects above.
[0060] The beneficial effects of the various possible implementations of the second to seventh aspects mentioned above can be found in the beneficial effects of the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0061] Figure 1 A schematic diagram of the structure of an electronic device;
[0062] Figure 2 This is a schematic diagram of another structure of an electronic device;
[0063] Figure 3 This is a schematic diagram illustrating the acquisition of antenna parameters according to an embodiment of this application;
[0064] Figure 4 This is another schematic diagram illustrating the acquisition of antenna parameters according to an embodiment of this application;
[0065] Figure 5 A schematic diagram of frequency offset provided in an embodiment of this application;
[0066] Figure 6 A schematic diagram of the pie chart offset distance provided in an embodiment of this application;
[0067] Figure 7 A flowchart illustrating one embodiment of the antenna tuning method provided in this application;
[0068] Figure 8 A schematic diagram of an interface of an electronic device provided in an embodiment of this application;
[0069] Figure 9 This is a schematic diagram of another structure of an electronic device;
[0070] Figure 10 A schematic flowchart of another embodiment of the antenna tuning method provided in this application;
[0071] Figure 11 A schematic flowchart of another embodiment of the antenna tuning method provided in this application;
[0072] Figure 12 A schematic diagram of an antenna tuning device provided in an embodiment of this application;
[0073] Figure 13 This is another structural schematic diagram of the electronic device provided in the embodiments of this application. Detailed Implementation
[0074] The electronic devices in this application embodiment can be referred to as user equipment (UE), terminal, etc. For example, the electronic devices can be mobile phones, portable Android devices (PADs), personal digital assistants (PDAs), handheld devices with wireless communication functions, computing devices, in-vehicle devices or wearable devices, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminals in industrial control, wireless terminals in smart homes, etc. The form of the electronic devices is not specifically limited in this application embodiment.
[0075] Figure 1 This is a schematic diagram of an electronic device. (Refer to...) Figure 1 The electronic device may include: a radio frequency front-end modem and at least one radio frequency link. Figure 1The following example uses at least one radio frequency (RF) link, including RF link 1 and RF link 2. Each RF link may include at least one tunable device and an antenna. The antenna is used to transmit and receive RF signals. The tunable device is used by the modem to tune the antenna (e.g., impedance tuning and / or aperture tuning). Impedance tuning can be understood as adjusting the impedance of the antenna and the impedance of the antenna's transmitter to match the impedance of the transmitter, thereby ensuring that the antenna can transmit high-intensity RF signals. Aperture tuning can be understood as adjusting the electrical length of the antenna to change its operating frequency. In one embodiment, the modem can be replaced by a processor or chip with processing capabilities; the following embodiments use a modem as an example.
[0076] Each of RF link 1 and RF link 2 has its own corresponding antenna; for example, RF link 1 corresponds to antenna 1, and RF link 2 corresponds to antenna 2. RF link 1 and RF link 2 can operate in the same frequency band or different frequency bands. Figure 1 The RF links shown can be categorized as follows: when RF link 1 and RF link 2 operate in the same frequency band, they can be referred to as "different ports, same frequency"; when RF link 1 and RF link 2 operate in different frequency bands, they can be referred to as "different ports, different frequencies".
[0077] In one embodiment, the antenna can be a transmit (TX) antenna and / or a receive (RX) antenna. The TX antenna is used to transmit signals, and the RX antenna is used to receive signals. In other words, if the antenna is a TX antenna, it can be said that the antenna or the corresponding RF link has a transmitting function. If the antenna is an RX antenna, it can be said that the antenna or the corresponding RF link has a receiving function. If the antenna is both a TX antenna and an RX antenna, it can be said that the antenna or the corresponding RF link has both transmitting and receiving functions.
[0078] Reference Figure 1 RF link 1 may include a detector (hereinafter referred to as the detector) for detecting antenna parameters. For example, the detector may include, but is not limited to, a coupler. RF link 2 does not include a detector. The detector is used to acquire antenna parameters. These antenna parameters may include, but are not limited to: the resonant frequency (or resonant center frequency / frequency point) of the antenna corresponding to RF link 1, the position of the center frequency / frequency point on the Smith chart, the input impedance of the antenna corresponding to RF link 1, or the reflection coefficient of the antenna corresponding to RF link 1. The reflection coefficient may include: amplitude and / or phase. In the following embodiments, the reflection coefficient represents "the amplitude and phase of the reflection coefficient".
[0079] In this application's embodiments, "resonance / resonant frequency" is also called the resonance frequency. The resonant frequency can refer to the frequency at which the imaginary part of the antenna's input impedance is zero. The resonant frequency can have a frequency range, that is, the frequency range where resonance occurs. For example, the resonant frequency can be a frequency range where the return loss characteristic is less than -6dB. The frequency corresponding to the strongest resonance point is the center frequency. The return loss characteristic of the center frequency can be less than -20dB.
[0080] In one embodiment, the electronic device may further include: an application processor, Figure 1 Not shown in the diagram. In the scenario where the antenna transmits signals, the application processor is used to send service data to the modem.
[0081] Figure 2 This is a schematic diagram of another electronic device structure. (And...) Figure 1 The difference is, Figure 2 In this example, RF link 1 and RF link 2 share a single antenna 1A. Because both RF links use the same antenna 1A, to ensure normal signal transmission without collision, RF link 1 and RF link 2 operate on different frequency bands. In this example, RF link 1 and RF link 2 can be referred to as "same port, different frequency". For instance, RF link 1 could be a GPS RF link transmitting Global Positioning System (GPS) signals, and RF link 2 could be a Wi-Fi RF link transmitting Wi-Fi signals. The GPS RF link and the Wi-Fi RF link operate on different frequency bands but use a single feed point (antenna) for signal transmission and reception.
[0082] In one embodiment, as described above Figure 2 In this system, RF Link 1 and RF Link 2 can operate in the same frequency band, which means that RF Link 1 and RF Link 2 can be referred to as having the same port and the same frequency.
[0083] In one embodiment, the structure of the electronic device can also be... Figure 1 and Figure 2 The combination of these concepts means that an electronic device can include not only "different port, different frequency" RF links and / or "different port, same frequency" RF links, but also "same port, different frequency" RF links. In one embodiment, the RF link can be deployed on an RF chip. "Same port" in "same port, same frequency" / "different frequency" refers to multiple signal lines led out from different pins of the RF chip, and these signal lines are connected to the same feed point through a switch or combiner. "Different port" in "different port, same frequency" / "different frequency" refers to multiple signal lines led out from different pins of the RF chip, and these signal lines are connected to the feed points of different antennas.
[0084] As mentioned above Figure 1 and Figure 2In the illustrated electronic device, there is no detector in RF link 2, making it impossible to detect the antenna parameters of RF link 2. Therefore, the modem cannot tune the antenna corresponding to RF link 2 based on its antenna parameters. The antenna corresponding to RF link 2 can be understood as: Figure 1 Antenna 2 in the middle, or Figure 2 The antenna used when RF link 2 is operating. In one embodiment, the modem can tune the antenna corresponding to RF link 2 in the operating frequency band, but the tuning accuracy is low. Furthermore, for antennas without TX functionality, the modem cannot obtain the antenna's reflection coefficient collected by the detector, and therefore cannot tune the antenna based on the reflection coefficient, affecting the antenna's tuning accuracy.
[0085] In summary, for antennas that do not include detectors or TX functions in the RF link, the modem cannot obtain the corresponding antenna parameters, resulting in low antenna tuning accuracy or even failure to tune the antenna, thus affecting the communication quality of electronic devices.
[0086] In the embodiments of this application, an electronic device (e.g., a modem) can perform state detection and tuning on the antenna corresponding to a radio frequency link (e.g., radio frequency link 2) that does not contain a detector, based on the antenna parameters of the radio frequency link (e.g., radio frequency link 1) that contains a detector, thereby solving the problem in the prior art that it is impossible to perform state detection and tuning on the antenna corresponding to a radio frequency link that does not contain a detector.
[0087] In the embodiments of this application, an electronic device (e.g., a modem) can tune an antenna corresponding to a radio frequency link that does not contain a TX function based on the antenna parameters of a radio frequency link with TX function, thus solving the problem in the prior art that it is impossible to detect and tune antennas corresponding to radio frequency links that do not contain TX function. The following description uses the example of "a modem tuning an antenna corresponding to a radio frequency link that does not contain a detector based on the antenna parameters of a radio frequency link containing a detector." Examples of TX function can be found in the description of the following embodiments.
[0088] Before describing the antenna tuning method provided in the embodiments of this application, the mapping relationship involved in the embodiments of this application and the process of obtaining the mapping relationship will be introduced first:
[0089] 1. Mapping relationship:
[0090] The mapping relationship can be a mapping relationship between the antenna parameter information of the first RF link and the antenna parameter information of the second RF link. The antenna parameter information can include antenna parameters and / or antenna parameter variations. In other words, the mapping relationship can be a mapping relationship between the antenna parameter variations (and / or antenna parameters) of the first RF link and the antenna parameter variations (and / or antenna parameters) of the second RF link. For example, the mapping relationship can be a mapping relationship between the antenna parameter variations (and / or antenna parameters) of RF link 1 and the antenna parameter variations (and / or antenna parameters) of RF link 2. In one embodiment, the mapping relationship can be stored in the modem or in a preset location of the electronic device, and can be queried by the modem.
[0091] In one embodiment, different radio frequency links can be distinguished by their identifier (such as a number) or by the antenna corresponding to the radio frequency link (such as...). Figure 1 (as shown in the scenario), or by using the frequency band corresponding to the RF link to distinguish different RF links (such as... Figure 2 (The scenario shown is a case of different frequencies at the same port). In the embodiments of this application, different antennas (different feed points) should be regarded as corresponding to different radio frequency links, and different operating frequency bands in the same antenna (same feed point) should be regarded as corresponding to different radio frequency links.
[0092] In one embodiment, because in a same-port, same-frequency / different-frequency RF link, different pins of the RF chip can lead out multiple signal lines, which are connected to the same feed point via switches or combiners. In a different-port, same-frequency / different-frequency RF link, different pins of the RF chip lead out multiple signal lines, which are connected to the feed points of different antennas. In one embodiment, at least one signal line on the RF chip corresponds to one RF link; therefore, different signal lines connecting to feed points can represent different RF links.
[0093] Antenna parameters include, but are not limited to: reflection coefficient, the position of the frequency point on the Smith chart, or impedance. Correspondingly, changes in antenna parameters may include: changes in reflection coefficient, frequency offset, the offset distance and slope (or angle) of the frequency point on the Smith chart, or changes in impedance.
[0094] In one embodiment, when the frequency point on which the antenna operates changes, the frequency offset may include: the offset of the antenna's operating frequency point, such as the difference between frequency point 1 and frequency point 2. Alternatively, in addition to including the offset of the antenna's operating frequency point, the frequency offset may also include the change in the amplitude of the reflection coefficient at the frequency point. The frequency offset may include: the difference between frequency point 1 and frequency point 2, and the difference between the amplitude of the reflection coefficient at frequency point 1 and the amplitude of the reflection coefficient at frequency point 2.
[0095] In one embodiment, when the frequency at which the antenna operates remains unchanged, the frequency offset may include the amount of change in the amplitude of the reflection coefficient at the same frequency.
[0096] Among them, the frequency offset, impedance change, and the offset distance and angle of the circle diagram can be obtained through conversion. The conversion method can be referred to the relevant description in the existing technology, which will not be repeated here.
[0097] for Figure 1 For the electronic device shown, different radio frequency (RF) links correspond to their own antennas. These RF links may operate in the same or different frequency bands. To accurately distinguish between different RF links, they can be identified by antenna markings. Antenna markings may include, but are not limited to, the antenna number and its location within the electronic device. Figure 1 For the electronic device shown, the mapping relationship can be called the first mapping relationship. The first mapping relationship is the mapping relationship between the parameter change of the first antenna and the parameter change of the second antenna. For example, the first antenna can be antenna 1, and the second antenna can be antenna 2.
[0098] for Figure 2 In the case of the electronic device shown, because multiple radio frequency links share a single antenna, the antenna cannot distinguish between the radio frequency links. Figure 2 Different RF links operate in different frequency bands, thus allowing for accurate differentiation of RF links based on frequency band. For example, for Figure 2 For the electronic device shown, the mapping relationship can be called the second mapping relationship. The second mapping relationship is the mapping relationship between the antenna parameter information of the first frequency band and the antenna parameter information of the second frequency band. The antenna parameter information can be referred to the relevant description above. For example, the first frequency band can be the frequency band in which the GPS radio frequency link operates, and the second frequency band can be the frequency band in which the Wi-Fi radio frequency link operates.
[0099] 2. The process of obtaining the mapping relationship:
[0100] It should be noted that the scenarios applicable to the embodiments of this application are: scenarios where different objects (or media) come into contact with electronic devices, causing changes in antenna parameters, and the electronic devices perform state detection and tuning of the antenna. Objects can include human and non-human entities. Human entities include, for example, a user holding the electronic device; non-human entities include, for example, the casing of the electronic device, a table, or other objects. Casings include, but are not limited to, silicone casings, metal casings, magnetic casings, etc. In one embodiment, the relative permittivity of the casing is between 1 and 50.
[0101] Different objects coming into contact with electronic devices can alter their antenna parameters. For example, installing silicone, metal, or magnetic cases on an electronic device, or simply holding the device in one's hand, will all change the antenna parameters. Furthermore, metal and magnetic cases can degrade the antenna's communication quality. Therefore, when electronic devices come into contact with different objects, the antenna needs to be tuned according to its parameters to improve communication quality.
[0102] During the design and manufacturing phase of electronic devices, refer to Figure 3 Testers can do so as above Figure 1 and Figure 2 In the RF link 1 and RF link 2 shown, an external test device is connected between the antenna and the tunable device. The test device is used to output the antenna parameters of the RF link. Figure 3 In Figure 1 Taking an external test device as an example, in one embodiment, the test device can be a vector network analyzer (VNA).
[0103] based on Figure 3 The mapping relationship can be obtained in the following manner in the embodiments of this application:
[0104] Method 1: Taking antenna parameters including frequency points as an example, for Figure 1 For the electronic device shown, refer to Figure 4 In the first state, 'a' refers to the first frequency point at which each antenna in the electronic device operates when the electronic device is in its first state, where no object is in contact with the electronic device. In this embodiment, the antenna parameters obtained in the first state can be used as reference values. For example, in the first state, the vector network analyzer outputs the frequency point of antenna 1 as A1 and the frequency point of antenna 2 as B1. In one embodiment, the frequency point of antenna 1 obtained in the first state can be referred to as the first test antenna parameter, and the frequency point of antenna 2 can be referred to as the second test antenna parameter.
[0105] Testers can test the antenna parameters and / or changes in antenna parameters of the first and second RF links in electronic devices that come into contact with different objects (or media) to establish a mapping relationship between the antenna parameters and / or changes in antenna parameters of the first RF link and the antenna parameters and / or changes in antenna parameters of the second RF link. Here, we will use the changes in antenna parameters as an example for explanation:
[0106] For example, a tester uses different media (which can be replaced by objects) to contact the electronic device, thereby obtaining the change in antenna parameters Δant1 of the first radio frequency link. 介质 =Sant1 -FS -Sant1 介质And the antenna parameter variation Δant2=Sant2 of the second RF link -FS -Sant2 介质 Among them, Δant1 介质 Sant1 represents the change in antenna parameters of the first radio frequency link. -FS Antenna parameters characterizing the first RF link in the first state, Sant1 介质 Antenna parameters of the first radio frequency link, Δant2, characterize the interaction between different objects and electronic devices. 介质 Sant2 represents the variation in antenna parameters of the second radio frequency link. 介质 The antenna parameters of the second radio frequency link are characterized when different objects come into contact with the electronic device. In this embodiment, the antenna parameter variation Δant1 of the first radio frequency link can be established. 介质 Antenna parameter variation Δant2 of the second RF link 介质 Mapping relationship: Δant1 介质 →Δant2 介质 In this embodiment, for example, when the electronic device comes into contact with an object, the antenna parameters of the first radio frequency link change by an amount Δant1. 介质 Then, by establishing a good mapping relationship, the change in antenna parameters Δant2 of the second RF link can be obtained. 介质 Therefore, the state of the second RF link is obtained as: Sant2 介质 =Sant2 -FS -Δant2 介质 .
[0107] The following describes the specific process of establishing mapping relationships:
[0108] For example, refer to Figure 4 In step b, the tester installs a silicone casing on the electronic device, placing it in a second state, to test the second frequency at which each antenna in the second state operates. For example, in the second state, the vector network analyzer outputs the frequency of antenna 1 as A2 and the frequency of antenna 2 as B2. In one embodiment, the second state can be one of N states of the electronic device other than the first state. In another embodiment, the frequency of antenna 1 can be referred to as the N1th test antenna parameter, and the frequency of antenna 2 can be referred to as the N2th test antenna parameter.
[0109] In this way, testers can calculate the frequency offset of each antenna before and after the silicone case is installed on the electronic device, and then map and store the frequency offset of each antenna. For example, if the frequency offset of antenna 1 is Δsilicone11 = A2 - A1 and the frequency offset of antenna 2 is Δsilicone12 = B2 - B1 before and after the silicone case is installed on the electronic device, then "Δsilicone11" and "Δsilicone12" can be mapped and stored. Here, for "Δsilicone11", Δ represents the frequency offset, silicone represents the installation of the silicone case on the electronic device, the first '1' represents the numerical value of the frequency offset of the antenna parameter, and the second '1' represents antenna 1. It should be understood that Δsilicone11 is an illustrative example, and the representation of frequency offset in this application embodiment is not limited.
[0110] In one embodiment, the tester can also map and store the frequency offset of each antenna and the antenna parameters (frequency points) before and after installing the silicone shell. For example, "Δ silicone 11, antenna 1 frequency point A1, antenna 2 frequency point B1" and "Δ silicone 12, antenna 1 frequency point A2, antenna 2 frequency point B2" are mapped and stored. That is, the mapping relationship includes: the antenna parameters of the first antenna, the change in the antenna parameters of the first antenna, the antenna parameters of the second antenna, and the change in the antenna parameters of the second antenna, as shown in Table 2. It should be understood that in Table 2, "xx" represents the impedance of each antenna, and "yy" represents the position of each antenna on the circle diagram.
[0111] As can be imagined, measuring instruments such as vector network analyzers can also output the impedance and circle diagram position of each antenna in the first state and the second state, and thus obtain the impedance change and circle diagram offset distance of each antenna before and after the silicone shell is installed on the electronic device. This application uses frequency offset as an example for illustration. The impedance change and circle diagram offset distance can be referred to the relevant description of frequency offset.
[0112] Figure 5 This is a schematic diagram of the frequency points of an electronic device in a first state and a second state. For example, Figure 5 The horizontal axis represents frequency, and the vertical axis represents the amplitude of the reflection coefficient (i.e., the amplitude of the reflection coefficient). (Refer to...) Figure 5 When the electronic device is in its first state, the frequency of antenna 1 is approximately 1560MHz, and the frequency of antenna 2 is approximately 2051MHz. When the electronic device is in its second state, the frequency of antenna 1 is approximately 1538MHz, and the frequency of antenna 2 is approximately 2021MHz. Correspondingly, after the electronic device changes from the first state to the second state, the frequency offset of antenna 1 is approximately -22MHz, and the frequency offset of antenna 2 is approximately -30MHz. It should be understood that... Figure 5 Solid lines represent the electronic device in its first state, while dashed lines represent the electronic device in its second state. Figure 5 The numbers 1, 2, 3, and 4, marked with triangles, correspond to... Figure 6 The position shown in the circular diagram.
[0113] and Figure 5 Correspondingly, as the electronic device changes from the first state to the second state, the offset distance of antenna 1 and antenna 2 on the circular diagram can be referenced. Figure 6 As shown, it should be understood that the offset distance on the pie chart represents the vector distance, such as... Figure 6 The length and angle of the arrows. It should be understood that, taking the solid line corresponding to the first antenna as an example, the solid line represents the position of the frequency point and reflection coefficient amplitude of the first antenna in the circle diagram when the electronic device is in the first state. Taking the dashed line corresponding to the first antenna as an example, the dashed line represents the position of the frequency point and reflection coefficient amplitude of the first antenna in the circle diagram when the electronic device is in the second state.
[0114] Similarly, refer to Figure 4 In step c, the tester installs a metal casing on the electronic device, placing it in a third state, to test the third frequency at which each antenna operates in this state. For example, in the third state, the test device, such as a vector network analyzer, outputs the frequency of antenna 1 as A3 and the frequency of antenna 2 as B3. In one embodiment, the third state can be one of N states of the electronic device besides the first state. In another embodiment, the frequency of antenna 1 can be referred to as the N1th test antenna parameter, and the frequency of antenna 2 can be referred to as the N2th test antenna parameter.
[0115] Testers can calculate the frequency offset of each antenna before and after the electronic device is fitted with a metal casing, and then map and store the frequency offset of each antenna. For example, if the frequency offset of antenna 1 is Δmetal11 = A3 - A1 and the frequency offset of antenna 2 is Δmetal12 = B3 - B1 before and after the electronic device is fitted with a metal casing, then "Δmetal11" and "Δmetal12" can be mapped and stored.
[0116] In one embodiment, the tester can also map and store the frequency offset of each antenna and the antenna parameters (frequency points) before and after installing the metal casing. For example, "Δ metal 11, antenna 1 frequency point is A1, antenna 2 frequency point is B1" and "Δ metal 12, antenna 1 frequency point is A3, antenna 2 frequency point is B3" are mapped and stored.
[0117] Following the steps described above, testers can expose different objects to electronic devices and then test the mapping relationship between the changes in antenna parameters of each antenna before and after exposure. This mapping relationship is shown in Table 1.
[0118] Table 1
[0119]
[0120] It should be understood that the mapping relationship shown in Table 1 can be called the first mapping relationship.
[0121] Table 2
[0122]
[0123]
[0124] It should be understood that the mapping relationship shown in Table 2 can also be called the first mapping relationship, that is, the mapping relationship that represents the antenna parameter information of the first antenna and the antenna parameter information of the second antenna.
[0125] for Figure 2 For the electronic device shown, since RF link 1 and RF link 2 share an antenna, the mapping relationship of the antenna parameter changes corresponding to each frequency band when the electronic device is in each state can be obtained.
[0126] For example, when the electronic device is in its first state, the tester tests the first frequency point of each RF link during operation. For example, in the first state, the frequency point of RF link 1 is a1, and the frequency point of RF link 2 is b1.
[0127] Testers install a silicone case on the electronic device, placing it in a second state, to test the second frequency point of each RF link operating in this state. For example, in the second state, the frequency point of RF link 1 is a2, and the frequency point of RF link 2 is b2. Testers can calculate the frequency offset of each RF link before and after installing the silicone case, and then map and store these frequency offsets. For instance, if the frequency offset of RF link 1 is Δsilicone11 = a2 - a1, and the frequency offset of RF link 2 is Δsilicone12 = b2 - b1, then "Δsilicone11" and "Δsilicone12" can be mapped and stored. In one embodiment, testers can also map and store the frequency offset of each frequency band and antenna parameters (frequency points) before and after installing the silicone case, referring to the above description. The specific mapping relationship is shown in Table 4.
[0128] Similarly, the tester installs a metal casing on the electronic device, placing it in a third state, to test the third frequency point of each RF link operating in this state. For example, in the third state, the frequency point of RF link 1 is a3, and the frequency point of RF link 2 is b3. The tester can calculate the frequency offset of each RF link before and after installing the metal casing, and then map and store these frequency offsets. For instance, if the frequency offset of RF link 1 is Δmetal11 = a3 - a1, and the frequency offset of RF link 2 is Δmetal12 = b3 - b1, then "Δmetal11" and "Δmetal12" can be mapped and stored. In one embodiment, the tester can also map and store the frequency offset of each frequency band and the antenna parameters (frequency points) before and after installing the metal casing, as described above.
[0129] Following the steps described above, testers can expose different objects to electronic devices to obtain a mapping relationship between the changes in antenna parameters of each RF link before and after exposure. This mapping relationship is shown in Table 3. Because RF link 1 and RF link 2 operate in different frequency bands, different RF links can be represented by frequency bands in Table 3.
[0130] Table 3
[0131]
[0132]
[0133] It should be understood that the mapping relationship shown in Table 3 can be called the second mapping relationship.
[0134] Table 4
[0135]
[0136] It should be understood that the mapping relationship shown in Table 4 can also be called the second mapping relationship, that is, the mapping relationship representing the antenna parameter information of the first frequency band and the antenna parameter information of the second frequency band.
[0137] It should be noted that the antenna parameters shown in Tables 1 to 4 above, as well as the changes in antenna parameters, can be specific data or numerical ranges, depending on the settings of the tester.
[0138] The antenna tuning method provided in this application will be described below with reference to specific embodiments. These embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0139] Figure 7 This is a schematic flowchart of one embodiment of the antenna tuning method provided in this application. (Refer to...) Figure 7The antenna tuning method provided in this application embodiment may include:
[0140] S701, the first detector in the first radio frequency link acquires the change in the first antenna parameter of the first radio frequency link.
[0141] In one embodiment, the first detector can acquire antenna parameters of the first radio frequency link, for example, the first detector acquires the antenna parameters of the first radio frequency link in real time. In one embodiment, the first detector can acquire the change in the antenna parameters of the first radio frequency link, i.e., the change in the first antenna parameters. For example, the first detector can calculate the difference between two adjacent acquisitions of antenna parameters based on the antenna parameters of the first radio frequency link in real time (or periodically). Alternatively, the first detector can detect the difference between two adjacent parameters of the first parameter, intermediate parameters, and last parameter within a certain period of time. Alternatively, the first detector can detect the difference between antenna parameters at two preset moments within a certain period of time, such as detecting the difference between the antenna parameters at the 3rd second and the 30th second within one minute.
[0142] The first antenna parameter changes may include, but are not limited to: frequency offset, impedance change, and circle plot offset distance.
[0143] S702, the first detector reports the change in the first antenna parameters to the modem.
[0144] The first detector acquires the change in the first antenna parameters and can report the change in the first antenna parameters to the modem.
[0145] In one embodiment, after the first detector acquires the antenna parameters of the first radio frequency link, it can report the antenna parameters of the first radio frequency link to the modem. The modem can calculate the difference between two adjacent acquisitions of the antenna parameters to obtain the change in the first antenna parameters.
[0146] In one embodiment, the first detector obtains the change in the first antenna parameter of the first radio frequency link by performing appropriate calculations on the detection value collected by the first detector, or by directly mapping the detection value. In this embodiment, the modem can tune the antenna corresponding to the second radio frequency link according to the change in the first antenna parameter of the first radio frequency link.
[0147] Specifically, the modem can tune the antenna corresponding to the second radio frequency link based on the change in the first antenna parameter of the first radio frequency link in the following way: the modem generates a control signal based on the change in the first antenna parameter, and tunes the tunable device in the second radio frequency link according to the control signal, so as to tune the antenna corresponding to the second radio frequency link.
[0148] In one embodiment, the modem may store a signal mapping relationship between changes in the first antenna parameters and control signals. The modem can obtain control information mapped by the changes in the first antenna parameters from this signal mapping relationship. It should be understood that the control signals are used to tune tunable devices in the second radio frequency link.
[0149] In one embodiment, the modem can perform calculation matching based on the change in the first antenna parameter to obtain the change in the second antenna parameter of the second radio frequency link, and then generate a control signal based on the change in the second antenna parameter to tune the tunable device in the second radio frequency link to tune the antenna corresponding to the second radio frequency link.
[0150] In one embodiment, the modem can obtain the change in the second antenna parameter of the second radio frequency link based on the change in the first antenna parameter and the mapping relationship described in the above embodiments, and then tune the antenna corresponding to the second radio frequency link based on the change in the second antenna parameter, as described in S703-S705.
[0151] S703, the modem queries whether the mapping relationship contains the change in the first antenna parameters. If yes, execute S704; otherwise, do not respond.
[0152] In some scenarios, the change in the first antenna parameter is very small, not reaching the change in antenna parameters caused by the object contacting the electronic device; therefore, the change in the first antenna parameter is not included in the mapping relationship. Alternatively, in some scenarios, the change in antenna parameters is not caused by the object contacting the electronic device; in such scenarios, the change in the first antenna parameter does not overlap with the change in antenna parameters in the mapping relationship, and therefore, the change in the first antenna parameter is also not included in the mapping relationship.
[0153] In this embodiment, in response to receiving a change in the first antenna parameter, the modem can query whether the mapping relationship includes the change in the first antenna parameter. In one embodiment, the modem may store mapping relationships (such as including references to a first mapping relationship and / or a second mapping relationship). The modem can query the mapping relationship to detect whether the mapping relationship includes the change in the first antenna parameter, that is, to detect whether the changes in antenna parameters under different states include the change in the first antenna parameter.
[0154] If the mapping relationship does not include the change in the first antenna parameter, the modem may not respond. If the mapping relationship includes the change in the first antenna parameter, the modem may execute S704.
[0155] In one embodiment, after the first detector acquires the antenna parameters of the first RF link, it can report the antenna parameters of the first RF link to the modem. The modem can query whether the mapping relationship includes the antenna parameters of the first RF link, such as based on the mapping relationship shown in Table 2 above. If the modem finds that the mapping relationship includes the antenna parameters of the first RF link, it obtains the antenna parameters of the second RF link (or the change in the antenna parameters of the second RF link, i.e., the change in the second antenna parameters) corresponding to the antenna parameters of the first RF link. Then, the modem can tune the antenna corresponding to the second RF link based on the antenna parameters of the second RF link or the change in the antenna parameters of the second RF link. If the modem finds that the mapping relationship does not include the antenna parameters of the first RF link, it can not respond. That is, in this embodiment, the antenna parameters (and / or the change in antenna parameters) in the RF link containing the detector, and the pre-acquired mapping relationship, can be used to obtain the antenna parameters (and / or the change in antenna parameters) in another RF link that does not contain the detector, so as to tune the antenna corresponding to the other RF link that does not contain the detector.
[0156] In one embodiment, in response to receiving the antenna parameters of the first radio frequency link, the modem may first query whether the mapping relationship includes the antenna parameters of the first radio frequency link (refer to the relevant description above). Alternatively, if the modem does not find the antenna parameters of the first radio frequency link in the mapping relationship, it may obtain the change in the first antenna parameters of the first radio frequency link and then execute S703. This application embodiment does not limit the method by which the modem queries the mapping relationship; for example, it may query the antenna parameters, the change in antenna parameters, or query the antenna parameters first and then the change in antenna parameters, etc.
[0157] S704, the modem obtains the second antenna parameter change in the second radio frequency link mapped by the first antenna parameter change, based on the mapping relationship and the first antenna parameter change.
[0158] When the mapping relationship includes a change in the first antenna parameter, the modem can use the antenna parameter change mapped from the first antenna parameter change in the mapping relationship as the second antenna parameter change in the second radio frequency link. For example, taking the frequency offset as the first antenna parameter change, if the first antenna parameter change is Δsilicone11, or is within the value range of Δsilicone11, then the modem can use Δsilicone12 mapped from Δsilicone11 as the second antenna parameter change in the second radio frequency link.
[0159] For example, taking the first antenna parameter changes including frequency offset, impedance change, and pie chart offset distance as an example, when the mapping relationship includes the first antenna parameter changes, such as the first antenna parameter changes being: frequency offset Δsilicon11, impedance change Δsilicon21, and pie chart offset distance Δsilicon31, then the modem can use "frequency offset Δsilicon12, impedance change Δsilicon22, and pie chart offset distance Δsilicon32," mapped to "Δsilicon11, Δsilicon21, and Δsilicon31," as the second antenna parameter changes. It should be understood that the first antenna parameter changes can include at least one of frequency offset, impedance change, and pie chart offset distance.
[0160] The S705 modem tunes the antenna corresponding to the second radio frequency link based on the changes in the second antenna parameters.
[0161] for Figure 1 The electronic device shown can have antenna 2 as the antenna corresponding to the second radio frequency link. Figure 2 The antenna corresponding to the second radio frequency link in the electronic device shown can be the antenna used when the second radio frequency link is working.
[0162] As can be seen from the above, the antenna tuning method provided in this application embodiment can tune the antenna corresponding to the second radio frequency link based on the change in antenna parameters of the first radio frequency link containing a detector. In one embodiment, the second radio frequency link does not contain a detector, and the modem cannot obtain the antenna parameters of the second radio frequency link.
[0163] In one embodiment, the second radio frequency link may include a detector, and the modem may obtain the antenna parameter change of the second radio frequency link based on the antenna parameter change of the first radio frequency link including the detector, so as to tune the antenna corresponding to the second radio frequency link based on the antenna parameter change of the second radio frequency link.
[0164] In one embodiment, the modem's tuning method for the antenna corresponding to the second RF link can include, but is not limited to, impedance tuning and aperture tuning. For example, taking impedance tuning and antenna parameter changes including frequency offset as an example, if the first antenna parameter change is a frequency offset of -22MHz, the modem can obtain, based on the mapping relationship, a second antenna parameter change mapped to -22MHz as "frequency offset -30MHz," meaning the frequency offset of the second RF link is -30MHz. Therefore, the modem can adjust the inductors and capacitors in the tunable devices of the second RF link to increase the operating frequency of the antenna corresponding to the second RF link by 30MHz, thereby eliminating the influence of other objects contacting the electronic device on the antenna parameters, avoiding the impact of other objects on the antenna's communication quality, and improving the communication quality of the electronic device.
[0165] In one embodiment, because the modem can query whether the mapping relationship includes a change in the first antenna parameter, when the mapping relationship includes a change in the first antenna parameter, the modem can determine which object is currently contacting the electronic device based on the change in the first antenna parameter. For example, if the change in the first antenna parameter has a frequency offset of -22MHz, the modem can determine that a silicone case is contacting the electronic device, meaning the electronic device has a silicone case installed. Thus, in this embodiment, the modem can determine the state of the electronic device based on the change in the antenna parameters of the RF link and the mapping relationship, such as whether a silicone case is installed, a metal case is installed, or the user is holding the electronic device. That is, in this embodiment, the mapping relationship can also be a mapping relationship between the change in the antenna parameters of the first antenna (or the first frequency band), the change in the antenna parameters of the second antenna (or the second frequency band), and the state of the electronic device. The electronic device can determine its state based on the change in the antenna parameters of the first antenna (or the first frequency band) and the change in the antenna parameters of the second antenna (or the second frequency band).
[0166] In this embodiment, the modem determines the state of the electronic device and can adjust the inductors and capacitors in the tunable devices in the second radio frequency link to adjust the antenna corresponding to the second radio frequency link. This eliminates the influence of other objects contacting the electronic device on the antenna parameters, avoids the impact of other objects on the communication quality of the antenna, and improves the communication quality of the electronic device.
[0167] In one embodiment, when a user installs a metal or magnetic casing on an electronic device, the casing significantly affects the changes in both the first and second antenna parameters. For example, a large frequency drop may make it difficult to adjust the antenna back to its original frequency using a tuning device, resulting in poor communication quality. In this case, the modem can send an instruction to the application program in the application layer of the electronic device to instruct the application program to output a prompt message.
[0168] In response to this instruction, the application can output a prompt message to the user, indicating that "installing a metal or magnetic case will affect the signal of the electronic device." In one embodiment, the application can display the prompt message on the electronic device's interface or play it aloud. This application does not limit the method of outputting the prompt message. For example, refer to... Figure 8 When a user installs a metal case on an electronic device, a pop-up window 81 containing a prompt message will appear on the device's interface. The pop-up window 81 displays the message "Installing a metal case will affect the signal of the electronic device. Please be careful."
[0169] In one embodiment, the mapping relationship can also be: the change in antenna parameters of the first antenna (or the first frequency band), the change in antenna parameters of the second antenna (or the second frequency band), the state of the electronic device, and the mapping relationship between the state of the first antenna and the state of the second antenna. The antenna state may include, for example, a decrease in frequency by a first value, or a decrease in impedance by a second value. In this embodiment, the electronic device can determine its state, as well as the state of the first antenna and the state of the second antenna, based on the change in antenna parameters of the first antenna (or the first frequency band) and the change in antenna parameters of the second antenna (or the second frequency band).
[0170] The antenna tuning method provided in this application embodiment may further include step S706:
[0171] S706, the modem tunes the antenna corresponding to the first radio frequency link based on the change in the first antenna parameters.
[0172] S706 can be referred to the description in S705. It should be understood that there is no specific order between S706 and S703, and they can be executed simultaneously.
[0173] In this embodiment, the modem can determine the change in the second antenna parameter of the radio frequency link without a detector based on the mapping relationship preset in the electronic device and the change in the first antenna parameter of the radio frequency link containing the detector. Then, based on the change in the second antenna parameter, the modem can tune the antenna corresponding to the radio frequency link without a detector, which can improve the communication quality of the antenna and achieve high tuning accuracy.
[0174] based on Figure 7 In one embodiment, as shown, the modem can further obtain the reflection coefficient change of a second radio frequency link with RX functionality based on the reflection coefficient change of a first radio frequency link with TX functionality and the mapping relationship between the reflection coefficient changes of each antenna (or frequency band), and then tune the antenna corresponding to the second radio frequency link with RX functionality. In one embodiment, the second radio frequency link may not have TX functionality. It should be understood that the reflection coefficient change can also be included in the antenna parameter change. The method for obtaining the mapping relationship of the reflection coefficient changes of each antenna (or frequency band) can refer to the relevant description in the above embodiments.
[0175] In this example, for a GPS RF link and a Wi-Fi RF link sharing a common antenna, the GPS RF link does not include TX functionality. Therefore, the modem cannot obtain the reflection coefficient of the GPS RF link, and consequently cannot tune the antenna corresponding to the GPS RF link based on its reflection coefficient. In this embodiment, the modem can obtain the reflection coefficient change of the GPS RF link based on the change in the reflection coefficient of the Wi-Fi RF link and the mapping relationship between the reflection coefficient changes of the Wi-Fi RF link and the GPS RF link. This allows the modem to tune the antenna corresponding to the GPS RF link based on the change in the reflection coefficient of the GPS RF link.
[0176] In some scenarios, for RF links containing detectors or TX functions, existing technologies allow modems to tune the antennas corresponding to the RF link based on the antenna parameters detected by the detector. For example, in S706, the modem can tune the antenna corresponding to the first RF link based on the change in the first antenna parameter. However, in this approach, the tuning accuracy is low due to the modem relying solely on the change in the first antenna parameter.
[0177] In the antenna tuning method provided in this application embodiment, for a radio frequency link that includes a detector or TX function, the antenna corresponding to the radio frequency link can be tuned based on the antenna parameters of the radio frequency link detected by the detector and the change in antenna parameters of another radio frequency link mapped to the change in antenna parameters of the radio frequency link. Because this application embodiment combines multiple factors, the accuracy of antenna tuning can be improved.
[0178] Figure 9 This is a schematic diagram of another structure of an electronic device. Figure 9 a in Figure 1 The difference is, Figure 9 Each radio frequency link in 'a' includes a detector. Figure 9 b in Figure 2 The difference is, Figure 9 Each RF link in b includes a detector.
[0179] exist Figure 9 In the scenario of the electronic device shown, refer to Figure 10 The antenna tuning method provided in this application embodiment may include:
[0180] S1001, the first detector in the first radio frequency link acquires the change in the first antenna parameter of the first radio frequency link.
[0181] S1002, the first detector reports the change in the first antenna parameters to the modem.
[0182] S1003, the modem queries whether the mapping relationship contains the change in the first antenna parameters. If yes, execute S1004; otherwise, do not respond.
[0183] S1004, the modem obtains the second antenna parameter change in the second radio frequency link mapped by the first antenna parameter change, based on the mapping relationship and the change in the first antenna parameter.
[0184] S1001-S1004 can be referred to in the descriptions in S701-S704.
[0185] S1005, the second detector in the second RF link acquires the change in the parameters of the third antenna of the second RF link.
[0186] S1006, the second detector reports the changes in the parameters of the third antenna to the modem.
[0187] S1005-S1006 can be referred to the description in S701-S702. There is no distinction between the order of S1001-S1002 and S1005-S1006, and they can be executed simultaneously.
[0188] S1007, the modem tunes the antenna corresponding to the second RF link based on the changes in the second antenna parameters and the changes in the third antenna parameters.
[0189] In this embodiment, the modem can combine the change in the third antenna parameter and the change in the second antenna parameter mapped from the change in the first antenna parameter to tune the antenna corresponding to the second radio frequency link. The change in the third antenna parameter is obtained by the second detector in the second radio frequency link. Because the modem combines the third antenna parameter and the second antenna parameter to further tune the antenna of the second radio frequency link, the accuracy of the antenna tuning corresponding to the second radio frequency link can be improved.
[0190] For example, taking the frequency offset as the change in antenna parameters, the change in the third antenna parameter represents a frequency offset of -25MHz, while the change in the second antenna parameter, mapped from the change in the first antenna parameter, represents a frequency offset of -30MHz. To improve the communication quality of the antenna, the modem can increase the frequency of the antenna corresponding to the second RF link by 30MHz. However, in the prior art, if the frequency of the antenna corresponding to the second RF link is increased by 25MHz based solely on the change in the third antenna parameter, the communication quality of the antenna is still poor and cannot meet user needs. In the embodiment of this application, the frequency of the antenna corresponding to the second RF link can be increased based on a frequency offset with a larger absolute value, which can accurately improve the communication quality of the antenna, meet user needs, and thus improve the user experience.
[0191] Similarly, the modem can query whether the mapping relationship includes the change in the third antenna parameter. If so, the modem can, based on the mapping relationship and the change in the third antenna parameter, obtain the change in the fourth antenna parameter in the first RF link mapped by the change in the third antenna parameter. Then, the modem can tune the antenna corresponding to the first RF link based on the changes in the first and fourth antenna parameters. (See also...) Figure 10 The relevant description in the document.
[0192] In one embodiment, the first radio frequency link can be replaced by a "third radio frequency link", the second radio frequency link can be replaced by a "first radio frequency link", the first antenna parameter change of the first radio frequency link can be replaced by a "third line parameter change", the "third line parameter change" is mapped to a "fourth line parameter change", and the third antenna parameter change of the second radio frequency link can be replaced by a "first line parameter change". Thus, "the modem tunes the antenna corresponding to the second radio frequency link according to the second antenna parameter change and the third antenna parameter change" can be replaced by "the modem tunes the antenna corresponding to the first radio frequency link according to the first antenna parameter change and the fourth antenna parameter change".
[0193] In one embodiment, in conjunction with the above embodiments, the entity executing the antenna tuning method provided in this application can be an electronic device, or a processor, chip, or modem within the electronic device. From the perspective of the executing entity, referring to... Figure 11 The antenna tuning method provided in this application embodiment may include:
[0194] S1101, the first antenna parameter information of the first radio frequency link is obtained through the device used to detect antenna parameters in the first radio frequency link.
[0195] S1101 can be referred to the relevant descriptions in the above embodiments S701-S702.
[0196] S1102, based on the first antenna parameter information, and through the tunable device in the second radio frequency link, tune the antenna corresponding to the second radio frequency link.
[0197] S1102 can be referred to the relevant descriptions in S702-S705 of the above embodiments.
[0198] In one embodiment, a control signal can be generated based on the change in the first antenna parameters to tune the tunable device in the second radio frequency link according to the control signal, so as to tune the antenna corresponding to the second radio frequency link.
[0199] In one embodiment, the change in the second antenna parameter of the second radio frequency link can be obtained based on the change in the first antenna parameter and the mapping relationship in the above embodiments, and then the antenna corresponding to the second radio frequency link can be tuned based on the change in the second antenna parameter.
[0200] Alternatively, in one embodiment, S703-S705 can be performed to tune the antenna corresponding to the second radio frequency link.
[0201] The embodiments of this application can also be used to tune the antenna corresponding to a radio frequency link that does not contain a detector based on the first antenna parameter information of the radio frequency link containing the detector, thereby improving the communication quality of the antenna.
[0202] Figure 12 This is a schematic diagram of an antenna tuning device provided in an embodiment of this application. The antenna tuning device can be the electronic device described in the above embodiment, or a processor, chip, or modem within the electronic device. The electronic device includes: a first radio frequency (RF) link and a second RF link. The first RF link includes a device for detecting antenna parameters, and the second RF link includes a tunable device.
[0203] Reference Figure 12 The antenna tuning device 1200 may include: a detection module 1201 and a tuning module 1202.
[0204] The detection module 1201 is used to obtain the first antenna parameter information of the first radio frequency link.
[0205] The tuning module 1202 tunes the antenna corresponding to the second radio frequency link based on the first antenna parameter information and through the tunable device in the second radio frequency link.
[0206] In one possible implementation, the tuning module 1202 is specifically used to generate a control signal based on the first antenna parameter information; and to tune the antenna corresponding to the second radio frequency link through a tunable device based on the control signal.
[0207] In one possible implementation, the tuning module 1202 is specifically used to obtain the second antenna parameter information of the second radio frequency link based on the first antenna parameter information; and to tune the antenna corresponding to the second radio frequency link through a tunable device based on the second antenna parameter information.
[0208] In one possible implementation, the tuning module 1202 is specifically used to obtain the second antenna parameter information based on the first antenna parameter information and the mapping relationship, wherein the mapping relationship is the mapping relationship between the antenna parameter information of the first radio frequency link and the antenna parameter information of the second radio frequency link.
[0209] In one possible implementation, the first antenna parameter information includes: the first antenna parameter, and / or, the amount of change in the first antenna parameter.
[0210] In one possible implementation, the first antenna parameters include: the frequency of the resonant position of the antenna corresponding to the first RF link, and / or the position of the frequency on the Smith chart, and / or the input impedance of the antenna, and / or the amplitude and phase of the antenna's reflection coefficient; the changes in the first antenna parameters include: frequency offset, and / or Smith chart offset distance, and / or impedance change, wherein the Smith chart offset distance is a vector distance; the frequency offset includes the offset of the frequency point, or the frequency offset includes: the offset of the frequency point and the change in the amplitude of the reflection coefficient at the frequency point.
[0211] In one possible implementation, the first radio frequency link corresponds to the first antenna, and the second radio frequency link corresponds to the second antenna; the mapping relationship is: the mapping relationship between the antenna parameter information of the first antenna and the antenna parameter information of the second antenna.
[0212] In one possible implementation, the first RF link and the second RF link correspond to the same antenna. The first RF link operates in the first frequency band, and the second RF link operates in the second frequency band. The first frequency band and the second frequency band may be different or the same. The mapping relationship is: the mapping relationship between the antenna parameter information of the first frequency band and the antenna parameter information of the second frequency band.
[0213] In one possible implementation, the mapping relationship is as follows: the mapping relationship between the antenna parameter information of the first radio frequency link, the antenna parameter information of the second radio frequency link, and the state of the electronic device, the state of the electronic device including: the state where an object is in contact with the electronic device, and the state where no object is in contact with the electronic device.
[0214] The tuning module 1202 is used to obtain the status of the electronic device based on the first antenna parameter information, the second antenna parameter information, and the mapping relationship.
[0215] In one possible implementation, the object includes both human and non-human entities, with the non-human entity including the shell.
[0216] In one possible implementation, the state of the electronic device includes: the casing state.
[0217] The tuning module 1202 is used to output a prompt message in response to the electronic device being in the housing state. The prompt message indicates that contact with the housing of the electronic device affects the communication quality of the antenna in the electronic device. The housing is a metal housing or a magnetic housing.
[0218] In one possible implementation, the tuning module 1202 is also used to determine whether the mapping relationship contains the first antenna parameter information.
[0219] In one possible implementation, the second radio frequency link does not include devices for detecting antenna parameters.
[0220] In one possible implementation, the second radio frequency link includes a device for detecting antenna parameters.
[0221] In one possible implementation, the tuning module 1202 is further configured to obtain the third antenna parameter information of the second radio frequency link through a device used to detect antenna parameters in the second radio frequency link; and to tune the antenna corresponding to the second radio frequency link based on the second antenna parameter information and the third antenna parameter information.
[0222] The antenna tuning device in this application embodiment can perform the antenna tuning method as described in the above embodiment, and can achieve the same technical effect as the above embodiment, which will not be elaborated here.
[0223] In one embodiment, reference is made to... Figure 13 This application also provides an electronic device, which can be the electronic device described in the above embodiments. This electronic device may include a processor 1301 (e.g., a CPU) and a memory 1302. The memory 1302 may include high-speed random-access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device. The memory 1302 may store various instructions for performing various processing functions and implementing the method steps of this application.
[0224] Optionally, the electronic device involved in this application may further include: a power supply 1303, a communication bus 1304, and a communication port 1305. The aforementioned communication port 1305 is used to enable communication between the electronic device and other peripherals. In this embodiment, the memory 1302 is used to store computer-executable program code, which includes instructions; when the processor 1301 executes the instructions, the instructions cause the processor 1301 of the electronic device to perform the actions described in the above method embodiment. The implementation principle and technical effects are similar and will not be repeated here.
[0225] It should be noted that the modules or components described in the above embodiments can be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs), etc. Furthermore, when a module is implemented through processing element scheduler code, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processors capable of calling program code, such as a controller. Additionally, these modules can be integrated together to implement a system-on-a-chip (SOC).
[0226] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)).
[0227] The term "multiple" in this document refers to two or more. The term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Furthermore, the character " / " in this document generally indicates an "or" relationship between the preceding and following related objects; in formulas, " / " indicates a "division" relationship. Additionally, it should be understood that in the description of this application, words such as "first" and "second" are used only for descriptive purposes and should not be construed as indicating or implying relative importance or order.
[0228] It is understood that the various numerical designations used in the embodiments of this application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application.
[0229] It is understood that, in the embodiments of this application, the order of the above-mentioned process numbers does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
Claims
1. An antenna tuning method, characterized by, The electronic device includes: a first radio frequency (RF) link and a second RF link, wherein the first RF link includes a device for detecting antenna parameters, and the second RF link includes a tunable device but does not include a device for detecting antenna parameters; the method includes: The first antenna parameter information of the first radio frequency link is obtained through the device used to detect antenna parameters in the first radio frequency link. The second antenna parameter information of the second RF link is obtained according to the first antenna parameter information and the mapping relationship, and the antenna corresponding to the second RF link is tuned through the tunable device in the second RF link according to the second antenna parameter information; the mapping relationship is the mapping relationship between the antenna parameter information of the first RF link and the antenna parameter information of the second RF link.
2. The method of claim 1, wherein, The antenna corresponding to the second radio frequency link being tuned includes: Based on the first antenna parameter information, a control signal is generated; According to the control signal, the antenna corresponding to the second radio frequency link is tuned by the tunable device.
3. The method according to claim 1 or 2, characterized in that, The first antenna parameter information includes: the first antenna parameter, and / or, the change in the first antenna parameter.
4. The method according to claim 3, characterized in that, The first antenna parameters include: the frequency of the resonant position of the antenna corresponding to the first RF link, and / or the position of the frequency on the Smith chart, and / or the input impedance of the antenna, and / or the amplitude and phase of the reflection coefficient of the antenna; the changes in the first antenna parameters include: frequency offset, and / or chart offset distance, and / or impedance change, wherein the chart offset distance is a vector distance; The frequency offset includes the offset of a frequency point, or the frequency offset includes the offset of a frequency point and the change in the amplitude of the reflection coefficient at the frequency point.
5. The method of claim 1, wherein, The first radio frequency link corresponds to the first antenna, and the second radio frequency link corresponds to the second antenna; The mapping relationship is as follows: the mapping relationship between the antenna parameter information of the first antenna and the antenna parameter information of the second antenna.
6. The method of claim 1, wherein, The first radio frequency link and the second radio frequency link correspond to the same antenna. The first radio frequency link operates in the first frequency band, and the second radio frequency link operates in the second frequency band. The first frequency band and the second frequency band may be different or the same. The mapping relationship is as follows: the mapping relationship between the antenna parameter information of the first frequency band and the antenna parameter information of the second frequency band.
7. The method of claim 1, wherein, The mapping relationship is: a mapping relationship between the antenna parameter information of the first radio frequency link, the antenna parameter information of the second radio frequency link, and the state of the electronic device, wherein the state of the electronic device includes: a state in which an object is in contact with the electronic device, and a state in which no object is in contact with the electronic device; the method further includes: The state of the electronic device is obtained based on the first antenna parameter information, the second antenna parameter information, and the mapping relationship.
8. The method of claim 7, wherein, The objects include human and non-human entities, and the non-human entities include shells.
9. The method of claim 8, wherein, The state of the electronic device includes: the casing state; the method further includes: In response to the electronic device being in the state of the housing, a prompt message is output, indicating that contact with the housing of the electronic device affects the communication quality of the antenna in the electronic device, wherein the housing is a metal housing or a magnetic housing.
10. The method of claim 1, wherein, Before obtaining the second antenna parameter information of the second radio frequency link based on the first antenna parameter information, the method further includes: Determine whether the mapping relationship contains the first antenna parameter information.
11. An antenna tuning device, characterized in that, include: A detection module is used to acquire first antenna parameter information of a first radio frequency link, wherein the first radio frequency link includes a device for detecting antenna parameters; The tuning module obtains the second antenna parameter information of the second RF link based on the first antenna parameter information and the mapping relationship, and tunes the antenna corresponding to the second RF link through the tunable device in the second RF link based on the second antenna parameter information; wherein, the second RF link does not include a device for detecting antenna parameters, and the mapping relationship is the mapping relationship between the antenna parameter information of the first RF link and the antenna parameter information of the second RF link.
12. An electronic device, characterized in that, include: Processor and memory; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-10.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program or instructions that, when executed, implement the method as described in any one of claims 1-10.
14. A computer program product comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the method of any one of claims 1-10.