CN107786287B - Flatness calibration method and system - Google Patents
Flatness calibration method and system Download PDFInfo
- Publication number
- CN107786287B CN107786287B CN201610799132.4A CN201610799132A CN107786287B CN 107786287 B CN107786287 B CN 107786287B CN 201610799132 A CN201610799132 A CN 201610799132A CN 107786287 B CN107786287 B CN 107786287B
- Authority
- CN
- China
- Prior art keywords
- frequency
- filter
- frequency domain
- coefficient
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/20—Monitoring; Testing of receivers
- H04B17/21—Monitoring; Testing of receivers for calibration; for correcting measurements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/20—Monitoring; Testing of receivers
- H04B17/29—Performance testing
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Monitoring And Testing Of Transmission In General (AREA)
- Circuits Of Receivers In General (AREA)
Abstract
The invention provides a flatness calibration method and a system, wherein the method comprises the following steps: acquiring a linear value of frequency domain characteristic measurement data of a radio frequency channel; according to the frequency domain characteristic measurement data linear value of the radio frequency channel, fitting to obtain a frequency domain response of a full bandwidth; determining the frequency domain response of a filter according to the frequency domain response of the full bandwidth; calculating the time domain coefficient of the filter according to the frequency domain response of the filter; intercepting data from the time domain coefficient of the filter according to the coefficient length of the filter, and determining the intercepted data as the coefficient of the filter; and configuring the filter according to the coefficient of the filter so as to calibrate the flatness of the data acquired by the analog-digital converter. The flatness calibration method and the flatness calibration device solve the problems of poor flexibility, large workload and high running load of the conventional flatness calibration scheme.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a flatness calibration method and system.
Background
In order to improve communication quality, the received power is usually subjected to flatness calibration, and currently, the following flatness calibration method is generally adopted: and performing single-point calibration on each frequency point by adopting a radio frequency compensation or digital compensation mode to improve the flatness: firstly, the flatness characteristic of the receiver is calibrated, the frequency domain characteristic of the receiver is obtained through measurement, and then a filter is designed for reverse compensation, so that the flatness of an output result is improved.
However, the existing flatness calibration method is usually only suitable for a link system with a fixed frequency band and little gain variation, and the link system generally has a single received signal and a small dynamic range of the gain of the frequency meter. For a scene (such as an integrated tester) with a wide measurement frequency range and a large power dynamic range, the conventional flatness calibration method cannot be applied: if the frequency band of the digital compensation is too wide or the requirement on flatness is high, the length and bit width of the filter coefficient are greatly increased, and the operation load of the processor is greatly increased.
Disclosure of Invention
The invention provides a flatness calibration method and a flatness calibration system, which aim to solve the problems of poor flexibility, large workload and high running load of the conventional flatness calibration scheme.
In order to solve the above problem, the present invention discloses a flatness calibration method, including:
acquiring a linear value of frequency domain characteristic measurement data of a radio frequency channel;
according to the frequency domain characteristic measurement data linear value of the radio frequency channel, fitting to obtain a frequency domain response of a full bandwidth;
determining the frequency domain response of a filter according to the frequency domain response of the full bandwidth;
calculating the time domain coefficient of the filter according to the frequency domain response of the filter;
intercepting data from the time domain coefficient of the filter according to the coefficient length of the filter, and determining the intercepted data as the coefficient of the filter;
and configuring the filter according to the coefficient of the filter so as to calibrate the flatness of the data acquired by the analog-digital converter.
The invention also discloses a flatness calibration system, which comprises:
the acquisition module is used for acquiring a linear value of the frequency domain characteristic measurement data of the radio frequency channel;
the fitting module is used for fitting to obtain frequency domain response of full bandwidth according to the linear value of the frequency domain characteristic measurement data of the radio frequency channel;
a first determining module, configured to determine a frequency domain response of a filter according to the frequency domain response of the full bandwidth;
the calculation module is used for calculating and obtaining the time domain coefficient of the filter according to the frequency domain response of the filter;
the coefficient acquisition module is used for intercepting data from the time domain coefficient of the filter according to the coefficient length of the filter and determining the intercepted data as the coefficient of the filter;
and the configuration module is used for configuring the filter according to the coefficient of the filter so as to calibrate the flatness of the data acquired by the analog-digital converter.
Compared with the prior art, the invention has the following advantages:
the invention discloses a flatness calibration method, which comprises the following steps: acquiring a linear value of frequency domain characteristic measurement data of a radio frequency channel; according to the frequency domain characteristic measurement data linear value of the radio frequency channel, fitting to obtain a frequency domain response of a full bandwidth; determining the frequency domain response of a filter according to the frequency domain response of the full bandwidth; calculating the time domain coefficient of the filter according to the frequency domain response of the filter; intercepting data from the time domain coefficient of the filter according to the coefficient length of the filter, and determining the intercepted data as the coefficient of the filter; and configuring the filter according to the coefficient of the filter so as to calibrate the flatness of the data acquired by the analog-digital converter. Therefore, in the invention, the frequency response of the whole frequency band is determined by adopting a linear fitting mode, and the calibration time is saved. And secondly, the filter can be configured according to the determined coefficient of the filter, so that the filter meets the requirements of different measurement systems, the filtering time is reduced, and the calibration efficiency is improved.
Drawings
FIG. 1 is a flowchart illustrating a method for flatness calibration according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for calibrating flatness according to a second embodiment of the present invention;
FIG. 3 is an exemplary diagram of a frequency domain measurement result of 100MHz of a radio frequency channel in a third embodiment of the invention;
FIG. 4 is an exemplary plot of the fitting results of the frequency domain response of the RF channel [ 122.88245.76 ] MHz in the third embodiment of the present invention;
FIG. 5 is an exemplary plot of the fitting results of the frequency domain response of the RF channel [ 0245.76 ] MHz in the third embodiment of the present invention;
FIG. 6 is a diagram illustrating an exemplary frequency domain response of an RF channel filter according to a third embodiment of the present invention;
FIG. 7 is a block diagram of a flatness calibration system according to a fourth embodiment of the present invention;
fig. 8 is a block diagram of a preferred flatness calibration system according to a fourth embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Example one
Referring to fig. 1, a flowchart illustrating steps of a flatness calibration method according to a first embodiment of the present invention is shown. In this embodiment, the flatness calibration method includes:
and 102, acquiring a linear value of frequency domain characteristic measurement data of the radio frequency channel.
In this embodiment, normalization processing may be performed on the received power of the radio frequency channel to obtain a linear value of the frequency domain characteristic measurement data of the radio frequency channel. The normalization process may be performed with a determined center frequency point, but not limited thereto.
And step 104, fitting to obtain frequency domain response of the full bandwidth according to the frequency domain characteristic measurement data linear value of the radio frequency channel.
In this embodiment, the frequency domain response of the whole bandwidth may be obtained by a linear fitting manner according to, but not limited to, the linear values of the frequency domain characteristic measurement data of the radio frequency channel.
And 106, determining the frequency domain response of the filter according to the frequency domain response of the full bandwidth.
In this embodiment, the inverse of the full-bandwidth frequency-domain response may be taken as the frequency-domain response of the filter.
And 108, calculating the time domain coefficient of the filter according to the frequency domain response of the filter.
In this embodiment, the corresponding time domain coefficient may be further calculated according to the frequency domain response of the filter.
And step 110, intercepting data from the time domain coefficient of the filter according to the coefficient length of the filter, and determining the intercepted data as the coefficient of the filter.
In this embodiment, in consideration of the coefficient length of the filter in practical use, an appropriate value may be truncated from the time domain coefficient as the coefficient of the filter.
And 112, configuring the filter according to the coefficient of the filter so as to calibrate the flatness of the data acquired by the analog-digital converter.
In this embodiment, the data acquired by the analog-to-digital converter first passes through the reconfigured filter, and after passing through the filter, since the frequency domain response of the filter reconfigured according to the coefficient of the filter is the reciprocal of the frequency domain response of the radio frequency channel, the received power is flat in the whole bandwidth.
In summary, in the flatness calibration method described in this embodiment, a linear value of the frequency domain characteristic measurement data of the radio frequency channel may be obtained first; then, according to the frequency domain characteristic measurement data linear value of the radio frequency channel, fitting to obtain the frequency domain response of the full bandwidth; determining the frequency domain response of the filter according to the frequency domain response of the full bandwidth; calculating the time domain coefficient of the filter according to the frequency domain response of the filter; intercepting data from the time domain coefficient of the filter according to the coefficient length of the filter, and determining the intercepted data as the coefficient of the filter; and finally, configuring the filter according to the coefficient of the filter so as to calibrate the flatness of the data acquired by the analog-digital converter. Therefore, in the embodiment, the frequency response of the whole frequency band is determined by adopting a sexual fitting mode, so that the calibration time is saved. And secondly, the filter can be configured according to the determined coefficient of the filter, so that the filter meets the requirements of different measurement systems, the filtering time is reduced, and the calibration efficiency is improved.
The flatness calibration method is more flexible in calibration mode, reasonably splits frequency bands and gains, and effectively reduces the operation amount of a processor while improving the flatness filtering performance; the time required to obtain the calibration coefficients is reduced and a high calibration accuracy is maintained.
Example two
Referring to fig. 2, a flowchart illustrating a step of a flatness calibration method according to a second embodiment of the present invention is shown. In this embodiment, the flatness calibration method includes:
In this embodiment, the local oscillators may be fixed according to the actual bandwidth of the receiving channel, and the number of local oscillators and the number of gains under each local oscillator may be determined. When a linear value of the frequency domain characteristic measurement data of the radio frequency channel is obtained, a plurality of point data on the frequency domain of the radio frequency channel can be obtained according to the number of local oscillators, the number of gains and the number of measurement points under each gain; and then, determining a linear value of the frequency domain characteristic measurement data of the radio frequency channel according to the point data. The number of the measurement points under each gain can be determined according to the sweep frequency interval.
And 204, fitting to obtain a frequency domain response of the full bandwidth according to the frequency domain characteristic measurement data linear value of the radio frequency channel.
In this embodiment, first-order linear fitting values corresponding to the upper limit frequency band and the lower limit frequency band may be respectively calculated; then, according to the radio frequency channel frequency domain characteristic measurement data linear value, the first-order linear fitting value corresponding to the upper limit frequency band and the first-order linear fitting value corresponding to the lower limit frequency band, obtaining a frequency domain response in a set frequency band, and completing the frequency domain response in the set frequency band based on the respective corresponding first-order linear fitting values of the upper limit frequency band and the lower limit frequency band; further, the frequency domain response of the full bandwidth can be obtained according to the frequency domain response fitting in the set frequency band.
In this embodiment, the inverse of the full-bandwidth frequency-domain response may be taken as the frequency-domain response of the filter.
And 208, calculating the time domain coefficient of the filter according to the frequency domain response of the filter.
And 212, configuring the filter according to the coefficient of the filter so as to calibrate the flatness of the data acquired by the analog-to-digital converter.
In this embodiment, the current frequency point is other frequency points except the center frequency point. When the time domain coefficient is calculated, the frequency domain data is normalized by the central frequency point, so that the gain of the filter is 0dB for the central frequency point, but the filter generates a certain gain (the gain value is the difference between the test result of the other frequency points and the central frequency point) for other frequency points (such as the current frequency point). In order to compensate the error, the gain value needs to be considered during gain configuration, namely, a total gain value is determined according to the gain value of the current frequency point, the line loss value, the gain value of a receiving channel and the gain value of a field programmable gate array, and then, the gain compensation is carried out on the data acquired by the analog-to-digital converter according to the total gain value.
In summary, in the flatness calibration method described in this embodiment, a linear value of the frequency domain characteristic measurement data of the radio frequency channel may be obtained first; then, according to the frequency domain characteristic measurement data linear value of the radio frequency channel, fitting to obtain the frequency domain response of the full bandwidth; determining the frequency domain response of the filter according to the frequency domain response of the full bandwidth; calculating the time domain coefficient of the filter according to the frequency domain response of the filter; intercepting data from the time domain coefficient of the filter according to the coefficient length of the filter, and determining the intercepted data as the coefficient of the filter; and finally, configuring the filter according to the coefficient of the filter so as to calibrate the flatness of the data acquired by the analog-digital converter. Therefore, in the embodiment, the frequency response of the whole frequency band is determined by adopting a sexual fitting mode, so that the calibration time is saved. And secondly, the filter can be configured according to the determined coefficient of the filter, so that the filter meets the requirements of different measurement systems, the filtering time is reduced, and the calibration efficiency is improved.
The flatness calibration method is more flexible in calibration mode, reasonably splits frequency bands and gains, and effectively reduces the operation amount of a processor while improving the flatness filtering performance; the time required to obtain the calibration coefficients is reduced and a high calibration accuracy is maintained.
EXAMPLE III
With reference to the above embodiments, the present embodiment takes flatness calibration of the if band as an example to describe the flatness calibration method in detail. In this embodiment, a specific process of the flatness calibration method may be as follows:
and S31, acquiring the linear value of the frequency domain characteristic measurement data of the radio frequency channel.
In this embodiment, assuming that the design bandwidth of the receiving channel of the integrated tester is 100MHz, the local oscillator may be first fixed, and the flatness in the 100MHz bandwidth is tested to obtain a curve. Specifically, the total number of the comprehensive tester is 53 local oscillators at present, and considering that the flatness of different gains is also different, the number of the current gains is 82, if all the gains are tested, the test period is long, and in order to save time, in this embodiment, the 82 gains are divided into 11 groups, one gain is selected for each group to be tested, and the other gains in the group use the test curve of the gain. Each curve can be tested at 2MHz sweep intervals, and since the total bandwidth is 100MHz, 51 points of data will be obtained. Therefore, 53X 11X 51 point data is obtained in the frequency domain, and the linear value of the rf channel frequency domain characteristic measurement data can be determined according to the 53X 11X 51 point data.
For example, the values after power normalization at 184MHz may be as follows:
wherein N isfoRepresenting the number of local oscillators; n is a radical ofreflevelRepresenting the number of gains under each local oscillator; Δ f denotes the sweep interval in MHz. Fig. 3 is a diagram illustrating an exemplary measurement result of 100MHz frequency domain of a radio frequency channel in a third embodiment of the present invention.
And step S32, performing linear fitting to obtain frequency domain response of full bandwidth.
In this embodiment, one way to obtain a full-bandwidth frequency domain response may be as follows:
The specific calculation flow is as follows:
to fn(i) Performing first order linear fitting to obtain a polynomial: a is0+x*a1(ii) a Wherein the content of the first and second substances,
obtaining by solution:
The specific calculation flow is as follows:
to fn(i) Performing first order linear fitting to obtain a polynomial: a is0+x*a1。
obtaining by solution:
The specific process is as follows:
FIG. 4 is a diagram showing an example of the fitting result of the frequency domain response of the radio frequency channel [ 122.88245.76 ] MHz in the third embodiment of the present invention.
FIG. 5 is a diagram showing an example of the fitting result of the frequency domain response of the radio frequency channel [ 0245.76 ] MHz in the third embodiment of the invention.
Fig. 6 is a diagram showing an exemplary frequency domain response result of a rf channel filter in the third embodiment of the present invention.
Step S34, calculating the time domain coefficient h of the filtern(i):
Step S35, the length of the coefficient actually used for realization is 2. Nc+1, the finally stored filter coefficient hn' (i) is:
wherein N iscAny value may be used according to the actual situation, and the present embodiment does not limit this.
Step S36, configure the total gain.
In this embodiment, when calculating the time domain coefficient, the frequency domain data is normalized by the central frequency point, so that the gain of the filter is 0dB for the central frequency point, but the filter generates a certain gain for other frequency points, which is denoted as G _ filter (the gain value is the difference between the test result of the point and the central frequency point). To compensate for this error, this gain value needs to be taken into account when configuring the gain. The total gain configured as follows:
G_total=G_line+G_rx+G_agc+G_filter
g _ line is line loss and can be obtained from a line.dat file, G _ rx is a receive channel gain and can be read from an rx.dat file, and G _ agc is a gain value allocated to an FPGA (Field Programmable Gate Array). When reading the G _ filter value, it should be noted that the storage order of the 51 frequency domain coefficients is [ LO +184+50, LO +184-50] (low local oscillator), [ LO-184+50, LO-184-50] (high local oscillator), there is no corresponding frequency value, and linear interpolation closest to the two values is taken; the LO is a central frequency point of different frequency bands, and the calculation method comprises the steps of firstly reading a G _ line value according to a current frequency point, selecting the G _ filter, determining two frequency points closest to the current frequency point as local oscillators and frequency points are known and the frequency points are possibly interpolation values of stored frequency points, listing 11X2 gains corresponding to the two frequency points, searching the minimum gain from the 22 gains, using the value as an initial G _ filter, then calculating G _ rx according to the G _ total-G _ line-G _ filter, searching a corresponding LINKID from an rx.dat file, searching the G _ filter value according to the frequency points and the LINKID, finally calculating G _ agc-G _ total-rx _ line-G _ filter, allocating the G _ red G _ total-G _ line-G _ filter to the FPGA, and realizing compensation of received data by the FPGA.
In summary, in the flatness calibration method described in this embodiment, a linear value of the frequency domain characteristic measurement data of the radio frequency channel may be obtained first; then, according to the frequency domain characteristic measurement data linear value of the radio frequency channel, fitting to obtain the frequency domain response of the full bandwidth; determining the frequency domain response of the filter according to the frequency domain response of the full bandwidth; calculating the time domain coefficient of the filter according to the frequency domain response of the filter; intercepting data from the time domain coefficient of the filter according to the coefficient length of the filter, and determining the intercepted data as the coefficient of the filter; and finally, configuring the filter according to the coefficient of the filter so as to calibrate the flatness of the data acquired by the analog-digital converter. Therefore, in the embodiment, the frequency response of the whole frequency band is determined by adopting a sexual fitting mode, so that the calibration time is saved. And secondly, the filter can be configured according to the determined coefficient of the filter, so that the filter meets the requirements of different measurement systems, the filtering time is reduced, and the calibration efficiency is improved.
The flatness calibration method is more flexible in calibration mode, reasonably splits frequency bands and gains, and effectively reduces the operation amount of a processor while improving the flatness filtering performance; the time required to obtain the calibration coefficients is reduced and a high calibration accuracy is maintained.
It should be noted that the foregoing method embodiments are described as a series of acts or combinations for simplicity in explanation, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts or acts described, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Example four
Based on the same inventive concept as the above method embodiments, referring to fig. 7, a block diagram of a flatness calibration system in a fourth embodiment of the present invention is shown. In this embodiment, the flatness calibration system includes:
an obtaining module 402, configured to obtain a linear value of the frequency domain characteristic measurement data of the radio frequency channel.
And a fitting module 404, configured to fit to obtain a full-bandwidth frequency domain response according to the linear value of the radio frequency channel frequency domain characteristic measurement data.
A first determining module 406, configured to determine a frequency domain response of the filter according to the frequency domain response of the full bandwidth.
And a calculating module 408, configured to calculate a time domain coefficient of the filter according to the frequency domain response of the filter.
A coefficient obtaining module 410, configured to intercept data from the time domain coefficient of the filter according to the coefficient length of the filter, and determine the intercepted data as the coefficient of the filter.
And a configuration module 412, configured to configure the filter according to the coefficient of the filter, so as to perform flatness calibration on the data acquired by the analog-to-digital converter.
Therefore, in the embodiment, the frequency response of the whole frequency band is determined by adopting a sexual fitting mode, so that the calibration time is saved. And secondly, the filter can be configured according to the determined coefficient of the filter, so that the filter meets the requirements of different measurement systems, the filtering time is reduced, and the calibration efficiency is improved.
The flatness calibration system has a more flexible calibration mode, reasonably splits the frequency band and the gain, and effectively reduces the operation amount of a processor while improving the flatness filtering performance; the time required to obtain the calibration coefficients is reduced and a high calibration accuracy is maintained.
In a preferred embodiment of this embodiment, referring to fig. 8, a block diagram of a preferred flatness calibration system in a fourth embodiment of the present invention is shown.
Preferably, the obtaining module 402 may specifically include: the obtaining submodule 4022 is configured to obtain a plurality of point data on the frequency domain of the radio frequency channel according to the number of local oscillators, the number of gains, and the number of measurement points under each gain; the determining sub-module 4024 is configured to determine a linear value of the frequency domain characteristic measurement data of the radio frequency channel according to the point data. Further preferably, the flatness calibration system may further include: and a second determining module 414, configured to determine the number of measurement points under each gain according to the frequency sweep interval.
Preferably, the fitting module 404 may specifically include: the calculating submodule 4042 is configured to calculate first-order linear fitting values corresponding to the upper limit frequency band and the lower limit frequency band, respectively; the first fitting submodule 4044 is configured to obtain a frequency domain response in a set frequency band according to the linear value of the radio frequency channel frequency domain characteristic measurement data, the first-order linear fitting value corresponding to the upper limit frequency band, and the first-order linear fitting value corresponding to the lower limit frequency band; and the second fitting submodule 4046 is configured to fit the frequency domain response in the set frequency band to obtain a frequency domain response of a full bandwidth.
Preferably, the first determining module 406 is specifically configured to use an inverse of the frequency domain response of the full bandwidth as the frequency domain response of the filter.
Preferably, the flatness calibration system may further include:
a gain value determining module 416, configured to determine a gain value of the current frequency point; and the current frequency point is other frequency points except the central frequency point.
And a total gain value determining module 418, configured to determine a total gain value according to the gain value of the current frequency point, the line loss value, the gain value of the receiving channel, and the gain value of the field programmable gate array.
And the compensation module 420 is configured to perform gain compensation on the data acquired by the analog-to-digital converter according to the total gain value.
In summary, the flatness calibration system according to this embodiment may first obtain a linear value of the frequency domain characteristic measurement data of the rf channel; then, according to the frequency domain characteristic measurement data linear value of the radio frequency channel, fitting to obtain the frequency domain response of the full bandwidth; determining the frequency domain response of the filter according to the frequency domain response of the full bandwidth; calculating the time domain coefficient of the filter according to the frequency domain response of the filter; intercepting data from the time domain coefficient of the filter according to the coefficient length of the filter, and determining the intercepted data as the coefficient of the filter; and finally, configuring the filter according to the coefficient of the filter so as to calibrate the flatness of the data acquired by the analog-digital converter. Therefore, in the embodiment, the frequency response of the whole frequency band is determined by adopting a sexual fitting mode, so that the calibration time is saved. And secondly, the filter can be configured according to the determined coefficient of the filter, so that the filter meets the requirements of different measurement systems, the filtering time is reduced, and the calibration efficiency is improved.
The flatness calibration system has a more flexible calibration mode, reasonably splits the frequency band and the gain, and effectively reduces the operation amount of a processor while improving the flatness filtering performance; the time required to obtain the calibration coefficients is reduced and a high calibration accuracy is maintained.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The flatness calibration method and system provided by the present invention are described in detail above, and the principle and the implementation of the present invention are explained in the present document by applying specific examples, and the description of the above examples is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (8)
1. A flatness calibration method, comprising:
normalizing the received power of the radio frequency channel to obtain a linear value of frequency domain characteristic measurement data of the radio frequency channel;
respectively calculating first-order linear fitting values corresponding to the upper limit frequency band and the lower limit frequency band; obtaining frequency domain response in a set frequency band according to the radio frequency channel frequency domain characteristic measurement data linear value, the first-order linear fitting value corresponding to the upper limit frequency band and the first-order linear fitting value corresponding to the lower limit frequency band; fitting according to the frequency domain response in the set frequency band to obtain the frequency domain response of the full bandwidth;
taking the inverse of the frequency domain response of the full bandwidth as the frequency domain response of a filter;
calculating the time domain coefficient of the filter according to the frequency domain response of the filter;
intercepting data from the time domain coefficient of the filter according to the coefficient length of the filter, and determining the intercepted data as the coefficient of the filter;
and configuring the filter according to the coefficient of the filter so as to calibrate the flatness of the data acquired by the analog-digital converter.
2. The method of claim 1, wherein the obtaining linear values of the frequency domain characteristic measurement data of the radio frequency channel comprises:
obtaining a plurality of point data on the frequency domain of the radio frequency channel according to the number of local oscillators, the number of gains and the number of measuring points under each gain;
and determining the linear value of the frequency domain characteristic measurement data of the radio frequency channel according to the point data.
3. The method of claim 2, further comprising:
and determining the number of measurement points under each gain according to the sweep interval.
4. The method of claim 1, further comprising:
determining a gain value of a current frequency point; the current frequency point is other frequency points except the center frequency point;
determining a total gain value according to the gain value of the current frequency point, the line loss value, the gain value of a receiving channel and the gain value of a field programmable gate array;
and performing gain compensation on the data acquired by the analog-to-digital converter according to the total gain value.
5. A flatness calibration system, comprising:
the acquisition module is used for carrying out normalization processing on the receiving power of the radio frequency channel and acquiring a linear value of frequency domain characteristic measurement data of the radio frequency channel;
the fitting module is used for measuring a data linear value according to the frequency domain characteristic of the radio frequency channel and obtaining the frequency domain response of the full bandwidth through linear fitting;
a first determining module for taking an inverse of the full-bandwidth frequency-domain response as a frequency-domain response of a filter;
the calculation module is used for calculating and obtaining the time domain coefficient of the filter according to the frequency domain response of the filter;
the coefficient acquisition module is used for intercepting data from the time domain coefficient of the filter according to the coefficient length of the filter and determining the intercepted data as the coefficient of the filter;
the configuration module is used for configuring the filter according to the coefficient of the filter so as to calibrate the flatness of the data acquired by the analog-digital converter;
the fitting module comprises:
the calculation submodule is used for respectively calculating first-order linear fitting values corresponding to the upper limit frequency band and the lower limit frequency band;
the first fitting submodule is used for obtaining frequency domain response in a set frequency band according to the linear value of the frequency domain characteristic measurement data of the radio frequency channel, the first-order linear fitting value corresponding to the upper limit frequency band and the first-order linear fitting value corresponding to the lower limit frequency band;
and the second fitting submodule is used for fitting according to the frequency domain response in the set frequency band to obtain the frequency domain response of the full bandwidth.
6. The system of claim 5, wherein the acquisition module comprises:
the acquisition submodule is used for acquiring a plurality of point data on a radio frequency channel frequency domain according to the number of local oscillators, the number of gains and the number of measurement points under each gain;
and the determining submodule is used for determining the linear value of the frequency domain characteristic measurement data of the radio frequency channel according to the point data.
7. The system of claim 6, further comprising:
and the second determining module is used for determining the number of the measuring points under each gain according to the frequency sweeping interval.
8. The system of claim 5, further comprising:
the gain value determining module is used for determining the gain value of the current frequency point; the current frequency point is other frequency points except the center frequency point;
the total gain value determining module is used for determining a total gain value according to the gain value of the current frequency point, the line loss value, the gain value of the receiving channel and the gain value of the field programmable logic gate array;
and the compensation module is used for performing gain compensation on the data acquired by the analog-to-digital converter according to the total gain value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610799132.4A CN107786287B (en) | 2016-08-31 | 2016-08-31 | Flatness calibration method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610799132.4A CN107786287B (en) | 2016-08-31 | 2016-08-31 | Flatness calibration method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107786287A CN107786287A (en) | 2018-03-09 |
CN107786287B true CN107786287B (en) | 2021-06-11 |
Family
ID=61451897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610799132.4A Active CN107786287B (en) | 2016-08-31 | 2016-08-31 | Flatness calibration method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107786287B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110661736B (en) * | 2018-06-30 | 2021-01-05 | 上海华为技术有限公司 | Signal processing method and related device |
CN109347576B (en) * | 2018-08-20 | 2021-04-06 | 深圳市远望谷信息技术股份有限公司 | Method, device and system for calibrating flatness of transmitting power of RFID reader-writer |
CN111044962B (en) * | 2019-12-26 | 2022-07-08 | 北京航天测控技术有限公司 | Bandwidth flatness calibration method based on FFT |
CN113328845B (en) * | 2020-02-28 | 2022-08-30 | 大唐移动通信设备有限公司 | Method and device for compensating flatness of downlink carrier |
CN111416675B (en) * | 2020-03-25 | 2022-10-28 | 展讯通信(上海)有限公司 | Broadband signal spectrum analysis method and device |
CN113452569B (en) * | 2020-03-27 | 2022-11-08 | 大唐联仪科技有限公司 | Flatness calibration method and device, electronic equipment and storage medium |
CN111901004B (en) * | 2020-08-04 | 2022-04-12 | 三维通信股份有限公司 | Flatness compensation method and device, storage medium and electronic equipment |
CN115242322B (en) * | 2022-07-19 | 2024-06-07 | 深圳市极致汇仪科技有限公司 | Method and system for calibrating broadband spectrum power flatness by comprehensive tester |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105471455A (en) * | 2015-11-11 | 2016-04-06 | 中国电子科技集团公司第四十一研究所 | Signal receiving channel frequency response compensation method under condition of wide temperature range |
CN105591656A (en) * | 2015-12-24 | 2016-05-18 | 三维通信股份有限公司 | Transceiver gain flatness compensation method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6989663B2 (en) * | 2002-08-14 | 2006-01-24 | National Instruments Corporation | Flatness correction |
US8224269B2 (en) * | 2006-10-16 | 2012-07-17 | Agilent Technologies, Inc. | Vector modulator calibration system |
-
2016
- 2016-08-31 CN CN201610799132.4A patent/CN107786287B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105471455A (en) * | 2015-11-11 | 2016-04-06 | 中国电子科技集团公司第四十一研究所 | Signal receiving channel frequency response compensation method under condition of wide temperature range |
CN105591656A (en) * | 2015-12-24 | 2016-05-18 | 三维通信股份有限公司 | Transceiver gain flatness compensation method |
Non-Patent Citations (1)
Title |
---|
数字预失真系统反馈通道增益平坦度的补偿;史聃等;《电子设计工程》;20121031;第20卷(第19期);第103-105页,图1-5 * |
Also Published As
Publication number | Publication date |
---|---|
CN107786287A (en) | 2018-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107786287B (en) | Flatness calibration method and system | |
US8699972B2 (en) | Transmit power calibration in a communication system | |
US7266358B2 (en) | Method and system for noise reduction in measurement receivers using automatic noise subtraction | |
CN104779989B (en) | A kind of wideband array correcting filter coefficient calculation method | |
US10476612B2 (en) | Transceiver system supporting receiver self calibration and methods of performing the same | |
CN101529730A (en) | Controlling the bandwidth of an analog filter | |
CN110336572B (en) | Gain flatness compensation method for transceiver | |
KR101294771B1 (en) | Filter equalization using magnitude measurement data | |
US8805313B2 (en) | Magnitude and phase response calibration of receivers | |
US9736790B1 (en) | Transceiver system supporting transmitter self calibration and methods of performing the same | |
CN108432140B (en) | Correction device and method | |
WO2013138267A1 (en) | Real-time i/q imbalance correction for wide-band rf receivers | |
CN108650034A (en) | A kind of gain calibration methods thereof and device of radio-frequency apparatus | |
CN108983134B (en) | Signal receiving channel calibration method and magnetic resonance calibration system | |
CN112004263A (en) | Group delay fluctuation calibration method and device | |
US9270311B2 (en) | Methods and systems for calibrating an analog filter | |
US10340893B1 (en) | Systems and methods for providing compensation of analog filter bandedge ripple using LPF | |
CN104703268B (en) | filter power compensation method, device and user terminal | |
CN113258966B (en) | Channel synchronization method and device based on multi-antenna wireless communication system | |
US10708114B2 (en) | Quadrature radio receiver with gain-dependent mismatch correction | |
CN111147116B (en) | Signal synthesis method and device, storage medium, and electronic device | |
CN112051532A (en) | Intermediate frequency calibration method based on vector network analyzer | |
CN108965559B (en) | Method and device for wave calibration | |
KR20080035460A (en) | Characterization of a frequency response for a frequency translation device | |
CN114499705B (en) | Frequency response flatness calibration method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |