Symbol, Pinout, and the Intrinsic Layer Advantage

If you are building a LIDAR receiver, a fiber-optic transceiver, or a high-speed laser tripwire, a standard PN-junction photodiode will bottleneck your bandwidth. You need a PIN photodiode. The schematic symbol is identical to a standard photodiode: a triangle pointing toward a vertical bar (the cathode), with two inward-pointing arrows representing incident photons.

The physical pinout depends on the package. In a standard 2-lead through-hole or SMD package, you have the Anode (A) and Cathode (K). The cathode is typically marked by a longer lead, a flat spot on the epoxy lens, or a dot on the SMD silkscreen. In metal-can packages (like the TO-46), a third pin is present: the Case (C), which is internally tied to the shield and should be routed to your analog ground plane to minimize EMI pickup.

Bench Tip: The "I" in PIN stands for Intrinsic. By inserting a wide, undoped semiconductor layer between the P and N regions, the device dramatically increases the depletion width. This lowers junction capacitance (boosting high-frequency response) and increases the volume where photons are absorbed (boosting quantum efficiency at longer wavelengths). For a deep dive into the semiconductor physics of the intrinsic layer, the RP Photonics Encyclopedia provides an excellent rigorous breakdown.

Operating Regions: Photovoltaic vs. Photoconductive Bias

A PIN photodiode generates a tiny current (from picoamps to microamps) proportional to incident light. How you bias the diode dictates its speed, noise floor, and linearity. You must choose between two distinct operating regions based on your application's bandwidth requirements.

Table 1: PIN Photodiode Operating Regions and Typical Parameters (Silicon, 5mm² active area)
Parameter Photovoltaic Mode (Zero Bias) Photoconductive Mode (Reverse Bias)
Applied Bias Voltage 0V -5V to -100V (Cathode positive)
Junction Capacitance ($C_j$) High (e.g., 50pF - 100pF) Low (e.g., 3pF - 15pF)
Response Time Slow (1µs - 10µs) Fast (1ns - 50ns)
Dark Current (Noise) Effectively Zero 1nA - 5nA (increases with temp)
Linearity Poor at high light levels Excellent across 5+ decades
Primary Use Case Precision DC light metering, low-light spectrometry PWM decoding, fiber optics, LIDAR, high-speed encoders

How to bias it for the job: If you are measuring ambient room light or building a slow-responding lux meter, leave the bias at 0V (Photovoltaic). The lack of dark current gives you a pristine noise floor. However, if you are decoding a 1MHz IR remote signal or building a time-of-flight sensor, you must apply a reverse bias (Photoconductive). Applying +12V to the cathode while holding the anode at virtual ground sweeps the charge carriers out of the intrinsic region rapidly, slashing the junction capacitance and allowing the diode to track nanosecond optical pulses.

The Decision Tree: Selecting the Right PIN Photodiode

Optical distributors list thousands of SKUs. Cut through the datasheet noise by mapping your optical wavelength and speed requirements to a specific semiconductor material and package.

Table 2: Component Selection Decision Path
If your application requires... Then select this material/type... Concrete Part Number (Safe Default)
Broadband visible to near-IR (400-1100nm), high sensitivity, low cost, and forgiving optical alignment. Silicon PIN, large active area (7mm²+), epoxy package. Vishay BPW34 (~$1.50)
High-speed IR detection (LIDAR, fiber optics) where junction capacitance must be <5pF. Silicon PIN, small active area (<1mm²), TO-46 metal can or SMD. Osram SFH203FA (~$2.50) or Hamamatsu S5971 (~$15.00)
Long-haul fiber optic reception at 1300nm - 1550nm wavelengths. InGaAs PIN (Silicon is blind here). Hamamatsu G8370 (~$45.00)
UV flame detection or solar-blind optical comms (200-400nm). Silicon Carbide (SiC) or specialized UV Silicon. Roithner SMD UV PIN (~$8.00)
The Verdict: For 90% of hobbyist, student, and general-purpose bench builds, buy the Vishay BPW34. It handles 400–1100nm, survives up to 60V reverse bias, and features a massive 7.5mm² active area that forgives sloppy optical alignment on the breadboard. Keep a sleeve of them in your parts drawer.

Transimpedance Amplifier (TIA) Circuit Design

A PIN photodiode outputs current, but your microcontroller's ADC reads voltage. You need a Transimpedance Amplifier (TIA) to convert the photocurrent into a usable voltage without destroying the high-frequency signal. A standard op-amp voltage follower will oscillate due to the diode's capacitance interacting with the op-amp's input capacitance.

Below is a complete, bench-proven TIA circuit designed for a Vishay BPW34 operating in photoconductive mode, targeting a 100kHz bandwidth (ideal for IR beacon tracking).

Component List and Values

  • U1 (Op-Amp): Texas Instruments OPA657 (FET-input, 1.6GHz GBW, ultra-low input bias current of 1pA). Do not use an LM358; its input bias current and low slew rate will ruin the signal.
  • D1 (Photodiode): Vishay BPW34.
  • $R_f$ (Feedback Resistor): 1MΩ (Metal film, 1% tolerance). This sets your transimpedance gain: 1µA of light current = 1V output.
  • $C_f$ (Feedback Capacitor): 2.2pF (C0G/NP0 ceramic). This is critical for stability.
  • $V_{bias}$: +12V DC (Low-noise linear regulator, e.g., LM317, not a switching buck converter).

Wiring Steps

  1. Connect the Cathode of the BPW34 to the +12V $V_{bias}$ rail. This applies a 12V reverse bias across the diode.
  2. Connect the Anode of the BPW34 directly to the Inverting Input (-) of the OPA657. Keep this trace as short as physically possible (under 5mm) to minimize stray capacitance.
  3. Tie the Non-Inverting Input (+) of the OPA657 to Analog Ground.
  4. Place the 1MΩ $R_f$ and 2.2pF $C_f$ in parallel between the Inverting Input (-) and the Op-Amp Output.
  5. Route the Op-Amp Output to your ADC or oscilloscope. Add a 49.9Ω series resistor at the output if driving a long coaxial cable to prevent cable-capacitance oscillation.
Why 2.2pF for $C_f$? The feedback capacitor prevents the TIA from oscillating by compensating for the photodiode's junction capacitance ($C_j$) and the op-amp's input capacitance ($C_{in}$). The rule of thumb for the minimum stable feedback capacitor is $C_f \ge \sqrt{\frac{C_j + C_{in}}{2 \pi R_f f_{GBW}}}$. At 12V reverse bias, the BPW34 has a $C_j$ of about 15pF. The OPA657 has a $C_{in}$ of ~1pF. With $R_f$ = 1MΩ and $f_{GBW}$ = 1.6GHz, the math yields roughly 1.8pF. We select the next standard C0G value up: 2.2pF. For a deeper mathematical treatment of TIA stability compensation, refer to this excellent All About Circuits design guide.

Bench Testing and Common Failure Modes

PIN photodiodes are rugged, but they are not invincible. On the bench, you will typically encounter two failure modes: shunting (where moisture ingress or edge contamination causes massive dark current leakage, destroying the signal-to-noise ratio) and open-circuit (where a mechanical shock snaps the microscopic bond wire connecting the silicon die to the package lead).

Here is how to test a suspect PIN photodiode using a standard digital multimeter (like a Fluke 87V) and a basic bench rig.

Step 1: The DMM Diode Test (Forward Bias)

  1. Set your multimeter to Diode Test mode.
  2. Place the Red probe on the Anode and the Black probe on the Cathode.
  3. Expected Result: A silicon PIN diode should read between 0.35V and 0.55V. (InGaAs diodes will read much lower, around 0.15V). If it reads 0.00V, the junction is shorted. If it reads OL, the internal bond wire is snapped.

Step 2: Reverse Leakage Check (The Flashlight Test)

A standard DMM diode test cannot reliably measure reverse leakage because the test voltage is too low and the meter's resolution in reverse-bias mode is poor. Do this instead:

  1. Build a simple series circuit: A 9V battery, a 10kΩ current-limiting resistor, and your multimeter set to the µA (microamp) range.
  2. Connect the circuit so the battery reverse-biases the diode (Battery Positive -> Resistor -> Diode Cathode; Diode Anode -> Meter -> Battery Negative).
  3. Cover the diode with your hand or a piece of black tape. Expected Result: The meter should read the dark current, typically 1nA to 5nA (which may just show as 0.00µA on a standard bench meter).
  4. Shine a high-lumen flashlight directly onto the epoxy lens. Expected Result: The current should immediately spike into the 10µA to 100µA range. If the current remains at zero, the diode is optically dead or internally open. If the dark current (in the dark) is reading in the microamps, the diode has suffered surface leakage degradation and belongs in the trash.
Safety & Handling Warning: Never apply forward bias exceeding the diode's continuous current rating (typically 50mA for standard TO-220/epoxy packages), and never exceed the maximum reverse breakdown voltage ($V_{BR}$). For the Vishay BPW34, $V_{BR}$ is 60V. Applying 100V to a 60V-rated part will cause an avalanche breakdown that permanently shorts the junction, turning your precision optical sensor into a useless piece of warm silicon.