WO2022028073A1 - Flatness compensation method and apparatus, and storage medium and electronic device - Google Patents
Flatness compensation method and apparatus, and storage medium and electronic device Download PDFInfo
- Publication number
- WO2022028073A1 WO2022028073A1 PCT/CN2021/097384 CN2021097384W WO2022028073A1 WO 2022028073 A1 WO2022028073 A1 WO 2022028073A1 CN 2021097384 W CN2021097384 W CN 2021097384W WO 2022028073 A1 WO2022028073 A1 WO 2022028073A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sequence
- gain
- deviation
- baseband signal
- mentioned
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/06—Receivers
- H04B1/10—Means associated with receiver for limiting or suppressing noise or interference
- H04B1/12—Neutralising, balancing, or compensation arrangements
- H04B1/123—Neutralising, balancing, or compensation arrangements using adaptive balancing or compensation means
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/02—Details ; arrangements for supplying electrical power along data transmission lines
- H04L25/03—Shaping networks in transmitter or receiver, e.g. adaptive shaping networks
- H04L25/03828—Arrangements for spectral shaping; Arrangements for providing signals with specified spectral properties
Definitions
- the present invention relates to the field of communications, and in particular, to a flatness compensation method and device, a storage medium and an electronic device.
- Embodiments of the present invention provide a flatness compensation method and device, a storage medium, and an electronic device, so as to at least solve the problem of pre-compensating a baseband signal by a filter generated by a conventional IFFT or training method in the related art. Poor technical issues.
- a method for compensating for flatness including: sampling the gain of the transceiver link in the frequency range affected by the baseband signal at an oversampling interval to obtain a gain sequence; according to the gain sequence and The gain reference value generates a deviation sequence, wherein the gain reference value is a desired flat link gain value; the deviation sequence is extracted by the oversampling multiple corresponding to the oversampling interval to obtain an initial correction sequence, wherein the initial correction sequence is a subsequence of the above-mentioned deviation sequence; the above-mentioned initial correction sequence is optimized to obtain an optimized correction sequence; the above-mentioned optimized correction sequence is converted to obtain a filter tap coefficient; a target filter is generated according to the above-mentioned filter tap coefficient, and the above-mentioned target filter is used.
- the above-mentioned baseband signal is compensated by the controller.
- an apparatus for compensating for flatness including: a first processing unit configured to sample the gain of the transceiver link in the frequency range affected by the baseband signal at an oversampling interval, A gain sequence is obtained; a second processing unit is configured to generate a deviation sequence according to the gain sequence and a gain reference value, wherein the gain reference value is an expected flat link gain value; a third processing unit is configured to use the oversampling interval The corresponding oversampling multiples extract the above-mentioned deviation sequence to obtain an initial correction sequence, wherein the above-mentioned initial correction sequence is a subsequence of the above-mentioned deviation sequence; the optimization unit is set to optimize the above-mentioned initial correction sequence to obtain an optimized correction sequence; conversion; The unit is configured to convert the above-mentioned optimized correction sequence to obtain filter tap coefficients; the fourth processing unit is configured to generate a target filter according to the above-mentioned filter tap coefficients,
- a computer-readable storage medium where a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute the above-mentioned flatness calculation when running. compensation method.
- an electronic device including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the above-mentioned computer program through the computer program Compensation method for flatness.
- the gain of the transceiver link in the frequency range affected by the baseband signal is sampled at an oversampling interval to obtain a gain sequence; the deviation sequence is generated according to the gain sequence and the gain reference value, wherein the gain reference value is expected
- the flat link gain value of obtain an optimized correction sequence; convert the above optimized correction sequence to obtain filter tap coefficients; generate a target filter according to the above filter tap coefficients, and use the above target filter to compensate the above baseband signal.
- the filter tap coefficients can be determined step by step according to the information according to the above method, which can make the obtained filter tap coefficients More accurate, finally, the target filter is generated according to the filter tap coefficient, and the target filter is used to compensate the baseband signal, which improves the compensation effect for the baseband signal.
- FIG. 1 is a schematic diagram of an application environment of a flatness compensation method according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart of an optional flatness compensation method according to an embodiment of the present invention.
- FIG. 3 is a schematic flowchart of another optional flatness compensation method according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of an optional flatness compensation device according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of an optional electronic device according to an embodiment of the present invention.
- FIG. 1 is a block diagram of a hardware structure of a mobile terminal according to a flatness compensation method according to an embodiment of the present invention.
- the mobile terminal may include one or more (only one is shown in FIG.
- processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 configured to store data, wherein the above-mentioned mobile terminal may further include a transmission device 106 and an input/output device 108 configured as a communication function.
- a processing device such as a microprocessor MCU or a programmable logic device FPGA
- a memory 104 configured to store data
- the above-mentioned mobile terminal may further include a transmission device 106 and an input/output device 108 configured as a communication function.
- FIG. 1 is only a schematic diagram, which does not limit the structure of the above-mentioned mobile terminal.
- the mobile terminal may also include more or fewer components than those shown in FIG. 1 , or have a different configuration than that shown in FIG. 1 .
- the memory 104 may be configured to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the flatness compensation method in the embodiment of the present invention, and the processor 102 runs the computer programs stored in the memory 104, Thereby, various functional applications and compensation of flatness are performed, ie, the above-mentioned method is realized.
- Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
- the memory 104 may further include memory located remotely from the processor 102, and these remote memories may be connected to the mobile terminal through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
- Transmission means 106 are arranged to receive or transmit data via a network.
- the specific example of the above-mentioned network may include a wireless network provided by a communication provider of the mobile terminal.
- the transmission device 106 includes a network adapter (Network Interface Controller, NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet.
- the transmission device 106 may be a radio frequency (Radio Frequency, RF for short) module, which is configured to communicate with the Internet in a wireless manner.
- RF Radio Frequency
- the above-mentioned terminal equipment may include, but is not limited to, at least one of the following: a mobile phone (such as an Android mobile phone, an iOS mobile phone, etc.), a notebook computer, a tablet computer, a handheld computer, MID (Mobile Internet Devices, Mobile Internet Devices, etc.) Internet devices), PADs, desktop computers, etc.
- the above-mentioned networks may include, but are not limited to, wired networks and wireless networks, wherein the wired networks include local area networks, metropolitan area networks, and wide area networks, and the wireless networks include Bluetooth, WIFI, and other networks that implement wireless communication.
- the above server may be a single server or a server cluster composed of multiple servers. The above is just an example, which is not limited in this embodiment.
- the flow of the above-mentioned flatness compensation method may include the steps:
- Step S202 sampling the gain of the transceiver link in the frequency range affected by the baseband signal at an oversampling interval to obtain a gain sequence.
- an oversampling interval can be set, and the gain of the transceiver link in the frequency range affected by the baseband signal at the oversampling interval is sampled to obtain a gain sequence.
- Step S204 Generate a deviation sequence according to the gain sequence and the gain reference value, where the gain reference value is an expected flat link gain value.
- a gain reference value may be preset, and then a deviation sequence is generated according to the gain sequence and the gain reference value, wherein the gain reference value is an expected flat link gain value.
- Step S206 extracting the deviation sequence according to the oversampling multiple corresponding to the oversampling interval to obtain an initial correction sequence, where the initial correction sequence is a subsequence of the deviation sequence.
- the deviation sequence is further processed by the oversampling multiple corresponding to the oversampling interval to obtain the above initial correction sequence, which is a subsequence of the above deviation sequence.
- Step S208 the above-mentioned initial correction sequence is optimized to obtain an optimized correction sequence.
- the above-mentioned initial correction sequence is further optimized, for example, in an iterative manner, the initial correction sequence is optimized to obtain an optimized correction sequence.
- Step S210 Convert the above-mentioned optimization and correction sequence to obtain filter tap coefficients.
- the optimization and correction sequence is converted to obtain filter tap coefficients.
- Step S212 Generate a target filter according to the filter tap coefficients, and use the target filter to compensate the baseband signal.
- filter tap coefficients can be obtained according to the above steps, and then a target filter can be generated according to the filter tap coefficients. Then, the target filter can be used to compensate the baseband signal.
- the gain pre-compensation is performed on the baseband signal through the filter, which can solve the problem of in-band gain unevenness caused by the unbalanced gain of the device hardware.
- the above target filter may be an FIR filter.
- the above-mentioned flatness compensation method may be applied, but not limited to, in scenarios such as pre-compensating the gain of the baseband signal through a filter in a communication system.
- the baseband signal may be compensated by the compensation method according to the above-mentioned flatness.
- the gain of the transceiver link in the frequency range affected by the baseband signal is sampled at an oversampling interval to obtain a gain sequence; the deviation sequence is generated according to the gain sequence and the gain reference value, wherein the gain reference value is desired flat link gain value; extract the above deviation sequence with the oversampling multiple corresponding to the above oversampling interval to obtain an initial correction sequence, wherein the above initial correction sequence is a subsequence of the above deviation sequence; optimization to obtain an optimized correction sequence; convert the optimized correction sequence to obtain filter tap coefficients; generate a target filter according to the filter tap coefficients, and use the target filter to compensate the baseband signal.
- the filter tap coefficients can be determined step by step according to the information according to the above method, which can make the obtained filter tap coefficients More accurate, finally, the target filter is generated according to the filter tap coefficient, and the target filter is used to compensate the baseband signal, which improves the compensation effect for the baseband signal.
- the method before sampling the gain of the transceiver link in the frequency range affected by the baseband signal at an oversampling interval, the method further includes: setting the number N of filter tap coefficients and the compensation interval R, where N is an integer greater than or equal to 2, the compensation interval R ⁇ [Fc-Fs/2, Fc+Fs/2], Fc is the center frequency of the radio frequency corresponding to the baseband signal, and Fs is the baseband Signal sampling rate; sampling the gain of the transceiver link in the frequency range affected by the baseband signal at an oversampling interval to obtain a gain sequence, comprising: sampling the above-mentioned transceiver link at the baseband signal at the oversampling interval
- an appropriate number N of filter tap coefficients is selected according to hardware resource consumption, where N is an integer greater than or equal to 2.
- R can be a single interval or multiple intervals.
- R satisfies R ⁇ [Fc–Fs/2,Fc+Fs/2], where Fc is the center frequency of the radio frequency corresponding to the baseband signal, and Fs is the sampling rate of the baseband signal.
- the test frequency interval [Fc–Fs/2, Fc+Fs/2) has a total of N*K sampling points gain value.
- G(n) ⁇ g(0),g(1),...,g(N*K-1) ⁇ , where the unit of the gain value is Db , K is the oversampling factor.
- generating the deviation sequence according to the gain sequence and the gain reference value includes: generating the deviation sequence according to the following formula:
- the above G(n) is the above-mentioned gain sequence
- the above-mentioned C(n) is the above-mentioned deviation sequence
- the above-mentioned T is the above-mentioned gain reference value
- the above-mentioned f(n) is the function related to the n radio frequency frequency points corresponding to the above-mentioned baseband signal
- the above-mentioned A is the expected stopband gain of the above-mentioned target filter
- the above-mentioned A is the preset value set according to the above-mentioned N.
- the above f(n) is the mapping function between the element index in the G(n) sequence and the radio frequency point corresponding to the baseband signal, and the deviation sequence is the target reference of the target filter response.
- the above-mentioned extracting the above-mentioned deviation sequence by the over-sampling multiple corresponding to the above-mentioned over-sampling interval to obtain an initial correction sequence includes: obtaining the above-mentioned initial correction sequence according to the following formula:
- the above C(n) is the above offset sequence
- the above D(n) is the above initial correction sequence
- the above K is the oversampling multiple corresponding to the above oversampling interval
- the above K is an integer greater than or equal to 2.
- performing the above-mentioned optimization on the above-mentioned initial correction sequence to obtain an optimized correction sequence includes: inputting the above-mentioned initial correction sequence into an iterator; and performing the above-mentioned initial correction sequence in the above-mentioned iterator according to the following formula Iterative optimization:
- the above-mentioned P and the above-mentioned M are both N*N perturbation matrices
- the above-mentioned STEP is the iteration step size
- IN is the N*N unit matrix
- the above-mentioned initial sequence of B(n) is the above-mentioned initial correction sequence D(n);
- the above-mentioned initial correction sequence is input to the iterator, and the initial correction sequence is processed in the above-mentioned manner to obtain the result R(n) output by the iterator for the first time, and the first output result is input into the above-mentioned iterator again. , and continue the loop processing in the above-mentioned manner to obtain the second output result R(n), ..., and so on, until the convergence condition is reached, then the last output result of the iterator is used as the final optimization correction sequence O (n).
- converting the above-mentioned optimized correction sequence to obtain the filter tap coefficients includes: obtaining the above-mentioned filter tap coefficients according to the following formula:
- the above-mentioned H(n) is the above-mentioned filter tap coefficient
- the above-mentioned O(n) is the optimization correction sequence
- the above-mentioned method further includes: obtaining the deviation value sequence and the target deviation value according to the following formula:
- M(n) 20*log 10 (
- ) n 0, 1, ..., N*K-1;
- a compensation curve is generated according to the above E(n), and the compensation effect of the baseband signal is evaluated according to the above compensation curve and the above-mentioned target deviation value E, wherein the above-mentioned E(n) is the above-mentioned deviation value sequence, and the above-mentioned E is the above-mentioned target deviation value.
- the above E is the evaluation value of the flatness peak-to-peak value of the above compensation curve.
- the method may include the following steps:
- the test interval frequency baseband signal sampling rate/number of tap coefficients is required.
- the test interval is large, and the test data cannot be reflected.
- Filters generated using IFFT or training methods often cannot accurately assess compensated in-band flatness peak-to-peak. Therefore, it is necessary to find a more suitable tap coefficient to make the compensation performance better and to better evaluate the peak-to-peak value of the in-band flatness after compensation.
- Step 1 set the number of filter taps.
- an appropriate number N of filter tap coefficients is selected according to hardware resource consumption, where N is an integer greater than or equal to 2.
- Step 2 setting the radio frequency range R for compensation.
- R can be a single interval or multiple intervals.
- R satisfies R ⁇ [Fc–Fs/2,Fc+Fs/2], where Fc is the center frequency of the radio frequency, and Fs is the baseband signal sampling rate.
- Step 3 gain curve measurement.
- the radio frequency point Fc corresponding to the baseband signal DC as the origin
- Fs/(N*K) as the oversampling interval
- the test frequency interval [Fc–Fs/2, Fc+Fs/2) is N*K in total gain value for each sample point.
- Step 4 set the gain reference value T.
- the reference value T is the desired flat link gain value.
- Step 5 generate a deviation sequence C(n).
- the deviation sequence C(n) is generated according to the following formula:
- f(n) is the mapping function between the element index in the G(n) sequence and the radio frequency frequency of the baseband signal
- the deviation sequence is the target reference for compensating the filter response.
- T is the gain reference value, ie the desired flat link gain value.
- Step 6 Generate an initial correction sequence D(n).
- D(n) is a subsequence of the deviation sequence, where C(n) is K times D(n), and D(n) can be obtained by selecting a part of the values from C(n).
- Step 7 generate an optimized correction sequence O(n).
- the generation method of the optimized correction sequence O(n) is specifically as follows: Step (1) The iterator input is a correction sequence B(n) of length N, wherein the initial sequence of B(n) is the above-mentioned initial correction sequence. D(n). Step (2) introduces a perturbation matrix P of N*N, and M is defined as follows:
- STEP is the step size of the search iterative algorithm
- IN is the unit matrix of N *N.
- Step (3) Perform filter conversion on the elements in each row of the P and M matrices, and calculate the deviation value E, and store the results in the corresponding rows of the corresponding result matrices Rp and Rm respectively.
- the resulting matrix size is 1*N.
- Step (4) compares and obtains the smallest unit in Rp and Rm, and outputs it as the deviation value of the current iteration.
- the corresponding row element sequence of the matrix corresponding to the minimum value is taken as the iterative output correction sequence R(n).
- the iterative step size in the above steps (1) to (4) can be set in the following manner: by passing the iterative output R(n) to the iterative input B(n), the above steps ( 1) to (4) obtain the optimized correction sequence O(n) and the final deviation value Ef.
- the convergence conditions can be set in the following ways: 1. The number of iterations is fixed; 2. The deviation value E does not change significantly after a certain number of iterations (for example, it is less than the set value). threshold); 3. The deviation value E reaches the system expectation.
- the filter conversion method is as follows: it is assumed that the input is a correction sequence O(n), the output is the filter tap coefficient H(n), and the lengths are all N.
- the input is the filter tap coefficient H(n), the deviation sequence C(n), and the output is the deviation value E.
- M(n) 20*log 10 (
- ) n 0, 1, ..., NK-1;
- M(n) is the gain compensation value of the filter coefficient H(n) at each sampling point in S3, and is arranged in ascending order of frequency.
- the deviation value is obtained by subtracting the minimum value from the maximum value in the deviation value sequence E(n).
- Step 8 generate filter tap coefficients.
- Step 9 generate a compensation curve.
- the sequence formed by taking the T–E(n) at the end of the iteration represents the expected curve of the system gain after compensation, and the obtained E is the evaluation value of the peak-to-peak value of the system flatness after compensation.
- the filter tap coefficients obtained in the above manner can obtain a better compensation effect, and the oversampling interval can obtain more
- the information of the baseband signal is comprehensively processed, and an iterative algorithm is used to find a more suitable filter tap coefficient.
- the final generated filter tap coefficient is unchanged, it can have a better curve, and finally A filter more capable of compensating the curve is obtained, which improves the compensation effect.
- a flatness compensation device is also provided, as shown in FIG. 3 , the device includes:
- the first processing unit 402 is configured to sample the gain of the transceiver link in the frequency range affected by the baseband signal at an oversampling interval to obtain a gain sequence
- the second processing unit 404 is configured to generate a deviation sequence according to the gain sequence and the gain reference value, wherein the gain reference value is an expected flat link gain value;
- the third processing unit 406 is configured to extract the above-mentioned deviation sequence with the oversampling multiple corresponding to the above-mentioned oversampling interval to obtain an initial correction sequence, wherein the above-mentioned initial correction sequence is a subsequence of the above-mentioned deviation sequence;
- the optimization unit 408 is configured to optimize the above-mentioned initial correction sequence to obtain the optimized correction sequence
- the conversion unit 410 is configured to convert the above-mentioned optimized correction sequence to obtain filter tap coefficients
- the fourth processing unit 412 is configured to generate a target filter according to the filter tap coefficients, and use the target filter to compensate the baseband signal.
- the gain of the transceiver link in the frequency range affected by the baseband signal is sampled at an oversampling interval to obtain a gain sequence; the deviation sequence is generated according to the gain sequence and the gain reference value, wherein the gain reference value is desired flat link gain value; extract the above deviation sequence with the oversampling multiple corresponding to the above oversampling interval to obtain an initial correction sequence, wherein the above initial correction sequence is a subsequence of the above deviation sequence; optimization to obtain an optimized correction sequence; convert the optimized correction sequence to obtain filter tap coefficients; generate a target filter according to the filter tap coefficients, and use the target filter to compensate the baseband signal.
- the filter tap coefficients can be determined step by step according to the information according to the above method, which can make the obtained filter tap coefficients More accurate, finally, the target filter is generated according to the filter tap coefficient, and the target filter is used to compensate the baseband signal, which improves the compensation effect for the baseband signal.
- the above-mentioned second processing unit is further configured to generate the above-mentioned deviation sequence according to the following formula:
- the above G(n) is the above-mentioned gain sequence
- the above-mentioned C(n) is the above-mentioned deviation sequence
- the above-mentioned T is the above-mentioned gain reference value
- the above-mentioned f(n) is the function related to the n radio frequency frequency points corresponding to the above-mentioned baseband signal
- the above-mentioned A is the expected stopband gain of the above-mentioned target filter
- the above-mentioned A is the preset value set according to the above-mentioned N.
- the above-mentioned third processing unit is further configured to obtain the above-mentioned initial correction sequence according to the following formula:
- the above C(n) is the above offset sequence
- the above D(n) is the above initial correction sequence
- the above K is the oversampling multiple corresponding to the above oversampling interval
- the above K is an integer greater than or equal to 2.
- the above-mentioned optimization unit is further configured to input the above-mentioned initial correction sequence into an iterator; and perform iterative optimization on the above-mentioned initial correction sequence in the above-mentioned iterator according to the following formula:
- the above-mentioned P and the above-mentioned M are both N*N perturbation matrices
- the above-mentioned STEP is the iteration step size
- IN is the N*N unit matrix
- the above-mentioned initial sequence of B(n) is the above-mentioned initial correction sequence D(n);
- the above-mentioned conversion unit is further configured to obtain the above-mentioned filter tap coefficients according to the following formula:
- the above-mentioned H(n) is the above-mentioned filter tap coefficient
- the above-mentioned O(n) is the optimization correction sequence
- the above device also includes: obtaining the deviation value sequence and the target deviation value according to the following formula:
- M(n) 20*log 10 (
- ) n 0, 1, ..., N*K-1;
- a compensation curve is generated according to the above E(n), and the compensation effect of the baseband signal is evaluated according to the above compensation curve and the above-mentioned target deviation value E, wherein the above-mentioned E(n) is the above-mentioned deviation value sequence, and the above-mentioned E is the above-mentioned target deviation value.
- the above E is the evaluation value of the flatness peak-to-peak value of the above compensation curve.
- a storage medium is also provided, where a computer program is stored in the storage medium, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
- the above-mentioned storage medium may be configured to store a computer program configured to perform the following steps: S1, sampling the gain of the transceiver link in the frequency range affected by the baseband signal at an oversampling interval , obtain a gain sequence; S2, generate a deviation sequence according to the gain sequence and the gain reference value, wherein the gain reference value is the desired flat link gain value; S3, use the oversampling multiple corresponding to the above oversampling interval to the above deviation sequence Perform extraction to obtain an initial correction sequence, wherein the above-mentioned initial correction sequence is a subsequence of the above-mentioned deviation sequence; S4, optimize the above-mentioned initial correction sequence to obtain an optimized correction sequence; S5, convert the above-mentioned optimized correction sequence to obtain a filter Tap coefficients; S6, generate a target filter according to the filter tap coefficients, and use the target filter to compensate the baseband signal.
- S1 sampling the gain of the transceiver link in the frequency range affected by the baseband signal at an over
- the above-mentioned storage medium may be configured to store a computer program configured to execute the above steps.
- the storage medium may include: a flash disk, a ROM (Read-Only Memory, read-only memory), a RAM (Random Access Memory, a random access device), a magnetic disk or an optical disk, and the like.
- an electronic device configured to implement the above-mentioned flatness compensation method.
- the electronic device includes a memory 502 and a processor 505 .
- the processor 504 is configured to perform the steps in any of the above method embodiments by the computer program.
- the above-mentioned electronic apparatus may be located in at least one network device among multiple network devices of a computer network.
- the above-mentioned processor may be configured to perform the following steps through a computer program: S1, sampling the gain of the transceiver link in the frequency range affected by the baseband signal at an oversampling interval to obtain the gain sequence; S2, generate a deviation sequence according to the gain sequence and the gain reference value, wherein the gain reference value is an expected flat link gain value; S3, extract the deviation sequence according to the oversampling multiple corresponding to the oversampling interval, Obtaining an initial correction sequence, wherein the initial correction sequence is a subsequence of the deviation sequence; S5, optimizing the initial correction sequence to obtain an optimized correction sequence; S5, converting the optimized correction sequence to obtain filter tap coefficients; S6: Generate a target filter according to the filter tap coefficients, and use the target filter to compensate the baseband signal.
- FIG. 5 is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, and a mobile Internet device (Mobile Internet device). Internet Devices, MID), PAD and other terminal equipment.
- FIG. 5 does not limit the structure of the above electronic device.
- the electronic device may also include more or less components than those shown in FIG. 5 (eg, network interfaces, etc.), or have a different configuration than that shown in FIG. 5 .
- the memory 502 may be configured to store software programs and modules, such as program instructions/modules corresponding to the flatness compensation method and device in the embodiment of the present invention, and the processor 504 runs the software programs and modules stored in the memory 502, Thus, various functional applications and flatness compensation are performed, that is, the above-mentioned flatness compensation method is realized.
- Memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, memory 502 may further include memory located remotely from processor 504, and these remote memories may be connected to the terminal through a network.
- the memory 502 may be specifically, but not limited to, be set to store information such as the target height of the target object.
- the memory 502 may include, but is not limited to, the first processing unit 402 , the second processing unit 404 , the third processing unit 406 , the optimizing unit 408 , the first processing unit 404 , the third processing unit 406 , the The conversion unit 410 and the fourth processing unit 412 .
- it may also include, but is not limited to, other module units in the above-mentioned flatness compensation apparatus, which will not be repeated in this example.
- the above-mentioned transmission device 506 is configured to receive or send data via a network.
- Specific examples of the above-mentioned networks may include wired networks and wireless networks.
- the transmission device 506 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers through a network cable so as to communicate with the Internet or a local area network.
- the transmission device 506 is a radio frequency (RF) module, which is configured to communicate with the Internet in a wireless manner.
- RF radio frequency
- the above-mentioned electronic device further includes: a connection bus 508 configured to connect various module components in the above-mentioned electronic device.
- the above-mentioned terminal or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be communicated by the multiple nodes through a network A distributed system formed by formal connections.
- a peer-to-peer (P2P, Peer To Peer) network can be formed between nodes, and any form of computing equipment, such as servers, terminals and other electronic devices can become a node in the blockchain system by joining the peer-to-peer network.
- the storage medium may include: a flash disk, a read-only memory (Read-Only Memory, ROM), a random access device (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
- the integrated units in the above-mentioned embodiments are implemented in the form of software functional units and sold or used as independent products, they may be stored in the above-mentioned computer-readable storage medium.
- the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, Several instructions are included to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention.
- the disclosed client may be implemented in other manners.
- the device embodiments described above are only illustrative, for example, the division of units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be combined or integrated into Another system, or some features can be ignored, or not implemented.
- the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of units or modules, and may be in electrical or other forms.
- Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
- the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
- the flatness compensation method and device, the storage medium, and the electronic device provided by the embodiments of the present invention have the following beneficial effects: in the process of oversampling the baseband signal, more baseband signals can be obtained. Then, according to this information, the filter tap coefficients are determined step by step in the above-mentioned manner, which can make the obtained filter tap coefficients more accurate. Finally, a target filter is generated according to the filter tap coefficients, and the target filter is used to The signal is compensated to improve the compensation effect of the baseband signal.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Power Engineering (AREA)
- Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
- Amplifiers (AREA)
Abstract
Description
Claims (10)
- 一种平坦度的补偿方法,包括:A compensation method for flatness, including:以过采样间隔对收发机链路在基带信号影响的频率范围内的增益进行采样,得到增益序列;sampling the gain of the transceiver link in the frequency range affected by the baseband signal at an oversampling interval to obtain a gain sequence;根据所述增益序列和增益参考值生成偏差序列,其中,所述增益参考值为期望的平坦链路增益值;generating a deviation sequence according to the gain sequence and a gain reference value, wherein the gain reference value is a desired flat link gain value;以所述过采样间隔对应的过采样倍数对所述偏差序列进行抽取,得到初始修正序列,其中,所述初始修正序列为所述偏差序列的子序列;Extracting the deviation sequence by the oversampling multiple corresponding to the oversampling interval to obtain an initial correction sequence, wherein the initial correction sequence is a subsequence of the deviation sequence;对所述初始修正序列进行优化,得到优化修正序列;Optimizing the initial correction sequence to obtain an optimized correction sequence;对所述优化修正序列进行转换,得到滤波器抽头系数;Converting the optimized correction sequence to obtain filter tap coefficients;根据所述滤波器抽头系数生成目标滤波器,使用所述目标滤波器对所述基带信号进行补偿。A target filter is generated from the filter tap coefficients, and the baseband signal is compensated using the target filter.
- 根据权利要求1所述的方法,其中,The method of claim 1, wherein,在所述以过采样间隔对收发机链路在基带信号影响的频率范围内的增益进行采样之前,所述方法还包括:设置滤波器抽头系数数量N和补偿区间R,其中,所述N为大于或等于2的整数,所述补偿区间R∈[Fc-Fs/2,Fc+Fs/2],所述Fc为所述基带信号对应的射频中心频点,所述Fs为基带信号采样率;Before sampling the gain of the transceiver link in the frequency range affected by the baseband signal at the oversampling interval, the method further includes: setting the number N of filter tap coefficients and the compensation interval R, where N is An integer greater than or equal to 2, the compensation interval R∈[Fc-Fs/2, Fc+Fs/2], the Fc is the radio frequency center frequency corresponding to the baseband signal, and the Fs is the baseband signal sampling rate ;所述以过采样间隔对收发机链路在基带信号影响的频率范围内的增益进行采样,得到增益序列,包括:以所述过采样间隔对所述收发机链路在所述基带信号的所述补偿区间R内的增益进行采样,得到N*K个增益值,根据所述N*K个增益值得到所述增益序列,其中,所述频率范围包括所述补偿区间R,所述过采样间隔=Fs/(N*K),所述K为所述过采样倍数,所述K为大于或等于2的整数,所述增益序列为G(n)={g(0),g(1),…,g(N*K-1)},所述N*K个增益值为g(0),g(1),…,g(N*K–1)。The sampling of the gain of the transceiver link in the frequency range affected by the baseband signal at an oversampling interval to obtain a gain sequence includes: sampling all the gain of the transceiver link at the baseband signal at the oversampling interval. The gain in the compensation interval R is sampled to obtain N*K gain values, and the gain sequence is obtained according to the N*K gain values, wherein the frequency range includes the compensation interval R, and the oversampling interval=Fs/(N*K), the K is the oversampling multiple, the K is an integer greater than or equal to 2, and the gain sequence is G(n)={g(0), g(1 ),...,g(N*K-1)}, the N*K gain values are g(0), g(1),...,g(N*K-1).
- 根据权利要求1所述的方法,其中,所述根据所述增益序列和增益参考值生成偏差序列,包括:The method according to claim 1, wherein the generating a deviation sequence according to the gain sequence and the gain reference value comprises:根据以下公式生成所述偏差序列:The bias sequence is generated according to the following formula:其中,所述G(n)为所述增益序列,所述C(n)为所述偏差序列,所述T为所述增益参考值,所述f(n)为与所述基带信号对应的n个射频频点相关的函数,所述A为所述目标滤波器的期望阻带增益,所述A为根据所述N所设置的预设值。Wherein, the G(n) is the gain sequence, the C(n) is the deviation sequence, the T is the gain reference value, and the f(n) is the baseband signal corresponding to the A function related to n radio frequency points, the A is the desired stopband gain of the target filter, and the A is a preset value set according to the N.
- 根据权利要求1所述的方法,其中,所述以所述过采样间隔对应的过采样倍数对所述偏差序列进行抽取,得到初始修正序列,包括:The method according to claim 1, wherein the decimation of the deviation sequence by the oversampling multiple corresponding to the oversampling interval to obtain an initial correction sequence, comprising:根据以下公式得到所述初始修正序列:The initial correction sequence is obtained according to the following formula:其中,所述C(n)为所述偏差序列,所述D(n)为所述初始修正序列,所述K为所述过采样间隔对应的过采样倍数,所述K为大于或等于2的整数。Wherein, the C(n) is the deviation sequence, the D(n) is the initial correction sequence, the K is the oversampling multiple corresponding to the oversampling interval, and the K is greater than or equal to 2 the integer.
- 根据权利要求4所述的方法,其中,所述对所述初始修正序列进行优化,得到优化修正序列,包括:The method according to claim 4, wherein the optimizing the initial correction sequence to obtain an optimized correction sequence comprises:将所述初始修正序列输入至迭代器;inputting the initial revision sequence to an iterator;根据以下公式在所述迭代器中对所述初始修正序列进行迭代优化:The initial revision sequence is iteratively optimized in the iterator according to the following formula:其中,所述P和所述M均为N*N的扰动矩阵,所述STEP为迭代步长,I N为N*N的单位矩阵,所述B(n)的初始序列为所述初始修正序列D(n); Wherein, the P and the M are both N*N perturbation matrices, the STEP is the iterative step size, the I N is the N*N unit matrix, and the initial sequence of the B(n) is the initial correction sequence D(n);对所述P和所述M中每一行中的元素进行滤波器转换,并计算所述P和所述M中每一行中的元素的偏差值;Perform filter conversion on the elements in each row of the P and the M, and calculate the deviation value of the elements in each row of the P and the M;将所述每一行中的元素的偏差值分别存入对应的结果矩阵Rp和Rm的对应行中;The deviation values of the elements in each row are stored in the corresponding rows of the corresponding result matrices Rp and Rm respectively;确定所述Rp和所述Rm中的最小值,将最小值对应矩阵的对应行元素序列作为所述迭代器输出的一次修正序列R(n);Determine the minimum value in the Rp and the Rm, and use the corresponding row element sequence of the minimum value corresponding matrix as the primary correction sequence R(n) output by the iterator;在达到收敛条件的情况下,将最后一次输出的R(n)修正序列确定为所述优化修正序列O(n)。When the convergence condition is reached, the last output R(n) correction sequence is determined as the optimization correction sequence O(n).
- 根据权利要求1所述的方法,其中,所述对所述优化修正序列进行转换,得到滤波器抽头系数,包括:The method according to claim 1, wherein the converting the optimized correction sequence to obtain filter tap coefficients comprises:根据以下公式得到所述滤波器抽头系数:The filter tap coefficients are obtained according to the following formula:其中,所述H(n)为所述滤波器抽头系数,所述O(n)为优化修正序列。Wherein, the H(n) is the filter tap coefficient, and the O(n) is the optimization correction sequence.
- 根据权利要求6所述的方法,其中,在所述对所述优化修正序列进行转换,得到滤波器抽头系数之后,所述方法还包括:The method according to claim 6, wherein after converting the optimized correction sequence to obtain filter tap coefficients, the method further comprises:根据以下公式得到偏差值序列和目标偏差值:The sequence of deviation values and the target deviation value are obtained according to the following formulas:P(n)=DFT(K(n)),n=0,1,2...,K*N-1P(n)=DFT(K(n)), n=0, 1, 2..., K*N-1M(n)=20*log 10(|Q(n)|) n=0,1,...,N*K-1 M(n)=20*log 10 (|Q(n)|) n=0, 1, ..., N*K-1E=Max(E(n))-Min(E(n))E=Max(E(n))-Min(E(n))根据所述E(n)生成补偿曲线,根据所述补偿曲线和所述目标偏差值E对所述基带信号的补偿效果进行评估,其中,所述E(n)为所述偏差值序列,所述E为所述目标偏差值,所述E为所述补偿曲线的平坦度峰-峰值的评估值。A compensation curve is generated according to the E(n), and the compensation effect of the baseband signal is evaluated according to the compensation curve and the target deviation value E, wherein the E(n) is the deviation value sequence, and the The E is the target deviation value, and the E is the peak-to-peak evaluation value of the flatness of the compensation curve.
- 一种平坦度的补偿装置,包括:A flatness compensation device, comprising:第一处理单元,设置为以过采样间隔对收发机链路在基带信号影响的频率范围内的增益进行采样,得到增益序列;a first processing unit, configured to sample the gain of the transceiver link in the frequency range affected by the baseband signal at an oversampling interval to obtain a gain sequence;第二处理单元,设置为根据所述增益序列和增益参考值生成偏差序列,其中,所述增益参考值为期望的平坦链路增益值;a second processing unit, configured to generate a deviation sequence according to the gain sequence and a gain reference value, wherein the gain reference value is an expected flat link gain value;第三处理单元,设置为以所述过采样间隔对应的过采样倍数对所述偏差序列进行抽取,得到初始修正序列,其中,所述初始修正序列为所述偏差序列的子序列;a third processing unit, configured to extract the deviation sequence with an oversampling multiple corresponding to the oversampling interval to obtain an initial correction sequence, wherein the initial correction sequence is a subsequence of the deviation sequence;优化单元,设置为对所述初始修正序列进行优化,得到优化修正序列;an optimization unit, configured to optimize the initial correction sequence to obtain an optimized correction sequence;转换单元,设置为对所述优化修正序列进行转换,得到滤波器抽头系数;a conversion unit, configured to convert the optimized correction sequence to obtain filter tap coefficients;第四处理单元,设置为根据所述滤波器抽头系数生成目标滤波器,使用所述目标滤波器对所述基带信号进行补偿。The fourth processing unit is configured to generate a target filter according to the filter tap coefficients, and use the target filter to compensate the baseband signal.
- 一种计算机可读的存储介质,所述计算机可读的存储介质包括存储的程序,其中,所述程序运行时执行上述权利要求1至7任一项中所述的方法。A computer-readable storage medium comprising a stored program, wherein when the program is run, the method described in any one of the above claims 1 to 7 is performed.
- 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行所述权利要求1至7任一项中所述的方法。An electronic device comprising a memory and a processor, the memory having a computer program stored therein, the processor being arranged to perform the method of any one of claims 1 to 7 by means of the computer program.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
BR112022024636A BR112022024636A2 (en) | 2020-08-04 | 2021-05-31 | FLATNESS COMPENSATION METHOD AND APPARATUS, COMPUTER READABLE NON-TRANSITORY STORAGE, ELECTRONIC APPLIANCE |
CA3184303A CA3184303A1 (en) | 2020-08-04 | 2021-05-31 | Flatness compensation method and apparatus, storage medium and electronic device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010773642.0A CN111901004B (en) | 2020-08-04 | 2020-08-04 | Flatness compensation method and device, storage medium and electronic equipment |
CN202010773642.0 | 2020-08-04 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022028073A1 true WO2022028073A1 (en) | 2022-02-10 |
Family
ID=73245422
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/097384 WO2022028073A1 (en) | 2020-08-04 | 2021-05-31 | Flatness compensation method and apparatus, and storage medium and electronic device |
Country Status (4)
Country | Link |
---|---|
CN (1) | CN111901004B (en) |
BR (1) | BR112022024636A2 (en) |
CA (1) | CA3184303A1 (en) |
WO (1) | WO2022028073A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111901004B (en) * | 2020-08-04 | 2022-04-12 | 三维通信股份有限公司 | Flatness compensation method and device, storage medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005286893A (en) * | 2004-03-30 | 2005-10-13 | Murata Mfg Co Ltd | Passband flatness compensation circuit and filter |
CN105591656A (en) * | 2015-12-24 | 2016-05-18 | 三维通信股份有限公司 | Transceiver gain flatness compensation method |
CN107786287A (en) * | 2016-08-31 | 2018-03-09 | 大唐联仪科技有限公司 | A kind of flatness calibration method and system |
CN110336572A (en) * | 2019-06-11 | 2019-10-15 | 三维通信股份有限公司 | A kind of gain flatness compensation method of transceiver |
CN111901004A (en) * | 2020-08-04 | 2020-11-06 | 三维通信股份有限公司 | Flatness compensation method and device, storage medium and electronic equipment |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5737342A (en) * | 1996-05-31 | 1998-04-07 | Quantum Corporation | Method for in-chip testing of digital circuits of a synchronously sampled data detection channel |
KR100396607B1 (en) * | 2000-10-28 | 2003-09-02 | 주식회사 아모텍 | Circuit for Compensating Passband Flatness |
US7505537B1 (en) * | 2003-03-25 | 2009-03-17 | Marvell International Ltd. | System and method for controlling gain and timing phase in a presence of a first least mean square filter using a second adaptive filter |
US7746970B2 (en) * | 2005-11-15 | 2010-06-29 | Qualcomm Incorporated | Method and apparatus for filtering noisy estimates to reduce estimation errors |
KR101297547B1 (en) * | 2009-12-17 | 2013-08-14 | 한국전자통신연구원 | Method and apparatus of processing trnasmitting/receiving digital signal for compensation for in-band gain flatness |
GB2484701B8 (en) * | 2010-10-21 | 2014-07-16 | Bluwireless Technlologiy Ltd | Processing a received training sequence in a wireless communications systems |
US8971397B2 (en) * | 2011-03-10 | 2015-03-03 | International Business Machines Corporation | On-the-fly compensation of sampling frequency and phase offset in receiver performing ultra-high-speed wireless communication |
CN102832987B (en) * | 2012-08-02 | 2015-03-18 | 奥维通信股份有限公司 | LMS (least mean square) algorithm-based system and method for correcting digital repeater flatness in band |
JP6517924B2 (en) * | 2015-04-13 | 2019-05-22 | 日本電信電話株式会社 | Linear prediction encoding device, method, program and recording medium |
-
2020
- 2020-08-04 CN CN202010773642.0A patent/CN111901004B/en active Active
-
2021
- 2021-05-31 BR BR112022024636A patent/BR112022024636A2/en unknown
- 2021-05-31 CA CA3184303A patent/CA3184303A1/en active Pending
- 2021-05-31 WO PCT/CN2021/097384 patent/WO2022028073A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005286893A (en) * | 2004-03-30 | 2005-10-13 | Murata Mfg Co Ltd | Passband flatness compensation circuit and filter |
CN105591656A (en) * | 2015-12-24 | 2016-05-18 | 三维通信股份有限公司 | Transceiver gain flatness compensation method |
CN107786287A (en) * | 2016-08-31 | 2018-03-09 | 大唐联仪科技有限公司 | A kind of flatness calibration method and system |
CN110336572A (en) * | 2019-06-11 | 2019-10-15 | 三维通信股份有限公司 | A kind of gain flatness compensation method of transceiver |
CN111901004A (en) * | 2020-08-04 | 2020-11-06 | 三维通信股份有限公司 | Flatness compensation method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
BR112022024636A2 (en) | 2023-02-28 |
CA3184303A1 (en) | 2022-02-10 |
CN111901004B (en) | 2022-04-12 |
CN111901004A (en) | 2020-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102650392B1 (en) | Method and apparatus for obtaining transmitter test parameters and storage medium | |
EP1829252A2 (en) | Testing of transmitters for communication links by software simulation of reference channel and/or reference receiver | |
Rached et al. | Unified importance sampling schemes for efficient simulation of outage capacity over generalized fading channels | |
WO2022028073A1 (en) | Flatness compensation method and apparatus, and storage medium and electronic device | |
US10554379B2 (en) | Method for obtaining phase detection signal in clock recovery circuit and phase detector | |
TW201933854A (en) | Systems and methods of analyzing an optical transport network | |
US20200252032A1 (en) | Compensating for transmitter nonlinearities | |
JP2001251222A (en) | Equalization for multi-channel receiving node | |
CN109510681B (en) | Reference node selection method with minimum time synchronization series of communication network | |
US10715360B2 (en) | Data scrambling method and scrambling apparatus | |
CN111030644B (en) | Finite time dissipation filtering method of nonlinear networked control system | |
CN101682367B (en) | Signal quality determination in cable networks | |
CN115828823B (en) | Layout information output method and device for reading cavity and filter in superconducting quantum chip | |
CN115390113A (en) | BD3 high-precision positioning method and system for power system | |
CN113328845B (en) | Method and device for compensating flatness of downlink carrier | |
Patnaik et al. | Implementation of a 18 GHz bandwidth Channel Emulator using an FIR filter | |
US20240098600A1 (en) | Physical layer rate estimates in wireless communication systems | |
WO2018054259A1 (en) | Method and apparatus for processing baseband signal | |
WO2023284492A1 (en) | Optical signal-to-noise ratio estimation method, optical communication device, and storage medium | |
CN112422464B (en) | Error vector determination and nonlinear signal correction method and device | |
WO2022042736A1 (en) | Signal compensation processing method and apparatus | |
CN115378371A (en) | Signal processing method for band-limited predistortion system and band-limited predistortion system | |
CN113676156B (en) | LMS-based arbitrary amplitude-frequency response FIR filter design method | |
Rivlin et al. | Edgeworth expansion based model for the convolutional noise pdf | |
CN117728886A (en) | TDEC (time domain reflectometry) testing method and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21853024 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 3184303 Country of ref document: CA |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112022024636 Country of ref document: BR |
|
ENP | Entry into the national phase |
Ref document number: 112022024636 Country of ref document: BR Kind code of ref document: A2 Effective date: 20221201 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21853024 Country of ref document: EP Kind code of ref document: A1 |