Antenna calibration method, electronic device and storage medium
By considering the distance and frequency loss between the probe array and the antenna in the millimeter wave antenna machine calibration, more accurate reference data is calculated, and the antenna calibration problems under the influence of losses and apertures in the prior art are solved, and the calibration accuracy and Communication performance.
Patent Information
- Application Number
- CN202410853646.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-06-28
AI Technical Summary
In the calibration of millimeter wave antennas, transmission loss and probe aperture are not accurately considered in the calibration of millimeter wave antennas, resulting in inaccurate reference values, affecting the accuracy and communication performance of antenna calibration.
The measurement data of the millimeter wave antenna is obtained through the first probe array, the loss data is determined based on the distance and frequency loss between the probe array and the antenna, and more accurate reference data is calculated in combination with performance parameters for calibration.
It improves the accuracy and efficiency of antenna calibration, so that millimeter wave antennas can be calibrated more in line with actual needs, and improves the communication performance of electronic devices.
Smart Images

Figure CN118573303B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to an antenna calibration method, an electronic device and a storage medium. Background Art
[0002] With the rapid development of wireless communication technology, electronic devices have higher and higher requirements for antenna performance, and millimeter wave antennas have gradually become the development direction of wireless communication. For electronic devices using millimeter wave antennas, antenna calibration is a key step to ensure the communication performance of the device, which is usually performed during the production process of the electronic equipment. Due to the small size of millimeter wave antennas, it is difficult to install sockets, resulting in the socket calibration method not being suitable for calibrating millimeter wave antennas. Therefore, the whole machine calibration method is usually used to calibrate the millimeter wave antenna.
[0003] During the whole machine calibration process, it is necessary to receive antenna signals through the probe array and determine the measured value of the antenna characteristics based on the received signal. Then, the measured value is compared with the corrected reference value, and the millimeter wave antenna is corrected based on the comparison result. Among them, the corrected reference value needs to be calculated based on data such as the design target parameters of the millimeter wave antenna. If the reference value obtained is not accurate, the comparison result will be inaccurate, thereby causing errors in antenna calibration. Summary of the invention
[0004] The purpose of the present application is to provide an antenna calibration method, an electronic device and a storage medium.
[0005] In a first aspect, the present application provides an antenna calibration method, which is applied to a calibration device, including: obtaining first measurement data of a millimeter wave antenna of a first device to be calibrated through a first probe array; determining loss data based on a first distance between the first probe array and the millimeter wave antenna; determining first reference data based on the loss data, first performance parameters of the millimeter wave antenna and the first probe array, and the first distance; determining a comparison result between the first measurement data and the first reference data, wherein the comparison result is used to calibrate the millimeter wave antenna.
[0006] That is, in the embodiment of the present application, the first probe array is a probe array in a calibration device, and the loss data can be the air loss from the millimeter wave antenna to the first probe array. The first measurement data and the first reference data can be the measured value and the simulated value of the same radiation parameter under the same test conditions, respectively. Through the method of the embodiment of the present application, the loss data can be considered when determining the first reference data, so that the determined first reference data is more accurate, and the subsequent comparison and calibration are more practical, so that the millimeter wave antenna can be efficiently calibrated to the desired calibration target.
[0007] In a possible implementation of the first aspect above, obtaining first measurement data of the millimeter wave antenna of the first device to be calibrated through the first probe array includes: determining a first index, wherein the first index corresponds to a first probe in a first polarization direction, wherein the first probe is a probe in the first probe array; obtaining first measurement data of the millimeter wave antenna of the first device to be calibrated through the first probe in the first polarization direction.
[0008] That is, in the embodiment of the present application, by configuring the corresponding index, polarization direction, and probe in the software, the automatic call of a specific probe of a specific polarization direction can be realized. In other words, when you want to call a specific probe of a specific polarization direction, you only need to call the index to realize one-key activation of the probe and polarization direction in the probe array, thereby improving the test efficiency.
[0009] In a possible implementation of the first aspect above, the first measurement data includes a measurement value of radiation power density, and the first reference data includes a reference value of radiation power density.
[0010] That is, in the embodiment of the present application, the measured value of the radiation power density can be compared with the reference value, so that antenna correction for the radiation power density of the millimeter wave antenna can be achieved.
[0011] In a possible implementation of the first aspect above, the loss data includes distance loss and frequency loss, and the loss data is determined based on the first distance between the first probe array and the millimeter wave antenna, including: determining the distance loss based on the first distance between the first probe array and the millimeter wave antenna; determining the frequency loss based on the operating frequency of the millimeter wave antenna; determining the loss data based on the distance loss and the frequency loss.
[0012] That is, in the embodiment of the present application, not only distance loss but also frequency loss can be considered, so that the determined loss data covers the loss types more comprehensively and thus the values are more accurate.
[0013] In a possible implementation of the first aspect above, the first performance parameter includes: peak output power of the millimeter wave antenna at a probe in the first probe array, and gain of the probe in the first probe array.
[0014] That is, in the embodiment of the present application, the gain of the probe in the first probe array can be determined according to the probe configuration, and the peak output power of the millimeter wave antenna at the probe in the first probe array can be calculated according to simulation or electromagnetic theory. Therefore, the accuracy of the first performance parameter is high, so that the first reference data calculated according to the first performance parameter is more accurate.
[0015] In a possible implementation of the first aspect above, the first performance parameter includes: a peak output power of the millimeter wave antenna, a gain of the millimeter wave antenna, and a gain of a probe in the first probe array.
[0016] That is, in the embodiment of the present application, the peak output power of the millimeter wave antenna can be determined according to the output power of the excitation signal, the gain of the millimeter wave antenna can be determined according to the design parameters or design goals of the antenna, and the gain of the probe in the first probe array can be determined according to the probe configuration. Therefore, the accuracy of the first performance parameter is high, so that the first reference data calculated according to the first performance parameter is more accurate.
[0017] In a possible implementation of the first aspect above, first measurement data of the millimeter wave antenna of the first device to be calibrated is obtained through the first probe array, including: under a first test configuration, first measurement data of the millimeter wave antenna of the first device to be calibrated is obtained through the first probe array, and the first test configuration represents the excitation condition when the millimeter wave antenna radiates.
[0018] That is, in the embodiment of the present application, the first measurement data is obtained under the first test configuration, wherein the first test configuration represents the excitation condition of the excitation signal. In this way, the measurement environment when the first measurement data is obtained can be limited, thereby accurately evaluating the performance of the millimeter wave antenna under specific working conditions.
[0019] In a possible implementation of the first aspect above, the method also includes: constructing a first model of the first device; determining first reference data based on loss data, first performance parameters of the millimeter wave antenna and the first probe array, and a first distance, including: determining the first reference data based on loss data, first performance parameters of the millimeter wave antenna and the first probe array, and a first distance by simulating the first model under a first test configuration.
[0020] That is, in the embodiment of the present application, a first model of the first device to be tested can be constructed as a simulation model. Then, the first model is simulated to obtain first reference data. For example, a formula for determining the first reference data based on loss data, first performance parameters of the millimeter wave antenna and the first probe array, and the first distance is embedded in the simulation algorithm, and the simulation algorithm is used to perform simulation on the first model to obtain the first reference data. In this way, accurate first reference data can be obtained by modeling and simulating the first device.
[0021] In a possible implementation of the first aspect above, the method further includes: simulating the first model based on multiple test configurations to obtain multiple radiation values at the first probe array, wherein the test configurations and the radiation values correspond one-to-one, and the first test configuration corresponds to the maximum radiation value among the multiple radiation values.
[0022] That is, in the embodiment of the present application, the test configuration corresponding to the maximum radiation value can be used to minimize interference, thereby better calibrating the millimeter wave antenna; and, by testing the highest radiation situation, it can be ensured that the radiation level of the millimeter wave antenna is within the specified range, ensuring compliance with relevant regulations and standards for radio communications.
[0023] In a possible implementation of the first aspect above, the method further includes: corresponding to the comparison result not satisfying a preset condition, outputting a codebook file to the first device, wherein the codebook file includes compensation data, and the codebook file is used to apply the compensation data to the first device.
[0024] That is, in the embodiment of the present application, compensation data can be applied to the first device through the codebook file, so that the first device can directly perform antenna compensation by running the codebook file, so that the millimeter wave antenna can be compensated in real time, so as to facilitate the normal operation of subsequent electronic devices, or to facilitate further antenna calibration of the millimeter wave antenna of the electronic device. The compensation data can be determined based on at least one parameter of the first measurement data, the first reference data, and the comparison result of the first measurement data and the first reference data.
[0025] In a second aspect, an embodiment of the present application provides an electronic device, comprising: a memory for storing instructions executed by one or more processors of the electronic device; and a processor, which enables the electronic device to execute the above-mentioned antenna calibration method when the processor executes the instructions in the memory.
[0026] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which instructions are stored, and when the instructions are executed on a computer, the computer executes the above-mentioned antenna calibration method.
[0027] In a fourth aspect, an embodiment of the present application provides a computer program product, including: a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium containing a computer program code for executing the above-mentioned antenna calibration method. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 According to the present application, a schematic diagram of a test device for whole machine calibration is shown;
[0029] Figure 2a According to an embodiment of the present application, a structural schematic diagram of an antenna calibration system 200 is shown;
[0030] Figure 2b According to an embodiment of the present application, a schematic diagram of a data processing module 205 of an antenna calibration system 200 is shown;
[0031] Figure 3aAccording to an embodiment of the present application, a front view of a probe array 203 of an antenna calibration system 200 is shown;
[0032] Figure 3b According to an embodiment of the present application, a top view of a probe array 203 of an antenna calibration system 200 is shown;
[0033] Figure 4 According to an embodiment of the present application, a schematic diagram of a configuration interface of a radio frequency cable index is shown;
[0034] Figure 5 According to an embodiment of the present application, a schematic diagram of a flow chart of an antenna calibration method is shown;
[0035] Figure 6 According to an embodiment of the present application, a flow chart of another antenna calibration method is shown;
[0036] Figure 7 According to an embodiment of the present application, a schematic diagram of a hardware framework of an electronic device 100 is shown. DETAILED DESCRIPTION
[0037] The illustrative embodiments of the present application include, but are not limited to, a millimeter wave antenna calibration method, an electronic device, and a storage medium.
[0038] Before leaving the factory, electronic devices need to be calibrated to ensure the antenna performance of the electronic devices. For example, mobile phone products need to be calibrated and tested for RF parameters before leaving the factory. The calibration results of the calibration test will directly affect whether the RF indicators meet the regulatory indicators, whether they meet the requirements of the protocol and operators, and whether the user communication scenario is good (call disconnection, inability to synchronize the network, etc.).
[0039] As mentioned above, due to the small size of the millimeter wave antenna, it is difficult to set up an antenna socket that matches its size, making the socket calibration method inapplicable. Therefore, the whole machine calibration method is usually used to calibrate the millimeter wave antenna in the electronic device.
[0040] Taking a mobile phone as an example, through the whole-machine calibration method, the mobile phone can be placed in a measuring device, probes are set at various locations of the measuring device, and the measurement values of the mobile phone's millimeter wave antenna characteristics are obtained through the probes. Then, the measured value is compared with the reference value, and the antenna is calibrated according to the comparison result.
[0041] According to some embodiments, a test device for whole machine calibration is as follows Figure 1 As shown, it includes a shielding cavity 01, a test bench 02, a probe array 03, and a data acquisition module 04.
[0042] The shielding cavity 01 is used to shield external electromagnetic interference.
[0043] The test bench 02 can place the electronic device 100 and can drive the electronic device 100 to rotate so as to measure the radiation intensity of the electronic device 100 in different directions.
[0044] The probe array 03 can be set at various places in the shielding cavity 01 (the probe array 03 can include one or more probes, and for the convenience of illustration, only some probes are shown in the figure), and is used to receive the signal radiated by the antenna of the electronic device 100 on the test bench 02. It can be understood that the distance between the probe array 03 and the electronic device 100 needs to be greater than the preset distance so that the distance meets the far-field distance condition. Among them, the far-field distance means that when the distance between the antenna and the probe is far enough, the electromagnetic wave received by the probe can be regarded as a plane wave, that is, as an idealized waveform, which is easier to measure and analyze.
[0045] The data acquisition module 04 can be connected to the probe array 03 to receive, record and analyze the signals collected by the probe array 03 to obtain the measurement values of the characteristics of the mobile phone antenna. For example, the data acquisition module 04 can convert the analog signal of the electromagnetic wave received by the probe array 03 into a digital signal, and then analyze and process the digital signal through a computing device connected inside or outside the data acquisition module 04 to obtain the measurement value. For example, the measurement value may include amplitude, radiation power density, etc.
[0046] According to some embodiments, based on Figure 1 The test setup shown can be used to perform a complete machine calibration, including the following steps:
[0047] S1: Determine the measured value.
[0048] As mentioned above, the data acquisition module 04 processes the signals received by the probe array 03 to obtain the measured values.
[0049] By way of example, the measured values may include measured values of the radiation power density at the probe array 03 .
[0050] S2: Determine the reference value.
[0051] In some embodiments, the reference value may be calculated based on the design target parameters of the millimeter wave antenna through electromagnetic theory formulas. For example, the design target parameters may include the target gain of the antenna.
[0052] Exemplarily, the reference value is a reference value of the radiation power density at the probe array 03. In this embodiment, the electromagnetic theory formula for calculating the reference value is as follows:
[0053]
[0054] Where, E is the electric field strength at the probe array 03; η is the impedance of free space, which is approximately 377Ω.
[0055] According to some embodiments, a simulation model consistent with the test environment in step S1 can be established in the simulation software, and the above electromagnetic theory formula is used as the simulation algorithm to obtain the reference value by simulation. For example, the electric field strength at the probe array 03 is obtained by simulation, and then the reference value of PD is obtained.
[0056] S3: Compare the measured value with the reference value to obtain a comparison result.
[0057] Exemplarily, the measured value of the radiation power density at the probe array 03 may be compared with a reference value of the radiation power density at the probe array 03 to obtain a difference between the two.
[0058] It is understood that the comparison result can be used to indicate the calibration of the millimeter wave antenna. According to some embodiments, if the difference is greater than a preset difference, it is determined that the millimeter wave antenna needs to be calibrated.
[0059] However, in step S2 of the above embodiment, the method of determining the reference value according to the electromagnetic theory formula is too idealistic and does not take into account the realistic factors in the calibration of the entire machine. For example, it does not take into account the transmission loss in the process of electromagnetic waves being transmitted from the probe array 03 to the millimeter wave antenna of the electronic device 100, resulting in inaccurate calculated electric field strength, and thus inaccurate reference value.
[0060] Due to the inaccurate reference value, the comparison result between the test value and the reference value in step S3 of the above embodiment is also inaccurate, which may cause an incorrect evaluation of the antenna performance, resulting in insufficient or excessive optimization of the antenna radiation pattern, thereby failing to achieve the expected communication performance.
[0061] In order to solve the above problems, an embodiment of the present application provides an antenna calibration method for calibrating the millimeter wave antenna of an electronic device. Among them, the first measurement data of the millimeter wave antenna (such as the measurement value of the radiation power density) can be obtained through the first probe array; based on the first distance between the millimeter wave antenna and the first probe array used to measure the millimeter wave antenna, the loss data is determined; then, based on the loss data, the first performance parameters of the millimeter wave antenna and the first probe array, and the above-mentioned first distance, the first reference data (such as the reference value of the radiation power density) is determined. It can be understood that the first reference data can be used to compare with the first measurement data to obtain a comparison result, and the comparison result can be used to indicate antenna calibration. In this way, by considering the transmission loss, the first reference data can be determined more accurately, providing an accurate reference basis for antenna calibration, thereby improving the accuracy of antenna calibration.
[0062] According to some embodiments, during the process of determining the first reference data and measuring the first measurement data, the millimeter wave antenna may be in the same test environment, and the test configuration under the test environment is the first test configuration. Specifically, when measuring and obtaining the first measurement data, a first test configuration (such as a specific excitation condition) may be used so that the millimeter wave antenna of the electronic device has a first test parameter corresponding to the first test configuration. For example, the first test parameter may include the operating frequency and peak output power of the antenna. According to some embodiments, the radiation value of the millimeter wave antenna under the first test configuration is the maximum value among the radiation values under all test configurations.
[0063] According to some embodiments, the loss data includes not only the distance loss calculated according to the first distance, but also the frequency loss.
[0064] For example, the loss data can be calculated by the following steps: first, based on the first distance between the millimeter wave antenna and the first probe array, the distance loss is calculated; then, based on the operating frequency of the millimeter wave antenna, the frequency loss is calculated; finally, the loss data is determined based on the distance loss and the frequency loss.
[0065] According to some embodiments, when determining the first reference data, the calculation error caused by the effective aperture of the probe of the first probe array can also be considered. Specifically, the effective aperture of the probe in the first probe array can be determined, and then the first reference data is determined based on the loss data, the first performance parameter of the millimeter wave antenna and the first probe array, the first distance, and the above-mentioned effective aperture. In this way, in the process of determining the first reference data, the influence of the probe size on the power density can also be considered, so that the calculated far-field radiation power density is closer to the actual value.
[0066] For example, the effective aperture of the probe can be calculated by the following steps: first, the signal wavelength is calculated according to the signal frequency and the speed of light; then, the effective aperture is calculated according to the signal wavelength.
[0067] According to some embodiments, the first probe array may include probes in multiple polarization directions. For example, the multiple polarization directions may include eight polarization directions, and the first probe array may include a total of eight probes, wherein each probe corresponds to each polarization direction one by one. In addition, each probe is configured to correspond to a number, and each number is pre-configured with configuration parameters of the probe corresponding to the number, such as the state of the RF switch, compensation line loss, etc. When one or more probes need to be called to measure radiation data, it is only necessary to determine the numbers corresponding to one or more probes, and the pre-configured configuration parameters can be automatically loaded, and then the first radiation data can be automatically measured based on the configuration parameters. By pre-configuring the probe array, manual parameter setting during the test can be avoided, thereby improving test efficiency.
[0068] The following is based on Figure 2a and Figure 2b An antenna calibration system 200 provided in an embodiment of the present application is introduced.
[0069] like Figure 2a As shown, the antenna calibration system 200 includes a shielding cavity 201, a test bench 202, a probe array 203, a probe switch controller 204, and a data processing module 205. Figure 2b As shown, the data processing module 205 includes a network analyzer 2051 , a coupler 2052 , a spectrum analyzer 2053 , a simulation database interface 2054 , and a calibration compensation unit 2055 .
[0070] It can be understood that in the embodiment of the present application, the test process of the millimeter wave antenna can be implemented in the shielding cavity 201. The shielding environment provided by the shielding cavity 201 can avoid errors caused by external electromagnetic radiation, and at the same time improve the stability of the probes in the probe array 203 receiving and transmitting data. Figure 2a As shown, according to an example, the shielding cavity 201 is 550 mm long, 500 mm wide, and 440 mm high. The above is only an example of size, and the present application does not limit the shape and size of the shielding cavity 201.
[0071] The electronic device 100, as a device under test (DUT), can be placed on a test bench 202. According to some embodiments, the test bench 202 can rotate, driving the DUT to rotate, so that the beam normal direction can be quickly aligned by changing the initial position of the test bench 202. It can be understood that aligning the beam normal direction means aligning the radiation axis or the receiving axis of the DUT antenna with the beam normal of the probe array 03, so that the probes in the probe array 203 can capture the electromagnetic field of the DUT at the correct angle, which helps to improve the accuracy of the measurement. In the embodiment of the present application, the DUT can send signals in different beam directions and at different frequencies.
[0072] The probe array 203 is composed of a plurality of omnidirectional antenna probes, which can detect electromagnetic waves from all directions and are used to measure the radiation characteristics of the DUT in multiple directions.
[0073] According to some embodiments, the distance from each probe in the probe array 203 to the millimeter wave antenna of the DUT may be the same. For example, the distances are all 100 mm. It should be noted that the above is only an example of the distance from a probe to a millimeter wave antenna, and the present application does not limit the distance from the probe to the millimeter wave antenna. According to other embodiments, the distance from each probe in the probe array 203 to the millimeter wave antenna of the DUT may also be different. In some examples, the physical distance between the probe and the millimeter wave antenna in the probe array 203 can be measured by measuring tools such as a tape measure, a laser rangefinder, and a microwave measuring device, and the position of the probe array 203 can be adjusted according to the measurement results.
[0074] For example, the probe array 203 may include probes ANT1 - ANT5 . Figure 3a FIG. 2 shows a front view of the probes ANT1 to ANT5 in the shielding cavity 201. Figure 3b FIG. 2 shows a top view of the probes ANT1 to ANT5 in the shielding cavity 201. Figure 3a The front view of FIG. 201 shows a view of the probe array 203 viewed from the drawer entrance and exit surface of the shielding cavity 201. According to some embodiments, the probes ANT1 to ANT5 can be mounted on a bracket in the shielding cavity 201 so that the probes ANT1 to ANT5 are positioned at Figure 3a , Figure 3b In the spatial position shown.
[0075] The probe switch controller 204 may include a plurality of probe switches, and the probe switches may be connected to each probe array 203 . The probe switch controller 204 is used to control the state of each probe switch, thereby controlling whether each probe in the probe array 203 is enabled.
[0076] In the present application embodiment, Figure 4 As shown, the probe switch controller 204 can work in conjunction with the software, and the indexes of each frequency band or each beam direction are preset in the software, and at least one probe array 203 is configured for each index. Then, during the test process, according to the frequency band to be tested, the software can call the index of the frequency band to control the probe switch controller 04 to turn on the probe array 203 corresponding to the index.
[0077] Furthermore, the software may also pre-configure probe parameters such as phase, line loss, probe number, position information, etc. of each probe array 203. After calling the index, the subsequent data analysis process may reference the probe parameters of the probe array 203 corresponding to the index, and process the signals collected by the probe array 203 to obtain test value results.
[0078] By configuring the probe array 203 based on the index, the code of the configuration component can be updated and maintained at the terminal, that is, modified and maintained in the software connected to the probe switch controller 204, for example, by Figure 4 The software interface shown can modify the relevant configuration of the index. This method does not need to be merged or integrated with the main platform code library (such as the code in the data processing module 205), and the code in the software can be reused on different chips or hardware platforms. Therefore, this configuration method is decoupled from the chip type and has strong versatility and flexibility.
[0079] For example, Figure 4 As shown, the RF cable index is the above-mentioned index. There are 7 indexes in total, 0 to 6, respectively, where each RF cable index corresponds to a probe switch controlled by a probe switch controller 204 and a path loss table name. It can be understood that each probe switch can be connected to the probe array 203 to control the switch state of the probe in the probe array 203; the path loss table name corresponds to the path loss table, which includes the line loss of the probe array 203 connected to the probe switch.
[0080] It can be understood that the probe switch can control the activation of different probes and their polarization directions in the probe array 203. For example, each probe is dual-polarized, that is, supports two polarization directions. Among them, the first polarization direction of the two polarization directions can be the drawer in and out direction of the shielding cavity 201, that is, Figure 3a One of the two polarization directions may be perpendicular to the other polarization direction. For example, the second polarization direction may be Figure 3b The top view shown is the top view direction.
[0081] by Figure 3a , Figure 3b For example, the two polarization directions of probes ANT1 to ANT5 can be numbered 1 to 10, where 1 and 2 are the two polarization directions of probe ANT1, 3 and 4 are the two polarization directions of probe ANT2, and so on. Figure 4 When the RF cable index is 0, since the corresponding probe switch is 8, the probe ANT4 and the second polarization direction of the probe ANT4 are activated.
[0082] The data processing module 205 is used to analyze the signal received or reflected by the probe array 203 to obtain a measurement value, and compare it with the simulation value to obtain a comparison result.
[0083] The network analyzer 2051 can read the radiation data of the DUT collected by the probe array 203 , and monitor the reflection signal of the probe array 203 by matching the S21 port of the network analyzer 2051 with the reverse port of the coupler 2052 .
[0084] The spectrum analyzer 2053 can measure the characteristics of the signal, such as reading a copy of the reflected signal from the coupler 2052 for analysis, or directly analyzing the radiation signal received by the probe array 203. The analysis content may include radiation conditions, beam amplitude, etc., to obtain analysis result data. After the spectrum analyzer 2053 performs post-processing (such as filtering, signal smoothing, and calibration) on these analysis result data, it can be stored in the codebook file to form initial radiation data, which is arranged in sequence according to the frequency band, frequency point value, and radiation test value.
[0085] The simulation database interface 2054 can be connected to the simulation software to read the simulation data (ie, reference value) under the same index.
[0086] The calibration compensation unit 2055 can obtain a comparison result between the test value and the reference value corresponding to each index.
[0087] As an example, after the simulation database interface 2054 reads the simulation data, the calibration compensation unit 2055 may normalize the simulation data. For example, if the simulation data is the peak radiation power density, the peak radiation power density may be normalized to 0 dBm.
[0088] In some examples, the calibration compensation unit 2055 can determine whether the test value meets the expected design requirements based on the comparison result. If not, it determines the compensation data required for calibration, outputs a codebook file based on the compensation data, imports the codebook file into the RF non-volatile memory (NV) of the electronic device 100, and implements it in the calibration link of the electronic device 100 through the RF NV. For example, when the electronic device 100 is started or executes related functions, the RF NV is read or called.
[0089] In other examples, the calibration compensation unit 2055 can be connected to a computing device. The test value and reference value corresponding to each index are sent to the computing device, and compensation data determined by the computing device according to the comparison results of the test value and the reference value are received. Then, the calibration compensation unit 2055 can output a codebook correction file according to the compensation data, and import the codebook correction file into the RF NV of the electronic device 100.
[0090] like Figure 2aAs shown, the antenna calibration system 200 has the characteristics of low cost and miniaturization. According to some embodiments, the above-mentioned antenna calibration system 200 can be used to calibrate the amplitude and phase of the millimeter wave antenna signal. For example, automatic gain control (AGC) calibration and automatic power control (APC) calibration are performed on the millimeter wave antenna. Among them, the AGC calibration is to ensure that the signal strength input to the baseband converter (BBC) of the mobile phone is within the operable range of the BBC. If the signal strength is too weak, the communication quality may be reduced. If the signal strength is too strong, it may cause signal overload and distortion. The purpose of AGC calibration is to adjust the power amplifier and bias to ensure that the transmission power of the mobile phone can meet specific specifications in different frequency bands and different power levels.
[0091] Accordingly, an embodiment of the present application provides an antenna calibration method. According to some embodiments, the antenna calibration method can be applied in an antenna calibration system 200. It can be understood that the calibration object in the embodiment of the present application is a millimeter wave antenna in an electronic device 100 to be tested. It can be understood that the electronic device 100 may include a smart phone, a desktop computer, a tablet computer, a laptop computer, a smart speaker, a digital assistant, an augmented reality (AR) / virtual reality (VR) device, a smart wearable device, and other types of electronic devices 100. Optionally, the operating system running on the electronic device 100 may include but is not limited to Android system, IOS system, Linux, Windows, etc.
[0092] Figure 5 An exemplary process of a millimeter wave antenna calibration method is shown, wherein the reference value is obtained by simulation. For the sake of clarity, the reference value is referred to as the simulation value hereinafter. Figure 5 ,The method can be applied to calibrate devices, e.g. Figure 2a The antenna calibration system 200 is shown. The exemplary process includes:
[0093] S101: Create computer aided design (CAD) files and DUT modeling.
[0094] It is understood that the simulation software can create a CAD file and create a three-dimensional model of the DUT in the CAD file. As an example, in the process of creating the three-dimensional model of the DUT, the size, shape, and material properties of the DUT can be defined so that the created model can be consistent with the actual characteristics of the electronic device 100.
[0095] According to some embodiments, antenna parameters of the millimeter wave antenna of the DUT may be set during the modeling process so that characteristic parameters of the millimeter wave antenna of the simulated DUT are consistent with the actual DUT to be tested.
[0096] According to some embodiments, step S101 to step S103 may be completed in simulation software, and the simulation software may be connected to the simulation data interface 2054 in the millimeter wave antenna calibration system 200 , and the simulation data interface 2054 reads the simulation value from the simulation software.
[0097] S102: Loading simulation input conditions.
[0098] After the modeling is completed, the simulation software can load the input conditions of the simulation. It can be understood that loading the input conditions is to set all the input parameters required for the simulation. For example, the input parameters may include the frequency, amplitude, polarization mode, etc. of the excitation signal of the DUT.
[0099] It can be understood that the input conditions of the simulation need to be consistent with the test conditions in the subsequent step S105. For example, the frequency, amplitude, and polarization mode of the excitation signal are consistent.
[0100] S103: Obtain simulation values through grid solving.
[0101] After the input conditions of the simulation are loaded, the simulation software can be used to perform mesh solving on the three-dimensional model of the DUT and output the simulation value. It can be understood that mesh solving can discretize the continuous physical space, such as the three-dimensional model of the DUT, into small units or grids, so that numerical methods can be applied on these grids to solve the distribution of the electromagnetic field.
[0102] According to some embodiments, the grid solution may be implemented based on a preset algorithm. The following takes the simulation value as radiation power density as an example to introduce the algorithm used for the grid solution.
[0103] In some examples, loss data, such as the air loss from the millimeter wave antenna to the probe, can be determined based on the distance between the millimeter wave antenna of the DUT and the probe array 203; then, a simulation value is determined based on the loss data, the first performance parameters of the millimeter wave antenna and the first probe array, and the above-mentioned distance.
[0104] According to some embodiments, the loss data includes distance loss. The method of calculating the distance loss may include: calculating the distance loss based on a first distance between the millimeter wave antenna and the first probe array. For example, a first formula for determining the loss data L is as follows:
[0105]
[0106] Where d is the distance from the transmitting center of the millimeter wave antenna to the probe.
[0107] According to some other embodiments, the loss data includes frequency loss. The method of calculating the frequency loss may include: calculating the frequency loss based on the operating frequency of the millimeter wave antenna. The second formula for determining the loss data L is as follows:
[0108]
[0109] Where f is the operating frequency of the millimeter wave antenna.
[0110] According to some other embodiments, the loss data includes distance loss and frequency loss. The third formula is as follows:
[0111]
[0112] Wherein, d is the distance from the transmitting center of the millimeter wave antenna to the probe, and f is the operating frequency of the millimeter wave antenna.
[0113] In some examples, the calculation is performed according to the third formula for determining the loss data L mentioned above, that is, the loss data L is determined in the following manner: the quotient obtained by dividing d by 1000 is subjected to a base-10 logarithm operation, and then multiplied by -20, and a constant term -32.44 is added to obtain the distance loss; f is subjected to a base-10 logarithm operation, and then multiplied by -20 to obtain the frequency loss; the distance loss and the frequency loss are added to obtain the loss data L.
[0114] According to some embodiments, a first formula for determining a simulated value of PD is as follows:
[0115]
[0116] Among them, PD is the simulation value when loss data is considered, P n is the peak output power of the millimeter wave antenna at the probe in the probe array 203, G n is the gain of the probe, d is the distance from the transmitting center of the millimeter wave antenna to the probe in the probe array 203. η is the impedance of free space, which is about 377Ω.
[0117] In some examples, the calculation is performed according to the first formula for determining the simulation value of PD, that is, the simulation value of PD is determined in the following manner: 30, P n , G n The product of the multiplication is divided by the product of η and the square of d to obtain the simulation value of PD.
[0118] It can be understood that the first formula for determining the simulation value of PD can be based on the aforementioned electromagnetic theory formula, combined with the formula E=(30×P n ×G n )0.5 / d is derived.
[0119] In order to calculate PD more accurately, loss data can be introduced when calculating the simulation value of PD. The loss data may include at least one of distance loss and frequency loss. For example, based on the above PD, the PD is multiplied by (distance loss + frequency loss) × coefficient to obtain the PD after the loss data is introduced. For another example, the loss data can be determined by a preset algorithm based on the distance loss and frequency loss, and the PD is multiplied by the loss data to obtain the PD after the loss data is introduced. By considering the loss, the simulation value at the probe can be calculated more accurately, thereby providing an accurate reference basis for the subsequent comparison process between the simulation value and the test value.
[0120] According to some embodiments, when determining the first reference data, the calculation error caused by the effective aperture of the probe of the first probe array can also be considered. Specifically, the effective aperture of the probe in the first probe array can be determined, and then the first reference data is determined based on the loss data, the first performance parameter of the millimeter wave antenna and the first probe array, the first distance, and the above-mentioned effective aperture. In this way, in the process of determining the first reference data, the influence of the probe size on the power density can also be considered, so that the calculated far-field radiation power density is closer to the actual value.
[0121] For example, the effective aperture of the probe can be calculated by the following steps: first, the signal wavelength is calculated according to the signal frequency and the speed of light; then, the effective aperture is calculated according to the signal wavelength.
[0122] In order to calculate the radiation value received per unit area of the probe, according to some embodiments, the effective receiving aperture r=λ received by the probe is also considered in the process of determining the simulation value. 2 / 4π, or, considering the effective receiving area of the probe to be λ 2 , where λ represents the wavelength of the signal transmitted by the millimeter wave antenna. In this case, considering λ=c / π, the peak output power P at the probe can be calculated by the following formula: n :
[0123]
[0124] Where c is the speed of light, f is the operating frequency of the millimeter wave antenna, and P T is the peak output power of the millimeter wave antenna, G T is the gain of the millimeter wave antenna, and d is the distance from the transmitting center of the millimeter wave antenna to the probe.
[0125] According to some embodiments, L is related to (c / 4pdf) 2 The relationship is as follows:
[0126]
[0127] The above calculation P n The formula of L and (c / 4pdf) 2 After substituting the relationship into the first formula for calculating the simulation value of PD, the first formula for calculating the simulation value of PD can be transformed, and the second formula for calculating the simulation value of PD obtained by the transformation can be expressed as:
[0128]
[0129] Among them, PD is the simulation value calculated by considering the loss data and the probe receiving aperture, G n is the gain of the probe, P T is the peak output power of the millimeter wave antenna, G T is the gain of the millimeter wave antenna, d is the distance from the transmitting center of the millimeter wave antenna to the probe, and L is the loss data. η is the impedance of free space, which is about 377Ω.
[0130] In some examples, the calculation is performed according to the second formula for determining the simulation value of PD, that is, the simulation value of PD is determined in the following manner: 30, G n , P T , G T , 10 (L / 10) The product of the multiplication is divided by the product of η and the square of d to obtain the simulation value of PD.
[0131] According to some embodiments, the formula introduced above may be pre-configured or embedded in a simulation algorithm of a simulation software.
[0132] Understandable, P. T , G n The values of and d need to be the same as the P when the measured value is obtained in step S105. T , G n is consistent with d, that is, the peak output power of the millimeter wave antenna is the same as the measurement condition in step S105, the distance from the millimeter wave antenna to the probe is the same as the measurement condition in the measurement process, and the gain of the probe is the same as the probe gain actually used in the measurement.
[0133] It can be understood that the G used in simulation and calculation of simulation values T is a theoretical value. However, during the measurement, the actual G of the DUT is T Different from the G used in calculation T When designing or calibrating a millimeter-wave antenna, the actual G of the millimeter-wave antenna can be adjusted by adjusting antenna parameters, such as changing antenna size and antenna material. T The design requirements are met. That is, the gain G of the millimeter wave antenna in the above formula is Tis the calibration target of the millimeter wave antenna. For example, in the design target parameters of the millimeter wave antenna, the optimal gain value of the millimeter wave antenna is a, then a is used as G T Due to the error between the actual test and the theoretical design value of the millimeter wave antenna, the gain of the millimeter wave antenna during the test may be b, where b may be greater than or less than a.
[0134] According to the second formula for determining the simulation value of PD, PD can be calculated by introducing loss data, effective aperture of the probe, gain specification and other parameters when calculating the simulation value of PD. By considering parameters such as loss, effective aperture of the probe and gain specification, the simulation value of the radiation data at the probe within the boundary conditions can be calculated more accurately, thereby providing an accurate reference basis for the subsequent comparison process of simulation values and test values and the compensation process of antenna parameters.
[0135] S104: Determine a first test configuration having a highest radiation value.
[0136] According to some embodiments, after the simulation values are obtained, the simulation values can be analyzed by simulation software to determine the configuration with the maximum radiation amplitude. For example, the radiation value represented by the amplitude and phase obtained by simulation is the highest, that is, it is determined to have the maximum radiation amplitude, indicating that the millimeter wave antenna is in the maximum exposure state at this time, and the configuration in this case is determined as the first test configuration. It can be understood that the test of the millimeter wave antenna can have multiple test configurations, and the simulation value under each test configuration can be obtained by simulation; wherein, the first test configuration can represent the test configuration when the simulation obtains the highest radiation value, such as the operating frequency or operating frequency band of the millimeter wave antenna when the simulation obtains the highest radiation value.
[0137] According to some embodiments, a first test configuration with a highest radiation value may be determined based on design specifications of the millimeter wave antenna.
[0138] S105: Using the probe array, test a test value corresponding to the first test configuration.
[0139] According to some embodiments, Figure 2a The millimeter wave antenna calibration system 200 shown uses an excitation signal having a first test configuration to drive the millimeter wave antenna of the DUT, and each probe of the probe array 203 of the millimeter wave antenna calibration system 200 reflects the electromagnetic radiation characteristics at each probe of the probe array 203, and records the measurement results of the probe array 203 as test values through the data processing module 205 of the millimeter wave antenna calibration system 200.
[0140] According to some embodiments, the probe array 203 is composed of a plurality of omnidirectional millimeter wave antenna probes, which can detect electromagnetic waves from all directions and are used to measure the radiation characteristics of the DUT in multiple directions.
[0141] According to some embodiments, according to the first test configuration to be adopted, the frequency band to be tested corresponding to the first test configuration can be determined. Then, during the test, according to the frequency band to be tested, the index of the frequency band can be called to control the probe switch controller 04 of the millimeter wave antenna calibration system 200 to turn on the probe array 203 corresponding to the index, so that the corresponding probe array 203 responds to the signal, and the signal is processed by the data processing module 205 to obtain a test value.
[0142] The spectrum analyzer 2053 in the data processing module 205 can analyze the signal, measure the power level of the signal, and obtain the power distribution of the signal with different frequency components. Furthermore, the spectrum analyzer can directly calculate the power density based on the measured signal and the known receiving area.
[0143] According to some examples, the spectrum analyzer 2053 may be directly connected to the probe array 203 to analyze the signals received by the probe array 203 to obtain the measurement value of the PD.
[0144] According to some other examples, the spectrum analyzer 2053 may also be connected to the network analyzer 2051 to simultaneously analyze the signal received by the probe array 203 and the network parameters obtained by the network analyzer 2051 based on the signal analysis to obtain the measurement value of the PD.
[0145] According to some other examples, the spectrum analyzer 2053 may also be connected to the coupler 2052. In some cases, the measurement of PD may require the signal power of a specific frequency. If the signal of the specific frequency cannot be obtained from the network analyzer 2051, a signal copy may be obtained from the coupler 2052 for measurement to obtain the measured value of PD.
[0146] S106: Normalize the test value and the simulation value based on the test scaling factor and the simulation scaling factor respectively.
[0147] It can be understood that after obtaining the test value and the simulation value, before comparing the two, they need to be converted to the same reference unit. For example, if the test value and the simulation value are peak radiation power density, they can be normalized to 0dBm to obtain a normalized test value and a normalized simulation value. After normalization to 0dBm, the units of the normalized test value and the normalized simulation value are also dBm, such as 3dBm and 30dBm.
[0148] It can be understood that the differences between the normalized test value and the normalized simulation value and 0 dBm respectively can represent the ratio of their original values to the same reference unit, for example, the ratio to 1 mW.
[0149] According to some embodiments, the simulation database interface 2054 in the antenna calibration system 200 may read simulation values from simulation software, and the calibration compensation unit 2055 may normalize the test values and the simulation values.
[0150] S107: Compare the normalized test value and the normalized simulation value.
[0151] After the normalization is completed, the normalized test value and the normalized simulation value can be compared to obtain a comparison result.
[0152] According to some embodiments, the calibration compensation unit 2055 in the antenna calibration system 200 may execute step S107 to obtain a comparison result.
[0153] For example, the absolute value of the difference between the normalized test value and the normalized simulation value is taken as the comparison result.
[0154] For example, the normalized test value is divided by the normalized simulation value as a percentage as the comparison result.
[0155] It should be noted that the present application embodiment does not limit the comparison method. In some other optional embodiments, the normalized test value and the normalized simulation value can also be compared in other ways.
[0156] S108: Determine whether the comparison result meets the preset condition. If yes, go to step S109; if not, go to step S110.
[0157] If the judgment result in step S108 is yes, it means that the test result under the first test configuration meets the requirements, and the process can go to step S109 to determine the second test configuration and continue testing based on the second test configuration.
[0158] If the judgment result in step S108 is no, it means that the test result under the excitation signal of the first test configuration does not meet the requirements and calibration is required. In this case, the process can go to step S110 to output the codebook file required for calibration to calibrate the millimeter wave antenna of the electronic device 100.
[0159] According to some embodiments, it may be determined whether the comparison result is less than a preset value.
[0160] For example, when the comparison result is the absolute value of the difference between the normalized test value and the normalized simulation value, it can be determined whether the comparison result is less than or equal to 0.5 dBm. That is, the determination formula can be "|normalized test value-normalized simulation value|≤0.5 dBm?".
[0161] For example, when the comparison result is the percentage of the normalized test value divided by the normalized simulation value, it can be determined whether the comparison result is less than 101% and greater than 99%. That is, the determination formula can be "99%<(normalized test value / normalized simulation value)<101%?".
[0162] According to some embodiments, the determination process of step S108 may be completed by the calibration compensation unit 2055 in the antenna calibration system 200 .
[0163] S109: Determine a second test configuration having a second largest radiation value, and test the millimeter wave antenna under the second test configuration.
[0164] In step S109, the simulation values may be analyzed to determine a simulation situation with a second largest radiation amplitude, and the corresponding configuration may be recorded as a second test configuration.
[0165] It is understandable that after determining the second test configuration, steps S105 to S108 may be repeated, but the repeated process is to evaluate the second test configuration. That is, the first test configuration is replaced with the second test configuration, the test value under the second test configuration and the simulation value under the second test configuration are normalized respectively, and the normalized values are compared to obtain a comparison result.
[0166] In repeating step S108, after determining whether the comparison ratio result meets the preset condition, if the comparison result meets the preset condition, continue to analyze the third test configuration with the third largest radiation value, and so on. According to some embodiments, the number of amplitude-phase combinations that need to be verified can be preset. For example, when the preset number is m, the calibration process ends until the mth amplitude-phase combination with the mth largest radiation value is verified. If the comparison result does not meet the preset condition, go to step S110 to output the codebook file required for calibration to calibrate the millimeter wave antenna of the electronic device 100.
[0167] S110: Output the codebook file.
[0168] According to some embodiments, the calibration compensation unit 2055 in the antenna calibration system 200 can generate a codebook file based on the test value and the simulation value, and the codebook file includes compensation data for adjusting the performance of the millimeter wave antenna of the DUT. For example, the compensation data may include a gain compensation value, a phase adjustment amount, a filter coefficient, etc., to correct line loss, phase deviation, and nonlinear distortion that may exist in the actual hardware of the electronic device 100.
[0169] According to some embodiments, the codebook file can be imported into the RF non-volatile memory (NV) of the electronic device 100 and implemented in the calibration phase of the electronic device 100 through the RF NV. For example, when the electronic device 100 is started or executes related functions, the RF NV is read and called, and the calibration parameters therein are applied to adjust the millimeter wave antenna performance of the electronic device 100 in real time.
[0170] Through the millimeter wave antenna calibration method of the embodiment of the present application, the influence of transmission loss and probe aperture on the calculation result can be considered when calculating the reference value (i.e., the simulation value), so that the calculation result of the reference value is more accurate, thereby ensuring that an accurate comparison result can be obtained after the measurement value and the reference value are compared, thereby better guiding the subsequent calibration process and ensuring that the millimeter wave antenna of the electronic device 100 can be properly calibrated. In addition, through the millimeter wave antenna calibration method of the present application, the excitation source configuration with the maximum radiation value is first checked, and then the configurations with the second largest and third largest radiation values are checked in turn, which can give priority to ensuring that the millimeter wave antenna system works normally under the designed performance limit, and can ensure that the test covers the working range of the millimeter wave antenna design, thereby improving the comprehensiveness of the test.
[0171] According to some embodiments, after the codebook file is output, the process may proceed to step S104 to perform the next round of testing based on the calibrated millimeter wave antenna of the DUT.
[0172] Figure 6 Another exemplary flow chart of the antenna calibration method provided by an embodiment of the present application is shown. Figure 6 As shown, including:
[0173] S201: Acquire first measurement data of a millimeter wave antenna of a first device to be calibrated through a first probe array.
[0174] According to some embodiments, the first probe array may be as follows Figure 2a As shown in the probe array 203, the first device to be calibrated may be placed as shown in FIG. Figure 2a The DUT on the test bench 202 shown. It can be understood that in step S201, all or part of the probes in the first probe array can be used to perform measurements to obtain the first measurement data of the millimeter wave antenna of the DUT. For example, a first index is determined, wherein the first index corresponds to a first probe in a first polarization direction, wherein the first probe is a probe in the first probe array; and the first measurement data of the millimeter wave antenna of the first device to be calibrated is obtained through the first probe in the first polarization direction. The measurement method can refer to the description of step S105 above, which will not be repeated here.
[0175] According to some embodiments, the first measurement data may be a measurement value of radiation data of the millimeter wave antenna. For example, the radiation data may be radiation power or radiation power density.
[0176] S202: Determine loss data based on a first probe array and a first distance between millimeter wave antennas.
[0177] According to some embodiments, after the measurement process in step S201 is completed, a simulation process may be performed to determine loss data based on the first probe array and the first distance between the millimeter wave antennas.
[0178] It can be understood that the loss data may include transmission loss. The transmission loss may include one or more of distance loss and frequency loss. In an embodiment where the transmission loss also includes frequency loss, the distance loss may be determined based on the first distance between the first probe array and the millimeter wave antenna; the frequency loss may be determined based on the operating frequency of the millimeter wave antenna; and the loss data may be determined based on the distance loss and the frequency loss.
[0179] The method of determining the loss data may be implemented through a simulation algorithm. For example, reference may be made to the above description of step S103 , which will not be repeated here.
[0180] S203: Determine first reference data based on the loss data, first performance parameters of the millimeter wave antenna and the first probe array, and the first distance.
[0181] According to some embodiments, after the loss data is determined, first reference data may be determined based on first performance parameters of the millimeter wave antenna and the first probe array and the first distance.
[0182] According to some embodiments, the first performance parameters of the millimeter wave antenna and the first probe array may include: peak output power of the millimeter wave antenna at the probes in the first probe array, and gains of the probes in the first probe array.
[0183] According to some embodiments, the first performance parameters of the millimeter wave antenna and the first probe array may include: the peak output power of the millimeter wave antenna, the gain of the millimeter wave antenna, and the gain of the probes in the first probe array.
[0184] According to some embodiments, the first reference data may be reference data of radiation data of the millimeter wave antenna. For example, the radiation data may be radiation power or radiation power density.
[0185] The process of determining the first reference data may be implemented by a simulation algorithm, as described above with reference to the relevant description of steps S101 to S103, which will not be repeated here.
[0186] S204: Determine a comparison result between the first measurement data and the first reference data, wherein the comparison result is used to calibrate the millimeter wave antenna.
[0187] After determining the first measurement data and the first reference data, the two can be compared to obtain a comparison result. The comparison result can be a ratio, a difference, etc. The process of determining the comparison result of the first measurement data and the first reference data and comparing the two can refer to the relevant description of the measurement value and the reference value in steps S106 to S108 above, which will not be repeated here.
[0188] In some embodiments, the calibration compensation unit 2055 in the antenna calibration system 200 may obtain compensation data required for calibration according to the comparison result, for example, refer to the description of step S110 above.
[0189] In other embodiments, the calibration compensation unit 2055 in the antenna calibration system 200 can be connected to other computing devices, and the comparison results are sent to other computing devices, and the other computing devices determine the compensation data according to the comparison results, and then receive the compensation data returned by the other computing devices, and output the codebook file to the electronic device 100 according to the compensation data, so as to apply the compensation data to the antenna system of the electronic device 100. Through the antenna calibration method of the embodiment of the present application, the loss can be considered when determining the reference value, so that the reference value is more accurate, and the subsequent comparison and calibration are more practical, so that the millimeter wave antenna can be efficiently calibrated to the required calibration target.
[0190] Figure 71 is a schematic diagram of the structure of an electronic device 700 provided in the present application, and the electronic device 700 may be the device to be tested in the aforementioned content, such as a mobile phone. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0191] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0192] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0193] A memory may also be provided in the processor 110 for storing instructions and data corresponding to an antenna calibration method provided in an embodiment of the present application. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. Repeated access is avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
[0194] In some embodiments, the processor 110 of the electronic device 100 is used to execute the antenna calibration method mentioned in the present application according to the obtained program instructions by calling the program instructions stored in the memory. For example: obtaining the first measurement data of the millimeter wave antenna of the first device to be calibrated through the first probe array; determining the loss data based on the first distance between the first probe array and the millimeter wave antenna, and determining the first reference data based on the loss data, the first performance parameters of the millimeter wave antenna and the first probe array, and the first distance; determining the comparison result of the first measurement data and the first reference data, wherein the comparison result is used to calibrate the millimeter wave antenna.
[0195] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0196] Among them, antenna 1 and antenna 2 can be millimeter wave antennas. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0197] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0198] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0199] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0200] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0201] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0202] The electronic device 100 can implement the acquisition function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0203] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key. It may also be a touch key, such as a capture key of a camera application. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0204] Accordingly, an embodiment of the present application provides an electronic device, comprising: a memory for storing instructions executed by one or more processors of the electronic device, and a processor for executing instructions of the above-mentioned antenna calibration method.
[0205] Accordingly, an embodiment of the present application provides a non-volatile computer-readable storage medium, on which instructions are stored, and when the instructions are executed on an electronic device, the electronic device executes the above-mentioned antenna calibration method.
[0206] Accordingly, an embodiment of the present application provides a computer program product, including: a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium contains a computer program code for executing the above-mentioned antenna calibration method.
[0207] This specification provides method or process operation steps as shown in the embodiments or flow charts, but more or fewer operation steps may be included based on routine or non-creative work. The order of steps listed in the embodiments is only one of many execution orders and does not represent the only execution order. In actual execution, the method or process shown in the embodiments or drawings may be executed in sequence or in parallel (for example, in a parallel controller or multi-threaded processing environment).
[0208] The embodiments disclosed in the present application may be implemented in hardware, software, firmware or a combination of these implementation methods. The embodiments of the present application may be implemented as a computer program or program code executed on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device and at least one output device.
[0209] Program code may be applied to input instructions to perform the functions described herein and generate output information. The output information may be applied to one or more output devices in a known manner. For purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.
[0210] Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.
[0211] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed over a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including, but not limited to, floppy disks, optical disks, optical discs, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), random access memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash memory, or a tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in electrical, optical, acoustic, or other forms of propagation signals. Therefore, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).
[0212] As used herein, the term "module" may refer to, be a part of, or include: a memory (shared, dedicated, or group) for running one or more software or firmware programs, an application-specific integrated circuit (ASIC), an electronic circuit and / or processor (shared, dedicated, or group), a combinational logic circuit, and / or other suitable components that provide the functionality.
[0213] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order is not required. Instead, in some embodiments, these features may be described in a manner and / or order different from that shown in the illustrative drawings. In addition, the structural or method features included in a specific figure do not mean that all embodiments need to include such features. In some embodiments, these features may not be included, or these features may be combined with other features.
[0214] The embodiments of the present application are described in detail above in conjunction with the accompanying drawings, but the use of the technical solution of the present application is not limited to the various applications mentioned in the embodiments of the present patent. Various structures and variations can be easily implemented with reference to the technical solution of the present application to achieve the various beneficial effects mentioned herein. Various changes made within the knowledge of ordinary technicians in the field without departing from the purpose of the present application should all fall within the scope of the patent application.
Claims
1. An antenna calibration method, applied to a calibration device, characterized in that: include: Acquire first measurement data of a millimeter wave antenna of a first device to be calibrated through a first probe array; Determine a distance loss based on a first distance between the first probe array and the millimeter wave antenna; Determining frequency loss based on an operating frequency of the millimeter wave antenna; determining loss data based on the distance loss and the frequency loss; Determine first reference data based on the loss data, first performance parameters of the millimeter wave antenna and the first probe array, and the first distance; A comparison result between the first measurement data and the first reference data is determined, wherein the comparison result is used to calibrate the millimeter wave antenna.
2. The method according to claim 1, characterized in that The step of obtaining first measurement data of a millimeter wave antenna of a first device to be calibrated by using a first probe array includes: Determine a first index, wherein the first index corresponds to a first probe of a first polarization direction, wherein the first probe is a probe in the first probe array; First measurement data of a millimeter wave antenna of a first device to be calibrated is obtained through a first probe in the first polarization direction.
3. The method according to claim 1, characterized in that The first measurement data includes a measurement value of radiation power density, and the first reference data includes a reference value of radiation power density.
4. The method according to any one of claims 1 to 3, characterized in that: The first performance parameter includes: peak output power of the millimeter wave antenna at a probe in the first probe array, and gain of the probe in the first probe array.
5. The method according to any one of claims 1 to 3, characterized in that: The first performance parameter includes: the peak output power of the millimeter wave antenna, the gain of the millimeter wave antenna, and the gain of the probes in the first probe array.
6. The method according to claim 1, characterized in that The step of obtaining first measurement data of a millimeter wave antenna of a first device to be calibrated by using a first probe array includes: Under a first test configuration, first measurement data of a millimeter wave antenna of a first device to be calibrated is acquired through a first probe array, wherein the first test configuration represents an excitation condition when the millimeter wave antenna radiates.
7. The method according to claim 6, characterized in that The method further comprises: constructing a first model of the first device; The determining of first reference data based on the loss data, first performance parameters of the millimeter wave antenna and the first probe array, and the first distance includes: By simulating the first model under the first test configuration, first reference data is determined based on the loss data, first performance parameters of the millimeter wave antenna and the first probe array, and the first distance.
8. The method according to claim 7, characterized in that The method further comprises: The first model is simulated based on multiple test configurations to obtain multiple radiation values at the first probe array, wherein the test configurations and the radiation values correspond one-to-one, and the first test configuration corresponds to a maximum radiation value among the multiple radiation values.
9. The method according to claim 1, characterized in that: Also includes: Corresponding to the comparison result not satisfying a preset condition, outputting a codebook file to the first device, wherein the codebook file includes compensation data, and the codebook file is used to apply the compensation data to the first device.
10. An electronic device, characterized in that: include: a memory for storing instructions executed by one or more processors of the electronic device; A processor, when the processor executes the instructions in the memory, can enable the electronic device to execute the method described in any one of claims 1 to 9.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 9.
