CN103577152A - Method for enlarging SFDR (spurious free dynamic range) of signal after data truncation - Google Patents
Method for enlarging SFDR (spurious free dynamic range) of signal after data truncation Download PDFInfo
- Publication number
- CN103577152A CN103577152A CN201310601768.XA CN201310601768A CN103577152A CN 103577152 A CN103577152 A CN 103577152A CN 201310601768 A CN201310601768 A CN 201310601768A CN 103577152 A CN103577152 A CN 103577152A
- Authority
- CN
- China
- Prior art keywords
- omega
- signal
- cut position
- sigma
- bit wide
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
The invention provides a method for enlarging an SFDR (spurious free dynamic range) of a signal after data truncation. A uniformly distributed random integer signal sequence in a certain amplitude range is generated through design, the bit width of the random integer signal sequence is identical with the truncated bit width, the random integer signal sequence is stacked on a signal before truncation, then bit width truncation is performed, and a random signal after truncation is obtained, so that the harmonic amplitude of the truncation error is decayed rapidly, harmonic distortion caused by direct truncation is eliminated, and the dynamic range of the random signal after truncation is enlarged.
Description
Technical field
The invention belongs to digital signal processing technique field, more specifically say, relate to a kind of method that improves signal Spurious Free Dynamic Range after data cut position.
Background technology
At present, the main devices that realizes digital signal processing is FPGA and DSP.Digital processing device all can be subject to the impact of " finite word length effect ", and each value of burst is all that form with limited bit wide exists.In general, the various computings of carrying out in FPGA all complete based on integer number, therefore, in FPGA internal arithmetic process, computing each time all may bring the increase of data bit width, cause the final operation result bit wide needed bit wide that surpasss the expectation, at this moment need final operation result to carry out cut position processing; Or when rear class processing bit wide is lower, also need the high-bit width operation result cut position of prime to process.The maximum bit wide that for example inner Fast Fourier Transform (FFT) (FFT) IP of the most of fpga chip core of ALTERA company can support is 24, if input signal is after a plurality of operations such as quantification, mixing, filtering and windowing, final operation result bit wide likely can be greater than 24.At this time, need to clip unnecessary figure place to meet the requirement of 24.
In the prior art, the common cut position way of digital signal processing is directly to cut out minimum a few positions, the bit wide requirement of processing to meet rear class, this direct cut position to long numeric data is processed, realization is the transfer process from high quantization precision to low quantified precision by data, in transfer process, minimizing due to data quantization step, the information of describing signal detail between adjacent two sampling points also reduces thereupon, the continuous change information that causes a plurality of sampled points of high quantization precision signal to represent becomes one-level and does not have vicissitudinous ladder, cause the low quantified precision signal obtaining to occur obvious harmonic distortion, reduce the Spurious Free Dynamic Range (SFDR) of the rear signal of conversion.
Suppose that x (n) is the final signal obtaining after a series of computings, effectively bit wide is A, and the signal obtaining after data cut position is y (n), and number of significant digit is B.If z (n) represents the error signal of clipping, bit wide is A-B, has following relation to set up:
x(n)=y(n)*2
A-B+z(n) (1)
If the discrete Fourier transformation (DFT) of x (n), y (n) and z (n) is respectively X (e
j ω), Y (e
j ω) and Z (e
j ω), discrete Fourier transformation is asked in (1) formula equal sign both sides:
That is: X (e
j ω)=2
a-By(e
j ω)+Z (e
j ω) (3)
From formula (3), can find out, in the situation that the relevant frequency spectrum parameter of x (n) is certain, the Frequency spectrum quality of the signal y (n) that cut position obtains is subject to the impact of cut position error z (n).
What z (n) represented is the A-B bit error signal of clipping, z (n)=x (n) (mod2
a-B), mod is congruence, represents to get x (n) divided by 2
a-Bthe remainder obtaining.
At x (n) ∈ [0,2
a-1], in scope, cut position error signal z (n) is with N(N=2
a-B) be the discrete sawtooth wave function in cycle, and when x (n) ∈ [0, N-1], z (n)=n.Can obtain thus the Fourier expansion formula of N point z (n):
Fourier series coefficient a wherein
kvalue be:
By formula (6), can obtain the expression formula of periodic signal z (n) Fourier transform in one-period is:
K value hour, amplitude versus frequency characte function representation as shown in the formula:
From formula (7), can find out, harmonic amplitude distributes and has approximate inversely proportional relation with k, decays slower.Cut position error has been introduced the harmonic wave burr with certain amplitude, must cause signal Spurious Free Dynamic Range to decline.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of method that improves signal Spurious Free Dynamic Range after data cut position is provided, eliminate the harmonic distortion that direct cut position causes, improve the dynamic range of signal after cut position.
For achieving the above object, the present invention is a kind of improves the method for signal Spurious Free Dynamic Range after data cut position, it is characterized in that, comprises the following steps:
(1), by random signal generation module, generate random integers burst d, d is uniformly distributed [0, N-1] upper obedience, wherein, and N=2
a-B, A be prime module produce by the bit wide of intercept signal x (n), B is signal z (n+d) bit wide after cut position, and A > B, the bit wide of random integers burst d is consistent with the bit wide cutting out;
(2), being added by intercept signal x (n) and random integers burst d that prime module is produced, then cut out minimum A-B position, obtain high B position signal z (n+d), complete cut position operation;
The distribution law function of random integers burst d is p (m),
fourier transform p (the e of p (m)
j ω) be:
If new cut position error signal be z ' (n), z ' (n) can be expressed as:
Wherein, z (n+d) refers to the signal that cut position obtains after cut position front signal x (n) adds random integers burst d;
Z ' (n) is the cross correlation function of signal z (n) and p (m), according to the relation between cross correlation function and convolution function, can obtain z ' spectrum expression formula (n) and is:
Z′(e
jω)=Z(e
-jω)P(e
jω)
Z ' amplitude versus frequency characte (n) is:
Goal of the invention of the present invention is achieved in that
The present invention is a kind of improves the method for signal Spurious Free Dynamic Range after data cut position, what by design, produce certain amplitude scope is uniformly distributed random integers burst, and the bit wide of random integers burst is consistent with the bit wide cutting out, on the signal that random integers burst is added to before cut position, and then carry out bit wide and block, the harmonic amplitude of cut position error is decayed fast, thereby eliminate the harmonic distortion that direct cut position causes, improve the dynamic range of signal after cut position.
Meanwhile, the present invention improves the method for signal Spurious Free Dynamic Range after data cut position and also has following beneficial effect:
(1), the present invention can make the harmonic amplitude of cut position error decay fast, thereby eliminate the harmonic distortion that direct cut position causes, improve the dynamic range of signal after cut position;
(2), the present invention has simple feature, especially in engineering, for digital signal processing, fine to signal Spurious Free Dynamic Range effect of optimization;
(3), the random integers burst bit wide that adopts in the present invention is consistent with the bit wide cutting out, and can not raise because amplitude is excessive like this end of low precision signal after cut position and make an uproar, and also can not change because amplitude is too small the ladder of low precision signal after cut position.
Accompanying drawing explanation
Fig. 1 is a kind of theory diagram of method that the present invention improves signal Spurious Free Dynamic Range after data cut position;
Fig. 2 adopts the signal spectrum before the present invention;
Fig. 3 adopts the signal spectrum after the present invention.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described, so that those skilled in the art understands the present invention better.Requiring particular attention is that, in the following description, when perhaps the detailed description of known function and design can desalinate main contents of the present invention, these are described in here and will be left in the basket.
Embodiment
Fig. 1 is a kind of theory diagram of method that the present invention improves signal Spurious Free Dynamic Range after data cut position.In the present embodiment, as shown in Figure 1, random signal generation module is designed to example with FPGA, and in FPGA, the generation of equally distributed random integers burst is by means of the read only memory ROM of matlab instrument and the realization of FPGA internal storage resources, and concrete operation step comprises:
(1), in matlab, to utilize function unidrnd (N, L, 1) to produce length be L at [0, N-1] the upper equally distributed random integers burst d of obedience, wherein, N=2
a-Ba be prime module produce by the bit wide of intercept signal x (n), B is signal z (n+d) bit wide after intercepting, and A > B, the bit wide of random integers burst d is consistent with the bit wide cutting out, and generates .mif file, at FPGA, call ROM core and load .mif file, generate new ROM core, new ROM core bit wide is A-B, and the degree of depth is L;
(2), will be added by the random integers burst d of intercept signal x (n) and ROM storage, then cut out minimum A-B position, obtain high B position signal z (n+d), complete cut position operation;
The distribution law function of random integers burst d is p (m),
fourier transform p (the e of p (m)
j ω) be:
If new cut position error signal be z ' (n), z ' (n) can be expressed as:
Wherein, z (n+d) refers to the signal that cut position obtains after cut position front signal x (n) adds random integers burst d;
Z ' (n) is the cross correlation function of signal z (n) and p (m), according to the relation between cross correlation function and convolution function, can obtain z ' spectrum expression formula (n) and is:
Z′(e
jω)=Z(e
-jω)P(e
jω)
Z ' amplitude versus frequency characte (n) is:
Fig. 2 adopts the signal spectrum before the present invention.
Fig. 3 adopts the signal spectrum after the present invention.
As shown in Figure 2, it is the signal spectrum of not processing through the present invention, on whole frequency spectrum, can observe harmonic component and not obtain fine inhibition, the harmonic wave burr with certain amplitude, the signal of processing by the present invention as shown in Figure 3, the harmonic component of this frequency spectrum obtains fine inhibition, improves signal Spurious Free Dynamic Range successful.
Although above the illustrative embodiment of the present invention is described; so that those skilled in the art understand the present invention; but should be clear; the invention is not restricted to the scope of embodiment; to those skilled in the art; as long as various variations appended claim limit and definite the spirit and scope of the present invention in, these variations are apparent, all utilize innovation and creation that the present invention conceives all at the row of protection.
Claims (1)
1. a method that improves signal Spurious Free Dynamic Range after data cut position, is characterized in that, comprises the following steps:
(1), by random signal generation module, generate random integers burst d, d is uniformly distributed [0, N-1] upper obedience, wherein, and N=2
a-B, A be prime module produce by the bit wide of intercept signal x (n), B is signal z (n+d) bit wide after cut position, and A > B, the bit wide of Random number sequence d is consistent with the bit wide cutting out;
(2), being added by intercept signal x (n) and random integers burst d that prime module is produced, then cut out minimum A-B position, obtain high B position signal z (n+d), complete cut position operation;
The distribution law function of random integers burst d is p (m),
fourier transform p (the e of p (m)
j ω) be:
If new cut position error signal be z ' (n), z ' (n) can be expressed as:
Wherein, z (n+d) refers to the signal that cut position obtains after cut position front signal x (n) adds random integers burst d;
Z ' (n) is the cross correlation function of signal z (n) and p (m), according to the relation between cross correlation function and convolution function, can obtain z ' spectrum expression formula (n) and is:
Z′(e
jω)=Z(e
-jω)P(e
jω)
Z ' amplitude versus frequency characte (n) is:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310601768.XA CN103577152A (en) | 2013-11-25 | 2013-11-25 | Method for enlarging SFDR (spurious free dynamic range) of signal after data truncation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310601768.XA CN103577152A (en) | 2013-11-25 | 2013-11-25 | Method for enlarging SFDR (spurious free dynamic range) of signal after data truncation |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103577152A true CN103577152A (en) | 2014-02-12 |
Family
ID=50049010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310601768.XA Pending CN103577152A (en) | 2013-11-25 | 2013-11-25 | Method for enlarging SFDR (spurious free dynamic range) of signal after data truncation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103577152A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110400570A (en) * | 2019-06-24 | 2019-11-01 | 成都航天通信设备有限责任公司 | A kind of multi-path digital audio mixing implementation method |
CN111970015A (en) * | 2020-10-22 | 2020-11-20 | 南昌大学 | Signal processing method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020154769A1 (en) * | 2000-12-07 | 2002-10-24 | Petersen Mette Vesterager | Method of generating pseudo-random numbers in an electronic device, and a method of encrypting and decrypting electronic data |
JP2011242827A (en) * | 2010-05-14 | 2011-12-01 | Iwate Univ | Random number generation system and program |
CN103197912A (en) * | 2013-03-21 | 2013-07-10 | 北京理工大学 | Uniform random number generation method for encoding deep-space communication protocol |
-
2013
- 2013-11-25 CN CN201310601768.XA patent/CN103577152A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020154769A1 (en) * | 2000-12-07 | 2002-10-24 | Petersen Mette Vesterager | Method of generating pseudo-random numbers in an electronic device, and a method of encrypting and decrypting electronic data |
JP2011242827A (en) * | 2010-05-14 | 2011-12-01 | Iwate Univ | Random number generation system and program |
CN103197912A (en) * | 2013-03-21 | 2013-07-10 | 北京理工大学 | Uniform random number generation method for encoding deep-space communication protocol |
Non-Patent Citations (1)
Title |
---|
郭连平 等: "数字信号处理过程中信号截位误差抑制方法研究", 《信号处理》, vol. 29, no. 5, 31 May 2013 (2013-05-31), pages 544 - 549 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110400570A (en) * | 2019-06-24 | 2019-11-01 | 成都航天通信设备有限责任公司 | A kind of multi-path digital audio mixing implementation method |
CN110400570B (en) * | 2019-06-24 | 2021-08-31 | 成都航天通信设备有限责任公司 | Multi-channel digital audio mixing implementation method |
CN111970015A (en) * | 2020-10-22 | 2020-11-20 | 南昌大学 | Signal processing method and system |
CN111970015B (en) * | 2020-10-22 | 2021-01-26 | 南昌大学 | Signal processing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103092060B (en) | Time interval measuring system and time interval measuring method which are based on field programmable gate array (FPGA) | |
CN105024960A (en) | DPD (Digital PreDistortion) system | |
CN117235420B (en) | Signal processing circuit, method, processor, storage medium and chip | |
CN103646011A (en) | Signal spectrum zooming method based on linear frequency modulation z transform | |
US20120166508A1 (en) | Fast fourier transformer | |
CN103577152A (en) | Method for enlarging SFDR (spurious free dynamic range) of signal after data truncation | |
CN1788413A (en) | Power amplifier pre-distortion | |
CN103544111B (en) | A kind of hybrid base FFT method based on real-time process | |
CN110620566B (en) | FIR filtering system based on combination of random calculation and remainder system | |
CN109525256A (en) | A kind of channelizing emitting structural of the narrow transition band filter group based on FPGA | |
CN101582059A (en) | Method of realizing parallel structure for FFT processor based on FPGA | |
CN101826890A (en) | Implementation method of ZC (Zadoff-Chu) sequence in LTE (Long Term Evolution) system | |
CN104393947A (en) | Method and device for realizing frequency domain ZC (zadoff-chu) sequence | |
US20140089370A1 (en) | Parallel bit reversal devices and methods | |
CN103838703A (en) | Method and device for achieving signal processing based on large count Fourier transforming | |
CN105634439A (en) | Design method of asynchronous shaping filter | |
TWI387921B (en) | A normal distributed random number generator by using the clt and the random number generating method thereof | |
Li et al. | Time-domain BEM analysis for three-dimensional elastodynamic problems with initial conditions | |
CN101840393B (en) | Treatment method and device of hybrid base discrete fourier conversion | |
CN101127575A (en) | An equably distributed random number generator and its generation method | |
CN103023512B (en) | Device and method for generating constant coefficient matrix in ATSC system RS coding | |
CN103095820A (en) | Method and device for determining terminal quantity of page access | |
JP2012160092A (en) | Arithmetic unit, operation method and program | |
CN110855246B (en) | Method for generating Gaussian white noise with arbitrary variance | |
CN103095418B (en) | The generating apparatus of constant coefficient matrix and method in CMMB system RS coding |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140212 |