A device calibration method, apparatus, host computer, and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-25
- Publication Date
- 2026-08-14
AI Technical Summary
[0002]部分器件在投入使用前需要进行射频校准,现有技术中通常采用性能强大且昂贵的射频仪器进行射频校准,然而射频校准仅使用了这些仪器的一小部分功能,并未对射频仪器进行充分利用,增加了射频校准的成本
[0017]本发明实施例的技术方案,通过获取目标标准器件的当前信道功率因子和预先存储的目标信道功率因子,并根据目标信道功率因子和当前信道功率因子判断目标标准器件是否异常,在进行第一待测器件校准前,先排除异常的目标标准器件,避免目标标准器件异常时依旧进行后续射频环境判断以及器件校准等流程,导致后续流程无法进行或进行后判断产生误差的问题,降低器件校准的成本,提高射频环境判断以及器件校准的准确性和有效性。
Smart Images

Figure CN116131970B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to device testing technology, and more particularly to a device calibration method, apparatus, host computer, and storage medium. Background Technology
[0002] Some devices require radio frequency (RF) calibration before being put into use. In the current technology, powerful and expensive RF instruments are usually used for RF calibration. However, RF calibration only uses a small part of the functions of these instruments and does not make full use of the RF instruments, which increases the cost of RF calibration. Summary of the Invention
[0003] This invention provides a device calibration method, apparatus, host computer, and storage medium to reduce the cost of device calibration and improve the efficiency of device calibration.
[0004] According to one aspect of the present invention, a device calibration method is provided, applied to a host computer, the method comprising:
[0005] The current channel power factor of the target standard device and the pre-stored target channel power factor are obtained, and the target standard device is determined to be abnormal based on the target channel power factor and the current channel power factor.
[0006] If not, then obtain the current channel power of the target standard device and the pre-stored target channel power, and determine whether the current radio frequency environment meets the preset environment requirements based on the current channel power and the target channel power;
[0007] If the conditions are met, an RF loss file is generated based on the current channel power and the target channel power, and the first device under test is calibrated based on the RF loss file.
[0008] According to another aspect of the present invention, a device calibration apparatus is provided, configured in a host computer, the apparatus comprising:
[0009] The standard device judgment module is used to obtain the current channel power factor and the pre-stored target channel power factor of the target standard device, and to determine whether the target standard device is abnormal based on the target channel power factor and the current channel power factor.
[0010] An environment compliance determination module is used to obtain the current channel power of the target standard device and the pre-stored target channel power if the standard device determination module determines that it does not meet the preset environment requirements, and to determine whether the current radio frequency environment meets the preset environment requirements based on the current channel power and the target channel power.
[0011] The device calibration module is used to generate an RF loss file based on the current channel power and the target channel power if the environment conformity determination module determines that it conforms, and to calibrate the first device under test based on the RF loss file.
[0012] According to another aspect of the present invention, a host computer is provided, the host computer comprising:
[0013] At least one processor; and
[0014] A memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the device calibration method according to any embodiment of the present invention.
[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the device calibration method according to any embodiment of the present invention.
[0017] The technical solution of this invention obtains the current channel power factor of the target standard device and the pre-stored target channel power factor, and determines whether the target standard device is abnormal based on the target channel power factor and the current channel power factor. Before calibrating the first device under test, abnormal target standard devices are excluded. This avoids the problem of subsequent RF environment judgment and device calibration processes still being performed when the target standard device is abnormal, which would lead to the inability to perform subsequent processes or the generation of errors in the judgment after the processes are performed. This reduces the cost of device calibration and improves the accuracy and effectiveness of RF environment judgment and device calibration.
[0018] Channel power can be used to determine whether a target standard device is abnormal. However, obtaining power usually requires the use of power measurement equipment, which is costly. Analysis revealed that power and power factor are strongly correlated, meaning that changes in power will also cause changes in the power factor. Using the channel power factor to determine whether a target standard device is abnormal improves the effectiveness of the determination. Furthermore, since the power factor can be read directly through serial port commands, the method of obtaining the power factor is relatively convenient, reducing the cost of determining whether a target standard device is abnormal.
[0019] The system acquires the current channel power of the target standard device and the pre-stored target channel power, and determines whether the current RF environment meets the preset environment requirements based on the current channel power and the target channel power. This avoids errors in subsequent calibration processes caused by the current RF environment not meeting the requirements, and facilitates timely adjustments to the current RF environment, thereby improving the accuracy and effectiveness of device calibration.
[0020] If the current RF environment meets the preset environment requirements, an RF loss file is generated based on the current channel power and the target channel power. The first device under test (DUT) is then calibrated based on the RF loss file. This means that the first DUT is compensated using the RF loss file to prevent the RF loss generated by the first DUT in the current RF environment from affecting the actual use of the first DUT. Furthermore, calibration is performed after the first DUT is compensated, thereby improving the effectiveness of device calibration.
[0021] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0022] Figure 1 This is a flowchart of a device calibration method provided in Embodiment 1 of the present invention;
[0023] Figure 2 This is a flowchart of a device calibration method provided in Embodiment 2 of the present invention;
[0024] Figure 3 This is a flowchart of a device calibration method provided in Embodiment 3 of the present invention;
[0025] Figure 4 This is a schematic diagram of a device calibration device according to Embodiment 4 of the present invention;
[0026] Figure 5 This is a schematic diagram of the structure of the host computer used to implement embodiments of the present invention. Detailed Implementation
[0027] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "first," "second," "target," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0029] Example 1
[0030] Figure 1 This is a flowchart of a device calibration method provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of performing radio frequency calibration on devices, and can be performed by the device calibration device provided in this embodiment of the present invention. The device calibration device can be configured on a host computer, and the device can be implemented by software and / or hardware. See also Figure 1 The device calibration method provided in this embodiment includes:
[0031] Step 110: Obtain the current channel power factor and the pre-stored target channel power factor of the target standard device, and determine whether the target standard device is abnormal based on the target channel power factor and the current channel power factor.
[0032] The host computer includes the parameters and procedures for RF calibration. The target channel power factor is the power factor of the target channel read from the target standard device in a standard environment with less interference via serial port commands, etc. It can be pre-stored in a preset location for easy retrieval during use.
[0033] The target channel can be a designated channel of the target standard device or all channels of the target standard device. The number and type of target channels can be determined according to the calibration requirements of the device. For example, when the target standard device is a WiFi module and the calibration requirement is mode 11B in the 2.4G band of the WiFi module, the target channel can be channels 1, 7, and 13 in mode 11B, or all channels. This embodiment does not impose any restrictions on this.
[0034] The target standard device is the device currently used as a standard, and it is of the same type as the device under test (DUT), both based on the same chip design. The current channel power factor of the target standard device is the power factor of the target channel read from the target standard device in the current RF environment via serial port commands or other means. The current RF environment is the RF environment in which the DUT is currently located, such as the environment required for manufacturing the DUT; this embodiment does not impose any restrictions on this.
[0035] Determining whether a target standard device is abnormal based on the target channel power factor and the current channel power factor can be achieved by determining whether the factor difference between the current channel power factor and the target channel power factor of each target channel is within the preset factor error range corresponding to each target channel. The preset factor error range corresponding to each channel may be different or the same, and this embodiment does not impose any restrictions on this.
[0036] If the factor difference of each target channel is within the preset factor error range, it is determined that the target standard device is not abnormal; if the factor difference of any target channel is not within the preset factor error range, it indicates that the target standard device may be abnormal due to misoperation or other reasons, and can be prompted by error reporting or other means. This embodiment does not impose any restrictions on this.
[0037] Step 120: If not, obtain the current channel power of the target standard device and the pre-stored target channel power, and determine whether the current RF environment meets the preset environment requirements based on the current channel power and the target channel power.
[0038] If the target standard device is not abnormal, the target channel power and the current channel power are used to determine whether the current radio frequency environment meets the preset environment requirements.
[0039] The target channel power is the power measured by a power measurement device in a standard environment with minimal interference. The target channel power and preset environmental requirements can be pre-stored in a preset location for easy access during use.
[0040] The current channel power of the target standard device is the power of the target channel measured by a power measurement device in the current radio frequency environment.
[0041] Determining whether the current radio frequency environment meets the preset environment requirements can be achieved by judging whether the power difference between the current channel power and the target channel power of each target channel is within the preset power error range corresponding to each target channel. The preset power error range corresponding to each channel may be different or the same, and this embodiment does not impose any restrictions on this.
[0042] If the power difference of each target channel is within the preset power error range, then the current RF environment is determined to meet the preset environment requirements; if the power difference of any target channel is not within the preset error range, it indicates that the current RF environment may not meet the preset environment requirements such as device production due to reasons such as complex composition. This can be indicated by error reporting, but this embodiment does not impose any restrictions on this.
[0043] Step 130: If the conditions are met, generate an RF loss file based on the current channel power and the target channel power, and calibrate the first device under test based on the RF loss file.
[0044] If the current RF environment meets the preset environment requirements, an RF loss file is generated based on the current channel power and the target channel power. The generation method can be to calculate the RF environment loss of each channel based on the current channel power and the target channel power, and automatically compensate for the RF environment loss to generate the RF loss file. For example, if the RF environment loss of channel 1 in 11B mode is 3dBm, then the RF loss file will be automatically compensated for the RF environment loss of channel 1 in 11B mode by 3dBm.
[0045] The first device under test (DUT) is a device that needs to be calibrated in the current RF environment and is connected to a host computer. The connection method can be a serial port connection, a single DUT connected to the host computer, or multiple DUTs connected to the host computer simultaneously. This embodiment does not impose any restrictions on this.
[0046] The calibration content can include frequency offset calibration, power calibration, etc., and this embodiment does not limit this. Calibrating the first device under test (DUT) according to the RF loss file can be achieved by compensating the first DUT according to the RF loss file, and then calibrating based on the compensated first DUT.
[0047] The technical solution provided in this embodiment obtains the current channel power factor of the target standard device and the pre-stored target channel power factor, and determines whether the target standard device is abnormal based on the target channel power factor and the current channel power factor. Before calibrating the first device under test, abnormal target standard devices are excluded. This avoids the problem of subsequent RF environment judgment and device calibration processes still being performed when the target standard device is abnormal, which would lead to the inability to perform subsequent processes or the generation of errors in the judgment after the processes are performed. This reduces the cost of device calibration and improves the accuracy and effectiveness of RF environment judgment and device calibration.
[0048] Channel power can be used to determine whether a target standard device is abnormal. However, obtaining power usually requires the use of power measurement equipment, which is costly. Analysis revealed that power and power factor are strongly correlated, meaning that changes in power will also cause changes in the power factor. Using the channel power factor to determine whether a target standard device is abnormal improves the effectiveness of the determination. Furthermore, since the power factor can be read directly through serial port commands, the method of obtaining the power factor is relatively convenient, reducing the cost of determining whether a target standard device is abnormal.
[0049] The system acquires the current channel power of the target standard device and the pre-stored target channel power, and determines whether the current RF environment meets the preset environment requirements based on the current channel power and the target channel power. This avoids errors in subsequent calibration processes caused by the current RF environment not meeting the requirements, and facilitates timely adjustments to the current RF environment, thereby improving the accuracy and effectiveness of device calibration.
[0050] If the current RF environment meets the preset environment requirements, an RF loss file is generated based on the current channel power and the target channel power. The first device under test (DUT) is then calibrated based on the RF loss file. This means that the first DUT is compensated using the RF loss file to prevent the RF loss generated by the first DUT in the current RF environment from affecting the actual use of the first DUT. Furthermore, calibration is performed after the first DUT is compensated, thereby improving the effectiveness of device calibration.
[0051] Example 2
[0052] Figure 2 This is a flowchart of a device calibration method provided in Embodiment 2 of the present invention. This technical solution provides a supplementary explanation of the process of calibrating a first device under test (DUT) according to an RF loss file. Compared with the above solution, this solution is specifically optimized as follows: calibrating the first DUT according to an RF loss file includes:
[0053] The second device under test is obtained by compensating the first device under test based on the RF loss file.
[0054] The system controls the second device under test to send its current device signal to at least one parameter receiving device connected to the host computer according to preset transmission parameters, and obtains the current device parameters determined based on the current device signal from the parameter receiving device.
[0055] Determine if the current device parameters meet the preset parameter requirements; if not, adjust the preset transmission parameters to obtain the target transmission parameters. Specifically, the flowchart of the device calibration method is as follows: Figure 2 As shown:
[0056] Step 210: Obtain the current channel power factor and the pre-stored target channel power factor of the target standard device, and determine whether the target standard device is abnormal based on the target channel power factor and the current channel power factor.
[0057] Step 220: If not, obtain the current channel power of the target standard device and the pre-stored target channel power, and determine whether the current RF environment meets the preset environment requirements based on the current channel power and the target channel power.
[0058] Step 230: If the conditions are met, generate an RF loss file based on the current channel power and the target channel power, and compensate the first device under test based on the RF loss file to obtain the second device under test.
[0059] An RF loss profile is generated based on the current channel power and the target channel power. For example, if the current channel power of channel 1 in the first device under test (DUT) 11B mode is 2 dBm lower than the target channel power, then the RF loss profile is a 2 dBm compensation for channel 1. The first DUT is then compensated based on the RF loss profile before calibration to obtain the second DUT. The second DUT is the DUT obtained after RF compensation of the first DUT.
[0060] Step 240: Control the second device under test to send the current device signal of the second device under test to at least one parameter receiving device connected to the host computer according to the preset transmission parameters, and obtain the current device parameters determined according to the current device signal from the parameter receiving device.
[0061] The preset transmission parameters are the parameters on which the second device under test transmits device signals. They can be determined according to the verification requirements. For example, if it is necessary to verify the power transmitted by the device, the preset transmission parameters can be the power factor, etc.
[0062] The host computer can send commands to the second device under test (DUT) to control it to transmit its current device signal to at least one parameter receiving device according to preset transmission parameters. The current device signal is the signal currently transmitted by the second DUT according to the preset transmission parameters, such as a modulated wave signal. This can be done on a channel basis, for example, as the modulated wave signal of channel 1 in 11B mode.
[0063] The parameter receiving device is used to receive and parse the current device signal, and send the current device parameters obtained after parsing the current device signal to the host computer. The current device signal can be the radio frequency signal sent by the second device under test, and the corresponding current device parameters can be the current radio frequency parameters of the second device under test.
[0064] The second device under test (DUT) is connected to the parameter receiving device via an RF cable, and the parameter receiving device is connected to the host computer via a serial port. This embodiment does not impose any restrictions on this connection. Each second DUT can be paired with a parameter receiving device. For example, second DUT A can send its current device parameter 1 to parameter receiving device A, and parameter receiving device A will then send the current device parameter 1 to the host computer. Similarly, second DUT B can send its current device parameter 2 to parameter receiving device B, and parameter receiving device B will then send the current device parameter 2 to the host computer.
[0065] Step 250: Determine whether the current device parameters meet the current preset parameter requirements; if not, adjust the preset transmission parameters to obtain the target transmission parameters.
[0066] The host computer determines whether the current device parameters meet the current preset parameter requirements. For example, if the current device parameter is power, it can determine whether the power value is within the preset power range. If not, the preset transmission parameters are adjusted to obtain the target transmission parameters. The adjustment method can be based on the current preset parameter requirements. For example, if the current preset parameter requirement is a transmission power range of 12-13 dBm, and the second device under test transmits a power of 5 dBm according to the preset power factor included in the preset transmission parameters, then the preset power factor is increased, and the transmission power is then transmitted based on the increased power factor. Since there may be situations where the device is damaged and cannot transmit parameters that meet the current preset parameter requirements, the adjustment can be stopped after a preset number of adjustments, and the calibration is determined to have failed. This embodiment does not impose any restrictions on this.
[0067] In this embodiment, optionally, after determining whether the current device parameters meet the current preset parameter requirements, the method further includes:
[0068] If the target transmission parameters are met, the target transmission parameters are stored, and the second device under test is verified based on the target transmission parameters.
[0069] If the current device parameters meet the current preset parameter requirements, the target transmission parameters are stored. For example, the power factor corresponding to the current power transmitted by the second device under test meets the power requirements can be stored in the memory chip of the second device under test, such as flash. This embodiment does not impose any restrictions on this.
[0070] Verifying the second device under test (DUT) based on the target transmission parameters involves the second DUT transmitting the next device parameter according to the target transmission parameters. The system then determines whether the next device parameter meets the next preset parameter requirement. If it does, the second DUT has passed verification; otherwise, the verification has failed. The next preset parameter requirement can be the same as or different from the current preset parameter requirement; this embodiment does not impose any restrictions. For example, the current preset parameter requirement may include verification of power and frequency offset, while the next preset parameter requirement may include verification of power, frequency offset, and EVM (Error Vector Magnitude).
[0071] By storing the current device parameters after determining that they meet the current preset parameter requirements, and verifying the second device under test based on the current device parameters, the calibration results of the second device under test are verified. This avoids problems such as judgment errors during calibration or unstable device signals emitted by the second device under test, thereby improving the effectiveness of the calibration of the second device under test.
[0072] In this embodiment, optionally, the current device parameters include the device channel power factor;
[0073] Accordingly, it is determined whether the current device parameters meet the current preset parameter requirements, including:
[0074] Obtain the pre-stored channel power factor range of the first device under test;
[0075] Determine whether the device's channel power factor meets the channel power factor range; if not, determine that the current device parameters do not meet the current preset parameter requirements.
[0076] The device channel power factor is the channel power factor obtained by parsing the current device signal from the parameter receiving device.
[0077] The channel power factor range of the first device under test can be determined in advance by measuring different standard devices and stored in a preset location for easy access when needed.
[0078] Determine whether the device's channel power factor is within the channel power factor range; if not, determine that the current device parameters do not meet the current preset parameter requirements.
[0079] Analysis revealed a strong correlation between the power factor and power, EVM, and spectrum template. When any of these parameters is outside their range, the power factor will be abnormally high. Therefore, during device calibration, the results of multiple device parameters can be determined by judging whether the device's channel power factor is within its range. This eliminates the need for additional instruments to judge each parameter separately, reducing calibration items and thus lowering device calibration costs.
[0080] Optionally, if the channel power factor is not used for calibration during the device calibration stage, it can be used for verification during the device verification stage. For example, if the frequency offset and power are calibrated during the device calibration stage, the frequency offset and power factor can be verified during the device verification stage. This embodiment does not impose any restrictions on this, thereby improving the accuracy of verification.
[0081] In this embodiment, optionally, it also includes:
[0082] Determine whether the first device under test has the function of converting the modulated wave into a single carrier, and determine the device type of the parameter receiving device based on the determination result;
[0083] The device calibration method for the parameter receiving device is determined based on the device type.
[0084] If the first device under test can convert the modulated wave into a single carrier, then the device type of the parameter receiving device can be determined to be a parameter receiving device that can resolve a single carrier, such as a BK-Dongle. If the first device under test cannot convert the modulated wave into a single carrier, then the device type of the parameter receiving device can be determined to be a parameter receiving device that can resolve the modulated wave, such as an RF-Dongle.
[0085] If the device type is a parameter receiving device capable of resolving a single carrier, the device calibration method can be determined to be hardware calibration. For example, if the parameter receiving device is a BK-Dongle, the calibration method can be to connect a radio frequency instrument capable of transmitting a standard single carrier to the BK-Dongle. A standard single carrier is, for example, a single carrier with signal type sin0, center frequency band 2442MHz, and power of 10dBm. This embodiment does not impose any limitations on this. By adjusting the adjustable resistor and adjustable capacitor on the BK-Dongle, the parameters of the BK-Dongle are controlled within a preset range, for example, the power is controlled within 10dBm ± 1dBm, and the frequency offset is controlled within 0ppm ± 3ppm, to complete the calibration.
[0086] If the device type is a parameter receiving device that can resolve modulated waves, the device calibration method can be determined to be software calibration. For example, if the parameter receiving device is an RF-Dongle, the calibration method can be to connect the RF-Dongle to the radio frequency instrument, connect the radio frequency instrument to the host computer, and control the radio frequency instrument to send a calibration signal to the RF-Dongle through the calibration program in the host computer. The RF-Dongle then performs calibration based on the received calibration signal.
[0087] By determining the type of parameter receiving equipment based on whether the first device under test (DUT) has the function of converting a modulated wave into a single carrier wave, the applicability of the parameter receiving equipment is improved. Furthermore, a more cost-effective parameter receiving equipment can be selected. For example, if the first DUT has the function of converting a modulated wave into a single carrier wave, this function can be omitted and parameter receiving equipment A can be used; alternatively, if this function is applied, parameter receiving equipment B can be used. If the cost of parameter receiving equipment B is lower than that of parameter receiving equipment A, then parameter receiving equipment B can be used, reducing device calibration costs and increasing the flexibility of parameter receiving equipment selection.
[0088] This invention compensates for a first device under test (DUT) based on an RF loss profile to obtain a second DUT. This avoids the RF loss generated by the first DUT in the current RF environment affecting its actual use. Furthermore, calibration is performed after compensation of the first DUT, improving the effectiveness of device calibration. The second DUT is controlled to send its current device signal to at least one parameter receiving device connected to a host computer according to preset transmission parameters. The current device parameters, determined based on the current device signal, are obtained from the parameter receiving device. This allows RF calibration to be performed without expensive RF instruments, reducing the cost of device calibration. Moreover, since the host computer can control multiple parameter receiving devices simultaneously, the number of second DUTs that can be simultaneously calibrated can be increased or decreased by adding or removing parameter receiving devices, thus solving the problem of limited calibrator capacity for a single RF instrument and improving the efficiency and flexibility of device calibration.
[0089] Example 3
[0090] Figure 3 This is a flowchart of a device calibration method provided in Embodiment 3 of the present invention. This technical solution provides supplementary explanation of the process prior to obtaining the current channel power factor and the pre-stored target channel power factor of the target standard device. Compared with the above solution, this solution is specifically optimized as follows:
[0091] Before obtaining the current channel power factor and the pre-stored target channel power factor of the target standard device, the following steps are also included:
[0092] Establish the association between the target device identifier of the target standard device and the target account in the cloud, and upload the target channel power factor and target channel power to the target account; wherein, there is a connection between the cloud and the host computer;
[0093] Accordingly, obtaining the target channel power factor and / or target channel power includes:
[0094] In response to an input operation, obtain the current input identifier;
[0095] The current input identifier is transmitted to the cloud, and the identifier judgment result is obtained from the cloud;
[0096] If the identification result is consistent, then the target channel power factor and / or target channel power are read from the target account. Specifically, the flowchart of the device calibration method is as follows: Figure 3 As shown:
[0097] Step 310: Establish the association between the target device identifier of the target standard device and the target account in the cloud, and upload the target channel power factor and target channel power to the target account; wherein, there is a connection between the cloud and the host computer.
[0098] The target device identifier is used to uniquely identify the target standard device and can be the device number of the target standard device; this embodiment does not impose any restrictions on this. The cloud and the host computer are connected, for example, through a network communication protocol. The account in the cloud is a pre-registered account, and the target account is an account associated with the target device identifier; this association can be a binding relationship.
[0099] The target channel power factor and target channel power are uploaded to the target account. Each target account can save the target channel power factor and target channel power of a single target standard device, or it can save the target channel power factor and target channel power of multiple target standard devices. This embodiment does not impose any restrictions on this.
[0100] Optionally, parameters such as frequency offset, EVM, channel power factor range, and preset environmental requirements can be uploaded to the target account for easy access during use.
[0101] Step 320: In response to the identifier input operation, obtain the current input identifier, transmit the current input identifier to the cloud, and obtain the identifier judgment result from the cloud; if the identifier judgment result is consistent, read the target channel power factor from the target account.
[0102] The host computer is currently logged into the target account and, in response to the identifier input operation, obtains the current input identifier. This identifier input operation can be performed in the identifier input area of the host computer; this embodiment does not impose any restrictions on this. The host computer transmits the content already entered in the identifier input area to the cloud. The cloud determines whether the current input identifier matches the target device identifier. If they match, the host computer is allowed to read the target channel power factor from the target account. If they do not match, the host computer can stop the subsequent RF environment judgment process and device calibration process; this embodiment does not impose any restrictions on this.
[0103] Step 330: Obtain the current channel power factor of the target standard device, and determine whether the target standard device is abnormal based on the target channel power factor and the current channel power factor.
[0104] Step 340: If not, respond to the identifier input operation, obtain the current input identifier, transmit the current input identifier to the cloud, and obtain the identifier judgment result from the cloud; if the identifier judgment result is consistent, read the target channel power from the target account.
[0105] In response to an identifier input operation, the current input identifier is obtained. This identifier input operation can be performed in the identifier input area of the host computer; this embodiment does not impose any restrictions on this. The host computer transmits the content already entered in the identifier input area to the cloud. The cloud determines whether the current input identifier matches the target device identifier. If they match, the host computer is allowed to read the target channel power from the target account. If they do not match, the host computer can stop the subsequent device calibration process; this embodiment does not impose any restrictions on this.
[0106] Optionally, the target channel power can also be read from the target account simultaneously with the target channel power factor to improve reading efficiency.
[0107] Step 350: Obtain the current channel power of the target standard device, and determine whether the current RF environment meets the preset environment requirements based on the current channel power and the target channel power.
[0108] Step 360: If the conditions are met, generate an RF loss file based on the current channel power and the target channel power, and calibrate the first device under test based on the RF loss file.
[0109] In this embodiment, optionally, after generating the RF loss file based on the current channel power and the target channel power, the method further includes:
[0110] Store the RF loss file to the target account;
[0111] In response to a device calibration request, retrieve the RF loss file from the target account.
[0112] The generated RF loss file is stored in the target account. When a device calibration request is received, it is retrieved from the target account. The retrieval method can be the same as the method for retrieving the target channel power factor and / or target channel power, as described above, and will not be repeated here. The device calibration request is used to trigger the process of verifying the first device under test. It can be automatically generated when the host computer determines that the first device under test needs calibration, or it can be issued manually. For example, a device calibration request can be issued by clicking the "Device Calibration" button in the host computer's interactive interface. The interactive device can be a display screen, etc., and this embodiment does not limit this.
[0113] By storing RF loss files in a target account, file storage security is improved. The files are retrieved from the target account when needed, preventing data tampering after RF loss files are generated and thus improving the accuracy of actual device calibration.
[0114] Establish a link between the target device identifier of the target standard device and the target account in the cloud, and upload the target channel power factor and target channel power to the target account to improve the security of file storage; and only read the target channel power factor and / or target channel power from the target account when the current input identifier matches the target device identifier, to prevent incorrect target channel power factor and / or target channel power from being obtained after incorrect input identifier, which could lead to subsequent errors in the judgment of target standard device abnormalities, RF environment judgment, device calibration, etc., thereby improving the accuracy and effectiveness of data acquisition.
[0115] Example 4
[0116] Figure 4 This is a schematic diagram of a device calibration apparatus according to Embodiment 4 of the present invention. This apparatus can be implemented in hardware and / or software, configured on a host computer, and can execute a device calibration method provided in any embodiment of the present invention, possessing the corresponding functional modules and beneficial effects of the method execution. Figure 4 As shown, the device includes:
[0117] The standard device judgment module 410 is used to obtain the current channel power factor of the target standard device and the pre-stored target channel power factor, and to judge whether the target standard device is abnormal based on the target channel power factor and the current channel power factor.
[0118] The environment compliance determination module 420 is used to obtain the current channel power of the target standard device and the pre-stored target channel power if the standard device determination module determines that it is not, and determine whether the current radio frequency environment meets the preset environment requirements based on the current channel power and the target channel power.
[0119] The device calibration module 430 is used to generate an RF loss file based on the current channel power and the target channel power if the environment conformity determination module determines that it conforms, and to calibrate the first device under test based on the RF loss file.
[0120] Based on the above technical solutions, optionally, the device calibration module includes:
[0121] A device compensation unit is used to compensate the first device under test according to the radio frequency loss file to obtain a second device under test.
[0122] The device parameter acquisition unit is used to control the second device under test to send the current device signal of the second device under test to at least one parameter receiving device connected to the host computer according to preset transmission parameters, and to acquire the current device parameters determined according to the current device signal from the parameter receiving device;
[0123] The parameter judgment unit is used to determine whether the current device parameters meet the current preset parameter requirements; if not, the preset transmission parameters are adjusted to obtain the target transmission parameters.
[0124] Based on the above technical solutions, optionally, the device further includes:
[0125] The device verification unit is used after the parameter judgment unit performs the judgment on whether the current device parameters meet the current preset parameter requirements. If they meet the requirements, the target transmission parameters are stored, and the second device under test is verified according to the target transmission parameters.
[0126] Based on the above technical solutions, optionally, the current device parameters include the device channel power factor;
[0127] Accordingly, the parameter determination unit includes:
[0128] The factor range acquisition subunit is used to acquire the pre-stored channel power factor range of the first device under test;
[0129] The factor determination unit is used to determine whether the channel power factor of the device conforms to the channel power factor range; if not, it is determined that the current device parameters do not conform to the current preset parameter requirements.
[0130] Based on the above technical solutions, optionally, the device further includes:
[0131] The device type determination unit is used to determine whether the first device under test has the function of converting a modulated wave into a single carrier, and to determine the device type of the parameter receiving device based on the determination result.
[0132] The calibration method determination unit is used to determine the device calibration method of the parameter receiving device according to the device type.
[0133] Based on the above technical solutions, optionally, the device further includes:
[0134] The factor power transfer module is used before the standard device judgment module to establish the association between the target device identifier of the target standard device and the target account in the cloud, and to upload the target channel power factor and the target channel power to the target account; wherein, the cloud and the host computer are connected.
[0135] Accordingly, the acquisition of the target channel power factor and / or the target channel power in the standard device judgment module and the environment conformity determination module includes:
[0136] The identifier acquisition unit is used to acquire the current input identifier in response to the identifier input operation;
[0137] The judgment result acquisition unit is used to transmit the current input identifier to the cloud and acquire the identifier judgment result from the cloud.
[0138] The factor power reading unit is used to read the target channel power factor and / or the target channel power from the target account if the identification judgment result is consistent.
[0139] Based on the above technical solutions, optionally, the device further includes:
[0140] The file storage module is used to store the RF loss file in the target account after the device calibration module generates the RF loss file based on the current channel power and the target channel power;
[0141] The file acquisition module is used to acquire the RF loss file from the target account in response to a device calibration request.
[0142] Example 5
[0143] Figure 5 A schematic diagram of a host computer 10, which can be used to implement embodiments of the present invention, is shown. The host computer is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The host computer can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0144] like Figure 5As shown, the host computer 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 and a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded into the RAM 13 from storage unit 18. The RAM 13 can also store various programs and data required for the operation of the host computer 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0145] Multiple components in the host computer 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard and mouse; an output unit 17, such as various types of displays and speakers; a storage unit 18, such as a disk and optical disk; and a communication unit 19, such as a network card, modem, or wireless transceiver. The communication unit 19 allows the host computer 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0146] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as device calibration methods.
[0147] In some embodiments, the device calibration method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on a host computer 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the device calibration method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the device calibration method by any other suitable means (e.g., by means of firmware).
[0148] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0149] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0150] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0151] To provide interaction with the user, the systems and techniques described herein can be implemented on a host computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the host computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0152] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0153] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0154] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0155] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A device calibration method, characterized in that, Applications in host computers include: The current channel power factor of the target standard device and the pre-stored target channel power factor are obtained, and the target standard device is determined to be abnormal based on the target channel power factor and the current channel power factor. If not, then obtain the current channel power of the target standard device and the pre-stored target channel power, and determine whether the current radio frequency environment meets the preset environment requirements based on the current channel power and the target channel power; If the conditions are met, an RF loss file is generated based on the current channel power and the target channel power, and the first device under test is calibrated based on the RF loss file. The step of determining whether the target standard device is abnormal based on the target channel power factor and the current channel power factor includes: Determine whether the difference between the current channel power factor and the target channel power factor of each target channel is within the preset factor error range corresponding to each target channel; The calibration of the first device under test according to the RF loss file includes: The second device under test is obtained by compensating the first device under test according to the RF loss file. The system controls the second device under test to send its current device signal to at least one parameter receiving device connected to the host computer according to preset transmission parameters, and obtains the current device parameters determined based on the current device signal from the parameter receiving device. Determine whether the current device parameters meet the current preset parameter requirements; if not, adjust the preset transmission parameters to obtain the target transmission parameters.
2. The method according to claim 1, characterized in that, After determining whether the current device parameters meet the current preset parameter requirements, the process further includes: If the conditions are met, the target transmission parameters are stored, and the second device under test is verified based on the target transmission parameters.
3. The method according to claim 1 or 2, characterized in that, The current device parameters include the device channel power factor; Accordingly, determining whether the current device parameters meet the current preset parameter requirements includes: Obtain the pre-stored channel power factor range of the first device under test; Determine whether the channel power factor of the device conforms to the channel power factor range; if not, determine that the current device parameters do not meet the current preset parameter requirements.
4. The method according to claim 1 or 2, characterized in that, Also includes: Determine whether the first device under test has the function of converting a modulated wave into a single carrier, and determine the device type of the parameter receiving device based on the determination result; The device calibration method for the parameter receiving device is determined based on the device type.
5. The method according to claim 1, characterized in that, Before obtaining the current channel power factor and the pre-stored target channel power factor of the target standard device, the following steps are also included: Establish the association between the target device identifier of the target standard device and the target account in the cloud, and upload the target channel power factor and the target channel power to the target account; wherein, the cloud and the host computer are connected. Accordingly, obtaining the target channel power factor and / or the target channel power includes: In response to an input operation, obtain the current input identifier; The current input identifier is transmitted to the cloud, and the identifier judgment result of the cloud is obtained; If the identification result is consistent, then the target channel power factor and / or the target channel power are read from the target account.
6. The method according to claim 5, characterized in that, After generating the RF loss file based on the current channel power and the target channel power, the method further includes: Store the radio frequency loss file in the target account; In response to a device calibration request, the RF loss file is retrieved from the target account.
7. A device calibration apparatus, characterized in that, Configured on the host computer, including: The standard device judgment module is used to obtain the current channel power factor and the pre-stored target channel power factor of the target standard device, and to determine whether the target standard device is abnormal based on the target channel power factor and the current channel power factor. An environment compliance determination module is used to obtain the current channel power of the target standard device and the pre-stored target channel power if the standard device determination module determines that it does not meet the preset environment requirements, and to determine whether the current radio frequency environment meets the preset environment requirements based on the current channel power and the target channel power. The device calibration module is used to generate an RF loss file based on the current channel power and the target channel power if the environment conformity determination module determines that it conforms, and to calibrate the first device under test based on the RF loss file. The step of determining whether the target standard device is abnormal based on the target channel power factor and the current channel power factor includes: Determine whether the difference between the current channel power factor and the target channel power factor of each target channel is within the preset factor error range corresponding to each target channel; The device calibration module includes: A device compensation unit is used to compensate the first device under test according to the radio frequency loss file to obtain a second device under test. The device parameter acquisition unit is used to control the second device under test to send the current device signal of the second device under test to at least one parameter receiving device connected to the host computer according to preset transmission parameters, and to acquire the current device parameters determined according to the current device signal from the parameter receiving device; The parameter judgment unit is used to determine whether the current device parameters meet the current preset parameter requirements; if not, the preset transmission parameters are adjusted to obtain the target transmission parameters.
8. A host computer, characterized in that, The host computer includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the device calibration method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the device calibration method according to any one of claims 1-6.
Citation Information
Patent Citations
Radio frequency power correction method and device, test equipment and storage medium
CN111769889A
Radio frequency test method and device, computer equipment and storage medium
CN113726454A