A radio frequency power calibration method, device and electronic equipment

By using preset mode and channel division methods in RF power testing, multiple channel groups in wireless LAN mode are configured, and power calibration is performed using preset power adjustment parameters, the problem of poor RF output power stability and consistency is solved. Improves testing efficiency and wireless product performance.

CN115314129BActive Publication Date: 2024-11-05CHENGDU AICH TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210836661.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-15
Publication Date
2024-11-05
Estimated Expiration
2042-07-15

AI Technical Summary

Technical Problem

The existing RF power tests are complicated in the production line calibration test, poor RF output power stability and consistency, and low test efficiency.

Method used

Multiple channel groups in the wireless LAN mode are configured using the corresponding relationship between preset mode and channel division, and power calibration is performed through the first and second preset power adjustment parameters to obtain power compensation values ​​to achieve maximum energy transmission and stability of the radio frequency signal. improve.

Benefits of technology

It improves the efficiency and consistency of RF power calibration, reduces the RF debugging cycle at the R&D end, and improves the stability and accuracy of wireless product output power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115314129B_ABST
    Figure CN115314129B_ABST
Patent Text Reader

Abstract

The present invention discloses a radio frequency power calibration method, device and electronic equipment, and relates to the field of wireless communication technology. The method includes: configuring multiple channel groups corresponding to each wireless local area network mode according to the corresponding relationship between the preset mode and the channel division; performing power calibration on the data to be calibrated corresponding to each of the channel groups according to the first preset power adjustment parameter to obtain a first power compensation value; calibrating the data to be calibrated based on the first power compensation value to obtain first power calibration data; performing power calibration on a single channel in each of the channel groups based on the second preset power adjustment parameter to obtain a second power compensation value; calibrating the first power calibration data based on the second power compensation value to obtain output power calibration data; determining that the product to be tested corresponding to the output power calibration data is a qualified product, with high calibration efficiency and high pass rate, and improving the stability and accuracy of the output power of the wireless product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless communication technology, and in particular to a radio frequency power calibration method, device and electronic equipment. Background Art

[0002] With the advent of the era of the Internet of Everything, IoT technology has developed rapidly, and the demand for various wireless applications such as WiFi has become increasingly widespread. As an important support for home wireless technology, routing WiFi chips and WiFi IoT chips have a good foundation. Wireless AP products or terminal products are emerging in an endless stream, and user experience requirements are getting higher and higher, which also puts higher requirements on WiFi wireless performance. Among them, RF performance is crucial, so when wireless terminal products are produced, production line RF calibration testing is the most critical link.

[0003] At present, even for the same wireless communication product, there are large differences in wireless performance, especially for IoT terminal devices. Because IoT devices (most of them are STAs) do not have high requirements for WiFi speed, production line calibration tests are relatively cumbersome. Some equipment manufacturers do not perform calibration tests, but directly perform whole-machine wireless throughput tests or read the RSSI (receive level) of the device as the only basis for judging whether the product's wireless performance is qualified. Some equipment manufacturers obtain a set of standard configuration parameters from the test data in the R&D stage and solidify the calibration configuration parameters into the Efuse of the WiFi chip. Due to the differences in the WiFi chip itself, the differences in RF devices and the impedance differences caused by PCB manufacturing, the stability and consistency of the RF output power cannot be guaranteed. Few manufacturers perform real-time dynamic calibration tests on WiFi wireless products, and perform actual power calibration tests on each channel and different rates under different standards, and their test efficiency is low.

[0004] Therefore, the above existing solutions lead to the problems of RF power testing such as complicated production line calibration test, poor stability and consistency of RF output power, and low test efficiency. Summary of the invention

[0005] The purpose of the present invention is to provide a radio frequency power calibration method, device and electronic equipment to solve the problems of cumbersome production line calibration test, poor stability and consistency of radio frequency output power and low test efficiency in existing radio frequency power testing.

[0006] In a first aspect, the present invention provides a radio frequency power calibration method, the method comprising:

[0007] According to the correspondence between the preset modes and the channel divisions, multiple channel groups corresponding to each wireless local area network mode are configured;

[0008] Performing power calibration on the data to be calibrated corresponding to each of the channel groups according to a first preset power adjustment parameter to obtain a first power compensation value;

[0009] Calibrate the data to be calibrated based on the first power compensation value to obtain first power calibration data;

[0010] Performing power calibration on a single channel in each of the channel groups based on a second preset power adjustment parameter to obtain a second power compensation value;

[0011] Calibrate the first power calibration data based on the second power compensation value to obtain output power calibration data;

[0012] When the power value corresponding to the output power calibration data is within a preset power threshold range, the output power calibration data is saved, and the product to be tested corresponding to the output power calibration data is determined to be a qualified product;

[0013] The data range corresponding to the first preset power adjustment parameter includes the data range corresponding to the second preset power adjustment parameter.

[0014] In the case of adopting the above-mentioned technical scheme, the RF power calibration method provided in the embodiment of the present application configures multiple channel groups corresponding to each wireless local area network mode according to the correspondence between the preset mode and the channel division; performs power calibration on the data to be calibrated corresponding to each of the channel groups according to the first preset power adjustment parameter to obtain a first power compensation value; calibrates the data to be calibrated based on the first power compensation value to obtain first power calibration data; performs power calibration on a single channel in each of the channel groups based on the second preset power adjustment parameter to obtain a second power compensation value; calibrates the first power calibration data based on the second power compensation value to obtain output power calibration data; and when the power value corresponding to the output power calibration data is within the preset power threshold interval, saves the output power calibration data. Output power calibration data is obtained to determine that the product to be tested corresponding to the output power calibration data is a qualified product. The output power of the product to be tested can be calibrated on the production line. The configuration of each wireless LAN mode and channel group can be completed based on the correspondence between each mode and channel division. The transmitting units of each channel group are independent and do not affect each other. Therefore, only calibration test needs to be performed on each channel group, which can reduce more than three times the calibration items, thereby improving efficiency. The calibration efficiency is high, the pass rate is high, and the consistency of wireless performance is high. The compensation of the RF signal is realized by the first preset power adjustment parameter and the second preset power adjustment parameter, which can realize the maximum energy transmission of the RF signal, with low cost, high reliability and good consistency. It can reduce the RF debugging cycle on the R&D end and improve the stability and accuracy of the output power of wireless products.

[0015] In a possible implementation, after configuring a plurality of channel groups corresponding to each wireless local area network mode according to the corresponding relationship between the preset modes and the division of the channels, the method further includes:

[0016] Obtaining radio frequency power deviation values ​​of various rates of the first channel in the channel group;

[0017] If at least one of the absolute values ​​of the plurality of radio frequency power deviation values ​​is greater than a first preset radio frequency power deviation value, it is determined that the product to be tested corresponding to the data to be calibrated is a defective product.

[0018] In a possible implementation, after configuring a plurality of channel groups corresponding to each wireless local area network mode according to the corresponding relationship between the preset modes and the division of the channels, the method further includes:

[0019] Determining a maximum power deviation value and a minimum power deviation value of a first channel in the channel group;

[0020] Determine a radio frequency power maximum deviation threshold based on the maximum power deviation value and the minimum power deviation value;

[0021] If the radio frequency power maximum deviation threshold is greater than the preset radio frequency power maximum deviation threshold, it is determined that the product to be tested corresponding to the data to be calibrated is a defective product.

[0022] In a possible implementation manner, after calibrating the first power calibration data based on the second power compensation value to obtain output power calibration data, the method further includes:

[0023] When the power value corresponding to the output power calibration data is not within the preset power threshold interval, and the power value corresponding to the output power calibration data is less than or equal to the preset exit test power threshold, returning to the step of performing power calibration on the data to be calibrated corresponding to each of the channel groups according to the first preset power adjustment parameter to obtain a first power compensation value, and performing power compensation processing again;

[0024] If within the preset number of returns, the power value corresponding to the output power calibration data is within the preset power threshold range, the output power calibration data is saved.

[0025] In a possible implementation, after returning to the step of performing power calibration on the to-be-calibrated data corresponding to each of the channel groups according to the first preset power adjustment parameter to obtain a first power compensation value and performing power compensation processing again, the method further includes:

[0026] If the number of returns is greater than the preset number of returns, and the power value corresponding to the output power calibration data is not within the preset power threshold range, it is determined that the product to be tested corresponding to the corresponding data to be calibrated is a defective product.

[0027] In a possible implementation, the data range corresponding to the first preset power adjustment parameter is: -5 dBm to 5 dBm;

[0028] The data range corresponding to the second preset power adjustment parameter is: -0.7 dBm to 0.7 dBm;

[0029] The preset power threshold region is: -1.5 dBm to 1.5 dBm.

[0030] In a possible implementation, the preset exit test power threshold is: 5 dBmW.

[0031] In a second aspect, the present invention further provides a radio frequency power calibration device, the device comprising:

[0032] A configuration module, used to configure multiple channel groups corresponding to each wireless local area network mode according to the corresponding relationship between the preset mode and the channel division;

[0033] A first power calibration module, configured to perform power calibration on the data to be calibrated corresponding to each of the channel groups according to a first preset power adjustment parameter to obtain a first power compensation value;

[0034] A first calibration module, configured to calibrate the data to be calibrated based on the first power compensation value to obtain first power calibration data;

[0035] A second power calibration module, configured to perform power calibration on a single channel in each of the channel groups based on a second preset power adjustment parameter to obtain a second power compensation value;

[0036] A second calibration module, configured to calibrate the first power calibration data based on the second power compensation value to obtain output power calibration data;

[0037] A first saving module is used to save the output power calibration data when the power value corresponding to the output power calibration data is within a preset power threshold interval, and determine that the product to be tested corresponding to the output power calibration data is a qualified product;

[0038] The data range corresponding to the first preset power adjustment parameter includes the data range corresponding to the second preset power adjustment parameter.

[0039] Optionally, the device further comprises:

[0040] An acquisition module, used to acquire radio frequency power deviation values ​​of each rate of the first channel in the channel group;

[0041] The first determination module is used to determine that the product to be tested corresponding to the data to be calibrated is a defective product if at least one of the absolute values ​​of the plurality of radio frequency power deviation values ​​is greater than a first preset radio frequency power deviation value.

[0042] Optionally, the device further comprises:

[0043] A second determination module, used to determine a maximum power deviation value and a minimum power deviation value of a first channel in the channel group;

[0044] A third determination module, configured to determine a maximum deviation threshold of radio frequency power based on the maximum power deviation value and the minimum power deviation value;

[0045] The fourth determination module is used to determine that the product to be tested corresponding to the data to be calibrated is a defective product if the maximum RF power deviation threshold is greater than a preset maximum RF power deviation threshold.

[0046] Optionally, the device further comprises:

[0047] A return module, configured to return to the step of performing power calibration on the data to be calibrated corresponding to each of the channel groups according to the first preset power adjustment parameter to obtain a first power compensation value, and perform power compensation processing again, when the power value corresponding to the output power calibration data is not within the preset power threshold interval and the power value corresponding to the output power calibration data is less than or equal to the preset exit test power threshold;

[0048] The second saving module is used to save the output power calibration data if the power value corresponding to the output power calibration data is within a preset power threshold range within a preset number of returns.

[0049] Optionally, the device further comprises:

[0050] The fifth determination module is used to determine that the product to be tested corresponding to the corresponding data to be calibrated is a defective product if the number of returns is greater than the preset number of returns and the power value corresponding to the output power calibration data is not within the preset power threshold range.

[0051] Optionally, the data range corresponding to the first preset power adjustment parameter is: -5 dBm to 5 dBm;

[0052] The data range corresponding to the second preset power adjustment parameter is: -0.7 dBm to 0.7 dBm;

[0053] The preset power threshold region is: -1.5 dBm to 1.5 dBm.

[0054] Optionally, the preset exit test power threshold is: 5 dBm.

[0055] The beneficial effects of the RF power calibration device provided in the second aspect are the same as the beneficial effects of the RF power calibration method described in the first aspect or any possible implementation of the first aspect, and will not be repeated here.

[0056] In a third aspect, the present invention also provides an electronic device, comprising: one or more processors; and one or more machine-readable media having instructions stored thereon, which, when executed by the one or more processors, enables the device to perform the radio frequency power calibration method described in any possible implementation of the first aspect.

[0057] The beneficial effects of the electronic device provided in the third aspect are the same as the beneficial effects of the RF power calibration method described in the first aspect or any possible implementation of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0059] Figure 1 A schematic diagram of a flow chart of a radio frequency power calibration method provided in an embodiment of the present application is shown;

[0060] Figure 2 A schematic diagram of a flow chart of a radio frequency power calibration method provided in an embodiment of the present application is shown;

[0061] Figure 3 A schematic diagram of the structure of a radio frequency power calibration method provided in an embodiment of the present application is shown;

[0062] Figure 4 A schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention;

[0063] Figure 5 A schematic diagram of the structure of a chip provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0064] In order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. For example, the first threshold and the second threshold are only used to distinguish different thresholds, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.

[0065] It should be noted that, in the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0066] In the present invention, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, the combination of a and b, the combination of a and c, the combination of b and c, or the combination of a, b and c, where a, b, c can be single or multiple.

[0067] Figure 1 A schematic diagram of a flow chart of a radio frequency power calibration method provided in an embodiment of the present application is shown, such as Figure 1 As shown, the radio frequency power calibration method includes:

[0068] Step 101: According to the correspondence between the preset modes and the channel divisions, multiple channel groups corresponding to each wireless local area network mode are configured.

[0069] In the present application, wireless local area network (WiFi) modes may include: 802.11a / b / g / n / ac / ax and other standards. Each standard has a different rate level in each channel. Devices can determine the rate level at which both parties can communicate based on device capabilities, environmental interference, etc., and WiFi2.4G / 5G has many channels and a large number of RF power test points. All channels can be divided, and the correspondence between each mode and channel division can be stored in a table, and the configuration of each wireless LAN mode and channel group can be completed based on the table.

[0070] For example, 2.4G has a total of 13 channels, channels 1-4 are divided into the first channel group (Band0), channels 5-9 are divided into the second channel group (Band1), channels 10-13 are divided into the third channel group (Band2), and the transmitting units of each channel group are independent and do not affect each other. Therefore, only calibration test needs to be performed on each channel group, which can reduce calibration items by more than three times, thereby improving efficiency. The calibration range of each channel group is ±X decibel milliwatts (dBm).

[0071] Step 102: Power calibration is performed on the data to be calibrated corresponding to each of the channel groups according to a first preset power adjustment parameter to obtain a first power compensation value.

[0072] In the present application, power adjustment can be performed based on the channel group. The adjustment operation can change the RF power of each rate of the same channel group. The data range corresponding to the first preset power adjustment parameter is: -5 dBm to 5 dBm.

[0073] Step 103: Calibrate the data to be calibrated based on the first power compensation value to obtain first power calibration data.

[0074] Step 104: Perform power calibration on a single channel in each of the channel groups based on a second preset power adjustment parameter to obtain a second power compensation value.

[0075] The data range corresponding to the second preset power adjustment parameter is: -0.7 dBm to 0.7 dBm.

[0076] In the present application, based on the power fine-tuning of a single rate, the adjustment operation will cause the corresponding speed RF power change in each channel.

[0077] Step 105: Calibrate the first power calibration data based on the second power compensation value to obtain output power calibration data.

[0078] Step 106: When the power value corresponding to the output power calibration data is within a preset power threshold range, the output power calibration data is saved, and the product to be tested corresponding to the output power calibration data is determined to be a qualified product.

[0079] The preset power threshold range is -1.5 dBm to 1.5 dBm.

[0080] The data range corresponding to the first preset power adjustment parameter includes the data range corresponding to the second preset power adjustment parameter.

[0081] In this application, it is assumed that K is the difference between the current power test value (recorded as PR) and the target power value (recorded as PT) of a certain rate, then K = PR-PT, the power compensation value of the channel group is recorded as TdBm, and the power fine-tuning value of a single rate of each channel in the channel group is recorded as RdBm, then

[0082] |T|≤1.5dBm (1);

[0083] |R|≤0.7dBm (2);

[0084] The judgment condition for a good product (power meets expectations) is that the power value corresponding to the output power calibration data (measured power) is no more than ±1.5dBm different from the target power. That is, a good product must meet the following conditions:

[0085] |K+T+R|≤1.5dBm (3);

[0086] The judgment condition for defective products (power deviation of a single rate is too large) is: the difference between the measured power of a single rate and the target power is greater than 5dBm, that is, |K|>5dBm. Conversely, good products must meet

[0087] |K|≤5dBm (4).

[0088] In summary, the RF power calibration method provided in the embodiment of the present application configures multiple channel groups corresponding to each wireless local area network mode according to the correspondence between the preset mode and the channel division; performs power calibration on the data to be calibrated corresponding to each of the channel groups according to the first preset power adjustment parameter to obtain a first power compensation value; calibrates the data to be calibrated based on the first power compensation value to obtain first power calibration data; performs power calibration on a single channel in each of the channel groups based on the second preset power adjustment parameter to obtain a second power compensation value; calibrates the first power calibration data based on the second power compensation value to obtain output power calibration data; and saves the output power calibration data when the power value corresponding to the output power calibration data is within a preset power threshold interval. Accurate data can be used to determine that the product to be tested corresponding to the output power calibration data is a qualified product. The output power of the product to be tested can be calibrated on the production line. The configuration of each wireless LAN mode and channel group can be completed based on the corresponding relationship between each mode and channel division. The transmitting units of each channel group are independent and do not affect each other. Therefore, only calibration test needs to be performed on each channel group, which can reduce more than three times the calibration items, thereby improving efficiency. The calibration efficiency is high, the pass rate is high, and the consistency of wireless performance is high. The compensation of the RF signal is realized by the first preset power adjustment parameter and the second preset power adjustment parameter, which can realize the maximum energy transmission of the RF signal. It has low cost, high reliability, good consistency, can reduce the RF debugging cycle on the R&D end, and improve the stability and accuracy of the output power of wireless products.

[0089] Figure 2 FIG. 4 is a flow chart of another radio frequency power calibration method provided in an embodiment of the present application. Figure 2 As shown, the method includes:

[0090] Step 201: According to the correspondence between the preset modes and the channel divisions, multiple channel groups corresponding to each wireless local area network mode are configured.

[0091] In the present application, wireless local area network (WiFi) modes may include: 802.11a / b / g / n / ac / ax and other standards. Each standard has a different rate level in each channel. Devices can determine the rate level at which both parties can communicate based on device capabilities, environmental interference, etc., and WiFi2.4G / 5G has many channels and a large number of RF power test points. All channels can be divided, and the correspondence between each mode and channel division can be stored in a table, and the configuration of each wireless LAN mode and channel group can be completed based on the table.

[0092] For example, 2.4G has a total of 13 channels, channels 1-4 are divided into the first channel group (Band0), channels 5-9 are divided into the second channel group (Band1), channels 10-13 are divided into the third channel group (Band2), and the transmitting units of each channel group are independent and do not affect each other. Therefore, only calibration test needs to be performed on each channel group, which can reduce calibration items by more than three times, thereby improving efficiency. The calibration range of each channel group is ±X decibel milliwatts (dBm).

[0093] In the present application, the first power compensation value and the second power compensation value are both compensation values, and the determination of the compensation value may include the following sub-steps:

[0094] Sub-step S1: Obtain the deviation power value b of all rates. If all satisfy |b|≤1.5dBm, the calibration is determined to be successful and jump to sub-step S6. If all satisfy |b|≤2.2dBm, jump to sub-step S4.

[0095] Sub-step S2: Calculate the compensation values ​​of all bands, that is, the first power compensation value, and configure it in the device to make it effective.

[0096] Sub-step S3: Jump to sub-step S1.

[0097] Sub-step S4: Calculate the compensation value of all rates, that is, the second power compensation value, and configure it in the device to make it effective.

[0098] Sub-step S5: Jump to sub-step S1.

[0099] Sub-step S6: The process ends.

[0100] Step 202: Power calibration is performed on the data to be calibrated corresponding to each of the channel groups according to a first preset power adjustment parameter to obtain a first power compensation value, and the data to be calibrated is calibrated based on the first power compensation value to obtain first power calibration data.

[0101] The data range corresponding to the first preset power adjustment parameter is: -5 dBm to 5 dBm;

[0102] In the present application, the calculation of the first power compensation value for each channel group may include the following sub-steps:

[0103] Sub-step A1: Obtain the RF power deviation values ​​of each rate of the first channel in the channel group; if at least one of the absolute values ​​of the multiple RF power deviation values ​​is greater than a first preset RF power deviation value, determine that the product to be tested corresponding to the data to be calibrated is a defective product.

[0104] Sub-step A2: The maximum power deviation value and the minimum power deviation value of the first channel in the channel group can be determined; the RF power maximum deviation threshold is determined based on the maximum power deviation value and the minimum power deviation value; if the RF power maximum deviation threshold is greater than the preset RF power maximum deviation threshold, it is determined that the product to be tested corresponding to the data to be calibrated is a defective product.

[0105] In the present application, the preset RF power maximum deviation threshold is 4.4dBm.

[0106] Specifically, after compensating a channel group, assuming that the power compensation value of the channel group is b, the power of all rates in the channel group will be superimposed by b. After compensating each rate of each channel in the channel group by R, the power value of each rate in the channel group will undergo one of the following four changes:

[0107] When R>0 and b>0, |R+b|>|R|, and the deviation becomes larger;

[0108] When R>0 and b<0, |R+b|<|R|, the deviation becomes smaller;

[0109] When R<0 and b>0, |R+b|<|R|, and the deviation becomes smaller;

[0110] When R<0 and b<0, |R+b|>|R|, the deviation becomes larger;

[0111] That is to say, after adjustment, the rate of the same channel group may become larger or smaller, ensuring that the deviation value of each rate is no more than 1.5dBm. Therefore, the maximum deviation power value Kmax and the minimum deviation power value Kmin cannot differ too much, otherwise the target power cannot be achieved through calibration. That is, good products must meet

[0112] |Kmax-Kmin|≤m (m is a fixed constant);

[0113] Next, we will derive the specific value of m:

[0114] According to formula (3), the rates of each channel group of good products must satisfy

[0115] |Kmax+b+R1|≤1.5dBm;

[0116] |Kmin+b+R2|≤1.5dBm,

[0117] in,

[0118] Kmax is the power value of the rate with the largest deviation in the same channel group, and the corresponding rate compensation value is recorded as R1.

[0119] Kmin is the power value of the rate with the smallest deviation in the same channel group, and the corresponding rate compensation value is recorded as R2.

[0120] According to the absolute value inequality: |a|-|b|≤|ab|, we can conclude

[0121] |Kmax-Kmin|-|R2–R1|≤|(Kmax-Kmin)–(R2–R1)|=|(Kmax+R1)–(Kmin+R2)|=|(Kmax+R1+b)–(Kmin+R2+b)|

[0122] That is |Kmax-Kmin|-|R2–R1|≤|(Kmax+R1+b)–(Kmin+R2+b)|(4);

[0123] According to the absolute value inequality: |a|-|b|≤|a|+|b|, we can conclude

[0124] |(Kmax+R1+b)–(Kmin+R2+b)|≤|Kmax+b+R1|+|Kmin+b+R2|≤1.5+1.5=3dBm

[0125] That is, |(Kmax+R1+b)–(Kmin+R2+b)|≤3dBm (5);

[0126] Combining (4) and (5), we can know

[0127] |Kmax-Kmin|-|R2–R1|≤|(Kmax+R1+b)–(Kmin+R2+b)|≤3dBm

[0128] That is, |Kmax-Kmin|≤|R2–R1|+3dBm (6);

[0129] According to the absolute value inequality: |ab|≤|a|+|-b|=|a|+|-1|*|b|=|a|+|b|, we can know

[0130] |R2–R1|≤|R1|+|R2|≤0.7+0.7=1.4dBm (7);

[0131] From (6) and (7), we can conclude

[0132] |Kmax-Kmin|≤|R2–R1|+3≤1.4+3=4.4dBm

[0133] Therefore, we get m = 4.4 and it can be concluded that good products must meet

[0134] Formula |Kmax-Kmin|≤4.4dBm(8).

[0135] In summary, in the present application, products that simultaneously satisfy |K|≤5dBm(4) and |Kmax-Kmin|≤4.4dBm(8) before calibration, and simultaneously satisfy |K+T+R|≤1.5dBm(3) after calibration can be determined as good products.

[0136] Sub-step A3: Calculate the compensation value b=(Kmax+Kmin) / 2 of the first channel in this channel group. If b≤1.0dBm, it is determined that the channel group calibration is successful, and jump to sub-step A5.

[0137] Sub-step A4: Configure compensation value b to the device for RF power compensation, and jump to sub-step A1.

[0138] Sub-step A5: The channel group compensation value calculation process ends.

[0139] Step 203: Perform power calibration on a single channel in each of the channel groups based on a second preset power adjustment parameter to obtain a second power compensation value, and calibrate the first power calibration data based on the second power compensation value to obtain output power calibration data.

[0140] The data range corresponding to the second preset power adjustment parameter is: -0.7 dBm to 0.7 dBm.

[0141] In the present application, the process of determining the compensation value of a single channel in each channel group may include the following sub-steps:

[0142] Sub-step B1: Obtain the RF power value K of this rate on different channels. If |K|>5dBm, it is determined to be a defective product and jump to sub-step B5.

[0143] Sub-step B2: If |K|≤1.5dBm, it is determined that the rate calibration is successful, and jump to sub-step B6.

[0144] Sub-step B3: If |K|>1.5+0.7=2.2dBm, then |K|=0.7, otherwise |K|=|K|-1.5, and the polarity of K remains unchanged.

[0145] Sub-step B4: configure the compensation value K to the device to perform RF power compensation at this rate, and jump to sub-step B1.

[0146] Sub-step B5: The calculation process of the compensation value of this rate ends.

[0147] Step 204: When the power value corresponding to the output power calibration data is within a preset power threshold range, the output power calibration data is saved, and the product to be tested corresponding to the output power calibration data is determined to be a qualified product.

[0148] The preset power threshold range is -1.5 dBm to 1.5 dBm.

[0149] The data range corresponding to the first preset power adjustment parameter includes the data range corresponding to the second preset power adjustment parameter.

[0150] In this application, it is assumed that K is the difference between the current power test value (recorded as PR) and the target power value (recorded as PT) of a certain rate, then K = PR-PT, the power compensation value of the channel group is recorded as TdBm, and the power fine-tuning value of a single rate of each channel in the channel group is recorded as RdBm, then

[0151] |T|≤1.5dBm (1);

[0152] |R|≤0.7dBm (2);

[0153] The judgment condition for a good product (power meets expectations) is that the power value corresponding to the output power calibration data (measured power) is no more than ±1.5dBm different from the target power. That is, a good product must meet the following conditions:

[0154] |K+T+R|≤1.5dBm (3);

[0155] The judgment condition for defective products (power deviation of a single rate is too large) is: the difference between the measured power of a single rate and the target power is greater than 5dBm, that is, |K|>5dBm. Conversely, good products must meet

[0156] |K|≤5dBm (4).

[0157] Step 205: When the power value corresponding to the output power calibration data is not within the preset power threshold interval, and the power value corresponding to the output power calibration data is less than or equal to the preset exit test power threshold, return to the step of performing power calibration on the data to be calibrated corresponding to each of the channel groups according to the first preset power adjustment parameter to obtain a first power compensation value, and perform power compensation processing again.

[0158] The preset exit test power threshold is: 5 dBm.

[0159] Step 206: If within a preset number of returns, the power value corresponding to the output power calibration data is within a preset power threshold range, the output power calibration data is saved.

[0160] If the number of returns is greater than the preset number of returns, and the power value corresponding to the output power calibration data is not within the preset power threshold range, it is determined that the product to be tested corresponding to the corresponding data to be calibrated is a defective product.

[0161] The RF power calibration method described in the embodiment of the present application can achieve maximum energy transmission of radio frequency (RF) signals with low cost, high reliability, good consistency, and can reduce the RF debugging cycle on the R&D side.

[0162] For example, 2.4G has 13 channels in total, channels 1-4 are divided into the first channel group (Band0), channels 5-9 are divided into the second channel group (Band1), and channels 10-13 are divided into the third channel group (Band2). The transmitting units of each channel group are independent and do not affect each other. Therefore, only calibration tests need to be performed on each channel group, which can reduce the calibration items by more than three times, thereby improving efficiency. The calibration range of each channel group is ±X decibel milliwatts (dBm). In this application, taking a set of data collected during the actual measurement of the power calibration of the first channel group Band0 as an example, the power calibration method process described in this application is further described in detail:

[0163] First, the target power values ​​of the rates of all channels in the first channel can be obtained through instrument testing, as shown in Table 1 below:

[0164] Table 1

[0165]

[0166] Before calibration, a set of data of the power of all rates obtained by the device power detection and the target power deviation value K is shown in Table 2:

[0167] Table 2

[0168]

[0169] If |K|>5dBm and |Kmax-Kmin|>4.4dBm do not occur, then the product is not defective. Among them, Kmax=-2.6dBm, Kmin=-1.9dBm, |Kmax-Kmin|=0.7dBm.

[0170] Calculate the compensation value of Band0: b = (Kmax + Kmin) / 2 = (-2.6 - 1.9) = -2.2 dBm; if | (Kmax + Kmin) / 2 | ≤ 1.0 dBm is not satisfied, the Band0 transmit power value needs to be further adjusted.

[0171] The power calibration is performed according to the first preset power adjustment parameter for the data to be calibrated corresponding to each of the channel groups to obtain a first power compensation value, and the transmit power value of the device is adjusted by +2.2dBm and made effective. The power deviation K data at all rates under channel 1 in Band0 is re-obtained as shown in Table 3:

[0172] Table 3

[0173]

[0174] If |K|>5dBm and |Kmax-Kmin|>4.4dBm do not occur, it is not a defect, where Kmax=1.7dBm, Kmin=0.1dBm, |Kmax-Kmin|=1.6dBm

[0175] Calculate the compensation value of Band0: b = (Kmax + Kmin) / 2 = (1.7 + 0.1) = 0.9dBm; satisfy

[0176] |(Kmax+Kmin) / 2|≤1.0dBm, there is no need to further adjust the Band 0 transmit power value.

[0177] However, there is a rate (802.11g 6Mbps) that does not meet |K|≤1.5dBm, and the transmit power value of this rate needs to be adjusted further. Where |K|=|K|-1.5=1.7–1.5=0.2dBm.

[0178] Power calibration is performed on a single channel in each of the channel groups based on a second preset power adjustment parameter to obtain a second power compensation value, the first power calibration data is calibrated based on the second power compensation value to obtain output power calibration data, the transmit power value of the device in the 802.11g 6Mbps rate mode is adjusted to -0.2dBm, and it is made effective, and the power deviation K data at all rates under channel 1 in Band0 is re-obtained as shown in Table 4:

[0179] Table 4

[0180]

[0181] Among them, Kmax=1.2dBm, Kmin=0.1dBm, |Kmax-Kmin|=1.1dBm.

[0182] If |(Kmax+Kmin) / 2|≤1.0dBm and |K|≤1.5dBm for all rates, the calibration process is completed and the calibration is successful.

[0183] The calibration parameters of the equipment obtained this time are: Band0 calibration parameter: +2.2dBm; 802.11g 6Mbps rate mode calibration parameter: -0.2dBm, and other rate modes do not require calibration.

[0184] In summary, the RF power calibration method provided in the embodiment of the present application configures multiple channel groups corresponding to each wireless local area network mode according to the correspondence between the preset mode and the channel division; performs power calibration on the data to be calibrated corresponding to each of the channel groups according to the first preset power adjustment parameter to obtain a first power compensation value; calibrates the data to be calibrated based on the first power compensation value to obtain first power calibration data; performs power calibration on a single channel in each of the channel groups based on the second preset power adjustment parameter to obtain a second power compensation value; calibrates the first power calibration data based on the second power compensation value to obtain output power calibration data; and saves the output power calibration data when the power value corresponding to the output power calibration data is within a preset power threshold interval. Accurate data can be used to determine that the product to be tested corresponding to the output power calibration data is a qualified product. The output power of the product to be tested can be calibrated on the production line. The configuration of each wireless LAN mode and channel group can be completed based on the corresponding relationship between each mode and channel division. The transmitting units of each channel group are independent and do not affect each other. Therefore, only calibration test needs to be performed on each channel group, which can reduce more than three times the calibration items, thereby improving efficiency. The calibration efficiency is high, the pass rate is high, and the consistency of wireless performance is high. The compensation of the RF signal is realized by the first preset power adjustment parameter and the second preset power adjustment parameter, which can realize the maximum energy transmission of the RF signal. It has low cost, high reliability, good consistency, can reduce the RF debugging cycle on the R&D end, and improve the stability and accuracy of the output power of wireless products.

[0185] Figure 3 A schematic diagram of the structure of a radio frequency power calibration device provided in an embodiment of the present application is shown. Figure 3 As shown, the device 300 includes:

[0186] Configuration module 301, configured to configure multiple channel groups corresponding to each wireless local area network mode according to the correspondence between the preset mode and the channel division;

[0187] A first power calibration module 302, configured to perform power calibration on the data to be calibrated corresponding to each of the channel groups according to a first preset power adjustment parameter to obtain a first power compensation value;

[0188] A first calibration module 303, configured to calibrate the data to be calibrated based on the first power compensation value to obtain first power calibration data;

[0189] A second power calibration module 304, configured to perform power calibration on a single channel in each of the channel groups based on a second preset power adjustment parameter to obtain a second power compensation value;

[0190] A second calibration module 305, configured to calibrate the first power calibration data based on the second power compensation value to obtain output power calibration data;

[0191] A first saving module 306, configured to save the output power calibration data when the power value corresponding to the output power calibration data is within a preset power threshold interval, and determine that the product to be tested corresponding to the output power calibration data is a qualified product;

[0192] The data range corresponding to the first preset power adjustment parameter includes the data range corresponding to the second preset power adjustment parameter.

[0193] Optionally, the device further comprises:

[0194] An acquisition module, used to acquire radio frequency power deviation values ​​of each rate of the first channel in the channel group;

[0195] The first determination module is used to determine that the product to be tested corresponding to the data to be calibrated is a defective product if at least one of the absolute values ​​of the plurality of radio frequency power deviation values ​​is greater than a first preset radio frequency power deviation value.

[0196] Optionally, the device further comprises:

[0197] A second determination module, used to determine a maximum power deviation value and a minimum power deviation value of a first channel in the channel group;

[0198] A third determination module, configured to determine a maximum deviation threshold of radio frequency power based on the maximum power deviation value and the minimum power deviation value;

[0199] The fourth determination module is used to determine that the product to be tested corresponding to the data to be calibrated is a defective product if the maximum RF power deviation threshold is greater than a preset maximum RF power deviation threshold.

[0200] Optionally, the device further comprises:

[0201] A return module, configured to return to the step of performing power calibration on the data to be calibrated corresponding to each of the channel groups according to the first preset power adjustment parameter to obtain a first power compensation value, and perform power compensation processing again, when the power value corresponding to the output power calibration data is not within the preset power threshold interval and the power value corresponding to the output power calibration data is less than or equal to the preset exit test power threshold;

[0202] The second saving module is used to save the output power calibration data if the power value corresponding to the output power calibration data is within a preset power threshold range within a preset number of returns.

[0203] Optionally, the device further comprises:

[0204] The fifth determination module is used to determine that the product to be tested corresponding to the corresponding data to be calibrated is a defective product if the number of returns is greater than the preset number of returns and the power value corresponding to the output power calibration data is not within the preset power threshold range.

[0205] Optionally, the data range corresponding to the first preset power adjustment parameter is: -5 dBm to 5 dBm;

[0206] The data range corresponding to the second preset power adjustment parameter is: -0.7 dBm to 0.7 dBm;

[0207] The preset power threshold region is: -1.5 dBm to 1.5 dBm.

[0208] Optionally, the preset exit test power threshold is: 5 dBm.

[0209] In summary, the RF power calibration device provided in the embodiment of the present application configures multiple channel groups corresponding to each wireless local area network mode according to the correspondence between the preset mode and the channel division; performs power calibration on the data to be calibrated corresponding to each of the channel groups according to the first preset power adjustment parameter to obtain a first power compensation value; calibrates the data to be calibrated based on the first power compensation value to obtain first power calibration data; performs power calibration on a single channel in each of the channel groups based on the second preset power adjustment parameter to obtain a second power compensation value; calibrates the first power calibration data based on the second power compensation value to obtain output power calibration data; and saves the output power calibration data when the power value corresponding to the output power calibration data is within a preset power threshold interval. Accurate data can be used to determine that the product to be tested corresponding to the output power calibration data is a qualified product. The output power of the product to be tested can be calibrated on the production line. The configuration of each wireless LAN mode and channel group can be completed based on the corresponding relationship between each mode and channel division. The transmitting units of each channel group are independent and do not affect each other. Therefore, only calibration test needs to be performed on each channel group, which can reduce more than three times the calibration items, thereby improving efficiency. The calibration efficiency is high, the pass rate is high, and the consistency of wireless performance is high. The compensation of the RF signal is realized by the first preset power adjustment parameter and the second preset power adjustment parameter, which can realize the maximum energy transmission of the RF signal. It has low cost, high reliability, good consistency, can reduce the RF debugging cycle on the R&D end, and improve the stability and accuracy of the output power of wireless products.

[0210] The present invention provides a radio frequency power calibration device, which can achieve the following Figure 1-2 The RF power calibration method shown is not repeated here to avoid repetition.

[0211] The electronic device in the embodiment of the present invention may be a device, or a component, integrated circuit, or chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device may be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., which is not specifically limited in the embodiment of the present invention.

[0212] The electronic device in the embodiment of the present invention may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.

[0213] Figure 4 FIG. 1 is a schematic diagram showing the hardware structure of an electronic device provided by an embodiment of the present invention. Figure 4 As shown, the electronic device 400 includes a processor 410 .

[0214] like Figure 4 As shown, the processor 410 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present invention.

[0215] like Figure 4 As shown, the electronic device 400 may further include a communication line 440. The communication line 440 may include a path for transmitting information between the components.

[0216] Optional, such as Figure 4 As shown, the electronic device may further include a communication interface 420. There may be one or more communication interfaces 420. The communication interface 420 may use any transceiver or other device for communicating with other devices or communication networks.

[0217] Optional, such as Figure 4As shown, the electronic device may further include a memory 430. The memory 430 is used to store computer-executable instructions for executing the solution of the present invention, and is controlled to execute by a processor. The processor is used to execute the computer-executable instructions stored in the memory, thereby implementing the method provided by the embodiment of the present invention.

[0218] like Figure 4 As shown, the memory 430 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 430 may exist independently and be connected to the processor 410 via a communication line 440. The memory 430 may also be integrated with the processor 410.

[0219] Optionally, the computer-executable instructions in the embodiment of the present invention may also be referred to as application program codes, which is not specifically limited in the embodiment of the present invention.

[0220] In a specific implementation, as an example, Figure 4 As shown, the processor 410 may include one or more CPUs, such as Figure 4 CPU0 and CPU1 in.

[0221] In a specific implementation, as an example, Figure 4 As shown, the terminal device may include multiple processors, such as Figure 4 Each of these processors can be a single-core processor or a multi-core processor.

[0222] Figure 5 Schematic diagram of the structure of the chip provided by the embodiment of the present invention. Figure 5 As shown, the chip 500 includes one or more (including two) processors 410 .

[0223] Optional, such as Figure 5As shown, the chip also includes a communication interface 420 and a memory 430. The memory 430 may include a read-only memory and a random access memory, and provide operation instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory (NVRAM).

[0224] In some embodiments, Figure 5 As shown, the memory 430 stores the following elements, execution modules or data structures, or their subsets, or their extended sets.

[0225] In the embodiment of the present invention, Figure 5 As shown, the corresponding operation is performed by calling the operation instruction stored in the memory (the operation instruction may be stored in the operating system).

[0226] like Figure 5 As shown, the processor 410 controls the processing operations of any one of the terminal devices, and the processor 410 may also be referred to as a central processing unit (CPU).

[0227] like Figure 5 As shown, the memory 430 may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory 430 may also include an NVRAM. For example, in an application, the memory, the communication interface, and the memory are coupled together through a bus system, wherein the bus system may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clarity, in Figure 5 Various buses are labeled as bus system 540 .

[0228] like Figure 5As shown, the method disclosed in the above embodiment of the present invention can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general-purpose processor, a digital signal processor (digital signal processing, DSP), an ASIC, a field-programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0229] On the one hand, a computer-readable storage medium is provided, in which instructions are stored. When the instructions are executed, the functions performed by the terminal device in the above embodiment are implemented.

[0230] On the one hand, a chip is provided, which is applied to a terminal device. The chip includes at least one processor and a communication interface. The communication interface is coupled to at least one processor, and the processor is used to run instructions to implement the functions performed by the radio frequency power calibration method in the above embodiment.

[0231] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present invention is executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a terminal, a user device or other programmable device. The computer program or instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program or instruction can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, a hard disk, or a tape; it can also be an optical medium, such as a digital video disc (DVD); it can also be a semiconductor medium, such as a solid state drive (SSD).

[0232] Although the present invention is described herein in conjunction with various embodiments, in the process of implementing the claimed invention, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0233] Although the present invention has been described in conjunction with specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present invention. Accordingly, this specification and the accompanying drawings are merely exemplary illustrations of the present invention as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present invention. Obviously, those skilled in the art may make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, the present invention is intended to include such modifications and variations if they fall within the scope of the claims of the present invention and their equivalents.

Claims

1. A radio frequency power calibration method, characterized in that: The method comprises: According to the correspondence between the preset modes and the channel divisions, multiple channel groups corresponding to each wireless local area network mode are configured; Performing power calibration on the data to be calibrated corresponding to each of the channel groups according to a first preset power adjustment parameter to obtain a first power compensation value; Calibrate the data to be calibrated based on the first power compensation value to obtain first power calibration data; Performing power calibration on a single channel in each of the channel groups based on a second preset power adjustment parameter to obtain a second power compensation value; Calibrate the first power calibration data based on the second power compensation value to obtain output power calibration data; When the power value corresponding to the output power calibration data is within a preset power threshold range, the output power calibration data is saved, and the product to be tested corresponding to the output power calibration data is determined to be a qualified product; Among them, the data range corresponding to the first preset power adjustment parameter includes the data range corresponding to the second preset power adjustment parameter; the data range corresponding to the first preset power adjustment parameter is: -5 decibel milliwatts to 5 decibel milliwatts; the data range corresponding to the second preset power adjustment parameter is: -0.7 decibel milliwatts to 0.7 decibel milliwatts; the preset power threshold interval is: -1.5 decibel milliwatts to 1.5 decibel milliwatts.

2. The radio frequency power calibration method according to claim 1, characterized in that: After configuring a plurality of channel groups corresponding to each wireless local area network mode according to the corresponding relationship between the preset modes and the division of the channels, the method further includes: Obtaining radio frequency power deviation values ​​of various rates of the first channel in the channel group; If at least one of the absolute values ​​of the plurality of radio frequency power deviation values ​​is greater than a first preset radio frequency power deviation value, it is determined that the product to be tested corresponding to the data to be calibrated is a defective product.

3. The radio frequency power calibration method according to claim 1, characterized in that: After configuring a plurality of channel groups corresponding to each wireless local area network mode according to the corresponding relationship between the preset modes and the division of the channels, the method further includes: Determining a maximum power deviation value and a minimum power deviation value of a first channel in the channel group; Determine a radio frequency power maximum deviation threshold based on the maximum power deviation value and the minimum power deviation value; If the radio frequency power maximum deviation threshold is greater than the preset radio frequency power maximum deviation threshold, it is determined that the product to be tested corresponding to the data to be calibrated is a defective product.

4. The radio frequency power calibration method according to claim 1, characterized in that: After calibrating the first power calibration data based on the second power compensation value to obtain output power calibration data, the method further includes: When the power value corresponding to the output power calibration data is not within the preset power threshold interval, and the power value corresponding to the output power calibration data is less than or equal to the preset exit test power threshold, returning to the step of performing power calibration on the data to be calibrated corresponding to each of the channel groups according to the first preset power adjustment parameter to obtain a first power compensation value, and performing power compensation processing again; If within the preset number of returns, the power value corresponding to the output power calibration data is within the preset power threshold range, the output power calibration data is saved.

5. The radio frequency power calibration method according to claim 4, characterized in that: After returning to the step of performing power calibration on the data to be calibrated corresponding to each of the channel groups according to the first preset power adjustment parameter to obtain a first power compensation value and performing power compensation processing again, the method further includes: If the number of returns is greater than the preset number of returns, and the power value corresponding to the output power calibration data is not within the preset power threshold range, it is determined that the product to be tested corresponding to the corresponding data to be calibrated is a defective product.

6. The radio frequency power calibration method according to claim 4, characterized in that: The preset exit test power threshold is: 5 dBm.

7. A radio frequency power calibration device, characterized in that: The device comprises: A configuration module, used to configure multiple channel groups corresponding to each wireless local area network mode according to the corresponding relationship between the preset mode and the channel division; A first power calibration module, configured to perform power calibration on the data to be calibrated corresponding to each of the channel groups according to a first preset power adjustment parameter to obtain a first power compensation value; A first calibration module, configured to calibrate the data to be calibrated based on the first power compensation value to obtain first power calibration data; A second power calibration module, configured to perform power calibration on a single channel in each of the channel groups based on a second preset power adjustment parameter to obtain a second power compensation value; A second calibration module, configured to calibrate the first power calibration data based on the second power compensation value to obtain output power calibration data; A first saving module is used to save the output power calibration data when the power value corresponding to the output power calibration data is within a preset power threshold interval, and determine that the product to be tested corresponding to the output power calibration data is a qualified product; Among them, the data range corresponding to the first preset power adjustment parameter includes the data range corresponding to the second preset power adjustment parameter; the data range corresponding to the first preset power adjustment parameter is: -5 decibel milliwatts to 5 decibel milliwatts; the data range corresponding to the second preset power adjustment parameter is: -0.7 decibel milliwatts to 0.7 decibel milliwatts; the preset power threshold interval is: -1.5 decibel milliwatts to 1.5 decibel milliwatts.

8. The radio frequency power calibration device according to claim 7, characterized in that: The device also includes: An acquisition module, used to acquire radio frequency power deviation values ​​of each rate of the first channel in the channel group; A first determination module, configured to determine that the product to be tested corresponding to the data to be calibrated is a defective product if at least one of the absolute values ​​of the plurality of radio frequency power deviation values ​​is greater than a first preset radio frequency power deviation value; A second determination module, used to determine a maximum power deviation value and a minimum power deviation value of a first channel in the channel group; A third determination module, configured to determine a maximum radio frequency power deviation threshold based on the maximum power deviation value and the minimum power deviation value; A fourth determination module is used to determine that the product to be tested corresponding to the data to be calibrated is a defective product if the maximum radio frequency power deviation threshold is greater than a preset maximum radio frequency power deviation threshold; A return module, configured to return to the step of performing power calibration on the data to be calibrated corresponding to each of the channel groups according to the first preset power adjustment parameter to obtain a first power compensation value, and perform power compensation processing again, when the power value corresponding to the output power calibration data is not within the preset power threshold interval and the power value corresponding to the output power calibration data is less than or equal to the preset exit test power threshold; A second saving module, configured to save the output power calibration data if the power value corresponding to the output power calibration data is within a preset power threshold interval within a preset number of returns; A fifth determination module, configured to determine that the product to be tested corresponding to the corresponding data to be calibrated is a defective product if the number of returns is greater than the preset number of returns and the power value corresponding to the output power calibration data is not within the preset power threshold interval; The preset exit test power threshold is: 5 dBm.

9. An electronic device, characterized in that: include: one or more processors; and one or more machine-readable media having instructions stored thereon, which, when executed by the one or more processors, enable execution of the radio frequency power calibration method described in any one of claims 1 to 6.