[Main]
FileType=CIR
Version=8.01
Program=Micro-Cap
Screen=1024,768
MCAPVersion=8.0.2.0
Key ID=208 332 945
NLCnt=12
TXCnt=8

[shapedef]
Name=Resistor
PolyOpen=12 
PolyLine=0,0
PolyLine=0,0
PolyLine=12,0
PolyLine=14,-4
PolyLine=18,4
PolyLine=22,-4
PolyLine=26,4
PolyLine=30,-4
PolyLine=34,4
PolyLine=36,0
PolyLine=48,0
PolyLine=48,0
Current=32,8,16,8

[shapedef]
Name=Diode
Root="Diode.root",0,-8,0

[shapedef]
Name=NFI
Root="Isource.Root",-12,0,0
Root="TextN.Root",-26,20,0
Root="TextF.Root",-18,20,0

[shapedef]
Name=Diode.root
Line=0,0,20,0
Line=28,0,48,0
Rectangle=18,-8,20,8,SOLID
PolyClosed=3 ,Solid
PolyLine=20,0
PolyLine=28,-8
PolyLine=28,8
Current=32,16,16,16

[shapedef]
Name=TextF.Root
Line=0,0,5,0
Line=0,0,0,8
Line=2,4,0,4

[shapedef]
Name=Isource.Root
Ellipse=-12,12,12,36
Line=0,0,0,24
PolyClosed=3 ,Solid
PolyLine=-4,24
PolyLine=4,24
PolyLine=0,32
Line=0,32,0,48
Current=16,16,16,32

[shapedef]
Name=TextN.Root
Line=0,8,0,0
Line=0,0,5,8
Line=5,8,5,0

[compdef]
Name=Diode
Definition=Diode
Shape=Diode
Mask=5633
memo=Diode
Label Offset=17,10,12,12
PinCnt=2
Pin="Anode",6,0,-9,-8
Pin="Cathode",0,0,-20,-8

[compdef]
Name=NFI
Definition=NFI
Shape=NFI
Mask=4096
memo=Analog behavioral current source (E.g. VALUE=Exp(-T/.5)*sin(2*PI*10*T))
Label Offset=15,12,-29,13
PinCnt=2
Pin="Plus",0,0,7,12
Pin="Minus",0,6,7,3

[compdef]
Name=Resistor
Definition=Resistor
Shape=Resistor
Mask=7937
memo=Resistor
Label Offset=18,6,8,11
PinCnt=2
Pin="Plus",6,0,-10,-4
Pin="Minus",0,0,-14,-4

[Circuit]
Window Placement=2,3, -1,-1, -4,-23, 0,0,1024,650
Default Object=Color=4
Default Object Font=Height=-15,FStyle=0,Color=4,Name=Arial
Default Object Apply Border To Text=No
Default Object Apply Fill To Text=No
WinBackGround Color=15
Select Color=9
Select Box Color=4
Grid Text Color=Height=-12,FStyle=0,Color=1,Name=Arial
Component Color=12
Attribute Text=Height=-12,FStyle=0,Color=2,Name=Arial
Wire Color=2
Pin Connection=Height=-10,FStyle=0,Color=9,Name=Arial
Node Number=Height=-11,FStyle=0,Color=13,Name=Arial
Node Voltage Color=0
Dynamic AC Voltage Color=7
Text Banner Text=Height=-15,FStyle=0,Color=1,Name=Arial
Title Block Background=7
Current=Height=-11,FStyle=0,Color=12,Name=Arial
Power/Condition=Height=-11,FStyle=0,Color=9,Name=Arial
Digital Path Color=9
Title Block=Height=-15,FStyle=0,Color=0,Name=Arial
Digital 0 Color=0
Digital R Color=11
Digital F Color=11
Digital 1 Color=9
Digital X Color=7
Digital Z Color=8
SpiceType=AMBIGUOUS
Block Select Color=41
TitleBlock Field_1=$name
TitleBlock Field_2=$user $company
TitleBlock Field_3
TitleBlock Field_4=$date
TitleBlock Field_5=Page $page of $maxpage
TitleBlock One Title=False
Title_Block_Border=False
Title_Block=False

[Comp]
Name=Diode
Grid=41,30
Rot=5

[Attr]
ONV=17,-66,PART,D1
Style=8192
Height=-16
Font=Comic Sans MS

[Attr]
ONV=0,11,VALUE,
Height=-16
Font=Comic Sans MS

[Attr]
ONV=19,-35,MODEL,PH
Style=12288
Height=-16
Font=Comic Sans MS

[Attr]
ONV=0,33,COST,
Height=-16
Font=Comic Sans MS

[Attr]
ONV=0,44,POWER,
Height=-16
Font=Comic Sans MS

[Wire]
Grids=41,30,41,32

[Wire]
Grids=41,32,41,36

[Wire]
Grids=15,23,24,23

[Wire]
Grids=34,23,34,24

[Wire]
Grids=34,23,41,23

[Wire]
Grids=34,30,34,32

[Wire]
Grids=34,32,41,32

[Wire]
Grids=41,23,41,24

[Comp]
Name=NFI
Grid=34,30
Rot=2

[Attr]
ONV=-31,-27,PART,G1
Style=8192
Height=-16
Font=Comic Sans MS

[Attr]
ONV=-201,-7,VALUE,RESPONSIVITY*V(IN)
Style=8192
Height=-16
Font=Comic Sans MS

[Attr]
ONV=0,0,FREQ,
Height=-16
Font=Comic Sans MS

[Attr]
ONV=0,0,NOISE_EXPRESSION,
Height=-16
Font=Comic Sans MS

[Attr]
ONV=-54,-57,DERIVATIVE,Default
Height=-16
Font=Comic Sans MS

[Attr]
ONV=0,0,COST,
Height=-16
Font=Comic Sans MS

[Attr]
ONV=0,0,POWER,
Height=-16
Font=Comic Sans MS

[Wire]
Grids=41,20,41,23

[Comp]
Name=Resistor
Grid=41,20
Rot=5

[Attr]
ONV=16,-46,PART,R1
Style=8192
Height=-16
Font=Comic Sans MS

[Attr]
ONV=12,-28,VALUE,RSERIES
Style=8192
Height=-16
Font=Comic Sans MS

[Attr]
ONV=0,0,FREQ,
Height=-16
Font=Comic Sans MS

[Attr]
ONV=0,0,MODEL,
Height=-16
Font=Comic Sans MS

[Attr]
ONV=0,0,COST,
Height=-16
Font=Comic Sans MS

[Attr]
ONV=0,0,POWER,
Height=-16
Font=Comic Sans MS

[Grid Text]
Text="NOTES:þ1) VOLTAGE AT THE INPUT PIN REPRESENTS THE INCOMING OPTICAL POWER IN WATTS.þ2) THE RESPONSIVITY PARAMETER IS IN AMPS / WATT  = AMPS FLOWING IN THE DIODEþPER INPUT WATT OF RADIANT LIGHT.þ3) THIS MACRO USES THE INPUT PARAMETER IDARK TO CALCULATE THE DIODE IS. "
Grid=9,54
Height=-16
Color=12
Font=Comic Sans MS
CBorder=NONE

[Grid Text]
Text=".PARAMETERS  (RESPONSIVITY=.5, IDARK=1n, RSERIES=10m, CJO=60P, BV=60,N=1.35)"
Grid=14,11
Height=-16
Color=9
Font=Comic Sans MS
CBorder=NONE

[Grid Text]
Text="IN"
Grid=15,23
Height=-16
Font=Comic Sans MS
CBorder=NONE

[Grid Text]
Text="C"
Grid=41,36
Height=-16
Font=Comic Sans MS
CBorder=NONE

[Grid Text]
Text="A"
Grid=41,14
Height=-16
Font=Comic Sans MS
CBorder=NONE

[Grid Text]
Text=".MODEL PH D (IS=IDARK CJO=CJO N=N BV=BV TT=10n)"
Grid=43,32
Height=-16
Color=9
Font=Comic Sans MS
CBorder=NONE
Fill Pattern=Horizontal

[Grid Text]
Text="PHOTO DIODE MACRO USING THE IDARK PARAMETER"
Grid=32,5
Height=-16
Color=13
Font=Comic Sans MS
CBorder=NONE

[Grid Text]
Text="Called by other circuits.  Not intended for stand alone analysis."
Grid=30,8
Height=-19
Color=9
CBorder=NONE

[Schematic]
Page 0=0
TabSize 0=360
Page 1=0
TabSize 1=360
Page 2=0
TabSize 2=360
Page 3=0
TabSize 3=360
Splitter.xs=0
Splitter.ys=0
TextQuad=4099
Scale=1
PrinterScale=1
View=304
GridUser=10

[Tools]
Pos=Top
SELECT=Yes
COMP=Yes
TEXT=Yes
WIRE=Yes
WIRED=Yes
GRAPHIC=Yes
LINE=No
ELLIPSE=No
RECT=No
DIAM=No
ARC=No
PIE=No
LEFTBRK=No
RIGHTBRK=No
BOTHBRK=No
FLAG=Yes
META=No
INFO=Yes
HELP=Yes
DIGTRC=No
DIGTRC2=No
DIGALL=No
GRIDTEXT=Yes
COMPTEXT=Yes
NODE=Yes
NODEV=Yes
CURRENT=Yes
POWER=Yes
CONDITIN=Yes
PIN=Yes
CROSS=Yes
GRID=Yes
BORDER=Yes
TITLE=Yes
RUBBER=Yes
PROPERTY=Yes
STEP=Yes
MIRROR=Yes
ROTATE=Yes
FLIPY=Yes
FILPX=Yes
FINDCOMP=Yes
FIND=Yes
REPEAT=No
MODEL=Yes
CIR2CKT=No
ATTDISP=No
TOFRONT=Yes
TOBACK=Yes
PAGEADD=Yes
PAGEDEL=Yes
ZOOMIN=Yes
ZOOMOUT=Yes
GOTOFLAG=Yes
COLOR=Yes
FONT=Yes

[Page]
Index=0
Print=False
Name=Main
Scale 0=1
Scale 1=1
Scale 2=1
Scale 3=1
Grid=5,6

[Page]
Index=1
Type=Text
Print=False
Name=Text
Scale 0=1
Scale 1=1
Scale 2=1
Scale 3=1
Grid=0,0

[Page]
Index=2
Type=Text
Print=False
Name=Models
Scale 0=1
Scale 1=1
Scale 2=1
Scale 3=1
Grid=0,0

[Page]
Index=3
Type=Info
Print=False
Name=Info
Scale 0=1
Scale 1=1
Scale 2=1
Scale 3=1
Grid=0,0

[Text Area]
Page=1
Font=Height=-15,FStyle=0,Color=4,Name=Courier New
Comment Color=8
Background Color=15
Len=577

TR = RLOAD*CJO
ID = ISS*(EXP(V/VT)-1)
VD = VT*LN(ID/ISS+1)
GD = ISS*EXP(V/VT)*1/VT
ISS = GD*VT/EXP(V/VT)
ISS =( VT/RSHUNT)/EXP(V/VT)



ID = ISS*(EXP(V/VT)-1)

GD1 = ID/VD = ISS*(EXP(VD/(VTN)-1)/VD
RSHUNT = 1/GD1 = VD / (ISS*(EXP(VD/VTN)-1))
VD / RSHUNT = ISS*(EXP(VD/VTN)-1)
ISS = (VD/RSHUNT)/(EXP(VD/VTN)-1))

GD1 = (ID+IDARK)/VD = (IDARK+ISS*(EXP(VD/(VTN)-1))/VD
RSHUNT = 1/GD1 = VD / (IDARK+ISS*(EXP(VD/VTN)-1))
VD / RSHUNT = IDARK+ISS*(EXP(VD/VTN)-1)
ISS = (VD/RSHUNT-IDARK)/(EXP(VD/VTN)-1))


.DEFINE TF EXP((RATIO-1.0)*EG/(N*VT))*POW(RATIO,XTI/N)

[Text Area]
Page=2
Font=Height=-15,FStyle=0,Color=4,Name=Courier New
Comment Color=8
Background Color=15
Len=40

*  32 Volt  Si Photo Diode  08-23-1994

[Transient]
Font=Height=-15,FStyle=0,Color=12,Name=Arial
WinBackGround Color=15
Select Color=9
Select Box Color=4
Title
AutoTitle=Yes
ShowWin=False
Grid Color=8
Grid Weight=1
Grid Pattern=Dot
Tracker Foreground=Height=-15,FStyle=0,Color=0,Name=Arial
Tracker Background=11
Baseline color=12
Static Grids=False
MinorLog25=Off
LabelMinor=Off
Graph Background=15
Tracker Intercept=False
Tracker Mouse=True
Tracker Cursor=True
Horizontal Cursor=False
Same Y Scales=Yes
Enable X Scaling=True
Enable Y Scaling=True
Keep X Scales The Same=False
Number of Grids X=5
Number of Grids Y=5
Cursor Select Color Primary=7
Cursor Select Color Secondary=9
Data Point Labels Color Fore=Height=-15,FStyle=0,Color=0,Name=Arial
Data Point Labels Color Back=11
FFT_NPts="1024"
FFT_IncludeDCHarmonic=False
FFT_AutoScale_Harmonics="10"
PrinterAutoTile=No
PrinterBlackBorder=No
AnimateWait=0
AnimateWaitTime=500
Save_For_Future=No
Reduce_Display=1
Reduce_Save=1
Num Out Header Left
Num Out Header Center="$MC\n$user\n$company\n$Analysis of $name"
Num Out Header Right
Num Out Delimiter=32
Num Out Write=True
Num Out Write Models=True
Num Out Write Zero Models=True
Num Out Write Undefined Models=True
Num Out Write Limits=True
Num Out Write Values=True
Num Out Write Operating Point=True
Num Out Font=Height=-15,FStyle=0,Color=4,Name=Courier New

[Tools]
Pos=Top
SELECT=Yes
GRAPHIC=Yes
LINE=No
ELLIPSE=No
RECT=No
DIAM=No
ARC=No
PIE=No
LEFTBRK=No
RIGHTBRK=No
BOTHBRK=No
POLYCLOS=No
SCALE=Yes
CURSOR=Yes
MEASUREH=Yes
MEASUREV=Yes
TAG=Yes
TEXT=Yes
PROPERTY=Yes
START=Yes
STOP=Yes
PAUSE=Yes
DATAPTS=Yes
TOKENS=Yes
RULER=Yes
PLUS=Yes
XAXIS=Yes
YAXIS=Yes
MINORLOG=Yes
LOG25=Yes
BASELINE=Yes
HORIZCUR=Yes
GOTOX=Yes
GOTOY=Yes
GOTOPERF=Yes
GOTOBRNC=Yes
NEXT=Yes
NEXTIN=Yes
PEAK=Yes
VALLEY=Yes
HIGH=Yes
LOW=Yes
INFLECTN=Yes
GHIGH=Yes
GLOW=Yes
BOTTOM=Yes
TOP=Yes
AOUTPUT=Yes
PKEY=Yes
ENXSCALE=Yes
ENYSCALE=Yes
ZOOMIN=Yes
ZOOMOUT=Yes
COLOR=Yes
FONT=Yes

[AC]
Font=Height=-15,FStyle=0,Color=12,Name=Arial
WinBackGround Color=15
Select Color=9
Select Box Color=4
Title
AutoTitle=Yes
ShowWin=False
Grid Color=8
Grid Weight=1
Grid Pattern=Dot
Tracker Foreground=Height=-15,FStyle=0,Color=0,Name=Arial
Tracker Background=11
Baseline color=12
Static Grids=False
MinorLog25=Off
LabelMinor=Off
Graph Background=15
Tracker Intercept=False
Tracker Mouse=True
Tracker Cursor=True
Horizontal Cursor=False
Same Y Scales=Yes
Enable X Scaling=True
Enable Y Scaling=True
Keep X Scales The Same=False
Number of Grids X=5
Number of Grids Y=5
Cursor Select Color Primary=7
Cursor Select Color Secondary=9
Data Point Labels Color Fore=Height=-15,FStyle=0,Color=0,Name=Arial
Data Point Labels Color Back=11
FFT_NPts="1024"
FFT_IncludeDCHarmonic=False
FFT_AutoScale_Harmonics="10"
PrinterAutoTile=No
PrinterBlackBorder=No
AnimateWait=0
AnimateWaitTime=500
Save_For_Future=No
Reduce_Display=1
Reduce_Save=1
Num Out Header Left
Num Out Header Center="$MC\n$user\n$company\n$Analysis of $name"
Num Out Header Right
Num Out Delimiter=32
Num Out Write=True
Num Out Write Models=True
Num Out Write Zero Models=True
Num Out Write Undefined Models=True
Num Out Write Limits=True
Num Out Write Values=True
Num Out Write Operating Point=True
Num Out Font=Height=-15,FStyle=0,Color=4,Name=Courier New

[Monte Carlo Options]
Analysis=Transient
Status=Off
Zero Tolerance=False
Distribution=Normal
Number of Runs=10
Seed=0

[Monte Carlo Options]
Analysis=AC
Status=Off
Zero Tolerance=False
Distribution=Normal
Number of Runs=10
Seed=0

[Limits]
Analysis=Transient
TRange=50U
TStep=10N
NPts=51
Temp=27
RetraceRuns=1
OPT=32888
StateVar=Zero
RunOption=Normal
Temperature Type=Linear

[WaveForm]
Analysis=Transient
Plt=2
AliasID=2
XExp=T
YExp=V(INPUT)
XRng=5e-5
YRng=0.0015,-0.001
Options=LINEARX,LINEARY
Range Grid X=1e-5
Range Grid Y=0.0005
Line Color=9
Text Color=9
VFmtX=3
VFmtY=3
ScaleFactorX="None"
ScaleFactorY="None"
ScaleUnitsX="None"
ScaleUnitsY="None"
SFmtX=3
SFmtY=3

[WaveForm]
Analysis=Transient
Plt=3
AliasID=3
XExp=T
YExp=V(3)
XRng=5e-5
YRng=0.009,-0.006
Options=LINEARX,LINEARY
Range Grid X=1e-5
Range Grid Y=0.003
Line Color=2
Text Color=2
VFmtX=3
VFmtY=3
ScaleFactorX="None"
ScaleFactorY="None"
ScaleUnitsX="None"
ScaleUnitsY="None"
SFmtX=3
SFmtY=3

[Limits]
Analysis=AC
FRange=1E12,1K
NPts=511
Temp=27
MaxChng=5
NInput=NONE
NOutput=2
Sweep type=Log
OPT=32888
StateVar=Zero
RunOption=Normal
Temperature Type=Linear

[WaveForm]
Analysis=AC
Plt=1
AliasID=1
XExp=F
YExp=db(v(ANODE))
XRng=1e12,1000
YRng=50,-75
Options=LINEARY
Range Grid X=2e11
Range Grid Y=25
Line Color=12
Text Color=12
VFmtX=3
VFmtY=3
ScaleFactorX="None"
ScaleFactorY="None"
ScaleUnitsX="None"
ScaleUnitsY="None"
SFmtX=3
SFmtY=3

[WaveForm]
Analysis=AC
Plt=2
AliasID=2
XExp=F
YExp=ph(v(ANODE))
XRng=1e12,1000
YRng=25,-100
Options=LINEARY
Range Grid X=2e11
Range Grid Y=25
Line Color=9
Text Color=9
VFmtX=3
VFmtY=3
ScaleFactorX="None"
ScaleFactorY="None"
ScaleUnitsX="None"
ScaleUnitsY="None"
SFmtX=3
SFmtY=3

[WaveForm]
Analysis=AC
AliasID=-1
Options=LINEARY
Line Color=2
Text Color=2
VFmtX=3
VFmtY=3
ScaleFactorX="None"
ScaleFactorY="None"
ScaleUnitsX="None"
ScaleUnitsY="None"
SFmtX=3
SFmtY=3

[Limits]
Analysis=DynamicAC
FirstValueDisplay=Mag
SecondValueDisplay=PhaseDeg
PlaceText=True

[Limits]
Analysis=DynamicDC
PlaceText=True

[Optimize]
Format=3

[Optimize]
Analysis=Transient
Method=Standard_Powell
Update_Plot=False

[Optimize]
Analysis=AC
Method=Standard_Powell
Update_Plot=False

[Watch]
Analysis=Transient
Format=3
ExprPercentWidth=80

[Watch]
Analysis=AC
Format=3
ExprPercentWidth=80
