Issue link: https://resources.pcb.cadence.com/i/1480204
APPLICATION NOTE
2
Figure 1: Photocurrent generator placement
Figure 1A and Figure 1B show the proper placement for a diode and a bipolar transistor respectively. These
devices could represent discrete components or devices on a bipolar integrated circuit. Figure 1C is an example
of the parasitic bipolar diodes and transistors that exist in a CMOS technology. Note that the polarity is such that
current flow is from the n-type material to the p-type material.
It is easiest to use a current-controlled current source for photocurrent modeling. For example, assume that you
have a small circuit containing only two discrete diodes, both of type DMOD. Further assume that the rest of the
circuit consists only of passive components. A portion of the PSpice circuit description is given below.
VPDMOD 1 0 EXP (0 40MV 100NS 8NS 150NS 50NS)
RPDMOD 1 0 1
D12 10 2 DMOD
FD12 10 2 VPDMOD
D20 7 6 DMOD
FD20 7 6 VPDMOD
For an integrated circuit design, the photocurrent modeling process is actually somewhat simpler. Since there are
relatively few p-n junction types in a typical integrated circuit technology, the number of controlling sources
required will be very small. In this case, define the magnitudes of the controlling sources as current densities. By
doing this, the