CN116722881A - Antenna tuning method and electronic equipment - Google Patents

Antenna tuning method and electronic equipment Download PDF

Info

Publication number
CN116722881A
CN116722881A CN202211145010.5A CN202211145010A CN116722881A CN 116722881 A CN116722881 A CN 116722881A CN 202211145010 A CN202211145010 A CN 202211145010A CN 116722881 A CN116722881 A CN 116722881A
Authority
CN
China
Prior art keywords
antenna
parameter
switch
tuning
card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211145010.5A
Other languages
Chinese (zh)
Inventor
肖驰洋
师江伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211145010.5A priority Critical patent/CN116722881A/en
Publication of CN116722881A publication Critical patent/CN116722881A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/005Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
    • H04B1/0064Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges with separate antennas for the more than one band
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q23/00Antennas with active circuits or circuit elements integrated within them or attached to them
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Variable-Direction Aerials And Aerial Arrays (AREA)

Abstract

The embodiment of the application is applicable to the technical field of antennas, provides an antenna tuning method and electronic equipment, and is applied to the electronic equipment, wherein the electronic equipment comprises a plurality of antennas, each antenna in the plurality of antennas is connected with a corresponding tuning circuit through a switch, and the method comprises the following steps: determining an index value according to the current working frequency band of the electronic equipment; the first parameter set and the second parameter set are obtained according to the index value and a preset tuning parameter table, the first switch set is determined, and the target tuning parameter of the first antenna is determined according to the first parameter set, the second parameter set and the first switch set.

Description

Antenna tuning method and electronic equipment
Technical Field
The present application relates to the field of antenna technology, and more particularly, to an antenna tuning method and an electronic device.
Background
With more and more functions integrated on the electronic device, more and more other electronic devices occupy space of the electronic device, so that the headroom of the antenna is smaller and smaller, and the size of the antenna is continuously reduced, which causes performance degradation of the antenna.
In order to reduce the performance degradation of the antenna caused by the small headroom and the small size of the antenna due to the space being encroached, a tuning circuit is generally added between the antenna and the ground in the present stage, and the impedance of the tuning circuit is changed by controlling the on state of a switch of the tuning circuit, so that the effective electrical length of the antenna is changed, and the resonant frequency of the antenna is adjusted, so that the performance of the antenna is better under the current working frequency band. In general, tuning parameters of each antenna are stored in an electronic device, where the tuning parameters are used to indicate a conductive state of a switch of the antenna, and when the conductive state of the switch corresponding to the antenna is the conductive state indicated by the tuning parameters, the performance of the antenna is optimal. In the present stage, the number of antennas on the electronic device is large, the distance between the antennas is small, the antennas are coupled with each other, and tuning parameters of the antennas stored in the electronic device are usually tuning parameters obtained by independently debugging each antenna, so that performance of the antennas obtained by setting the on state of each switch in the tuning circuit according to pre-stored tuning parameters is poor.
Based on this, how to improve the performance of the antenna becomes a problem to be solved.
Disclosure of Invention
The application provides an antenna tuning method which can improve the performance of an antenna.
In a first aspect, an antenna tuning method is provided, where the method is applied to an electronic device, the electronic device includes a plurality of antennas, and the electronic device operates in a plurality of operating frequency bands, where each antenna in the plurality of antennas is connected to a corresponding tuning circuit through a switch, and the method includes:
determining an index value according to the current working frequency band of the electronic equipment;
obtaining a first parameter set and a second parameter set according to the index value and a preset tuning parameter table, wherein the first parameter set comprises tuning parameters of each antenna in a plurality of antennas in a first working state, the second parameter set comprises tuning parameters of each antenna in a plurality of antennas in a second working state, the first working state is a state of transmitting signals in a current working frequency band, the second working state is a state of receiving signals in the current working frequency band, and the tuning parameters are used for indicating the on state of a switch of each antenna in the plurality of antennas;
determining a first switch set, wherein the first switch set comprises a switch of a first antenna and a switch of a second antenna, the first antenna is an antenna which is in a first working state at the current moment in a plurality of antennas, and the second antenna is an antenna which is mutually coupled with the first antenna in the plurality of antennas;
And determining the target tuning parameter of the first antenna according to the first parameter set, the second parameter set and the first switch set.
It should be appreciated that the electronic device may transmit and receive signals simultaneously, as one possible scenario, and thus the first operating state may refer to a state in which signals are received and transmitted simultaneously in the current operating frequency band.
The antenna tuning method provided by the embodiment of the application is applied to electronic equipment, the electronic equipment comprises a plurality of antennas, wherein each antenna in the plurality of antennas is connected with a corresponding tuning circuit through a switch, and the method comprises the following steps: determining an index value according to the current working frequency band of the electronic equipment; according to the index value and a preset tuning parameter table, a first parameter set and a second parameter set are obtained, wherein the first parameter set comprises tuning parameters of each antenna in a plurality of antennas in a first working state, the second parameter set comprises tuning parameters of each antenna in a plurality of antennas in a second working state, the first working state is a state of transmitting signals in a current working frequency band, the second working state is a state of receiving signals in the current working frequency band, and under a possible condition, the electronic equipment can simultaneously transmit and receive signals, so that the first working state can refer to a state of simultaneously receiving and transmitting signals in the current working frequency band. The tuning parameter is used for indicating the conducting state of a switch of each antenna in the plurality of antennas; determining a first switch set, wherein the first switch set comprises a switch of a first antenna and a switch of a second antenna, the first antenna is an antenna which is in a first working state at the current moment in a plurality of antennas, and the second antenna is an antenna which is mutually coupled with the first antenna in the plurality of antennas; the target tuning parameters of the first antenna are determined according to the first parameter set, the second parameter set and the first switch set, and the tuning parameters of the first antenna and the tuning parameters of the second antenna which are mutually coupled with the first antenna are obtained according to the switch of the first antenna and the switch of the second antenna which is mutually coupled with the first antenna and the tuning parameter set (the first parameter set) which indicates the transmitting state and the tuning parameter set (the second parameter set) which indicates the receiving state in the process of determining the target tuning parameters of the first antenna, so that the tuning parameters of the first antenna and the tuning parameters of the second antenna which are mutually coupled with the first antenna are comprehensively considered in the process of determining the target tuning parameters of the first antenna, and compared with the traditional method, the performance of the antenna in the electronic equipment can be improved.
In one embodiment, the electronic device is an electronic device supporting a single-card mode, and determining the target tuning parameter of the first antenna according to the first parameter set, the second parameter set and the first switch set includes:
determining a target tuning parameter according to a first parameter set, a second parameter set, a first switching vector and a first formula, wherein the first formula comprises:
wherein, the liquid crystal display device comprises a liquid crystal display device,representing the target tuning parameters->Representing a second set of parameters->A first set of parameters is represented and,representing a first set of switches,/->Representing the Hadamard product operation.
The antenna tuning method provided by the embodiment of the application is applied to electronic equipment which supports a single-card mode, and comprises a plurality of antennas, wherein each antenna in the plurality of antennas is connected with a corresponding tuning circuit through a switch, and the method comprises the following steps: determining an index value according to the current working frequency band of the electronic equipment; obtaining a first parameter set and a second parameter set according to the index value and a preset tuning parameter table, wherein the first parameter set comprises tuning parameters of each antenna in a plurality of antennas in a first working state, the second parameter set comprises tuning parameters of each antenna in a plurality of antennas in a second working state, the first working state is a state of transmitting signals in a current working frequency band, the second working state is a state of receiving signals in the current working frequency band, and the tuning parameters are used for indicating the on state of a switch of each antenna in the plurality of antennas; determining a first switch set, wherein the first switch set comprises a switch of a first antenna and a switch of a second antenna, the first antenna is an antenna which is in a first working state at the current moment in a plurality of antennas, and the second antenna is an antenna which is mutually coupled with the first antenna in the plurality of antennas; determining a target tuning parameter of the first antenna according to the first parameter set, the second parameter set, the first switch set and a first formula, wherein the first formula comprises: Representing the target tuning parameters->Representing a second set of parameters->Representing a first set of parameters->Representing a first set of switches,/->Representing the Hadamard product operation. The target tuning parameters corresponding to the first antenna are selected from a tuning parameter set (a first parameter set) in a transmitting state, tuning parameters corresponding to a first antenna transmitting signals at the current moment and a second antenna mutually coupled with the first antenna are selected as tuning parameters in the transmitting state of the electronic equipment, tuning parameters corresponding to other antennas receiving signals at the current moment are selected from a tuning parameter set (a second parameter set) in a receiving state and are used as tuning parameters in the receiving state of the electronic equipment, and the process of determining the target tuning parameters corresponding to the first antenna is achieved according to a switch of the first antenna and a switch of the second antenna mutually coupled with the first antenna, and the tuning parameter set (the first parameter set) in the transmitting state and the tuning parameter set (the second parameter set) in the receiving state are indicated.
In one embodiment, the electronic device is an electronic device supporting a dual-card dual-standby DR-DSDS mode, where the electronic device includes a main card interface and a sub-card interface, the main card interface is configured to communicate with the main card, the sub-card interface is configured to communicate with the sub-card, a current operating frequency band includes a first frequency band and a second frequency band, the main card operating frequency band is the first frequency band, the sub-card operating frequency band is the second frequency band, the index value includes a main card index value and a sub-card index value, the main card index value is an index value of the first frequency band, the sub-card index value is an index value of the second frequency band, the first parameter set includes a first main card parameter, the second parameter set includes a second main card parameter and a second sub-card parameter, the first main card parameter is a tuning parameter of the switch when each antenna in the plurality of antennas transmits signals in the first frequency band, and the second main card parameter is a tuning parameter of the switch when each antenna in the plurality of antennas receives signals in the first frequency band; the second sub-card parameter is a tuning parameter of a switch when each antenna in the plurality of antennas receives signals in a second frequency band; the obtaining the first parameter set and the second parameter set according to the index value and the preset tuning parameter table includes:
searching from a preset tuning parameter table according to the main card index value to obtain a first main card parameter and a second main card parameter;
Searching a preset tuning parameter table according to the auxiliary card index value to obtain a second auxiliary card parameter;
determining a target tuning parameter of the first antenna according to the first parameter set, the second parameter set and the first switch set, including:
obtaining a first main card tuning parameter according to the first main card parameter, the second main card parameter and the first switch set;
and obtaining target tuning parameters according to the first main card tuning parameters and the second auxiliary card parameters.
In one embodiment, the obtaining the target tuning parameter according to the first main card tuning parameter and the second sub-card parameter includes:
acquiring antenna switching state TAS information of the electronic equipment, wherein the TAS information is used for indicating an antenna transmitting signals at the current moment;
determining a third antenna corresponding to the auxiliary card according to the TAS information;
determining a second switch set, wherein the second switch set comprises a second switch, the second switch comprises a switch connected with a third antenna, and a switch connected with a fourth antenna, and the fourth antenna comprises an antenna which is coupled with the third antenna in a plurality of antennas;
and obtaining target tuning parameters according to the first main card tuning parameters, the second auxiliary card parameters and the second opening set.
In one embodiment, the obtaining the target tuning parameter according to the first main card tuning parameter, the second sub-card parameter and the second switch set includes:
The second switch set is adjusted by adopting a target adjustment strategy, the adjusted second switch set is obtained, and the target adjustment strategy is based on the adjustment strategy obtained by the first switch set and the second switch set;
and obtaining target tuning parameters according to the first main card tuning parameters, the second auxiliary card parameters and the adjusted second switch set.
In one embodiment, the target adjustment strategy includes employing the second switch set as the adjusted second switch set without intersection of the first switch set and the second switch set.
In one embodiment, in the event that there is an intersection of the first set of switches with the second set of switches, the method further comprises:
acquiring the number of third antennas;
in the case that the number of the third antennas is 1, the target adjustment strategy includes adopting the second switch set as the adjusted second switch set;
in the case that the number of the third antennas is greater than 1, the target adjustment policy is determined according to a received reference signal of a fifth antenna, where the fifth antenna is an antenna used by the electronic device to transmit a signal through the main card, and the received reference signal is used to indicate a signal strength received by the fifth antenna.
In one embodiment, in a case where the received reference signal of the fifth antenna is less than a preset threshold, the method further includes:
Determining whether there is an intersection of the second set of switches with the first set of switches for each third antenna;
if so, the target adjustment strategy comprises adopting the second switch set as an adjusted second switch set;
if not, the target adjustment strategy is to determine an adjusted second switch set according to the first switch set, the second switch set and a second formula, wherein the second formula comprises:
wherein, the liquid crystal display device comprises a liquid crystal display device,indicating the adjusted second switchGather (S)>Representing a second set of switches,/->Representing a first set of switches,/->Representing the Hadamard product operation.
In one possible scenario, there is no intersection between the first set of switches and the second set of switches.
According to the antenna tuning method provided by the embodiment of the application, as the first switch set and the second switch set have no intersection, the first antenna in the transmitting signal state and the second antenna in the receiving state can respectively determine the corresponding tuning parameters, namely, the determined target tuning parameters respectively consider the tuning parameters of the first antenna and the tuning parameters of the second antenna, the performance of the first antenna or the second antenna is not required to be sacrificed, and the performance of the electronic equipment adopting the target tuning parameters is better.
In one possible scenario, there is an intersection between the first set of switches and the second set of switches.
In the antenna tuning method provided in the embodiment of the application, in the case that a plurality of third antennas exist, the third antennas refer to antennas in a signal receiving state at the current moment, that is, in the case that a plurality of antennas in a signal receiving state exist at the current moment, the signal intensity of a fifth antenna in a signal transmitting state at the current moment can be further determined, in the case that the signal intensity of the received signal of the fifth antenna is smaller than a preset threshold, and in the case that an intersection exists between a second switch set of each third antenna and the first switch set, the corresponding tuning parameters of the first antenna in the signal transmitting state and the second antenna in the signal receiving state can be respectively obtained, in the case that the signal intensity of a received reference signal of the fifth antenna is smaller than the preset threshold, the current moment of the fifth antenna is in a weak signal environment, the tuning parameters of the first antenna and the tuning parameters of the second antenna can be respectively determined, that the determined target tuning parameters are respectively considered, that the tuning parameters of the first antenna and the second antenna are respectively sacrificed, or the tuning parameters of the second antenna are not required to be better, and the electronic device is required to be used.
In one embodiment, the target adjustment strategy includes employing the second set of switches as the adjusted second set of switches in the event that the received reference signal of the fifth antenna is greater than a preset threshold.
In the antenna tuning method provided in the embodiment of the application, in the case that a plurality of third antennas exist, the third antennas refer to antennas in a receiving signal state at the current moment, that is, in the case that a plurality of antennas in a receiving signal state exist at the current moment, the signal intensity of a fifth antenna in a transmitting signal state at the current moment can be further determined, in addition, in the case that the signal intensity of a receiving reference signal of the fifth antenna is smaller than a preset threshold, and in the case that an intersection exists between a second switching set of each third antenna and a first switching set, the second switching set is adjusted, then a target tuning parameter is obtained according to a first main card tuning parameter, a second sub-card parameter and an adjusted second switching set, that is, the signal intensity of a receiving reference signal of the fifth antenna is larger than a preset threshold, and is equivalent to the strong signal environment of the fifth antenna, in the electronic device, the switching set corresponding to the antenna of the receiving signal exists an antenna, and in the electronic device, does not intersect with the transmitting antenna corresponding to the transmitting antenna, so that the second switching set can be subjected to the second switching set, in the electronic device, the performance of the electronic device is improved, in the case that the corresponding to the receiving antenna of the receiving antenna is not subjected to the second switching set, and the electronic device has the corresponding to the corresponding antenna, and the receiving antenna is not subjected to the intersection between the second switching set and the second switching set, and the antenna is subjected to the corresponding to the electronic device, and the performance is improved by the antenna is improved because the antenna is not subjected to the corresponding to the antenna, and the antenna is subjected to the corresponding to the receiving antenna set, without sacrificing the performance of the receiving antenna.
In one embodiment, the obtaining the target tuning parameter according to the first main card tuning parameter, the second sub-card parameter and the adjusted second switch set includes:
obtaining a target tuning parameter according to the first main card tuning parameter, the second auxiliary card parameter, the adjusted second switch set and a third formula; wherein the third formula comprises:
wherein, the liquid crystal display device comprises a liquid crystal display device,representing the target tuning parameters->Representing the first main card tuning parameter,/and->Representing an adjusted second set of switches, < >>Representing a second card parameter->Representing the Hadamard product operation.
The antenna tuning method provided by the embodiment of the application is applied to electronic equipment supporting DR-DSDS mode, the electronic equipment comprises a plurality of antennas, each antenna in the plurality of antennas is connected with a corresponding tuning circuit through a switch, the electronic equipment further comprises a main card interface and a sub card interface, the main card interface is used for communicating with the main card, and the sub card interface is used for communicating with the sub card, and the method comprises the following steps: the antenna tuning module determines a main card index value and a sub card index value according to the current working frequency band of the electronic equipment, searches a preset tuning parameter table according to the main card index value to obtain a first main card parameter and a second main card parameter, searches a preset tuning parameter table according to the sub card index value to obtain a second sub card parameter, obtains a first main card tuning parameter according to the first main card parameter, the second main card parameter and a first switch set, and obtains a target tuning parameter according to the first main card tuning parameter and the second sub card parameter, wherein, because an antenna connected with the main card is used for transmitting signals, the antenna connected with the sub card can be used for receiving signals by acquiring the first main card parameter and the second main card parameter, the antenna connected with the sub card can acquire a second sub card parameter, and then obtains the target tuning parameter according to the second sub card parameter and the first main card tuning parameter; the second sub-card parameter is a tuning parameter of each antenna of the plurality of antennas which is switched when receiving signals in the second frequency band, so that in the process of obtaining the target tuning parameter, a tuning parameter set (a first main card parameter) indicating a transmitting state of the main card, a tuning parameter set (a second main card parameter) indicating a receiving state of the sub-card and a tuning parameter set (a second sub-card parameter) indicating a receiving state of the sub-card are considered to obtain.
In an embodiment, the electronic device is an electronic device supporting a dual-card dual-pass DSDA mode, where the electronic device includes a first subscriber identity module SIM card interface and a second SIM card interface, the first SIM card interface is in communication with a first SIM card, the second SIM card interface is in communication with a second SIM card, a current operating frequency band includes a third frequency band and a fourth frequency band, the operating frequency band of the first SIM card is the third frequency band, the operating frequency band of the second SIM card is the fourth frequency band, the index value includes a first index value, a second index value and a third index value, the first index value is an index value of a frequency band occupied by a signal transmitted by the first SIM card in the third frequency band, the second index value is an index value of a frequency band occupied by a signal received by the second SIM card in the fourth frequency band, the first parameter set includes a first card parameter and a second card parameter, the first card parameter refers to each antenna in the multiple antennas when the antennas transmit signals in the third frequency band, the second parameter refers to each antenna in the multiple antennas when the switch receives signals in the fourth frequency band; the obtaining the first parameter set and the second parameter set according to the index value and the preset tuning parameter table includes:
Searching from a preset tuning parameter table according to the first index value to obtain a first SIM card parameter;
searching from a preset tuning parameter table according to the second index value to obtain a second SIM card parameter;
and searching from a preset tuning parameter table according to the third index value to obtain a second parameter set.
In one embodiment, the first antenna includes a first SIM card antenna and a second SIM card antenna, the first SIM card antenna is an antenna used by the electronic device to transmit a signal through the first SIM card at a current time, the second SIM card antenna is an antenna used by the electronic device to transmit a signal through the second SIM card at a current time, the first switch set includes a first SIM card switch set and a second SIM card switch set, the first SIM card switch set includes a first SIM card switch, the first SIM card switch includes a switch connected to the first SIM card antenna, and a switch connected to the antenna coupled to the first SIM card antenna, the second SIM card switch set is used to indicate the second SIM card switch, the second SIM card switch includes a switch connected to the second SIM card antenna, and a switch connected to the antenna coupled to the second SIM card antenna, and determining the first switch set includes:
determining a first SIM card switch set of a first SIM card antenna;
A second set of SIM card switches of the second SIM card antenna is determined.
The antenna tuning method provided by the embodiment of the application is applied to electronic equipment supporting DSDA modes, the antenna tuning module obtains a first index value, a second index value and a third index value according to the current working frequency band, the first index value is searched from a preset tuning parameter table according to the first index value to obtain a first SIM card parameter, the second index value is searched from the preset tuning parameter table according to the second index value to obtain a second parameter set, the first index value is an index value of a frequency band occupied by a first SIM card transmitting a signal in a third frequency band, the second index value is an index value of a frequency band occupied by a second SIM card transmitting a signal in a fourth frequency band, the third index value is an index value of a frequency band occupied by a receiving signal in the current working frequency band, so that the first SIM card parameter obtained according to the first index value is a tuning parameter of a third frequency band of the first SIM card working, the second index value is a fourth frequency band of the second SIM card working according to the second index value, the second index value is a tuning parameter of the second SIM card working, the second SIM card parameter obtained according to the second index value is a second frequency band of the second SIM card working, the second SIM card working condition is more accurately determined according to the second SIM card tuning parameter set, the second SIM card is more accurately indicated to the second SIM card working condition, the second SIM card working condition is more accurately obtained in the current condition, and the second SIM card working condition is more than the second SIM condition is more accurately indicated by the second parameter set, and can be more accurately indicated by the second condition set and more than the first condition and has the second parameter set and more than the second parameter condition parameters, further improving the performance of the antenna in the electronic device.
In one embodiment, determining the target tuning parameter of the first antenna according to the first parameter set, the second parameter set and the first switch set includes:
determining a target tuning parameter according to a first SIM card parameter, a second parameter set, a first SIM card switch set, a second SIM card switch set and a fourth formula, wherein the fourth formula comprises:
wherein, the liquid crystal display device comprises a liquid crystal display device,representing the target tuning parameters->Representing a second set of parameters->Representing a first set of SIM card switches, < >>Representing a second set of SIM card switches, +.>Representing the first SIM card parameter,/a>Representing the second SIM card parameters->Representing the Hadamard product operation.
The antenna tuning method provided by the embodiment of the application is applied to an electronic device supporting a DSDA mode, the electronic device comprises a plurality of antennas, each antenna in the plurality of antennas is connected with a corresponding tuning circuit through a switch, the electronic device further comprises a first Subscriber Identity Module (SIM) card interface and a second SIM card interface, the first SIM card interface is communicated with a first SIM card, the second SIM card interface is communicated with a second SIM card, a current working frequency band comprises a third frequency band and a fourth frequency band, the working frequency band of the first SIM card is the third frequency band, and the working frequency band of the second SIM card is the fourth frequency band, and the method comprises the following steps: the antenna tuning module determines a first index value, a second index value and a third index value according to the current working frequency band of the electronic equipment, searches for a first SIM card parameter from a preset tuning parameter table according to the first index value, searches for a second SIM card parameter from the preset tuning parameter table according to the second index value, searches for a second parameter set from the preset tuning parameter table according to the third index value, determines a first SIM card switch set of a first SIM card antenna, determines a second SIM card switch set of a second SIM card antenna, then determines a target tuning parameter according to the first SIM card parameter, the second parameter set, the first SIM card switch set and the second SIM card switch set, wherein the first SIM card parameter is a tuning parameter of each antenna switch in a plurality of antennas when transmitting signals in the third frequency band, the second SIM card parameter refers to a tuning parameter of each of the plurality of antennas that is switched when the antenna transmits a signal in the fourth frequency band, the first SIM card switch set includes a first SIM card switch including a switch connected to the first SIM card antenna and a switch connected to an antenna coupled to the first SIM card antenna, the second SIM card switch set includes a second SIM card switch including a switch connected to the second SIM card antenna and a switch connected to an antenna coupled to the second SIM card antenna, such that in an electronic device supporting DSDA mode, compared to the conventional method, the determined target tuning parameter is obtained while taking into consideration a tuning state of the third frequency band in which the first SIM card operates, a tuning state of the fourth frequency band in which the second SIM card operates, an aperture tuning switch associated with the first SIM card antenna, an aperture tuning switch associated with the second SIM card antenna, and a tuning parameter in the current operating frequency band, compared with the traditional method, the performance of the antenna is improved.
In a second aspect, an antenna tuning apparatus is provided comprising means for performing any of the methods of the first aspect. The device can be a server, terminal equipment or a chip in the terminal equipment. The apparatus may include an input unit and a processing unit.
When the apparatus is a terminal device, the processing unit may be a processor, and the input unit may be a communication interface; the terminal device may further comprise a memory for storing computer program code which, when executed by the processor, causes the terminal device to perform any of the methods of the first aspect.
When the device is a chip in the terminal device, the processing unit may be a processing unit inside the chip, and the input unit may be an output interface, a pin, a circuit, or the like; the chip may also include memory, which may be memory within the chip (e.g., registers, caches, etc.), or memory external to the chip (e.g., read-only memory, random access memory, etc.); the memory is for storing computer program code which, when executed by the processor, causes the chip to perform any of the methods of the first aspect.
In one possible implementation, the memory is used to store computer program code; a processor executing the computer program code stored in the memory, the processor, when executed, configured to perform: determining an index value according to the current working frequency band of the electronic equipment; obtaining a first parameter set and a second parameter set according to the index value and a preset tuning parameter table, wherein the first parameter set comprises tuning parameters of each antenna in a plurality of antennas in a first working state, the second parameter set comprises tuning parameters of each antenna in a plurality of antennas in a second working state, the first working state is a state of transmitting signals in a current working frequency band, the second working state is a state of receiving signals in the current working frequency band, and the tuning parameters are used for indicating the on state of a switch of each antenna in the plurality of antennas; determining a first switch set, wherein the first switch set comprises a switch of a first antenna and a switch of a second antenna, the first antenna is an antenna which is in a first working state at the current moment in a plurality of antennas, and the second antenna is an antenna which is mutually coupled with the first antenna in the plurality of antennas; and determining the target tuning parameter of the first antenna according to the first parameter set, the second parameter set and the first switch set.
In a third aspect, there is provided an electronic device comprising a processor for coupling with a memory and reading instructions in the memory and, in accordance with the instructions, causing the electronic device to perform the method of any one of the first aspects.
In a fourth aspect, there is provided a computer readable storage medium storing computer program code which, when run by an antenna tuning apparatus, causes the antenna tuning apparatus to perform any one of the antenna tuning methods of the first aspect.
In a fifth aspect, there is provided a computer program product comprising: computer program code which, when run by an antenna tuning device, causes the antenna tuning device to perform any one of the device methods of the first aspect.
Drawings
FIG. 1 is a schematic diagram of an aperture tuning suitable for use with the present application;
FIG. 2 is a schematic diagram of an aperture tuning switch suitable for use in the present application;
FIG. 3 is a schematic diagram of a hardware system suitable for use with the electronic device of the present application;
FIG. 4 is a schematic diagram of a software system suitable for use with the electronic device of the present application;
Fig. 5 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 6 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 7 is a schematic flow chart of an antenna tuning method according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a correspondence between index values and tuning parameters according to an embodiment of the present application;
fig. 9 is a schematic flow chart of another antenna tuning method according to an embodiment of the present application;
fig. 10 is a flowchart of another antenna tuning method according to an embodiment of the present application;
fig. 11 is a flowchart of another antenna tuning method according to an embodiment of the present application;
fig. 12 is a flowchart of another antenna tuning method according to an embodiment of the present application;
fig. 13 is a schematic diagram of an antenna tuning apparatus provided by the present application;
fig. 14 is a schematic diagram of an electronic device with antenna tuning provided by the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" means two or more than two.
The terms "first," "second," "third," and the like, are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", or a third "may explicitly or implicitly include one or more such feature.
For ease of understanding, the description of the concepts related to the embodiments of the application is given in part by way of example for reference.
1. Aperture tuning
For example, the aperture tuning may be applied to the application environment shown in fig. 1, where a set of switches for aperture tuning is added between the antenna and the ground, and the electronic components connected to the antenna are changed by conducting different switches in the aperture tuning switch, which is equivalent to changing the matching circuit of the antenna, and further changing the effective electrical length of the antenna, so as to adjust the resonant frequency of the antenna and match the current operating frequency of the electronic device.
It should be understood that the aperture tuning switch shown in fig. 1 is only an example and that in other embodiments of the application the aperture tuning switch may comprise more or fewer switches than shown in fig. 1.
2. Antenna logic look-up table
When the electronic equipment works in different frequency bands, the corresponding antenna can be called to work, wherein each antenna is connected with an aperture tuning switch. Because the states of the aperture tuning switches are different, the matching states of the corresponding antennas are different, so that in order to enable the antennas to keep good matching states in all frequency bands, the states of the aperture tuning switches corresponding to the antennas in different frequency bands are usually determined in a laboratory through a large number of experiments. As the number of antennas on the electronic device is increasing, in order to improve the performance of the electronic device, the states of the aperture tuning switches corresponding to the antennas used in different frequency bands are generally stored in an antenna logic lookup table, so as to facilitate the call of the electronic device.
There are typically a plurality of switches on one aperture tuning switch, and illustratively, as shown in fig. 2, the aperture tuning switch S0 includes 4 switches, namely, a switch K0, a switch K1, a switch K2, and a switch K3. Each switch is connected with an electronic element, and the matching circuit of the antenna can be changed by changing the conducting state of each switch, so that the resonant frequency of the antenna can be changed. The states of the aperture tuning switches are used to indicate the on-state of the respective switches. Wherein the state of the aperture tuning switch may be represented by a numerical value, and exemplary, the switch K0, the switch K1, the switch K2, and the switch K3 may be indicated by a numerical value of "0" as being in an on state; a value of "1" indicates that switch K0 is off, and switches K1, K2, and K3 are on; the value of "2" indicates that the switch K0 and the switch K1 are in an off state, and the switch K2 and the switch K3 are in an on state; the value of "3" indicates that the switch K0, the switch K1 and the switch K2 are in an off state, and the switch K3 is in an on state; … …; the value "14" indicates that the switch K0, the switch K1 and the switch K2 are in an on state, and the switch K3 is in an off state; the value "15" indicates that the switches K0, K1, K2 and K3 are all in the off state.
For example, an electronic device having 11 antennas, each corresponding to one or more aperture tuning switches, is illustrated, and the antenna logic look-up table may be shown in table 1.
TABLE 1
It should be understood that when the electronic device operates in different operating frequency bands, the matching states of the corresponding antennas are different. The matching state corresponding to the current operating frequency band can be found by looking up an antenna logic look-up table. The antenna logic look-up table is generally classified into an antenna logic index table when the antenna is in a transmitting state and an antenna logic index table when the antenna is in a receiving state. In one possible case, the antenna may also receive a signal when the antenna is in a state of transmitting the signal, and therefore, when setting the state of the aperture tuning switch of the transmitting state of the antenna, the matching state of the antenna when receiving the signal needs to be considered, and therefore, the state of the aperture tuning switch when the antenna is in the state of transmitting the signal is a state in which the transmitting signal and the receiving signal are combined. When the antenna is in a state of receiving a signal, the antenna will not normally transmit a signal, and therefore, when the antenna is in a state of receiving a signal, the state of the aperture tuning switch is usually only considered that the antenna is in a state of receiving a signal. In one possible case, the antenna cannot receive a signal when in a state of transmitting the signal, and therefore, when setting the state of the aperture tuning switch of the transmitting state of the antenna, it is unnecessary to consider the matching state of the antenna when in a state of receiving the signal.
At present, as functions integrated on electronic devices are more and more increased, the number of electronic devices arranged on the electronic devices is more and more increased. For example, the mobile phone can realize the function of a full screen, or the mobile phone adopts a multi-camera module, or the tablet personal computer uses a large battery, or the mobile phone adopts a large-area fingerprint identification function. These functions will result in higher and higher screen ratios and narrower borders for the electronic device. On the one hand, the increasingly larger battery, camera module and fingerprint identification module squeeze up the available space inside the electronic equipment, so that the antenna headroom in the electronic equipment is increasingly smaller, and simultaneously, the antenna size is continuously reduced, thereby leading to the reduction of the antenna efficiency. On the other hand, the narrower and narrower bezel results in a smaller and smaller distance between the antenna and the screen edge, resulting in further reduced antenna efficiency.
In addition, with the development of long term evolution (Long Term Evolution, LTE) and new wireless (5th Generation Mobile Communication Technology New Radio,5GNR) technologies, where LTE employs carrier aggregation (Carrier Aggregation, CA), 5GNR employs Multiple-Input Multiple-Output (MIMO) technology to achieve higher data rates. Both techniques require the simultaneous use of multiple antennas for signal transceiving. Meanwhile, non-cellular communication modules, such as wireless fidelity (Wireless Fidelity, wi-Fi), bluetooth, global positioning system (Global Position System, GPS), ultra Wideband (UWB), etc., also require additional antennas to be deployed on the electronic device. In summary, the number of antennas on electronic devices is increasing, and more antennas are required to be designed in smaller and smaller spaces, which means further downsizing of the antennas and further reduction of antenna efficiency.
In order to combat the reduced antenna efficiency due to the reduced antenna size and environmental changes, the electronic device may change the matching state of the antenna through the aperture tuning switch to perform antenna tuning. The electronic equipment can determine the state of each aperture tuning switch under the current working frequency band by searching an antenna logic lookup table, and set the conduction state of each switch in the aperture tuning switch according to the result obtained by searching so as to adjust the matching circuit of the antenna and change the resonant frequency of the antenna. However, as the number of antennas on the electronic device increases, there is mutual coupling between antennas with a relatively short distance, which results in that the matching state of the antennas cannot be adjusted to a better state according to the state of each aperture tuning switch found in the antenna logic lookup table, thereby resulting in poor performance of the antennas.
The antenna tuning method provided by the embodiment of the application aims to solve the problem of poor antenna performance in the traditional technology.
The antenna tuning method provided by the embodiment of the application can be applied to electronic equipment. Optionally, the electronic device includes a terminal device, which may also be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), and so on. The terminal device may be a mobile phone, a smart television, a wearable device, a tablet (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self-driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), or the like. The embodiment of the application does not limit the specific technology and the specific equipment form adopted by the terminal equipment.
By way of example, fig. 3 shows a schematic structural diagram of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like. In one possible scenario, more antennas may be included on the electronic device 100, for example, the wireless communication function of the electronic device 100 may also be implemented by antenna 0, antenna 1, antenna 2, antenna 3 … …, antenna 11. Wherein antenna 0, antenna 3, antenna 4, antenna 5, antenna 6, antenna 7, antenna 8, antenna 9, antenna 10 and antenna 11 are not shown in the figures.
How the wireless communication function is implemented is described below with reference to the inclusion of the antenna 1 and the antenna 2 on the electronic device 100.
The antennas 1 and 2 are for transmitting and receiving electromagnetic wave signals, for example. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), fifth generation wireless communication systems (5G,the 5th Generation of wireless communication system), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
It should be noted that any of the electronic devices mentioned in the embodiments of the present application may include more or fewer modules in the electronic device 100.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 4 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present application.
The layered architecture of the electronic device 100 divides the software into several layers, each with a distinct role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 4, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 4, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio video encoding formats, such as: MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The kernel layer at least comprises a display driver, a camera driver, an audio driver, a sensor driver, a Wi-Fi driver and the like.
It should be noted that, the electronic device according to the embodiment of the present application may include more or fewer modules in the electronic device.
The application scenario provided by the embodiment of the application is described below with reference to the accompanying drawings.
As more and more functions are integrated on electronic devices, the number of antennas on electronic devices is increasing. Illustratively, as shown in (a) of fig. 5, the electronic device includes 12 antennas, which are respectively antenna 0, antenna 1, antenna 2, antenna 3, antenna 4, antenna 5, antenna 6, antenna 7, antenna 8, antenna 9, antenna 10, and antenna 11. Each antenna is connected with an aperture tuning switch, each aperture tuning switch comprises a plurality of switches, each switch is connected with an electronic element, and the matching circuit of the antenna can be changed by changing the conduction state of the switch. Illustratively, as shown in (b) of fig. 5, the antenna 1 is connected to an aperture tuning switch 0, which includes a switch K0, a switch K1, a switch K2, and a switch K3 thereon. The switch K0 is connected to the inductor L1, the switch K1 is connected to the capacitor C1, the switch K2 is connected to the ground, and the switch K3 is connected to the capacitor C2. The electronic equipment can change the matching circuit of the antenna 0 by changing the conduction states of the switch K0, the switch K1, the switch K2 and the switch K3, so as to change the resonant frequency of the antenna 0 and improve the performance of the antenna 0.
In general, as shown in fig. 6, an electronic device may include a modem, a radio frequency chip, a radio frequency front end circuit, an antenna tuning module, a plurality of antennas, and aperture tuning switches corresponding to the respective antennas. The antenna tuning module obtains the working frequency band or frequency band combination of the antenna at the current moment from the modem and/or the radio frequency chip, searches for the state information of each aperture tuning switch from the antenna logic index table according to the working frequency band at the current moment, and then obtains the state of the final aperture tuning switch according to the state information of each aperture tuning switch obtained by coupling the antenna with the antenna at the current moment and searching. After the final aperture tuning switch state is obtained, the antenna tuning module adjusts each aperture tuning switch according to the final aperture tuning switch state. Wherein the antenna logic index table is typically stored in the antenna tuning module.
It should be understood that the foregoing is illustrative of an application scenario, and is not intended to limit the application scenario of the present application in any way.
The antenna tuning method provided by the embodiment of the present application is described in detail below with reference to fig. 7 to 12.
Fig. 7 is a flow chart of an antenna tuning method according to an embodiment of the present application, as shown in fig. 7, where the method includes:
S101, determining an index value according to the current working frequency band of the electronic equipment.
As shown in fig. 6, the antenna tuning module in the electronic device may determine the index value according to the current operating frequency band of the electronic device. The antenna tuning module may obtain the current operating frequency band of the electronic device from the modem and/or the radio frequency chip. For example, the antenna tuning module may obtain first information from the modem, where the first information includes a current operating frequency band of the electronic device. Or the antenna tuning module may receive second information sent by the radio frequency chip, where the second information may be used to indicate a current operating frequency band of the electronic device.
The antenna logic index table (i.e., a preset tuning parameter table) is a state (may be called a tuning parameter) of an aperture tuning switch corresponding to different working frequency bands, which is determined according to multiple tests in a laboratory, and after the tuning parameters corresponding to the different working frequency bands are determined, the tuning parameters are stored in the antenna logic index table, and an index value is set for each tuning parameter. Since the tuning parameters correspond to the operating frequency bands, the operating frequency bands correspond to the index values. After the current working frequency band of the electronic equipment is obtained, an index value for searching tuning parameters corresponding to the current working frequency band in an antenna logic index table can be obtained according to the corresponding relation between the working frequency band and the index value.
It should be appreciated that the electronic device may correspond to the same tuning parameters over different operating frequency bands, which may result in the number of tuning parameters in the antenna logic index table being less than the number of operating frequency bands of the electronic device.
For example, as shown in fig. 8, the index values corresponding to the operating frequency band 0 and the operating frequency band 2 are both index value 0, and the index value 0 corresponds to the tuning parameter 0, that is, when the electronic device operates in the operating frequency band 0 and the operating frequency band 2, the states of the corresponding aperture tuning switches are the same, and are the states of the aperture tuning switches indicated by the tuning parameter 0. Similarly, the index values corresponding to the working frequency band 1 and the working frequency band 3 are both index value 1, and the index value 1 corresponds to the tuning parameter 1, that is, when the electronic device works in the working frequency band 1 and the working frequency band 3, the states of the corresponding aperture tuning switches are the same, and are the states of the aperture tuning switches indicated by the tuning parameter 1. The index value corresponding to the working frequency band N is an index value K, and the index value K corresponds to the tuning parameter K, namely, when the electronic equipment works on the working frequency band K, the state of the aperture tuning switch is the state of the aperture tuning switch indicated by the tuning parameter K.
S102, obtaining a first parameter set and a second parameter set according to the index value and a preset tuning parameter table.
The preset tuning parameter table may refer to an antenna logic index table, and the first parameter set refers to a set of tuning parameters of all aperture tuning switches on the electronic device when each antenna in the plurality of antennas transmits signals (corresponding to a first working state) in a current working frequency band, where the tuning parameters are used to indicate a conducting state of each switch in the aperture tuning switches. It should be understood that when an antenna transmits a signal, there is often a possibility of receiving the signal, so the antenna transmits the tuning parameter of the aperture tuning switch corresponding to the signal, and the situation that the antenna is in the receiving state needs to be considered. That is, the first parameter set is the on state of the aperture tuning switch in a state where the antenna transmits and receives signals simultaneously. The second parameter set refers to a set of tuning parameters of all aperture tuning switches on the electronic device when each antenna of the plurality of antennas receives only signals (corresponding to the second operating state) in the current operating frequency band.
It should be understood that the antenna logic look-up table (i.e., the preset tuning parameter table) is generally divided into an antenna logic index table when the antenna is in a transmitting state and an antenna logic index table when the antenna is in a receiving state. When the antenna is in a state of transmitting a signal, the antenna is also likely to receive a signal, and therefore, when tuning parameters of the transmitting state of the antenna are set, it is also necessary to consider the matching state of the antenna in a state of receiving a signal, that is, the tuning parameters when the antenna is in a state of transmitting a signal are tuning parameters that integrate the state of transmitting a signal and the state of receiving a signal. Since the antenna does not normally transmit a signal when the antenna is in a state of receiving a signal, the tuning parameter when the antenna is in a state of receiving a signal is generally considered only for the tuning parameter when the antenna is in a state of receiving a signal.
The antenna tuning module marks tunerdidx according to the index value obtained in S101. A first set of parameters is found from an antenna logic index table when the antenna is in a transmitting state, which may be denoted T tunerdidx. And according to the same index value, searching from an antenna logic index table when the antenna is in a receiving state to obtain a second parameter set, wherein the second parameter set can be marked as R [ tunerIdx ].
By way of example, table 1 is illustrated as a logical index table when the antenna is in a transmitting state. The index value obtained according to the current working frequency band is 0, and the first parameter set obtained according to the index value 0 and the antenna logic index table is:
S0 S1 S2 S3 S4 S5 S6 S7 S8 S9 S10
9 1 3 6 4 7 5 6 4 3 2
s103, determining a first switch set.
The first switch set comprises a first switch, the first switch comprises a switch connected with a first antenna and a switch connected with a second antenna, the first antenna is an antenna used for transmitting signals at the current moment, and the second antenna comprises an antenna mutually coupled with the first antenna.
As the number of antennas arranged on the electronic device is increasing, each antenna can change the electrical length of the antenna through aperture tuning, and adjust the resonant frequency, the number of aperture tuning switches in the electronic device is also increasing. Thus, the electronic device may label each aperture tuning switch, assign a value to a different labeled aperture tuning switch, "0" indicating that the aperture tuning switch is not in use, and "1" indicating that the aperture tuning switch is on. And assigning values to the aperture tuning switches with different labels to form a group of vectors, namely switch vectors. The electronic device can adjust the resonant frequency of the antenna by changing the values in the switch vector and controlling the on state of the aperture tuning switch.
As shown in fig. 5 (a), the electronic device includes 12 antennas, namely, antenna 0, antenna 1, antenna 2, and antenna 3, … …, 11. Wherein, antenna 0 is connected with aperture tuning switch S0, antenna 1 is connected with aperture tuning switch S1, antenna 2 is connected with aperture tuning switch S2, antenna 3 is connected with aperture tuning switch S3, … … antenna 11 is connected with aperture tuning switch S11.
The switch vector may be as shown in table 2 and may be used to indicate whether the aperture tuning switch is enabled. Where "0" indicates that the aperture tuning switch is not enabled and "1" indicates that the aperture tuning switch is enabled.
TABLE 2
S0 S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11
1 0 0 1 0 0 0 0 0 0 1 0
The switch vectors shown in table 2 indicate that the aperture tuning switch S0, the aperture tuning switch S3, and the aperture tuning switch S10 are in the activated state, and the other switches are in the deactivated state.
The first set of switches may refer to a set of first switches indicated in a first switching vector, the first switches may refer to an aperture tuning switch connected to a first antenna and an aperture tuning switch connected to a second switch, wherein the second antenna refers to an antenna that is mutually coupled with the first antenna in a current operating frequency band.
For example, continuing to take (a) in fig. 5 as an example, when the antenna in the electronic device in the state of transmitting a signal at the present moment is antenna 0, the first antenna refers to antenna 0. The working frequency band of the antenna 11 is the same as that of the antenna 0, and the distance between the antenna 11 and the antenna 0 is smaller than a preset threshold value, and the antenna 11 and the antenna 0 are mutually coupled. The distance between the antenna 1 and the antenna 0 is smaller than the preset threshold, but the operating frequency band of the antenna 1 is different from that of the antenna 0 and has a larger difference, so that the antenna 1 and the antenna 0 are not coupled. The operating frequency band of the antenna 6 is the same as that of the antenna 0, but the distance between the antenna 6 and the antenna 0 is far and is larger than the preset threshold, so that the antenna 6 and the antenna 0 are not coupled. That is, the first antenna is antenna 0, and the second antenna is antenna 11.
It should be appreciated that when an electronic device is operating in different operating frequency bands, the corresponding switching vectors are typically different. When the electronic equipment works in the same frequency band, the switching vector also changes when the antenna which is currently used is switched.
S104, determining target tuning parameters of the first antenna according to the first parameter set, the second parameter set and the first switch set.
The target tuning parameter of the first antenna may refer to an on state of an aperture tuning switch corresponding to the first antenna, and when the on state of the aperture tuning switch corresponding to the first antenna is set as the target tuning parameter, the performance of the first antenna is optimal.
It should be appreciated that, due to interactions between antennas in an electronic device, the target tuning parameter of the first antenna may include the on state of the aperture tuning switch corresponding to the first antenna. Alternatively, the target tuning parameter of the first antenna may include a conductive state of an aperture tuning switch corresponding to the first antenna, and a conductive state of an aperture tuning switch corresponding to the second antenna.
The antenna tuning method provided by the embodiment of the application is applied to electronic equipment, the electronic equipment comprises a plurality of antennas, wherein each antenna in the plurality of antennas is connected with a corresponding tuning circuit through a switch, and the method comprises the following steps: determining an index value according to the current working frequency band of the electronic equipment; according to the index value and a preset tuning parameter table, a first parameter set and a second parameter set are obtained, wherein the first parameter set comprises tuning parameters of each antenna in a plurality of antennas in a first working state, the second parameter set comprises tuning parameters of each antenna in a plurality of antennas in a second working state, the first working state is a state of transmitting signals in a current working frequency band, the second working state is a state of receiving signals in the current working frequency band, and under a possible condition, the electronic equipment can simultaneously transmit and receive signals, so that the first working state can refer to a state of simultaneously receiving and transmitting signals in the current working frequency band. The tuning parameter is used for indicating the conducting state of a switch of each antenna in the plurality of antennas; determining a first switch set, wherein the first switch set comprises a switch of a first antenna and a switch of a second antenna, the first antenna is an antenna which is in a first working state at the current moment in a plurality of antennas, and the second antenna is an antenna which is mutually coupled with the first antenna in the plurality of antennas; the target tuning parameters of the first antenna are determined according to the first parameter set, the second parameter set and the first switch set, and the tuning parameters of the first antenna and the tuning parameters of the second antenna which are mutually coupled with the first antenna are obtained according to the switch of the first antenna and the switch of the second antenna which is mutually coupled with the first antenna and the tuning parameter set (the first parameter set) which indicates the transmitting state and the tuning parameter set (the second parameter set) which indicates the receiving state in the process of determining the target tuning parameters of the first antenna, so that the tuning parameters of the first antenna and the tuning parameters of the second antenna which are mutually coupled with the first antenna are comprehensively considered in the process of determining the target tuning parameters of the first antenna, and compared with the traditional method, the performance of the antenna in the electronic equipment can be improved.
In one possible scenario, the electronic device is an electronic device supporting a single card mode, and the target tuning parameter of the first antenna may be obtained through a first formula. Described in detail below by way of the embodiment shown in fig. 9.
Fig. 9 is a flow chart of another antenna tuning method according to an embodiment of the present application, as shown in fig. 9, the method includes:
s201, the antenna tuning module determines an index value according to the current working frequency band of the electronic equipment.
S202, the antenna tuning module obtains a first parameter set and a second parameter set according to the index value and a preset tuning parameter table.
The preset tuning parameter table may refer to an antenna logic index table, and the first parameter set refers to a set of tuning parameters of all aperture tuning switches on the electronic device when each antenna in the plurality of antennas transmits signals (corresponding to a first working state) in a current working frequency band, where the tuning parameters are used to indicate a conducting state of each switch in the aperture tuning switches. It should be understood that when an antenna transmits a signal, there is often a possibility of receiving the signal, so the antenna transmits the tuning parameter of the aperture tuning switch corresponding to the signal, and the situation that the antenna is in the receiving state needs to be considered. That is, the first parameter set is the on state of the aperture tuning switch in a state where the antenna transmits and receives signals simultaneously. The second parameter set refers to a set of tuning parameters of all aperture tuning switches on the electronic device when each antenna of the plurality of antennas receives only signals (corresponding to the second operating state) in the current operating frequency band.
The antenna logic index table is stored in the antenna tuning module, and after the antenna tuning module determines the index value, the antenna logic index table stored in the antenna tuning module can be called, and the first parameter set and the second parameter set are searched from the antenna logic index table.
S203, determining a first switch set.
The first switch set comprises a first switch, the first switch comprises a switch connected with a first antenna and a switch connected with a second antenna, the first antenna is an antenna used for transmitting signals at the current moment, and the second antenna comprises an antenna mutually coupled with the first antenna. As the number of antennas arranged on the electronic device is increasing, each antenna can change the electrical length of the antenna through aperture tuning, and adjust the resonant frequency, the number of aperture tuning switches in the electronic device is also increasing. Thus, the electronic device may label each aperture tuning switch, assign a value to a different labeled aperture tuning switch, "0" indicating that the aperture tuning switch is not in use, and "1" indicating that the aperture tuning switch is on. And assigning values to the aperture tuning switches with different labels to form a group of vectors, namely switch vectors. The first set of switches may refer to a set of first switches indicated in the first switch vector.
S204, determining a target tuning parameter according to the first parameter set, the second parameter set, the first switch vector and the first formula.
Wherein the first formula comprises:
wherein, the liquid crystal display device comprises a liquid crystal display device,representing the target tuning parameters->Representing a second set of parameters->A first set of parameters is represented and,representing a first set of switches,/->Representing the Hadamard product operation.
It should be understood that the number of the devices,representing a first set of switches, i.e. comprising the current instant of timeThe switch of the first antenna that emits the signal, and a switch corresponding to a second antenna coupled to the first antenna,>then it corresponds to a switch corresponding to the other antenna that is not coupled to the first antenna at the current time.
The antenna tuning method provided by the embodiment of the application is applied to electronic equipment which supports a single-card mode, and comprises a plurality of antennas, wherein each antenna in the plurality of antennas is connected with a corresponding tuning circuit through a switch, and the method comprises the following steps: determining an index value according to the current working frequency band of the electronic equipment; obtaining a first parameter set and a second parameter set according to the index value and a preset tuning parameter table, wherein the first parameter set comprises tuning parameters of each antenna in a plurality of antennas in a first working state, the second parameter set comprises tuning parameters of each antenna in a plurality of antennas in a second working state, the first working state is a state of transmitting signals in a current working frequency band, the second working state is a state of receiving signals in the current working frequency band, and the tuning parameters are used for indicating the on state of a switch of each antenna in the plurality of antennas; determining a first switch set, wherein the first switch set comprises a switch of a first antenna and a switch of a second antenna, the first antenna is an antenna which is in a first working state at the current moment in a plurality of antennas, and the second antenna is an antenna which is mutually coupled with the first antenna in the plurality of antennas; determining a target tuning parameter of the first antenna according to the first parameter set, the second parameter set, the first switch set and a first formula, wherein the first formula comprises: Representing the target tuning parameters->Representing a second set of parameters->Representing a first set of parameters->Representing a first set of switches,/->Representing the Hadamard product operation. The target tuning parameters corresponding to the first antenna are selected from a tuning parameter set (a first parameter set) in a transmitting state, tuning parameters corresponding to a first antenna transmitting signals at the current moment and a second antenna mutually coupled with the first antenna are selected as tuning parameters in the transmitting state of the electronic equipment, tuning parameters corresponding to other antennas receiving signals at the current moment are selected from a tuning parameter set (a second parameter set) in a receiving state and are used as tuning parameters in the receiving state of the electronic equipment, and the process of determining the target tuning parameters corresponding to the first antenna is achieved according to a switch of the first antenna and a switch of the second antenna mutually coupled with the first antenna, and the tuning parameter set (the first parameter set) in the transmitting state and the tuning parameter set (the second parameter set) in the receiving state are indicated.
In a possible case, the electronic device is an electronic device supporting a dual-card dual-standby (Dual Receive Dual SIM Dual Standby, DR-DSDS) mode, where the electronic device includes a main card interface and a sub-card interface, the main card interface is configured to communicate with a main card, the sub-card interface is configured to communicate with a sub-card, a current operating frequency band includes a first frequency band and a second frequency band, the main card operating frequency band is the first frequency band, the sub-card operating frequency band is the second frequency band, the index value includes a main card index value and a sub-card index value, the main card index value is an index value of the first frequency band, the sub-card index value is an index value of the second frequency band, the first parameter set includes a first main card parameter, the second parameter set includes a second main card parameter and a second sub-card parameter, the first main card parameter is a tuning parameter of a switch when each antenna in the plurality of antennas transmits signals in the first frequency band, and the second main card parameter is a tuning parameter of a switch when each antenna in the plurality of antennas receives signals in the first frequency band; the second sub-card parameter is a tuning parameter of a switch of each antenna in the plurality of antennas when the antenna receives signals in the second frequency band. How to determine the target tuning parameters of the first antenna in the case where the electronic device is an electronic device supporting the DR-DSDS mode is described in detail below with reference to fig. 10.
Fig. 10 is a flow chart of an antenna tuning method according to another embodiment of the present application, as shown in fig. 10, the method includes:
s301, the antenna tuning module determines a main card index value and a sub card index value according to the current working frequency band of the electronic equipment.
The current working frequency band of the electronic equipment comprises a first frequency band and a second frequency band, wherein the first frequency band is the working frequency band of the main card, and the second frequency band is the working frequency band of the auxiliary card, so that the index value corresponding to the first frequency band is the main card index value and is marked as tunerIdx0. The index value corresponding to the second frequency band is a sub-card index value and is marked as tunerIdx1.
S302, searching from a preset tuning parameter table according to the main card index value to obtain a first main card parameter and a second main card parameter.
The first main card parameter is a tuning parameter of a switch when each antenna of the plurality of antennas transmits signals in a first frequency band, and the second main card parameter is a tuning parameter of a switch when each antenna of the plurality of antennas receives signals in the first frequency band.
S303, searching a second auxiliary card parameter from a preset tuning parameter table according to the auxiliary card index value.
The second sub-card parameter is a tuning parameter of a switch when each antenna in the plurality of antennas receives signals in a second frequency band.
S304, determining a first switch set.
S305, obtaining a first main card tuning parameter according to the first main card parameter, the second main card parameter and the first switch set.
The first main card tuning parameter can be obtained through the first main card parameter, the second main card parameter, the first switch set and the formula (1).
Wherein, the liquid crystal display device comprises a liquid crystal display device,representing the first main card tuning parameter,/and->Representing the second main card parameter->Representing a first primary card parameter that is associated with the primary card,representing a first set of switches,/->Representing the Hadamard product operation. />
S306, obtaining target tuning parameters according to the first main card tuning parameters and the second auxiliary card parameters.
Alternatively, the step S306 may be implemented through a step shown in fig. 11, where, as shown in fig. 11, a possible implementation method of S306 "obtaining the target tuning parameter according to the first main card tuning parameter and the second sub-card parameter" includes:
S306A, antenna switching (transmit antenna switch, TAS) status information of the electronic device is acquired.
Wherein the TAS information is used to indicate the antenna that transmitted the signal at the current time.
S306B, determining a third antenna corresponding to the auxiliary card according to the TAS information.
Since the sub-card is usually in a state of receiving signals, the third antenna means an antenna that receives signals at the current time. The TAS information indicates an antenna transmitting a signal at the current time, and the antenna not indicated in the TAS signal is the third antenna.
S306C, determining a second switch set.
Wherein the second set of switches comprises a second switch comprising a switch connected to a third antenna and a switch connected to a fourth antenna comprising an antenna of the plurality of antennas that is coupled to the third antenna.
S306D, obtaining target tuning parameters according to the first main card tuning parameters, the second auxiliary card parameters and the second switch set.
In one possible scenario, the electronic device may obtain the target tuning parameter directly from the first main card tuning parameter, the second sub-card parameter, and the second switch set.
For example, the target tuning parameters may be derived from equation (2), the first main card tuning parameter, the second sub-card parameter, and the second switch set. Wherein, formula (2) includes:
wherein, the liquid crystal display device comprises a liquid crystal display device,representing the target tuning parameters->Representing the first main card tuning parameter,/and->Representing an adjusted second set of switches, < >>Representing a second card parameter->Representation of progressHadamard product operation.
In the embodiment of the application, since the first switch set and the second switch set have no intersection, the first antenna in the signal transmitting state and the second antenna in the receiving state can respectively determine the corresponding tuning parameters, that is, the determined target tuning parameters respectively consider the tuning parameters of the first antenna and the tuning parameters of the second antenna, and the performance of the first antenna or the second antenna is not required to be sacrificed, so that the performance of the electronic equipment adopting the target tuning parameters is better.
In one possible case, the electronic device may further adjust the second switch set to obtain an adjusted second switch set, and then obtain the target tuning parameter according to the first main card tuning parameter, the second sub-card parameter, and the adjusted second switch set.
In the process of adjusting the second switch set to obtain the adjusted second switch set, the second switch set may be adjusted by using a target adjustment policy, where the target adjustment policy is an adjustment policy obtained based on the first switch set and the second switch set.
In one possible case, under the condition that the first switch set and the second switch set have an intersection, the number of antennas corresponding to the auxiliary card can be determined first, and then, how to adjust the second switch set is determined according to the third antenna corresponding to the auxiliary card.
For example, when the number of the third antennas corresponding to the sub-cards is 1, it is indicated that only one antenna is receiving signals at the current moment, so that the second switch set is directly used as the adjusted second switch set without adjusting the second switch set. And obtaining the target tuning parameter according to the first main card tuning parameter, the second auxiliary card parameter, the adjusted second switch set and the formula (3) (namely, the third formula). Wherein the third formula comprises:
Wherein, the liquid crystal display device comprises a liquid crystal display device,representing the target tuning parameters->Representing the first main card tuning parameter,/and->Representing an adjusted second set of switches, < >>Representing a second card parameter->Representing the Hadamard product operation.
For example, when the number of the third antennas corresponding to the sub-cards is greater than 1, it is indicated that there are multiple antennas receiving signals at the current moment, so it is further needed to determine whether the second switch set needs to be adjusted.
Alternatively, the electronic device may determine whether to adjust the second switch set by determining the strength of the received reference signal of the antenna (fifth antenna) corresponding to the main card. The fifth antenna is an antenna used by the electronic device to transmit signals through the main card, and the received reference signal is used to indicate the signal strength received by the fifth antenna.
In one possible case, when the received reference signal of the fifth antenna is smaller than the preset threshold, it may be further determined whether there is an intersection between the second switch set and the first switch set of each third antenna.
If yes, the target tuning parameters can be obtained according to the formula (2), the first main card tuning parameters, the second auxiliary card parameters and the second switch set.
In the antenna tuning method provided in the embodiment of the application, in the case that a plurality of third antennas exist, the third antennas refer to antennas in a state of receiving signals at the current moment, that is, in the case that a plurality of antennas in a state of receiving signals exist at the current moment, the signal intensity of a fifth antenna in a state of transmitting signals at the current moment can be further determined, in the case that the signal intensity of the received signals of the fifth antenna is smaller than a preset threshold, in the case that an intersection exists between a second switch set of each third antenna and the first switch set, the corresponding tuning parameters of the first antenna in a state of transmitting signals and the second antenna in a state of receiving signals can be respectively obtained, in the case that the signal intensity of a received reference signal of the fifth antenna is smaller than the preset threshold, the tuning parameters of the first antenna and the tuning parameters of the second antenna can be respectively determined, that the determined target tuning parameters are respectively considered, and the tuning parameters of the first antenna and the second antenna are not sacrificed, or the performance of the first antenna and the second antenna are not sacrificed, and the electronic device is enabled.
If not, the second switch set may be adjusted according to the formula (4) (second formula), to obtain an adjusted second switch set. Wherein the second formula comprises:
wherein, the liquid crystal display device comprises a liquid crystal display device,representing an adjusted second set of switches, < >>Representing a second set of switches,/->Representing a first set of switches,/->Representing the Hadamard product operation. And then obtaining target tuning parameters according to the formula (3), the first main card tuning parameters, the adjusted second switch set and the second auxiliary card parameters.
In the antenna tuning method provided in the embodiment of the application, in the case that a plurality of third antennas exist, the third antennas refer to antennas in a receiving signal state at the current moment, that is, in the case that a plurality of antennas in a receiving signal state exist at the current moment, the signal intensity of a fifth antenna in a transmitting signal state at the current moment can be further determined, in addition, in the case that the signal intensity of a receiving reference signal of the fifth antenna is smaller than a preset threshold, and in the case that an intersection exists between a second switching set of each third antenna and a first switching set, the second switching set is adjusted, then a target tuning parameter is obtained according to a first main card tuning parameter, a second sub-card parameter and an adjusted second switching set, that is, the signal intensity of a receiving reference signal of the fifth antenna is larger than a preset threshold, and is equivalent to the strong signal environment of the fifth antenna, in the electronic device, the switching set corresponding to the antenna of the receiving signal exists an antenna, and in the electronic device, does not intersect with the transmitting antenna corresponding to the transmitting antenna, so that the second switching set can be subjected to the second switching set, in the electronic device, the performance of the electronic device is improved, in the case that the corresponding to the receiving antenna of the receiving antenna is not subjected to the second switching set, and the electronic device has the corresponding to the corresponding antenna, and the receiving antenna is not subjected to the intersection between the second switching set and the second switching set, and the antenna is subjected to the corresponding to the electronic device, and the performance is improved by the antenna is improved because the antenna is not subjected to the corresponding to the antenna, and the antenna is subjected to the corresponding to the receiving antenna set, without sacrificing the performance of the receiving antenna.
The first antenna in a transmitting signal state and the second antenna in a receiving state can be respectively obtained to respectively determine the corresponding tuning parameters, and because the signal strength of the received reference signal of the fifth antenna is smaller than the preset threshold value, the current moment of the fifth antenna is in a weak signal environment, the tuning parameters of the first antenna and the tuning parameters of the second antenna can be respectively determined, and then the target tuning parameters are determined according to the tuning parameters of the first antenna and the tuning parameters of the second antenna, that is, the determined target tuning parameters respectively consider the tuning parameters of the first antenna and the tuning parameters of the second antenna, and the performance of the first antenna or the second antenna is not required to be sacrificed, so that the performance of the electronic equipment adopting the target tuning parameters is better.
In a possible case, when the received reference signal of the fifth antenna is greater than the preset threshold, the second switch set may be directly used as the adjusted second switch set, and then the target tuning parameter is obtained according to the above formula (3), the first main card tuning parameter, the second sub-card parameter and the adjusted second switch set.
The antenna tuning method provided by the embodiment of the application is applied to electronic equipment supporting DR-DSDS mode, the electronic equipment comprises a plurality of antennas, each antenna in the plurality of antennas is connected with a corresponding tuning circuit through a switch, the electronic equipment further comprises a main card interface and a sub card interface, the main card interface is used for communicating with the main card, and the sub card interface is used for communicating with the sub card, and the method comprises the following steps: the antenna tuning module determines a main card index value and a sub card index value according to the current working frequency band of the electronic equipment, searches a preset tuning parameter table according to the main card index value to obtain a first main card parameter and a second main card parameter, searches a preset tuning parameter table according to the sub card index value to obtain a second sub card parameter, obtains a first main card tuning parameter according to the first main card parameter, the second main card parameter and a first switch set, and obtains a target tuning parameter according to the first main card tuning parameter and the second sub card parameter, wherein, because an antenna connected with the main card is used for transmitting signals, the antenna connected with the sub card can be used for receiving signals by acquiring the first main card parameter and the second main card parameter, the antenna connected with the sub card can acquire a second sub card parameter, and then obtains the target tuning parameter according to the second sub card parameter and the first main card tuning parameter; the second sub-card parameter is a tuning parameter of each antenna of the plurality of antennas which is switched when receiving signals in the second frequency band, so that in the process of obtaining the target tuning parameter, a tuning parameter set (a first main card parameter) indicating a transmitting state of the main card, a tuning parameter set (a second main card parameter) indicating a receiving state of the sub-card and a tuning parameter set (a second sub-card parameter) indicating a receiving state of the sub-card are considered to obtain.
In one possible case, the electronic device is an electronic device supporting a dual-card dual-standby (Dual SIM dual active, DSDA) mode, where the electronic device includes a first Subscriber Identity Module (SIM) interface and a second SIM interface, the first SIM interface communicates with the first SIM, the second SIM interface communicates with the second SIM, the current operating frequency band includes a third frequency band and a fourth frequency band, the operating frequency band of the first SIM is the third frequency band, the operating frequency band of the second SIM is the fourth frequency band, the index value includes a first index value, a second index value and a third index value, the first index value is an index value of a frequency band occupied by a signal transmitted according to the first SIM in the third frequency band, the second index value is an index value of a frequency band occupied by a signal transmitted by the second SIM in the fourth frequency band, the third index value is an index value of a frequency band occupied by a signal received in the current operating frequency band, the first parameter set includes a first SIM parameter and a second SIM parameter, the first parameter refers to a switch parameter of each antenna in the multiple antennas when each antenna in the third frequency band transmits a signal, and the first parameter refers to a tuning parameter of each antenna in the fourth antenna. How the target tuning parameters of the first antenna are determined in the case where the electronic device is a DSDA mode enabled electronic device is described in detail below with reference to fig. 12.
Fig. 12 is a flow chart of an antenna tuning method according to another embodiment of the present application, as shown in fig. 12, the method includes:
s401, the antenna tuning module acquires a first index value, a second index value and a third index value according to the current working frequency band.
The first index value is an index value of a frequency band occupied by the first SIM card transmitting signals in the third frequency band, and may be denoted as tunerdidxtx 0; the second index value is an index value of a frequency band occupied by the second SIM card transmitting signals in the fourth frequency band and can be recorded as tunerdidxtx 1; the third index value is an index value of a frequency band occupied by the received signal in the current working frequency band, and can be recorded as tunerdidxrx.
S402, searching from a preset tuning parameter table according to the first index value to obtain a first SIM card parameter.
The preset tuning parameter table is an antenna logic index table. Because the first index value is the index value of the frequency band occupied by the first SIM card transmitting signals in the third frequency band, the first SIM card parameter searched from the antenna logic index table according to the first index value is obtained from the antenna logic index table in the transmitting state and is recorded as
S403, searching from a preset tuning parameter table according to the second index value to obtain a second SIM card parameter.
The preset tuning parameter table is an antenna logic index table. Since the second index value is the index value of the frequency band occupied by the second SIM card transmitting signals in the fourth frequency band, the antenna is logically indexed according to the second index valueThe second SIM card parameter obtained by searching in the table is obtained from the antenna logic index table when in transmitting state, and is recorded as
S404, searching from a preset tuning parameter table according to the third index value to obtain a second parameter set.
The preset tuning parameter table is an antenna logic index table. Because the third index value is the index value of the frequency band occupied by the received signal in the current working frequency band, the second parameter set obtained by searching from the antenna logic index table according to the third index value is obtained from the antenna logic index table in the transmitting state and is recorded as
The antenna tuning method provided by the embodiment of the application is applied to electronic equipment supporting DSDA modes, the antenna tuning module obtains a first index value, a second index value and a third index value according to the current working frequency band, the first index value is searched from a preset tuning parameter table according to the first index value to obtain a first SIM card parameter, the second index value is searched from the preset tuning parameter table according to the second index value to obtain a second parameter set, the first index value is an index value of a frequency band occupied by a first SIM card transmitting a signal in a third frequency band, the second index value is an index value of a frequency band occupied by a second SIM card transmitting a signal in a fourth frequency band, the third index value is an index value of a frequency band occupied by a receiving signal in the current working frequency band, so that the first SIM card parameter obtained according to the first index value is a tuning parameter of a third frequency band of the first SIM card working, the second index value is a fourth frequency band of the second SIM card working according to the second index value, the second index value is a tuning parameter of the second SIM card working, the second SIM card parameter obtained according to the second index value is a second frequency band of the second SIM card working, the second SIM card working condition is more accurately determined according to the second SIM card tuning parameter set, the second SIM card is more accurately indicated to the second SIM card working condition, the second SIM card working condition is more accurately obtained in the current condition, and the second SIM card working condition is more than the second SIM condition is more accurately indicated by the second parameter set, and can be more accurately indicated by the second condition set and more than the first condition and has the second parameter set and more than the second parameter condition parameters, further improving the performance of the antenna in the electronic device.
S405, determining a first SIM card switch set of the first SIM card antenna.
The first antenna in the state of transmitting signals at the current moment may include a first SIM card antenna and a second SIM card antenna. The first SIM card antenna may refer to an antenna used to transmit signals through the first SIM card at the current time. The antenna tuning module may obtain TAS information from the modem and/or the radio frequency chip, and then determine the first SIM card antenna according to the TAS information.
The first SIM card switch set comprises a first SIM card switch, and the first SIM card switch comprises a switch connected with a first SIM card antenna and a switch connected with an antenna coupled with the first SIM card antenna.
S406, determining a second SIM card switch set of the second SIM card antenna.
The second SIM card antenna may refer to an antenna used to transmit a signal through the second SIM card at the current moment. The antenna tuning module may obtain TAS information from the modem and/or the radio frequency chip and then determine the second SIM card antenna based on the TAS information.
Wherein the second set of SIM card switches includes a second SIM card switch including a switch connected to the second SIM card antenna and a switch connected to an antenna coupled to the second SIM card antenna.
S407, determining target tuning parameters according to the first SIM card parameters, the second parameter set, the first SIM card switch set and the second SIM card switch set.
The antenna tuning module may determine the target tuning parameter according to a first SIM card parameter, a second parameter set, a first SIM card switch set, a second SIM card switch set, and formula (5) (a fourth formula), where the fourth formula includes:
wherein, the liquid crystal display device comprises a liquid crystal display device,representing the target tuning parameters->Representing a second set of parameters->Representing a first set of SIM card switches, < >>Representing a second set of SIM card switches, +.>Representing the first SIM card parameter,/a>Representing the second SIM card parameters->Representing the Hadamard product operation.
The antenna tuning method provided by the embodiment of the application is applied to an electronic device supporting a DSDA mode, the electronic device comprises a plurality of antennas, each antenna in the plurality of antennas is connected with a corresponding tuning circuit through a switch, the electronic device further comprises a first Subscriber Identity Module (SIM) card interface and a second SIM card interface, the first SIM card interface is communicated with a first SIM card, the second SIM card interface is communicated with a second SIM card, a current working frequency band comprises a third frequency band and a fourth frequency band, the working frequency band of the first SIM card is the third frequency band, and the working frequency band of the second SIM card is the fourth frequency band, and the method comprises the following steps: the antenna tuning module determines a first index value, a second index value and a third index value according to the current working frequency band of the electronic equipment, searches for a first SIM card parameter from a preset tuning parameter table according to the first index value, searches for a second SIM card parameter from the preset tuning parameter table according to the second index value, searches for a second parameter set from the preset tuning parameter table according to the third index value, determines a first SIM card switch set of a first SIM card antenna, determines a second SIM card switch set of a second SIM card antenna, then determines a target tuning parameter according to the first SIM card parameter, the second parameter set, the first SIM card switch set and the second SIM card switch set, wherein the first SIM card parameter is a tuning parameter of each antenna switch in a plurality of antennas when transmitting signals in the third frequency band, the second SIM card parameter refers to a tuning parameter of each of the plurality of antennas that is switched when the antenna transmits a signal in the fourth frequency band, the first SIM card switch set includes a first SIM card switch including a switch connected to the first SIM card antenna and a switch connected to an antenna coupled to the first SIM card antenna, the second SIM card switch set includes a second SIM card switch including a switch connected to the second SIM card antenna and a switch connected to an antenna coupled to the second SIM card antenna, such that in an electronic device supporting DSDA mode, compared to the conventional method, the determined target tuning parameter is obtained while taking into consideration a tuning state of the third frequency band in which the first SIM card operates, a tuning state of the fourth frequency band in which the second SIM card operates, an aperture tuning switch associated with the first SIM card antenna, an aperture tuning switch associated with the second SIM card antenna, and a tuning parameter in the current operating frequency band, compared with the traditional method, the performance of the antenna is improved.
It should be understood that, although the steps in the flowcharts in the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps in the flowcharts may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order in which the sub-steps or stages are performed is not necessarily sequential, and may be performed in turn or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
It will be appreciated that in order to achieve the above-described functionality, the electronic device comprises corresponding hardware and/or software modules that perform the respective functionality. The present application can be implemented in hardware or a combination of hardware and computer software, in conjunction with the example algorithm steps described in connection with the embodiments disclosed herein. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application in conjunction with the embodiments, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional modules of the electronic device according to the method example, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated in one module. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation. It should be noted that, in the embodiment of the present application, the names of the modules are schematic, and the names of the modules are not limited in practical implementation.
Fig. 13 is a schematic structural diagram of an antenna tuning apparatus according to an embodiment of the present application.
It should be understood that the antenna tuning apparatus 600 may perform the antenna tuning methods shown in fig. 6 to 12; the antenna tuning apparatus 600 is applied to an electronic device, where the electronic device includes a plurality of antennas, and the electronic device operates in a plurality of operating frequency bands, where each antenna of the plurality of antennas is connected to a corresponding tuning circuit through a switch, and the antenna tuning apparatus 600 includes: an acquisition unit 610 and a processing unit 620. Wherein, the liquid crystal display device comprises a liquid crystal display device,
the processing unit 620 is configured to determine an index value according to a current operating frequency band of the electronic device;
The processing unit 620 is configured to obtain a first parameter set and a second parameter set according to the index value and a preset tuning parameter table, where the first parameter set includes tuning parameters of each antenna in the plurality of antennas in a first working state, and the second parameter set includes tuning parameters of each antenna in the plurality of antennas in a second working state, the first working state is a state of transmitting signals in a current working frequency band, the second working state is a state of receiving signals in the current working frequency band, and the tuning parameters are used to indicate on states of switches of each antenna in the plurality of antennas;
the processing unit 620 is configured to determine a first switch set, where the first switch set includes a switch of a first antenna and a switch of a second antenna, the first antenna is an antenna in a first working state at a current moment in the plurality of antennas, and the second antenna is an antenna coupled to the first antenna in the plurality of antennas;
the processing unit 620 is configured to determine the target tuning parameter of the first antenna according to the first parameter set, the second parameter set and the first switch set.
In one embodiment, the electronic device is an electronic device supporting a single card mode, and the processing unit 620 is configured to determine the target tuning parameter according to a first parameter set, a second parameter set, a first switching vector, and a first formula, where the first formula includes:
Wherein, the liquid crystal display device comprises a liquid crystal display device,representing the target tuning parameters->Representing a second set of parameters->A first set of parameters is represented and,representing a first set of switches,/->Representing the Hadamard product operation.
In one embodiment, the electronic device is an electronic device supporting a dual-card dual-standby DR-DSDS mode, where the electronic device includes a main card interface and a sub-card interface, the main card interface is configured to communicate with the main card, the sub-card interface is configured to communicate with the sub-card, a current operating frequency band includes a first frequency band and a second frequency band, the main card operating frequency band is the first frequency band, the sub-card operating frequency band is the second frequency band, the index value includes a main card index value and a sub-card index value, the main card index value is an index value of the first frequency band, the sub-card index value is an index value of the second frequency band, the first parameter set includes a first main card parameter, the second parameter set includes a second main card parameter and a second sub-card parameter, the first main card parameter is a tuning parameter of the switch when each antenna in the plurality of antennas transmits signals in the first frequency band, and the second main card parameter is a tuning parameter of the switch when each antenna in the plurality of antennas receives signals in the first frequency band; the second sub-card parameter is a tuning parameter of a switch when each antenna in the plurality of antennas receives signals in a second frequency band;
The processing unit 620 is configured to search for a first main card parameter and a second main card parameter from a preset tuning parameter table according to the main card index value; searching a preset tuning parameter table according to the auxiliary card index value to obtain a second auxiliary card parameter;
the processing unit 620 is configured to obtain a first main card tuning parameter according to the first main card parameter, the second main card parameter, and the first switch set; and obtaining target tuning parameters according to the first main card tuning parameters and the second auxiliary card parameters.
In one embodiment, the processing unit 620 is configured to obtain TAS information of an antenna switching state of the electronic device, where the TAS information is used to indicate an antenna that transmits a signal at a current time; determining a third antenna corresponding to the auxiliary card according to the TAS information; determining a second switch set, wherein the second switch set comprises a second switch, the second switch comprises a switch connected with a third antenna, and a switch connected with a fourth antenna, and the fourth antenna comprises an antenna which is coupled with the third antenna in a plurality of antennas; and obtaining target tuning parameters according to the first main card tuning parameters, the second auxiliary card parameters and the second opening set.
In one embodiment, the processing unit 620 is configured to adjust the second switch set by using a target adjustment policy, where the target adjustment policy is an adjustment policy obtained based on the first switch set and the second switch set; and obtaining target tuning parameters according to the first main card tuning parameters, the second auxiliary card parameters and the adjusted second switch set.
In one embodiment, the target adjustment strategy includes employing the second switch set as the adjusted second switch set without intersection of the first switch set and the second switch set.
In one embodiment, the processing unit 620 is configured to obtain the number of third antennas in a case where there is an intersection between the first set of switches and the second set of switches; in the case that the number of the third antennas is 1, the target adjustment strategy includes adopting the second switch set as the adjusted second switch set; in the case that the number of the third antennas is greater than 1, the target adjustment policy is determined according to a received reference signal of a fifth antenna, where the fifth antenna is an antenna used by the electronic device to transmit a signal through the main card, and the received reference signal is used to indicate a signal strength received by the fifth antenna.
In one embodiment, in a case that the received reference signal of the fifth antenna is less than a preset threshold, the processing unit 620 is configured to determine whether the second switch set and the first switch set of each third antenna have an intersection; if so, the target adjustment strategy comprises adopting the second switch set as an adjusted second switch set; if not, the target adjustment strategy is to determine an adjusted second switch set according to the first switch set, the second switch set and a second formula, wherein the second formula comprises:
Wherein, the liquid crystal display device comprises a liquid crystal display device,representing an adjusted second set of switches, < >>Representing a second set of switches,/->Representing a first set of switches,/->Representing the Hadamard product operation.
In one embodiment, the target adjustment strategy includes employing the second set of switches as the adjusted second set of switches in the event that the received reference signal of the fifth antenna is greater than a preset threshold.
In one embodiment, the processing unit 620 is configured to obtain the target tuning parameter according to the first main card tuning parameter, the second sub-card parameter, the adjusted second switch set, and the third formula; wherein the third formula comprises:
wherein, the liquid crystal display device comprises a liquid crystal display device,representing the target tuning parameters->Representing the first main card tuning parameter,/and->Representing the adjusted secondSwitch set->Representing a second card parameter->Representing the Hadamard product operation.
In one embodiment, the electronic device is an electronic device supporting a dual-card dual-pass DSDA mode, where the electronic device includes a first subscriber identity module, SIM, interface and a second SIM, the first SIM, interface communicates with the first SIM, the second SIM, interface communicates with the second SIM, the current operating frequency band includes a third frequency band and a fourth frequency band, the operating frequency band of the first SIM is the third frequency band, the operating frequency band of the second SIM is the fourth frequency band, the index value includes a first index value, a second index value, and a third index value, the first index value is an index value of a frequency band occupied by a signal transmitted by the first SIM in the third frequency band, the second index value is an index value of a frequency band occupied by a signal transmitted by the second SIM in the fourth frequency band, the third index value is an index value of a frequency band occupied by a signal received in the current operating frequency band, the first parameter set includes a first SIM parameter and a second SIM parameter, the first parameter refers to each antenna in the plurality of antennas when the antenna transmits a signal in the third frequency band, the first parameter refers to each antenna in the switch parameter refers to each antenna when the antenna transmits a tuning parameter in the fourth antenna;
The processing unit 620 is configured to search for a first SIM card parameter from a preset tuning parameter table according to the first index value; searching from a preset tuning parameter table according to the second index value to obtain a second SIM card parameter; and searching from a preset tuning parameter table according to the third index value to obtain a second parameter set.
In one embodiment, the first antenna includes a first SIM card antenna and a second SIM card antenna, the first SIM card antenna is an antenna used by the electronic device to transmit signals through the first SIM card at a current time, the second SIM card antenna is an antenna used by the electronic device to transmit signals through the second SIM card at the current time, the first switch set includes a first SIM card switch set including a first SIM card switch including a switch to which the first SIM card antenna is connected and a switch to which the antenna coupled to the first SIM card antenna is connected, the second SIM card switch set is used to instruct the second SIM card switch including a switch to which the second SIM card antenna is connected and a switch to which the antenna coupled to the second SIM card antenna is connected, and the processing unit 620 is used to determine the first SIM card switch set of the first SIM card antenna; a second set of SIM card switches of the second SIM card antenna is determined.
In one embodiment, the processing unit 620 is configured to determine the target tuning parameter according to a first SIM card parameter, a second parameter set, a first SIM card switch set, a second SIM card switch set, and a fourth formula, where the fourth formula includes:
wherein, the liquid crystal display device comprises a liquid crystal display device,representing the target tuning parameters->Representing a second set of parameters->Representing a first set of SIM card switches, < >>Representing a second set of SIM card switches, +.>Representing the first SIM card parameter,/a>Representing second SIM card parameters,/>Representing the Hadamard product operation.
The antenna tuning device provided in this embodiment is configured to perform the antenna tuning method in the foregoing embodiment, and the technical principles and technical effects are similar and are not repeated herein.
The antenna tuning device 600 is embodied as a functional unit. The term "unit" herein may be implemented in software and/or hardware, without specific limitation.
For example, a "unit" may be a software program, a hardware circuit or a combination of both that implements the functions described above. The hardware circuitry may include application specific integrated circuits (application specific integrated circuit, ASICs), electronic circuits, processors (e.g., shared, proprietary, or group processors, etc.) and memory for executing one or more software or firmware programs, merged logic circuits, and/or other suitable components that support the described functions.
Thus, the elements of the examples described in the embodiments of the present application can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Fig. 14 shows a schematic structural diagram of an electronic device provided by the present application. The dashed line in fig. 14 indicates that the unit or the module is optional. The electronic device 700 may be used to implement the antenna tuning method described in the method embodiments above.
The electronic device 700 includes one or more processors 701, which one or more processors 701 may support the electronic device 700 to implement the antenna tuning method in the method embodiments. The processor 701 may be a general-purpose processor or a special-purpose processor. For example, the processor 701 may be a central processing unit (central processing unit, CPU), digital signal processor (digital signal processor, DSP), application specific integrated circuit (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA), or other programmable logic device such as discrete gates, transistor logic, or discrete hardware components.
The processor 701 may be used to control the electronic device 700, execute a software program, and process data of the software program. The electronic device 700 may further comprise a communication unit 705 for enabling input (reception) and output (transmission) of signals.
For example, the electronic device 700 may be a chip, the communication unit 705 may be an input and/or output circuit of the chip, or the communication unit 705 may be a communication interface of the chip, which may be an integral part of a terminal device or other electronic device.
For another example, the electronic device 700 may be a terminal device, the communication unit 705 may be a transceiver of the terminal device, or the communication unit 705 may be a transceiver circuit of the terminal device.
The electronic device 700 may include one or more memories 702 having a program 704 stored thereon, the program 704 being executable by the processor 701 to generate instructions 703 such that the processor 701 performs the impedance matching method described in the above method embodiments according to the instructions 703.
Optionally, the memory 702 may also have data stored therein. Alternatively, processor 701 may also read data stored in memory 702, which may be stored at the same memory address as program 704, or which may be stored at a different memory address than program 704.
The processor 701 and the memory 702 may be provided separately or may be integrated together; for example, integrated on a System On Chip (SOC) of the terminal device.
Illustratively, the memory 702 may be used to store a related program 704 of the antenna tuning method provided in the embodiment of the present application, and the processor 701 may be used to invoke the related program 704 of the antenna tuning method stored in the memory 702 when performing antenna tuning, to perform the antenna tuning method of the embodiment of the present application; comprising the following steps: determining an index value according to the current working frequency band of the electronic equipment; obtaining a first parameter set and a second parameter set according to the index value and a preset tuning parameter table, wherein the first parameter set comprises tuning parameters of each antenna in a plurality of antennas in a first working state, the second parameter set comprises tuning parameters of each antenna in a plurality of antennas in a second working state, the first working state is a state of transmitting signals in a current working frequency band, the second working state is a state of receiving signals in the current working frequency band, and the tuning parameters are used for indicating the on state of a switch of each antenna in the plurality of antennas; determining a first switch set, wherein the first switch set comprises a switch of a first antenna and a switch of a second antenna, the first antenna is an antenna which is in a first working state at the current moment in a plurality of antennas, and the second antenna is an antenna which is mutually coupled with the first antenna in the plurality of antennas; and determining the target tuning parameter of the first antenna according to the first parameter set, the second parameter set and the first switch set.
The application also provides a computer program product which, when executed by the processor 701, implements the antenna tuning method according to any one of the method embodiments of the application.
The computer program product may be stored in the memory 702, for example, the program 704, and the program 704 is finally converted into an executable object file capable of being executed by the processor 701 through preprocessing, compiling, assembling, and linking.
The application also provides a computer readable storage medium having stored thereon a computer program which when executed by a computer implements the antenna tuning method according to any one of the method embodiments of the application. The computer program may be a high-level language program or an executable object program.
Such as memory 702. The memory 702 may be volatile memory or nonvolatile memory, or the memory 702 may include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. The volatile memory may be random access memory (random access memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous DRAM (SLDRAM), and direct memory bus RAM (DR RAM).
In the present application, "at least one" means one or more, and "a plurality" means two or more. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative; for example, the division of the units is only one logic function division, and other division modes can be adopted in actual implementation; for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (16)

1. An antenna tuning method, wherein the method is applied to an electronic device, the electronic device comprises a plurality of antennas, the electronic device works in a plurality of working frequency bands, each antenna in the plurality of antennas is connected with a corresponding tuning circuit through a switch, and the method comprises:
determining an index value according to the current working frequency band of the electronic equipment;
obtaining a first parameter set and a second parameter set according to the index value and a preset tuning parameter table, wherein the first parameter set comprises tuning parameters of each antenna in the plurality of antennas in a first working state, the second parameter set comprises tuning parameters of each antenna in the plurality of antennas in a second working state, the first working state is a state of transmitting signals in the current working frequency band, the second working state is a state of receiving signals in the current working frequency band, and the tuning parameters are used for indicating the on state of a switch of each antenna in the plurality of antennas;
Determining a first switch set, wherein the first switch set comprises a switch of a first antenna and a switch of a second antenna, the first antenna is an antenna which is in the first working state at the current moment in the plurality of antennas, and the second antenna is an antenna which is coupled with the first antenna in the plurality of antennas;
and determining a target tuning parameter of the first antenna according to the first parameter set, the second parameter set and the first switch set.
2. The method of claim 1, wherein the electronic device is a single-card mode enabled electronic device, and wherein the determining the target tuning parameter of the first antenna based on the first parameter set, the second parameter set, and the first switch set comprises:
determining the target tuning parameter according to the first parameter set, the second parameter set, the first switching vector and a first formula, wherein the first formula comprises:
wherein the saidRepresenting said target tuning parameter, said +.>Representing said second set of parameters, said +.>Representing said first set of parameters, said +.>Representing said first set of switches, said +. >Representing the Hadamard product operation.
3. The method of claim 1, wherein the electronic device is an electronic device supporting a dual-card dual-standby DR-DSDS mode, the electronic device includes a main card interface and a sub card interface, the main card interface is configured to communicate with a main card, the sub card interface is configured to communicate with a sub card, the current operating frequency band includes a first frequency band and a second frequency band, the main card operating frequency band is the first frequency band, the sub card operating frequency band is the second frequency band, the index value includes a main card index value and a sub card index value, the main card index value is an index value of the first frequency band, the sub card index value is an index value of the second frequency band, the first parameter set includes a first main card parameter, the second parameter set includes a second main card parameter and a second sub card parameter, the first main card parameter is the tuning parameter of the switch when each antenna of the plurality of antennas transmits signals in the first frequency band, and the second main card parameter is the first tuning parameter of each antenna of the plurality of antennas; the second sub-card parameter is the tuning parameter of the switch when each antenna in the plurality of antennas receives signals in the second frequency band; the obtaining a first parameter set and a second parameter set according to the index value and a preset tuning parameter table includes:
Searching from the preset tuning parameter table according to the main card index value to obtain the first main card parameter and the second main card parameter;
searching the second auxiliary card parameter from the preset tuning parameter table according to the auxiliary card index value;
the determining the target tuning parameter of the first antenna according to the first parameter set, the second parameter set and the first switch set includes:
obtaining a first main card tuning parameter according to a first main card parameter, a second main card parameter and the first switch set;
and obtaining the target tuning parameters according to the first main card tuning parameters and the second auxiliary card parameters.
4. A method according to claim 3, wherein said deriving said target tuning parameter from said first primary card tuning parameter and a second secondary card parameter comprises:
acquiring TAS information of the antenna switching state of the electronic equipment, wherein the TAS information is used for indicating an antenna transmitting signals at the current moment;
determining a third antenna corresponding to the auxiliary card according to the TAS information;
determining a second set of switches, the second set of switches comprising a second switch comprising a switch connected to the third antenna and a switch connected to a fourth antenna comprising an antenna of the plurality of antennas that is mutually coupled to the third antenna;
And obtaining the target tuning parameter according to the first main card tuning parameter, the second auxiliary card parameter and the second opening set.
5. The method of claim 4, wherein the deriving the target tuning parameter from the first main card tuning parameter, the second sub-card parameter, and the second switch set comprises:
the second switch set is adjusted by adopting a target adjustment strategy, so as to obtain an adjusted second switch set, wherein the target adjustment strategy is based on the adjustment strategy obtained by the first switch set and the second switch set;
and obtaining the target tuning parameter according to the first main card tuning parameter, the second auxiliary card parameter and the adjusted second switch set.
6. The method of claim 5, wherein the target adjustment strategy comprises employing the second set of switches as the adjusted second set of switches in the event that the first set of switches does not intersect the second set of switches.
7. The method of claim 5, wherein in the event that there is an intersection of the first set of switches and the second set of switches, the method further comprises:
Acquiring the number of the third antennas;
in the case that the number of the third antennas is 1, the target adjustment strategy includes adopting the second switch set as the adjusted second switch set;
in the case that the number of the third antennas is greater than 1, the target adjustment policy is determined according to a received reference signal of a fifth antenna, where the fifth antenna is an antenna used by the electronic device to transmit a signal through the main card, and the received reference signal is used to indicate a signal strength received by the fifth antenna.
8. The method of claim 7, wherein in the case where the received reference signal for the fifth antenna is less than a preset threshold, the method further comprises:
determining whether there is an intersection of the second set of switches with the first set of switches for each of the third antennas;
if yes, the target adjustment strategy comprises adopting the second switch set as the adjusted second switch set;
if not, the target adjustment strategy is to determine the adjusted second switch set according to the first switch set, the second switch set and a second formula, wherein the second formula comprises:
Wherein the saidRepresenting the adjusted second set of switches, said +.>Representing said second set of switches, said +.>Representing the first switch set, the DEG representation performing Hadamard product operation.
9. The method of claim 7, wherein the target adjustment strategy comprises employing the second set of switches as the adjusted second set of switches if the received reference signal of the fifth antenna is greater than a preset threshold.
10. The method according to any one of claims 5 to 9, wherein the obtaining the target tuning parameter from the first main card tuning parameter, the second sub-card parameter and the adjusted second switch set comprises:
obtaining the target tuning parameter according to the first main card tuning parameter, the second auxiliary card parameter, the adjusted second switch set and a third formula; wherein the third formula comprises:
wherein the saidRepresenting said target tuning parameter, said +.>Representing the first main card tuning parameter, theRepresenting the adjusted second set of switches, said +.>Representing said second daughter card parameter, said +. >Representing the Hadamard product operation.
11. The method of claim 1, wherein the electronic device is an electronic device supporting a dual-card dual-pass DSDA mode, the electronic device includes a first subscriber identity module, SIM, interface and a second SIM, the first SIM interface communicates with the first SIM, the second SIM interface communicates with the second SIM, the current operating frequency band includes a third frequency band and a fourth frequency band, the operating frequency band of the first SIM is the third frequency band, the operating frequency band of the second SIM is the fourth frequency band, the index includes a first index value, a second index value and a third index value, the first index value is an index value of a frequency band occupied by the first SIM transmitting signals in the third frequency band, the second index value is an index value of a frequency band occupied by the second SIM transmitting signals in the fourth frequency band, the third index value is an index value of a frequency band occupied by the current operating frequency band receiving signals, the first SIM parameters include a first SIM parameters and a second SIM parameters, the first parameters and the second parameters refer to a set of the antenna parameters, and the second parameters refer to the antenna parameters;
The obtaining a first parameter set and a second parameter set according to the index value and a preset tuning parameter table includes:
searching from the preset tuning parameter table according to the first index value to obtain the first SIM card parameter;
searching from the preset tuning parameter table according to the second index value to obtain the second SIM card parameter;
and searching from the preset tuning parameter table according to the third index value to obtain the second parameter set.
12. The method of claim 11, wherein the first antenna comprises a first SIM card antenna and a second SIM card antenna, the first SIM card antenna being an antenna used by the electronic device to transmit signals through the first SIM card at a current time, the second SIM card antenna being an antenna used by the electronic device to transmit signals through the second SIM card at a current time, the first set of switches comprising a first set of SIM card switches comprising a switch to which the first SIM card antenna is connected and a switch to which the antenna coupled to the first SIM card antenna is connected, and a second set of SIM card switches comprising a switch to which the second SIM card antenna is connected and a switch to which the antenna coupled to the second SIM card antenna is connected, the first set of switches comprising:
Determining a first set of SIM card switches of the first SIM card antenna;
a second set of SIM card switches of the second SIM card antenna is determined.
13. The method of claim 12, wherein the determining the target tuning parameter for the first antenna from the first set of parameters, the second set of parameters, and the first set of switches comprises:
determining the target tuning parameter according to the first SIM card parameter, the second parameter set, the first SIM card switch set, the second SIM card switch set, and a fourth formula, wherein the fourth formula includes:
wherein the saidRepresenting said target tuning parameter, said +.>Representing said second set of parameters, said +.>Representing said first set of SIM card switches, said +.>Representing said second set of SIM card switches, said +.>Representing said first SIM card parameter, said +.>Representing the second SIM card parameter, said +.>Representing the Hadamard product operation.
14. A chip comprising a processor which, when executing instructions, performs the method of any of claims 1 to 13.
15. An electronic device comprising a processor for coupling with a memory and reading instructions in the memory and, in accordance with the instructions, causing the electronic device to perform the method of any one of claims 1 to 13.
16. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program, which when executed by a processor causes the processor to perform the method of any of claims 1 to 13.
CN202211145010.5A 2022-09-20 2022-09-20 Antenna tuning method and electronic equipment Pending CN116722881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211145010.5A CN116722881A (en) 2022-09-20 2022-09-20 Antenna tuning method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211145010.5A CN116722881A (en) 2022-09-20 2022-09-20 Antenna tuning method and electronic equipment

Publications (1)

Publication Number Publication Date
CN116722881A true CN116722881A (en) 2023-09-08

Family

ID=87873928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211145010.5A Pending CN116722881A (en) 2022-09-20 2022-09-20 Antenna tuning method and electronic equipment

Country Status (1)

Country Link
CN (1) CN116722881A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117639820A (en) * 2024-01-25 2024-03-01 荣耀终端有限公司 Wi-Fi device and radio frequency control method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103545600A (en) * 2012-07-17 2014-01-29 捷讯研究有限公司 Antenna tuning for multiband operation
US20150305035A1 (en) * 2014-04-21 2015-10-22 Apple Inc. Dynamic antenna tuning for multi-band multi-carrier wireless systems
CN105703797A (en) * 2014-12-16 2016-06-22 黑莓有限公司 Method and apparatus for antenna selection
CN107395247A (en) * 2017-07-20 2017-11-24 青岛海信移动通信技术股份有限公司 The tuning methods and device of tunable antenna in a kind of terminal
CN107483087A (en) * 2016-06-08 2017-12-15 索尼公司 Electronic equipment and method for multi-antenna communication apparatus
CN110300443A (en) * 2018-03-22 2019-10-01 华为技术有限公司 Signal acceptance method and signal receiving device
CN111211817A (en) * 2019-12-20 2020-05-29 青岛海信移动通信技术股份有限公司 Mobile terminal device and multi-antenna debugging method
US10673514B1 (en) * 2019-12-12 2020-06-02 Motorola Mobility Llc Communication device with receive antenna tuning
CN112187377A (en) * 2020-09-02 2021-01-05 珠海格力电器股份有限公司 Antenna frequency modulation system, frequency modulation method, device and medium
CN114900199A (en) * 2022-06-16 2022-08-12 Oppo广东移动通信有限公司 Scattering parameter determination method and device, signal processing circuit and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103545600A (en) * 2012-07-17 2014-01-29 捷讯研究有限公司 Antenna tuning for multiband operation
US20150305035A1 (en) * 2014-04-21 2015-10-22 Apple Inc. Dynamic antenna tuning for multi-band multi-carrier wireless systems
CN105703797A (en) * 2014-12-16 2016-06-22 黑莓有限公司 Method and apparatus for antenna selection
CN107483087A (en) * 2016-06-08 2017-12-15 索尼公司 Electronic equipment and method for multi-antenna communication apparatus
CN109196787A (en) * 2016-06-08 2019-01-11 索尼公司 Electronic equipment and method for multi-antenna communication apparatus
CN107395247A (en) * 2017-07-20 2017-11-24 青岛海信移动通信技术股份有限公司 The tuning methods and device of tunable antenna in a kind of terminal
CN110300443A (en) * 2018-03-22 2019-10-01 华为技术有限公司 Signal acceptance method and signal receiving device
US10673514B1 (en) * 2019-12-12 2020-06-02 Motorola Mobility Llc Communication device with receive antenna tuning
CN111211817A (en) * 2019-12-20 2020-05-29 青岛海信移动通信技术股份有限公司 Mobile terminal device and multi-antenna debugging method
CN112187377A (en) * 2020-09-02 2021-01-05 珠海格力电器股份有限公司 Antenna frequency modulation system, frequency modulation method, device and medium
CN114900199A (en) * 2022-06-16 2022-08-12 Oppo广东移动通信有限公司 Scattering parameter determination method and device, signal processing circuit and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117639820A (en) * 2024-01-25 2024-03-01 荣耀终端有限公司 Wi-Fi device and radio frequency control method
CN117639820B (en) * 2024-01-25 2024-06-07 荣耀终端有限公司 Wi-Fi device and radio frequency control method

Similar Documents

Publication Publication Date Title
WO2020000448A1 (en) Flexible screen display method and terminal
CN113596810A (en) Network system switching method based on double cards and terminal equipment
CN113329379A (en) Communication method, device and system based on NFC
CN110780929B (en) Method for calling hardware interface and electronic equipment
CN116114239B (en) Volume management method and electronic equipment
CN115623118B (en) Near field communication control method and electronic equipment
CN116315667B (en) Data transmission method, device, equipment and storage medium
CN111930787A (en) Synchronization method and device
CN116722881A (en) Antenna tuning method and electronic equipment
CN113645608B (en) Data transmission method and data transmission device
CN115119048B (en) Video stream processing method and electronic equipment
US20230087282A1 (en) Dual wi-fi connection method and electronic device
CN116033342A (en) Geofence processing method, equipment and storage medium
CN117081622B (en) Antenna state control method, chip, electronic device, and readable storage medium
CN113316899A (en) Antenna selection method and terminal equipment
CN116345147B (en) Antenna tuning method and terminal equipment
WO2023160217A1 (en) Method for detecting embedded subscriber identity module (esim) card, and terminal device
CN116095225B (en) Image processing method and device of terminal equipment
CN116744392B (en) Dual-card communication method and device and terminal equipment
CN113207111B (en) Data sending method and mobile equipment
CN115412931A (en) Communication method and device
CN117850926A (en) Image processing method and related device
CN118264279A (en) Terminal device and control method
CN117459832A (en) Camera control method, electronic equipment and storage medium
CN117435097A (en) Display method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination