Coherent Sampling with PScope

The most common problem we encounter in interpreting data from PScope is non-coherent sampling. A non-coherent signal is one in which a complete period is not sampled in the data record.   This means there is a partial period that is sampled (Figure 1).  The non-complete period is translated into frequency spreading when viewed in the frequency domain (Figure 2). This severely degrades the SNR of the ADC, causing people to think that the SNR is not up to datasheet spec. This is only because of the mathematical spreading not the ADC itself.

Coherent Sampling 2

Figure 1. Coherent and Non-Coherent Sampling Time Domain

Coherent Sampling 3

Figure 2. Coherent and Non-Coherent Sampling Frequency Domain

To correct for this issue, a windowing function can be used. A windowing function is a raised cosine function that is applied to the data record. It applies a weighting factor to each of the discrete samples in the record to exaggerate the center of the record and attenuate the extremes. This means the unfinished period that causes the frequency spreading will be suppressed, and the noise floor will appear flat. Windowing will solve the problem of non-coherent signaling. It corrects the signal so that the SNR will be correct (Figure 3).

Coherent Sampling 4

Figure 3. Windowing

The drawback of this technique is that the power of the fundamental will be spread into the neighboring bins of the frequency domain. This means that the total power in the bin of the fundamental will be reduced. Depending on the window used it can be significant. For example, the Blackman-Harris 92dB window will reduce the power in the bin of the fundamental by 6dB. The power is spread into two bins on either side of the fundamental. By integrating these bins, the total power can be found (Figure 4). PScope has these functions built in, and does the integration automatically.

Coherent Sampling 5

Figure 4. Effects of Windowing

To eliminate the need for a windowing function, coherent signaling is required. For a given sample rate a coherent signal can be found with this equation:

Coherent Sampling 1

Where fIN is the input frequency, fS is the sample rate and Nsamples is the transform size. Mcycles needs to be an integer. This equation can be solved by pluging in the known variables, fIN, fS, and Nsamples. This will give a decimal value for Mcycles. By rounding this to the nearest integer and then solving for fIN the appropriate input frequency can be calculated, and entered into the signal generator. It typically will require 6 digits of accuracy.    

Included in PScope is a coherent frequency calculator, which will calculate coherent input frequencies for a given sample rate (Figure 5). First enter in the sample rate (Point 1 in Figure 5 below). Click the processing options icon on the tool bar (Point 2 in Figure 5 below), and enter the desired input frequency in the proper box (Point 3 in Figure 5 below). Hit "Calculate" and the actual coherent frequency will appear. Plug the coherent signal frequency into the generator exactly and the signals will be coherent, and windowing won’t be required.

Coherent Sampling 6
Coherent Sampling 7

Figure 5. PScope Coherent Frequency Calculator

Об авторах

Generic_Author_image

Clarence Mayott

Clarence Mayott is a mixed signal application section leader with over 10 years of experience at Linear Technology.

Beginning with the DC1151, a demo board for the LTC2246H, Clarence has designed nearly all of the high speed ADC demo boards for Linear Technology. These boards have been used for evaluation purposes in a wide range of applications. He designed demo boards with complete signal chains combining amplifiers and ADC combinations to help the end customer evaluate systems more easily. He also designed companion boards, including clock and signal source boards, to help facilitate the evaluation of high speed ADC demo boards. Clarence manages the continued development of PScope, the software used for various pipeline and SAR ADCs.

His expertise in design and layout of demo boards allows him to instruct customers on how to implement high speed ADCs into their own designs. He has worked on many technical areas, including medical, automotive and communications. His experience allows him to see schematic errors, minute layout errors, and other design flaws in designs.

With the release of the LTC2000, Clarence has expanded his knowledge base to include high speed DACs and waveform generation in addition to high speed ADCs. As an application section leader he oversees the continued development of LTDACGen a new software tool for generating complex waveforms for high speed DACs.

He has given technical trainings both within Linear Technology and to potential customers describing how to implement proper signal chains from the antenna through the FPGA.

He received an M.S. in Electrical Engineering from Santa Clara University and a B.S. degree in Electrical Engineering from California State University Polytechnic San Luis Obispo.