25
[ELEC_ENG_5620] W-element Examples using Hyperlynx and H!"CE

W-element Examples Using Hyperlynx

  • Upload
    sadnan

  • View
    263

  • Download
    1

Embed Size (px)

DESCRIPTION

W-element basic example using hyperlynx

Citation preview

An Application Example of W-element & Hyperlynx

[ELEC_ENG_5620] W-element Examplesusing Hyperlynx and HSPICE1IntroductionsExtracting transmission line W-element from HyperLinxSimulation using the W-element at HSPICETime-domain simulation (Transient)Frequency-domain simulation (AC)

ContentsThis document gives an example to illustrate how to use HSPICE W-element to model a stripline trace and differential traces.ObjectiveThe W-element is a versatile transmission line model that you can apply to efficiently and accurately simulate transmission lines, ranging from a simple lossless line to complex frequency-dependent lossy-coupled lines.Whats W-element?

This specification is what we usually use.Example of W-element syntax (HSPICE)Example: For N signal conductor, W-element transmission line in RLGC model form is like the following.

W_test1 in1 in2 inN iR out1 out2 outN oR RLGCMODEL=name N=val L=val

in1in2iRout1out2oRW_test1in3out3LRLGC modelrefrefinNoutNExtracting transmission line W-element from HyperLinx: Coupled Strip Line

Example Geometry254umA lossy 0.254 meter stripline is used as an example.Cross sectionstackupr=4.5;tan=0.02;All the metals are copper.

254um254umStep 1

Open up Hyperlynx.click this.Step 2 - aDefine geometry in Hyperlynx.

2.Right click on it.3.left click this.1.Select a cell

Step 2 - bDefine stack-up in Hyperlynx.1.left click here.

2.Delete unwanted layers and define trace dimensions. Then define material property under Dielectric tab.

Step 2-cEdit the first trace.

Make sure trace width is as you want to.

Step 2-dAdd another trace

3. Coupled line should be look like:4. Remember to change 2nd line geometry and trace-trace separation.

2. Follow this to add the 2nd line. 1. After adding another line, click this

Step 3Do field simulation and check numerical resultsSee your results here.

Step 4 - aExport RLGC parameters from Hyperlynx

1.left click here to add source.2. Click Select.3. Select TDR as source

4. Click Output.Step 4 - bExport RLGC parameters from Hyperlynx

1.Click this.

2. Save netlistStep 4 - cCheck the model by open rlgc.sp using textpadThis is the model of your transmission line.

Tips on using HyperlynxMake sure lossy simulation is enabled before simulation.

Simulation using thew-element at HSPICE: Transient SimulationStep 1.TITLE Transient Simulation Example.option post=2

**** Transmission line models ***********************WCond_000 in01 in02 0 out01 out02 0 RLGCmodel=Cond_000 N=2 L=0.076200

.MODEL Cond_000 W MODELTYPE=RLGC N=2* Lo (H/m)+ Lo =+ 3.52271e-007 + 4.28221e-008 3.52271e-007

* Co (F/m)+ Co =+ 1.44265e-010 + -1.75368e-011 1.44265e-010

* Ro (Ohm/m)+ Ro =+ 3.95882 + 0 3.95882

* Go (S/m)+ Go =+ 0 + 0 0

* Rs (Ohm/m-sqrt(Hz))+ Rs =+ 0.00093818 + 2.09855e-005 0.000938181

* Gd (S/m-Hz)+ Gd =+ 1.81288e-011 + -2.20375e-012 1.81288e-011 **** End Transmission line models *******************W-element statementTransient simulator-Time step:10ps-Ending time:70ns.Differential Trapezoidal voltage sources: 0 to 1v and 0 to -1v transition, tr/tf: 20ps, pulse width:10ns, period: 20ns * setup terminationsR1 in1 in01 50R2 in2 in02 50R3 out1 0 100R4 out2 0 100

V1 in1 0 PULSE 0v 1v 0ps 20ps 20ps 10ns 20nsV2 in2 0 PULSE 0v -1v 0ps 20ps 20ps 10ns 20ns

.PRINT TRAN v(in01,in02) v(in1,in2) v(out01,out02)

.tran 10p 70.00n .ENDOption setting50 resistances at source100 resistances at outputW-element RLGC model(extracted from HyperLinx)Generate HSPICE Code and save as xxx.spStep 2Run HSPICE simulation1. Open HSPICE

2. Select the .sp file in step13. Click Simulate

Step 3View TD simulation results by SPICE explorerSource voltageTDRTDT1. Open SPICE Explorer2. Locate simulation directory and click .tr0 file

Simulation using the w-element at HSPICE: AC SimulationDifferential Ports definitionSet AC sweep from 1MHzto 10GHz with 1000 pointsIt will generate a touchstone outputStep 1.TITLE AC Simulation Example.option post=2

**** Transmission line models ***********************WCond_000 in01 in02 0 out01 out02 0 RLGCmodel=Cond_000 N=2 L=0.076200

.MODEL Cond_000 W MODELTYPE=RLGC N=2* Lo (H/m)+ Lo =+ 3.52271e-007 + 4.28221e-008 3.52271e-007

* Co (F/m)+ Co =+ 1.44265e-010 + -1.75368e-011 1.44265e-010

* Ro (Ohm/m)+ Ro =+ 3.95882 + 0 3.95882

* Go (S/m)+ Go =+ 0 + 0 0

* Rs (Ohm/m-sqrt(Hz))+ Rs =+ 0.00093818 + 2.09855e-005 0.000938181

* Gd (S/m-Hz)+ Gd =+ 1.81288e-011 + -2.20375e-012 1.81288e-011 **** End Transmission line models *******************W-element statementPlot differential s-parameter* setup portsP_1 in01 in02 0 port=1 ac=1 Z0=50P_2 out01 out02 0 port=2 Z0=50

* setup freq sweep.AC lin 1000 1e6 10e9.LIN filename=TwinStrip_Spara format=touchstone dataformat=RI

* ********* output.PROBE AC SDD11(db) SDD21(db) .PRINT AC SDD11(db) SDD21(db)

.ENDOption settingW-element RLGC model(extracted from HyperLinx)Generate HSPICE Code and save as xxx.spStep 2Run HSPICE simulation1. Open HSPICE

2. Select the .sp file in step53. Click Simulate

Step 3View simulation results1. Open SPICE Explorer2. Locate simulation directory and click .ac0 fileSDD11SDD21