BradBrim TutorialSlides Final1 Sparam
BradBrim TutorialSlides Final1 Sparam
S-parameter Modeling
Brad Brim
Sigrity, Product Marketing Manager
[email protected]
Agenda
Ò Definition and Properties of S-parameters
Ò Application of S-parameters
Ò This material is introductory
Ò … but it is critical to remember because improper generation
and application of S-parameters is often directly attributable
to violating these basic concepts
Ò device/circuit models
Ò whether individual devices or larger on-chip circuits
Ò reduced-order models
Ò whether macromodel S-parameters or I.P. or
measurements
Ò Circuit Simulation
Ò Modified nodal analysis
Ò SPICE and most (if not all) circuit simulators in both the time and
frequency domain are based on modified nodal analysis
Ò S-parameters are not applied directly in any of these simulators,
but are first converted to Y-parameters for integration with the base
analysis
Ò If Zref is complex (e.g. highly lossy lines) convert to real value Rref
in the S-parameter generation environment
Ò avoids inconsistencies between generation and application
environments
S-parameters are “differential” in nature
Ò only the local voltage difference is relevant
Ò The information contained in the S-parameter file is exactly the same in either case
Ò the circuit behavior had better be exactly the same in either case
Ò “multi-mode”
Ò N-coupled lines
Ò modes typically not considered by designers for N>2
Ò general waveguides
Ò including cutoff modes
Common language
(see the wiki web page cited earlier for much more)
Ò dB: 20(log10(S))
Ò phase: phase(S)
Ò typically “wrapped” [-180,180]
Ò negative phase accumulation with delay
Common displays
Ò most common display
Ò X-axis: linear frequency
Ò Y-axis: dB for magnitude, [-180,180] degrees for phase
Ò Smith Charts
Ò simply a bilinear mapping of magnitude and phase to a
2D plot
Ò relevant to reflection S-parameters
Ò many GUIs provide readout of equivalent impedance
Ò bottom half is capacitive, top half is inductive
Ò resonances are tight loops
Ò matched condition is in the center, open/short circuit on
the outside of the circle on opposite sides
Properties of S-parameters
Ò Reciprocity
Ò Sij = Sji … except for loss and active circuits
Ò Passivity
Ò (I-SS*) >= 0
Ò Causality
Ò no response before T=0, or appropriate physical delay
Ò Smoothness
Ò not really a property so don’t insist on it
Practical issues for modeling with S-parameters
Ò Noise
Ò measurements
Ò calibration errors, repeatability, noise
Ò EM computations
Ò numerical error, convergence, design specification (geometrical representation, material properties)
Ò Phase
Ò phase is critical to get correct, often more so than amplitude
Ò phases corresponding to extremely small magnitudes can be significantly wrong
Ò Magnitude
Ò if you are looking at extremely small values and they are significantly wrong you must
sometimes ask yourself if it really matters
Ò Frequency-domain TDR
Ò amplitude and phase can help to debug without an actual TDR
File formats
Ò “Touchstone”
Ò been around for many years
Ò extension of SNP, where N=integer number of ports
Ò version 2.0 specified by IBIS
Ò mixed mode parameters, per-port Zref, etc.
Ò version 2.1 available soon
Ò sparse data, binary
Ò future versions
Ò rational functions instead of discrete frequency samples
Ò Proprietary formats
Ò Sigrity BNP – “binary network parameters”
Ò rational function representations possible, enabling extraction at “any” frequency
Ò API available upon request (HSPICE applies it)
Ò did not want to document and support with version control for the entire industry
Ò future versions of Touchstone will have many of the same capabilities and resulting benefits
Model Connectivity
Ò Two proprietary formats are available
Ò Sigrity MCP: Model Connection Protocol
Ò public domain format, multiple EDA companies read/write
Ò Apache CPP: Chip Package Protocol
Ò covered under NDA, multiple EDA companies read/write
Ò Connection Modes
Ò by name or by physical location
Ò Difficulties
Ò high pin count – memory, time and numerical convergence
Ò previously 100 was considered good, now 500
Ò preserving passivity and causality
Ò tradeoffs between maintaining the original S-parameters and generating good
transient results
Ò ultimate judge is time domain circuit simulation
Ò W-element models
Ò more efficient and more accurate than general S-parameters for long TLines
Ò TL phase delay has an infinite number of poles/zeroes
Macromodel generation flow
Macromodel 4-port serial channel example
die
Vdpg Vdsg
Applications of S-parameters
to chip-package PDN Vdie-brd
board
Applications of S-parameters to parallel buses and serial
channels
Ò Return paths
Ò be consistent amongst all your models
Ò use an IO buffer model to properly push/pull current into the PDN
Ò Power Ports
Ò model signals and power together
Ò use a common return path
Ò Memory interface
Ò silicon vendor and system house worked together to model system
Ò eye opening and jitter predictions varied significantly
Ò used different return paths
Ò one applied separate signal/power modeling
Ò with different return paths
Ò must use power-aware IO buffer models to model PDN currents
Applications of S-parameters to parallel buses (memory)
Lessons:
(1) Use a driver model to push/pull current from the real return path(s), since it
varies with rising/falling edges.
(2) Model signals, power and ground together.
Eye Diagram #1 Eye Diagram #2
(a) VSS and VDD return path (a) VSS return path
(b) PDN and signals modeled together (b) PDN (VSS and VDD) and signals
are modeled separately
Eye Mask Width = 803 pS
Jitter = 89 pS Eye Mask Width = 758 pS
Jitter = 114 pS
Differences due to:
Different return paths (VSS or VSS/VDD*)
Signals and PDN treated differently (all together or separately with different return paths)
Lessons learned … and re-learned regularly
Ò There is no such thing as global ground