Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with running AD737 SPICE model in Proteus

Status
Not open for further replies.

markdem

Member level 3
Joined
May 16, 2006
Messages
58
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,830
ad 737

Hi All, I am tiring to simulate a AD737 using Protues. I have downloaded the SPICE model from AD, but I have no idea what to do with it. I have read the SPICE subcircuit help file in Protues, and named the pins, but I get the following error when I try to run the sim, and I have no idea what it means;

“Syntax error (prec table – token types 8 and 0).”

The following is my component properties;

PRIMITIVE=ANALOGUE,SUBCKT
SPICEPINS=CC,VIN,PD,NVS,COM,VS,VOUT,CAV
SPICEMODEL=AD737,AD737P.LIB
PACKAGE=DIL08

The following is the SPICE model file

*****************
* This model was developed for Analog Devices by:
* AEI Systems, LLC
* 5777 W. Century Blvd., Suite 876
* Los Angeles, California 90045-5677
*
* The model is ©2006, AEi Systems, LLC. All rights reserved.
*
* Users may not directly or indirectly display, re-sell or
* re-distribute this model or any derivative work therefore
* without the prior written consent of both AEi Systems and
* Analog Devices. This model is subject to change without
* notice. Neither Analog Devices nor AEi Systems is responsible
* for updating this model.
*
* For more information regarding modeling services, model
* libraries and simulation products, please call AEi Systems
* at (310) 216-1144, or contact AEi Systems by
* email: info@aeng.com. Or visit AEi Systems on the web
* at https://www.AENG.com


*$
.SUBCKT AD737 CC VIN PD NVS COM VS VOUT CAV

* Use .OPTIONS GMIN=5E-17 for best output accuracy

R1 3 13 8K
R3 3 1 4K
R4 1 15 3K
Q1 VS 4 15 NPN
.MODEL NPN NPN
R9 6 13 3K
ER VOUT II Value={IF(V(PD) < V(VS), 1U*I(VER), 1G*I(VER))}
VER II 16
GB3 COM CAV Value={I(V4)*I(V4)}
R5 10 NVS 8K
V5 CAV 10
GB1 16 COM Value={IF(V(PD) < V(VS), (IF(SQRT(I(V5)) > 1.7/8000, 1.7/8000, SQRT(I(V5)))), 0)}
R6 CC 18 8K
RPD PD 0 1G
X2 1 COM 4 VS NVS AEIOPAMP0
Q7 VS 4 6 NPN
V4 13 COM
R10 16 COM 8K
GB2 0 VIN VALUE={1P + 50P*V(VIN)}
GB4 0 18 VALUE={1P + 5P*V(CC)}
EB5 3 0 VALUE={IF(ABS(V(VIN)) > ABS(V(CC)), V(VIN), V(CC))}
.ENDS
*$
.SUBCKT AEIOPAMP0 2 3 6 7 4
RP 4 7 10K
IB 3 90 5.0000N
VIB 90 4
IO 3 2 500.00P
RIP 3 4 1G
CIP 3 4 1.4PF
FIBN 2 4 VIB 1
RIN 2 4 1G
CIN 2 4 1.4PF
VOFST 2 10 10.0000N
RID 10 3 1G
EA 11 4 10 3 1
R1 11 12 5K
R2 12 13 50K
C1 12 4 130.00F
GA 4 14 4 13 202.50
C2 13 14 27.000F
RO 14 4A 75
EBAL 4A 4 2A 4 1
RBAL1 7 2A 1MEG
RBAL2 2A 4 1MEG
L 14 6 300.00N
RL 14 6 1000
CL 6 4 3PF
D1 6 70 DN
VSAT 70 7 -1.0000
D2 40 6 DN
VSAT2 40 4 3.0000
.MODEL DN D
.ENDS
*$


Can anyone help me??

Thanks, Mark
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top