USB 3.0 CDR Model White Paper Revision 0.5



Similar documents
USB 3.0 Jitter Budgeting White Paper Revision 0.5

Clock Recovery in Serial-Data Systems Ransom Stephens, Ph.D.

PCI-SIG ENGINEERING CHANGE NOTICE

Clock Jitter Definitions and Measurement Methods

Jitter in PCIe application on embedded boards with PLL Zero delay Clock buffer

Jitter Transfer Functions in Minutes

Timing Errors and Jitter

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

Analog and Digital Signals, Time and Frequency Representation of Signals

APPLICATION NOTE. RF System Architecture Considerations ATAN0014. Description

AN-837 APPLICATION NOTE

Electrical Compliance Test Specification SuperSpeed Universal Serial Bus

Loop Bandwidth and Clock Data Recovery (CDR) in Oscilloscope Measurements. Application Note

Electrical Compliance Test Specification SuperSpeed Universal Serial Bus

AN Application Note: FCC Regulations for ISM Band Devices: MHz. FCC Regulations for ISM Band Devices: MHz

Application Note: Spread Spectrum Oscillators Reduce EMI for High Speed Digital Systems

AN-756 APPLICATION NOTE One Technology Way P.O. Box 9106 Norwood, MA Tel: 781/ Fax: 781/

AN437. Si4432 RF PERFORMANCE AND FCC COMPLIANCE TEST RESULTS. 1. Introduction. 2. Relevant Measurements to comply with FCC

Pericom PCI Express 1.0 & PCI Express 2.0 Advanced Clock Solutions

USB 3.0* Radio Frequency Interference Impact on 2.4 GHz Wireless Devices

MoCA 1.1 Specification for Device RF Characteristics

Managing High-Speed Clocks

Simplifying System Design Using the CS4350 PLL DAC

Broadband Networks. Prof. Dr. Abhay Karandikar. Electrical Engineering Department. Indian Institute of Technology, Bombay. Lecture - 29.

Selecting the Optimum PCI Express Clock Source

Title: Low EMI Spread Spectrum Clock Oscillators

NRZ Bandwidth - HF Cutoff vs. SNR

Intel IXP42X Product Line of Network Processors and IXC1100 Control Plane Processor: Spread-Spectrum Clocking to Reduce EMI

QAM Demodulation. Performance Conclusion. o o o o o. (Nyquist shaping, Clock & Carrier Recovery, AGC, Adaptive Equaliser) o o. Wireless Communications

TCOM 370 NOTES 99-4 BANDWIDTH, FREQUENCY RESPONSE, AND CAPACITY OF COMMUNICATION LINKS

AN3998 Application note

SIGNAL GENERATORS and OSCILLOSCOPE CALIBRATION

CLOCK AND SYNCHRONIZATION IN SYSTEM 6000

Clock Recovery Primer, Part 1. Primer

INTERNATIONAL TELECOMMUNICATION UNION

Intel architecture. Platform Basics. White Paper Todd Langley Systems Engineer/ Architect Intel Corporation. September 2010

Frequency Response of Filters

Voice---is analog in character and moves in the form of waves. 3-important wave-characteristics:

Understanding CIC Compensation Filters

The Phase Modulator In NBFM Voice Communication Systems

Computer Networks and Internets, 5e Chapter 6 Information Sources and Signals. Introduction

T = 1 f. Phase. Measure of relative position in time within a single period of a signal For a periodic signal f(t), phase is fractional part t p

Sampling Theorem Notes. Recall: That a time sampled signal is like taking a snap shot or picture of signal periodically.

chapter Introduction to Digital Signal Processing and Digital Filtering 1.1 Introduction 1.2 Historical Perspective

Eye Doctor II Advanced Signal Integrity Tools

Making Accurate Voltage Noise and Current Noise Measurements on Operational Amplifiers Down to 0.1Hz

ANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1

AN ESTIMATION APPROACH TO CLOCK AND DATA RECOVERY

PCI Express Transmitter PLL Testing A Comparison of Methods. Primer

AN952: PCIe Jitter Estimation Using an Oscilloscope

Jitter Budget for 10 Gigabit Ethernet Applications with SiTime SiT9120/1 Oscillators

Abstract. Cycle Domain Simulator for Phase-Locked Loops

MODULATION Systems (part 1)

Understand the effects of clock jitter and phase noise on sampled systems A s higher resolution data converters that can

Using the On-Chip Signal Quality Monitoring Circuitry (EyeQ) Feature in Stratix IV Transceivers

VCO K 0 /S K 0 is tho slope of the oscillator frequency to voltage characteristic in rads per sec. per volt.

Filter Design in Thirty Seconds

DEVELOPMENT OF DEVICES AND METHODS FOR PHASE AND AC LINEARITY MEASUREMENTS IN DIGITIZERS

AM Receiver. Prelab. baseband

Implementation of Digital Signal Processing: Some Background on GFSK Modulation

Accurate Measurement of the Mains Electricity Frequency

AVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE

The Future of Multi-Clock Systems

Spike-Based Sensing and Processing: What are spikes good for? John G. Harris Electrical and Computer Engineering Dept

HD Radio FM Transmission System Specifications Rev. F August 24, 2011

Teaching DSP through the Practical Case Study of an FSK Modem

2.1 CAN Bit Structure The Nominal Bit Rate of the network is uniform throughout the network and is given by:

Optical Fibres. Introduction. Safety precautions. For your safety. For the safety of the apparatus

Designing the NEWCARD Connector Interface to Extend PCI Express Serial Architecture to the PC Card Modular Form Factor

DDS. 16-bit Direct Digital Synthesizer / Periodic waveform generator Rev Key Design Features. Block Diagram. Generic Parameters.

Jitter Measurements in Serial Data Signals

Lezione 6 Communications Blockset

Taking the Mystery out of the Infamous Formula, "SNR = 6.02N dB," and Why You Should Care. by Walt Kester

The Effective Number of Bits (ENOB) of my R&S Digital Oscilloscope Technical Paper

Introduction to Receivers

Sampling and Interpolation. Yao Wang Polytechnic University, Brooklyn, NY11201

Non-Data Aided Carrier Offset Compensation for SDR Implementation

CPU. PCIe. Link. PCIe. Refclk. PCIe Refclk. PCIe. PCIe Endpoint. PCIe. Refclk. Figure 1. PCIe Architecture Components

Chapter 8 - Power Density Spectrum

Output Filter Design for EMI Rejection of the AAT5101 Class D Audio Amplifier

Measuring Cache and Memory Latency and CPU to Memory Bandwidth

Explore Efficient Test Approaches for PCIe at 16GT/s Kalev Sepp Principal Engineer Tektronix, Inc

Digital Transmission of Analog Data: PCM and Delta Modulation

Features. Modulation Frequency (khz) VDD. PLL Clock Synthesizer with Spread Spectrum Circuitry GND

6.976 High Speed Communication Circuits and Systems Lecture 1 Overview of Course

MPC8245/MPC8241 Memory Clock Design Guidelines: Part 1

Introduction to Digital Audio

FRAUNHOFER INSTITUTE FOR INTEg RATEd CIRCUITS IIS. drm TesT equipment

The front end of the receiver performs the frequency translation, channel selection and amplification of the signal.

RAID Basics Training Guide

Section 3. Sensor to ADC Design Example

Public Switched Telephone System

25. AM radio receiver

Sheilded CATx Cable Characteristics

AN2604 Application note

How To Use A High Definition Oscilloscope

The Calculation of G rms

TECHNICAL TBR 12 BASIS for December 1993 REGULATION

Introduction to PCI Express Positioning Information

Lab 5 Getting started with analog-digital conversion

Transcription:

USB 3.0 CDR Model White Paper Revision 0.5 January 15, 2009 INTELLECTUAL PROPERTY DISCLAIMER THIS WHITE PAPER IS PROVIDED TO YOU AS IS WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE. THE AUTHORS OF THIS WHITE PAPER DISCLAIM ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF ANY PROPRIETARY RIGHTS, RELATING TO USE OR IMPLEMENTATION OF INFORMATION IN THIS WHITE PAPER. THE PROVISION OF THIS WHITE PAPER TO YOU DOES NOT PROVIDE YOU WITH ANY LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS. All product names are trademarks, registered trademarks, or servicemarks of their respective owners. Copyright 2009, Hewlett-Packard Company, Intel Corporation, Microsoft Corporation, NEC Corporation, ST-NXP Wireless, and Texas Instruments. All rights reserved. 1

About This Document This paper describes the origin of the Jitter Transfer Function (JTF) and the slew rate limit for SuperSpeed USB. Traditionally serial architectures based the JTF on linear PLL models. In SuperSpeed USB the JTF is based on a digital Clock and Data Recovery circuit (CDR). Spread spectrum clocks (SSC) present special challenges to the clock and data recovery circuit (CDR). This is due to the large, low frequency difference between the local clock and the incoming data. New to the USB 3.0 specification is the phase jitter slew rate requirement that helps bound the impact of the SSC on the CDR. An abstract model of the CDR is presented and the impact of SSC to this circuit is shown. The overlap between the JTF and the phase jitter slew rate limit is shown, and a Matlab script for performing the phase jitter slew rate measurement is provided. 2

SuperSpeed USB Clocking and Jitter Figure 1: SuperSpeed USB clocking and jitter architecture An overview of SuperSpeed USB clocking is shown in Figure 1. The host and device each have a separate reference clock that includes spread spectrum. Spread spectrum is described in detail later. The reference clock frequency is multiplied up to the bit rate by the PLL and used to transmit the data at the bit rate. It is also sent to the clock recovery circuit and used to generate the recovered clock. The recovered clock is then used to sample the data. Jitter is the timing error between the actual sampling edge and the ideal sampling point for the data. Jitter is always a relative measurement between the sampling clock and the ideal sampling point for the data. In an oscilloscope the sampling clock is a high precision time base. In a serial link, the sampling clock is the output of the clock recovery circuit. The job of the clock recovery circuit is to line up the sampling clock to the center of the data eyes. The clock recovery circuit has a transfer function from the input data edges to the recovered clock. The function is called the clock recovery function and it sets the minimum behavior required of the clock recovery circuit. This function is designated as H CDR. It is this function H CDR that is used to determine the Jitter Transfer Function (JTF) of the serial specification. H CDR is critically important to the specification of the serial link. It establishes a minimum behavior of the receiver and the transmitter that is required for interoperability between two components. If the receiver meets or exceeds the clock recovery function, H CDR, and the transmitter outputs less jitter than the JTF, then the devices will interoperate properly. If the receiver does not meet the clock recovery function H CDR or the transmitter outputs excessive jitter, the link will have an increased bit error rate or will not work at all. In generating the recovered clock the clock recovery circuit looks at the data transitions. It is the data transitions that define the phase of the data. The times of the data transitions can be recorded into a continuous record, t n, of the times of the edge crossings for each transition bit. For modeling purposes an edge can be interpolated even if a transition did not occur. This is shown in Figure 2. 3

Figure 2: Time stamps of the edge crossings The input to the clock recovery circuit is the edge crossings, t n, while the output is the edge crossings of the recovered clock, r n. The clock recovery function, H CDR, is the transfer function of t n to r n. The Z- transform of t n is T(z), and is just written T. Likewise, the transform of r n is R(z) and is written as R. These will be used to model the clock recovery circuit and to derive the JTF. The transfer function, H CDR, of the clock recovery circuit is then (1) or R H CDR = T (2) R = T H CDR SuperSpeed USB Digital CDR In a communications link, data is sampled into a latch by a clock. The difference in time between the center of the data eye and the sampling clock is the jitter. In a perfect system, jitter is non-existent and the data is sampled at the optimum location in the center of the data bit. In a practical system, the clock and data are misaligned due to various physical processes. The jitter budget allocates the error to each of the components of the transmitter, the media and the receiver. This error component is also called the eye closure. Of course, the total jitter budget must be less than the total unit interval (UI) or a sampling error will occur. In USB the receiver recovers the clock from the data by digitally adjusting the phase of the local clock to try to match the phase of the incoming data as closely as possible. The 4

difference of the phase of the recovered clock and the data is a timing error, or jitter. The clock recovery circuit is shown in the following block diagram. Figure 3: Receiver clock and data recovery Generally we assume that the clock recovery circuit is well behaved and has a frequency domain response, H CDR. Given the record of edge crossings of the data, t n, and the transform of t n, T, we can calculate the eye closure, eye, in the frequency domain as (3) = T R, eye applying (2), (4) = ( T T ) factoring, eye H CDR (5) = T ( 1 ) eye H CDR The jitter transfer function is defined as (6) H = ( 1 ) JTF H CDR This allows us to write express the eye closure in terms of the data edge crossings and the jitter transfer function: (7) eye =T H JTF The clock recovery circuit s transfer function is low pass, since the clock recovery circuit needs to look at many samples in order to create the recovered clock. In the simplest case this amounts to an averaging function which is a low pass response. The low pass nature of the clock recovery circuit gives an eye closure that is high pass. High frequency jitter in the data will not be tracked and will directly close the eye, low frequency jitter that is not tracked will close the eye. Low frequency jitter that can be perfectly tracked does not close the eye. The eye closure caused by a transmitter is measured by applying the JTF to the jitter generated by the transmitter. The frequency domain JTF and the separation between tracked and untracked regions is shown in Figure. 5

Jitter Transfer Function (db) CDR Error Nontracking Frequency (Hz) Figure 4: Jitter Transfer Function The total jitter (eye closure at the sampling latch) is due to the CDR tracking error on the left of the graph plus the higher frequency jitter that the CDR is not expected to track. Clearly, the transfer function of the clock recovery circuit is critical in developing the SuperSpeed USB budgets. In the USB 3.0 specification H CDR is given as a second order low pass function with a -3dB corner frequency of 10 MHz, this gives the JTF as a second order high pass function with a -3dB corner frequency of approximately 4.9 MHz. The actual implementation of the clock recovery circuit is digital and non-linear, so a linear model does not adequately describe the behavior of a typical digital implementation. This means that the jitter measured through the JTF could meet the jitter specification but the actual implementations of the clock recovery circuit would fail to track the jitter properly. The phase jitter slew rate specification was added to further limit the transmitter jitter and media jitter in such a way that a digital clock recovery circuit can recover the clock. This is described in detail later in this paper. Spread Spectrum Clocks A significant challenge of the clock recovery circuit is to track the jitter at the spread spectrum frequency. This large phase jitter is important to the behavior of H, and therefore the JTF. Spread spectrum clocks (SSC) are used to lower electromagnetic emissions at any one particular frequency for FCC compliance. The clock frequency is varied between f, the reference clock frequency, and 0.995f at a rate between 30 KHz and 33 KHz. The average frequency is f + 0.995 f (8) f avg = = 0. 9975 f 2 6

The maximum phase jitter of the SSC can be calculated by integrating the instantaneous frequency and subtracting out the average for all the times the UI is over (or under) the average UI. This amounts to integrating the shaded area of one of the triangles in Figure with f average = 0. Figure 5: SSC Frequency Modulation The area of each shaded triangle in Figure is one-half of the product of the base and the height: (9) φ =20ns f, max in units of radians. The phase starts from 0 and increases to 20 ns, then decreases back to 0. This is can be approximated by a sinusoid of amplitude 10 ns. The change in period can be calculated as the inverse of the frequency. This gives (10) T 1 = 1. T f 0.005 f 005 The maximum period change is therefore shown in Figure. Φ' max 0.005T. Graphically, the period jitter is Figure 6: Period Jitter of SSC 7

Taking the cumulative sum of the period jitter gives the phase jitter. This is shown in Figure along with the sinusoid approximation. Figure 7: Phase Jitter of SSC For the remainder we assume that the two sides of the link have independent SSC domains. This doubles the amplitude of the SSC phase jitter that must be tracked to 20 ns. Therefore, in the above example the maximum slew rate due only to the SSC is computed to be: d dt (11) [( 20ns) sin(2* pi *33,000* t) ] t = 0 = 4.1667 However, additional margin is required to take into consideration the use of other SSC profiles and for the superposition of other jitter components. We generate this margin by doubling the SSC phase jitter amplitude to 40 ns at the maximum SSC frequency of 33 KHz. With these assumptions the maximum slew rate that must be tracked is once again found by taking the derivative of the phase jitter at the zero crossing, d dt (12) [( 40ns) sin(2* pi *33,000 * t) ] Digital Clock Recovery t= 0 = 8.3 Introduction In this section the model of the digital clock recovery is presented. The conclusion is that for modern digital clock recovery circuits, there is a frequency band where the slew rate of the phase becomes the limiting factor of the clock recovery m s m s s 8

Clock Recovery The first serial architectures used an analog phase locked loop to generate the recovered clock. Modern low cost serial architectures are digital based. Two popular digital CDR architectures are phase interpolation and over-sampling types. The specification of H CDR, and therefore the JTF, is not intended to define a particular implementation. However, investigation into typical implementations of these circuits showed that the low frequency circuit performance is limited by the phase jitter slew rate. A simple model of the clock recovery circuit is helpful in understanding this requirement. Conceptually a digital tracking loop is shown in Figure. A binary phase detector (also called a bang-bang phase detector) looks at the current phase of the data compared to the current phase of the recovered clock. The phase detector does not give magnitude information about how far the phase is misaligned, only that the phase is early or late. This comparison is repeated over many unit intervals (UI) and the early/late results are accumulated. Some type of filter algorithm is applied to the results and an adjustment to the recovered clock is made as necessary. In a phase interpolator this involves moving the position of the reference clock; in an over sampling architecture it involves selecting a different sample for the data. Both architectures can be thought of as moving a fixed step in time. In general, the step size is a fixed quantity. Data Phase Detector Finite State Machine (FSM) Phase Adjust Recovered Clock Reference Clock Figure 8: Phase Interpolator Block Diagram For a periodic function, the frequency difference is the derivative of the phase difference. The frequency of the reference clock is bound with respect to the data clock by the specification, so the rate of the phase adjustment must be sufficient to overcome frequency differences between the incoming data and the local reference clock. The maximum rate of change that can be generated by the FSM is equal to the product of the step size and the update rate. However, practically it is often not possible to achieve this rate due to the fact that normal data does not have a transition on every bit (only a Nyquist pattern has this feature). Large step sizes will track greater frequency deltas, since the phase will move farther with each adjustment. Since the phase detector is of the bang-bang type, the FSM will always dither by at least one step, this is also called self-noise. This dither is an error in the sampling location and is a consideration when choosing the maximum allowed step size. Smaller step sizes give smaller dither errors but cannot track larger frequency offsets. The rate of the early/late decisions coming into the FSM is determined by the number of transitions in the data. Since this is a random quantity the FSM is not a regularly sampled 9

system if it operates on every possible transition and cannot be easily modeled. For 8b10b encoding the maximum run length is 5 UI and the average edge density is 30%. Step Size Assuming that one step can be made every m unit intervals, the maximum rate of change is (13) d stepsize φ =. dt m UI max Where stepsize is the number of ps that the phase changes per step, m is the number of UI that pass (on average) before a step occurs, and UI is the UI size. For example, with a 5 ps step size, an m value of 5, and a 200 ps UI value the maximum slew rate of the CDR is (14) 12 5 10 s ms SRmax = = 5 5 12 ( 200 10 s) s This is not sufficient to track the SSC profile described above, as it had a maximum slew rate of 8.3 ms/s. This is plotted in Figure. Figure 9: Tracking 40ns SSC with 5 ps step size, m=5 In this figure we can clearly see that the CDR can t slew fast enough to keep up with the sinusoid. Therefore, for perfect tracking the CDR must be able to slew as fast as the maximum slewing point on the sinusoid. As we noted earlier, the maximum slew rate of a sinusoid is equal to the sinusoid amplitude multiplied its frequency (in radians). From this, the maximum slew rate of a sinusoid is given by equation (14): 10

(14) A max = 0.005 2π f and is shown in Figure. In this figure, the first horizontal line is an amplitude of 5 ps or one step, this occurs at about 100 MHz. The second horizontal line is 10 ps. This figure shows that for a given slew rate (5 ms/s) the maximum amplitude of a sinusoid at given frequency that can be tracked is fixed. 1. 10 7 Maximum Allowed Amplitude, m=5, step=5ps 1. 10 8 maximum trackable amplitude (s) 1.10 9 1.10 10 1.10 11 1. 10 12 1.10 4 1.10 5 1.10 6 1.10 7 1.10 8 1.10 9 frequency (Hz) Limit from slew rate 10 ps 5 ps Figure 10: Maximum amplitude traced by a 5 ps step with m=5 Assuming the maximum SSC slew rate of 8.3 ms/s, a 200 ps UI, and m=5,equation (13) gives the minimum step size of 8.3 ps. A CDR with this step size is shown to be properly tracking the SSC profile in Figure 4. 11

Figure 4: Minimum step size tracking of SSC The larger the under sampling value m, the larger the step size required to be able to track SSC unless some form of gain is introduced into the control loop. For a 200 ps UI, the graph in Figure 5 provides the minimum step size required to track SSC as a function of the under sampling integer, m. Figure 5: Minimum step size required to track SSC vs under sampling integer m 12

Although the larger step size does a better job of tracking SSC, it also causes a larger dither component that closes the eye. The amount of acceptable dithering at steady state sets the upper limit of the step size. The desire of good response at low frequencies and attenuation of dither at high frequencies can be optimized with the proper filter design. Proper filter design can add gain to the low frequencies and attenuation at the higher frequencies, enabling small step sizes to track SSC. Slew Rate Limit It should now be clear that the slew rate limit of the clock recovery circuit also sets a performance limit. The USB 3.0 specification requires a transmitter to output less than 10 milliseconds per second of phase jitter slew rate for any frequency component that lies within the bandwidth of the clock recovery circuit. This is relative to the worst case SSC clock. This limit allows the typical SSC profile to pass but prevents pathological SSC profiles from breaking the clock recovery circuit. The slew rate limit is measured by using H on the time stamps, t n, to obtain the phase jitter within the tracking bandwidth of the clock recovery function. The first difference is then taken to get the maximum slew rate. The maximum slew rate must not exceed the USB 3.0 specification of 10 ms/s for a two sided measurement, or 5 ms/s for a single sided measurement. An example of the slew rate limit measurement from the time record is shown below, the Matlab code is given in appendix A. Figure 6: Example slew rate measurement The implications for the single tone jitter tolerance are that the slew rate limit sets the maximum allowed jitter amplitude in the tracking band of the clock recovery circuit, as Figure 7 shows. 13

1. 10 7 1. 10 6 Maximum Allowed Single Tone Jitter (ps) 1. 10 5 1. 10 4 1. 10 3 100 10 0 1 2 3 4 5 6 7 8 9 10 frequency (MHz) Limit from JTF Limit from slew rate Figure 7: JTF and Slew Rate Limit single tone Summary The purpose of a Jitter Transfer Function (JTF) is to ensure that the jitter created by a transmitter can be tracked by a receiver. The jitter budget is important for interoperability between different components. It provides the design targets for the transmitter, system and receiver designers. A key component of deriving the jitter budget is to understand the clock recovery model and the role of clock recovery in tracking the incoming jitter. The digital nature and limits of the clock recovery function has led to the introduction of the phase jitter slew rate limit and measurement. The clock recovery model used for the CDR is digital-based. 14

Appendix A: Slew Rate Measurement %**************************************************************************** %* %* Copyright (c) 2008 Intel Corp. %* Andy Martwick %* %* This program has been developed by Intel Corporation. %* %* Intel specifically disclaims all warranties, express or %* implied, and all liability, including consequential and other %* indirect damages, for the use of this code, including liability %* for infringement of any proprietary rights, and including the %* warranties of merchantability and fitness for a particular %* purpose. Intel does not assume any responsibility for any %* errors which may appear in this code nor any responsibility to %* update it. %**************************************************************************** close all clear all load('test1.mat') % load the file of the zero crossing times T=mean(TDS_y_data); % this is the average period, measured against an absolute. phi=cumsum(tds_y_data-t); % integrate the period jitter to get the phase jitter N=length(phi); t=0:t:(n-1)*t; F=1/(2*T); df=f/(n/2); f=0:df:(n/2-1)*df; %phi=20e-9*sin(2*pi*33e3*t)'; transforms X=fft(phi)/N; % N must be odd for the transforms to work % build the time record % nyquist % build the frequency record % use this synthetic SSC to confirm the % take the transform % now build the transfer function from the spec s=2*pi*f*(-1)^.5; zeta=0.707 fc=10e6; wn=(fc*2*pi)/(1+2*zeta^2+((1+2*zeta^2)^2+1)^.5)^.5 H=(2*s*zeta*wn+wn^2)./(s.^2+2*zeta*wn*s+wn.^2); Y=X.* [1 H/2 conj(fliplr(h/2))]'; % apply the transfer function y=ifft(2*y)*n; % take the inverse and scale slr=diff(y)/t; plot(t(100:n-1000),slr(100:n-1000)) % ignore the beginning and end 15

Appendix B: Slew rate Limit vs JTF %**************************************************************************** %* %* Copyright (c) 2008 Intel Corp. %* Andy Martwick %* %* This program has been developed by Intel Corporation. %* %* Intel specifically disclaims all warranties, express or %* implied, and all liability, including consequential and other %* indirect damages, for the use of this code, including liability %* for infringement of any proprietary rights, and including the %* warranties of merchantability and fitness for a particular %* purpose. Intel does not assume any responsibility for any %* errors which may appear in this code nor any responsibility to %* update it. %**************************************************************************** zeta=0.707 fc=10e6; wn=(fc*2*pi)/(1+2*zeta^2+((1+2*zeta^2)^2+1)^.5)^.5 f=0:1e3:50e6; i=(-1)^.5 s=2*pi*i*f; % these are from the spec: H=(2*s*zeta*wn+wn^2)./(s.^2+2*zeta*wn*s+wn.^2); ssc=40e-9* 1-(1-abs(2*pi*fc./(2*pi*i*33e3 + 2*pi*fc))) JTF=1-H; semilogx (f,20*log10(abs(jtf)),'b'); hold on; semilogx (f,20*log10(abs(h)),'k'); axis([1e3 500e6-18 3]); grid on % this is the slew rate limit spec. srl=0.005/2/pi./f; figure; % from the spec this is what the eye closure can be at 1e-12 semilogy(f, abs(150e-12./(jtf))) hold on semilogy(f,srl,'k'); axis([-1e6 10e6 1e-11 1e-6]); legend('limit from JTF', 'Limit from PPM') ylabel('maximum Single Tone Amplitude Allowed') xlabel('frequency (Hz)') 16