Signal vector adjustment error correction method based on homography matrix perspective projection transformation
By using the homography matrix perspective projection transformation method, the RF link error correction process is simplified, achieving high-precision vector adjustment of the RF link, adapting to differences in multiple production batches, and suitable for broadband and large-scale mass production scenarios, thus improving calibration efficiency and flexibility.
Patent Information
- Application Number
- CN202611369021.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-04
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies struggle to achieve fast, high-precision, and high-reliability vector adjustment error correction in radio frequency links, especially in broadband radio frequency links and large-scale mass production scenarios. Traditional methods suffer from cumbersome testing processes, low calibration efficiency, and decreased accuracy when relying on complex error modeling.
A method based on perspective projection transformation using a homography matrix is adopted. By step-scanning the I-channel and Q-channel control levels of the IQ modulator, vector change data is measured and a homography matrix is constructed. This achieves the mapping correction from vector change data to control factors, simplifying it to local perspective projection fitting and avoiding physical modeling.
It achieves high-precision calibration without relying on the internal design details of the RF link, has strong adaptability, a simple testing process, and the testing workload does not increase with the number of frequency points. It is suitable for broadband RF links and large-scale mass production, improving calibration efficiency and flexibility.
Smart Images

Figure CN123185038A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of radio frequency communication and vector modulation calibration technology, specifically relating to a signal vector adjustment error correction method based on homography matrix perspective projection transformation. Background Technology
[0002] In numerous radio frequency (RF) systems such as phased array radar, satellite communication, and electronic countermeasures, RF transceiver channels with controllable amplitude and phase are the core hardware foundation for beamforming, beam scanning, and signal modulation. Vector modulation technology is the mainstream solution for achieving continuous controllability of RF signal amplitude and phase. The core component is the IQ modulator. By inputting different control levels to the in-phase and quadrature branches of the IQ modulator, the amplitude and phase of the input RF signal can be continuously adjusted, thereby achieving output in any vector state.
[0003] However, in actual RF links, due to the non-ideal characteristics of devices and inherent defects in link design, the actual output of vector modulation often deviates significantly from the theoretical value. Specifically, the sources of error mainly include the following types: First, the quadrature error inherent in the IQ modulator itself, i.e., the output signals of the in-phase branch and the quadrature branch are not strictly 90° out of phase, causing deviations in the phase control of vector modulation; Second, the gain imbalance between the in-phase branch and the quadrature branch, and the non-flatness of the amplitude and phase response of the two mixing branches, causing the uniform array on the control factor complex plane to be stretched and distorted after being mapped onto the complex plane; Third, the gain nonlinearity and frequency response nonlinearity of devices such as amplifiers and filters in the link, resulting in inconsistent amplitude and phase control characteristics at different operating frequencies and different output powers; Fourth, the RF leakage signals present in each stage of the RF link cause the overall center of the output vector to shift, manifested as the overall response pattern on the complex plane deviating from the origin. The combined effects of these various errors can lead to problems such as decreased control accuracy, reduced dynamic range, and deteriorated linearity in vector control, severely impacting the overall performance of the radio frequency system. For example, it can cause phased array beam pointing deviation and increased sidelobe levels, as well as an increase in the bit error rate of the communication system.
[0004] To address the aforementioned error issues in vector adjustment, various correction and calibration schemes have been developed in the industry. The mainstream technical approaches can be divided into two categories: lookup table method and model compensation method.
[0005] The core idea of the rapid automatic testing and phase lookup table compensation method based on equal-gain circles is to search for control voltage combinations that meet the specified gain across the entire range of I and Q control voltages through a two-step testing process of coarse and fine calibration. Finally, it measures the I and Q control voltages corresponding to all data points with the same gain and meeting the phase step requirements within a 360° phase range, forming a lookup table of equal-gain circles to achieve precise amplitude and phase adjustment. However, this method faces several drawbacks. Firstly, finding all phase points with equal gain requires multiple rounds of iterative testing, making the process cumbersome and time-consuming. Secondly, for broadband RF links with drastic frequency response changes, each operating frequency point requires a separate, complete equal-gain circle test. The workload increases linearly with the number of frequency points, resulting in extremely low calibration efficiency and making it difficult to meet the needs of large-scale mass production and multi-frequency broadband applications.
[0006] The broadband phase shifter calibration method based on the IQ modulator error mathematical model analyzes various error sources of IQ modulators from the perspective of physical mechanisms, including DC bias, gain imbalance, and quadrature phase error, and establishes corresponding error mathematical models, transforming the calibration problem into the problem of extracting model parameters. During testing, the modulator is measured in a specific state using a vector network analyzer. Based on the measurement results, the parameters in the error model are fitted and solved. In subsequent work, the input control quantity is pre-compensated by an algorithm to offset the non-ideal characteristics of the device. This method is highly dependent on the accuracy of the error model. When the nonlinear characteristics of the devices in the RF link are obvious, the RF leakage is serious, and the error coupling relationship is complex, the simplified mathematical model is difficult to accurately describe the real error characteristics, resulting in a decrease in compensation accuracy. Secondly, for commercial RF links or integrated TR components with unknown internal designs, it is impossible to obtain the detailed parameters and topology of the internal devices, making it difficult to build a matching error model. In addition, the individual differences of products brought about by multiple batches of production will also lead to poor adaptability of the uniform error model, and the cost of modeling each product individually is too high.
[0007] Therefore, how to achieve fast, high-precision, and high-reliability vector adjustment error correction based on test results of physical products without relying on complex RF error modeling and without needing to know the internal design of the link is an urgent problem to be solved in the current engineering development of amplitude and phase controllable RF transceiver channels. It is of great significance for improving the performance of RF systems, shortening the R&D cycle, and reducing mass production calibration costs. Summary of the Invention
[0008] To address the aforementioned technical problems, the present invention provides a solution. The present invention offers a signal vector adjustment error correction method based on homography matrix perspective projection transformation, comprising: The I-channel control level and Q-channel control level of the IQ modulator in the target RF link are scanned in a stepwise manner. The vector change data of the target RF link under each control state is measured. The vector change data is converted into complex number expressions of real and imaginary parts to obtain a mapping dataset in which the array control points on the complex plane of the control factor correspond one-to-one with the array response points on the complex plane of the vector change data. The target vector change data to be realized is converted into target coordinate points on the complex plane of vector change data. In the array response points on the complex plane of the vector change data of the mapping dataset, four adjacent measurement response points that can surround the target coordinate points are found. A homography matrix is constructed based on four adjacent measurement response points; Based on the array control points corresponding to each measurement response point in the complex plane of the control factor, an overdetermined set of equations for the perspective mapping from the complex plane of vector change data to the complex plane of the control factor is constructed, and the solution equation for the homography matrix is obtained. The process of solving the mapping point using the homography matrix is used to calculate the I-channel control level and Q-channel control level corresponding to the target vector change data, thereby completing the error correction of signal vector adjustment.
[0009] Optionally, the complex plane of the control factor is constructed with the I-path control level as the real axis and the Q-path control level as the imaginary axis; let I be the control level of the in-phase branch, Q be the control level of the quadrature branch, and j be the imaginary unit, then the complex expression of the control factor is: K = I + jQ.
[0010] Optionally, the complex plane of the vector change data is constructed with the real part of the vector change data as the real axis and the imaginary part of the vector change data as the imaginary axis; let the complex number of the vector change data be S, Re be the real part of the vector change data, Im be the imaginary part of the vector change data, and j be the imaginary unit, then the complex number representation of the vector change data is: S = Re + jIm.
[0011] Optionally, when performing a step-by-step scan of the I-channel control level and Q-channel control level of the IQ modulator in the target RF link, several equally spaced step level values are set for the I-channel control level and the Q-channel control level respectively; if the level value is N, then the number of array control states formed is N×N; N is a positive integer greater than or equal to 3.
[0012] Optionally, the vector change data of the target RF link under each control state is measured, including: measuring the amplitude and phase values of the vector change data under each control state using a vector network analyzer, converting the amplitude value to a real part and the phase value to an imaginary part; let Re be the real part, Im be the imaginary part, S be the complex number of the vector change data, and φ be the phase angle, then: Re=|S|×cosφ; Im=|S|×sinφ.
[0013] Optionally, when searching for four adjacent measurement response points that can surround the target coordinate point, if there are no four measurement response points that can surround the target coordinate point among all array response points in the complex plane of the vector change data, it is determined that the IQ modulator of the current target RF link cannot achieve the vector adjustment effect corresponding to the target vector change data.
[0014] Optionally, a homography matrix is constructed based on four adjacent measured response points, including: The homography matrix is a 3×3 homogeneous transformation matrix; set up For rows of the homography matrix, These are the columns of the homography matrix, and the homography matrix is... , The first row and first column of the homography matrix The first row and second column of the homography matrix The first row and third column of the homography matrix The first column of the second row of the homography matrix. The second row and second column of the homography matrix The second row and third column of the homography matrix The first column of the third row of the homography matrix. The third row and second column of the homography matrix, If the third row and third column is the homography matrix, then the homography matrix is represented as: .
[0015] Optionally, an overdetermined system of equations is constructed to map the complex plane of the vector change data to the complex plane perspective of the control factors, including: set up For rows of the homography matrix, For columns of the homography matrix, This is a transpose transformation operation. The first row and first column of the homography matrix The first row and second column of the homography matrix The first row and third column of the homography matrix The first column of the second row of the homography matrix. The second row and second column of the homography matrix The second row and third column of the homography matrix The first column of the third row of the homography matrix. The third row and second column of the homography matrix, Let the third row and third column of the homography matrix be the 9 elements of the homography matrix. Expand the 9 elements of the homography matrix into a column vector, and let the column vector be... , For the transpose transformation operation, then: ; Let the coordinates of the vector change data on the complex plane be... , The coordinates mapped onto the complex plane of the control factor are coordinates The x-coordinate is coordinates The ordinate is coordinates The vertical coordinate is 1, and the coordinate point is... The x-coordinate is coordinates The ordinate is coordinates The vertical coordinate is The coordinates of vector change data on the complex plane Coordinates mapped onto the complex plane of the control factor Represented as: ; Solve for the mapping points based on four sets of known corresponding points, let... Let the four sets of points be numbered to participate in the solution. The corresponding point is , The range of values is 1 to 4; Construct a coefficient matrix with 2 rows and 9 columns, and let the first... The coefficient matrix of the corresponding points of the group is The corresponding coefficient matrix is: ; The coefficient matrix of the four corresponding points Stacking them vertically, we get an 8x9 matrix of total coefficients, forming an overdetermined system of equations. Let the total coefficient matrix be... Then the overdetermined system of equations can be expressed as: .
[0016] Optionally, the process of using the homography matrix to solve for the mapping point to calculate the I-channel control level and Q-channel control level corresponding to the target vector change data includes: substituting the target coordinate point into the homography matrix for perspective projection transformation, and after homogeneous coordinate normalization calculation, obtaining the target control point on the complex plane of the control factor, and converting it to obtain the I-channel control level and Q-channel control level corresponding to the target vector change data.
[0017] Optionally, let the x-coordinate of the coordinate point of the vector change data in the complex plane be mapped to the coordinate point of the control factor in the complex plane. The vertical axis is The vertical coordinate is , The first row and first column of the homography matrix The first row and second column of the homography matrix The first row and third column of the homography matrix The first column of the second row of the homography matrix. The second row and second column of the homography matrix The second row and third column of the homography matrix The first column of the third row of the homography matrix. The third row and second column of the homography matrix, The third row and third column of the homography matrix has the following I-channel control level: Q-channel control level is The control factor coordinates will Normalization, then: ; .
[0018] The beneficial effects of this invention are: (1) This invention integrates all error effects of the RF link into the mapping relationship between the complex plane of the control factor and the complex plane of the vector change data. By fitting the local mapping characteristics through the homography matrix, it is not necessary to physically model and extract parameters for various errors such as RF leakage, IQ orthogonal error, gain imbalance and frequency response nonlinearity. This method does not depend on the internal design details of the RF link. Even for integrated transmission components with unknown internal structure, calibration can be completed through port testing. It has strong adaptability and can effectively offset the individual differences of products caused by multiple batches of production. (2) The test process of the present invention only requires fixed-step array scanning of the IQ control levels, without iteratively searching for equal gain points or specific phase points. The test logic is simple and unified. With the frequency sweep function of the vector network analyzer, the test data acquisition of all frequency points can be completed at one time. The test workload will not increase significantly with the increase of the number of frequency points. Compared with the traditional equal gain circle test method, the calibration efficiency is improved, which is especially suitable for broadband RF links and large-scale mass production scenarios. (3) Through the continuous mapping of the local homography matrix, the present invention can realize arbitrary continuous vector adjustment in both the gain and phase dimensions, and can output any specified vector change data within the adjustment range, which greatly improves the flexibility of vector adjustment and can meet the diverse application needs of dynamic beamforming and complex signal modulation. (4) The present invention can flexibly adjust the scanning step and number of test points of the IQ control level according to the actual amplitude and phase control accuracy requirements of the project, and shorten the test time to the maximum extent while meeting the system performance indicators, and adapt to different levels of application requirements. Attached Figure Description
[0019] Figure 1 This is a flowchart of the signal vector adjustment error correction method based on homography matrix perspective projection transformation provided in Embodiment 1 of the present invention; Figure 2 This is a schematic diagram of the radio frequency link provided in Embodiment 1 of the present invention. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0021] Example 1 As an example, to address the problems existing in the prior art, this embodiment provides a signal vector adjustment error correction method based on homography matrix perspective projection transformation.
[0022] The implementation details of the method in this embodiment are described below. The following content is only for the convenience of understanding and is not necessary for implementing this solution.
[0023] The signal vector adjustment error correction method based on homography matrix perspective projection transformation in this embodiment can be applied to electronic devices with communication, computing, and data storage capabilities. (See attached...) Figure 1 As shown, the method provided in this embodiment includes steps 110-150.
[0024] Step 110: Perform a step-by-step scan of the I-channel control level and Q-channel control level of the IQ modulator in the target RF link, measure the vector change data of the target RF link in each control state, convert the vector change data into complex number expressions of real and imaginary parts, and obtain a mapping dataset that corresponds one-to-one between the array control points on the complex plane of the control factor and the array response points on the complex plane of the vector change data.
[0025] The complex plane of the control factor is also called the IQ control plane, with the I-channel control level as the horizontal axis (real axis) and the Q-channel control level as the vertical axis (imaginary axis). Any point on the plane corresponds to a set of IQ control levels, which can be expressed in complex form as control factor K = I + jQ, where I is the control level of the in-phase branch, Q is the control voltage of the quadrature branch, and j is the imaginary unit.
[0026] The complex plane of vector-transformed data is also called the output vector plane. Any point on the plane corresponds to an output vector state, represented in complex form. Specifically, the complex plane of vector-transformed data is constructed with the real part of the vector-transformed data as the real axis and the imaginary part of the vector-transformed data as the imaginary axis. Let the complex number of the vector-transformed data be S, Re be the real part of the vector-transformed data, Im be the imaginary part of the vector-transformed data, and j be the imaginary unit. Then the complex number representation of the vector-transformed data is: S = Re + jIm.
[0027] RF link as attached Figure 2 As shown, the input of the front-end RF link of the IQ modulator is connected to the quadrature coupler. The quadrature coupler separates the input signal into two orthogonal RF signals, which are output through two independent output ports. One output port outputs the I signal, which is connected to the signal input of the upper multiplication modulation unit. The other output port outputs the Q signal, which is connected to the signal input of the lower multiplication modulation unit. The outputs of the two multiplication modulation units are connected to the two inputs of the middle combining node, which completes the vector superposition of the I control level and the I signal, as well as the vector superposition of the Q control level and the Q signal. The output of the combining node is connected to the input of the rear-end RF link of the IQ modulator. The output of the rear-end RF link of the IQ modulator is connected to the output signal port, which outputs the final amplitude-phase regulated RF signal.
[0028] The errors included in the RF link include the output quadrature error of the quadrature coupler, the amplitude error of the IQ channel control level, the amplitude and phase non-flatness error of the IQ channel mixer, and the RF leakage of the RF link before the IQ modulator, the IQ modulator, and the IQ modulator after the IQ modulator. However, regardless of the error model, the entire RF network can be regarded as the output after the input signal is vector-adjusted. The vector change data of the adjustment parameter is controlled by the two-dimensional input control parameter of the IQ channel control level. Any IQ channel control level will correspond to a total two-port network response vector change data of the RF link in the current state.
[0029] The vector modulation process of an RF link is essentially a two-dimensional mapping from the complex plane of the control factor to the complex plane of the vector change data: (Re, Im) = f(I, Q). This invention fits the inverse mapping of this mapping with measured data, thereby inversely calculating the corresponding IQ control levels based on the target vector change data. Mathematically, this is a typical problem of solving the inverse of a two-dimensional nonlinear mapping. Traditional methods simplify the mapping relationship through physical modeling, while this invention utilizes homography transformation theory to achieve high-precision inverse solving through local perspective projection fitting, without relying on physical mechanism assumptions.
[0030] When performing a step-by-step scan of the I-channel control level and Q-channel control level of the IQ modulator in the target RF link, several equally spaced step level values are set for the I-channel control level and the Q-channel control level respectively; if the level value is N, then the number of array control states formed is N×N; N is a positive integer greater than or equal to 3.
[0031] For the IQ modulator in this embodiment, the control voltage range for both the I and Q channels is -1.2V to +1.2V, with a maximum control level of 1.2V. To ensure calibration accuracy, the step size of the two control levels is set to 0.12V, which is 1 / 10 of the maximum level. This corresponds to 21 discrete value points for each channel, ranging from -1.2V to +1.2V. Therefore, the I and Q channels combine to form 21 × 21 = 441 control states, forming a uniform square array on the control factor complex plane.
[0032] This array covers the entire effective control range of the IQ modulator, and the uniformly distributed sampling points ensure consistent fitting accuracy across all regions of the complex plane. In practical engineering applications, if the error distribution characteristics of the RF link are known, a non-uniform step sampling method can also be used, increasing the number of sampling points in areas with larger errors and decreasing the number of sampling points in areas with smaller errors, further optimizing the balance between testing efficiency and accuracy.
[0033] In other embodiments, the step size and number of points can be adjusted according to the actual accuracy requirements and hardware conditions. For example, for high-precision scenarios, such as precision beamforming applications of millimeter-wave phased arrays, a 0.05V step can be used, corresponding to 49×49=2401 test points, to obtain higher local fitting accuracy; for rapid calibration scenarios, such as initial screening tests in the production process, a 0.2V step can be used, corresponding to 13×13=169 test points, to significantly shorten the testing time.
[0034] Connect the input and output ports of the RF transceiver channel to the two ports of the vector network analyzer, respectively. Set the test frequency to 18 GHz, and set appropriate intermediate frequency bandwidth and power level to ensure that the measured signal-to-noise ratio meets the accuracy requirements. Using a programmable power supply or digital-to-analog converter module, sequentially switch the control levels of the I and Q channels according to preset steps. In each control state, after the control level stabilizes, measure the vector change data of the RF link under that state using the vector network analyzer, and record its amplitude and phase.
[0035] The entire testing process can be fully controlled by an automated program, requiring no manual intervention. The program sequentially traverses all IQ level combinations, completing the reading and storage of vector change data point by point. Since the test sequence is a pre-determined fixed array, no iterative search or closed-loop adjustment is required, resulting in extremely high stability and reliability of the testing process, making it less susceptible to external interference.
[0036] For broadband applications, the vector network analyzer's frequency sweep mode can be enabled, all required operating frequencies can be set, and vector change data measurements for all frequencies can be completed in one go under each control state. Since this method's test procedure consists only of a fixed level scan, independent of the number of frequency points, multi-frequency testing does not significantly increase the complexity of the test procedure compared to the traditional equal-gain circle method. The traditional equal-gain circle method requires an independent search algorithm for each frequency point; the more frequency points, the longer the test time. In contrast, this method only requires a single scan to simultaneously acquire calibration data for all frequency points, and the test time remains essentially unchanged with the increase in the number of frequency points.
[0037] Specifically, the vector change data of the target RF link is measured under each control state, including: using a vector network analyzer to measure the amplitude and phase values of the vector change data under each control state, converting the amplitude value to a real part and the phase value to an imaginary part; let Re be the real part, Im be the imaginary part, S be the complex number of the vector change data, and φ be the phase angle, then: Re=|S|×cosφ; Im=|S|×sinφ.
[0038] Therefore, the 441 control states correspond to 441 sets of (I,Q) and (Re,Im) mapping pairs, forming a complete mapping dataset. By plotting all vector change data response points on the complex plane, the vector change data response array can be obtained.
[0039] In an ideal, error-free environment, a uniform square array on the control factor complex plane should also be a uniform square array mapped onto the complex plane of the vector change data, with its center coinciding with the origin. However, under actual error conditions, the response array exhibits various distortions: the array as a whole deviates from the origin, corresponding to a DC offset caused by RF leakage, meaning leakage still exists in the output even at zero input; the array shape becomes distorted, no longer a standard square, corresponding to IQ quadrature error and unevenness in the mixing branch, resulting in inconsistent deformation degrees in different quadrants; the array may experience stretching or compression laterally or longitudinally, corresponding to gain imbalance in the IQ paths, leading to differences in the adjustment sensitivities of the two paths.
[0040] This invention does not require distinguishing the specific sources and contribution ratios of the above-mentioned errors. Instead, it treats all distortion effects as a whole planar mapping deformation and performs fitting correction through homography transformation. This approach greatly reduces the technical threshold for calibration. Researchers do not need to have a deep theoretical foundation in radio frequency circuits; high-precision calibration can be achieved simply by completing standardized tests and numerical calculations.
[0041] Step 120: Convert the target vector change data to be realized into target coordinate points on the complex plane of vector change data. In the array response points on the complex plane of the vector change data of the mapping dataset, find four adjacent measurement response points that can surround the target coordinate points.
[0042] When a specific target amplitude and phase state needs to be output, the target vector change data is first transformed onto the complex plane of the vector change data. Then, four neighboring points surrounding the target point are found from the measured response array for subsequent construction of the local homography matrix. Using a local four-point fitting method ensures fitting accuracy while avoiding large-scale nonlinear errors caused by global fitting, because the homography matrix is essentially a linear perspective transformation, which has high fitting accuracy for nonlinear mappings of small local regions.
[0043] Suppose the target vector change data to be achieved is: amplitude |S|=0.8, phase φ=90°. Convert this to Cartesian coordinates on the complex plane of the vector change data: , That is, the target coordinate point is (0, 0.8).
[0044] If the target parameters are given in other forms, such as directly giving the real and imaginary parts, or giving the gain dB value and phase, they can be converted into amplitude and phase form first, and then converted into complex plane rectangular coordinates to ensure the consistency of the input format.
[0045] Among the 441 measured response points in the complex plane of the vector change data, four adjacent measurement points that form an enclosing relationship around the target point are sought. The specific search method is as follows: First, based on the grid topology of the measured array, the grid cell containing the target point is located. The four vertices of this grid cell are the four required adjacent response points. Since the control factor plane is a uniform array, although the response points of the vector change data plane are distorted, they still maintain an approximate grid topology. Therefore, a fast grid localization algorithm can be used to efficiently find neighboring points.
[0046] In this embodiment, by traversing and matching, four measured response points surrounding the target point (0, 0.8) are found, and their vector change data correspond to the coordinates of P1(-0.05, 0.72), P2(0.08, 0.73), P3(-0.04, 0.85), and P4(0.09, 0.86), respectively. According to the mapping dataset, the control factor coordinates (i.e., IQ control levels) corresponding to these four points can be found to be P1'(-0.1, 0.7), P2'(0.1, 0.7), P3'(-0.1, 0.8), and P4'(0.1, 0.8), respectively, in units of V.
[0047] Specifically, when searching for four adjacent measurement response points that can surround the target coordinate point, if there are no four measurement response points that can surround the target coordinate point among all array response points in the complex plane of the vector change data, it is determined that the IQ modulator of the current target RF link cannot achieve the vector adjustment effect corresponding to the target vector change data.
[0048] If the search finds that there are no four points that can surround the target point, it means that the target vector change data exceeds the vector adjustment range of the current RF link and the corresponding amplitude and phase output cannot be achieved. The system will give an out-of-bounds warning and can further indicate the maximum achievable amplitude range to assist the operator in adjusting the target parameters.
[0049] Step 130: Construct a homography matrix based on four adjacent measurement response points.
[0050] The homography matrix is a 3×3 homogeneous matrix that describes the perspective projection transformation relationship between two planes. It is widely used in computer vision for image correction, viewpoint transformation, and other scenarios. For corresponding points on the two planes, the following homogeneous coordinate relationship is satisfied: , where p is the homogeneous coordinate point on the original plane, p' is the homogeneous coordinate point on the target plane, and H is the homography matrix.
[0051] In this invention, the complex plane of the control factor and the complex plane of the vector change data are regarded as two two-dimensional planes. The mapping deformation between the two planes can be fitted with high accuracy through perspective projection transformation. Our goal is to solve for the corresponding IQ control level based on the target vector change data. Therefore, it is necessary to establish a mapping from the vector change data plane to the control factor plane, that is, to solve for the homography matrix H from the vector change data plane to the control factor plane.
[0052] Specifically, a homography matrix is constructed based on four adjacent measurement response points, including: The homography matrix is a 3×3 homogeneous transformation matrix; set up For rows of the homography matrix, These are the columns of the homography matrix, and the homography matrix is... , The first row and first column of the homography matrix The first row and second column of the homography matrix The first row and third column of the homography matrix The first column of the second row of the homography matrix. The second row and second column of the homography matrix The second row and third column of the homography matrix The first column of the third row of the homography matrix. The third row and second column of the homography matrix, If the third row and third column is the homography matrix, then the homography matrix is represented as: .
[0053] Because homogeneous coordinates are scale-invariant—meaning that matrix H multiplied by any non-zero constant still represents the same perspective transformation—the homography matrix has 8 degrees of freedom. Theoretically, four sets of non-collinear corresponding points can be used to uniquely solve the problem. This invention uses four neighboring points around the target point to construct a system of equations that satisfy the solution conditions while ensuring the fitting accuracy of the local region.
[0054] Step 140: Based on the array control points corresponding to each measurement response point in the complex plane of the control factor, construct an overdetermined set of equations for the perspective mapping from the complex plane of the vector change data to the complex plane of the control factor, and obtain the solution equation for the homography matrix. The overdetermined system of equations for constructing the complex plane perspective mapping from the vector change data to the control factor includes: set up For rows of the homography matrix, For columns of the homography matrix, This is a transpose transformation operation. The first row and first column of the homography matrix The first row and second column of the homography matrix The first row and third column of the homography matrix The first column of the second row of the homography matrix. The second row and second column of the homography matrix The second row and third column of the homography matrix The first column of the third row of the homography matrix. The third row and second column of the homography matrix, Let the third row and third column of the homography matrix be the 9 elements of the homography matrix. Expand the 9 elements of the homography matrix into a column vector, and let the column vector be... , For the transpose transformation operation, then: ; Let the coordinates of the vector change data on the complex plane be... , The coordinates mapped onto the complex plane of the control factor are coordinates The x-coordinate is coordinates The ordinate is coordinates The vertical coordinate is 1, and the coordinate point is... The x-coordinate is coordinates The ordinate is coordinates The vertical coordinate is The coordinates of vector change data on the complex plane Coordinates mapped onto the complex plane of the control factor Represented as: ; Moving the denominator to the left and rearranging, we obtain two linear homogeneous equations: ; ; Solve for the mapping points based on four sets of known corresponding points, let... Let the four sets of points be numbered to participate in the solution. The corresponding point is , The range of values is 1 to 4; Construct a coefficient matrix with 2 rows and 9 columns, and let the first... The coefficient matrix of the corresponding points of the group is The corresponding coefficient matrix is: ; The coefficient matrix of the four corresponding points Stacking them vertically, we get an 8x9 matrix of total coefficients, forming an overdetermined system of equations. Let the total coefficient matrix be... Then the overdetermined system of equations can be expressed as: .
[0055] Step 150: Calculate the I-channel control level and Q-channel control level corresponding to the target vector change data using the homography matrix to solve the mapping point process, and complete the error correction of the signal vector adjustment.
[0056] Optionally, the process of using the homography matrix to solve for the mapping point to calculate the I-channel control level and Q-channel control level corresponding to the target vector change data includes: substituting the target coordinate point into the homography matrix for perspective projection transformation, and after homogeneous coordinate normalization calculation, obtaining the target control point on the complex plane of the control factor, and converting it to obtain the I-channel control level and Q-channel control level corresponding to the target vector change data.
[0057] Optionally, let the x-coordinate of the coordinate point of the vector change data in the complex plane be mapped to the coordinate point of the control factor in the complex plane. The vertical axis is The vertical coordinate is , The first row and first column of the homography matrix The first row and second column of the homography matrix The first row and third column of the homography matrix The first column of the second row of the homography matrix. The second row and second column of the homography matrix The second row and third column of the homography matrix The first column of the third row of the homography matrix. The third row and second column of the homography matrix, The third row and third column of the homography matrix has the following I-channel control level: Q-channel control level is The control factor coordinates will Normalization, then: ; .
[0058] For homogeneous linear overdetermined systems of equations, singular value decomposition (SVD) is typically used to find the least-squares optimal solution. Singular value decomposition is performed on the total coefficient matrix A. Let U and V be unitary matrices, and Σ be a diagonal matrix, with the diagonal elements being singular values arranged in descending order. Then: .
[0059] According to the properties of homogeneous equations, the least-squares solution to this system is the right singular vector corresponding to the smallest singular value, which is the last column of matrix V. Taking this column vector as the optimal solution for h, and then reconstructing its elements in order into a 3×3 matrix, we obtain the desired homography matrix H.
[0060] Due to the scale invariance of homogeneous coordinates, the solved vector h can differ by any constant factor. Therefore, the last element of the matrix is usually used as the reference. Normalized to 1, it facilitates subsequent calculations and storage.
[0061] In this embodiment, the homography matrix is obtained by substituting the values of four sets of corresponding points. The homography matrix represents the perspective mapping relationship from the complex plane of vector change data to the complex plane of control factor within the local region of the target point. The off-diagonal elements and the elements in the third row of the matrix reflect the degree of nonlinear distortion of the mapping. If there is no error, the mapping is an ideal linear relationship, and the matrix degenerates into a diagonal matrix with the third row being [0,0,1].
[0062] After obtaining the homography matrix, substitute the coordinates corresponding to the target vector change data into the matrix for transformation, and then perform homogeneous coordinate normalization to obtain the required IQ control level. Specifically: target point Extended to three-dimensional homogeneous coordinates This is multiplied by the homography matrix H. Due to the scale invariance of homogeneous coordinates, the resulting three-dimensional vector is not the final planar coordinate. The first two components need to be divided by the scale component w' of the third dimension to obtain the final control factor coordinates, i.e., the IQ control level.
[0063] ; .
[0064] Thus, the I-channel control level required to achieve the target vector change data (amplitude 0.8, phase 90°) is approximately 0.045V, and the Q-channel control level is approximately 0.898V.
[0065] The calculated control level was configured onto the IQ modulator, and the actual output vector change data was measured using a vector network analyzer. The actual amplitude was approximately 0.798, and the actual phase was approximately 89.7°. In contrast, if the uncorrected theoretical control values (I=0V, Q=0.8V) were used, the actual output amplitude would be approximately 0.72, and the phase would be approximately 82°, showing a significant error.
[0066] Based on the error data, the amplitude error was approximately 10% and the phase error was approximately 8° before correction; after correction, the amplitude error was approximately 0.25% and the phase error was approximately 0.3°, representing an improvement in calibration accuracy of more than an order of magnitude. This demonstrates that the method of this invention can effectively correct amplitude and phase deviations caused by various errors, significantly improving control accuracy.
[0067] For broadband RF transceiver channels, simply enabling the vector network analysis (VNA) sweep mode during the testing phase allows for the acquisition of mapping datasets for all operating frequencies at once. In practical applications, for each frequency, the corresponding mapping dataset is retrieved, and neighborhood matching, matrix solving, and inverse mapping are performed to achieve vector adjustment error correction across the entire frequency band.
[0068] Compared to the traditional equal-gain circle method, which requires separate iterative search tests for each frequency point, this method offers a significant improvement in multi-frequency testing efficiency. For example, for a broadband system with 20 operating frequencies, the traditional method requires 20 complete rounds of equal-gain circle testing, each round consisting of coarse and fine search phases, which is time-consuming; while this method only requires one round of IQ level scanning testing, reducing testing time by more than 90%. For ultra-wideband systems with hundreds of frequencies, the efficiency improvement is even more pronounced.
[0069] Furthermore, for slow-varying errors such as temperature drift and aging drift, the calibration parameters can be refreshed simply by periodically re-performing the scan test and updating the mapping dataset, resulting in extremely low maintenance costs.
[0070] This method is also compatible with traditional lookup table-based amplitude and phase adjustment systems, without requiring large-scale modifications to existing hardware and software architectures. Specifically, based on the mapping dataset, for a specified target gain, a series of target points can be generated on the complex plane of the vector change data with fixed phase steps. Using the homography matrix inverse mapping method of this invention, the IQ control level corresponding to each target point is calculated one by one, ultimately generating complete equal-gain circular lookup table data.
[0071] Compared to traditional iterative search-based testing, this method is more efficient at generating equal-gain circle data with controllable accuracy. Furthermore, it can generate equal-gain circle data corresponding to any gain value as needed, without being limited by the fixed gain levels of traditional methods.
[0072] This embodiment fully verifies the implementation process and correction effect of the method of the present invention. The results show that the method does not require separate modeling of various errors in the RF link. It can achieve high-precision vector adjustment error correction through simple array scanning test and homography matrix mapping calculation. At the same time, it has many advantages such as simple test process, high efficiency of multi-frequency points, flexible adjustment and adjustable accuracy, which can well meet the needs of engineering development and mass production calibration.
[0073] This invention integrates all error effects of the RF link into the mapping relationship between the control factor complex plane and the vector change data complex plane. By fitting the local mapping characteristics through the homography matrix, it eliminates the need for separate physical modeling and parameter extraction for various errors such as RF leakage, IQ orthogonality error, gain imbalance, and frequency response nonlinearity. This method does not depend on the internal design details of the RF link. Even for integrated transmission components with unknown internal structures, calibration can be completed through port testing. It has extremely strong adaptability and can effectively offset the individual differences of products caused by multiple batches of production.
[0074] The test process of this invention only requires a fixed-step array scan of the IQ control levels, without the need for iterative searching for equal gain points or specific phase points. The test logic is simple and unified. With the frequency sweep function of the vector network analyzer, test data acquisition for all frequency points can be completed at one time. The test workload does not increase significantly with the number of frequency points. Compared with the traditional equal gain circle test method, the calibration efficiency can be improved by several times to tens of times, which is especially suitable for broadband RF links and large-scale mass production scenarios.
[0075] Unlike traditional lookup table methods that can only adjust discrete gain and discrete phase, this invention achieves arbitrary continuous vector adjustment in both gain and phase dimensions through continuous mapping of the local homography matrix. It can output any specified vector change data within the adjustment range, greatly improving the flexibility of vector adjustment and meeting diverse application needs such as dynamic beamforming and complex signal modulation.
[0076] This invention can flexibly adjust the scanning step and number of test points of the IQ control level according to the actual amplitude and phase control accuracy requirements of the project. In high-precision scenarios, small step and multiple test points are used, while in low-precision scenarios, large step and fewer test points are used. This minimizes the test time while meeting the system performance indicators and adapts to different levels of application requirements.
[0077] This invention can not only be used as an independent real-time correction algorithm, but also generate the equal-gain circular lookup table data required by traditional schemes by batch calculation of the homography matrix based on the mapping dataset obtained by scanning. It can be seamlessly compatible with existing amplitude and phase adjustment systems based on the lookup table method, which is convenient for technology upgrades and engineering implementation.
[0078] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A signal vector adjustment error correction method based on homography matrix perspective projection transformation, characterized in that, include: The I-channel control level and Q-channel control level of the IQ modulator in the target RF link are scanned in a stepwise manner. The vector change data of the target RF link under each control state is measured. The vector change data is converted into complex number expressions of real and imaginary parts to obtain a mapping dataset in which the array control points on the complex plane of the control factor correspond one-to-one with the array response points on the complex plane of the vector change data. The target vector change data to be realized is converted into target coordinate points on the complex plane of vector change data. In the array response points on the complex plane of the vector change data of the mapping dataset, four adjacent measurement response points that can surround the target coordinate points are found. A homography matrix is constructed based on four adjacent measurement response points; Based on the array control points corresponding to each measurement response point in the complex plane of the control factor, an overdetermined set of equations for the perspective mapping from the complex plane of vector change data to the complex plane of the control factor is constructed, and the solution equation for the homography matrix is obtained. The process of solving the mapping point using the homography matrix is used to calculate the I-channel control level and Q-channel control level corresponding to the target vector change data, thereby completing the error correction of signal vector adjustment.
2. The signal vector adjustment error correction method based on homography matrix perspective projection transformation according to claim 1, characterized in that, The complex plane of the control factor is constructed with the I-channel control level as the real axis and the Q-channel control level as the imaginary axis; let I be the control level of the in-phase branch, Q be the control level of the quadrature branch, and j be the imaginary unit, then the complex expression of the control factor is: K = I + jQ.
3. The signal vector adjustment error correction method based on homography matrix perspective projection transformation according to claim 2, characterized in that, The complex plane of vector change data is constructed with the real part of the vector change data as the real axis and the imaginary part of the vector change data as the imaginary axis. Let the complex number of the vector change data be S, Re be the real part of the vector change data, Im be the imaginary part of the vector change data, and j be the imaginary unit. Then the complex number of the vector change data is expressed as: S = Re + jIm.
4. The signal vector adjustment error correction method based on homography matrix perspective projection transformation according to claim 1, characterized in that, When performing a step-by-step scan of the I-channel control level and Q-channel control level of the IQ modulator in the target RF link, several equally spaced step level values are set for the I-channel control level and the Q-channel control level respectively. set up If the level value is N, then the number of array control states formed is N×N; N is a positive integer greater than or equal to 3.
5. The signal vector adjustment error correction method based on homography matrix perspective projection transformation according to claim 1, characterized in that, The vector change data of the target RF link is measured under each control state, including: measuring the amplitude and phase values of the vector change data under each control state using a vector network analyzer, converting the amplitude value to a real part and the phase value to an imaginary part; let Re be the real part, Im be the imaginary part, S be the complex number of the vector change data, and φ be the phase angle, then: Re=|S|×cosφ; Im=|S|×sinφ.
6. The signal vector adjustment error correction method based on homography matrix perspective projection transformation according to claim 1, characterized in that, When searching for four adjacent measurement response points that can surround the target coordinate point, if there are no four measurement response points that can surround the target coordinate point among all array response points in the complex plane of the vector change data, it is determined that the IQ modulator of the current target RF link cannot achieve the vector adjustment effect corresponding to the target vector change data.
7. The signal vector adjustment error correction method based on homography matrix perspective projection transformation according to claim 1, characterized in that, A homography matrix is constructed based on four adjacent measurement response points, including: The homography matrix is a 3×3 homogeneous transformation matrix; set up For rows of the homography matrix, These are the columns of the homography matrix, and the homography matrix is... , The first row and first column of the homography matrix The first row and second column of the homography matrix The first row and third column of the homography matrix The first column of the second row of the homography matrix. The second row and second column of the homography matrix The second row and third column of the homography matrix The first column of the third row of the homography matrix. The third row and second column of the homography matrix, If the third row and third column is the homography matrix, then the homography matrix is represented as: 。 8. The signal vector adjustment error correction method based on homography matrix perspective projection transformation according to claim 1, characterized in that, Construct an overdetermined system of equations for the complex plane perspective mapping of vector change data to control factors, including: set up For rows of the homography matrix, For columns of the homography matrix, This is a transpose transformation operation. The first row and first column of the homography matrix The first row and second column of the homography matrix The first row and third column of the homography matrix The first column of the second row of the homography matrix. The second row and second column of the homography matrix The second row and third column of the homography matrix The first column of the third row of the homography matrix. The third row and second column of the homography matrix, Let the third row and third column of the homography matrix be the 9 elements of the homography matrix. Expand the 9 elements of the homography matrix into a column vector, and let the column vector be... , For the transpose transformation operation, then: ; Let the coordinates of the vector change data on the complex plane be... , The coordinates mapped onto the complex plane of the control factor are coordinates The x-coordinate is coordinates The ordinate is coordinates The vertical coordinate is 1, and the coordinate point is... The x-coordinate is coordinates The ordinate is coordinates The vertical coordinate is The coordinates of vector change data on the complex plane Coordinates mapped onto the complex plane of the control factor Represented as: ; Solve for the mapping points based on four sets of known corresponding points, let... Let the four sets of points be numbered to participate in the solution. The corresponding point is , The range of values is 1 to 4; Construct a coefficient matrix with 2 rows and 9 columns, and let the first... The coefficient matrix of the corresponding points of the group is The corresponding coefficient matrix is: ; The coefficient matrix of the four corresponding points Stacking them vertically, we get an 8x9 matrix of total coefficients, forming an overdetermined system of equations. Let the total coefficient matrix be... Then the overdetermined system of equations can be expressed as: 。 9. The signal vector adjustment error correction method based on homography matrix perspective projection transformation according to claim 1, characterized in that, The process of using the homography matrix to solve for the mapping point calculates the I-channel control level and Q-channel control level corresponding to the target vector change data, including: substituting the target coordinate point into the homography matrix for perspective projection transformation, and after homogeneous coordinate normalization calculation, obtaining the target control point on the complex plane of the control factor, and converting it to obtain the I-channel control level and Q-channel control level corresponding to the target vector change data.
10. The signal vector adjustment error correction method based on homography matrix perspective projection transformation according to claim 9, characterized in that, Let the coordinates of the vector change data points on the complex plane be mapped to the x-coordinates of the control factor points on the complex plane. The vertical axis is The vertical coordinate is , The first row and first column of the homography matrix The first row and second column of the homography matrix The first row and third column of the homography matrix The first column of the second row of the homography matrix. The second row and second column of the homography matrix The second row and third column of the homography matrix The first column of the third row of the homography matrix. The third row and second column of the homography matrix, The third row and third column of the homography matrix has the following I-channel control level: Q-channel control level is The control factor coordinates will Normalization, then: ; 。
