08-09-2008 01:55 AM
08-09-2008 02:39 AM
10-28-2008 09:51 AM
Hi,
In the Multisim component database go to the Misc Group and select Misc_virtual Family, you should find a generic optocoupler. The input is voltage and it suppose to represent light. I googled "Photodiode SPICE" and I found a model for you, agian the apply voltage to the P pin represent light. With this model you should be able to create your own component and if you don't know how this is done, please refer to the following online tutorial:
http://zone.ni.com/devzone/cda/tut/p/id/3173
.SUBCKT MLED96 A C P
* A = Anode
* C = Cathode
* P = (light)Power as output voltage in Watts
* Diode forward, reverse leakage and breakdown, and capacitance
characteristics
DLED A VC MLED96
.MODEL MLED96 D
+ IS=10.000E-21
+ N=1.5219
+ RS=1.7433
+ CJO=50.000E-12
+ M=.3333
+ VJ=.75
+ ISR=100.00E-12
+ BV=5.3573
+ IBV=10
+ TT=5.0000E-9
* Leakage resistance
Rleak A VC 40Meg
* Input resistance
Rin P 0 1G
* Power output (as a voltage) - fit to total power output vs. forward
current curve.
ELED P 0 TABLE
{pwr(I(VLED),1.170105501)*EXP(-2.114426964-4.065819492*I(VLED))} (0,0) (1,1)
VLED VC C
.ends