The invention relates generally to data encoding and more particularly to digital to time conversion and digital to frequency conversion.
Data conversion is simply the process of working with signals in different number domains. Traditionally, information has been processed and encoded in the voltage domain; however, more recently the encoding of information in time has considerably gained popularity.
It would be advantageous to provide an improved method and system for encoding of data in time and frequency.
In accordance with an embodiment of the invention there is provided a circuit comprising: an input port for receiving data for being encoded; a digital to time converter for encoding the data within a time based aspect of at least a carrier signal to provide an encoded signal; a phase locked loop circuit for filtering the encoded signal to provide a filtered encoded signal; and an output port for providing the filtered encoded signal having the first data encoded therein.
In accordance with another aspect of an embodiment of the invention there is provided a method comprising: receiving digital data for being encoded; encoding at least one bit of the data as a time variation within an encoded signal; and adjusting a phase of the encoded signal to filter noise outside of the band of interest.
In accordance with an embodiment of the invention there is provided a circuit comprising: an input port for receiving data for being encoded; a digital to frequency converter for encoding the data within a signal, the data encoded as signals of different frequencies within the signal to provide an encoded signal; and an output port for providing the encoded signal having the data encoded therein.
In accordance with another aspect of an embodiment of the invention there is provided a method comprising: receiving data for being encoded; encoding the data within a signal, the data encoded as signals of different frequencies within the signal to provide an encoded signal; and providing the encoded signal having the data encoded therein.
Exemplary embodiments of the invention will now be described in conjunction with the following drawings, in which:
Time mode signal processing involves encoding information in the form of time difference variables using for example phase modulation. Referring to
It has been shown that a phase-locked-loop can be used as an anti-imaging filter for DTCs. Just as for any analog filter, one can manipulate its transfer function to optimize the filter response and conversion resolution. More generally, a PLL is a negative feedback system where an oscillator-generates a signal that is phase and frequency locked to a reference signal. PLL's are used for frequency synthesis (e.g. generating a 1.2 GHz clock signal from a 1 GHz reference); skew cancellation (e.g. phase-aligning an internal clock to the I/O clock); and extracting the reference clock from a random data stream such as in serial-link transceivers.
The basic architecture of a first order sigma-delta modulator is depicted in
where fS is the sampling frequency and fB is the signal bandwidth. The digital output signal from the sigma-delta modulator corresponds to a pulse-density modulated version of the input signal.
Referring back to
y(n)=x(n−1)+[e(n)−e(n−1)], (2)
where x(n) denotes the input signal, y(n) the output signal and e(n) the quantization noise of the quantizer. The z-transform representation of (2) equals
Y(z)=z−1X(z)+(1−z−1)E(z). (3)
Note that Y(z) is composed of two transfer functions where the first one, z−1, corresponds to the signal transfer function (STF) while the second, (1−z−1), is the noise transfer function (NTF). The STF has a unity magnitude response while the magnitude response of the NTF starts at zero and increases exponentially to a value of two as it approaches FS/2. This effect of pushing the quantization noise out of the bandwidth of interest is referred to as noise shaping and is a very powerful feature of sigma-delta modulators.
When a signal is quantized or digitized, the resulting signal follows approximately a second-order statistics model with independent additive white noise. Given that the signal is within the range of one step, given by Δ, of the quantized value with an equal distribution, the quantization noise power is found to be
In general, for an M-bit quantizer the step size Δ is related to its full scale range (VFSR) and the number of bits as follows:
Also the voltage full scale range can be defined as the modulator's quantizer maximum value minus its minimum value, as given by
V
FSR=ΣΔMAX−ΣΔMIN (6)
Since the power is assumed to be spread evenly between 0 and fS/2, the one-sided power spectral density (PSD) of the quantization error of the ADC in
Sigma-delta modulation uses oversampling to further reduce the noise in the band of interest thereby avoiding use of high-precision circuits for the anti-aliasing filter. Note that in general, the quantization noise total power is the same for both Nyquist rate and oversampling converters, but it is distributed over a larger spectrum in the later case. With regards to sigma-delta converters, noise is further reduced at low frequencies, within the band where the signal of interest is, and it is increased at higher frequencies as shown in
S
ΣΔ(f)=SS,ΣΔ(f)+SN,ΣΔ(f) (8)
The in-band quantization noise power can be found by integrating the noise power spectral density, SN,ΣΔ between 0 and fB as shown by the following equation:
In the case of a first order modulator where the NTF is equal to (1−z−1), replacing z by ej2πfT and assuming that OSR is much more greater than one then
The signal-to-noise ratio (SNR), is defined as the power of the signal spectrum and the noise spectrum. Thus, the SNR of the sigma-delta modulator output signal is defined as
High order modulators are implementable by utilizing more error history. For example, a second order modulator is implemented by subtracting the previous two samples of the error signal to the current one. Generally, increasing the sigma-delta modulator order would increase the signal-to-noise ratio (SNR); however, more care with regards to the stability of the modulator should be taken. For an Lth order modulator having its NTF in the form of (1−z−1)L, the in-band noise power for a relatively high OSR is approximated as
When the sampling frequency is increased (or OSR), the quantization noise is lower and the the signal-to-noise ratio (SNR) is higher; however, for higher-order loops, stability considerations typically result in reduced SNR lower than a value than predicted by the above equation.
Typically an analog low-pass filter is used that is at least one order higher than that of the sigma-delta modulator. If the analog filter's order is equal to that of the modulator, the slope of the rising quantization noise matches the one of the filter's attenuation; in that case, the resulting quantization noise has approximately a constant spectral density up to half the sampling rate (fs/2). By ensuring that the analog filter has a higher order than the modulator, the spectral density of the outputted quantization noise will have a bandwidth similar to the one of the filter. Also, the analog filter typically has a high attenuation at high frequencies since most of the quantization noise is around fs/2. In addition, when the modulated signal has a small bandwidth, such as a DC signal or a tone at frequencies smaller than fB (the bandwidth of the modulator), the specification on the filter order can be relaxed as long as its bandwidth is smaller than that of the modulator.
In order to synthesize an analog test stimulus, a short sequence of digital bits is repeated as to approximate the output signal of a 1-bit sigma-delta modulator when driven by a periodic signal. The process comprises simulating a high-order noise-shaping modulator and collecting a finite number of output samples. A periodic repetition of this sequence approximates the output signal from an infinite-duration sigma-delta oscillator.
This characteristic of the bit-stream generator provides sample coherence with the on-chip waveform digitizer. Coherent sampling requires only a small number of samples for DSP-based testing. Also in the situation of under-sampling digitizers, coherency allows test results to be tracked.
As known from the definition of Fourier Series, all periodic signals can be represented using sinusoids. Therefore, if we can accurately represent all the parameters of a sinusoid, any type of signal can be generated, including amplitude, phase or frequency modulated signals. Using the sigma-delta encoding techniques described above, it has been successfully shown that a DC signal, a sinusoid with different amplitude, a noise signal, which can be seen as the addition of random sinusoids, and a phase modulated signal are generatable.
As outlined in
Referring to
t
out
=t
ref(b0+b121+b222+ . . . +bN−12D−1)+tos. (14)
A general way of implementing a DTC is through the use of a delay-locked loop (DLL) and a multi-bit multiplexer (MUX). Referring to
Another way to understand the DTC mapping process is to look at the output sequence in terms of the input sequence. In the case of a 1-bit DTC, every ‘0’ value in the digital domain is mapped to the bit sequence ‘10’ and every ‘1’ is mapped to the sequence ‘01’. In the case of a 2-bit DTC, every ‘00’ is mapped to the bit sequence ‘1100’, every ‘01’ is mapped to ‘0110’, every ‘10’ is mapped to ‘0011 and every ‘11’ is mapped to ‘1001’. A summary of these two cases is listed in
An N-bit wide input bit-stream clocked at a rate of FS and encoded by a D-bit DTC will map to a bit-stream of length 2D×N and is clocked at a rate of 2D×Fs to establish desired phase characteristics based on the original encoded signal. This process is illustrated in
An alternative embodiment for generating a sigma-delta modulated signal in the phase domain is as shown in
Just as for the DTC, DFC is used to convert a digital input signal to a corresponding frequency signal as outlined in
f
out
=f
ref(b0+b121+b222+ . . . +bN−12D−1)+fos (15)
A simplified diagram of a hardware implementation of the DFC block is shown in
f
out, n
=n×f
lsb
+f
min. (16)
where
The clock divider ratio corresponding to a DFC output fout,n is equal to
For this embodiment, some practical concerns are also addressed. In order to implement the DFC using simple clock dividers, such as counters, all divider ratios are selected as integers. This is true if the master clock FS is a multiple of a least common multiple of all the factors of each frequency term, i.e.,
F
S=LCM{0×flsb+fmin,1×flsb+fmin,K,(2D−1)×flsb+fmin} (18)
where LCM stands for the least common multiple. For example, to construct a 2-bit DFC using the following four frequencies: 25 MHz, 50 MHz, 75 MHz and 100 MHz, we need to write each frequency term in terms of its prime factors:
25=1×5×5
50=2×5×5
75=3×5×5
100=2×2×5×5
The least common multiple is then 300 (1×5×5×3×2×2)
The master clock then has a rate FS equal to 300 MHz (or a multiple thereof) and each divider value is given by taking the clock rate FS and dividing it by the desired clock rate. For example for 25 the divider is 300/25, which is 12, when 300 MHz is used as the master clock rate.
In order to ensure that the phase is continuous across each frequency change, each frequency signal completes a phase change that is a multiple of 2π. As all frequencies are linear multiples of one another, this condition is satisfied when each frequency is transmitted for a time-duration equal to the period of the lowest frequency. Correspondingly, this means that each frequency completes fout,n/fout,min cycles in this time interval. For the running example above each frequency will be transmitted for 1/25 MHz or 40 ns resulting in the 100 MHz signal completing 4 cycles, the 75 MHz completing 3 cycles and the 50 MHz signal completing 2 cycles and, of course, the 25 MHz signal completing 1 cycle. In terms of the number of cycles an output frequency signal completes with respect to the sampling frequency FS is simply given by FS/fout,n. For the four signal frequencies associated with the DFC, we would have 300/100=3, 300/75=4, 300/50=6 and 300/25=12; identical to the divider ratio found previously.
In addition, a simpler hardware implementation is to simply divide the frequencies in an ascending fashion as shown in
Once again, recognizing that the operation of the DFC is to take as input signal an N-length periodic bit-stream consisting of D-bit wide words and create as output signal a 1-bit periodic bit-stream whereby each input word is mapped to a corresponding sequence of bits representing a particular frequency component. For example, for a 1-bit DFC consisting of two frequencies, f1 and f2 where f2=2×f1, the operation of the DFC is to convert a logical ‘0’ input bit to a 1100 output sequence, and a logical ‘1’ input bit to a 1010 output sequence, at a clock rate 4 times the original bit stream clock rate. The mapping process is summarized in
The above embodiment is illustrated with the block diagram shown in
The bit mapping approach is general can be applied to a D-bit DFC. This is captured in the block diagram shown in
Take the 2-bit DFC implementation described earlier involving the four output frequencies, 25, 50, 75 and 100 MHz. The minimum divider used had a value of 12 (Nmin) which suggests an N-bit sequence consisting of 2-bit words will map to a 1-bit sequence having a total length of 24N bits. The output bit-stream is clocked at a rate 24 times greater than the input bit-stream. In terms of the mapping sequence,
Alternatively, when using a multiplexer to multiplex signals of different frequencies, the lowest frequency signal is a DC signal representing a bit stream of all ‘1’s or of all ‘0’s. This allows for one of the multiplexed signals to be encoded having half the frequency of the lowest frequency otherwise described hereinabove. Thus data is encoded as constant or alternating at different frequencies depending on the value. This in turn results in a lower operating bandwidth of the overall system in at least some implementations.
In an alternative embodiment for a 1-bit DFC process, as depicted in
With regards to phase, every sigma-delta modulated bit is mapped to a corresponding discrete phase through a DTC. An interesting analogy here is to see the amplitude domain sigma-delta modulator followed by the DTC as an equivalent sigma-delta modulation process occurring in phase. Hence, the parameters of the sigma-delta modulator are mapped in a one-to-one correspondence to those of a sigma-delta modulator operating in the phase domain. Indeed, the modulator order, bandwidth and SNR should be equivalent in both domains. So here a maximum value of the sigma-delta modulated signal in the amplitude domain, ΣΔMAX, is mapped to a maximum phase shift φMAX; likewise, a minimum value of the sigma-delta modulated signal in the amplitude domain, ΣΔMIN, is mapped to a minimum phase shift φMIN, without loss of generality if it is encoded using a single or multi-bit conversion. The amplitude to phase mapping coefficient is defined as
This equation defining a, can also be seen as taking the full-scale range of the DTC over the full-scale range of the sigma-delta converter. In addition, an offset term φos is optionally present to link the output instantaneous phase φout and the DTC input signal DTCin as given by
φout=αφDTCin+φos (20)
Equations (20) and (14) are related. In fact, in (14) tref is converted to the phase domain by multiplying it by ωS (ωS=2π/TS, where TS is sampling period of the DTC as shown. Likewise tos of (14) is converted to φos by a similar relationship.
Since the DTC relates an input amplitude to a corresponding output phase signal by multiplying it by αφ, the spectrum of a DTC output signal is optionally written in terms of the sigma-delta output PSD as
According to equation (8), the PSD of the sigma-delta output signal is then optionally decomposed into a signal and noise component such that PSD of the DTC output signal is (for f≈0)
S
DTC(f)=αφ2SS,ΣΔ(f)+αφ2SN,ΣΔ(f) (22)
In much the same way as for the sigma-delta modulated bits, a carefully designed phase-filtering function, implemented, for example, by the PLL, is used to properly filter out the out-of-band quantization noise. With that ensured, the noise power after filtering is
The SNR of the overall process is found, using the terms above, to be
where SNRΣΔ is given by equation (11).
Similar to the above analysis for phase synthesis, frequency synthesis is also supported. With regards to the DFC process, the sigma-delta bits are mapped to instantaneous frequencies. Here, the maximum value of the sigma-delta modulated signal in the amplitude domain, ΣΔMAX, is mapped to the maximum frequency fMAX; likewise, the minimum value of the sigma-delta modulated signal in the amplitude domain, ΣΔMIN, is mapped to the minimum frequency fMIN, without loss of generality whether it is encoded using a single or multi-bit conversion. Here again, a mapping coefficient between the amplitude and frequency domain is
αf is a full-scale range of the DFC divided by a full-scale range of the sigma-delta modulator. In addition, an offset term fos is optionally present when linking the output frequency fout and the DFC input DFCin as given by
f
out=αf×DFCin+fos (27)
Equations (27) and (15) are related. In fact, in (15), fref is optionally expressed as αf. Likewise fos in both equations are same.
The spectrum of the DFC output signal is written in terms of the sigma-delta output PSD as
which is then written in a more detailed form (for f≈0) as
S
DFC(f)=αf2SS,ΣΔ(f)+αf2SN,ΣΔ(f) (29)
Assuming the quantization noise carried over from the sigma-delta encoding process is removed by a filtering function realized by the PLL, the noise power at the output port of the PLL is
To ensure that the in-band noise level is same as that given by the above equation, the frequency-filtering function of the PLL at least matches the bandwidth and has a higher order than the sigma-delta modulator. Consequently, the PLL frequency transfer function is designed accordingly and should have at least one order higher when compared to the modulator. However, just as for the amplitude domain, if the signal encoded using sigma-delta modulation has a smaller bandwidth than the modulator, the order of the filtering function of the PLL can be relaxed by also lowering its bandwidth.
The SNR of the DFC process has the same SNR established by the sigma-delta encoding process.
A derivative of instantaneous phase gives instantaneous frequency. Hence, some time varying phase signals (e.g. a ramp) result in a non-zero frequency. As depicted in
As outlined in
Higher order PLL's can be designed to behave as a high order time domain filter (for both phase modulated and frequency modulated signals). A high order filter is desirable as it provides a frequency response close to an ideal time domain low-pass filter; thus, performing high attenuation of out-of-band quantization noise. Given that the loop filter (LPF) transfer function can be expressed as H(s)=N(s)/D(s), the PLL transfer function for the case where the loop divider (M) is equal to one is given by:
The PLL transfer function is manipulated in order to achieve a desigated frequency response by carefully choosing the loop filter coefficient of N(s) and D(s). A signal encoded in phase or frequency, is filtered after passing it through the PLL.
The proposed frequency encoding scheme was implemented in Matlab/Simulink® A DC value was first encoded using sigma-delta modulation. The resulting bit-stream was then mapped to a fixed encoded frequency using the procedure described above. Following that, the new bit sequence was applied to the input port of a PLL model, shown in
The sigma-delta modulator used to encode a DC value ranging from 0 V to 1 V has a second order noise transfer function, an oversampling ratio of 120 and a Signal-to-Noise-Ratio of 84 dB in the pass-band region. For example, a DC value of 0.64 V was encoded and the FFT of the resulting bit-stream is as depicted in
To convert a bit-stream representing the DC value, a Matlab script that maps every ‘1’ value to ‘1010’ and every ‘0’ value to ‘1100’ is used. Here, it is assumed that the ‘1010’ frequency corresponds to 50 MHz and ‘1100’ to 25 MHz; hence, the sampling rate FS equals 50 MHz (rate at which the DFC block in
In this case, ‘fout’ corresponds to 41 MHz.
Alternatively, the lowest frequency signal is a DC signal representing a bit stream of all ‘1’s or of all ‘0’s. This allows for one of the multiplexed signals to be encoded having half the frequency of the lowest frequency otherwise described hereinabove. Thus data is encoded as constant or alternating at different frequencies depending on the value. This in turn results in a lower operating bandwidth of the overall system in at least some implementations.
The PLL model used for simulation was defined to have similar characteristics as the prototype. Hence, the phase/frequency detector is defined to have a gain KPFD equal to 0.34 V/rad, the VCO has a gain KVCO equal to 76.6 Mrad/V/s. Also, the low-pass filter connected at the output port of the phase/frequency detector is first order and has 1 kHz 3-dB frequency. For this example, the effective transfer function of the PLL is 2nd order with a bandwidth of 100 kHz. When the bit stream containing the encoded frequency is applied to the input port of the PLL, the resulting frequency generated by the VCO is indeed equal to 41 MHz, as seen in
Referring to
The following describes, in association with
The proposed phase/frequency encoding scheme has been simulated using Matlab/Simulink®. A DC value is first encoded using sigma-delta modulation. The resulting bit-stream is then mapped to a fixed encoded phase or frequency using the procedure described hereinabove. Following that, the new bit sequence is applied to the input of a PLL and the output phase or frequency is observed.
First, DC encoding is described and the effect of the bit-stream length on its quality is investigated, then phase synthesis is investigated and the results for a 6th order PLL case are reported. For emphasis on the frequency synthesis process, simulation results for both a 2nd and 6l order PLL implementation are reported. However, the same analysis could be performed for phase generation as well. The PLL models used for simulation were defined to have similar characteristics as the one of the experimental setup. The phase/frequency detector is defined to have a gain KPFD equal to 0.34 V/rad, the VCO has a gain KVCO equal to 76.6 Mrad/V/s, for a full voltage swing of 5 V. At the output of the phase/frequency detector is an active filter with a pole at DC (as described in above) giving either an effective 2nd or 6th order low-pass transfer function for the PLL with a closed-loop bandwidth of 100 kHz.
The length of the bit-stream used to encode the sigma-delta modulated signal directly affects its quality. The main interest here is in a DC sigma-delta encoded signal which is then mapped to either phase or frequency. It can be shown that the DC resolution of a periodic bit-stream is inversely proportional to its length. However, one should also consider the impact of the AC components originating from the repetition of the bit-stream on the DC level. Indeed, these AC components give rise to fast transitions in the encoded bit-stream and the low-pass filter should filter them out to insignificant levels. The superposition of the filtered AC components can all be combined together and, generally, can be tolerated if it is less than half of the desired DC resolution. Consequently, the smallest number of bits required to achieve a given DC resolution with a negligible AC ripple should be at least twice the number of levels (e.g. for a 10-bit DC resolution, N should be at least 2×210) as given by:
N≧2×2bit-resolution (33)
This is a conservative measure to make sure the bit length is not affecting the modulator performance. For example, for a sigma-delta encoded DC value of 0.5, the spectrum is as shown in
The bits used for phase synthesis have been encoded here using a sigma-delta modulator having a 5th order noise transfer function. The modulator has the following specifications: a ΣΔMIN and ΣΔMAX of 0 and 1 respectively, an oversampling ratio of 64 and an SNR of 95 dB in the pass-band region.
In the experimental PLL board, the PFD is defined to be positive edge triggered. In order to ensure that the simulation setup has the same parameters as the experimental setup, it was ensured that the phase-modulated codes applied to the PFD exhibited a well-defined rising edge. For example, the code pair ‘1100’ and ‘0011’ would not work, as ‘1100’ will not be captured by the PFD when following ‘0011’, since a rising edge is not present. Consequently, to convert the bit-stream representing the DC value to a corresponding phase shift, a Matlab script that maps every ‘0’ value to ‘1100’ and every ‘1’ value to ‘0110’ is used (note that this is not the same mapping as the original one shown in
To investigate the impact of the PLL order on frequency synthesis, simulations for two implementations were carried out: the first one where both the sigma-delta modulator and the PLL have an order of 2 and the second one where a 5th order modulator is used together with a 6th order PLL. For both cases, the sigma-delta modulator used to encode a DC value has a range from a ΣΔMIN of 0 to a ΣΔMAX of 1, an oversampling ratio of 120 and a SNR of 84 dB in the pass-band region for the 2nd order modulator and of 131 dB for the 5th order one.
To convert the bit-stream representing the DC value, a Matlab script that maps every ‘1’ value to ‘1010’ and every ‘0’ value to ‘1100’ is used. Here, it is assumed that the ‘1010’ frequency pattern corresponds to 50 MHz and ‘1100’ to 25 MHz; hence, every frequency word is sampled at 25 MHz and this corresponds to the effective sampling rate of the frequency encoding process. Note that since both the 2nd and 6th order PLLs have a bandwidth of 100 kHz, the maximum allowable OSR that the frequency encoding process can handle is actually 125 (25 MHz divided by twice the bandwidth of the PLL). However, since we are only encoding a DC value, we chose to use a smaller OSR for our modulators in order to increase the amount of quantization noise filtered out. For example, if a DC value of 0.62 is encoded using a sigma-delta modulator having a ΣΔMIN of 0 and a ΣΔMAX of 1 and a DFC having an fMIN of 25 MHz and an fMAX of 50 MHz, the synthesized frequency fout can be found using equation (27) and is equal to
A PCB board, mounted on a Teradyne Flex Tester, having the PLL specifications described hereinabove in association with the simulation (a 6th order transfer function and a 100 kHz half power bandwidth) has been built and tested. As can be seen in
The bit-stream was first generated in Matlab using a 5th order sigma-delta modulator and appropriate phase or frequency mapping was performed. For the test setup, a stream of 200,000 bits was captured and stored in the cyclic source memory of the High Speed Digital (HSD) instrument of a Teradyne Flex tester. These bits were then outputted in a cyclic fashion at the desired rate through the HSD unit and then applied to the input of the PLL board. The phase or frequency filtering is then performed by the PLL and the encoded phase or frequency is recovered at the output.
For phase measurements, the bits were outputted in a cyclic fashion with a 15 ns duration through the HSD unit and then applied to the input of the PLL board. The phase filtering is then performed by the PLL and the encoded phase is recovered at the output. An additional clock signal is needed from the tester to serve as the reference signal. This signal runs at the same frequency as the PLL output but has a fixed phase.
Furthermore, the sigma-delta encoded DC value has been swept and the voltage-to-time transfer characteristic curve is plotted in
For frequency synthesis, the bits were outputted in a similar fashion to the phase measurement at a 100 MHz rate and applied to the input of the PLL.
With regards to the bit-stream length, since the Teradyne Flex tester has a large digital memory, 200 000 bits were stored and applied cyclically to the PLL board. Here, such a large bit-stream was used in order to let the performance be dictated by the experimental setup rather than the bit length. However, referring back to equation (33) above, 1024 bits are required to accurately encode a DC signal in the amplitude domain with a 9-bit resolution. Since the DFC mapping used here maps every bit in the amplitude domain to a 4-bit sequence in the frequency domain, 4096 bits in frequency would be required to generate a frequency with a 9-bit resolution. It was experimentally observed that when 4096 bits are repeated cyclically, the phase noise plot was almost identical to the case where 200 000 bits are used.
A prototype implementation consisting of an FPGA realizing the 5th order sigma-delta modulator and DFC process that is connected to a PCB board with the described 6th order PLL has been built and tested. Frequencies ranging from 30.5 MHz to 44.5 MHz were experimentally generated with a 25 kHz resolution.
Herein below, the static operation of the system is discussed and the various tradeoffs impacting the time resolution are investigated. The proposed phased delay encoding scheme has been first implemented in Matlab/Simulink. A DC value is encoded using sigma-delta modulation. The resulting bit-stream is then mapped to phase using the DTC mapping algorithm to obtain a new bit-stream in the phase domain. Following that, the new bit sequence is applied to the input of a 6th order PLL model and the output phase is observed with respect to a reference clock at the PLL carrier frequency.
The sigma-delta modulator used to encode a DC value ranging from logical 0 to logical 1 has a 5th order noise transfer function, an oversampling ratio of 64 and an estimated average in-band SNR of 116 dB (using a Blackman-Harris window). To convert the bit-stream representing the DC value to a corresponding phase shift, a Matlab script that maps every “0” value to “1000” and every “1” value to “0100” is used. The “1000” corresponds to 0 degrees phase shift and “0100” to 90 degrees.
The PLL model used for simulation is defined to have the same characteristics as the one on the prototype board which was built. Hence, the PFD is defined to have a gain equal to 0.34 V/rad and the VCO has a gain equal to 76.6 Mrad/V/s, for a full output voltage swing of 5 V. At the output of the PFD is an active filter with a pole at DC, resulting in a 6th order PLL having a closed loop bandwidth of 100 kHz. In
Applying the generated bits to the PLL at a rate of 66.67 MSPS results in a reference frequency that is 16.67 MHz since every code has a 4-bit duration. Using this frequency and modulator SNR, an expected time resolution is equal to 23.8 fs (time LSB). However, in order to achieve more visible phase delays, one should use about 4 times this LSB step size.
As described hereinabove, the smallest number of bits required to achieve a given DC resolution with a negligible AC ripple should be at least twice the number of levels (e.g. for a 10-bit DC resolution, N should be at least 2×210) as given by: N≧2×2bit
The manner in which various design parameters of the PLL affect the performance will now be discussed. When recovering highresolution information that is sigma-delta encoded, the order and bandwidth of the reconstruction filter, in this case, of the PLL, plays a vital role. In general, the smaller the PLL bandwidth, the more quantization noise can be filtered out and therefore the higher the performance.
Alternatively, instead of altering the filter bandwidth, one can also vary the order of the PLL, while keeping all the other parameters fixed, and observe performance change. Since the sigma-delta modulator order is unchanged, a low-order PLL cannot filter out the fast-rising high frequency quantization noise of high-order sigma-delta modulators.
One can conclude that a high-order PLL design with a tight bandwidth is desired for the application of phase generation. This also allows the use of a high-order sigma-delta modulator with a high OSR, which can also improve the phase delay performance. Also note that for the same encoding process and bandwidth, operating with a faster clock would also result in a smaller time resolution.
The proposed scheme will now be discussed in the context of time-varying signals. The most common signal used to characterize the dynamic behavior of a system: the step response is analyzed first, and then, the steady-state response is investigated in order to analyze the system's frequency behavior and linearity by generating sinusoidal and Gaussian jitter.
The steady-state response of the system is investigated using a sinusoid and a Gaussian signal as input. This allows one to judge the linearity of the process in the spectral and statistical sense. The signal generation method described above is general and is not limited to a DC signal being encoded. In accordance with the above description and with the more efficient all digital method proposed here, any band-limited signal can be synthesized in the phase domain. The procedure can easily be extended to generate dynamic phase signals. For example, a sinusoid or Gaussian noise can be encoded using sigma-delta modulation and converted to the time-domain through a digital-to-time conversion process. These bits are then applied in a cyclic fashion to a PLL operating as a time-domain filter to obtain sinusoidal or Gaussian jitter. Such signals also provide insight on the frequency response and linearity of the proposed system when driven by a signal with rich frequency content.
For example, a sinusoidal jitter having an amplitude of 0.25 has been generated in Matlab using a sigma-delta modulator having an order of 5, an in-band SNR of 116 dB, and an OSR of 64. The DTC bit mapping process for a 180 degrees phase encoding range has been used to convert the sigma-delta encoded bits from the digital amplitude domain to the time domain. The PLL used here again is 6th order and has a half-power bandwidth of 100 kHz. The generated sinusoidal has a spectrum shown in
The frequency response of the sinusoid has been moved away with the same amplitude and the frequency response of the system was characterized. As expected, it turned out to correspond to the PLL's transfer function response; the plot is shown in
It can be shown readily that a Gaussian noise signal can be generated using sigma-delta modulation. Combining that method to generate a Gaussian noise signal with the DTC algorithm described herein, a bit-stream with the desired encoded jitter can be obtained. As depicted in
In Matlab, a 2nd order modulator having an OSR of 64 has been used to encode a band-limited Gaussian noise. A 2nd order modulator has been used in order to prevent it from going unstable; however, a relatively good (more than ±3σ) Gaussian distributed noise can be achieved with this setup. A DTC with the 180 degrees encoding bit-mapping scheme is used to convert the sigma-delta encoded noise signal from the digital amplitude domain to the phase domain. Following that, a 6th order PLL having a 100 kHz bandwidth, is used as a time-domain reconstruction filter. The generated Gaussian jitter has an RMS value of 3.20 ns over an 83 kHz bandwidth with respect to the carrier. To investigate the “goodness” of the distribution, the normal probability plot is used. This plot shows the cumulative probability function versus the value of each point in the sample set. The scale of the y-axis is adjusted such that a perfect Gaussian data set would follow a straight line with the mean having a cumulative probability of 50%.
The different aspects related with the integration of the phase signal generation scheme in an ATE environment will now be described and then the experimental results pertaining to the static and dynamic operation of the system shall be presented.
The flow chart of the procedure used to implement the scheme on the ATE is provided in
A PCB board, mounted on a Teradyne Flex Tester, having the PLL specifications described earlier (i.e. a 6th order transfer function and a 100 kHz half power bandwidth) has been built and tested. As can be seen in
As shown in
The dynamic operation of the scheme, where a sigma-delta modulator is followed by a DTC and then a PLL, is experimentally studied for time-varying inputs to assess the dynamic response of the system. First, the sinusoidal response is tested to ensure that the entire process is linear in the spectral sense, then, the response to a Gaussian noise signal is analyzed to ensure its linearity in the statistical sense using the normal probability plot.
The same setup has been used to generate a sinusoidal jitter signal. Here again, 16,384 bits, with coherence ensured, corresponding to the sigma-delta phase-encoded sinusoid were stored in the tester's HSD unit and applied repetitively to the 6th order PLL board (this bit-length was chosen in order to do a 4096 FFT since every bit in the digital-amplitude domain is mapped to a 4-bit sequence in the time/phase domain). The resulting sinewave, shown in the top-right corner of
A Gaussian noise input provides information on the dynamic behavior in the statistical domain. A Gaussian jitter signal having a programmed standard deviation of 3.20 ns has been experimentally generated. Here again, 16,384 bits corresponding to the sigma-delta phase-encoded Gaussian signal were stored and applied cyclically to the 6th order PLL board. Using a reference clock signal running at the same frequency as the generated jittery clock, i.e. 16.67 MHz, the demodulated Gaussian jitter has been recovered and is shown inside
Throughout the experimental validation for the prototype implementation, it was observed that the measuring equipment was the major limitation on the realized performance. Since the scope used operates with periodic signals, the experimental transient step response was not reported. Also, the Agilent scope used has a maximum sampling rate of 2 GSPS; thus, averaging had to be used to extract the synthesized phase. The quantization noise resulting from the scope time resolution probably impacted the tails of the distribution of the synthesized Gaussian jitter and increased the noise floor of the sinusoidal jitter. In addition, it is believed that a custom integrated circuit design implementing the entire PLL (PFD, VCO, and loop filter) would provide more control on the individual blocks' characteristics with regards to range, linearity and noise. Indeed, since the sigma-delta modulator was implemented in software, it was designed to have an SNR equivalent to 19 bits of resolution. However, only about 9-bit of resolution was achieved from the PCB prototype setup built from discrete components. Theoretically, a finer delay placement could be realized by simply running faster. In fact, in the experimental setup, a reference 16.67 MHz clock was used to achieve a 15 ps resolution; thus, if a 1.67 GHz clock were used instead, a 150 fs resolution would be expected for a 9-bit sigma-delta encoding process.
A low-cost phase signal generation technique embedded in an ATE framework has been presented. The three main components of the phase synthesis scheme are: a sigma-delta modulator, a DTC and a high-order PLL. The first two components are implemented in software and their digital output is exported to a Teradyne FLEX ATE high-speed digital (HSD) unit. Unlike conventional DTCs realized in hardware (e.g. multiplexer combined with delay elements), a bit-stream to bit-stream mapping algorithm is used to convert the sigma-delta encoded value to the phase domain; hence, a physical DTC is not required. The resulting bit-stream is then applied cyclically to a highorder PLL behaving as a phase-domain reconstruction filter. The overall system has been characterized under static operation (using DC phase delays) and dynamically (using a sinusoid and Gaussian noise as inputs). The impact of various design parameters (bandwidth, order, frequency, bit-stream length) on the phase generation performance was also investigated. Using a prototype setup consisting of a high-order PLL PCB mounted on the DIB board of an ATE, an adjustable phase delay having a resolution down to 15 ps within an 8.4 ns range was experimentally realized. Sinusoidal and Gaussian jitter were also experimentally generated in order to investigate the linearity of the system in the spectral and statistical sense.
The methods and circuits described hereinabove may be applied to a digital ATE environment for accurate phase and frequency generation. The versatility of the encoding scheme makes this technique adaptable to the PLL used, and embodiments in accordance with the cyclic bit-stream alternatives described above could easily be integrated in a BIST or DFT framework, and moreover, further potential applications may also include data transmission and communication systems.
Numerous other embodiments may be envisaged without departing from the scope of the instant invention.