Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Definitions
Mathematical description:
x(t ) = p[(( f + f )t + (t )) mod 1]
Definitions
Instantaneous frequency
d
f (t ) = f + f + (t )
dt
Instantaneous phase difference expresses the
phase jitter
(t ) = (f1 f 2 )t + (1 (t ) 2 (t ))
(t)
f(t)
Terminology
Synchronous - significant edge of the signals is
locked to a common source
More correctly instantaneous phase difference = 0
T1=T2
Clk2
tclk1-clk2
fw
What happens if fw fr?
Timing Conventions
Synchronous timing - all signals have their
timing referenced to a single clock: a single
clock domain
Timing margin must be calculated to allow for
uncertainties in delays and clock skew
Timing Margin
2-bit ring counter circuit should produce repeating
sequence, 00110011
D1
Q1
D2
Q2
output
Clk
Timing Margin
Clk1
Clk1 to Q1 output delay
Q1
D2
Clk2
Q2
D1
Tsetup
Vs latest arrival
possible
Timing Margin
Measures the slack in the clock cycle that
allows for factors such as:
Damp
reflections
with end
termination
Clk
Delay Control
We can use adjustments to clock delays to achieve
either
low clock skew - improves timing margin
purposeful skew - at some point in a circuit, increasing
the skew of a clock edge may be used to increase
timing margin - but only at that point
Delay line
Gate delay
Lumped
circuit
0.1-5
0.1-20
0.1-1000
10%
300%
5-20%
Adjustable Delays
All three types of delays come in adjustable
versions
Delay lines have jumpers or taps which
provide delays in quantized steps
Lumped circuit element delays are more
continuously adjustable
Chains of gates may be used but will have a
wide inaccuracy
Delays - Considerations
Adjustable delay can be used to adjust for
actual delays in the circuit
A fixed delay cannot deal with variations in
delay due to manufacturing and device
variability
Incorporate the uncertainty of the delay
used into timing margin calculations
Clk2
Clk3
Clk4
Clk
Pipelined Timing
For a system (or sub-system) in which data
flow is uni-directional
System is broken up into stages - each has
its own clock which is a progressively
delayed version of system clock
Throughput is limited only be total timing
uncertainty
Data
Clk
Produces delay
and inverts phase
Closed-Loop Timing
Using a system which actively controls
timing parameters such as phase of clocks,
delays or frequencies
Typically uses feedback control such as a
PLL
Clock Oscillators
Modern piezoelectric quartz crystal oscillators are
extremely accurate so variations from nominal
frequency can often be overlooked
Frequency specifications:
Nominal frequency +/- stability (% or ppm)
Typically 10kHz to 300 MHz
ppm indicates higher quality than % (100ppm = 0.01%)
Temperature stability
Most important determinant of stability
Cheapest oscillators are noncompensated
Can also get temperature-compensated which
includes circuitry to counteract temp. induced
drift
Oven-controlled oscillators are the best
Note that drift is not linear with temperature be sure to check operating range
Clock Jitter
Noise affecting a clock signal causes its
edges to deviate from their ideal positions
Timing jitter is defined as the deviation of
the timing of a clock edge from its ideal
position
Clock Jitter
Phase jitter is defined as a variation in the
proportion of the clock cycle achieved at a certain
time with respect to the ideal
Phase and timing jitter often used as if the same
thing. This is not the case, but for low levels of
jitter, the approximation can be made
Phase jitter can be measured in the frequency
domain as a frequency deviation
Causes of Jitter
In clock sources:
Elsewhere:
Timing uncertainty from variable delays (gates,
propagation), crosstalk, temperature variations,
fw
What happens if fw fr?
Measuring Jitter
Spreading and spurs around the fundamental frequency
peak as measured by a spectral analyzer
Phase noise
in dBc/Hz
spurs
Noise power in
dBc
fosc
1 Hz band
fm = offset from carrier (Hz)
N=
fm2
f m1
L( f )df
J RMS = 2 10 N / 10
Convert to RMS jitter in
J RMS
seconds
Measuring Jitter
Measure directly in the time domain using
appropriate equipment
Some oscilloscopes can easily be set up to
measure it
Differential phase measurement technique simply measure the clock using delayed
time base sweep on oscilloscope
Jitter becomes uncorrelated if delay is large
enough and can be observed as a blur on
clock edge