Subject: IBIS BIRD41.6 Series Switch Test Circuit

From: [email-masked] ( Bob Ross)
Date: Wed, 28 May 97 11:11 PDT

To IBIS Committee:

Below is a PSpice version of the Series Switch Model test circuit
sent out previously.

Bob Ross
Interconnectix

* TEST CASE FOR SERIES SWITCH MOS MODEL USING NMOSFET ONLY

*                           1   3
*                           |   |
*                                      ____________
*              o---/\/\/\---o   o-----O____________)---o  Open
*                 10 ohms   |___|       TD = 0.5 nS   
*                             |        Z0 = 50 ohms   
*                            Vcc      
*  Vh     /----\
*        /      \
*  0  --/        \-----  0.1ns Rise and Fall
*
*
*
*                     Vds = Vd - Vs  is used to change the sign of the current
*                                    if Vs > Vd
*
*                                 Is
*                            D   --->   S
*                    11  o---o--/\/\/\--o---o  13
*                           _|_        _|_
*                       C11 ___        ___ C13
*                            |          |
*                           GND        GND
*
*
*
*--------------------------------------------------------------------------
* TABLE OF Ids (2) vs Vs (1) for Vds = 0.5 V
*
.SUBCKT SER5      1  100  2
*                 |   |   |
*                 |   |   Current Source Output
*                 |   Reference Voltage
*                 Output Sense Voltage
*--------------------------------------------------------------------------
GSW    2  100  TABLE  {V(1)-V(100)} =
+   0.          0 
+ 8.0000e-01    0  
+ 9.0000e-01    1.433e-04  
+ 1.0000e+00    1.116e-03  
+ 1.1000e+00    2.698e-03  
+ 1.2000e+00    4.548e-03  
+ 1.3000e+00    6.117e-03  
+ 1.4000e+00    7.862e-03  
+ 1.5000e+00    1.037e-02  
+ 1.6000e+00    1.288e-02  
+ 1.7000e+00    1.540e-02  
+ 1.8000e+00    1.792e-02  
+ 1.9000e+00    2.045e-02  
+ 2.0000e+00    2.297e-02  
+ 2.1000e+00    2.551e-02  
+ 2.2000e+00    2.804e-02  
+ 2.3000e+00    3.059e-02  
+ 2.4000e+00    3.313e-02  
+ 2.5000e+00    3.568e-02  
+ 2.6000e+00    3.824e-02  
+ 2.7000e+00    4.080e-02  
+ 2.8000e+00    4.337e-02  
+ 2.9000e+00    4.594e-02  
+ 3.0000e+00    4.852e-02  
+ 3.1000e+00    5.111e-02  
+ 3.2000e+00    5.370e-02  
+ 3.3000e+00    5.631e-02  
+ 3.4000e+00    5.892e-02  
+ 3.5000e+00    6.153e-02  
+ 3.6000e+00    6.416e-02  
+ 3.7000e+00    6.680e-02  
+ 3.8000e+00    6.945e-02  
+ 3.9000e+00    7.211e-02  
+ 4.0000e+00    7.478e-02  
+ 4.1000e+00    7.747e-02  
+ 4.2000e+00    8.017e-02  
+ 4.3000e+00    8.288e-02  
+ 4.4000e+00    8.562e-02  
+ 4.5000e+00    8.838e-02  
+ 4.6000e+00    9.116e-02  
+ 4.7000e+00    9.396e-02  
+ 4.8000e+00    9.680e-02  
+ 4.9000e+00    9.967e-02  
+ 5.0000e+00    1.026e-01  
.ENDS
*--------------------------------------------------------------------------
* TABLE OF Ids (2) vs Vs (1) for Vds = 1 V
*
.SUBCKT SER1      1  100  2
*                 |   |   |
*                 |   |   Current Source Output
*                 |   Reference Voltage
*                 Output Sense Voltage
*--------------------------------------------------------------------------
GSW    2  100  TABLE  {V(1)-V(100)} =
+   0.          0 
+ 8.0000e-01    0
+ 9.0000e-01    2.086e-04  
+ 1.0000e+00    1.744e-03  
+ 1.1000e+00    4.520e-03  
+ 1.2000e+00    8.191e-03  
+ 1.3000e+00    1.235e-02  
+ 1.4000e+00    1.648e-02  
+ 1.5000e+00    2.016e-02  
+ 1.6000e+00    2.337e-02
* + 1.7000e+00    2.566e-02    Non-Monotonic Point
+ 1.8000e+00    2.397e-02  
+ 1.9000e+00    2.900e-02  
+ 2.0000e+00    3.405e-02  
+ 2.1000e+00    3.910e-02  
+ 2.2000e+00    4.417e-02  
+ 2.3000e+00    4.924e-02  
+ 2.4000e+00    5.432e-02  
+ 2.5000e+00    5.940e-02  
+ 2.6000e+00    6.450e-02  
+ 2.7000e+00    6.961e-02  
+ 2.8000e+00    7.473e-02  
+ 2.9000e+00    7.986e-02  
+ 3.0000e+00    8.501e-02  
+ 3.1000e+00    9.016e-02  
+ 3.2000e+00    9.533e-02  
+ 3.3000e+00    1.005e-01  
+ 3.4000e+00    1.057e-01  
+ 3.5000e+00    1.109e-01  
+ 3.6000e+00    1.161e-01  
+ 3.7000e+00    1.214e-01  
+ 3.8000e+00    1.267e-01  
+ 3.9000e+00    1.319e-01  
+ 4.0000e+00    1.373e-01  
+ 4.1000e+00    1.426e-01  
+ 4.2000e+00    1.479e-01  
+ 4.3000e+00    1.533e-01  
+ 4.4000e+00    1.587e-01  
+ 4.5000e+00    1.642e-01  
+ 4.6000e+00    1.697e-01  
+ 4.7000e+00    1.752e-01  
+ 4.8000e+00    1.808e-01  
+ 4.9000e+00    1.864e-01  
+ 5.0000e+00    1.920e-01  
.ENDS
*--------------------------------------------------------------------------
* TABLE OF Ids (2) vs Vs (1) for Vds = 2 V
*
.SUBCKT SER2      1  100  2
*                 |   |   |
*                 |   |   Current Source Output
*                 |   Reference Voltage
*                 Output Sense Voltage
*--------------------------------------------------------------------------
GSW    2  100  TABLE  {V(1)-V(100)} =
+   0.          0  
+ 8.0000e-01    0 
+ 9.0000e-01    2.991e-04  
+ 1.0000e+00    2.581e-03  
+ 1.1000e+00    6.944e-03  
+ 1.2000e+00    1.318e-02  
+ 1.3000e+00    2.107e-02  
+ 1.4000e+00    3.036e-02  
+ 1.5000e+00    4.080e-02  
+ 1.6000e+00    5.211e-02  
+ 1.7000e+00    6.397e-02  
+ 1.8000e+00    7.601e-02  
+ 1.9000e+00    8.784e-02  
+ 2.0000e+00    9.897e-02  
+ 2.1000e+00    1.089e-01  
+ 2.2000e+00    1.168e-01  
+ 2.3000e+00    1.218e-01  
+ 2.4000e+00    1.228e-01  
+ 2.5000e+00    1.217e-01  
+ 2.6000e+00    1.186e-01  
+ 2.7000e+00    1.107e-01  
+ 2.8000e+00    1.014e-01  
+ 2.9000e+00    1.116e-01  
+ 3.0000e+00    1.218e-01  
+ 3.1000e+00    1.321e-01  
+ 3.2000e+00    1.423e-01  
+ 3.3000e+00    1.526e-01  
+ 3.4000e+00    1.629e-01  
+ 3.5000e+00    1.732e-01  
+ 3.6000e+00    1.836e-01  
+ 3.7000e+00    1.940e-01  
+ 3.8000e+00    2.044e-01  
+ 3.9000e+00    2.148e-01  
+ 4.0000e+00    2.253e-01  
+ 4.1000e+00    2.358e-01  
+ 4.2000e+00    2.463e-01  
+ 4.3000e+00    2.569e-01  
+ 4.4000e+00    2.675e-01  
+ 4.5000e+00    2.781e-01  
+ 4.6000e+00    2.888e-01  
+ 4.7000e+00    2.995e-01  
+ 4.8000e+00    3.102e-01  
+ 4.9000e+00    3.208e-01  
+ 5.0000e+00    3.315e-01  
.ENDS
*--------------------------------------------------------------------------
* TABLE OF DIODE
*
.SUBCKT DIODE     1  100  2
*                 |   |   |
*                 |   |   Current Source Output
*                 |   Reference Voltage
*                 Output Sense Voltage
*--------------------------------------------------------------------------
GSW    2  100  TABLE  {V(1)-V(100)} =
+-2.0000e+00   -6.158e+17  
+-1.9000e+00   -1.697e+16  
+-1.8000e+00   -4.679e+14  
+-1.7000e+00   -1.290e+13  
+-1.6000e+00   -3.556e+11  
+-1.5000e+00   -9.802e+09  
+-1.4000e+00   -2.702e+08  
+-1.3000e+00   -7.449e+06  
+-1.2000e+00   -2.053e+05  
+-1.1000e+00   -5.660e+03  
+-1.0000e+00   -1.560e+02  
+-9.0000e-01   -4.308e+00  
+-8.0000e-01   -1.221e-01  
+-7.0000e-01   -4.315e-03  
+-6.0000e-01   -1.715e-04  
+-5.0000e-01   -4.959e-06  
+-4.0000e-01   -1.373e-07  
+-3.0000e-01   -4.075e-09  
+-2.0000e-01   -3.044e-10  
+-1.0000e-01   -1.030e-10  
+   0.            0       
+   5             0
.ENDS
*--------------------------------------------------------------------------

* POWER AND GND
V100 100 0   0
V199 199 100 5

***************************************************************************
* MOSFET FOR 1-3 CONNECTION USED FOR REF.

V95  5 199 0

MOS  1  5  3  100  NMOSFET  W=1440U L=0.64U

* ADDITIONAL EFFECTIVE CAPACITANCE IN ACTUAL SWITCH MODEL
* C1   1 100 6P
* C3   3 100 6P

.OPTIONS TNOM=40.00
.MODEL NMOSFET  NMOS LEVEL=3  

* SOURCE AND LOAD FOR EDITING
R1   91  1 10
*
R3   3 100 50G
TL   3 100 9 100 Z0=50 TD=0.5N
R9   9 100 1G

***************************************************************************
* TABLE DRIVEN MODEL SIMULATION WITH 11-13 CONNECTION

* DRAIN TO SOURCE VOLTAGE (SIGN CONTROLS CURRENT FLOW DIRECTION)
EDS  34 100 VALUE = {V(11)-V(13)}
RDS  34 100 1G

* MIN OF SOURCE OR DRAIN BECOMES "Vs"
EMIN 38 100 VALUE = {(V(11)+V(13)-ABS(V(34)))/2}
RMIN 38 100 1G
EREL 39 100 VALUE = {V(199)-V(38)}
RREL 39 100 1G

* I1(Vs)
X1   39  100 35  SER1
V1   100  35  0

* I2(Vs)
X2   39  100 36  SER2
V2   100  36  0

* I5(Vs)
X5   39  100 37  SER5
V5   100  37  0

* SELECT G5LIN, G1LIN, OR G2LIN:

***  Using Vds = 0.5 V Linear Approximation
G5LIN 11  13  VALUE = {V(34)*I(V5)*2}

***  Using Vds = 1 V Linear Approximation
* G1LIN 11  13  VALUE = {V(34)*I(V1)}

***  Using Vds = 2 V Linear Approximation
* G2LIN 11  13  VALUE = {V(34)*I(V2)/2}

* INPUT AND OUTPUT CAPACITANCE WHICH MATCHES SPICE MODEL
* C11  11  100 6P
* C13  13  100 6P

* DRAIN/SOURCE TO SUBSTRATE PATHS (FROM MOSFET EXTRACTION)
XDIODE1 11  100  11  DIODE
XDIODE2 13  100  13  DIODE

* MODEL SOURCE AND LOAD FOR EDITING
R11  91 11  10
*
R13  13 100 50G
TL1  13 100 19 100 Z0=50 TD=.5N
R19  19 100 1G

***************************************************************************

* COMMON INPUT PULSE
VIN  91 100 PULSE 0 5 0 .1N .1N 2N 4N

.TEMP 50.
.TRAN .1N 4N 0 .01N
.PRINT TRAN V(1) V(11) V(3) V(13)
.PROBE

.END