[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnucap] how to use LMC6482A spice model with gnucap?
From: |
John Steele Scott |
Subject: |
[Help-gnucap] how to use LMC6482A spice model with gnucap? |
Date: |
Mon, 13 Feb 2006 13:42:33 +1030 |
User-agent: |
KNode/0.9.3 |
Hi,
I have made a small netlist to simulate an active rectifier which uses
National Semiconductor's LMC6482A. The model is available from
<http://www.national.com/models/spice/LM/LMC6482A.MOD>.
When I try to simulate my circuit, I get the following errors:
*//////////////////////////////////////////////////////////////////////
G4 98 16 POLY(2) 1 49 2 49 0 2.812E-8 2.812E-8
^ ? need 1 more nodes
.MODEL MOSFET PMOS(VTO=0 KP=1.842E-3)
^ ? no level specified, using 1
M2.X_U2, MOSFET
model and device parameters are incompatible
M1.X_U2, MOSFET
model and device parameters are incompatible
M2.X_U1, MOSFET
model and device parameters are incompatible
M1.X_U1, MOSFET
model and device parameters are incompatible
I would appreciate it if someone could tell me what changes need to be made
to simulate this model in gnucap version 0.34. I imagine it's not so
difficult once you know how.
In case it matters, the netlist which I am using this circuit in is below.
This is based on an article at <http://www.edn.com/article/CA6250014.html>
"Precision full-wave signal rectifier needs no diodes".
/home/john/spice/rectifier-edn.oregano
*----------------------------------------------
* GNUCAP - NETLIST
.options OUT=120
*----------------------------------------------
R_R4 6 4 2k
V_Vbatt 9 0 dc 3.6
.include /home/john/spice/lmc6482a.mod
V_Vin 3 0 dc 0.0 ac 0.0 sin(0.0 1.1 50 0 0)
R_R1 3 1 1k
R_R2 6 0 1k
R_R3 3 6 2k
X_U2 5 6 7 0 4 LMC6482A/NS
R_R5 1 0 1k
X_U1 1 5 2 0 5 LMC6482A/NS
*----------------------------------------------
.print tran v(8) v(5) v(3)
.tran 0 0.2 0.002
.print op v(nodes)
.op
.end
cheers,
John
- [Help-gnucap] how to use LMC6482A spice model with gnucap?,
John Steele Scott <=