Skip to content

Photodiodes

Published On:
Feb 24, 2022
Last Updated:
Jun 16, 2026

A photodiode is a two terminal component which converts light into a small electrical current. Just like a general-purpose diode, they consist of a normal semiconductor PN junction. The difference is the photodiode’s semiconductor junction is exposed to light through a transparent window rather than encapsulated in opaque material as in a standard diode.

Uses:

  • Light sensors
  • MOSFET gate drivers in opto-couplers

Schematic Symbol

The schematic symbol below is the common one used for a photodiode.

Schematic symbol for a photodiode.

Types of Photodiodes

There are three basic types of photodiode:

  • PN junction photodiode
  • PIN photodiode
  • Avalanche photodiode

PN Junction Photodiode

A PN junction photodiode is the “standard photodiode” that uses a PN junction to detect light. The PN junction forms a depletion region, which is exposed to the environment through a transparent window. When a photon strikes this depletion region, it is absorbed, and an electron-hole pair is created. Because of the electric field present in the depletion region, the electron will want to move (swept) towards the N doped semiconductor, whilst the hole will want to move towards the P doped semiconductor. These moving charge carriers create the photodiode current (photocurrent) that you measure.

PIN Photodiode

A PIN photodiode is a variant of the standard PN junction photodiode that has an intrinsic layer placed between the two doped semiconductor layers. This intrinsic region increases the depletion region, which in turn reduces the junction capacitance of the photodiode. This allows it to be used in high-speed applications.

Avalanche Photodiode

An avalanche photodiode (APD) is a variant of the standard PN junction photodiode that makes use of impact ionization (the avalanche effect) to increase the photon to current response of the photodiode (gain). This internal gain means that APDs have high responsivity, making them useful for detecting extremely low levels of light. APDs must be operated at a high reverse-bias voltage, near their breakdown voltage. Even though the high reverse-bias creates a larger dark current (and higher current noise), the effect of the internal gain outweighs this additional noise, making them suitable for low-level light detection.1

Photodiode Current vs. Voltage

The typical relationship between the photodiode’s voltage and current is shown in the graph below.

Graph showing the typical relationship between photodiode voltage and current, for three different levels of incident light power. The top-most curve is with no incident light, curves then shift downwards very linearly with increasing light power.

The top-most curve is when there is no incident light (PIN=0WP_{IN} = 0\unit{W}). You will notice this curve goes through (0,0)(0,0). As the incident light power increases, the curve shifts downwards, in a mostly linear fashion (this is why you can make accurate light sensors with photodiodes).

The right-half of the graph is not terribly interesting, as the photodiode just acts as a normal diode in this area, with a sharp increase in the current around the typical “turn-on” voltage of 0.7V0.7\unit{V}. In the left-hand side of the graph, as the reverse-bias voltage increases, the diode’s dark current increases (the line with PIN=0WP_{IN} = 0\unit{W}).

Important Parameters

Responsivity

  • Units: AW1\mathrm{AW^{-1}}
  • Typical range: 0.11AW10.1{-}1\unit{AW^{-1}}

Linearity

In some cases, applying a reverse voltage is effective in enhancing the upper limit of linearity — Hamamatsu: Si photodiodes2.

Quantum Efficiency

Spectral Range

  • Units: nm\mathrm{nm}
  • Typical range: 4001100nm400{-}1100\unit{nm}

Sensitive Area

  • Units: mm2\mathrm{mm^2}
  • Typical range: 110mm21{-}10\unit{mm^2}

The sensitive area is the area of the PN junction that is exposed and responds to light. A larger sensitive area will result in a photodiode being able to detect lower levels of light, and provide more bits of resolution.

Mechanical outline showing the sensitive area on the top face of the Vishay BPW34 photodiode (DIP-2 package).3

Dark Current

The dark current for a silicon photodiode approximately doubles for every 10C10\unit{^{\circ}C} in temperature rise, giving rise to the following equation:4

Idark(T2)=Idark(T1)2T2T110\begin{align*} I_{dark}(T_2) = I_{dark}(T_1) \cdot 2^{\frac{T_2 - T_1}{10}} \end{align*}

The dark current at 25C25\unit{^{\circ}C} is usually specified in the photodiode’s datasheet. Using this equation, you can then find the dark current for any other temperature.

Basic Photodiode-based Transimpedance Amplifier Circuit

Photodiodes are commonly used to measure light intensities. But the output of a photodiode is a very small current (typically pA\mathrm{pA}), which isn’t very useful for measuring. A common “analogue front-end” to add to a photodiode is a transimpedance amplifier using an op-amp, as shown in the schematic below. The transimpedance amplifier converts the very small current into a much larger voltage. This voltage can then be used to control other parts of a circuit or can be fed into an ADC for digitizing before being read by a microcontroller.

A basic transimpedance amplifier circuit to convert the photodiode’s light-dependent current into a measurable voltage. The output can be used to control other analog circuitry or can be connected to an ADC.

Because the op-amp’s non-inverting input is tied to ground, the inverting input is a “virtual ground” (it also stays at 0V0\unit{V}). Because the diode current IDI_D has no-where to go but through the resistor RfR_f, this gives the simple equation:

VOUT=IDRf\begin{align*} V_{OUT} &= I_D R_f \end{align*}

It’s important to pay attention to the input bias current IBI_B when choosing the op-amp for this circuit. This is because the photodiode sources a very small current (e.g. in the pAnA\mathrm{pA}{-}\mathrm{nA}). Any input bias current is either going to add or subtract from this photodiode current before being amplified by the feedback resistor. Jellybean op-amps have IBI_B in the range of 110nA1{-}10\unit{nA}. You normally want to pick an op-amp which has an input bias current that is at least an order of magnitude smaller than the photodiode current you are trying to measure. Luckily, you can get op-amps that are specifically designed to have small input bias currents. For example, the Texas Instruments OPA396 has a typ. IB=±10fAI_B = \pm 10\unit{fA} at 25C25\unit{^{\circ}C}! This increases to approx. ±4pA\pm 4\unit{pA} across its entire temperature range (typical).5

An alternative to using a transimpedance amplifier to convert current to voltage is to use an op-amp and a capacitor to act as an integrator. You can buy special switched capacitor ICs that package the op-amp, switches and precision capacitor in a single semiconductor IC. They offer good SNR, but with relatively low bandwidth.6 However, this method is not as popular as the transimpedance amplifier, and the dedicated ICs are expensive and hard to source.

The current noise density of the circuit is:7

IN=4kTRf\begin{align*} I_N = \sqrt{\frac{4kT}{R_f}} \end{align*}

where:
INI_N is the current noise density, in ArmsHz0.5\mathrm{A_{rms}Hz^{-0.5}}
kk is Boltzmann’s constant, 1.38×1023JK11.38 \times 10^{-23}\unit{JK^{-1}}
TT is the temperature of the photodiode, in K\mathrm{K}

Gain Peaking Capacitor

A capacitor CfC_f can be added in parallel with RfR_f to prevent gain peaking.

Biasing

When connected to a transimpedance amplifier, the photodiode can either be used with 0V0\unit{V} potential across it (photovoltaic mode) or with a reverse bias (photoconductive mode).7

Photovoltaic Mode

Photovoltaic mode is when the photodiode is not operated with any DC bias across it (i.e. there is 0V0\unit{V} across it). This is usually achieved by tying one side of the photodiode to ground, whilst the other side is held at “virtual ground” by an op-amp.

The photovoltaic mode of operation is recommended for low speed (<350kHz<350\unit{kHz}) and low-light level applications.7 It also appears to be more linear, due to the smaller variations in response from changes in temperature.7

Photoconductive Mode

Photoconductive mode is when the photodiode is operated with a reverse-bias voltage across it. Applying a reverse-bias to a photodiode can improve the speed of the device, and is the preferred mode of operation for high-speed applications.7 The speed increase is because a greater reverse-bias increases the depletion region. This in turn reduces the junction capacitance, increasing the bandwidth of the device.

  • Increased speed.
  • Increased dark and noise current.

Equivalent Circuit

The equivalent circuit below can be used to model a photodiode.

An equivalent circuit for a photodiode. Based off the circuit in Photodiode Characteristics and Applications by OSI Optoelectronics.7

RshR_{sh} represents the resistance in parallel with the current source, and is called the shunt resistance. You want this shunt resistance to be as high as possible, as this means more of the current is delivered to the load. Germanium photodiodes can have lower shunt resistance in the 1100kΩ1{-}100\unit{k\Omega} range.8

RSR_S represents the series resistance of the photodiode, arising from the resistance of the semiconductor material and the contacts. You want this to be as low as possible (it is much smaller than the shunt resistance RshR_{sh}).

CjC_j represents the junction capacitance, caused by the depletion region of the PN junction. Junction capacitance affects the photodiode’s high-frequency response, as the capacitance’s impedance drops with increasing frequency. Lower capacitance photodiodes have better high frequency response. The value of CjC_j is not constant — in fact it is strongly dependent on the reverse-bias voltage. The higher the reverse-bias, the lower the capacitance. Thus you can improve a photodiodes high frequency response by reverse-biasing it at a high voltage.

A graph showing the junction capacitance vs. reverse voltage for the Vishay BPW34 photodiode.3 You can clearly see the reduction of capacitance with increased reverse bias!

Manufacturers

Opto Diode

Opto Diode manufacture a range of silicon photodiodes in through-hole TO-5, TO-8 and TO-18 packages.

Close-up photo of the ODD-5WISOL photodiode from Opto Diode in a TO-5 package.9 This photodiode has an active area of approx. 5mm25\unit{mm^2} and responsivity of 0.4A/W0.4\unit{A/W} at 632nm632\unit{nm} (red).

Vishay BPW34

Popular PIN photodiode with a spectral range from 4001100nm400{-}1100\unit{nm}.

Footnotes

  1. Wavelength Electronics (2018). Photodiode Basics [article]. Retrieved 2022-02-28, from https://www.teamwavelength.com/photodiode-basics/.

  2. Hamamatsu (2020, Dec). Si photodiodes [datasheet]. Retrieved 2022-02-28, from https://www.hamamatsu.com/content/dam/hamamatsu-photonics/sites/documents/99_SALES_LIBRARY/ssd/si_pd_kspd9001e.pdf.

  3. Vishay (2011, Aug 23). BPW34, BPW34S: Silicon PIN Photodiode [datasheet]. Retrieved 2022-02-27, from https://www.vishay.com/docs/81521/bpw34.pdf. 2

  4. Wei-Chih Wang. Optical Detectors [lecture notes]. Retrieved 2022-03-02, from https://depts.washington.edu/mictech/optics/me557/detector.pdf.

  5. Texas Instruments (formerly Burr-Brown) (2021, Jul). OPA396 Precision, Low IQ, Low Input Bias Current Op Amp [datasheet]. Retrieved 2022-10-10, from https://www.ti.com/lit/ds/symlink/opa396.pdf.

  6. Bonnie C. Baker (1993). Comparison Of Noise Performance Between A FET Transimpedance Amplifier And A Switched Integrator [application note]. Burr-Brown (now Texas Instruments). Retrieved 2022-02-25, from https://www.ti.com/lit/an/sboa034/sboa034.pdf.

  7. OSI Optoelectronics. Photodiode Characteristics and Applications [application note]. Retrieved 2022-02-27, from http://www.osioptoelectronics.com/application-notes/an-photodiode-parameters-characteristics.pdf. 2 3 4 5 6

  8. Robert Keim (2020, Dec 23). Understanding the Photodiode Equivalent Circuit [article]. All About Circuits. Retrieved 2022-02-27, from https://www.allaboutcircuits.com/technical-articles/understanding-the-photodiode-equivalent-circuit/.

  9. Opto Diode (2022, Jan 27). Photodiode 5 mm2 - Isolated: ODD-5WISOL [datasheet]. Retrieved 2022-02-27, from https://optodiode.com/pdf/ODD-5WISOL.pdf.