5 http://www.national.com
4.0 Functional Description
The Photodiode Sensor Board component and test
point locations are shown in Figure 1. The board
schematic is shown in Figure 2.
4.1 Operational Modes
This board may be use in one of two modes: the
Computer Mode using the SPUSI2 USB Interface
Dongle or the Stand-Alone Mode without the use of
the SPUSI2 USB Interface Dongle and a PC.
4.1.1 The Computer Mode
The board is intended for use in the Computer
Mode, where a SPUSI2 board is used with it and
the SPUSI2 board is connected to a PC via a USB
port. Power to both boards is provided via USB.
4.1.2 The Stand-Alone Mode
The Stand-Alone Mode does not use the SPUSI2
board to capture data and upload it to a PC. To use
the board this way, the user must provide +5V at
pin 14 of header J2 as well as provide ADC clock
and Chip Select signals to the ADC at pins 3 and 1,
respectively, of J24. ADC data output is available at
pin 5 of J2. Test Points may also be used to
insert/read these signals. The range of frequencies
for the ADC clock is 500KHZ to 1 MHz. The CS rate
can be as low as desired, as but no faster than 17
times the ADC clock rate.
4.2 Signal Conditioning Circuitry
The output of the TIA (transimpedance amplifier) is
on TP1. This is a voltage that is proportional to
photocurrent. The values for RF and CF are
calculated by the WEBENCH Sensor Designer. RF
is determined by the full scale input voltage of the
ADC and the maximum output photocurrent of the
photodiode. CF is determined based on photodiode
capacitance and an estimate of stray capacitance
on the inverting input of OP Amp U1. The current
flowing in the LED is measured and scaled by Op
Amp U2 and appears on TP3. These voltages
appear on the inputs of ADC U4. The digital output
of the ADC appears on J2 Pin 5.
4.2.1 The Transimpedance Amplifier
In the photoconductive mode, the cathode of the
photodiode is connected to the inverting pin of an
op amp with the non inverting pin grounded. To
maintain the virtual ground on the inverting pin, the
op amp must provide current from its output
through the RF to the photodiode.
So: V out = IPHOTODIODE * RF.
RF is determined by knowing the maximum
photocurrent, sometimes referred to as I SHORT
CIRCUIT of the photodiode, and the full scale input
value of the ADC.
So: RF = VFS/ISHORT CIRCUIT
Because the photodiode has capacitance, RF and
CDIODE form a pole in the noise gain transfer
function. This can create stability issues and is
compensated for by CF. WEBENCH Sensor
Designer calculates the value of CF for a 45 0
phase margin to insure stability.
4.2.2 Light Source
Provisions for a light source for test purposes are
on the board.
The user can select an LED with appropriate
wavelength and output power to compliment the
photodiode selection. It may be necessary to
modify component values in the LED driver to
optimize performance.
S1 is provided as an ON/OFF control for the LED
drive circuit. It controls the gate voltage of an NCH
MOSFET. In the open position, the mosfet is
conducting and the current source is enabled.
Also connected to the gate of the mosfet is a
connector for a signal generator. A switching signal
can be connected here to observe the transient
response of the transimpedance amplifier. The rise
times and switching frequencies are somewhat
limited by the current source components and the
mosfet switch so the user may want to install
different components to achieve higher
performance for the current source in this mode.
The current source consists of U3, Q1, VR1 and
R7. The op amp will make sure the voltage at the
CT of VR1 appears on the inverting pin. This
voltage then appears across R7 (minimal VON for
Q2). ILED = VR1CT/R7. Turning VR1 clockwise
increases LED current. The differential amplifier U2
measures the current flowing in the LED by
measuring the Voltage drop across R4. This
voltage drop is scaled by the gain setting resistors.
ILED = Analog_V2/(R3/(R2*R4))
4.3 Power Supply
In the computer mode, power to this board is
supplied through header J2 and ultimately from the
host PC via USB. In most cases, the only voltage
needed for the Photodetector Sensor board is the
+5V from the USB connection.
The supply voltage source for the ADC (VREF on
the schematic) is selected with J3 to be either the
4.1V from U5, or +5V from J2.
4.4 ADC Reference Circuitry
The single-ended ADC122S101 uses its supply
voltage as its reference, so it is important that its
supply voltage be stable and quiet. A 4.1V
reference voltage is provided by U5, an accurate
LM4120-4.1.