[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fasthenry Spice model converted to ICAP4 format



Original poster: "rob by way of Terry Fritz <twftesla-at-qwest-dot-net>" <rob-at-pythonemproject-dot-com>

Pay close attention to the *********** and .ENDS.  They must end every
part definition.  For some reason the simulator didn't like my final
.ENDS statement without having a comment "*" before it.  I did ac and
transient simulations and it does seem to work.  Now if I can get ICAP
to output a Smith chart of the input impedance, I can then take it in to
work and compare it with a network analyzer.  I imagine the major source
of error to be the top loading on my coil.  Its a metal pipe cap, so no
simple formula will probably work. I guess I can just remove it.

Rob.


**********
*SRC=FASTHENRY;ROMequiv;Generic Models;Transformer;
*SYM=XFMR
.SUBCKT ROMequiv  p0 m0 p1 m1
* Equivalent circuit for state-space model from analysis of FastHenry
file:
* File generated by fastTesla
* Fasthenry generates  A dx/dt = x + B Vin,  Iout = C^t x + D Vin
* Note that regardless of what the original system modeled (say
inductance),
* this file will use only R's, C's, and VCCS's to represent the system
* This is a 2-port model with the port nodes listed pairwise
* Correspondence to FastHenry nodes:
*   Port 1:  n7760  to  n7919
*   Port 0:  n0  to  n7759
* pn mn is a plus/minus port pair of nodes, where n is the port number
* The coefficient of x is the identity == 1 ohm resistors to ground.
RH_0_0 state0 0 1
RH_1_1 state1 0 1
* The B matrix. VCCS dependent on port voltages
GB_0_0  state0 0 p0 m0       -0.441524
GB_1_1  state1 0 p1 m1        -15.3203
* The C matrix. VCCS dependent on state variable
GC_0_0   p0 m0 state0 0        0.441524
GC_1_1   p1 m1 state1 0         15.3203
* The A matrix.  Coefficient of dx/dt.  constructed from capacitors. A =
A^t
CA_0_0 state0 0    0.000197407 ic=0
CA_1_0 state1 state0    3.66158e-06 ic=0
CA_1_1 state1 0    0.000505055 ic=0
.ENDS 
**********
*SRC=IRFP150N;IRFP150N;MosFETS N;Power <=100V;
*SYM=POWMOSN
.SUBCKT IRFP150N 1 2 3
*
*      Model Generated by MODPEX     
* Copyright(c) Symmetry Design Systems
*         All Rights Reserved        
*    UNPUBLISHED LICENSED SOFTWARE   
*   Contains Proprietary Information 
*      Which is The Property of      
*     SYMMETRY OR ITS LICENSORS      
* Commercial Use or Resale Restricted 
*   by Symmetry License Agreement    
*
* Model generated on May  9, 01
* MODEL FORMAT: SPICE3
* Symmetry POWER MOS Model (Version 1.0)
* External Node Designations
* Node 1 -> Drain
* Node 2 -> Gate
* Node 3 -> Source
M1 9 7 8 8 MM L=100u W=100u
.MODEL MM NMOS LEVEL=1 IS=1e-32
+ VTO=3.79419 LAMBDA=0.00212281 KP=29.6525
+ CGSO=1.67307e-05 CGDO=7.65499e-07
RS 8 3 0.0167405
D1 3 1 MD
.MODEL MD D IS=1.30113e-09 RS=0.00354132 N=1.35626 BV=100
+ IBV=0.00025 EG=1.2 XTI=3.06859 TT=0.0001
+ CJO=1.16383e-09 VJ=1.02493 M=0.491499 FC=0.5
RDS 3 1 1e+06
RD 9 1 0.00643344
RG 2 7 4.5333
D2 4 5 MD1
* Default values used in MD1:
*   RS=0 EG=1.11 XTI=3.0 TT=0
*   BV=infinite IBV=1mA
.MODEL MD1 D IS=1e-32 N=50
+ CJO=3.04945e-09 VJ=0.5 M=0.811601 FC=1e-08
D3 0 5 MD2
* Default values used in MD2:
*   EG=1.11 XTI=3.0 TT=0 CJO=0
*   BV=infinite IBV=1mA
.MODEL MD2 D IS=1e-10 N=0.4 RS=3e-06
RL 5 10 1
FI2 7 9 VFI2 -1
VFI2 4 0 0
EV16 10 0 9 7 1
CAP 11 10 4.55435e-09
FI1 7 9 VFI1 -1
VFI1 11 6 0
RCAP 6 10 1
D4 0 6 MD3
* Default values used in MD3:
*   EG=1.11 XTI=3.0 TT=0 CJO=0
*   RS=0 BV=infinite IBV=1mA
.MODEL MD3 D IS=1e-10 N=0.4
*
.ENDS
**********




-- 
-----------------------------
The Numeric Python EM Project

www.pythonemproject-dot-com