A Faster Method for Accurate Spectral Testing without Requiring Coherent Sampling

Similar documents
A Novel Robust and Accurate Spectral Testing Method for Non-coherent Sampling

Analyzing A/D and D/A converters

New Features of IEEE Std Digitizing Waveform Recorders

Improving histogram test by assuring uniform phase distribution with setting based on a fast sine fit algorithm. Vilmos Pálfi, István Kollár

COMPARATIVE ANALYSIS OF DIFFERENT ACQUISITION TECHNIQUES APPLIED TO STATIC AND DYNAMIC CHARACTERIZATION OF HIGH RESOLUTION DAC

Discrete Fourier Transform (DFT)

Accurate and robust spectral testing with relaxed instrumentation requirements

Measurement of RMS values of non-coherently sampled signals. Martin Novotny 1, Milos Sedlacek 2

Fourier Signal Analysis

ON THE VALIDITY OF THE NOISE MODEL OF QUANTIZATION FOR THE FREQUENCY-DOMAIN AMPLITUDE ESTIMATION OF LOW-LEVEL SINE WAVES

Introduction. Chapter Time-Varying Signals

Chapter 5 Window Functions. periodic with a period of N (number of samples). This is observed in table (3.1).

User-friendly Matlab tool for easy ADC testing

ME scope Application Note 01 The FFT, Leakage, and Windowing

The Fundamentals of Mixed Signal Testing

Sub/super-synchronous harmonics measurement method based on PMUs

EE247 Lecture 14. To avoid having EE247 & EE 142 or EE290C midterms on the same day, EE247 midterm moved from Oct. 20 th to Thurs. Oct.

Signal Processing for Digitizers

THE APPLICATION WAVELET TRANSFORM ALGORITHM IN TESTING ADC EFFECTIVE NUMBER OF BITS

Michael F. Toner, et. al.. "Distortion Measurement." Copyright 2000 CRC Press LLC. <

Histogram Tests for Wideband Applications

Digital Waveform Recorders

ADC Based Measurements: a Common Basis for the Uncertainty Estimation. Ciro Spataro

6 Sampling. Sampling. The principles of sampling, especially the benefits of coherent sampling

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 6 Spectrum Analysis -- FFT

The Discrete Fourier Transform. Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido

Frequency Domain Representation of Signals

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

Harmonic Signal Processing Method Based on the Windowing Interpolated DFT Algorithm *

Distortion Analysis T S. 2 N for all k not defined above. THEOREM?: If N P is an integer and x(t) is band limited to f MAX, then

Location of Remote Harmonics in a Power System Using SVD *

CHAPTER 4 IMPLEMENTATION OF ADALINE IN MATLAB

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

EE 435. Lecture 34. Spectral Performance Windowing Quantization Noise

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b

ENGINEERING FOR RURAL DEVELOPMENT Jelgava, EDUCATION METHODS OF ANALOGUE TO DIGITAL CONVERTERS TESTING AT FE CULS

The Fundamentals of FFT-Based Signal Analysis and Measurement Michael Cerna and Audrey F. Harvey

DYNAMIC BEHAVIOR MODELS OF ANALOG TO DIGITAL CONVERTERS AIMED FOR POST-CORRECTION IN WIDEBAND APPLICATIONS

FOURIER analysis is a well-known method for nonparametric

FFT-based Digital Receiver Architecture for Fast-scanning Application

Chapter 2 Channel Equalization

Equalization of Multiple Interleaved Analog-to-Digital Converters (ADC s)

Multirate Digital Signal Processing

Encoding a Hidden Digital Signature onto an Audio Signal Using Psychoacoustic Masking

A COMPARATIVE ANALYSIS IN TERMS OF CONDUCTED SUSCEPTIBILITY OF PC-BASED DATA ACQUISITION SYSTEMS

A Faster and Accurate Method for Spectral Testing Applicable to Noncoherent Data

Data Converters. Specifications for Data Converters. Overview. Testing and characterization. Conditions of operation

TE 302 DISCRETE SIGNALS AND SYSTEMS. Chapter 1: INTRODUCTION

Analytical study of on-chip generations of analog sine-wave based on combined digital signals

ME scope Application Note 02 Waveform Integration & Differentiation

Studying DAC Capacitor-Array Degradation in Charge-Redistribution SAR ADCs

Current Rebuilding Concept Applied to Boost CCM for PF Correction

Discrete Fourier Transform

Department of Mechanical Engineering and Automation, Harbin Institute of Technology Shenzhen Graduate School, Shenzhen, , China

Chapter 4 SPEECH ENHANCEMENT

Study on Multi-tone Signals for Design and Testing of Linear Circuits and Systems

Noise Measurements Using a Teledyne LeCroy Oscilloscope

Correlation Between Static and Dynamic Parameters of A-to-D Converters: In the View of a Unique Test Procedure

CHAPTER. delta-sigma modulators 1.0

Digital Calibration for Current-Steering DAC Linearity Enhancement

Lecture 7 Frequency Modulation

Six Algorithms for Frequency Offset Estimation in OFDM Systems

Oscilloscope Measurement Fundamentals: Vertical-Axis Measurements (Part 1 of 3)

Self-Test Designs in Devices of Avionics

ZTEC Instruments. Oscilloscope Measurement Fundamentals: Avoiding Common Pitfalls Creston Kuenzi, Applications Engineer

Module 3 : Sampling and Reconstruction Problem Set 3

HARMONIC DISTORTION AND ADC. J. Halámek, M. Kasal, A. Cruz Serra (1) and M. Villa (2) ISI BRNO AS CR, Královopolská 147, Brno, Czech Republic

A POWER QUALITY INSTRUMENT FOR HARMONICS INTERHARMONICS AND AMPLITUDE DISTURBANCES MEASUREMENTS

Analog to Digital Converters Testing

Solution to Harmonics Interference on Track Circuit Based on ZFFT Algorithm with Multiple Modulation

High-resolution ADC operation up to 19.6 GHz clock frequency

Mel Spectrum Analysis of Speech Recognition using Single Microphone

Chapter 2 Direct-Sequence Systems

Data Acquisition Systems. Signal DAQ System The Answer?

Characterizing High-Speed Oscilloscope Distortion A comparison of Agilent and Tektronix high-speed, real-time oscilloscopes

Summary Last Lecture

Testing A/D Converters A Practical Approach

Problem Set 1 (Solutions are due Mon )

FUNDAMENTALS OF OSCILLOSCOPE MEASUREMENTS IN AUTOMATED TEST EQUIPMENT (ATE)

Dynamic DAC Testing by Registering the Input Code when the DAC output matches a Reference Signal

Laboratory Experiment #1 Introduction to Spectral Analysis

Computation of Error in Estimation of Nonlinearity in ADC Using Histogram Technique

TIMA Lab. Research Reports

DFT: Discrete Fourier Transform & Linear Signal Processing

Measurement of Delta-Sigma Converter

Broadband Signal Enhancement of Seismic Array Data: Application to Long-period Surface Waves and High-frequency Wavefields

Characterizing Distortion in Successive-Approximation Analog-to-Digital Converters due to Off-Chip Capacitors within the Voltage Reference Circuit

When and How to Use FFT

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

Journal of American Science 2015;11(7)

Summary Last Lecture

EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM

Timing Error Analysis in Digital-to-Analog Converters

Subband Analysis of Time Delay Estimation in STFT Domain

FPGA Based Mixed-Signal Circuit Novel Testing Techniques

Audio Restoration Based on DSP Tools

System on a Chip. Prof. Dr. Michael Kraft

Lab.3. Tutorial : (draft) Introduction to CODECs

The need for Data Converters

PART I: The questions in Part I refer to the aliasing portion of the procedure as outlined in the lab manual.

Transcription:

A Faster Method for Accurate Spectral Testing without Requiring Coherent Sampling Minshun Wu 1,2, Degang Chen 2 1 Xi an Jiaotong University, Xi an, P. R. China 2 Iowa State University, Ames, IA, USA Abstract The Discrete Fourier Transform (DFT) is the ubiquitous method of choice for spectral testing. Nevertheless, the correct application of DFT for slightly distorted sinusoidal signals requires either strict coherent sampling, or careful windowing, or other methods that are not computationally efficient. This paper introduces an improved method for achieving accurate spectral testing for approximate sinusoidal signals without the need for coherent sampling or windowing. Theoretical analysis, simulation and experimental results show that the proposed method is faster than the original method and more robust when the signal frequency is close to Nyquist frequency. Comparative studies demonstrate that the proposed algorithm achieves better spectral testing accuracies than those obtained using the windowing techniques. Keywords-Discrete Fourier Transform; coherent sampling; spectral testing I. INTRODUCTION Spectral performance of an integrated circuit is of critical concern in many important application areas such as signal processing and communications. It is well known that Discrete Fourier Transform (DFT) or its fast implementation Fast Fourier Transform (FFT) is the most prevalent method for spectral testing. However, when performing FFT for spectral testing of slightly distorted sinusoidal signals, the signal frequency and the sampling clock frequency of the data acquisition system must satisfy very stringent coherency condition. In the FFT algorithm, even the slightest mismatches between the two frequencies could cause a frequency leakage phenomenon in which energy from the fundamental spectral line is spread into neighboring frequencies. This causes the appearance of a skirt around the fundamental spectral line. In order to combat frequency leakage, the IEEE standard [1] as well as the best practice in industry is to require coherent sampling, which means the sampling clock signal should be perfectly synchronized with the signal under test. As a result, an integer multiple of signal periods are captured in a data record M. When this condition is guaranteed, direct use of FFT is permitted and the data analysis is computationally very efficient when M is the power of 2. It requires only O(Mlog 2 M) operations. Unfortunately, strictly coherent sampling requires an accurate synthesizer, which requires more design effort and large die area and is therefore unsuitable for on-chip implementation. An alternative method is to use the windowing technique [2][3] while allowing noncoherent sampling. This technique does not remove the skirting due to noncoherency, rather it merely suppresses the skirting levels at frequencies far away from the fundamental frequency. By doing so it alters the heights of the original spectral lines. Care must be taken in order to correctly recover the spectral lines. Furthermore, due to the fact that the amount of skirt suppression is limited, the windowing technique is not effective in spectral analysis of high purity signals. Other methods to combat spectral leakage include singular value decomposition [4], 2-D FFT [5], filter banks [6] and removing leakage in frequency domain [7]. These methods are accurate but they are very inefficient in computation. In order to overcome the shortcomings of the above methods, the concept of fundamental identification and replacement was first introduced in [8]. In this method, the amplitude, frequency and phase of the fundamental harmonic component are estimated first. Then the noncoherent fundamental harmonic component is replaced by a sine component that has the same amplitude and phase but with a slightly modified frequency so that it becomes coherent with the sampling clock. The method does not require coherent sampling or windowing. However, in the cases when the selected data record length M has large prime factors or M itself is a prime number, the computational efficiency of FFT (a component of the algorithm) is poor. Furthermore, the robustness of the method is reduced when the signal frequency is near Nyquist rate and additive noise is relative large. In this paper an improved fundamental identification and replacement technique is proposed. The new method uses a data record length that has only prime factors of 2 or 3, the smallest prime numbers. This guarantees that the new method is computational efficient with minimal negative impact on spectral analysis. The paper also introduces a new algorithm for counting the signal periods in the data which makes the proposed method more robust when the signal frequency is near Nyquist rate. In Section II, an improved fundamental identification and replacement technique is proposed in detail. The simulation and experimental results are reported in Section III and IV respectively. Section V concludes this paper. 978-1-4244-7934-4/11/$26. 211 IEEE 164

II. THE IMPROVED FUNDAMENTAL IDENTIFICATION AND REPLACEMENT TECHNIQUE This section we will discuss the improved fundamental identification and replacement method in detail. Denote f s as the sampling frequency, T s =1/f s as the sampling intervals, f i as the unknown input signal frequency, and M as the nominal data record length. Then J=M f i /f s =J + will be the number of periods of the input signal in the data record, where J is the integer part of J, is the fractional part of J. J and M are assumed to be co-prime. is unknown, so is J (J could be known). Suppose the input signal is xt () = Asin(2 π ft i + θ) + hd (1) where A 1, θ [,2 π), hd is the sum of 2 nd and higher harmonic components. The samples of x(t) at sampling rate f s are given by: k xk [ ] = Asin(2 π fi + θ) + hd (2) fs Since J=M f i /f s =J +, J J +Δ xk [ ] = Asin(2 π k+ θ) + hd= Asin(2 π k+ θ) + hd M M = x [ ] [ ] 1 k + xh k (3) In (3), x 1 [k] is the fundamental harmonic component of x[k], x h [k] is the sum of the 2nd and higher harmonic components of x[k]. From [8], we know that as long as is non-zero, which means the data record length is not exactly an integer number of signal periods, the DFT algorithm introduces an error term (skirt term) in the Fourier transform of the fundamental component. This leakage term can be so large that it completely inundates the harmonic distortion components, making it impossible to correctly test the true spectrum of the signal. In order to estimate and remove the skirt term from the DFT spectrum, the concept of fundamental identification and replacement was first introduced in [8]. In this method, the amplitude, frequency and phase of the fundamental harmonic component are estimated firstly in the time domain. Then the noncoherent fundamental harmonic component is replaced by a sine component that has the same amplitude and phase but with a slightly modified frequency so that it becomes coherent with the sampling clock. After that the standard FFT spectral analysis is done as usual. Unfortunately, the method in [8] has two shortcomings. The first shortcoming is that when the selected data record length M has large prime factors or M itself is a prime number, the computational efficiency of FFT (a component of the original algorithm) is poor. In order to avoid the cases, we choose the data record length M that has only prime factors of 2 or 3, the two smallest prime numbers. Furthermore, the pairs far away from zero, such as the pairs whose absolute values are larger than A / 2, are used to select the most suitable data record length M so that the effects of noise can be reduced greatly. For example, we find the first point x[k 1 ] whose absolute value is larger than A / 2 in the original data record, then compare x[k 1] with x[m 1 +k 1 ], x[m 2 +k 1 ],, x[m i +k 1 ],, x[m N +k 1 ], (M i has only prime factors of 2 or 3, the smallest prime numbers. M N is close to the length of original data record), to find x[m i +k 1 ] that minimizes the following equation ([ xmi + k1] xk [ 1]) + ([ xmi + k1 + 1] xk [ 1 + 1]) 2 + ( xm [ + k + 2] xk [ + 2]) (i=1, 2, 3,..., N) i 1 1 2 2 then x[m i +k 1 ] most closely matches x[k 1 ]. That is, the subsequence from x[k 1 ] through x[m i +k 1 ] most closely matches an integer number of signal periods. Then M i which has only prime factors of 2 or 3 is the most suitable data record length. When this is guaranteed, the proposed method is computationally more efficient than the original method. After choosing the most suitable data record length M, we still use the positive zero-crossing point as the starting point of the data record. For instance, assuming x[k 2 ] to be a positive zero-crossing point near x[k 1 ], then x[k 2 ] to x[m+k 2-1] is used for spectral analysis. By doing so, will be approximately and the errors in estimating will have less effects. The second shortcoming is that the robustness of the original method is reduced when the signal frequency is near Nyquist rate and additive noise is relative large. The reason is that the method in [8] doesn t count the integer cycles of input signal correctly in the cases. Therefore, a new accurate method for counting the integer cycles of input signal is applied in the new method. The new method for counting the integer cycles J int in the data sequence from x[k 2 ] to x[m+k 2-1] is introduced as follows (here we call it method I). a) Let y[k]=1 if xk [ ] A/ 2, y[k]=-1 if xk [ ] A/ 2, y[k]= if A/ 2 < x[ k] < A/ 2 then generate a new sequence y[k] ( by doing this, the effects of noise are reduced greatly ). b) In the sequence y[k], if the adjacent elements are the same, choose only one element, then get a new sequence w[k]. c) Define the variable c If for all k, we have w[k]=w[k+4], then let c= indicating f in f s /4. If there is at least one k with w[k]w[k+4], then let c=1 indicating f in >f s /4. d) Let zk [ ] = yk [ ], then get the new sequence z[k]. e) In the sequence z[k], if the adjacent elements are the same, choose only one element, then get a new sequence zz[k]. f) Count the sum sum(zz) of the non-zreo elements in sequence zz[k], g) Compute the integer cycles J int J int =floor(sum(zz)/2) if c= (4) 165

J int =M/2-floor(sum(zz)/2) if c=1. The algorithm (in step c) which determines whether the signal frequency is larger than fs / 4 can be easily proved by pigeonhole principle [9]. Because of page limitation, we won t discuss it in this paper. It should be pointed out that this method for counting the integer cycles is not robust when f in is close to f s /4. In this case, the step size of x[k] s phase is close to /2. Because of the noise, y[k] s value is not accurate when x[k] is close to A / 2 or A / 2. Therefore, when f in is close to f s /4, we use another method to count the integer cycles of input signal (Here we call it method II ). After method I is Jint executed, we get J int, if 2% < < 3%, we use method M II to recount J int. Method II is summarized by the following two steps: 1) Define the variable R For all i, if xi [ + 1] > xi [ ], let R=1, otherwise R=-1, so R reflects the rising and falling trend of sine wave. 2) The integer number of cycles J int can be counted at every transition from R=-1 to R=1. Method II is extremely robust when f in is close to f s /4. The procedure of the improved fundamental identification and replacement technique can be outlined in following 11 steps. 1) Capture a sufficient large number of samples, 2) Find the first point x[k 1 ] whose absolute value is larger than A / 2, 3) choose the most suitable data record length M. compare x[k 1 ] with x[m 1 +k 1 ], x[m 2 +k 1 ], x[m 3 +k 1 ],,x[m i +k 1 ],, x[m N +k 1 ] (M i has only prime factors of 2 or 3, M N is close to the length of original data record), to find the point x[m i +k 1 ] that most matches x[k 1 ] in the data sequence. Then M i is just the most suitable data record length M. 4) Find the positive zero-crossing point x[k 2 ] near x[k 1 ], use x[k 2 ] to x[k 2 +M-1] as the data record. 5) normalize the data record using the power-based normalization, and get the first estimate of the fundamental harmonic magnitude A. 6) count the integer cycles J int of the sequence from x[k 2 ] to x[k 2 +M-1] using method I, Jint 7) If 2% < < 3%, recount J int using method II, M 8) Compute the fractional cycle 1 Δ= [arcsin( xk [ ] / ) arcsin( [ ] / )] 2 A xk2 + M A (5) 2π Then the input signal frequency is Jint +Δ fi = fs (6) M 9) At a subset of data points write xk [ ] = A sin(2 π ft i k+ θ) (7) = Acos( θ)sin(2 π ft i k) + Asin( θ)cos(2 π ft i k) and use least square method to identify A cos() and A sin(). 1) Perform the fundamental component replacement xk [ ] = xk [ ] A sin(2 π ft i k+ θ) (8) + Asin(2 π fsjint / M + θ) The new data xk [ ] is generated by replacing the fundamental component from the original data (which is sampled noncoherently and causes possibly large skirts) with one that is coherent with the sampling clock. This can be achieved by simply subtracting a sine component with the identified parameters and adding a sine component with the same A and but with being rounded to zero. 11) Perform FFT analysis on xk [ ] as usual. The improved method uses the data record length M that has only prime factors of 2 or 3, the two smallest prime numbers. This guarantees that the new method is computational efficient. Furthermore, the new algorithm for counting the integer cycles of input signal makes the improved method more robust and more immune to noise. It works well even when the signal frequency is close to Nyquist rate and the additive noise is relative large. III. SIMUALTION RESULTS Simulation study has been conducted in MATLAB in order to verify the performance of the proposed algorithm. During the simulation, ADC (analog-to-digital converter) is modeled as a set of transition levels. Its nonlinearity error is chosen to be a Gaussian random variable with zero mean and standard deviation DNL. In this section we present the spectral testing example of 14-bit ADC with DNL of.8 LSB. Additive noise of input signal is also chosen to be a Gaussian random variable with zero mean and standard deviation of 1 LSB (least significant bit). The signal frequency is set to be close to Nyquist frequency. The data record length is 16384. For comparison, three different spectral testing methods are simulated first. They are: (1) straightforward application of FFT assuming periodic sampled sequence, (2) the proposed method, (3) perfect coherent sampling. Fig. 1 shows a time domain illustration of the coherent and noncoherent data. Fig. 2 shows the spectrum of straightforward application FFT to the noncoherent data samples. From Fig. 2, we can see that there is a large skirt around the fundamental spectral line. Therefore straightforward application of FFT suffered from large errors due to noncoherency. The spectrum of the noncoherent dada samples using the proposed method and the spectrum from perfect coherent sampling data are shown in Fig. 3 and Fig. 4 respectively. From Fig. 3 and Fig. 4 we see that both the spectrums show zero or minimal skirt, which indicates that the proposed method achieves comparable spectral testing accuracy as the perfect coherent sampling method. 166

1.5 -.5-1 2 4 6 8 1 Fig. 1 Data samples from coherent and noncoherent sampling -2-4 -6-8 -1-12 Coherent (o) and noncoherent (*)samples 2 4 6 8 1 12 14 16 Frequency bins (16384= clock frequency) Fig. 2 Straightforward application FFT to the noncoherent data samples -2-4 -6-8 -1-12 -2-4 -6-8 -1-12 Before any coherency correction ADC resolution: 14 Additive noise of input signal:1 LSB DNL sigma:.8 LSB After coherency correction ADC resolution: 14 Additive noise of input signal:1 LSB DNL sigma:.8 LSB SFDR=22.82 db THD=-58.91 db ENOB=2.12 SFDR=95.76 db THD=-88.59 db ENOB=12.9 1 2 3 4 5 Frequency bins (5832=clock frequency) Fig. 3 Spectrum of the noncoherent data samples using the proposed method With perfect coherent sampling ADC resolution: 14 Additive noise of input signal:1 LSB DNL sigma:.8 LSB SFDR=95.18 db THD=-89.23 db ENOB=12.1 5 1 15 2 25 3 35 4 Frequency bins (496=clock frequency) Fig. 4 Spectrum from perfect coherent sampling We also compare the proposed method with the windowing techniques and the original method [8] using the same noncoherent data record. The corresponding comparative results are summarized in Table I. From Table I we can see that the result of straightforward application of FFT is totally wrong although the computation is most efficient. Most windowing techniques only achieve limited TABLE I. M, ENOB, AND TIME USING DIFFERENT METHODS Methods M ENOB Time(ms) Straightforward FFT 16384 2.12 6.75 Hanning 16384 8.45 7.27 Hamming 16384 5.22 7.68 Blackman 16384 9.96 7.43 Blackmanharris 16384 12.4 7.59 Original method 12769( 113 113) 12.7 82.49 Proposed method 3 6 5832( 2 3 ) 12.9 9.44 accuracies although the computation is efficient. Both the proposed method and the original method achieve similar spectral accuracies as the perfect coherent sampling method. But the original method is most computational inefficient because the most suitable data record length of the original method is 12769, which comprises large factor 113. Therefore the computation of FFT is computational inefficient. Fortunately, the proposed method is computationally very efficient with only slightly more computations than FFT. Therefore, the simulation results show that the proposed method can achieve better spectral testing accuracies than those obtained using the windowing techniques. The computational efficiency of the algorithm is excellent with only minimal addition to the computational complexity of FFT. IV. EXPERIMENTAL RESULTS Since the proposed method exhibit excellent spectral performance, we want to validate the algorithm with experimental data. Fig. 5 shows the segment of captured noncoherent data in time domain. The data is the output of a commercial 16-bit SAR (successive approximate register) ADC and the noncoherent data record length is 32767. To analyze the spectral contents of the signal, one can straightforwardly apply FFT to the raw data. The resultant spectrum is shown in Fig. 6. The clearly visible skirting completely dominates any harmonic distortion components that may be present. Hence no testing information is obtained. Several different windowing techniques are applied to analyze the spectral contents of the collected signal. Fig.7 shows the spectrum using the hamming window. Compared to the spectrum obtained by performing FFT directly (see Fig. 6), the frequency leakage are combated a little. Nevertheless, the skirt is still large and the accurate spectral information cannot be available. In fact, in terms of windowing techniques, only one of the best windows such as Blackmanharris window can achieve accurate spectral testing result. Fig. 8 shows the spectrum using the Blackmanharris window. From Fig. 8 we can see that the frequency leakage is combated effectively. Then the proposed method was applied to analyze the spectral contents of the captured signal. The resultant 167

spectrum is shown in Fig. 9. From Fig. 9 we can see that the best data record length that applied in spectral analysis is 7776. We also notice that all skirting effects have been removed and the noise floor has been pushed down to the 127dB level. Rich spectral contents are clearly shown. The corresponding dynamic parameters such as SFDR, THD and ENOB are 16.78 db, -13.31 db and 14.99 respectively. Fig. 1 illustrates the spectral comparison of the Blackmanharris method and the proposed method around the signal bin. The horizontal axis is the frequency normalized versus the clock frequency. The vertical axis is the normalized power in db. From Fig.1 we see that, for Blackmanharris method, there is still a small skirt around the signal bin. In order to compute the signal power accurately in the spectral testing, we should add the power of the bins around the signal bin. Care must be taken in order to conduct the spectral testing accurately. Fortunately, for the proposed method, the skirt is removed thoroughly. The sole signal bin is enough to compute the signal power accurately. Therefore, the proposed method can be easily applied for the spectral testing. In fact, the noncoherent data is obtained by discarding the last point of the perfectly coherent sampling data record whose length is 32768. The spectrum of the perfectly coherent sampling data is shown in Fig. 11. The computed SFDR, THD, ENOB are 16.85 db, -14.56 db and 14.98 respectively. Comparing the spectral parameters obtained by the proposed method and perfectly sampling method respectively, we can see that they are very close to each other. Furthermore, comparing Fig. 6 with Fig. 11 we can conclude that the coherent sampling condition is very strict and even tiny mismatches (lack of one point) can cause disastrous measurement results. We also compare the proposed method with the original method using the same noncoherent data record. All the comparative results are summarized in Table II. From Table II we can see that the result of straightforward application of FFT is totally wrong although the computation is most efficient. Most windowing techniques only achieve limited accuracies although the computation is efficient. Both the proposed method and the original method achieve similar spectral accuracies as the perfect coherent sampling method. But the original method is most computational inefficient because the most suitable data record length of the original method is 3947, which comprises a large factor 4421. Therefore the computation of FFT is computational inefficient. Fortunately, the proposed method is computationally very efficient with only slightly more computations than FFT. Therefore, the experimental results show that the proposed method achieves better spectral testing accuracies than those obtained using the windowing techniques. 4 x 14 2-2 Segment of raw data -4 2 4 6 8 1 Sampling instant index Fig. 5 Time domain data samples from the noncoherent sampling -2-4 -6-8 -1-12 Spectrum by straightforward application of FFT SFDR=42.7 db THD=-78.37 db ENOB=4.56-14.5 1 1.5 2 2.5 3 Frequency bins (32767= clock frequency) x 1 4 Fig. 6 Straightforward application of FFT to the noncoherent data samples -2-4 -6-8 -1-12 Spectrum using Hamming window SFDR=59.77 db THD=-95.7 db ENOB=7.56-14.5 1 1.5 2 2.5 3 Frequency bins (32767= clock frequency) x 1 4-2 -4-6 -8-1 -12 Fig. 7 Spectrum using Hamming window Spectrum using Blackmanharris window SFDR=16.93 db THD=-14.38 db ENOB=14.97-14.5 1 1.5 2 2.5 3 Frequency bins (32767= clock frequency) x 1 4 Fig. 8 Spectrum using Blackmanharris window 168

Fig. 9 Spectrum obtained by the proposed method Fig. 1 Spectral comparison of Blackmanharris method and the proposed method around the signal bin -2-4 -6-8 -1-12 -14 1 2 3 4 5 6 7 Frequency bins (7776= clock frequency) -2-4 -6-8 -1-12 -14-2 -4-6 -8-1 -12 Fig. 11 Spectrum obtained by the perfectly cohrent sampling method TABLE II. M, ENOB, AND TIME USING DIFFERENT METHODS Methods M ENOB Time(ms) Straightforward FFT 32767 4.56 27.32 Hanning 32767 12.76 32.53 Hamming 32767 7.56 33.66 Blackman 32767 13.97 31.82 Blackmanharris 32767 14.97 35.75 Original method 3947( 7 4421) 14.97 423.24 Proposed method 5 5 7776( 2 3 ) 14.99 51.27 Perfect coherent sampling method Spectrum using the proposed method SFDR=16.78 db THD=-13.31 db ENOB=14.99 Spectral comparison of Blackmanharris and the proposed method Blackmanharris The proposed method.794.796.798.8.82.84.86 Frequency normalized versus the clock frequency Spectrum using perfectly coherent sampling method SFDR=16.85 db THD=-14.56 db ENOB=14.98-14.5 1 1.5 2 2.5 3 Frequency bins (32768= clock frequency) x 1 4 32768 14.98 3.99 method uses the data record length that has only prime factors of 2 or 3, the smallest prime numbers. This guarantees that the new method is computational efficient. Therefore, the new method is faster than the original method. This paper also introduces a new algorithm for counting the signal periods in the data which makes the proposed method more robust and more immune to noise. Simulation and experimental results show that the proposed method exhibits fast and accurate performance for spectral testing. REFERENCES [1] IEEE Standard for Digitizing Waveform Recorders, IEEE Std. 157TM-27, 28. [2] P. Carbone, E. Nunzi, and D. Petri, "Windows for ADC Dynamic Testing via Frequency-Domain Analysis", IEEE Trans. Instr. & Meas., vol.5, No.6, pp.1571-1576, 21. [3] F.J.Harris, "On the Use of Windows for Harmonic Analysis with the Discrete Fourier Transform", Proc. IEEE, vol.66, No.1, pp.51-83, 1978. [4] J. Zhang and S.J Ovaska, " ADC Characterization based on singular value decomposition", IEEE Trans. Instr. & Meas., vol.51, No.1, pp.138-143, 22. [5] X. Gao, S.J Ovaska and S. Shenghe,et al, " Analysis of second-order harmonic distortion of ADC using bispectrum", IEEE Trans. Instr. & Meas., vol.45, No.1, pp.5-55, 1996. [6] C. Rebai, D. Dallet and P Marchegay, " Non-coherent Spectral Analysis of ADC using Filter Bank", IEEE Trans. Instr. & Meas., Tech. Conf., pp.183-187, 22. [7] F. xu, Algorithm to Remove Spectral Leakage, Close-in Noise, and Its Application to Converter, Proceedings IEEE Instrumentation and Measurement Technology Conference, pp. 138-142, 26. [8] Z. Yu, D. Chen, and R. L. Geiger, "A Computationally Efficient Method for Accurate Spectral Testing without Requiring Coherent Sampling ", Proceedings IEEE Int. Test Conference, pp.1398-147, 24. [9] Wojciech A. Trybulec, "Pigeon Hole Principle", Journal of Formalizaed Mathematics, vol.2, pp.1-5, 199. V. CONCLUSIONS An improved method for fast and accurate spectral testing is proposed. The proposed method does not require coherent sampling or the use of windowing. The proposed 169