Nothing Special   »   [go: up one dir, main page]

CN108832944B - Power compensation method, device, terminal equipment and storage medium - Google Patents

Power compensation method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN108832944B
CN108832944B CN201810522364.4A CN201810522364A CN108832944B CN 108832944 B CN108832944 B CN 108832944B CN 201810522364 A CN201810522364 A CN 201810522364A CN 108832944 B CN108832944 B CN 108832944B
Authority
CN
China
Prior art keywords
transmitting antenna
antenna
transmitting
power
auxiliary
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.)
Active
Application number
CN201810522364.4A
Other languages
Chinese (zh)
Other versions
CN108832944A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810522364.4A priority Critical patent/CN108832944B/en
Publication of CN108832944A publication Critical patent/CN108832944A/en
Application granted granted Critical
Publication of CN108832944B publication Critical patent/CN108832944B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/06Receivers
    • H04B1/10Means associated with receiver for limiting or suppressing noise or interference
    • H04B1/12Neutralising, balancing, or compensation arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/101Monitoring; Testing of transmitters for measurement of specific parameters of the transmitter or components thereof
    • H04B17/102Power radiated at antenna
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/11Monitoring; Testing of transmitters for calibration
    • H04B17/12Monitoring; Testing of transmitters for calibration of transmit antennas, e.g. of the amplitude or phase

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Transmitters (AREA)

Abstract

The embodiment of the application discloses a power compensation method, a device, terminal equipment and a storage medium, wherein the method comprises the steps of determining a transmitting antenna used for transmitting a signal when the terminal equipment is detected to transmit the signal, wherein the terminal equipment comprises a main transmitting antenna and at least one auxiliary transmitting antenna; if the auxiliary transmitting antenna is used for signal transmission, determining a power difference value of the auxiliary transmitting antenna and the main transmitting antenna; and performing power compensation on the transmitting signal according to the power difference value, so that the antenna calibration precision is obviously improved.

Description

Power compensation method, device, terminal equipment and storage medium
Technical Field
Embodiments of the present disclosure relate to communications technologies, and in particular, to a power compensation method, apparatus, terminal device, and storage medium.
Background
An antenna is integrated in each terminal device as one of important means for the terminal device to transmit and receive signals. The transmission signal output by the radio transmitter in the terminal equipment is transmitted to the antenna through the feeder (cable) and then radiated out by the antenna in the form of electromagnetic wave.
Due to errors of a preparation process and devices, arrangement and the like, certain errors exist between the signals transmitted by the antennas and original transmitted signals, antenna calibration is needed, and in the prior art, calibration of the transmitting antennas has defects and needs to be improved aiming at terminal equipment with a plurality of transmitting antennas.
Disclosure of Invention
The invention provides a power compensation method, a power compensation device, terminal equipment and a storage medium, and improves the antenna calibration precision.
In a first aspect, an embodiment of the present application provides a power compensation method, including:
when detecting that terminal equipment transmits signals, determining transmitting antennas used for transmitting the signals, wherein the terminal equipment comprises a main transmitting antenna and at least one auxiliary transmitting antenna;
if the auxiliary transmitting antenna is used for signal transmission, determining a power difference value of the auxiliary transmitting antenna and the main transmitting antenna;
and carrying out power compensation on the transmitting signal according to the power difference value.
In a second aspect, an embodiment of the present application further provides a power compensation apparatus, including:
the terminal equipment comprises an antenna determining module, a signal transmitting module and a signal receiving module, wherein the antenna determining module is used for determining a transmitting antenna used for transmitting a signal when detecting that the terminal equipment transmits the signal, and the terminal equipment comprises a main transmitting antenna and at least one auxiliary transmitting antenna;
a power determining module, configured to determine a power difference value between an auxiliary transmitting antenna and a main transmitting antenna if the auxiliary transmitting antenna is used for signal transmission;
and the compensation module is used for carrying out power compensation on the transmitting signal according to the power difference value.
In a third aspect, an embodiment of the present application further provides a terminal device, including: a processor, a memory transmit antenna, and a computer program stored on the memory and executable on the processor, which when executed by the processor implements a power compensation method as described in embodiments herein.
In a fourth aspect, the present application further provides a storage medium containing terminal device executable instructions, which when executed by a terminal device processor, are configured to perform the power compensation method according to the present application.
In the scheme, when the terminal equipment is detected to transmit signals, the transmitting antenna used for transmitting the signals is determined, wherein the terminal equipment comprises a main transmitting antenna and at least one auxiliary transmitting antenna, if the auxiliary transmitting antenna is used for transmitting the signals, the power difference value of the auxiliary transmitting antenna and the main transmitting antenna is determined, and the transmitting signals are subjected to power compensation according to the power difference value, so that the antenna calibration precision is obviously improved.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a flowchart of a power compensation method provided in an embodiment of the present application;
FIG. 2 is a flow chart of another power compensation method provided by an embodiment of the invention;
FIG. 3 is a flow chart of another power compensation method provided by the embodiments of the present application;
FIG. 4 is a flow chart of another power compensation method provided by the embodiments of the present application;
FIG. 5 is a flow chart of another power compensation method provided by the embodiments of the present application;
fig. 6 is a block diagram of a power compensation apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration and not limitation. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a flowchart of a power compensation method provided in an embodiment of the present application, which is applicable to compensating for power of a transmitting antenna when a terminal device transmits a signal, and the method may be executed by the terminal device provided in the embodiment of the present application, and a power compensation apparatus of the terminal device may be implemented in a software and/or hardware manner, as shown in fig. 1, a specific scheme provided in this embodiment is as follows:
step S101, when detecting that the terminal equipment transmits signals, determining transmitting antennas used for transmitting the signals, wherein the terminal equipment comprises a main transmitting antenna and at least one auxiliary transmitting antenna.
The terminal equipment can transmit signals to the base station through the antenna to communicate with other terminal equipment or access the internet to perform network communication. In order to ensure the communication quality, a plurality of antennas, such as a main antenna and an auxiliary antenna, are generally provided in the terminal device. In order to ensure the consistency of the transmission channels in the process of transmitting signals by the antenna, the transmission power calibration is required.
And when the terminal equipment is determined to transmit the signal, determining a transmitting antenna used for transmitting the signal. In one embodiment, whether to transmit signals may be determined by detecting the operation and network status of the terminal device, for example, determining a transmitting antenna used for transmitting signals when detecting that the terminal device is in a call state or a non-flight mode state, or determining a transmitting antenna used for transmitting signals when detecting that the terminal device is in an on state. In another embodiment, when the signal transmission module is detected to be working, the terminal equipment is determined to be transmitting signals, and the transmitting antenna used for transmitting signals is determined. In one embodiment, the switching between different transmitting antennas is performed by controlling the state of DPDT (Double Pole Double Throw), so that the transmitting antenna used for currently transmitting signals can be identified and determined by reading the connection state of DPDT. Illustratively, the DPDT may be configured to set 4 connectivity states, such as A, B, C and D, through different connection modes, where each connectivity state may correspond to the use of 4 transmitting antennas, such as a, b, c and D, and when the DPDT is identified to be in different connectivity states, the transmitting antenna currently used by the terminal device may be determined accordingly.
It should be noted that the main transmitting antenna and the auxiliary transmitting antenna may be factory set by the terminal device, or may be manually set by a testing and research personnel, and when the terminal device includes at least two transmitting antennas, one of the transmitting antennas may be defined as the main transmitting antenna, and the other transmitting antennas may be defined as the auxiliary transmitting antennas.
Step S102, if the auxiliary transmitting antenna is used for signal transmission, determining the power difference value of the auxiliary transmitting antenna and the main transmitting antenna.
And when detecting that the terminal equipment uses the auxiliary transmitting antenna to transmit signals, determining the power difference value of the auxiliary transmitting antenna and the main transmitting antenna. The power difference value is the difference value of the transmitting power of the main transmitting test seat and the transmitting power of the auxiliary transmitting test seat which are measured in advance in the testing process. In the prior art, a radio frequency test socket is used to test calibration parameters of an antenna and apply the calibration parameters in signal transmission, a conventional terminal device such as a smart phone is provided with a radio frequency test socket between a DPDT switch input and a transmission module (such as a cellular transmission module), when the radio frequency test socket is set between a DPDT switch output and the antenna, different antenna radio frequency test sockets (such as a main antenna radio frequency test socket and an auxiliary antenna radio frequency test socket) have different lengths from the DPDT switch, and for example, when the length difference between the main antenna radio frequency test socket and the auxiliary antenna radio frequency test socket and the DPDT switch is 2cm, the insertion loss of transmission power measured by the main antenna radio frequency test socket and the auxiliary antenna radio frequency test socket is 1.2 dB. In one embodiment, when the main transmitting antenna is used as the antenna calibration base, if it is detected that the terminal device uses the auxiliary transmitting antenna for signal transmission, the transmission power of the auxiliary transmitting antenna needs to be compensated to make the antenna calibration correct due to the aforementioned insertion loss. Specifically, the power difference table stored locally can be queried to determine the power difference value between the currently used auxiliary transmitting antenna and the currently used main transmitting antenna, and correspondingly, calibration parameters of the main transmitting antenna are also stored in the table, the power difference table is generated through testing, if a test signal is controlled to be respectively transmitted through the main transmitting antenna and the auxiliary transmitting antenna, the calibration parameters of the main transmitting antenna are obtained through the test result of the main transmitting test base, and the power difference value between the auxiliary transmitting antenna and the main transmitting antenna is obtained through the test result of the auxiliary transmitting test base and is correspondingly stored.
And S103, performing power compensation on the transmitting signal according to the power difference value.
In one embodiment, the Power difference value is stored in the terminal device in the form of a Power difference table, where the table further includes calibration parameters of the main transmitting antenna, and the Power difference table may exist in xml form, may be imported into the system, and may also be imported into the xml form Power difference table when performing signal transmission, Power compensation is performed according to parameters in the Power difference (for example, a high-pass chip, such as a TxRGI parameter, a Power parameter, and a DeltaPwr parameter), where the calibration parameters may be Tx calibration based on 3/4g, in one embodiment, the terminal device includes the main transmitting antenna and a secondary transmitting antenna, and the Power difference table determined during the test is as shown in table 1 below, where TxRGI is a linear calibration parameter, a parameter value range may be 26 to 60, only partial numerical points are shown in the table, and Power is a calibration Power value of the main transmitting antenna corresponding to each parameter value in TxRGI, and the DeltaPwr is a power difference value corresponding to the current auxiliary transmitting antenna and the main transmitting antenna.
TABLE 1
Figure BDA0001675116570000041
Figure BDA0001675116570000051
Specifically, when the auxiliary transmitting antenna transmits a signal, the compensation power is the power difference value obtained by querying in table 1, and the power difference value plus the calibration power value of the main transmitting antenna is used as the current transmitting power of the auxiliary transmitting antenna.
According to the above, when the terminal device transmits signals, if the auxiliary transmitting antenna is adopted for signal transmission, power compensation is correspondingly performed, so that the transmitting power of the terminal device when the auxiliary transmitting antenna is used for signal transmission meets the requirement of communication consistency, and the calibration accuracy of the antenna is improved.
Fig. 2 is a flowchart of another power compensation method provided in the embodiment of the present application, and optionally before detecting that the terminal device performs signal transmission, the method further includes: and determining and storing the transmission calibration parameters of the main transmitting antenna and the power difference value between the auxiliary transmitting antenna and the main transmitting antenna. As shown in fig. 2, the technical solution is as follows:
step S201, determining and storing the transmission calibration parameters of the main transmitting antenna and the power difference value of the auxiliary transmitting antenna and the main transmitting antenna.
In one embodiment, the determination process may be: controlling a test signal to carry out signal transmission through a main transmitting antenna, and determining a main transmitting calibration parameter corresponding to the main transmitting antenna according to a test result of a main transmitting test seat corresponding to the main transmitting antenna; and controlling a test signal to carry out signal transmission through an auxiliary transmitting antenna, and determining a power difference value between the auxiliary transmitting antenna and the main transmitting antenna according to a test result of an auxiliary transmitting test seat corresponding to the auxiliary transmitting antenna. Specifically, the transmitting antenna used for transmitting the signal can be switched through the DPDT switch, when the terminal device transmits the signal using the main transmitting antenna, an accurate transmission calibration parameter is obtained through a result of a test of the main transmission test socket, and correspondingly, the DPDT switch is switched to enable the auxiliary transmitting antenna to transmit the signal, and a power difference value between the power measured by the test socket of the auxiliary transmitting antenna and the power difference value in the calibration parameter of the main transmitting antenna is correspondingly recorded and correspondingly stored in the power difference table.
Step S202, when detecting that the terminal equipment transmits signals, determining transmitting antennas used for transmitting the signals.
Step S203, if an auxiliary transmitting antenna is used for signal transmission, determining a power difference value between the auxiliary transmitting antenna and the main transmitting antenna according to a power difference table, where the power difference table includes the transmission calibration parameter and a power difference value corresponding to the transmission calibration parameter.
And S204, performing power compensation on the transmitting signal according to the power difference value.
Therefore, when the terminal equipment is detected to use the auxiliary transmitting antenna for signal transmission, power compensation is correspondingly carried out so that the power of the transmitted signal stably meets the communication requirement, and the calibration accuracy of the transmitting antenna is improved.
Fig. 3 is a flowchart of another power compensation method provided in this embodiment of the present application, and optionally, the power difference value includes power difference values of the secondary transmitting antenna and the primary transmitting antenna in different frequency bands. As shown in fig. 3, the technical solution is as follows:
step S301, determining and storing the power difference value of the auxiliary transmitting antenna and the main transmitting antenna under different frequency bands.
Illustratively, the power difference between the auxiliary transmitting antenna and the main transmitting antenna tested in the partial frequency band is shown in the following table,
TABLE 2
Figure BDA0001675116570000061
Figure BDA0001675116570000071
Step S302, when detecting that the terminal equipment transmits signals, determining transmitting antennas used for transmitting the signals.
Step S303, if the auxiliary transmitting antenna is used for signal transmission, the power difference table is inquired according to the transmitting frequency band of the current transmitting signal to determine the power difference value between the auxiliary transmitting antenna and the main transmitting antenna.
In order to meet the communication requirement, the terminal device may transmit a plurality of transmission signals of different frequency bands, and in one embodiment, the transmission power of the auxiliary transmitting antenna is compensated according to a power difference value corresponding to a transmission frequency band of the transmission signal and the frequency band.
And S304, performing power compensation on the transmitting signal according to the power difference value.
Therefore, when the terminal equipment sends the transmitting signals of different frequency bands, the transmitting power requirement of the frequency band is met by compensating the transmitting power of the auxiliary transmitting antenna, and the antenna calibration precision is improved.
Fig. 4 is a flowchart of another power compensation method provided in the embodiment of the present application, and optionally, after performing power compensation on the transmission signal according to the power difference value, the method further includes: and detecting whether the terminal equipment meets the switching condition of the transmitting antenna, if so, switching the transmitting antenna, and performing power compensation according to the power difference value between the switched transmitting antenna and the main transmitting antenna. As shown in fig. 4, the technical solution is as follows:
step S401, a power difference table is generated and stored by determining the transmission calibration parameters of the main transmitting antenna and the power difference values of the auxiliary transmitting antenna and the main transmitting antenna.
The transmission calibration parameters comprise linear calibration parameters set for different transmission signals and calibration power values corresponding to the linear calibration parameters.
Step S402, when detecting that the terminal device transmits signals, determining transmitting antennas used for transmitting signals.
Step S403, determining whether the transmitting antenna is a main transmitting antenna, if yes, performing step S404, and if no, performing step S405.
And S404, calibrating the current transmitting signal according to the transmitting calibration parameter.
Step S405, inquiring a power difference table according to a linear calibration parameter corresponding to the current transmitting signal to obtain a corresponding calibration power value and a corresponding difference power value, summing the calibration power value and the difference power value to obtain a corrected transmitting power, and driving a transmitting module to carry out gain adjustment so that the signal power transmitted by the auxiliary transmitting antenna is the corrected transmitting power.
Step S406, judging whether the terminal equipment meets the transmitting antenna switching condition, if so, executing step S407.
In one embodiment, the terminal device includes at least two transmitting antennas, such as a main transmitting antenna and an auxiliary transmitting antenna, and during the process of using the transmitting antennas to transmit signals, the performance of the transmitting antennas is evaluated, and the transmitting antennas with good performance are used to transmit signals, and when it is determined that the transmitting antennas satisfy the switching condition, the step S407 of switching the transmitting antennas is correspondingly performed to improve the signal transceiving performance of the terminal device. Optionally, the signal strengths received by the main transmitting antenna and the auxiliary transmitting antenna are respectively detected, and when the signal strength received by one of the transmitting antennas is greater than that received by the other transmitting antenna (for example, greater than 5dBm), and the transmitting antenna with the greater received signal strength is not the transmitting antenna used for signal transmission of the current terminal device, step S407 is executed.
Step S407, switching the transmitting antennas, and after the switching is completed, executing step S403.
Therefore, the terminal equipment can switch the antennas according to the performance of the transmitting antenna in the process of transmitting signals, and simultaneously performs corresponding power compensation according to the switched transmitting antenna, thereby further perfecting the mechanism of transmitting signals by the antenna.
Fig. 5 is a flowchart of another window control power compensation method provided in the embodiment of the present application, where optionally, the detecting whether the terminal device satisfies a transmit antenna switching condition, and if so, performing transmit antenna switching includes: and if the terminal equipment is detected to be in the holding state, determining the received signal strength of the currently used transmitting antenna, and if the received signal strength is smaller than a preset threshold value, switching the transmitting antenna. As shown in fig. 5, the technical solution is as follows:
step S501, a power difference table is generated and stored by determining the transmission calibration parameters of the main transmitting antenna and the power difference values of the auxiliary transmitting antenna and the main transmitting antenna.
Step S502, when detecting that the terminal equipment transmits signals, determining transmitting antennas used for transmitting the signals.
Step S503, judging whether the transmitting antenna is a main transmitting antenna, if so, executing step S504, and if not, executing step S505.
And step S504, calibrating the current transmitting signal according to the transmitting calibration parameter.
Step S505, inquiring a power difference table according to a linear calibration parameter corresponding to the current transmitting signal to obtain a corresponding calibration power value and a corresponding difference power value, summing the calibration power value and the difference power value to obtain a corrected transmitting power, and driving a transmitting module to carry out gain adjustment so that the signal power transmitted by the auxiliary transmitting antenna is the corrected transmitting power.
And step S506, acquiring the state parameters of the terminal equipment.
The state parameter may be a motion state parameter of the terminal device measured by an acceleration sensor and a gyroscope, or a touch state parameter detected by a touch screen.
And step S507, judging whether the terminal device is currently in a holding state according to the state parameter, if so, executing step S508, and if not, executing step S506.
In one embodiment, the state parameter is an acceleration parameter and/or a gyroscope parameter, and when the parameter satisfies a preset condition (for example, the acceleration or the gyroscope parameter is not 0), it is determined that the terminal device is in the holding state. In another embodiment, the state parameter is a touch state parameter of the touch screen, and the parameter is used for characterizing a touch area detected by the touch screen, and if the touch area satisfies a holding judgment condition (for example, a screen area ratio greater than or equal to 1/8), it is determined that the terminal device is in a holding state.
Step S508, determine whether the terminal device satisfies the transmit antenna switching condition, if yes, execute step S509.
Step S509, switching of the transmitting antennas is performed, and after the switching is completed, step S503 is executed.
According to the method, when the terminal equipment is detected to be in the holding state, whether the transmitting antenna is switched or not is judged, the switching efficiency of the transmitting antenna is improved, after the transmitting antenna is switched, the corresponding calibration parameter or the power compensation value is correspondingly called to correct the transmitting signal, and the antenna calibration precision is obviously improved.
Fig. 6 is a block diagram of a power compensation apparatus according to an embodiment of the present application, where the apparatus is configured to execute the power compensation method according to the embodiment, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 6, the apparatus specifically includes: an antenna determination module 101, a power determination module 102, and a compensation module 103, wherein,
an antenna determining module 101, configured to determine a transmitting antenna used for transmitting a signal when detecting that a terminal device performs signal transmission, where the terminal device includes a main transmitting antenna and at least one auxiliary transmitting antenna.
The terminal equipment can transmit signals to the base station through the antenna to communicate with other terminal equipment or access the internet to perform network communication. In order to ensure the communication quality, a plurality of antennas, such as a main antenna and an auxiliary antenna, are generally provided in the terminal device. In order to ensure the consistency of the transmission channels in the process of transmitting signals by the antenna, the transmission power calibration is required.
And when the terminal equipment is determined to transmit the signal, determining a transmitting antenna used for transmitting the signal. In one embodiment, whether to transmit signals may be determined by detecting the operation and network status of the terminal device, for example, determining a transmitting antenna used for transmitting signals when detecting that the terminal device is in a call state or a non-flight mode state, or determining a transmitting antenna used for transmitting signals when detecting that the terminal device is in an on state. In another embodiment, when the signal transmission module is detected to be working, the terminal equipment is determined to be transmitting signals, and the transmitting antenna used for transmitting signals is determined. In one embodiment, the switching between different transmitting antennas is performed by controlling the state of DPDT (Double Pole Double Throw), so that the transmitting antenna used for currently transmitting signals can be identified and determined by reading the connection state of DPDT. Illustratively, the DPDT may be configured to set 4 connectivity states, such as A, B, C and D, through different connection modes, where each connectivity state may correspond to the use of 4 transmitting antennas, such as a, b, c and D, and when the DPDT is identified to be in different connectivity states, the transmitting antenna currently used by the terminal device may be determined accordingly.
It should be noted that the main transmitting antenna and the auxiliary transmitting antenna may be factory set by the terminal device, or may be manually set by a testing and research personnel, and when the terminal device includes at least two transmitting antennas, one of the transmitting antennas may be defined as the main transmitting antenna, and the other transmitting antennas may be defined as the auxiliary transmitting antennas.
A power determining module 102, configured to determine a power difference value between the secondary transmitting antenna and the primary transmitting antenna if the secondary transmitting antenna is used for signal transmission.
And when detecting that the terminal equipment uses the auxiliary transmitting antenna to transmit signals, determining the power difference value of the auxiliary transmitting antenna and the main transmitting antenna. The power difference value is the difference value of the transmitting power of the main transmitting test seat and the transmitting power of the auxiliary transmitting test seat which are measured in advance in the testing process. In the prior art, a radio frequency test socket is used to test calibration parameters of an antenna and apply the calibration parameters in signal transmission, a conventional terminal device such as a smart phone is provided with a radio frequency test socket between a DPDT switch input and a transmission module (such as a cellular transmission module), when the radio frequency test socket is set between a DPDT switch output and the antenna, different antenna radio frequency test sockets (such as a main antenna radio frequency test socket and an auxiliary antenna radio frequency test socket) have different lengths from the DPDT switch, and for example, when the length difference between the main antenna radio frequency test socket and the auxiliary antenna radio frequency test socket and the DPDT switch is 2cm, the insertion loss of transmission power measured by the main antenna radio frequency test socket and the auxiliary antenna radio frequency test socket is 1.2 dB. In one embodiment, when the main transmitting antenna is used as the antenna calibration base, if it is detected that the terminal device uses the auxiliary transmitting antenna for signal transmission, the transmission power of the auxiliary transmitting antenna needs to be compensated to make the antenna calibration correct due to the aforementioned insertion loss. Specifically, the power difference table stored locally can be queried to determine the power difference value between the currently used auxiliary transmitting antenna and the currently used main transmitting antenna, and correspondingly, calibration parameters of the main transmitting antenna are also stored in the table, the power difference table is generated through testing, if a test signal is controlled to be respectively transmitted through the main transmitting antenna and the auxiliary transmitting antenna, the calibration parameters of the main transmitting antenna are obtained through the test result of the main transmitting test base, and the power difference value between the auxiliary transmitting antenna and the main transmitting antenna is obtained through the test result of the auxiliary transmitting test base and is correspondingly stored.
And the compensation module 103 is configured to perform power compensation on the transmission signal according to the power difference value.
In one embodiment, the Power difference value is stored in the terminal device in the form of a Power difference table, where the table further includes calibration parameters of the main transmitting antenna, and the Power difference table may exist in xml form, may be imported into the system, and may also be imported into the xml form of the Power difference table when performing signal transmission, and Power compensation is performed according to parameters in the Power difference (for example, a high-pass chip, such as a TxRGI parameter, a Power parameter, and a DeltaPwr parameter), where the calibration parameters may be Tx calibration based on 3/4 g. Specifically, when the auxiliary transmitting antenna transmits a signal, the compensation power is the power difference value obtained by querying in table 1, and the power difference value plus the calibration power value of the main transmitting antenna is used as the current transmitting power of the auxiliary transmitting antenna.
According to the above, when the terminal device transmits signals, if the auxiliary transmitting antenna is adopted for signal transmission, power compensation is correspondingly performed, so that the transmitting power of the terminal device when the auxiliary transmitting antenna is used for signal transmission meets the requirement of communication consistency, and the calibration accuracy of the antenna is improved.
In one possible embodiment, the power determination module 102 is further configured to:
before the signal transmission of the detection terminal equipment, the transmission calibration parameters of a main transmitting antenna and the power difference value of an auxiliary transmitting antenna and the main transmitting antenna are determined and stored.
In a possible embodiment, the power determining module 102 is specifically configured to:
controlling a test signal to carry out signal transmission through a main transmitting antenna, and determining a main transmitting calibration parameter corresponding to the main transmitting antenna according to a test result of a main transmitting test seat corresponding to the main transmitting antenna;
and controlling a test signal to carry out signal transmission through an auxiliary transmitting antenna, and determining a power difference value between the auxiliary transmitting antenna and the main transmitting antenna according to a test result of an auxiliary transmitting test seat corresponding to the auxiliary transmitting antenna.
In one possible embodiment, the power difference value includes power difference values of the secondary transmitting antenna and the primary transmitting antenna in different frequency bands.
In one possible embodiment, the antenna determination module 101 is further configured to:
and after the power compensation is carried out on the transmitting signals according to the power difference value, detecting whether the terminal equipment meets the switching condition of the transmitting antennas, if so, switching the transmitting antennas, and carrying out power compensation according to the power difference value corresponding to the switched transmitting antennas and the main transmitting antenna.
In a possible embodiment, the antenna determining module 101 is specifically configured to:
and if the terminal equipment is detected to be in the holding state, determining the received signal strength of the currently used transmitting antenna, and if the received signal strength is smaller than a preset threshold value, switching the transmitting antenna.
In a possible embodiment, the power determining module 102 is specifically configured to:
and determining the power difference value of the auxiliary transmitting antenna and the main transmitting antenna according to the stored power difference value table.
In this embodiment, a terminal device is provided on the basis of the foregoing embodiments, and fig. 7 is a schematic structural diagram of a terminal device provided in an embodiment of the present application, and as shown in fig. 7, the terminal device 200 includes: memory 201, processor (CPU) 202, peripheral interfaces 203, RF (Radio Frequency) circuitry 205, audio circuitry 206, speaker 211, power management chip 208, input/output (I/O) subsystem 209, touch screen 212, antenna module 213, other input/control devices 210, and external port 204, which communicate via one or more communication buses or signal lines 207.
It should be understood that the illustrated terminal device 200 is only one example of a terminal device, and that the terminal device 200 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail a terminal device for rights management of multi-open applications provided in this embodiment, where the terminal device is a smart phone as an example.
A memory 201, the memory 201 being accessible by the CPU202, the peripheral interface 203, and the like, the memory 201 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 203, said peripheral interface 203 may connect input and output peripherals of the device to the CPU202 and the memory 201.
An I/O subsystem 209, the I/O subsystem 209 may connect input and output peripherals on the device, such as a touch screen 212 and other input/control devices 210, to the peripheral interface 203. The I/O subsystem 209 may include a display controller 2091 and one or more input controllers 2092 for controlling the other input/control devices 210. Where one or more input controllers 2092 receive electrical signals from or transmit electrical signals to other input/control devices 210, the other input/control devices 210 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 2092 may be coupled to any one of: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 212, the touch screen 212 being an input interface and an output interface between the user terminal and the user, displaying visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 2091 within the I/O subsystem 209 receives electrical signals from the touch screen 212 or transmits electrical signals to the touch screen 212. The touch screen 212 detects a contact on the touch screen, and the display controller 2091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 212, i.e., implements a human-machine interaction, and the user interface object displayed on the touch screen 212 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 205 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, the RF circuitry 205 receives and transmits RF signals, also referred to as electromagnetic signals, through which the RF circuitry 205 converts electrical signals to or from electromagnetic signals and communicates with communication networks and other devices. RF circuitry 205 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 206 is mainly used to receive audio data from the peripheral interface 203, convert the audio data into an electric signal, and transmit the electric signal to the speaker 211.
And a speaker 211 for reproducing the voice signal received by the handset from the wireless network through the RF circuit 205 into sound and playing the sound to the user.
And the power management chip 208 is used for supplying power and managing power to the hardware connected with the CPU202, the I/O subsystem and the peripheral interface.
The power compensation device of the terminal device and the terminal device provided in the above embodiments may execute the power compensation method of the terminal device provided in any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method. Technical details that are not described in detail in the above embodiments may be referred to a power compensation method of a terminal device provided in any embodiment of the present invention.
Embodiments of the present application further provide a storage medium containing terminal device-executable instructions, which when executed by a terminal device processor, are configured to perform a power compensation method, where the method includes:
when detecting that terminal equipment transmits signals, determining transmitting antennas used for transmitting the signals, wherein the terminal equipment comprises a main transmitting antenna and at least one auxiliary transmitting antenna;
if the auxiliary transmitting antenna is used for signal transmission, determining a power difference value of the auxiliary transmitting antenna and the main transmitting antenna;
and carrying out power compensation on the transmitting signal according to the power difference value.
In a possible embodiment, before detecting that the terminal device performs signal transmission, the method further includes:
and determining and storing the transmission calibration parameters of the main transmitting antenna and the power difference value between the auxiliary transmitting antenna and the main transmitting antenna.
In one possible embodiment, the determining the transmission calibration parameter of the main transmitting antenna and the power difference value between the auxiliary transmitting antenna and the main transmitting antenna comprises:
controlling a test signal to carry out signal transmission through a main transmitting antenna, and determining a main transmitting calibration parameter corresponding to the main transmitting antenna according to a test result of a main transmitting test seat corresponding to the main transmitting antenna;
and controlling a test signal to carry out signal transmission through an auxiliary transmitting antenna, and determining a power difference value between the auxiliary transmitting antenna and the main transmitting antenna according to a test result of an auxiliary transmitting test seat corresponding to the auxiliary transmitting antenna.
In one possible embodiment, the power difference value includes power difference values of the secondary transmitting antenna and the primary transmitting antenna in different frequency bands.
In a possible embodiment, after the performing the power compensation on the transmission signal according to the power difference value, the method further includes:
and detecting whether the terminal equipment meets the switching condition of the transmitting antenna, if so, switching the transmitting antenna, and performing power compensation according to the power difference value between the switched transmitting antenna and the main transmitting antenna.
In a possible embodiment, the detecting whether the terminal device satisfies a transmit antenna switching condition, and if so, the switching of the transmit antenna includes:
and if the terminal equipment is detected to be in the holding state, determining the received signal strength of the currently used transmitting antenna, and if the received signal strength is smaller than a preset threshold value, switching the transmitting antenna.
In one possible embodiment, the determining the power difference value between the secondary transmitting antenna and the primary transmitting antenna includes:
and determining the power difference value of the auxiliary transmitting antenna and the main transmitting antenna according to the stored power difference value table.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the power compensation method described above, and may also perform related operations in the power compensation method provided in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (6)

1. A power compensation method, comprising:
determining and storing a transmission calibration parameter of a main transmitting antenna and a power difference value of an auxiliary transmitting antenna and the main transmitting antenna; the power difference value comprises the power difference values of an auxiliary transmitting antenna and a main transmitting antenna under different frequency bands;
when detecting that terminal equipment transmits signals, determining transmitting antennas used for transmitting the signals, wherein the terminal equipment comprises a main transmitting antenna and at least one auxiliary transmitting antenna;
if the auxiliary transmitting antenna is used for signal transmission, determining a power difference value of the auxiliary transmitting antenna and the main transmitting antenna;
performing power compensation on the transmitting signal according to the power difference value;
detecting whether the terminal equipment meets a transmitting antenna switching condition, if so, switching the transmitting antenna and performing power compensation according to a power difference value between the switched transmitting antenna and a main transmitting antenna, wherein the transmitting antenna has high received signal strength and is not the transmitting antenna currently used by the terminal equipment;
the detecting whether the terminal equipment meets the switching condition of the transmitting antenna, if so, the switching of the transmitting antenna comprises the following steps: and if the terminal equipment is detected to be in the holding state, determining the received signal strength of the currently used transmitting antenna, and if the received signal strength is smaller than a preset threshold value, switching the transmitting antenna.
2. The method of claim 1, wherein determining the transmission calibration parameters for the primary transmit antenna and the power difference between the secondary transmit antenna and the primary transmit antenna comprises:
controlling a test signal to carry out signal transmission through a main transmitting antenna, and determining a main transmitting calibration parameter corresponding to the main transmitting antenna according to a test result of a main transmitting test seat corresponding to the main transmitting antenna;
and controlling a test signal to carry out signal transmission through an auxiliary transmitting antenna, and determining a power difference value between the auxiliary transmitting antenna and the main transmitting antenna according to a test result of an auxiliary transmitting test seat corresponding to the auxiliary transmitting antenna.
3. The method of claim 1, wherein the determining the power difference value between the secondary transmit antenna and the primary transmit antenna comprises:
and determining the power difference value of the auxiliary transmitting antenna and the main transmitting antenna according to the stored power difference value table.
4. A power compensation apparatus, comprising:
the terminal equipment comprises an antenna determining module, a signal transmitting module and a signal receiving module, wherein the antenna determining module is used for determining a transmitting antenna used for transmitting a signal when detecting that the terminal equipment transmits the signal, and the terminal equipment comprises a main transmitting antenna and at least one auxiliary transmitting antenna;
a power determining module, configured to determine a power difference value between an auxiliary transmitting antenna and a main transmitting antenna if the auxiliary transmitting antenna is used for signal transmission;
the compensation module is used for carrying out power compensation on the transmitting signal according to the power difference value;
the power determination module is further configured to: before signal transmission of the detection terminal equipment, determining a transmission calibration parameter of a main transmitting antenna and a power difference value of an auxiliary transmitting antenna and the main transmitting antenna, and storing the transmission calibration parameter and the power difference value; the power difference value comprises the power difference values of the auxiliary transmitting antenna and the main transmitting antenna under different frequency bands;
the antenna determination module is further configured to: after the power compensation is carried out on the transmitting signals according to the power difference value, whether the terminal equipment meets the switching condition of the transmitting antennas is detected, if the switching condition is met and the transmitting antenna with high received signal strength is not the transmitting antenna currently used by the terminal equipment, the switching of the transmitting antennas is carried out, and the power compensation is carried out according to the power difference value corresponding to the switched transmitting antenna and the main transmitting antenna;
the detecting whether the terminal equipment meets the switching condition of the transmitting antenna, if so, the switching of the transmitting antenna comprises the following steps:
and if the terminal equipment is detected to be in the holding state, determining the received signal strength of the currently used transmitting antenna, and if the received signal strength is smaller than a preset threshold value, switching the transmitting antenna.
5. A terminal device, comprising: processor, memory, transmitting antenna and computer program stored on the memory and executable on the processor, characterized in that the processor implements the power compensation method according to any of claims 1-3 when executing the computer program.
6. A storage medium containing terminal device-executable instructions, which when executed by a terminal device processor, are configured to perform the power compensation method of any of claims 1-3.
CN201810522364.4A 2018-05-28 2018-05-28 Power compensation method, device, terminal equipment and storage medium Active CN108832944B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810522364.4A CN108832944B (en) 2018-05-28 2018-05-28 Power compensation method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810522364.4A CN108832944B (en) 2018-05-28 2018-05-28 Power compensation method, device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108832944A CN108832944A (en) 2018-11-16
CN108832944B true CN108832944B (en) 2020-02-07

Family

ID=64146185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810522364.4A Active CN108832944B (en) 2018-05-28 2018-05-28 Power compensation method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108832944B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110891305B (en) * 2019-12-11 2022-04-19 维沃移动通信有限公司 Power control device and method and electronic equipment
CN111669199A (en) * 2020-06-08 2020-09-15 维沃移动通信有限公司 Power detection circuit and electronic equipment
CN113514793B (en) * 2021-06-09 2024-09-17 上海铂联通信技术有限公司 Direction-finding link calibration method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080227414A1 (en) * 2007-03-01 2008-09-18 Yair Karmi System, method and apparatus for transmit diversity control based on variations in propagation path
US8204460B2 (en) * 2007-08-08 2012-06-19 Qualcomm Incorporated Method and system for precise transmit power adjustment in wireless communication systems

Also Published As

Publication number Publication date
CN108832944A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
US11888568B2 (en) Apparatus and method for providing diversity service antenna in portable terminal
CN108055687B (en) Wireless network connection method and device and terminal equipment
US10998986B2 (en) Wireless communication circuit for supporting antenna switching and device including same
CN108832944B (en) Power compensation method, device, terminal equipment and storage medium
CN108093444B (en) Wireless network transmission rate control method and device, terminal equipment and storage medium
JP2006129358A (en) Wireless communication module, communication terminal, and impedance matching method
KR20200108546A (en) Method for controlling frequency band for communication and electronic device thereof
CN108768548B (en) Radio frequency calibration method, device, mobile terminal and computer readable storage medium
US20130165057A1 (en) Rf transmission circuit and electronic device and method for saving power thereof
US20100311423A1 (en) Communication Terminal Out of Range Determination Method, Wireless Communication System Switching Method and Communication Terminal
KR20210028841A (en) An electronic device and method for calibrating and detecting ferformance of a radio frequency intergrated circuit
KR20200067336A (en) Method for controlling antenna characteristics and an electronic device thereof
CN108923866B (en) Antenna calibration method, antenna calibration device, terminal equipment and storage medium
CN108307485B (en) Wireless network scanning method and device, terminal equipment and storage medium
CN109600791B (en) Signal strength reporting method and device, storage medium and mobile terminal
CN108055706B (en) Wireless network connection control method, device, storage medium and terminal equipment
KR20200104665A (en) Method and apparatus for supporting dual sim operation simultaneously
CN108337719B (en) Wireless network scanning method and device, terminal equipment and storage medium
CN108833033B (en) Method and device for determining radio frequency calibration parameters, storage medium and mobile terminal
CN108307447B (en) Wireless network transmission control method, device, storage medium and terminal equipment
CN108337718B (en) Wireless network scanning method and device, terminal equipment and storage medium
KR102342396B1 (en) Method, apparatus and computer readable storage medium for measuring radio performance of a receiver of a wireless terminal
CN108337715B (en) Wireless network connection method, device, terminal equipment and storage medium
CN111226403B (en) Power configuration method in wireless communication system and apparatus thereof
KR20210034990A (en) Electronic device for matching antenna impedance and operating method thereof

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
GR01 Patent grant
GR01 Patent grant