Modify the LM35 in Proteus ISIS

Status
Not open for further replies.

icamaster

Newbie level 1
Joined
Mar 29, 2017
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
9
Hello!

I have a question regarding ISIS proteus.

I want to modify the existing LM35 so that the output is 250mV + 7.0mV/degree instead of a flat 10mV/degree.
I was thinking of modifying the SPICE model?

Code:
Design:   LM35.pdsprj
Doc. no.: <NONE>
Revision: <NONE>
Author:   <NONE>
Created:  27/11/2012
Modified: 27/11/2012

*PROPERTIES,4    
C0=1e-3
C1=0.00889
C2=1.98e-5
TC=1

*MODELDEFS,0    

*PARTLIST,12   
AVS1,AVS,"<C0>+V(A,B)*<C1>+V(A,B)*<C2>",PRIMITIVE=ANALOGUE
C1,CAPACITOR,1e-2+0.63*<TC>,PRIMITIVE=ANALOGUE
C2,CAPACITOR,1n,PRIMITIVE=ANALOGUE
G1,VCCS,-1e8,PRIMITIVE=ANALOGUE
Q1,NPN,NPN,BF=150,CJC=9.12E-12,CJE=27.01E-12,IKF=0.152,PRIMITIVE=ANALOGUE,RB=0.13,RC=0.12,RE=0.22,TR=100E-9
R1,RESISTOR,1,PRIMITIVE=ANALOGUE
R2,RESISTOR,20000,PRIMITIVE=ANALOGUE
R3,RESISTOR,160000,PRIMITIVE=ANALOGUE
R4,RESISTOR,1,PRIMITIVE=ANALOGUE
R5,RESISTOR,100M,PRIMITIVE=ANALOGUE
V1,VOUT,1V,MODDLL=SETPOINT,PRIMITIVE=ANALOG,SETPOINT=<SETPOINT>
VM1,RTVCHECK,"Power Supply",MAX=30,MIN=3.5,MODE=2,PRIMITIVE=ANALOG

*NETLIST,9    
#00000,2
V1,PS,+
R4,PS,1

#00002,2
AVS1,PS,+
G1,PS,P

#00004,4
AVS1,PS,A
R4,PS,2
C1,PS,1
R5,PS,2

#00007,4
G1,PS,+
R1,PS,2
C2,PS,1
Q1,PS,B

#00008,3
G1,PS,N
R2,PS,2
R3,PS,1

-VS,7
-VS,GT
AVS1,PS,-
VM1,PS,-
R1,PS,1
R3,PS,2
C2,PS,2
G1,PS,-

+VS,3
+VS,GT
Q1,PS,C
VM1,PS,+

VOUT,3
VOUT,GT
Q1,PS,E
R2,PS,1

GND,5
GND,PT
R5,PS,1
C1,PS,2
AVS1,PS,B
V1,PS,-
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…