| Signal Integrity Applications of Mathcad, Parts 1, 2 and 3 |
|
|
| Written by Dr. Abe (Abbas) Riazi | |||
| Sunday, 01 June 2008 00:00 | |||
Mathcad is software with powerful capabilities to manipulate equations, numbers, text and graphs. The mathematical formulae and numerical values can be presented in an easy to read fashion. Mathcad allows graphics and text to be incorporated throughout the document, and if desired, the resultant files can be saved in HTML format for posting to a website. Mathcad has proven invaluable for a wide range of engineering designs and can be used in some interesting signal integrity applications1,2,3. For example, Johnson et al1,4, presents Mathcad computations for DC copper resistance, capacitance of parallel plates, inductance of circular loops, coaxial cables, microstrip lines, and forward and inverse Fourier Transform (i.e., FFT and IFFT). Use of this software for Fourier transformations and square wave decomposition is also discussed by Brooks2, and application of Mathcad for simulating single-ended and differential pair high-speed topologies are demonstrated by Norte3. As an example, let us apply Mathcad to analyze the asymmetric stripling configuration depicted by Figure 1. For asymmetric stripline (also referred to as offset stripline) the signal layer is sandwiched between two plane layers, but it is closer to one plane than the other (i.e., H1 not equal H). Setting H1=H leads to case of centered (or balanced) stripline.
Figure 2 illustrates Mathcad calculations for characteristics impedance Z0 and propagation delay (Tpd). The parameters Er, H, H1 and W are defined at the top of Figure 2. The formulae for Z0 and Tpd are Equations 1 and 2, respectively.
It illustrates that for Er = 4.2, H = 5 mils, H1 = 8mils, W = 6 mils and T = 0.7 mils, Z0 = 43.06 Ohms and Tpd = 2.084 ns/ft. In Mathcad files, parameter values can be easily altered to examine what happens to all variables and the graphs that depend on them. For example, setting Er = 4.0, H = 6 mil, H1 = 10 mil W = 5 mil T = 1.4 yields Z0 at 52.7 Ohms, and Tpd at 2.034 ns/ft. The analytical technique for determining impedance is less accurate than using a field solver5. Yet an analytical approach provides an efficient means for Z0 computations and can furnish useful insight regarding effects of the various parameters that affect impedance. Mathcad allows the incorporation of text, formulae, pictures, equations and graphs in the same document. This feature is demonstrated in the next example involving via inductance. Every via has a parasitic capacitance and inductance. The via inductance is often more critical (to digital design) than its capacitance. The parasitic inductance associated with vias can degrade signal integrity6 and reduce effectiveness1 of the power supply bypass capacitors. Via inductance is also important in the analyses of power distribution network (PDN) since it increases the impedance between source and load7. An example of calculating via (partial) inductance using Mathcad is illustrated below: Equation for L(h) in Figure 3 is an accurate expression for an isolated via (distanced away from other vias).
When there are other vias nearby, the mutual inductance must also be taken into account7. Generally, Mathcad evaluates each statement in the program in sequence8, however, there are times when it is desirable to evaluate statements only when a particular condition is satisfied. This can be achieved by incorporating “if” statements. As an example, the Serial Attached SCSI (SAS) channel insertion loss formula9 will be evaluated utilizing this Mathcad feature. Transmission line losses can affect the amplitude of high-speed signals and cause ISI5,10. Hence, when designing or testing a high-speed channel, it is crucial to consider the loss specifications. For instance, the loss budget for PCI Express Gen1 is specified as 13.2 dB at a frequency of 1.25 GHz.
Above examples demonstrate that Mathcad offers powerful capabilities for analyzing and solving signal integrity problems. Additional mathematical SI applications will be explored in Part 2 of this article. Mathcad offers efficiency and flexibility for solving mathematical equations. Mathcad Applications to Single-ended and Differential Signal PropagationForward Fourier transform and its inverse furnish a means for data conversion from time to frequency domain and vice versa. Mathcad makes available two Fourier transform pairs: FFT/IFFT and CFFT/ICFFT. The former pair is applicable if the data values in the time domain are real and data vector has 2^m elements (m being an integer, m > 0). For all other cases, the CFFT/ICFFT pair is required. This is because, for real data, the second half of the transform is just the conjugate of the first. The FFT/IFFT takes advantage of this fact-saving memory and time (by discarding the second half of the result vector). The CFFT/ICFFT pair does not assume symmetry in the transform and should be used for complex valued data. The CFFT/ICFFT can be also employed for real numbers, which are just a subset of complex domain. As an example, Figure 9 presents a complex time domain vector gn with real part [Re (gn)] and imaginary [Im (gn)]. There are M data points at sample spacing P (with reciprocal fp). n represents an index/integer and ω0 is angular frequency. tn and frqn are horizontal axes for time and frequency plots respectively. Mathcad CFFT is executed to generate the vector Gn in frequency space. Furthermore, ICFFT can be operated on Gn to reproduce gn. This implies the Fourier transform pair: G := CFFT(g) and g := ICFFT(G).
Fourier transform possesses remarkable applications in high-speed digital design. Digital signals can be approxi mated by square waves,18 having wide bandwidths or many frequency components. Fourier expansion can evaluate the spectral content (or harmonics) of such periodic time domain waveforms. TDR measurements are related19 to corresponding VNA measurements via Fourier transform. Another notable feature of Fourier transform is that convolution in time domain, often difficult to compute, is converted into a simple multiplication20 in frequency domain. A discrete-time approximation to the Fourier transform called DFT forms a foundation for fundamental techniques and applications of digital signal processing (DSP). Johnson, et al4 have simulated pulse propagation by applying Mathcad’s FFT/IFFT feature. Norte 3 has also illustrated Mathcad’s simulation of single-ended and differential high-speed topologies. Consider the single-ended topology in Figure 10, which includes a driver U1, a transmission line T1 and a receiver U2. T1 has bandwidth (Bw) and characteristic impedance (Zo). U2 can be modeled by parasitic resistance (Rr) in series with capacitance (Cr).
U1 outputs a series of pulses having bit period (Tb) and launches a voltage waveform (Vp) at input of T1. These signaling schemes can be simulated using various tools, including SPICE or SI tools from companies such as Mentor Graphics, Cadence, Ansoft and others. It can be also solved by Mathcad, which provides an economical21 approach for generating dependable results and design guidance.21 Application of Mathcad for simulating such single-ended signaling is demonstrated by Figures 11 and 12.
In Figure 11, Bw symbolizes the transmission line bandwidth in Hz. Zo equals line impedance (ohms). Tb represents the input pulse’s bit period in seconds. Rr is the load series resistance and Cr the load capacitance (Farad). Rr is usually on the order of milli-Ohms, and Cr includes C_comp and C_pkg.22 Figure 11 involves transmission of a series of bits across the interconnect. The data pattern is encoded with industry-standard non-return-to-zero (NRZ) format. In NRZ, the binary 1 and 0 are a positive and a negative square wave pulse respectively. The uni(t) function aids in forming the NRZ bit waveform. The load impulse response ignoring propagation delay is impr(t). The vstp(t) models the transmission line as a first-order low-pass filter. The pulse waveform just before the receiver equals vstp(t) – vstp(t-Tb). The convolution integral of this waveform and impr(t) yields the output voltage Voutp(t), which is sectioned into Vout1(t) and Vout2(t). The difference Voutp(t) – Voutp(t-Tb), in turn, produces the received pulse Vrec(t). Finally, vnrz(t) is the NRZ 50-bit stream, which is expressed as summation s1(t) + s2(t)+… +s10(t). 10101100111000101010111101100001010111100111110001 An eye pattern at the receiver can be constructed via bit-by-bit superposition of the received bits. Figure 12b shows an eye pattern formed by graphing 16 bits on the same graph. The plotted bits embrace vnrz(t+Tb), vnrz(t+2Tb), ……….vnrz(t+15Tb), vnrz(t+16Tb). Plotting several Y-axis expressions versus the same X-axis in Mathcad requires entering the first expression followed by a comma. A placeholder will then appear below the first expression. When the second expression is entered followed by a comma, another placeholder results for entering the next expression. This process can be repeated to graph multiple expressions. Eye diagrams are frequently generated employing a large number of pseudorandom bit sequence (PRBS)23, such as a PRBS [(2^7) – 1]. However, eye patterns created by Mathcad based on a limited number such as 16 bits can be still valuable particularly for examining trends.21 For instance, it can be useful for analyzing effects on the eye pattern caused by variations in bandwidth or load capacitance. Trends based on 16 bits can be quite similar to those associated with a much greater number of signal bits. As an example, decreasing the line bandwidth (Bw) (in Figure 11) from 500 MHz to 100 MHz will reveal degradation in eye opening of Figure 12b. Consider a differential topology as displayed by Figure 13. It comprises a differential driver (U1), transmission lines (T1, T2, T3 and T4), termination resistor (Rt) and differential receiver U2. The concepts governing single-ended signaling can be extended to differential case, but it requires several important considerations.
Differential signaling involves propagation of signals on a pair of coupled transmission lines. The degree of coupling influences impedance, signal velocity (timing) and termination requirements. The non-inverted signal Vp traveling on one line is the complement of an inverted signal Vn on the second line. For instance, if Vp is given by: 10101100111000101010111101100001010111100111110001 Then Vn having opposite polarity (each “1” is replaced with a “0” and vice versa) consists of: 0101001100011101010100001001111010100001100001110 The differential receiver acquires the difference Vp – Vn to ascertain the high or low state of the received signal. The reason for capturing the voltage difference is to minimize the common-mode noise. Mathcad scripts for treating differential topologies are described in Reference 3, found in Part 1 of this series. In conclusion, Mathcad can be effectively applied for analyzing signal-integrity concepts, solving complex signal-integrity expressions and simulating high-speed PCB topologies. PCD&F Dr. Abe (Abbas) Riazi is a senior staff electronic design scientist with Broadcom Corp. in Irvine, CA, and can be reached at
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
. REFERENCESDr. Abe (Abbas) Riazi is a senior staff electronic design scientist with Broadcom Corp. in Irvine, CA and can be reached at This e-mail address is being protected from spambots. You need JavaScript enabled to view it . ACKNOWLEDGEMENTSI am thankful to Mr. Mohammad Tabatabai of Broadcom Corporation.REFERENCES
|
| < Prev | Next > |
|---|
Design News
- PCB WEST 2010 Registration up 72%
- DfE Planning Can Save Millions
- Icahn Increases Mentor Stake to 15%
- CST to Host EMC System Design Webinars
- Mentor Narrows Q2 Loss on Higher Sales
- DKN Unveils Ultra-Thin Connectors for High-Density Flex Substrates
- Gore White Paper Discusses Cable System Selection
- Camstar Says License Revenue Strong
- Cadence Returns to Profitability in Q2
- NI Reports Stellar Q2; Record Year Forecast
Market News
- August Production Sees Strong Growth
- New US Export Control System Rules to Come Tuesday
- Semi Sales Up 37% YoY in August
- US GAO Report Spurs EPA Action on Electronics Recycling
- Rising Semi Inventories Not Cause for Concern
- Mistake Caused Lower Parts Outlook, ECA Says
- Semi Gear Demand Spikes in July
- EPA Head Singles Out E-Waste For Elimination
- Analyst: Has PCB Market Peaked?
- July Marks One Year of Continued Manufacturing Growth
Fab News
- BBG Makes Inc. 5000 List for the 4th Straight Time
- ChungHong to Raise Nearly $7M in Funds
- Nan Ya's Q3 Sales Up 5%
- Foxconn Q2 Profits Up 11%
- N.American PWB Orders Up 34%
- Cicor PCB Division Posts 27% H1 Revenue Increase
- Schweizer's H1 Sales Up 80% YoY
- 3CEMS Eyes Revenue Jump, Public Listing
- Agfa Says Higher PCB Film Demand
- Porat to Succeed Amit as Camtek CEO
Products
Tactilus heat-sink analysis system enables test and correction of surface contact and pressure distribution between the heat sink and its source. Can visualize actual contact forces and pressure distribution data on the components. As mounting screws between the CPU and the heat sink are torqued, it maps and measures the changing pressure distribution between the mating surfaces and displays it. Can be tested, manipulated, and repositioned in real-time. Provides pressure data needed for FEA simulation predictions. Is 0.015" thick; can be placed between the CPU and heat sink without affecting...
Sponsor Links
Need PCB prototypes fast?
Sunstone Circuits takes the pain out of prototyping! We are dedicated to making the online ordering of PCB prototypes simple, fast, and easy from quote to delivery. Quick access to our 24/7/365 customer service team and easy online order tracking takes the pain out of sourcing prototypes online.
Put us to the test - order Sunstone Circuits today!
Features
Can high-mix, low-volume production succeed in China? You bet. In the 1970s, if you set up a contract manufacturing shop in a good location, customers eventually would walk through the doors. In the real world, things quickly changed for American companies, as OEMs, driven by maximizing shareholder value, searched for cheaper sources offshore. The first options were Hong Kong, Malaysia and Singapore. After prices increased in these countries, greener pastures were found in China....














