Frequency response compensation method, device, equipment, medium and product

By using a pre-generated coefficient database and a sparse measurement interpolation algorithm, the filter compensation coefficients are dynamically synthesized, solving the problems of high storage resource consumption and poor flexibility in frequency response compensation in wireless communication systems, and achieving efficient frequency response compensation.

CN121923737APending Publication Date: 2026-04-24YUANCE INFORMATION TECHNOLOGY (CHENGDU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
YUANCE INFORMATION TECHNOLOGY (CHENGDU) CO LTD
Filing Date
2025-12-11
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

In existing wireless communication systems, frequency response compensation for radio frequency transceivers requires the measurement of a large number of frequency points, resulting in high storage resource consumption, poor flexibility, and low production efficiency.

Method used

By pre-generating a coefficient database, storing coefficients corresponding to different frequencies, and using sparse measurement and interpolation algorithms to generate frequency response curves, the filter compensation coefficients are dynamically synthesized, reducing storage resource requirements and improving production efficiency.

Benefits of technology

It reduces storage resource requirements, improves production efficiency, enhances system flexibility and maintainability, and achieves high-precision frequency response compensation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121923737A_ABST
    Figure CN121923737A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of wireless communication, in particular to a frequency response compensation method and device, equipment, a medium and a product, and the method comprises the steps: obtaining the frequency of a to-be-processed signal; searching a corresponding coefficient from a pre-generated coefficient database based on the frequency; calculating a compensation coefficient of the filter according to the coefficient and a pre-generated filter coefficient; and processing the to-be-processed signal based on the filter configured with the compensation coefficient. According to the method, coefficients corresponding to different frequencies are stored in advance through a pre-generated coefficient database, when a receiving link or a transmitting link responds to a signal to be processed, only the corresponding coefficients need to be searched, and then compensation coefficients are dynamically synthesized through the weights of the coefficients and filter coefficients, so that frequency response compensation is achieved. Compared with the prior art in which a large number of compensation coefficients are pre-stored, the scheme only needs to store a small number of coefficients, the requirement for storage resources is sharply reduced, the data storage amount is greatly reduced, and the burden of hardware resources is relieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of wireless communication technology, and in particular to a frequency response compensation method, apparatus, device, medium, and product. Background Technology

[0002] In wireless communication, radar, and other systems, the performance of the radio frequency transceiver (including the transmit and receive links) directly determines the signal quality and reliability of the entire system. Both the transmit and receive links include multiple electronic components, such as filters. These components typically do not possess ideal frequency response flatness within their operating bandwidth, making them prone to signal distortion and leading to a series of problems such as increased bit error rate and decreased system sensitivity. Therefore, frequency response compensation is necessary for the transmit and receive links of the radio frequency transceiver.

[0003] Most related technologies address this by pre-measuring the system's frequency response at different frequencies and power levels, calculating the corresponding compensation coefficients, and then storing these coefficients in a lookup table. During actual operation, the preset compensation coefficients are retrieved from the lookup table based on the current operating frequency and power. However, this method requires measuring a large number of frequency points and generating an extremely large number of compensation coefficients, resulting in high storage resource consumption. Summary of the Invention

[0004] This disclosure is made in view of the above-mentioned problems and provides a frequency response compensation method, apparatus, device, medium and product.

[0005] According to one aspect of this disclosure, a frequency response compensation method is provided, comprising: Obtain the frequency of the signal to be processed; Based on frequency, the corresponding coefficients are searched from a pre-generated coefficient database; the coefficient database is used to store coefficients corresponding to different frequencies, and the coefficients are used to adjust the weights of the filter coefficients. Calculate the filter compensation coefficients based on the coefficients and the pre-generated filter coefficients; The signal to be processed is processed based on the filter with configured compensation coefficients.

[0006] The beneficial effects of this scheme are as follows: By pre-generating a coefficient database, coefficients corresponding to different frequencies are stored in advance. When the receiving or transmitting link responds to the signal to be processed, only the corresponding coefficient needs to be looked up. Then, compensation coefficients are dynamically synthesized by weighting the coefficients and filter coefficients to achieve frequency response compensation. Compared with related technologies that pre-store a large number of compensation coefficients, this scheme only needs to store a very small number of coefficients, drastically reducing storage resource requirements and greatly reducing data storage volume, which helps to alleviate the burden on hardware resources.

[0007] Furthermore, according to one aspect of the frequency response compensation method of this disclosure, the method for generating the coefficients includes: Select frequency points from the target frequency band according to the preset frequency steps; Calculate the frequency response at each frequency point; Frequency response curves are generated using interpolation algorithms and the frequency responses corresponding to each frequency point; The frequency response curve is fitted to a univariate polynomial equation, and the coefficients are obtained based on the univariate polynomial equation.

[0008] In one or more embodiments, the beneficial effects of this solution are as follows: the step can be set to N MHz, such as 50MHz. This sparse measurement greatly reduces the number of frequency points, which is conducive to improving production efficiency. For example, during factory calibration, only sparse data with a 50MHz step needs to be measured, and dense data with a 5MHz step can be generated through interpolation algorithm. The calibration time is shortened by several times, and the production efficiency is significantly improved.

[0009] Furthermore, according to one aspect of the frequency response compensation method of this disclosure, the method for generating filter coefficients includes: Convert the univariate polynomial equation into the frequency response expression of the filter; Based on the number of terms included in the frequency response expression, confirm the expressions for each filter coefficient; Perform a Fourier transform on the expressions of each filter coefficient to confirm the function curve corresponding to each filter coefficient; Based on the function curve, the coefficients of each filter are designed using a preset algorithm and converter.

[0010] In one or more embodiments, the beneficial effect of this solution is that the shape of the frequency response curve must conform to a polynomial equation in one variable. Taking a quadratic equation as an example, the shape of the frequency response curve should be a quadratic curve and a linear line. Therefore, by converting the polynomial equation into the frequency response expression of the filter, it is possible to determine which function curve the filter coefficients should conform to, and thus accurately design the filter coefficients. For example, the filter coefficients of the quadratic term are real even functions, the filter coefficients of the linear term are imaginary odd functions, and the filter coefficients of the constant term are real even functions.

[0011] Furthermore, according to one aspect of the frequency response compensation method of this disclosure, the compensation coefficients of the filter are calculated based on the coefficients and filter coefficients, including: Confirm the filter coefficients corresponding to each coefficient; By adjusting the weights of the corresponding filter coefficients, the filter coefficients are weighted and fused to obtain the filter compensation coefficients.

[0012] In one or more embodiments, the beneficial effect of this solution is that by looking up the coefficients, the weight of the corresponding filter coefficients is adjusted, and the compensation coefficients of the filter are dynamically generated in real time, without having to call the preset compensation coefficients from the lookup table every time, which helps to reduce the consumption of storage resources.

[0013] Furthermore, according to one aspect of the frequency response compensation method of this disclosure, the coefficients include multiplicative coefficients and constant coefficients; the multiplicative coefficients are used to adjust the frequency response of the filter, and the constant coefficients are used to adjust the gain of the filter coefficients.

[0014] In one or more embodiments, the beneficial effect of this solution is that the coefficients of each term in a polynomial equation have different functions, and quadratic equations, cubic equations, etc. can be designed according to actual needs.

[0015] Furthermore, according to one aspect of the frequency response compensation method of this disclosure, a frequency response curve is generated using an interpolation algorithm and the frequency response corresponding to each frequency point, including: Based on the different local oscillator frequencies, the target frequency band is divided into multiple sub-bands; Interpolation algorithms are used to interpolate each sub-band separately, and extrapolation interpolation is performed at the boundary between adjacent sub-bands to obtain the frequency response corresponding to each interpolation point; Frequency response curves are generated based on the frequency response corresponding to each interpolation point and each frequency point.

[0016] In one or more embodiments, the beneficial effect of this solution is that it achieves continuous, smooth, and high-precision compensation for any frequency point in the target frequency band through interpolation algorithms, avoiding discrete point interpolation errors.

[0017] According to another aspect of this disclosure, a frequency response compensation device is provided, comprising: The acquisition module is used to acquire the frequency of the signal to be processed; The lookup module is used to search for corresponding coefficients from a pre-generated coefficient database based on frequency; the coefficient database is used to store coefficients corresponding to different frequencies, and the coefficients are used to adjust the weights of the filter coefficients. The calculation module is used to calculate the compensation coefficients of the filter based on the coefficients and the pre-generated filter coefficients; The processing module is used to process the signal to be processed based on the filter with configured compensation coefficients.

[0018] According to another aspect of this disclosure, a computer device is provided, including a memory, a processor, and a computer program stored in the memory, the processor executing the computer program to implement the method of one aspect above.

[0019] According to another aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the method of one aspect above.

[0020] According to another aspect of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the method of the above-described aspect.

[0021] It should be understood that both the foregoing general description and the following detailed description are exemplary and intended to provide further illustration of the claimed technology. Attached Figure Description

[0022] The above and other objects, features, and advantages of this disclosure will become more apparent from the more detailed description of the embodiments thereof in conjunction with the accompanying drawings. The drawings are provided to further illustrate the embodiments of this disclosure and form part of the specification. They are used together with the embodiments of this disclosure to explain the disclosure and do not constitute a limitation thereof. In the drawings, the same reference numerals generally represent the same components or steps.

[0023] Figure 1 This is a system architecture diagram illustrating the application of a frequency response compensation method according to an embodiment of the present disclosure.

[0024] Figure 2 This is a diagram showing the degree of fit between the filter curve fitted according to an embodiment of this disclosure and the actual frequency response curve.

[0025] Figure 3 This is a flowchart illustrating a frequency response compensation method according to an embodiment of the present disclosure.

[0026] Figure 4 This is a schematic diagram illustrating the structure of a frequency response compensation device according to an embodiment of the present disclosure.

[0027] Figure 5 This is a schematic diagram illustrating the structure of a computer device according to an embodiment of the present disclosure.

[0028] Figure 6 This is a schematic diagram illustrating a computer program product according to an embodiment of the present disclosure.

[0029] Figure 7 The illustration shows the before and after effects of applying frequency response compensation according to an embodiment of this disclosure. Detailed Implementation

[0030] To make the objectives, technical solutions, and advantages of this disclosure more apparent, exemplary embodiments according to this disclosure will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this disclosure, and not all embodiments of this disclosure. It should be understood that this disclosure is not limited to the exemplary embodiments described herein.

[0031] In wireless communication, radar, and other systems, the performance of radio frequency (RF) transceivers (including transmitters and receivers) directly determines the signal quality and reliability of the entire system. Both the transmit and receive links include multiple electronic components, such as digital-to-analog converters, mixers, power amplifiers, and filters in the transmit link, and low-noise amplifiers, mixers, filters, and analog-to-digital converters in the receive link. These electronic components typically do not possess ideal frequency response flatness within their operating bandwidth, making them prone to signal distortion and leading to a series of problems such as increased bit error rate and decreased system sensitivity. Maintaining frequency response flatness over a wide bandwidth and large dynamic range is particularly important for test and measurement instruments (such as signal generators, spectrum analyzers, and vector network analyzers) and high-performance communication systems. Therefore, frequency response compensation is necessary for the transmit and receive links of RF transceivers. While traditional compensation techniques can partially solve the problem, they still have many limitations.

[0032] Most related technologies address this by pre-measuring the system's frequency response at different frequencies and power levels, calculating the corresponding compensation coefficients, and then storing these coefficients in a lookup table. During actual operation, the preset compensation coefficients are retrieved from the lookup table based on the current operating frequency and power. However, this method still has the following drawbacks: (1) There are a large number of frequency points that need to be measured, and the number of compensation coefficients generated is extremely large, resulting in a large consumption of storage resources. For example, if the center frequency is from F1 MHz to F2 MHz, with an interval of N MHz, and there are multiple power levels from P1 dBm to P2 dBm (with an interval of P dB), the number of combinations of pre-stored filter compensation coefficients will increase explosively.

[0033] (2) The compensation coefficients in the table correspond strictly to the frequency and the measured values ​​of the measurement system. Once some of the measured values ​​of the measurement system change, all the corresponding filter compensation coefficients in the table need to be replaced, which is very inflexible.

[0034] (3) During the production calibration phase, it is necessary to measure, calculate and store a massive number of combinations (frequency points, power levels) one by one. This process is very time-consuming, reduces production efficiency and increases the manufacturing cost of the product.

[0035] The above description, with reference to the accompanying drawings, illustrates a frequency response compensation method, apparatus, device, medium, and product according to embodiments of the present disclosure. By pre-generating a coefficient database, coefficients corresponding to different frequencies are stored in advance. When the receiving or transmitting link responds to the signal to be processed, only the corresponding coefficient needs to be looked up. Then, compensation coefficients are dynamically synthesized using the weights of the coefficients and filter coefficients to achieve frequency response compensation. Compared to pre-storing a large number of compensation coefficients in related technologies, this solution only requires storing a very small number of coefficients, drastically reducing storage resource requirements and significantly decreasing data storage volume, thus alleviating the burden on hardware resources.

[0036] To facilitate understanding of this embodiment, a frequency response compensation method disclosed in this disclosure will first be described in detail. The execution entity of the frequency response compensation method provided in this disclosure is generally a computer device with certain computing capabilities. This computer device may include, for example, a terminal device, a server, or other processing devices. The terminal device may be a user equipment (UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (PDA), handheld device, computing device, vehicle-mounted device, wearable device, etc. In some possible implementations, this frequency response compensation method can be implemented by a processor calling computer-readable instructions stored in memory.

[0037] like Figure 1 The diagram shown is a system architecture diagram of the frequency response compensation method provided in this embodiment of the present disclosure, including a sparse measurement module 1, a filter coefficient design module 2, and a dynamic synthesis module 3. A detailed description of each module is as follows: Sparse Measurement Module 1: Used for sparse measurement and piecewise interpolation. It interpolates the frequency response curve of sparse measurement into denser data according to different local oscillator frequencies, so as to more accurately reflect the characteristics of the real frequency response curve and avoid the measurement of a large amount of data.

[0038] Specifically, within the target frequency band from F1MHz to F2MHz, frequency points are selected in NMHz steps to generate a sparse measurement frequency response curve. Since different local oscillator frequencies are used across the entire receiving band, segmented interpolation is required based on the different local oscillator frequencies. At the same time, extrapolation interpolation is required at the boundaries of local oscillator frequency changes, with an extrapolation of N×10MHz to ensure that each NMHz has a frequency response error curve from -N×10MHz to +N×10MHz to calculate the coefficients {a,b,c}, i.e., the coefficients of each item in formula (1), and the coefficients {a,b,c} are stored in the coefficient database.

[0039] This sparse measurement significantly reduces the number of frequency points required. For example, where hundreds of frequency points would have been needed to measure in the 300-700 MHz range, only nine points need to be measured with a 50 MHz step, thus improving production efficiency. Interpolation algorithms achieve continuous, smooth, and high-precision compensation for any frequency point in the target band, avoiding discrete point interpolation errors. Furthermore, during factory calibration, only sparse data from nine frequency points needs to be measured, and dense data (e.g., in 5 MHz steps) can be generated using interpolation algorithms, reducing calibration time by several times and significantly improving production efficiency.

[0040] Filter coefficient design module 2: Used to design and calculate filter coefficients. The filter coefficients are fixed parameters. In subsequent actual production and life, it is only necessary to find the coefficients corresponding to the frequency to adjust the weight of the filter coefficients.

[0041] Specifically, the frequency response error curve obtained from sparse measurement module 1 is fitted according to a preset polynomial equation. This polynomial equation (n-degree function) can be a quadratic, cubic, or higher-degree equation, which can be selected according to actual needs. This embodiment uses a quadratic equation as an example, resulting in: (1) This means that the designed filter frequency response should meet the form of formula (1) so that the filter frequency response error can be compensated by curve fitting. Here, a, b, and c are coefficients.

[0042] Convert equation (1) into the frequency response expression of the filter: (2) in, Represents the normalized angular frequency. ; Representing the frequency response, according to formula (2), it is known that three filters need to be designed, each corresponding to the quadratic term filter coefficients in formula (2). First-order filter coefficients and constant term filter coefficients .

[0043] Specifically, the expression for the coefficients of the quadratic filter is:

[0044] The expression for the coefficients of the first-order filter is:

[0045] The expression for the constant term filter coefficients is:

[0046] Perform a Fourier transform on the expressions for each filter coefficient to confirm the corresponding function curve. Taking a quadratic equation as an example, the shape of the frequency response curve should be a quadratic curve and a linear curve. Therefore, by converting the polynomial equation into the frequency response expression of the filter, we can determine which function curve the filter coefficients should conform to, and thus accurately design the filter coefficients. According to the Fourier transform and its properties, the function curve corresponding to the quadratic filter coefficient is a real even function, the linear filter coefficient is an imaginary odd function, and the constant term filter coefficient is a real even function. Therefore, these three filter coefficients cannot be simply added together; the corresponding imaginary odd function must be multiplied by... Transforming it into a real function, we have:

[0047] in, for Deformation, and The coefficients of the filter to be designed are... They are also filter coefficients, but This is a constant term and does not require calculation.

[0048] Finally, the filter coefficients were designed using a combination of the Parks-McClellan algorithm and the Hilbert transformer. and .

[0049] Dynamic Synthesis Module 3: Used for dynamically synthesizing compensation coefficients.

[0050] Specifically, filter coefficients and The frequency response depends on the weights {w2, w1, w0}, where {w2, w1, w0} is determined by the coefficients {a, b, c}, for example, {w2, w1, w0} = {a, b, c}, or other operations are performed on {a, b, c} to obtain {w2, w1, w0}.

[0051] w2 and w1 together adjust the frequency response, while w0 primarily adjusts the filter coefficient gain. Theoretically, by appropriately adjusting the values ​​of {w2, w1, w0}, the compensation coefficient corresponding to any frequency response can be calculated. The calculation formula is as follows: (7) in, Represents the complex filter coefficients (compensation coefficients).

[0052]

[0053] Where N is the filter order.

[0054] This embodiment combines frequency response curve fitting to extract curve parameters {a, b, c}, and uses these parameters to adjust the filter coefficients. and The weights can be directly obtained by dynamically synthesizing compensation coefficients from the frequency response curve. This significantly reduces the consumption of computing and storage resources, greatly reduces the complexity of the measurement system, and enhances its robustness and maintainability.

[0055] This embodiment cleverly achieves the synthesis of filter coefficients and coefficients {a, b, c} using a dynamic synthesis algorithm based on fixed coefficients ( , The combination of parameters (a, b, c) and variable parameters (a, b, c) to generate arbitrary frequency response filters is an innovative application of software-defined radio technology in the field of frequency response compensation. It is easily extended to different frequency bands and systems, requiring only an update to the parameter database, and possesses excellent versatility and flexibility.

[0056] Based on the above embodiments, this embodiment provides a frequency response compensation method. The processing flow for transmitted and received signals is consistent. Therefore, this embodiment takes the received signal as an example and includes the following implementation stages: (1) Measurement phase: includes the following steps: Step 1: Select frequency points within the F1MHz to F2MHz band. For the RF status corresponding to each frequency point, record the received power value (dBm) in NMHz frequency steps to form a "frequency response table".

[0057] Among them, combinations of devices such as power amplifiers, amplifiers, and attenuators represent a radio frequency state, corresponding to a frequency point, in N MHz frequency steps. For example, in the 300 MHz to 700 MHz frequency band, 9 frequency points are selected in 50 MHz steps.

[0058] Step 2: Repeat step (1) to traverse each frequency point. Each frequency point corresponds to a receiving radio frequency state. Store it in the coefficient database, for example, in the form of a table, to obtain the "Power-Frequency Response Table".

[0059] (2) Frequency response compensation table generation stage: 1) Use MATLAB's `coe2 = firpm(n,f,a,w)` to generate a set of filter coefficients. The input parameters of `firpm` are: `n` represents the filter order, `f` is the frequency, `a` is a function of the frequency `f`, and `w` is an adjustable weight, where `w = {w2, w1, w0}`. Here, `a = f^2` is required. The generated coefficients are expressed as... .

[0060] 2) Use MATLAB's `coe1 = firls(n,f,a,type)` to generate a set of filter coefficients. The input parameters for `firls` are: `n` represents the filter order, `f` is the frequency, `a` is a function of the frequency `f`, and `w` is the adjustable weights, where `w = {w2, w1, w0}`. Here, `a = f` is required, and `type` is set to "hilbert". The generated coefficients are represented as follows: .

[0061] 3) Using the "power-frequency response table" generated during the measurement phase, interpolation is used to obtain more densely distributed discrete points at N MHz, for example, N=50. Here, the interpolation method is spline interpolation. Since the receiving link does not use the same RF local oscillator frequency across the entire frequency band, segmented interpolation is required based on the different local oscillator frequencies. At the same time, extrapolation interpolation is required at the boundaries of local oscillator frequency changes, extrapolating by N×10 MHz to ensure that each 50 MHz has a frequency response error curve from -N×10 MHz to +N×10 MHz to calculate coefficients a, b, and c.

[0062] 4) Using the interpolated frequency response curve, calculate the values ​​of the corresponding coefficients a, b, and c according to the different center frequencies of the 50MHz step. a, b, and c correspond to the coefficients of the quadratic, linear, and constant terms of the fitted curve, respectively.

[0063] 5) Store the a, b, and c values ​​corresponding to the center frequency of each 50MHz into the "Power-Frequency Response Table". Each frequency point-power point corresponds to a set of a, b, and c values, forming the "Frequency Response Compensation Table".

[0064] (3) Operation phase: The generated two sets of filter coefficients, coe2 and coe1, are stored in the application as arrays. When a certain frequency point (state) needs to be received, the corresponding frequency point is selected according to the frequency of transmission and reception. The corresponding frequency power and the corresponding coefficients a, b, and c are found in the "Frequency Response Compensation Table". According to formulas (7) and (8), a, b, and c are compared with the pre-stored filter coefficients. and The required compensation coefficient for the power at this frequency is calculated, where a corresponds to weight w2, b corresponds to weight w1, and c corresponds to weight w0.

[0065] After calculating the compensation coefficients, the compensation coefficients are sent to the Field Programmable Gate Array (FPGA) via the PCIe interface. The FPGA reloads the compensation coefficients in the digital filter, thereby updating the frequency response compensation.

[0066] like Figure 2As shown, this is a comparison chart of the fitting degree between the fitted filter frequency response curve and the actual frequency response curve. Figure 2 As can be seen, the error between the generated filter frequency response curve and the actual frequency response curve is less than 0.05dB within a 100MHz bandwidth.

[0067] like Figure 7 The image shown is a diagram illustrating the effects of frequency response compensation before and after the process. Figure 7 The left side represents the original response formed by connecting discrete measurement points, which has significant unevenness; Figure 7 The right side shows the flat response of the final output after FIR filter compensation. The actual compensation effect is within 0.3dB, and the flatness within the 100M band is significantly increased after compensation.

[0068] Based on the above embodiments, this embodiment also provides a frequency response compensation method, such as... Figure 3 The flowchart shown is for the frequency response compensation method, including S301-S304: S301: Obtain the frequency of the signal to be processed.

[0069] S302: Based on power, look up the corresponding coefficient from the pre-generated coefficient database.

[0070] The coefficient database stores coefficients corresponding to different power levels, and these coefficients are used to adjust the weights of the filter coefficients.

[0071] S303: Calculate the compensation coefficients of the filter based on the coefficients and the pre-generated filter coefficients.

[0072] S304: A filter based on configuration compensation coefficients to process the signal to be processed.

[0073] In one or more embodiments, the method for generating coefficients includes: Based on the preset frequency steps, select frequency points from the target frequency band; calculate the frequency response corresponding to each frequency point; generate a frequency response curve using an interpolation algorithm and the frequency response corresponding to each frequency point; fit the frequency response curve into a univariate polynomial equation, and obtain the coefficients based on the univariate polynomial equation.

[0074] Specifically, within the target frequency band from F1MHz to F2MHz, frequency points are selected in NMHz increments to generate sparse measurement frequency response curves. Since different local oscillator frequencies are used across the entire receiving band, segmented interpolation is required based on the different local oscillator frequencies. At the same time, extrapolation interpolation is required at the boundaries of local oscillator frequency changes, with an extrapolation of N×10MHz to ensure that each NMHz has a frequency response error curve from -N×10MHz to +N×10MHz to calculate the coefficients {a,b,c}, which are the coefficients of each term in formula (1).

[0075] In one or more embodiments, the method for generating filter coefficients includes: The process involves converting a univariate polynomial equation into a frequency response expression for the filter; determining the expression for each filter coefficient based on the number of terms in the frequency response expression; performing a Fourier transform on the expression for each filter coefficient to determine the function curve corresponding to each filter coefficient; and designing each filter coefficient based on the function curve using a pre-defined algorithm and converter.

[0076] Specifically, the obtained frequency response error curve is fitted using a preset polynomial equation. This polynomial equation (an nth-degree function) can be a quadratic, cubic, or higher-degree equation, which can be selected according to actual needs. This embodiment uses a quadratic equation as an example, yielding: (1) This means that the designed filter frequency response should meet the form of formula (1) so that the filter frequency response error can be compensated by curve fitting. Here, a, b, and c are coefficients.

[0077] Convert equation (1) into the frequency response expression of the filter: (2) in, Represents the normalized angular frequency. ; Representing the frequency response, according to formula (2), it is known that three filters need to be designed, each corresponding to the quadratic term filter coefficients in formula (2). First-order filter coefficients and constant term filter coefficients .

[0078] Specifically, the expression for the coefficients of the quadratic filter is:

[0079] The expression for the coefficients of the first-order filter is:

[0080] The expression for the constant term filter coefficients is:

[0081] Perform a Fourier transform on the expressions for each filter coefficient to confirm the corresponding function curve. Taking a quadratic equation as an example, the shape of the frequency response curve should be a quadratic curve and a linear curve. Therefore, by converting the polynomial equation into the frequency response expression of the filter, we can determine which function curve the filter coefficients should conform to, and thus accurately design the filter coefficients. According to the Fourier transform and its properties, the function curve corresponding to the quadratic filter coefficient is a real even function, the linear filter coefficient is an imaginary odd function, and the constant term filter coefficient is a real even function. Therefore, these three filter coefficients cannot be simply added together; the corresponding imaginary odd function must be multiplied by... Transforming it into a real function, we have:

[0082] in, for Deformation, and The coefficients of the filter to be designed are... They are also filter coefficients, but This is a constant term and does not require calculation.

[0083] Finally, the filter coefficients were designed using a combination of the Parks-McClellan algorithm and the Hilbert transformer. and .

[0084] In one or more embodiments, calculating the compensation coefficients of the filter based on the coefficients and the filter coefficients includes: Identify the filter coefficients corresponding to each coefficient; adjust the weight of the corresponding filter coefficients using the coefficients, and perform weighted fusion of each filter coefficient to obtain the filter compensation coefficients.

[0085] Specifically, filter coefficients and The frequency response depends on the weights {w2, w1, w0}, where {w2, w1, w0} is determined by the coefficients {a, b, c}, for example, {w2, w1, w0} = {a, b, c}, or other operations are performed on {a, b, c} to obtain {w2, w1, w0}.

[0086] w2 and w1 together adjust the frequency response, while w0 primarily adjusts the filter coefficient gain. Theoretically, by appropriately adjusting the values ​​of {w2, w1, w0}, the compensation coefficient corresponding to any frequency response can be calculated. The calculation formula is as follows: (7) in, Represents the complex filter coefficients (compensation coefficients).

[0087]

[0088] Where N is the filter order.

[0089] In one or more embodiments, the coefficients include multiplicative coefficients and constant coefficients; the multiplicative coefficients are used to adjust the frequency response of the filter, and the constant coefficients are used to adjust the gain of the filter coefficients.

[0090] In one or more embodiments, a frequency response curve is generated using an interpolation algorithm and the frequency response corresponding to each frequency point, including: Based on the different local oscillator frequencies, the target frequency band is divided into multiple sub-bands; interpolation algorithms are used to interpolate each sub-band separately, and extrapolation interpolation is performed at the boundaries of adjacent sub-bands to obtain the frequency response corresponding to each interpolation point; based on each interpolation point and the frequency response corresponding to each frequency point, a frequency response curve is generated.

[0091] According to another aspect of the embodiments of this disclosure, a frequency response compensation device is provided, such as... Figure 4 As shown, the device includes: Acquisition module 401 is used to acquire the frequency of the signal to be processed; The lookup module 402 is used to look up the corresponding coefficients from a pre-generated coefficient database based on frequency; wherein, the coefficient database is used to store the coefficients corresponding to different frequencies, and the coefficients are used to adjust the weights of the filter coefficients; The calculation module 403 is used to calculate the compensation coefficients of the filter based on the coefficients and the pre-generated filter coefficients; Processing module 404 is used to process the signal to be processed based on the filter with configured compensation coefficients.

[0092] In one or more embodiments, the computing module 403 is used for: Confirm the filter coefficients corresponding to each coefficient; By adjusting the weights of the corresponding filter coefficients, the filter coefficients are weighted and fused to obtain the filter compensation coefficients.

[0093] The frequency response compensation device and the frequency response compensation method provided in this disclosure are based on the same inventive concept and have the same beneficial effects as the methods they employ, operate, or implement.

[0094] This disclosure also provides a computer device for performing the frequency response compensation method described above. Please refer to... Figure 5 It illustrates a schematic diagram of a computer device provided by some embodiments of this disclosure. For example... Figure 5As shown, the computer device 5 includes: a processor 500, a memory 501, a bus 502, and a communication interface 503. The processor 500, the communication interface 503, and the memory 501 are connected via the bus 502. The memory 501 stores a computer program that can run on the processor 500. When the processor 500 runs the computer program, it executes the frequency response compensation method provided in any of the foregoing embodiments of this disclosure.

[0095] The memory 501 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this device network element and at least one other network element is achieved through at least one communication interface 503 (which can be wired or wireless), such as the Internet, wide area network, local area network, metropolitan area network, etc.

[0096] Bus 502 can be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. The memory 501 is used to store programs. After receiving an execution instruction, the processor 500 executes the program. The frequency response compensation method disclosed in any of the foregoing embodiments of this disclosure can be applied to the processor 500, or implemented by the processor 500.

[0097] The processor 500 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of the processor 500 or by instructions in software form. The processor 500 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPTA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this disclosure. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this disclosure can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 501. The processor 500 reads the information in memory 501 and, in conjunction with its hardware, completes the steps of the above method.

[0098] The computer device provided in this disclosure and the frequency response compensation method provided in this disclosure are based on the same inventive concept and have the same beneficial effects as the methods they employ, operate, or implement.

[0099] This disclosure also provides a computer-readable storage medium corresponding to the frequency response compensation method provided in the foregoing embodiments. The computer-readable storage medium is an optical disc, on which a computer program (i.e., a computer program product) is stored. When the computer program is run by a processor, it executes the frequency response compensation method provided in any of the foregoing embodiments.

[0100] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical and magnetic storage media, which will not be elaborated here.

[0101] The computer-readable storage medium provided in the above embodiments of this disclosure and the frequency response compensation method provided in the embodiments of this disclosure are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the applications stored therein.

[0102] This disclosure also provides a computer program product; please refer to [reference needed]. Figure 6 The computer program product 600 carries program code, namely computer program 601. The instructions included in the computer program 601 can be used to execute the steps of the frequency response compensation method described in the above method embodiments. For details, please refer to the above method embodiments, which will not be repeated here.

[0103] The aforementioned computer program product can be implemented through hardware, software, or a combination thereof. In one optional embodiment, the computer program product is specifically embodied in a computer storage medium; in another optional embodiment, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.

[0104] The basic principles of this disclosure have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this disclosure are merely examples and not limitations, and should not be considered as essential features of each embodiment of this disclosure. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the scope of this disclosure to the necessity of employing the aforementioned specific details for implementation.

[0105] The block diagrams of devices, apparatuses, devices, and systems disclosed herein are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.

[0106] Additionally, as used herein, the "or" used in a list of items beginning with "at least one" indicates a separate list, such that a list of, for example, "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not imply that the described example is preferred or better than other examples.

[0107] It should also be noted that in the systems and methods of this disclosure, the components or steps can be decomposed and / or recombined. These decompositions and / or recombinations should be considered as equivalent solutions to this disclosure.

[0108] Various changes, substitutions, and modifications can be made to the technology described herein without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of this disclosure is not limited to the specific aspects of the processes, machines, manufactures, events, means, methods, and actions described above. Currently existing or later-developed processes, machines, manufactures, events, means, methods, or actions that perform substantially the same function or achieve substantially the same result as the corresponding aspects described herein can be utilized. Therefore, the appended claims include such processes, machines, manufactures, events, means, methods, or actions within their scope.

[0109] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of this disclosure. Therefore, this disclosure is not intended to be limited to the aspects shown herein, but rather to be carried out within the widest scope consistent with the principles and novel features disclosed herein.

[0110] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this disclosure to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.

Claims

1. A frequency response compensation method, characterized in that, include: Obtain the frequency of the signal to be processed; Based on the frequency, the corresponding coefficient is retrieved from a pre-generated coefficient database; wherein, the coefficient database is used to store coefficients corresponding to different frequencies, and the coefficients are used to adjust the weights of the filter coefficients; The compensation coefficients of the filter are calculated based on the coefficients and the pre-generated filter coefficients. The signal to be processed is processed based on the filter configured with the compensation coefficients.

2. The frequency response compensation method as described in claim 1, characterized in that, The method for generating the coefficients includes: Select frequency points from the target frequency band according to the preset frequency steps; Calculate the frequency response corresponding to each of the aforementioned frequency points; A frequency response curve is generated using an interpolation algorithm and the frequency response corresponding to each frequency point; The frequency response curve is fitted to a univariate polynomial equation, and the coefficients are obtained based on the univariate polynomial equation.

3. The frequency response compensation method as described in claim 2, characterized in that, The method for generating the filter coefficients includes: The univariate polynomial equation is converted into the frequency response expression of the filter. Based on the number of terms included in the frequency response expression, the expressions for each of the filter coefficients are determined; Perform a Fourier transform on the expressions of each filter coefficient to confirm the function curve corresponding to each filter coefficient; Based on the function curve, the filter coefficients are designed using a preset algorithm and converter.

4. The frequency response compensation method as described in claim 1, characterized in that, Based on the coefficients and the filter coefficients, the compensation coefficients of the filter are calculated, including: Confirm the filter coefficients corresponding to each of the aforementioned coefficients; By adjusting the weights of the corresponding filter coefficients using the aforementioned coefficients, the filter coefficients are weighted and fused to obtain the filter compensation coefficients.

5. The frequency response compensation method as described in claim 1, characterized in that, The coefficients include coefficients for multiple terms and coefficients for constant terms; The multiplicative coefficients are used to adjust the frequency response of the filter, and the constant coefficients are used to adjust the gain of the filter coefficients.

6. The frequency response compensation method as described in claim 2, characterized in that, Using an interpolation algorithm and the frequency response corresponding to each frequency point, a frequency response curve is generated, including: Based on the different local oscillator frequencies, the target frequency band is divided into multiple sub-frequency bands; Interpolation algorithms are used to interpolate each of the sub-frequency bands, and extrapolation interpolation is performed at the boundaries of adjacent sub-frequency bands to obtain the frequency response corresponding to each interpolation point; A frequency response curve is generated based on the frequency response corresponding to each interpolation point and each frequency point.

7. A frequency response compensation device, characterized in that, include: The acquisition module is used to acquire the frequency of the signal to be processed; The lookup module is used to look up the corresponding coefficient from a pre-generated coefficient database based on the frequency; wherein the coefficient database is used to store coefficients corresponding to different frequencies, and the coefficients are used to adjust the weights of the filter coefficients; The calculation module is used to calculate the compensation coefficients of the filter based on the coefficients and the pre-generated filter coefficients; The processing module is used to process the signal to be processed based on the filter configured with the compensation coefficients.

8. A computer embedded device, comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1 to 6.