CN109600174A - Poewr control method, test device, terminal and test macro - Google Patents

Poewr control method, test device, terminal and test macro Download PDF

Info

Publication number
CN109600174A
CN109600174A CN201910019797.2A CN201910019797A CN109600174A CN 109600174 A CN109600174 A CN 109600174A CN 201910019797 A CN201910019797 A CN 201910019797A CN 109600174 A CN109600174 A CN 109600174A
Authority
CN
China
Prior art keywords
terminal
tested
test
compensation
power value
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
CN201910019797.2A
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.)
Xian Yep Telecommunication Technology Co Ltd
Original Assignee
Xian Yep Telecommunication Technology 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 Xian Yep Telecommunication Technology Co Ltd filed Critical Xian Yep Telecommunication Technology Co Ltd
Priority to CN201910019797.2A priority Critical patent/CN109600174A/en
Publication of CN109600174A publication Critical patent/CN109600174A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/11Monitoring; Testing of transmitters for calibration
    • H04B17/13Monitoring; Testing of transmitters for calibration of power amplifiers, e.g. gain or non-linearity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/21Monitoring; Testing of receivers for calibration; for correcting measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/54Signalisation aspects of the TPC commands, e.g. frame structure

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Electromagnetism (AREA)
  • Nonlinear Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present embodiments relate to the field of test technology, a kind of Poewr control method, test device, terminal and test macro are disclosed.Poewr control method includes: the actual power value of detection terminal transmission to be measured or received test signal;According to actual power value and preset expectation parameter, determine whether terminal to be measured passes through test;If terminal to be measured does not pass through test, the compensation flag bit of terminal to be measured is determined according to actual power value and desired parameter, and compensation flag bit is sent to terminal to be measured, so that terminal to be measured obtains compensating parameter according to compensation flag bit, and the performance number of transmitting or received test signal is adjusted according to compensating parameter.In the present invention, the test percent of pass of terminal to be measured is improved.

Description

Power control method, test device, terminal and test system
Technical Field
The embodiment of the invention relates to the technical field of testing, in particular to a power control method, a testing device, a terminal and a testing system.
Background
With the evolution of radio frequency technology, radio frequency systems become more complex, and the requirements on the accuracy of the transmission and reception power of radio frequency are higher and higher, so as to realize high-quality transmission of radio frequency communication. The first scheme is that through calibration of a radio frequency system, system test optimizes calibration parameters, and consistency of radio frequency power control is achieved; the second scheme is to average the calibration parameters by sampling a certain amount of the whole machine power, so as to realize the consistency of the radio frequency power control.
The inventor finds that at least the following problems exist in the prior art: the second scheme saves the calibration link of a factory and improves the test efficiency, but is a relatively rough power control scheme, and generally realizes the power accuracy within +/-3 dB; the first scheme is more power accurate than the second scheme, however, because of the deviation caused by the environment of the calibration instrument, the power accuracy is about +/-1.5 dB, if more accurate power control is needed, high-consistency environment verification needs to be carried out on the test equipment, the test environment and the like, the test passing rate is low in the actual test, and more proportions of terminals to be tested need to be recalibrated or can still not pass the standard after recalibration test.
Disclosure of Invention
The embodiment of the invention aims to provide a power control method, a test device, a terminal and a test system, which improve the test passing rate of a terminal to be tested.
In order to solve the above technical problem, an embodiment of the present invention provides a power control method applied to a test apparatus, where the method includes: detecting the actual power value of a test signal transmitted or received by a terminal to be tested; determining whether the terminal to be tested passes the test or not according to the actual power value and a preset expected parameter; if the terminal to be tested does not pass the test, determining a compensation zone bit of the terminal to be tested according to the actual power value and the expected parameter, and sending the compensation zone bit to the terminal to be tested so that the terminal to be tested can obtain a compensation parameter according to the compensation zone bit and adjust the power value of the transmitted or received test signal according to the compensation parameter.
An embodiment of the present invention further provides a test apparatus, including: the system comprises detection equipment and a test client connected with the detection equipment; the detection equipment is used for detecting the actual power value of a test signal transmitted or received by the terminal to be detected; the test client is used for determining whether the terminal to be tested passes the test or not according to the actual power value and the preset expected parameter; the test client is further used for determining a compensation zone bit of the terminal to be tested according to the actual power value and the expected parameter when the terminal to be tested fails the test, and sending the compensation zone bit to the terminal to be tested, so that the terminal to be tested can obtain the compensation parameter according to the compensation zone bit, and adjust the power value of the transmitted or received test signal according to the compensation parameter.
The embodiment of the invention also provides a power control method, which is applied to a terminal to be tested and comprises the following steps: transmitting or receiving a test signal so that a test device can detect the actual power value of the test signal, and determining whether the terminal to be tested passes the test or not according to the actual power value and a preset expected parameter; when a compensation zone bit sent by a testing device is received, obtaining a compensation parameter according to the compensation zone bit; when the terminal to be tested does not pass the test, the test device determines a compensation zone bit of the terminal to be tested according to the actual power value and the expected power value and sends the compensation zone bit to the terminal to be tested; adjusting the power level of the transmitted or received test signal in accordance with the compensation parameter
An embodiment of the present invention further provides a terminal, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the power control method.
The embodiment of the invention also provides a test system which comprises the test device and the terminal.
Compared with the prior art, the embodiment of the invention has the advantages that the test device can detect the actual power value of the test signal transmitted or received by the terminal to be tested, so that whether the terminal to be tested passes the test can be determined according to the actual power value and the expected parameter, if the terminal to be tested does not pass the test, the test device determines the compensation flag bit of the terminal to be tested according to the actual power value and the expected parameter and transmits the compensation flag bit to the terminal to be tested, after the terminal to be tested receives the compensation flag bit, a compensation parameter is obtained according to the compensation flag bit, the power value of the transmitted or received test signal is adjusted according to the compensation parameter, the adjusted power value of the test signal is more matched with the expected parameter, and the test passing rate of the terminal to be tested is; in addition, the power accuracy of the test signal can be improved on the basis of not influencing the test passing rate, the power control with higher accuracy is realized, and the power control performance of the terminal to be tested is improved.
In addition, according to the actual power value and the preset expected parameter, determining whether the terminal to be tested passes the test, specifically including: acquiring an expected power range according to expected parameters; judging whether the actual power value is in the expected power range or not; and if the actual power value is out of the expected power range, judging that the terminal to be tested does not pass the test. The embodiment provides a specific implementation mode for determining whether the terminal to be tested passes the test or not according to the actual power value and the preset expected parameter.
In addition, determining a compensation flag bit of the terminal to be tested according to the actual power value and the expected parameter specifically includes: judging the relation between the actual power value and the expected power range; when the actual power value is larger than the upper limit value of the expected power range, determining the compensation flag bit of the terminal to be detected as a power reduction flag; and when the actual power value is smaller than the lower limit value of the expected power range, determining that the compensation flag bit of the terminal to be tested is a power-up flag. The embodiment provides a specific implementation manner for determining the compensation zone bit of the terminal to be tested according to the actual power value and the expected parameter.
In addition, after the terminal to be tested fails the test, and before determining the compensation flag bit of the terminal to be tested according to the actual power value and the expected parameter, the method further includes: judging whether the number of times that the terminal to be tested fails to pass the test reaches a preset number of times or not; if the number of times that the terminal to be tested fails to pass the test reaches the preset number of times, sending prompt information representing the abnormity of the terminal to be tested; and if the number of times that the terminal to be tested fails to pass the test does not reach the preset number of times, determining a compensation zone bit of the terminal to be tested according to the actual power value and the expected parameter. In the embodiment, the judgment of whether the number of times that the terminal to be tested fails to pass the test reaches the preset number is added, so that whether the terminal to be tested is abnormal or not can be judged in time.
In addition, the desired parameters include a desired power value and a power tolerance value. The present embodiment provides specific contents of desired parameters.
In addition, the compensation parameters are obtained according to the compensation flag bits, specifically: and acquiring the compensation parameters corresponding to the compensation zone bits according to the corresponding relation between the preset compensation zone bits and the compensation parameters. The present embodiment provides a specific implementation manner for obtaining the compensation parameter according to the compensation flag.
In addition, calibration parameters are preset in the terminal to be tested; the method for transmitting or receiving the test signal specifically comprises the following steps: transmitting or receiving a test signal according to the calibration parameter; adjusting the power value of the transmitted or received test signal according to the compensation parameter, specifically: and adjusting the calibration parameters according to the compensation parameters, and transmitting or receiving the test signals according to the compensated calibration parameters. The present embodiment provides a specific implementation manner of adjusting the power value of the transmitted or received test signal according to the compensation parameter.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a block schematic diagram of a test apparatus according to a first embodiment of the invention;
fig. 2 is a detailed flowchart of a power control manner according to a first embodiment of the present invention;
fig. 3 is a detailed flowchart of a power control manner according to a second embodiment of the present invention;
FIG. 4 is a schematic diagram of a power limit distribution range without power control according to a second embodiment of the present invention;
FIG. 5 is a schematic diagram of a power limit distribution range using a power control scheme according to a second embodiment of the present invention;
fig. 6 is a detailed flowchart of a power control manner according to a third embodiment of the present invention;
fig. 7 is a detailed flowchart of a power control manner according to a fourth embodiment of the present invention;
fig. 8 is a detailed flowchart of a power control scheme in a fifth embodiment according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a power control method applied to a testing apparatus, please refer to fig. 1, where the testing apparatus may include a detecting device 1 and a testing client 2 connected to the detecting device 1, and the detecting device 1 and the testing client 2 are respectively connected to a terminal 3 to be tested. Fig. 2 shows a specific flow of the power control method according to the present embodiment.
Step 101, detecting an actual power value of a test signal transmitted or received by a terminal to be tested.
Specifically, the terminal to be tested is a terminal such as a mobile phone or a tablet computer, the terminal to be tested transmits a test signal through a transmitting channel and receives the test signal through a receiving channel, the test signal is generally a radio frequency signal, and the detection device of the test apparatus can detect the power value of the test signal of the terminal to be tested passing through the transmitting channel and the receiving channel, record the power value as an actual power value, and send the actual power value to the test client. The terminal to be tested can be a terminal calibrated by radio frequency, calibration parameters are prestored in the terminal to be tested, and radio frequency signals transmitted or received by the terminal to be tested need to be adjusted according to the calibration parameters.
And step 102, determining whether the terminal to be tested passes the test or not according to the actual power value and the preset expected parameter. If yes, directly ending; if not, go to step 103.
Specifically, the expected parameters include an expected power value and a power tolerance value, and the test client can determine whether the terminal to be tested passes the test according to the actual power value, the expected power value and the power tolerance value; if the terminal to be tested is determined to pass the test, directly ending the test; otherwise, step 103 is entered.
And 103, determining a compensation zone bit of the terminal to be tested according to the actual power value and the expected parameter, and sending the compensation zone bit to the terminal to be tested.
Specifically, the test client determines a compensation flag bit of the terminal to be tested according to the actual power value, the expected power value and the power tolerance value, and sends the compensation flag bit to the terminal to be tested, the terminal to be tested obtains a compensation parameter according to the compensation flag bit, and adjusts the power value of the test signal to be transmitted or received according to the compensation parameter, specifically, the terminal to be tested performs weighted combination on the prestored calibration parameter and the compensation parameter to obtain an adjusted calibration parameter, so that the terminal to be tested performs adjustment according to the adjusted calibration parameter when transmitting or receiving the radio frequency signal.
Compared with the prior art, the test device can detect the actual power value of the test signal transmitted or received by the terminal to be tested, so that whether the terminal to be tested passes the test can be determined according to the actual power value and the expected parameter, if the terminal to be tested does not pass the test, the test device determines the compensation flag bit of the terminal to be tested according to the actual power value and the expected parameter and transmits the compensation flag bit to the terminal to be tested, after the terminal to be tested receives the compensation flag bit, a compensation parameter is obtained according to the compensation flag bit, the power value of the transmitted or received test signal is adjusted according to the compensation parameter, the adjusted power value of the test signal is more matched with the expected parameter, and the test passing rate of the terminal to be tested is improved; in addition, the power accuracy of the test signal can be improved on the basis of not influencing the test passing rate, the power control with higher accuracy is realized, and the power control performance of the terminal to be tested is improved.
A second embodiment of the present invention relates to a power control method, and is substantially the same as the first embodiment, and mainly differs therefrom in that: the specific implementation mode for determining the compensation zone bit of the terminal to be tested according to the actual power value and the expected parameter is provided.
Fig. 3 shows a specific flow of the power control method according to the present embodiment.
Step 201, detecting an actual power value of a test signal transmitted or received by a terminal to be tested.
This step is substantially the same as step 101 in the first embodiment, and will not be described herein again.
Step 202, comprising the following sub-steps:
substep 2021, obtain the desired power range from the desired parameters.
Specifically, the desired parameter includes a desired power value PE and a power tolerance value T, and then the desired power range is [ PE-T, PE + T ], and the power precision is [ [ -T, T ].
Sub-step 2022, determine if the actual power value is within the desired power range. If yes, directly ending; if not, go to step 203.
Specifically, the test client judges whether the actual power value PX is in an expected power range [ PE-T, PE + T ], namely whether | PX-PE | is smaller than or equal to T, when | PX-PE | is smaller than or equal to T, the actual power value PX is in the expected power range [ PE-T, PE + T ], which indicates that the terminal to be tested meets the power precision requirement, and judges that the terminal to be tested passes the test and directly ends the test; when the absolute value of PX-PE is greater than T, the actual power value PX is out of the expected power range [ PE-T, PE + T ], which indicates that the terminal to be tested does not meet the power precision requirement, the terminal to be tested is judged to fail to pass the test, and the step 203 is entered.
Step 203, comprising the following substeps:
sub-step 2031, determining the relation between the actual power value and the desired power range. If the actual power value is greater than the upper limit of the desired power range, then go to substep 2032; if the actual power value is less than the lower limit of the desired power range, then sub-step 2033 is entered.
Substep 2032, determining the compensation flag bit of the terminal to be tested as a power down flag.
Substep 2033, determining the compensation flag bit of the terminal to be tested as the power-up flag.
Specifically, the test client determines the relationship between the actual power value PX and the desired power range [ PE-T, PE + T ], i.e., determines the magnitude relationship between the actual power value PX and the lower limit value PE-T and the upper limit value PE + T of the desired power range. If PX is greater than PE + T, the actual power value PX of the test signal output by the terminal to be tested is larger than the power upper limit value PE + T, the actual power value PX of the test signal of the terminal to be tested needs to be reduced, and the compensation flag bit of the terminal to be tested is determined to be a power reduction flag 1; if PX is less than PE-T, it indicates that the actual power value PX of the test signal of the terminal to be tested is less than the power lower limit PE-T, the actual power value PX of the test signal of the terminal to be tested needs to be increased, and it is determined that the compensation flag bit of the terminal to be tested is the power-up flag 2. In addition, when the actual power value PX is within the expected power range [ PE-T, PE + T ], the test client may also obtain a compensation flag bit 0, which indicates that no compensation is performed.
And 204, sending the compensation zone bit to the terminal to be tested so that the terminal to be tested can obtain the compensation parameter according to the compensation zone bit and adjust the power value of the transmitted or received test signal according to the compensation parameter.
Specifically, the test client sends the compensation flag bit to the terminal to be tested, the corresponding relation between the compensation flag bit and the compensation parameter is prestored in the terminal to be tested, the terminal to be tested obtains the compensation parameter according to the compensation flag bit, and if the received compensation flag bit is 0, the terminal to be tested does not perform compensation; if the obtained compensation flag bit is a power reduction flag 1, the obtained compensation parameter is Nd; if the obtained compensation flag bit is the boosted power flag 2, the obtained compensation parameter is Nu. The calibration parameter Nb is pre-stored in the terminal to be measured, and the calibration parameter Nb and the compensation parameter are combined in a weighted manner to obtain a new calibration parameter, for example, if the compensation parameter is Nd, the new calibration parameter is Nb + Nd, so that the terminal to be measured is adjusted according to the new calibration parameter when transmitting or receiving the radio frequency signal.
Taking the expected power range [ PE-T, PE + T ] as an example, the following is specific:
if the actual power value PX falls within the range of [ PE-2T, PE-T), it indicates that the actual power value PX is less than PE-T, the test client obtains the compensation flag bit as the power-up flag 2, the terminal to be tested obtains the compensation parameter Nu corresponding to the power-up flag 2, the actual power value PX falls within the range of the expected power [ PE-T, PE + T ] through the compensation of Nu, and the compensation parameter Nu is 2T.
If the actual power value PX falls within the range of [ PE + T, PE +2T), it indicates that the actual power value PX is greater than PE + T, the test client obtains the compensation flag bit as the power down flag 1, the terminal to be tested obtains the compensation parameter Nd corresponding to the power down flag 1, the actual power value PX falls within the range of the expected power [ PE-T, PE + T ] through the compensation of Nd, and the compensation parameter Nu is 2T.
It should be noted that the power control method according to this embodiment may also be used to improve power accuracy, and the following description takes an expected power range [ PE-T, PE + T ] as an example, and specifically includes the following steps:
if the actual power value PX falls within the range of [ PE-T, PE-T/2), the test client triggers power-up compensation, the obtained compensation flag bit is the power-up flag 2, the terminal to be tested obtains the compensation parameter Nu corresponding to the power-up flag 2, the actual power value PX falls within the power range [ PE-T/2, PE + T/2] through the compensation of Nu, and the compensation parameter Nu is equal to T.
If the actual power value PX falls within the range of [ PE + T/2, PE + T), the test client triggers power reduction compensation, the obtained compensation flag bit is the power reduction flag 1, the terminal to be tested obtains the compensation parameter Nd corresponding to the power reduction flag 1, the actual power value PX falls within the power range of [ PE-T/2, PE + T/2] through compensation of Nd, and the compensation parameter Nu is T.
From the above, the power control method of the present embodiment can improve the power accuracy from [ -T, T ] to [ -T/2, T/2 ]. Referring to fig. 4 and 5, fig. 4 is a schematic diagram of a power limit distribution range without the power control method of the present embodiment, and the visible power precision is [ -1.5, 1.5], fig. 5 is a schematic diagram of a power limit distribution range with the power control method of the present embodiment, and the visible power precision is [ -0.75, 0.75], that is, the power precision is increased from [ -1.5, 1.5] to [ -0.75, 0.75 ].
In this embodiment, the maximum compensation range of the compensation parameter is obtained as follows:
if the actual power value Px is smaller than the lower power limit PE-T, the obtained compensation parameter is Nu, Nu makes Px + Nu fall within the expected power range [ PE-T, PE + T ], that is, the actual power value Px is smaller than the lower power limit PE-T
PE-T is not less than Px + Nu is not less than PE + T (formula 1)
Thus, PE-T-Nu Px is equal to or less than PE + T-Nu (formula 2)
In particular, Px ═ PE-T, available Nu ≦ 2T (equation 3)
If the actual power value Px is larger than the lower power limit value PE + T, the obtained compensation parameter is Nd, and the Nd enables the Px + Nd to fall within the expected power range [ PE-T, PE + T ], namely
PE-T is less than or equal to Px-Nd is less than or equal to PE + T (formula 4)
Thus, PE-T + Nd. ltoreq. Px. ltoreq. PE + T + Nd (equation 5)
In particular, Px ═ PE + T, available Nd ≦ 2T (equation 6)
Based on the above (equation-3) and (equation-6), the maximum compensation range can be derived:
Nd=Nu=2T
compared with the first embodiment, the present embodiment provides a specific implementation manner for determining the compensation flag of the terminal to be tested according to the actual power value and the expected parameter.
A third embodiment of the present invention relates to a power control method, and is substantially the same as the first embodiment, and mainly differs therefrom in that: whether the terminal to be detected is abnormal or not can be judged.
Fig. 6 shows a specific flow of the power control method according to the present embodiment.
Step 301 and step 302 are substantially the same as step 101 and step 102, and step 305 is substantially the same as step 103, which are not described herein again, but the main difference is that step 303 and step 304 are added, which are specifically as follows:
and step 303, judging whether the number of times that the terminal to be tested fails to pass the test reaches a preset number of times. If yes, go to step 304; if not, go to step 305.
Specifically, when it is determined in step 302 that the terminal to be tested does not pass the test, the test client determines whether the number of times that the terminal to be tested does not pass the test reaches a preset number of times, and if the number of times that the terminal to be tested does not pass the test reaches a preset number of times K, it indicates that the terminal to be tested still cannot pass the test after performing power compensation K-1 times, and the terminal to be tested cannot pass the test through the power compensation, and the process proceeds to step 304; otherwise, step 305 is executed to determine a compensation flag of the terminal to be tested according to the actual power value and the expected parameter, and send the compensation flag to the terminal to be tested, so that the terminal to be tested can obtain the compensation parameter according to the compensation flag, and adjust the power value of the transmitted or received test signal according to the compensation parameter.
And step 304, sending out prompt information for representing the abnormity of the terminal to be tested.
Specifically, the test client sends prompt information representing the abnormality of the terminal to be tested, and the specific way can be that the abnormality of the terminal to be tested is marked on a test interface of the test client and displayed to prompt a tester that the terminal to be tested is abnormal.
Compared with the first embodiment, the method and the device have the advantages that the judgment on whether the number of times that the terminal to be tested fails to pass the test reaches the preset number is added, so that whether the terminal to be tested is abnormal or not can be judged in time. The present embodiment can also be modified from the second embodiment to achieve the same technical effects.
A fourth embodiment of the present invention relates to a power control method, which is applied to a terminal to be tested, where the terminal to be tested may be a mobile phone, a tablet computer, or the like. Referring to fig. 1, the testing apparatus may include a detecting device 1 and a testing client 2 connected to the detecting device 1, where the detecting device 1 and the testing client 2 are respectively connected to a terminal 3 to be tested.
Fig. 7 shows a specific flow of the power control method according to the present embodiment.
Step 401, transmitting or receiving a test signal to allow a test apparatus to detect an actual power value of the test signal, and determining whether a terminal to be tested passes a test according to the actual power value and a preset expected parameter.
Specifically, a terminal to be tested transmits a test signal through a transmitting channel and receives the test signal through a receiving channel, the test signal is generally a radio frequency signal, a detection device of the test device can detect the power value of the test signal of the terminal to be tested passing through the transmitting channel and the receiving channel, record the power value as an actual power value, send the actual power value to a test client, and the test client determines a compensation flag bit of the terminal to be tested according to an expected parameter and a power tolerance value and sends the compensation flag bit to the terminal to be tested.
And 402, when the compensation zone bit sent by the testing device is received, obtaining a compensation parameter according to the compensation zone bit.
Specifically, when the terminal to be tested receives the compensation zone bit sent by the test client of the test device, the compensation parameter is obtained according to the compensation zone bit.
And step 403, adjusting the power value of the transmitted or received test signal according to the compensation parameter.
Specifically, the terminal to be tested adjusts the power value of the transmitted or received test signal according to the compensation parameter, and after adjustment, the power value of the test signal transmitted or received by the terminal to be tested is equal to the actual power value ± the compensation parameter.
Since the first embodiment corresponds to the present embodiment, the present embodiment can be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and the technical effects that can be achieved in the first embodiment can also be achieved in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
Compared with the prior art, the test device can detect the actual power value of the test signal transmitted or received by the terminal to be tested, so that whether the terminal to be tested passes the test can be determined according to the actual power value and the expected parameter, if the terminal to be tested does not pass the test, the test device determines the compensation flag bit of the terminal to be tested according to the actual power value and the expected parameter and transmits the compensation flag bit to the terminal to be tested, after the terminal to be tested receives the compensation flag bit, a compensation parameter is obtained according to the compensation flag bit, the power value of the transmitted or received test signal is adjusted according to the compensation parameter, the adjusted power value of the test signal is more matched with the expected parameter, and the test passing rate of the terminal to be tested is improved; in addition, the power accuracy of the test signal can be improved on the basis of not influencing the test passing rate, the power control with higher accuracy is realized, and the power control performance of the terminal to be tested is improved.
A fifth embodiment of the present invention relates to a power control method, and is substantially the same as the fourth embodiment, and mainly differs therefrom in that: a specific implementation is provided for adjusting the power value of a transmitted or received test signal in accordance with a compensation parameter.
Fig. 8 shows a specific flow of the power control method according to the present embodiment.
Step 501, transmitting or receiving a test signal according to the calibration parameter to allow the test device to detect an actual power value of the test signal, and determining whether the terminal to be tested passes the test according to the actual power value and a preset expected parameter.
Specifically, calibration parameters are pre-stored in the terminal to be tested, the radio frequency signal transmitted or received by the terminal to be tested needs to be adjusted according to the calibration parameters, taking the terminal to be tested to transmit the test signal as an example, the power value of the test signal transmitted by the terminal to be tested is P, the calibration parameter is Nb, and the actual power value PX of the test signal is P + Nb, that is, the actual power value of the test signal detected by the detection device is P + Nb.
The test client judges the relationship between the actual power value PX and the expected power range [ PE-T, PE + T ], that is, the relationship between the actual power value PX and the lower limit value PE-T and the upper limit value PE + T of the expected power range is judged. If PX is greater than PE + T, the actual power value PX of the test signal output by the terminal to be tested is larger than the power upper limit value PE + T, the actual power value PX of the test signal of the terminal to be tested needs to be reduced, and the compensation flag bit of the terminal to be tested is determined to be a power reduction flag 1; if PX is less than PE-T, it indicates that the actual power value PX of the test signal of the terminal to be tested is less than the power lower limit PE-T, the actual power value PX of the test signal of the terminal to be tested needs to be increased, and it is determined that the compensation flag bit of the terminal to be tested is the power-up flag 2. In addition, when the actual power value PX is within the expected power range [ PE-T, PE + T ], the test client may also obtain a compensation flag bit 0, which indicates that no compensation is performed. And then, the test client sends the compensation zone bit to the terminal to be tested.
Step 502, when receiving the compensation flag bit sent by the test device, obtaining the compensation parameter corresponding to the compensation flag bit according to the corresponding relationship between the preset compensation flag bit and the compensation parameter.
Specifically, the corresponding relation between the compensation flag bit and the compensation parameter is pre-stored in the terminal to be tested, the terminal to be tested obtains the compensation parameter according to the compensation flag bit, and if the received compensation flag bit is 0, the terminal to be tested does not perform compensation; if the obtained compensation flag bit is a power reduction flag 1, the obtained compensation parameter is Nd; if the obtained compensation flag bit is the boosted power flag 2, the obtained compensation parameter is Nu.
Step 503, adjusting the calibration parameters according to the compensation parameters, and transmitting or receiving the test signal according to the compensated calibration parameters.
Specifically, a calibration parameter Nb is prestored in the terminal to be tested, and the calibration parameter Nb and the compensation parameter are weighted and combined to be adjusted, so as to obtain an adjusted calibration parameter, for example, if the compensation parameter is Nd, the adjusted calibration parameter is Nb + Nd, so that the terminal to be tested is adjusted according to a new calibration parameter when transmitting or receiving the radio frequency signal, taking the case that the terminal to be tested transmits the test signal as an example, the power value of the test signal transmitted by the terminal to be tested is P, and the adjusted calibration parameter is Nb + Nd, so that the actual power value PX of the test signal is P + Nb + Nd.
Taking the expected power range [ PE-T, PE + T ] as an example, the following is specific:
if the actual power value PX falls within the range of [ PE-2T, PE-T), it indicates that the actual power value PX is less than PE-T, the test client obtains the compensation flag bit as the power-up flag 2, the terminal to be tested obtains the compensation parameter Nu corresponding to the power-up flag 2, the actual power value PX falls within the range of the expected power [ PE-T, PE + T ] through the compensation of Nu, and the compensation parameter Nu is 2T.
If the actual power value PX falls within the range of [ PE + T, PE +2T), it indicates that the actual power value PX is greater than PE + T, the test client obtains the compensation flag bit as the power down flag 1, the terminal to be tested obtains the compensation parameter Nd corresponding to the power down flag 1, the actual power value PX falls within the range of the expected power [ PE-T, PE + T ] through the compensation of Nd, and the compensation parameter Nu is 2T.
It should be noted that the power control method according to this embodiment may also be used to improve power accuracy, and the following description takes an expected power range [ PE-T, PE + T ] as an example, and specifically includes the following steps:
if the actual power value PX falls within the range of [ PE-T, PE-T/2), the test client triggers power-up compensation, the obtained compensation flag bit is the power-up flag 2, the terminal to be tested obtains the compensation parameter Nu corresponding to the power-up flag 2, the actual power value PX falls within the power range [ PE-T/2, PE + T/2] through the compensation of Nu, and the compensation parameter Nu is equal to T.
If the actual power value PX falls within the range of [ PE + T/2, PE + T), the test client triggers power reduction compensation, the obtained compensation flag bit is the power reduction flag 1, the terminal to be tested obtains the compensation parameter Nd corresponding to the power reduction flag 1, the actual power value PX falls within the power range of [ PE-T/2, PE + T/2] through compensation of Nd, and the compensation parameter Nu is T.
From the above, the power control method of the present embodiment can improve the power accuracy from [ -T, T ] to [ -T/2, T/2 ]. Referring to fig. 4 and 5, fig. 4 is a schematic diagram of a power limit distribution range without the power control method of the present embodiment, and the visible power precision is [ -1.5, 1.5], fig. 5 is a schematic diagram of a power limit distribution range with the power control method of the present embodiment, and the visible power precision is [ -0.75, 0.75], that is, the power precision is increased from [ -1.5, 1.5] to [ -0.75, 0.75 ].
In this embodiment, the maximum compensation range of the compensation parameter is obtained as follows:
if the actual power value Px is smaller than the lower power limit PE-T, the obtained compensation parameter is Nu, Nu makes Px + Nu fall within the expected power range [ PE-T, PE + T ], that is, the actual power value Px is smaller than the lower power limit PE-T
PE-T is not less than Px + Nu is not less than PE + T (formula 1)
Thus, PE-T-Nu Px is equal to or less than PE + T-Nu (formula 2)
In particular, Px ═ PE-T, available Nu ≦ 2T (equation 3)
If the actual power value Px is larger than the lower power limit value PE + T, the obtained compensation parameter is Nd, and the Nd enables the Px + Nd to fall within the expected power range [ PE-T, PE + T ], namely
PE-T is less than or equal to Px-Nd is less than or equal to PE + T (formula 4)
Thus, PE-T + Nd. ltoreq. Px. ltoreq. PE + T + Nd (equation 5)
In particular, Px ═ PE + T, available Nd ≦ 2T (equation 6)
Based on the above (equation-3) and (equation-6), the maximum compensation range can be derived:
Nd=Nu=2T
it should be noted that, in this embodiment, different status registers are respectively set for the transmitting channel and the receiving channel in the terminal to be tested, so that independent power control of the terminal to be tested for transmitting the test signal and receiving the test signal is achieved, and the specific control manner of the transmitting channel and the receiving channel is similar to that described above, and is not described herein again.
Since the second embodiment corresponds to the present embodiment, the present embodiment can be implemented in cooperation with the second embodiment. The related technical details mentioned in the second embodiment are still valid in this embodiment, and the technical effects that can be achieved in the second embodiment can also be achieved in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the second embodiment.
Compared with the fourth embodiment, the present embodiment provides a specific implementation manner of adjusting the power value of the transmitted or received test signal according to the compensation parameter.
A sixth embodiment of the present invention relates to a testing apparatus, as shown in fig. 1, the testing apparatus may include a detection device 1, and a testing client 2 connected to the detection device 1, where the detection device 1 and the testing client 2 are respectively connected to a terminal 3 to be tested.
The detection device 1 is used for detecting the actual power value of the test signal transmitted or received by the terminal 3 to be detected.
The test client 2 is configured to determine whether the terminal 3 to be tested passes the test according to the actual power value and the preset expected parameter.
The test client 2 is further configured to determine a compensation flag of the terminal to be tested according to the actual power value and the expected parameter when the terminal to be tested 3 fails the test, and send the compensation flag to the terminal to be tested 3, so that the terminal to be tested 3 obtains a compensation parameter according to the compensation flag, and adjusts the power value of the transmitted or received test signal according to the compensation parameter.
It should be noted that this embodiment is an example of the apparatus corresponding to the first to third embodiments, and may be implemented in cooperation with the first to third embodiments. The related technical details mentioned in the first to third embodiments are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first to third embodiments.
Compared with the prior art, the test device can detect the actual power value of the test signal transmitted or received by the terminal to be tested, so that whether the terminal to be tested passes the test can be determined according to the actual power value and the expected parameter, if the terminal to be tested does not pass the test, the test device determines the compensation flag bit of the terminal to be tested according to the actual power value and the expected parameter and transmits the compensation flag bit to the terminal to be tested, after the terminal to be tested receives the compensation flag bit, a compensation parameter is obtained according to the compensation flag bit, the power value of the transmitted or received test signal is adjusted according to the compensation parameter, the adjusted power value of the test signal is more matched with the expected parameter, and the test passing rate of the terminal to be tested is improved; in addition, the power accuracy of the test signal can be improved on the basis of not influencing the test passing rate, the power control with higher accuracy is realized, and the power control performance of the terminal to be tested is improved.
A seventh embodiment of the present invention relates to a terminal, such as a mobile phone or a tablet computer. The terminal comprises at least one processor; and a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the power control method of the fourth or fifth embodiment.
Where the memory and processor are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting together one or more of the various circuits of the processor and the memory. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory may be used to store data used by the processor in performing operations.
That is, as can be understood by those skilled in the art, all or part of the steps in the method according to the above embodiments may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
An eighth embodiment of the present invention relates to a test system including the test apparatus according to the sixth embodiment and the terminal according to the seventh embodiment.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (11)

1. A power control method, applied to a test apparatus, the method comprising:
detecting the actual power value of a test signal transmitted or received by a terminal to be tested;
determining whether the terminal to be tested passes the test or not according to the actual power value and a preset expected parameter;
if the terminal to be tested does not pass the test, determining a compensation zone bit of the terminal to be tested according to the actual power value and the expected parameter, and sending the compensation zone bit to the terminal to be tested so that the terminal to be tested can obtain a compensation parameter according to the compensation zone bit and adjust the power value of the test signal transmitted or received according to the compensation parameter.
2. The power control method according to claim 1, wherein the determining whether the terminal to be tested passes the test according to the actual power value and a preset expected parameter specifically includes:
acquiring an expected power range according to the expected parameters;
judging whether the actual power value is in the expected power range or not;
and if the actual power value is out of the expected power range, judging that the terminal to be tested does not pass the test.
3. The power control method according to claim 2, wherein the determining the compensation flag of the terminal to be tested according to the actual power value and the expected parameter specifically includes:
judging the relation between the actual power value and the expected power range;
when the actual power value is larger than the upper limit value of the expected power range, determining a compensation flag bit of the terminal to be tested as a power reduction flag;
and when the actual power value is smaller than the lower limit value of the expected power range, determining that the compensation flag bit of the terminal to be tested is a power-up flag.
4. The power control method according to claim 1, further comprising, after the terminal under test fails the test, before the determining the compensation flag of the terminal under test according to the actual power value and the expected parameter, the step of:
judging whether the number of times that the terminal to be tested fails to pass the test reaches a preset number of times or not;
if the number of times that the terminal to be tested fails to pass the test reaches the preset number of times, sending prompt information representing the abnormity of the terminal to be tested;
and if the number of times that the terminal to be tested fails to pass the test does not reach the preset number of times, the step of determining the compensation zone bit of the terminal to be tested according to the actual power value and the expected parameter is carried out.
5. The power control method according to any one of claims 1 to 4, wherein the desired parameters include a desired power value and a power tolerance value.
6. A power control method is applied to a terminal to be tested, and the method comprises the following steps:
transmitting or receiving a test signal so that a test device can detect the actual power value of the test signal, and determining whether the terminal to be tested passes the test or not according to the actual power value and a preset expected parameter;
when a compensation zone bit sent by the testing device is received, obtaining a compensation parameter according to the compensation zone bit; when the terminal to be tested does not pass the test, the test device determines a compensation zone bit of the terminal to be tested according to the actual power value and the expected power value, and sends the compensation zone bit to the terminal to be tested;
and adjusting the power value of the transmitted or received test signal according to the compensation parameter.
7. The power control method according to claim 6, wherein the obtaining of the compensation parameter according to the compensation flag bit specifically comprises:
and acquiring the compensation parameters corresponding to the compensation zone bits according to the corresponding relation between the preset compensation zone bits and the compensation parameters.
8. The power control method according to claim 6, wherein calibration parameters are preset in the terminal to be tested;
the transmitting or receiving test signal specifically includes: transmitting or receiving a test signal according to the calibration parameter;
the adjusting the power value of the transmitted or received test signal according to the compensation parameter specifically includes:
and adjusting the calibration parameters according to the compensation parameters, and transmitting or receiving the test signals according to the compensated calibration parameters.
9. A test apparatus, comprising: the system comprises detection equipment and a test client connected with the detection equipment;
the detection equipment is used for detecting the actual power value of a test signal transmitted or received by the terminal to be detected;
the test client is used for determining whether the terminal to be tested passes the test or not according to the actual power value and a preset expected parameter;
and the test client is also used for determining a compensation zone bit of the terminal to be tested according to the actual power value and the expected parameter when the terminal to be tested does not pass the test, and sending the compensation zone bit to the terminal to be tested so that the terminal to be tested can obtain a compensation parameter according to the compensation zone bit and adjust the power value of the test signal transmitted or received according to the compensation parameter.
10. A terminal, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the power control method of any of claims 6 to 8.
11. A test system comprising the test apparatus of claim 9 and the terminal of claim 10.
CN201910019797.2A 2019-01-09 2019-01-09 Poewr control method, test device, terminal and test macro Pending CN109600174A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910019797.2A CN109600174A (en) 2019-01-09 2019-01-09 Poewr control method, test device, terminal and test macro

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910019797.2A CN109600174A (en) 2019-01-09 2019-01-09 Poewr control method, test device, terminal and test macro

Publications (1)

Publication Number Publication Date
CN109600174A true CN109600174A (en) 2019-04-09

Family

ID=65965881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910019797.2A Pending CN109600174A (en) 2019-01-09 2019-01-09 Poewr control method, test device, terminal and test macro

Country Status (1)

Country Link
CN (1) CN109600174A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981188A (en) * 2019-04-24 2019-07-05 上海摩软通讯技术有限公司 Power of communication equipment calibration method, device and computer readable storage medium
CN112051562A (en) * 2020-08-26 2020-12-08 广东博智林机器人有限公司 Distance compensation method and device for wireless ranging, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160013820A1 (en) * 2013-03-07 2016-01-14 Nec Corporation Radio transmitting device and radio transmitting method
CN106961723A (en) * 2017-02-22 2017-07-18 都邑科技(北京)有限公司 A kind of new localization method and device
CN107659364A (en) * 2016-07-26 2018-02-02 北京展讯高科通信技术有限公司 A kind of control method and device of rf terminal
CN108199787A (en) * 2017-12-22 2018-06-22 广东欧珀移动通信有限公司 Transmission power adjustment method, device, terminal test system and electric terminal
CN108199785A (en) * 2017-12-22 2018-06-22 广东欧珀移动通信有限公司 Transmission power test method, device, system and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160013820A1 (en) * 2013-03-07 2016-01-14 Nec Corporation Radio transmitting device and radio transmitting method
CN107659364A (en) * 2016-07-26 2018-02-02 北京展讯高科通信技术有限公司 A kind of control method and device of rf terminal
CN106961723A (en) * 2017-02-22 2017-07-18 都邑科技(北京)有限公司 A kind of new localization method and device
CN108199787A (en) * 2017-12-22 2018-06-22 广东欧珀移动通信有限公司 Transmission power adjustment method, device, terminal test system and electric terminal
CN108199785A (en) * 2017-12-22 2018-06-22 广东欧珀移动通信有限公司 Transmission power test method, device, system and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981188A (en) * 2019-04-24 2019-07-05 上海摩软通讯技术有限公司 Power of communication equipment calibration method, device and computer readable storage medium
CN112051562A (en) * 2020-08-26 2020-12-08 广东博智林机器人有限公司 Distance compensation method and device for wireless ranging, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102740438B (en) Utilize the calibration of internal power measurement to transmitter
CN105933034B (en) A kind of line loss measurement method and device
CN111478737B (en) Radio frequency test method, device, electronic device and storage medium
US6374084B1 (en) Method and system for calibrating electronic devices using polynomial fit calibration scheme
CN110460505B (en) Parallel bus time sequence calibration method and device and receiving end equipment
CN105119663B (en) WiFi signal method of testing and system
CN106323353A (en) Calibration method and device for proximity sensor, and terminal
US20110136449A1 (en) Testing System and Power Calibration Method Thereof
CN103427916B (en) The transmitting frequency calibration method of radiofrequency signal, system
CN104853021A (en) Method and device for calibrating mobile phone production test system
CN102638320A (en) Method and equipment for determining radiofrequency signal calibration parameter of terminal testing instrument
CN101986581B (en) Method and system for automatic gain control calibration of TD-LTE terminal
CN113377155B (en) Clock calibration method and device and electronic equipment
US20140349585A1 (en) System and method for the calibration and verification of wireless networks with control network
CN105515688B (en) A kind of calibration method of the calibration of power device of transmitter
CN111614409B (en) Power calibration method and device
CN109600174A (en) Poewr control method, test device, terminal and test macro
EP3280065A1 (en) Method and system to calibrate phase supported by factory trim data
CN112040439A (en) OBU radio frequency parameter calibration method, OBU device, radio frequency device and system
US11696159B2 (en) Method, apparatus, and non-transitory computer readable medium for testing terminals
EP2334123B1 (en) Power correcting method, adapting to multiple signal-bandwidths
US20080311864A1 (en) Determining the Current Value of Transmission Power of a Radio Telecommunication Device
CN101371601A (en) Method and system for determining the relationship between device parameters of a cellular device and signal parameters
CN109981188A (en) Power of communication equipment calibration method, device and computer readable storage medium
CN118715784A (en) Transmission of preprocessed sensor data with consideration of data quality

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190409