CN111614409B - Power calibration method and device - Google Patents

Power calibration method and device Download PDF

Info

Publication number
CN111614409B
CN111614409B CN202010503753.XA CN202010503753A CN111614409B CN 111614409 B CN111614409 B CN 111614409B CN 202010503753 A CN202010503753 A CN 202010503753A CN 111614409 B CN111614409 B CN 111614409B
Authority
CN
China
Prior art keywords
power
gear
tested
equipment
target
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
CN202010503753.XA
Other languages
Chinese (zh)
Other versions
CN111614409A (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202010503753.XA priority Critical patent/CN111614409B/en
Publication of CN111614409A publication Critical patent/CN111614409A/en
Application granted granted Critical
Publication of CN111614409B publication Critical patent/CN111614409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/11Monitoring; Testing of transmitters for calibration

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)

Abstract

The embodiment of the application provides a power calibration method and a device, wherein the method comprises the following steps: after the device to be tested is started, a first power difference value is obtained according to a first transmitting power under a first gear of the device to be tested and a first target power corresponding to the first gear of the device to be tested. And obtaining a second target power of the equipment to be tested at the first gear according to the first power difference and a second transmitting power of the equipment to be tested at the first gear. And adjusting the actual transmitting power of the equipment to be tested under each gear according to the second target power. After the device to be tested is started, the second transmitting power is detected through the built-in power detection circuit of the device to be tested, and the second target power is obtained according to the first power difference, so that the power calibration can be completed through the device to be tested, and only the first transmitting power corresponding to the first gear needs to be obtained on a production line, so that the power calibration time on the production line can be effectively saved, and the efficiency of the power calibration is effectively improved.

Description

Power calibration method and device
Technical Field
The embodiment of the application relates to an automatic control technology, in particular to a power calibration method and device.
Background
With the continuous development of Wireless Fidelity (Wi-Fi) wlan technology, the requirement for the accuracy of the transmission power of the whole equipment is higher and higher, so that it is very important to calibrate the transmission power.
At present, in the prior art, when the transmission power of the whole machine device is calibrated, usually in the process of producing the terminal device, a signal is transmitted at each gear, and a transmission power value of each gear is read through a meter, and then the transmission power is continuously adjusted, so that the transmission power of each gear approaches to a power expected value of each gear, so as to complete power calibration of each gear.
However, the desired power value can be achieved by adjusting each gear several times during the production process, which results in inefficient power calibration.
Disclosure of Invention
The embodiment of the application provides a power calibration method and device, so as to overcome the problem of low efficiency of power calibration.
In a first aspect, an embodiment of the present application provides a power calibration method, including:
after the equipment to be tested is started, obtaining a first power difference value according to first transmitting power under a first gear of the equipment to be tested and first target power corresponding to the first gear of the equipment to be tested;
obtaining a second target power of the equipment to be tested under the first gear according to the first power difference and a second transmitting power of the equipment to be tested under the first gear;
and adjusting the actual transmitting power of the equipment to be tested under each gear according to the second target power.
In a possible design, the first transmission power is a transmission power of a meter test, and the first target power is a target power of a first gear corresponding to the meter.
In a possible design, the second transmission power is the transmission power detected by the power detection circuit, and the second target power is the target power of the first gear corresponding to the power detection circuit.
In one possible design, adjusting the actual transmission power of the device under test in each gear according to the second target power includes:
determining the target power of each gear according to the second target power and the transmission power step interval between the gears;
and aiming at each gear, according to the target power of the gear, adjusting the actual transmitting power of the equipment to be tested under the gear so as to enable the difference value between the actual transmitting power and the target power to be minimum.
In one possible design, adjusting the actual transmission power of the device under test in the gear according to the target power of the gear so that the difference between the actual transmission power and the target power is minimum includes:
and adjusting the transmission gain parameter of the equipment to be tested under the gear according to the target power of the gear, so that the difference value between the actual transmission power and the target power is minimum.
In one possible design, the method further includes:
acquiring first transmission power of equipment to be tested at a first gear;
acquiring a first target power corresponding to a first gear of equipment to be tested;
the obtaining of the first power difference value according to the first transmission power of the device to be tested at the first gear and the first target power corresponding to the first gear of the device to be tested includes:
determining a difference between the first transmit power and the first target power as the first power difference.
In one possible design, the device under test includes a power detection circuit, where the power detection circuit is configured to detect a transmission power of the device under test;
the method further comprises the following steps:
and the equipment to be tested transmits signals under the first gear, and detects the second transmitting power of the equipment to be tested under the first gear through the power detection circuit of the equipment to be tested.
In one possible design, obtaining a second target power of the device under test in the first gear according to the first power difference and a second transmission power of the device under test in the first gear includes:
and obtaining a second target power of the equipment to be tested at the first gear according to the difference between the second transmitting power and the first power difference.
In one possible design, the method further includes:
and saving the transmission gain parameter of each gear.
In a second aspect, an embodiment of the present application provides a power calibration apparatus, including:
the processing module is used for obtaining a first power difference value according to first transmitting power under a first gear of the equipment to be tested and first target power corresponding to the first gear of the equipment to be tested after the equipment to be tested is started;
the processing module is further configured to obtain a second target power of the device to be tested at the first gear according to the first power difference and a second transmitting power of the device to be tested at the first gear;
and the adjusting module is used for adjusting the actual transmitting power of the equipment to be tested under each gear according to the second target power.
In a possible design, the first transmission power is a transmission power of a meter test, and the first target power is a target power of a first gear corresponding to the meter.
In a possible design, the second transmission power is the transmission power detected by the power detection circuit, and the second target power is the target power of the first gear corresponding to the power detection circuit.
In one possible design, the adjustment module is specifically configured to:
determining the target power of each gear according to the second target power and the transmission power step interval between the gears;
and aiming at each gear, according to the target power of the gear, adjusting the actual transmitting power of the equipment to be tested under the gear so as to enable the difference value between the actual transmitting power and the target power to be minimum.
In one possible design, the adjustment module is specifically configured to:
and adjusting the transmission gain parameter of the equipment to be tested under the gear according to the target power of the gear, so that the difference value between the actual transmission power and the target power is minimum.
In one possible design, further comprising: an acquisition module;
the acquisition module is used for acquiring first transmission power of the equipment to be tested at a first gear;
acquiring a first target power corresponding to a first gear of equipment to be tested;
the processing module is specifically configured to:
determining a difference between the first transmit power and the first target power as the first power difference.
In one possible design, the device under test includes a power detection circuit, where the power detection circuit is configured to detect the transmission power of the device under test;
the processing module is further configured to:
and the equipment to be tested transmits signals under the first gear, and detects the second transmitting power of the equipment to be tested under the first gear through the power detection circuit of the equipment to be tested.
In one possible design, the processing module is specifically configured to:
and obtaining a second target power of the equipment to be tested at the first gear according to the difference between the second transmitting power and the first power difference.
In one possible design, the processing module is further to:
and saving the transmission gain parameter of each gear.
In a third aspect, an embodiment of the present application provides a power calibration apparatus, including:
a memory for storing a program;
a processor for executing the program stored by the memory, the processor being adapted to perform the method as described above in the first aspect and any one of the various possible designs of the first aspect when the program is executed.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, comprising instructions which, when executed on a computer, cause the computer to perform the method as described above in the first aspect and any one of the various possible designs of the first aspect.
The embodiment of the application provides a power calibration method and a device, wherein the method comprises the following steps: after the device to be tested is started, a first power difference value is obtained according to a first transmitting power under a first gear of the device to be tested and a first target power corresponding to the first gear of the device to be tested. And obtaining a second target power of the equipment to be tested at the first gear according to the first power difference and a second transmitting power of the equipment to be tested at the first gear. And adjusting the actual transmitting power of the equipment to be tested under each gear according to the second target power. After the device to be tested is started, the second transmitting power is detected through the built-in power detection circuit of the device to be tested, and the second target power is obtained according to the first power difference, so that the power calibration can be completed through the device to be tested, and only the first transmitting power corresponding to the first gear needs to be obtained on a production line, so that the power calibration time on the production line can be effectively saved, and the efficiency of the power calibration is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a diagram of a prior art system for calibrating power;
fig. 2 is a schematic structural diagram of a device under test according to an embodiment of the present application;
FIG. 3 is a flow chart of a power calibration method according to an embodiment of the present application;
FIG. 4 is a flow chart of a power calibration method according to another embodiment of the present application;
fig. 5 is a schematic flowchart of a power calibration method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a power calibration apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic hardware structure diagram of a power calibration device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The background art to which the present application relates will be described in further detail with reference first to fig. 1, and fig. 1 is a schematic diagram of a system for calibrating power in the prior art.
With the development of Wi-Fi technology, the accuracy requirement for the transmission power of the complete equipment is higher and higher, wherein if the transmission power of the complete equipment is higher, an important parameter of signal quality is affected: an Error Vector Magnitude (EVM), which, if the EVM becomes worse, will directly affect Wi-Fi throughput; if the transmission power of the whole equipment is low, the Wi-Fi transmission distance of the whole equipment is affected, and further, the long-distance signal transmission is affected, so that the calibration of the transmission power of the whole equipment is very important.
At present, in a power calibration method commonly used in the prior art, each gear of the whole equipment is generally calibrated on a production line, and calibration related data of each gear is stored in the equipment to be tested.
An implementation of the prior art can be understood, for example, with reference to the system illustrated in fig. 1, which includes a Personal Computer (PC), a device under test, and a test meter.
The PC is used for controlling the equipment to be tested to send signals under a certain gear, the equipment to be tested can be connected with the test instrument through the coaxial cable, and then the PC can measure the transmitting power of the equipment to be tested through the test instrument.
In this embodiment, the terminal device may be a device including a wireless transceiving function. Specifically, the terminal device may refer to a User Equipment (UE), an access terminal, a remote terminal, a mobile device, a User terminal, and a terminal. For example, the terminal device may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with a Wireless communication function, a computing device or other processing device connected to a Wireless modem, a vehicle-mounted device, a wearable device, or the like, and the embodiment is not limited to the implementation manner of the terminal device as long as it can transmit signals wirelessly.
In a possible implementation manner, the PC may first determine a certain power gear, and control the device to be tested to transmit a signal at the power gear, and when the device to be tested transmits the signal, the PC obtains the first transmission power of the device to be tested at the current gear through measurement of the test instrument.
Then, the PC can judge whether the current first transmitting power meets a power expected value, and if so, the PC can determine that the power calibration of the current gear is completed; if the first transmission power does not meet the expected power value, the PC can adjust the first transmission power of the equipment to be tested under the current gear by adjusting the relevant gain parameters for multiple times until the first transmission power meets the expected power value.
It will be appreciated that in order to cover all power gears, the PC performs the above operations for each gear, thereby completing the power calibration for each gear.
Therefore, the implementation manner in the prior art needs to adjust each power stage several times to enable the transmission power of each power stage to reach the desired value, and therefore, the calibration time process in the production line results in low calibration efficiency.
In addition, in the prior art, the PC needs to write all calibration values corresponding to each gear into the storage resource of the device to be tested, and can ensure that the device to be tested can send signals according to the calibration values of each transmission power in the using process, so that the implementation scheme in the prior art needs to occupy many storage resources of the device to be tested, which results in high hardware cost.
Based on the problems in the prior art, the application provides the following technical concept: for each device to be tested, only one power gear is calibrated in the production line, and then after the device to be tested is started, the calibration of the rest power gears is realized according to the calibrated power gear, so that the calibration efficiency in the production line can be effectively improved, and meanwhile, only the calibration value of one gear needs to be written, so that the storage resource of the device to be tested is greatly saved.
The following describes the power calibration method provided by the present application in detail with reference to a specific embodiment, and first describes a structure of a device under test in the present application with reference to fig. 2, where fig. 2 is a schematic structural diagram of the device under test provided by the embodiment of the present application.
As shown in fig. 2, the apparatus includes: the device comprises a waveform generator, a gain control unit, a Wi-Fi emission unit, a power detection circuit and a sampling and calculation unit.
The Wi-Fi transmitting unit is used for transmitting signals, and the gain control unit is used for adjusting related gain parameters of the transmitted signals.
In a possible implementation manner, the relevant gain parameter of the transmission signal may be adjusted by a waveform generator, where the waveform generator is a data signal generator, and when debugging hardware, signals are often added to observe whether the circuit works normally, so that the gain parameter of the transmission signal may be adjusted by the waveform generator.
The device to be detected provided in this embodiment further includes a power detection circuit, where the power detection circuit detects the transmission power of the device to be detected when transmitting a signal.
The sampling and calculating unit is used for performing mathematical operation on the power value detected by the power detection circuit, so as to output the power value expressed by logarithm.
Based on the above description, the power calibration method provided in the present application is described below with reference to fig. 3, where fig. 3 is a flowchart of the power calibration method according to an embodiment of the present application.
S301, after the device to be tested is started, a first power difference value is obtained according to first transmitting power under a first gear of the device to be tested and first target power corresponding to the first gear of the device to be tested.
First, the gears in this embodiment are explained, and the number of the gears included in the device to be tested and the power range corresponding to each gear can be selected according to actual requirements.
In a possible implementation manner, for example, the power range of the current device to be tested is 1 to 10, and the unit may be dB, for example, 8 gears may be divided, which are 0 gear to 7 gear, or 10 gears may be further divided, which are 1 gear to 10 gear, and the like, which is not limited in this embodiment.
And assuming that the difference between the gears can be up and down 2dB, so as to obtain the power range of each gear, the present embodiment also does not limit the power range of each gear.
In this embodiment, the first gear is a gear in which the transmission power is measured by an instrument in advance, and in a possible implementation manner, in a process of producing the device to be tested, any one first gear may be selected from a plurality of gears of the device to be tested, and the transmission power of the first gear is measured by the instrument, so that the first transmission power of the device to be tested in the first gear is obtained.
Therefore, the first transmission power in this embodiment is the transmission power of the meter test, and the first target power is the target power of the first gear corresponding to the meter.
The first target power may be a power expected value in a first gear corresponding to the meter, for example, the current first gear is the 0 gear, and the target power of the 0 gear corresponding to the meter may be higher or lower, where the target power is specifically determined according to an actual requirement, which is not limited in this embodiment.
In this embodiment, a first power difference value is obtained according to the first transmission power and the first target power, and in a possible implementation manner, the first power difference value may be a difference value between the first transmission power of the device under test in the first gear and the first target power corresponding to the first gear.
S302, according to the first power difference value and second transmitting power of the device to be tested in the first gear, second target power of the device to be tested in the first gear is obtained.
Based on the above description, it can be determined that the device under test in this application includes a power detection circuit, and in this embodiment, the second transmission power is the transmission power detected by the power detection circuit, and the second target power is the target power of the first gear corresponding to the power detection circuit.
In a possible implementation manner, the transmission power of the device to be tested in the first gear may be detected by the power detection circuit, so as to determine the second transmission power, where it is to be noted that, in the process of producing the device to be tested, the first transmission power is obtained through a meter test, and after the device to be tested is started, the second transmission power is obtained through the built-in power detection circuit, where the first transmission power and the second transmission power are both the transmission power in the first gear, and may be the same or different, and there is no direct relationship between the first transmission power and the second transmission power.
In this embodiment, the power detection circuit may detect the transmission power, but the target power corresponding to the power detection circuit is unknown, however, the difference between the first transmission power of the first gear and the first target power is determined in the above steps, and the difference between the detected transmission power and the expected power value is the same or similar in the same first gear.
Therefore, the second target power of the device to be tested corresponding to the power detection circuit in the first gear can be obtained according to the first power difference and the second transmitting power.
And S303, adjusting the actual transmitting power of the equipment to be tested under each gear according to the second target power.
In a possible implementation manner, after obtaining the second target power corresponding to the first gear, the actual transmit power of the first gear may be adjusted, so that the actual transmit power of the first gear approaches the second target power, so as to implement power calibration of the first gear.
In another possible implementation manner, the respective target power of each gear can be obtained according to the power difference between the gears, and the actual transmission power of each gear is adjusted, so that the actual transmission power of each gear approaches the respective corresponding target transmission power, and the power calibration of each gear is realized.
The power calibration method provided by the embodiment of the application comprises the following steps: after the device to be tested is started, a first power difference value is obtained according to a first transmitting power under a first gear of the device to be tested and a first target power corresponding to the first gear of the device to be tested. And obtaining a second target power of the equipment to be tested at the first gear according to the first power difference and a second transmitting power of the equipment to be tested at the first gear. And adjusting the actual transmitting power of the equipment to be tested under each gear according to the second target power. After the device to be tested is started, the second transmitting power is detected through the built-in power detection circuit of the device to be tested, and the second target power is obtained according to the first power difference, so that the power calibration can be completed through the device to be tested, and only the first transmitting power corresponding to the first gear needs to be obtained on a production line, so that the power calibration time on the production line can be effectively saved, and the efficiency of the power calibration is effectively improved.
Based on the above embodiments, the power calibration method provided in the embodiments of the present application is further described in detail below with reference to fig. 4, and fig. 4 is a flowchart of a power calibration method provided in another embodiment of the present application.
Referring to fig. 4, the method includes:
s401, after the device to be tested is started, first transmitting power of the device to be tested in a first gear is obtained.
In a possible implementation manner, in the process of producing the device to be tested, one first gear may be selected from the various gears of the device to be tested, and the PC controls the device to be tested to transmit a signal in the first gear, and in this process, the PC measures the first transmission Power Ref _ Power of the device to be tested through the test instrument.
Meanwhile, the PC may store the measured first transmit Power Ref _ Power in the storage resource of the device to be tested according to a certain protocol, at this time, the Power calibration operation in the production line is completed, and the remaining Power calibrations are automatically calibrated after the device to be tested is started.
For the first gear, the PC only needs to measure the first transmitting power of the first gear, and does not need to adjust the first transmitting power of the first gear to be close to an expected value; meanwhile, the PC only needs to measure the transmitting power of the first gear and does not need to operate the transmitting power of other gears, so that the time for power calibration can be effectively saved.
Meanwhile, the PC only needs to store the first transmission power into the storage resource of the equipment to be tested, and does not need to store the power calibration value of each gear in the storage resource of the equipment to be tested, so that the storage resource can be effectively saved.
In this embodiment, before the device under test is started, the device under test already stores the first target transmission power corresponding to the first gear, so that the device under test can directly obtain the first transmission power from the storage resource.
S402, obtaining a first target power corresponding to a first gear of the device to be tested.
The first Target Power is already described in the above embodiment, and may be preset according to an actual requirement, so that the device under test may obtain the first Target Power corresponding to the first gear according to preset content, where Target _ Power is used to represent the first Target Power.
And S403, determining the difference value between the first transmitting power and the first target power as a first power difference value.
In one possible implementation, the first power difference may satisfy the following formula one:
ref _ Power-Target _ Power formula one
Where Delta is the first Power difference, Ref _ Power is the first transmit Power, and Target _ Power is the first Target Power.
S404, the device to be tested transmits a signal under the first gear, and second transmitting power of the device to be tested under the first gear is detected through a power detection circuit of the device to be tested.
In this embodiment, a Power detection circuit is built in the device under test, and in a possible implementation manner, the device under test may transmit a signal in the first gear through the Wi-Fi transmitting unit, and in the process of transmitting the signal, detect the second transmission Power FB _ Ref _ Power of the device under test in the first gear through the Power detection circuit of the device under test.
S405, obtaining a second target power of the equipment to be tested under the first gear according to the first power difference and a second transmitting power of the equipment to be tested under the first gear.
In a possible implementation manner, the second Target Power FB _ Target _ Power of the device to be tested in the first gear may be obtained according to a difference between the second transmission Power and the first Power difference.
For example, the second target power may satisfy the following equation two:
FB _ Target _ Power ═ FB _ Ref _ Power-Delta equation two
And FB _ Target _ Power is the second Target Power, FB _ Ref _ Power is the second transmitting Power, and Delta is the first Power difference.
Alternatively, the first power difference and the second target power in this embodiment may also satisfy a formula obtained by, for example, a modification of formula one and formula two, and adding a relevant parameter.
For example, the first power difference value may also satisfy the following formula three:
Delta-Target _ Power-Ref _ Power formula three
Correspondingly, for example, the second target power may also satisfy the following formula four:
FB _ Target _ Power ═ Delta + FB _ Ref _ Power equation four
The third formula and the fourth formula are modifications of the first formula and the second formula, and the first power difference and the second target power can be obtained as well, so the formula that the first power difference and the second target power satisfy is not particularly limited in this embodiment, and may be selected according to actual requirements as long as the first power difference is used to identify a difference between the first transmit power and the first target power, and the second target power is obtained according to the first power difference and the second transmit power.
In the following, a specific number is taken as an example to describe the implementation manner of obtaining the second target power, and assuming that the current first transmit power is 9 and the first target power is 10, it may be determined that the current first power difference is-1.
Meanwhile, assuming that the second transmission power detected by the current power detection circuit is 7, and the above-mentioned first power difference is determined to be-1, the second target power may be determined to be 8.
And S406, determining the target power of each gear according to the second target power and the transmission power step interval between the gears.
In this embodiment, the current second target power is the target power of the first gear, and in order to calibrate the power of each gear, the target power of each gear may be obtained according to the second target power.
The transmission power step interval exists between every two gears, wherein the transmission power compensation interval is the power difference between every two gears, for example, 8 gears exist currently, and the transmission power step interval is 0 gear to 7 gears, wherein the transmission power step interval between two adjacent gears is, for example, 2dB, for example, the power range corresponding to 0 gear is 0dB to 1dB, the power range corresponding to 1 gear is 2dB to 3dB, the power range corresponding to 2 gear is 4dB to 5dB …, and the like.
The step interval of the transmission power of the 0 gear and the 1 gear is 2dB, and the step interval of the transmission power of the 0 gear and the 2 gear is 4 dB.
In an actual implementation process, the transmission power step interval between each gear may be selected according to an actual requirement, which is not limited in this embodiment.
For example, assuming that the second target power of the first gear is currently obtained, the first gear is 0, and assuming that the second target power is 8, assuming that the transmission power step interval between adjacent gears is 2dB, the target power of 1 gear is 10dB, the target power of 2 gear is 12dB …, and so on.
S407, aiming at each gear, according to the target power of the gear, adjusting the actual transmitting power of the equipment to be tested under the gear to enable the difference between the actual transmitting power and the target power to be minimum.
After determining the target gear corresponding to each gear, the power can be calibrated for each gear.
In one possible implementation, for example, the power calibration of the first gear may be performed first, where the target power of the first gear is the second target power, and then the actual transmission power of the device under test in the first gear may be adjusted for the first gear, and in one possible implementation, for example, the transmission gain parameter of the device under test in the first gear may be adjusted by the waveform generator and the gain control unit described above, and after the adjustment, whether the current transmission power meets the second target power is detected again, and if not, the transmission gain parameter is continuously adjusted until the difference between the actual transmission power and the second target power is minimum, so that it is determined that the power calibration of the first gear is completed.
It is to be understood that the actual transmission power having the smallest difference from the second target power refers to the actual transmission power having the smallest difference from the second target power among the plurality of actual transmission powers measured after the gain parameter is adjusted a plurality of times.
And the implementation mode of adjusting the transmitting power of the rest gears is similar to that of the first gear, and the transmitting gain parameters of the equipment to be tested under each gear can be adjusted according to the target power of each gear, so that the difference between the actual transmitting power of each gear and the corresponding target power is minimum.
In another possible implementation manner, a gear may be randomly selected to calibrate the power, or a part of the power may be calibrated according to actual requirements, which is similar to that described above and is not described herein again.
In a possible implementation manner of this embodiment, after the power of each gear is calibrated, the transmission gain parameter of each gear may be further saved, so that when the device to be tested transmits a signal, the adjusted transmission gain parameter corresponding to the current gear may be selected according to different gears, so that the device to be tested may transmit a signal according to the calibrated power.
It should be noted that, in the prior art, the power calibration value is statically stored, because the calibration process is completed on a production line, the power calibration value needs to be safely stored, for example, when the power failure occurs, the power calibration value still needs to be accurately stored, and thus, a large amount of storage space is occupied.
However, in this embodiment, the device to be tested may calibrate power itself, so the transmission gain parameter may be dynamically stored, when the device is powered down, the stored gain parameter may be lost, and then the device to be tested may calibrate power again, and the storage resource of the device to be tested may be effectively saved through dynamic storage.
The power calibration method provided by the embodiment of the application comprises the following steps: after the device to be tested is started, first transmitting power of the device to be tested in a first gear is obtained. And acquiring a first target power corresponding to a first gear of the equipment to be tested. The difference between the first transmission power and the first target power is determined as a first power difference. The device to be tested transmits signals under the first gear, and second transmitting power of the device to be tested under the first gear is detected through a power detection circuit of the device to be tested. And obtaining a second target power of the equipment to be tested at the first gear according to the first power difference and a second transmitting power of the equipment to be tested at the first gear. And determining the target power of each gear according to the second target power and the step interval of the transmitting power between the gears. And aiming at each gear, according to the target power of the gear, adjusting the actual transmitting power of the equipment to be tested under the gear so as to minimize the difference between the actual transmitting power and the target power. The second target power of the first gear is determined, the target power of each gear is determined through the step length interval of the transmitting power between the second target gear and each gear, the target power of each gear can be determined through the equipment to be tested, then the actual transmitting power of each gear is adjusted according to the target power of each gear, the power can be calibrated after the equipment to be tested is started, and the problem that the calibration efficiency is low due to the fact that the power of each gear is debugged for multiple times on a production line to achieve calibration is solved.
On the basis of the foregoing embodiments, the following describes a power calibration method provided in this embodiment as a whole with reference to fig. 5, and fig. 5 is a schematic flow chart of the power calibration method provided in this embodiment.
Referring to fig. 5, in the process of producing the device to be tested, the test instrument measures the first transmission power of the device to be tested when the device to be tested transmits a signal at the first gear, and stores the first transmission power in the device to be tested, and the power calibration work in the production line is completed, wherein the transmission power of the device to be tested is prevented from being measured by repeatedly using the test instrument, and the production cost can be effectively saved.
And after the equipment to be tested is started, automatically calibrating the power of each gear by the equipment to be tested. Referring to fig. 5, the device under test may obtain a first power difference according to the first transmit power and the first target power, and obtain a second target power in the first gear according to the first power difference and the second transmit power.
And calibrating the power of each gear based on the second target power and the transmission power step interval between each gear, where the implementation of the power calibration may refer to the description in the foregoing embodiments, and details are not repeated here.
Based on the content introduced above, the power calibration method provided by the application greatly reduces the calibration time in the production line while ensuring the calibration precision, thereby improving the calibration efficiency and saving the calibration cost. According to the power calibration method provided by the embodiment, as only the first transmission power of the first gear needs to be written into the storage resource of the device to be tested, the storage resource space is greatly saved, and the hardware cost is reduced.
The method has the advantages that the calibration precision is guaranteed, meanwhile, the calibration time in the production line is greatly reduced, the calibration cost is saved, the method that each chip is calibrated only once is adopted, and the result shows that the method not only guarantees the calibration precision, but also greatly improves the calibration efficiency in the production line. Meanwhile, only one group of calibration values needs to be written into the storage resources, so that the storage resource space is greatly saved, and the hardware cost is reduced.
Fig. 6 is a schematic structural diagram of a power calibration apparatus according to an embodiment of the present application. As shown in fig. 6, the apparatus 60 includes: a processing module 601, an adjusting module 602, and an obtaining module 603.
The processing module 601 is configured to obtain a first power difference according to a first transmit power at a first gear of the device to be tested and a first target power corresponding to the first gear of the device to be tested after the device to be tested is started;
the processing module 601 is further configured to obtain a second target power of the device to be tested in the first gear according to the first power difference and a second transmitting power of the device to be tested in the first gear;
and an adjusting module 602, configured to adjust actual transmission power of the device under test in each gear according to the second target power.
In a possible design, the first transmission power is a transmission power of a meter test, and the first target power is a target power of a first gear corresponding to the meter.
In a possible design, the second transmission power is the transmission power detected by the power detection circuit, and the second target power is the target power of the first gear corresponding to the power detection circuit.
In one possible design, the adjusting module 602 is specifically configured to:
determining the target power of each gear according to the second target power and the transmission power step interval between the gears;
and aiming at each gear, according to the target power of the gear, adjusting the actual transmitting power of the equipment to be tested under the gear so as to enable the difference value between the actual transmitting power and the target power to be minimum.
In one possible design, the adjusting module 602 is specifically configured to:
and adjusting the transmission gain parameter of the equipment to be tested under the gear according to the target power of the gear, so that the difference value between the actual transmission power and the target power is minimum.
In a possible design, the obtaining module 603 is configured to obtain a first transmission power of the device under test in a first gear;
acquiring a first target power corresponding to a first gear of equipment to be tested;
the processing module 601 is specifically configured to:
determining a difference between the first transmit power and the first target power as the first power difference.
In one possible design, the device under test includes a power detection circuit, where the power detection circuit is configured to detect the transmission power of the device under test;
the processing module 601 is further configured to:
and the equipment to be tested transmits signals under the first gear, and detects the second transmitting power of the equipment to be tested under the first gear through the power detection circuit of the equipment to be tested.
In one possible design, the processing module 601 is specifically configured to:
and obtaining a second target power of the equipment to be tested at the first gear according to the difference between the second transmitting power and the first power difference.
In one possible design, the processing module 601 is further configured to:
and saving the transmission gain parameter of each gear.
The apparatus provided in this embodiment may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 7 is a schematic diagram of a hardware structure of a power calibration device according to an embodiment of the present application, and as shown in fig. 7, a power calibration device 70 according to the embodiment includes: a processor 701 and a memory 702; wherein
A memory 702 for storing computer-executable instructions;
the processor 701 is configured to execute computer-executable instructions stored in the memory to implement the steps performed by the power calibration method in the above embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 702 may be separate or integrated with the processor 701.
When the memory 702 is provided separately, the power calibration device further comprises a bus 703 for connecting said memory 702 and the processor 701.
An embodiment of the present application further provides a computer-readable storage medium, where a computer executing instruction is stored in the computer-readable storage medium, and when a processor executes the computer executing instruction, the power calibration method performed by the above power calibration device is implemented.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of modules may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) or a processor (in english: processor) to execute some steps of the methods described in the embodiments of the present application.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (18)

1. A method of power calibration, comprising:
after the equipment to be tested is started, obtaining a first power difference value according to first transmitting power under a first gear of the equipment to be tested and first target power corresponding to the first gear of the equipment to be tested;
obtaining a second target power of the equipment to be tested under the first gear according to the first power difference and a second transmitting power of the equipment to be tested under the first gear;
according to the second target power, adjusting the actual transmitting power of the equipment to be tested under each gear; the first transmitting power is transmitting power tested by the instrument, and the first target power is target power of a first gear corresponding to the instrument.
2. The method of claim 1, wherein the second transmission power is a transmission power detected by a power detection circuit, and the second target power is a target power of the first gear corresponding to the power detection circuit.
3. The method of claim 2, wherein adjusting the actual transmission power of the device under test in each gear according to the second target power comprises:
determining the target power of each gear according to the second target power and the step interval of the transmitting power between the gears;
and aiming at each gear, according to the target power of the gear, adjusting the actual transmitting power of the equipment to be tested under the gear so as to enable the difference value between the actual transmitting power and the target power to be minimum.
4. The method of claim 3, wherein adjusting the actual transmission power of the device under test in the gear according to the target power of the gear so that the difference between the actual transmission power and the target power is minimized comprises:
and adjusting the transmission gain parameter of the equipment to be tested under the gear according to the target power of the gear, so that the difference value between the actual transmission power and the target power is minimum.
5. The method of claim 1, further comprising:
acquiring first transmission power of equipment to be tested at a first gear;
acquiring a first target power corresponding to a first gear of equipment to be tested;
the obtaining of the first power difference value according to the first transmission power of the device to be tested at the first gear and the first target power corresponding to the first gear of the device to be tested includes:
determining a difference between the first transmit power and the first target power as the first power difference.
6. The method of claim 1, wherein the device under test comprises a power detection circuit, wherein the power detection circuit is configured to detect a transmission power of the device under test;
the method further comprises the following steps:
and the equipment to be tested transmits signals under the first gear, and detects the second transmitting power of the equipment to be tested under the first gear through the power detection circuit of the equipment to be tested.
7. The method of claim 1, wherein obtaining a second target power of the device under test in the first gear according to the first power difference and a second transmission power of the device under test in the first gear comprises:
and obtaining a second target power of the equipment to be tested at the first gear according to the difference between the second transmitting power and the first power difference.
8. The method of claim 4, further comprising:
and saving the transmission gain parameter of each gear.
9. A power calibration device, comprising:
the processing module is used for obtaining a first power difference value according to first transmitting power under a first gear of the equipment to be tested and first target power corresponding to the first gear of the equipment to be tested after the equipment to be tested is started;
the processing module is further configured to obtain a second target power of the device to be tested at the first gear according to the first power difference and a second transmitting power of the device to be tested at the first gear;
the adjusting module is used for adjusting the actual transmitting power of the equipment to be tested under each gear according to the second target power;
the first transmitting power is transmitting power tested by the instrument, and the first target power is target power of a first gear corresponding to the instrument.
10. The apparatus of claim 9, wherein the second transmission power is a transmission power detected by a power detection circuit, and the second target power is a target power of the first gear corresponding to the power detection circuit.
11. The apparatus of claim 10, wherein the adjustment module is specifically configured to:
determining the target power of each gear according to the second target power and the transmission power step interval between the gears;
and aiming at each gear, according to the target power of the gear, adjusting the actual transmitting power of the equipment to be tested under the gear so as to enable the difference value between the actual transmitting power and the target power to be minimum.
12. The apparatus of claim 11, wherein the adjustment module is specifically configured to:
and adjusting the transmission gain parameter of the equipment to be tested under the gear according to the target power of the gear, so that the difference value between the actual transmission power and the target power is minimum.
13. The apparatus of claim 9, further comprising: an acquisition module;
the acquisition module is used for acquiring first transmission power of the equipment to be tested at a first gear;
acquiring a first target power corresponding to a first gear of equipment to be tested;
the processing module is specifically configured to:
determining a difference between the first transmit power and the first target power as the first power difference.
14. The apparatus of claim 9, wherein the device under test comprises a power detection circuit, wherein the power detection circuit is configured to detect a transmission power of the device under test;
the processing module is further configured to:
and the equipment to be tested transmits signals under the first gear, and detects the second transmitting power of the equipment to be tested under the first gear through the power detection circuit of the equipment to be tested.
15. The apparatus of claim 9, wherein the processing module is specifically configured to:
and obtaining a second target power of the equipment to be tested at the first gear according to the difference between the second transmitting power and the first power difference.
16. The apparatus of claim 12, wherein the processing module is further configured to:
and saving the transmission gain parameter of each gear.
17. A power calibration device, comprising:
a memory for storing a program;
a processor for executing the program stored by the memory, the processor being configured to perform the method of any of claims 1 to 8 when the program is executed.
18. A computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1 to 8.
CN202010503753.XA 2020-06-05 2020-06-05 Power calibration method and device Active CN111614409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010503753.XA CN111614409B (en) 2020-06-05 2020-06-05 Power calibration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010503753.XA CN111614409B (en) 2020-06-05 2020-06-05 Power calibration method and device

Publications (2)

Publication Number Publication Date
CN111614409A CN111614409A (en) 2020-09-01
CN111614409B true CN111614409B (en) 2022-05-10

Family

ID=72202592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010503753.XA Active CN111614409B (en) 2020-06-05 2020-06-05 Power calibration method and device

Country Status (1)

Country Link
CN (1) CN111614409B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112731263B (en) * 2020-12-25 2023-06-30 河南翔宇医疗设备股份有限公司 Power calibration method, device and system
CN113219241A (en) * 2021-03-25 2021-08-06 河南翔宇医疗设备股份有限公司 Power detection method and device and treatment equipment
US11924656B2 (en) * 2021-07-19 2024-03-05 Fitbit Llc Automatic RF transmit power control for over the air testing
CN116381457A (en) * 2023-04-10 2023-07-04 中山市博测达电子科技有限公司 Light-sensitive chip correction method based on data pre-statistics

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257331A (en) * 2008-03-20 2008-09-03 华为技术有限公司 Gain automatic correction method and transmitter
CN102740438A (en) * 2011-03-30 2012-10-17 英特尔移动通信有限公司 Calibration of a transmitter with internal power measurement
CN106817757A (en) * 2015-11-30 2017-06-09 展讯通信(上海)有限公司 The calibration method and device of transmission power
CN106899359A (en) * 2017-02-17 2017-06-27 青岛海信宽带多媒体技术有限公司 A kind of WIFI module RF calibration method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180092048A1 (en) * 2016-09-23 2018-03-29 Qualcomm Incorporated Transmit power gain calibration and compensation
CN110267336A (en) * 2019-05-14 2019-09-20 惠州Tcl移动通信有限公司 Antenna transmission power control method, mobile terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257331A (en) * 2008-03-20 2008-09-03 华为技术有限公司 Gain automatic correction method and transmitter
CN102740438A (en) * 2011-03-30 2012-10-17 英特尔移动通信有限公司 Calibration of a transmitter with internal power measurement
CN106817757A (en) * 2015-11-30 2017-06-09 展讯通信(上海)有限公司 The calibration method and device of transmission power
CN106899359A (en) * 2017-02-17 2017-06-27 青岛海信宽带多媒体技术有限公司 A kind of WIFI module RF calibration method

Also Published As

Publication number Publication date
CN111614409A (en) 2020-09-01

Similar Documents

Publication Publication Date Title
CN111614409B (en) Power calibration method and device
CN107566053B (en) Method and system for testing radio frequency index and computer readable storage medium
CN111478737B (en) Radio frequency test method, device, electronic device and storage medium
CN108923863B (en) Equipment equivalent omnidirectional radiation power measuring method, device, equipment and medium
CN110535539B (en) Power compensation method, device, equipment and medium for radio frequency module
CN103036623B (en) Mobile terminal power control test calibrating method and mobile terminal
CN109462860B (en) Throughput optimization method and apparatus, electronic device, and computer-readable storage medium
CN113395122B (en) Production test circuit board, radio frequency parameter calibration system, method and computer equipment
CN111654870A (en) Control method, device, equipment and storage medium for adjusting cell coverage area
CN111769889A (en) Radio frequency power correction method, device, test equipment and storage medium
CN113922893B (en) GSM radio frequency front-end power calibration method and device
CN101986581B (en) Method and system for automatic gain control calibration of TD-LTE terminal
CN107222269B (en) GSM APC (global system for mobile communications) quick and accurate calibration implementation method based on saturated PA (power amplifier)
CN114039676A (en) Radio frequency tester and calibration method thereof
CN110441621B (en) Method, device, equipment and storage medium for measuring noise coefficient
CN109257124B (en) WiFi non-signaling test method, system, computer equipment and storage medium
CN110768734B (en) Measuring method and device
CN102340360A (en) Method and device for testing total isotropic sensitivity of mobile terminal
CN101183922B (en) Method of implementing temperature compensation in zero intermediate frequency scheme
CN112996036B (en) AGC calibration preprocessing method and device, storage medium and terminal
CN115348656A (en) MiFi device, power adjusting method thereof, electronic device and system
CN113950135A (en) Transmission power control method, terminal calibration method, terminal, system and storage medium
CN112054879A (en) Voltage adjusting method and device and terminal equipment
CN101183923A (en) Method of implementing index optimization of zero intermediate frequency scheme
CN110995373A (en) Conduction sensitivity measuring method and device, storage medium and comprehensive measuring terminal

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