<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pc5271.org/PC5271_AY2425S2/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Runzhi</id>
	<title>PC5271 wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://pc5271.org/PC5271_AY2425S2/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Runzhi"/>
	<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php/Special:Contributions/Runzhi"/>
	<updated>2026-04-15T22:47:06Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2340</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2340"/>
		<updated>2025-04-29T10:23:58Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Calculation of quenching equivalent capacitance circuit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Group members:==&lt;br /&gt;
&lt;br /&gt;
Cai Shijie&lt;br /&gt;
&lt;br /&gt;
Email:E1184418@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Nie Huanxin       &lt;br /&gt;
&lt;br /&gt;
Email: E1352877@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Yang Runzhi       &lt;br /&gt;
&lt;br /&gt;
Email:E1127408@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
== Idea ==&lt;br /&gt;
&lt;br /&gt;
Our project aims to construct a photo detector to measure some phenomena in optical experiment. We choose Poisson distribution of photons generated by LED as our target phenomena. In the sensor part, we want to detect number of photons, thus we choose reversed LED as the sensor. Using avalanche effect in LED, we could detect relative number of photons with observable quantities. &lt;br /&gt;
&lt;br /&gt;
In the main part, we constructed this LED based avalanched photodetector(APD), explained the working principle and analyzed the result detected by the LED based APD, especially compared the distribution results of photon with theoretical Poisson distribution.&lt;br /&gt;
&lt;br /&gt;
==Main==&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Author: Nie Huanxin&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is relatively close to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Main_Page&amp;diff=2338</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Main_Page&amp;diff=2338"/>
		<updated>2025-04-29T10:20:48Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* LED based avalanched photodetector */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Welcome to the wiki page for the course PC5271: Physics of Sensors!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This is the repository where projects are documented. Creation of new accounts have now been blocked,and editing/creating pages is enabled. If you need an account, please contact Christian.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&#039;&#039;&#039;Deadline for report&#039;&#039;&#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deadline for finishing your report on this wiki will be &amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&#039;&#039;&#039;29 April 2025 23:59:59&amp;lt;/span&amp;gt;&#039;&#039;&#039; ;) Please be ensured you are happy with your project page at this point, as this will be the basis for our assessment.&lt;br /&gt;
Thanks!! Ramanathan Mahendrian and Christian Kurtsiefer&lt;br /&gt;
&lt;br /&gt;
==Projects==&lt;br /&gt;
===[[Project 1 (Example)]]===&lt;br /&gt;
Keep a very brief description of a project or even a suggestion here, and perhaps the names of the team members, or who to contact if there is interest to join. Once the project has stabilized, keep stuff in the project page linked by the headline.&lt;br /&gt;
&lt;br /&gt;
===[[Laser Gyroscope]]===&lt;br /&gt;
Team members: Darren Koh, Chiew Wen Xin&lt;br /&gt;
&lt;br /&gt;
Build a laser interferometer to detect rotation.&lt;br /&gt;
&lt;br /&gt;
===[[Laser Distance Measurer]]===&lt;br /&gt;
Team members: Arya Chowdhury, Liu Sijin, Jonathan Wong&lt;br /&gt;
&lt;br /&gt;
This project aims to build a laser interferometer to measure distances.&lt;br /&gt;
&lt;br /&gt;
(CK: We should have fast laser diodes and fast photodiodes, mounted in optics bench kits)&lt;br /&gt;
&lt;br /&gt;
===[[Non-contact Alcohol Concentration Measurement Device At NIR Spectrum]]===&lt;br /&gt;
Team members: Lim Gin Joe,Sun Weijia, Yan Chengrui, Zhu Junyi&lt;br /&gt;
This project aims to build a sensor to measure the concentration of alcohol by optical method&lt;br /&gt;
(CK: you can check  Optics Letters &amp;lt;b&amp;gt;47&amp;lt;/b&amp;gt;, 5076-5079 (2022) https://doi.org/10.1364/OL.472890 for some info)&lt;br /&gt;
&lt;br /&gt;
===[[Ultrasonic Acoustic Remote Sensing]]===&lt;br /&gt;
Team member(s): Chua Rui Ming&lt;br /&gt;
&lt;br /&gt;
How well can we use sound waves to survey the environment?&lt;br /&gt;
&lt;br /&gt;
(CK: we have some ultrasonic transducers around 40kHz, see datasheets below)&lt;br /&gt;
&lt;br /&gt;
===[[Blood Oxygen Sensor]]===&lt;br /&gt;
Team members: He Lingzi, Zhao Lubo, Zhang Ruoxi, Xu Yintong&lt;br /&gt;
&lt;br /&gt;
This project aims to build a sensor to detect the oxygen concentration in the blood.&lt;br /&gt;
&lt;br /&gt;
(CK: We have LEDs at 940nm and 660nm peak wavelenth emission, plus some Si photodiodes)&lt;br /&gt;
&lt;br /&gt;
===[[Terahertz Electromagnetic Wave Detection]]===&lt;br /&gt;
Team members: Shizhuo Luo, Bohan Zhang&lt;br /&gt;
&lt;br /&gt;
This project aims to detect Terahertz waves, especially terahertz pulses (This is because they are intense and controllable). We may try different ways like electro-optical sampling and thermopile detectors.&lt;br /&gt;
&lt;br /&gt;
===[[Optical measurement of atmospheric carbon dioxide]]===&lt;br /&gt;
Team member(s): Ta Na, Cao Yuan, Qi Kaiyi, Gao Yihan, Chen Yiming&lt;br /&gt;
&lt;br /&gt;
This project aims to make use of the optical properties of carbon dioxide gas to create a portable and accurate measurement device of carbon dioxide.&lt;br /&gt;
&lt;br /&gt;
===[[Photodetector with wavelength @ 780nm and 1560nm]]===&lt;br /&gt;
Team members: Sunke Lan&lt;br /&gt;
&lt;br /&gt;
To design photodetector as power monitor with power within 10mW.&lt;br /&gt;
&lt;br /&gt;
(CK: Standard problem, we have already the respective photodiodes)&lt;br /&gt;
&lt;br /&gt;
===[[LED based avalanched photodetector]]===&lt;br /&gt;
&lt;br /&gt;
Team members: Cai Shijie, Nie Huanxin, Yang Runzhi&lt;br /&gt;
&lt;br /&gt;
1.Build a single photondetection circuit using reverse-biased LED. The possible LED is gallium compounds based, emitting wavelength around 700nm(red light).&lt;br /&gt;
&lt;br /&gt;
2.Record singal waveforms under different variables: reverse bias and power of light source.&lt;br /&gt;
&lt;br /&gt;
3.Investigate the photodetector&#039;s quantum efficiency, stimulation number&#039;s accordance with Poisson distribution.&lt;br /&gt;
&lt;br /&gt;
4.Give numerical calculations of quench time of equivalent quenching circuit (as accurate as possible). &lt;br /&gt;
&lt;br /&gt;
Other devices needed: use LED as single photon source (wavelength shorter than the emitting wavelength 700nm).&lt;br /&gt;
&lt;br /&gt;
===[[Motor Rotation Speed Measurement via the Hall Effect Sensor]]===&lt;br /&gt;
&lt;br /&gt;
Team members: Mi Tianshuo&lt;br /&gt;
&lt;br /&gt;
This project implements a Hall effect sensor to measure the rotation speed of a circuit board-controlled rotary plate.&lt;br /&gt;
&lt;br /&gt;
===[[STM32-Based IMU Attitude Estimation]]===&lt;br /&gt;
&lt;br /&gt;
Team members: Li Ding, Fan Xuting&lt;br /&gt;
&lt;br /&gt;
This project utilizes an STM32 microcontroller and an MPU6050 IMU sensor to measure angular velocity and acceleration, enabling real-time attitude angle computation for motion tracking.&lt;br /&gt;
&lt;br /&gt;
===[[Magnetic field sensing using a fluxgate magnetometer]]===&lt;br /&gt;
Team members: Ni Xueqi&lt;br /&gt;
&lt;br /&gt;
This project investigates magnetic field sensing using a fluxgate magnetometer (FLC100). A 5 V supply drives the sensor, and the output is monitored with an oscilloscope. A permanent magnet is modeled in COMSOL and experimentally measured, showing expected distance-dependent field decay. A toroidal solenoid is also studied; due to imperfections, a magnetic field decaying as &amp;lt;math&amp;gt; 1/r^3 &amp;lt;/math&amp;gt; outside the toroid is observed. Measurements confirm dipole-like behavior and linear current dependence, demonstrating the fluxgate magnetometer&#039;s sensitivity and validating magnetic field modeling.&lt;br /&gt;
&lt;br /&gt;
===[[CO2 Concentration Detector]]===&lt;br /&gt;
Team members: Xie Zihan，Zhao Yun，Zhang Wenbo&lt;br /&gt;
&lt;br /&gt;
Infrared absorption-based CO₂ gas sensors are developed based on the principle that different substances exhibit different absorption spectra. Because the chemical structures of different gas molecules vary, their degrees of absorption of infrared radiation at various wavelengths also differ. Consequently, when infrared radiation of different wavelengths is directed at the sample in turn, certain wavelengths are selectively absorbed and thus weakened by the sample, generating an infrared absorption spectrum.&lt;br /&gt;
&lt;br /&gt;
Once the infrared absorption spectrum of a particular substance is known, its infrared absorption peaks can be identified. For the same substance, when the concentration changes, the absorption intensity at a given absorption peak also changes, and this intensity is directly proportional to the concentration. Therefore, by detecting how the gas alters the wavelength and intensity of the light, one can determine the gas concentration.&lt;br /&gt;
&lt;br /&gt;
===[[Humidity Sensor of Graphite]]===&lt;br /&gt;
Team members: Xu Ruizhe, Wei Heyi, Li Zerui, Ma Shunyu&lt;br /&gt;
&lt;br /&gt;
This project aims to build a humidity sensor with Graphite.&lt;br /&gt;
&lt;br /&gt;
===[[Temperature and humidity sensors]]===&lt;br /&gt;
Team members: Chen Andi, Chen Miaoge, Chen Yingnan, Fang Ye&lt;br /&gt;
&lt;br /&gt;
This project aims to design and evaluate a real-time temperature and humidity monitoring system based on Arduino and the DHT11 sensor. The system is low-cost, easy to implement, and suitable for applications such as smart homes, agriculture, and storage environments. In addition to system development, the project compares the performance of the DHT11 and SHT31 sensors in various environments—indoor, outdoor, and rainy conditions—to assess their accuracy, stability, and response time. The results help guide practical sensor selection, especially in scenarios where cost and simplicity are prioritized over high precision.&lt;br /&gt;
&lt;br /&gt;
===[[Ultrasonic Doppler Speedometer]]===&lt;br /&gt;
Team members: Yang Yuzhen, Liu Xueyi, Shao Shuai &lt;br /&gt;
&lt;br /&gt;
Design and build an ultrasonic Doppler speedometer to measure the distance and velocity of a moving object.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
===Books and links===&lt;br /&gt;
* A good textbook on the Physics of Sensors is Jacob Fraden: Handbook of Mondern Sensors, Springer, ISBN 978-3-319-19302-1 or [https://link.springer.com/book/10.1007/978-3-319-19303-8 doi:10.1007/978-3-319-19303-8]. There shoud be an e-book available through the NUS library at https://linc.nus.edu.sg/record=b3554643&lt;br /&gt;
* Another good textbook: John B.Bentley: Principles of Measurement Systems, 4th Edition, Pearson, ISBN: 0-13-043028-5 or https://linc.nus.edu.sg/record=b2458243 in our library.&lt;br /&gt;
&lt;br /&gt;
===Software===&lt;br /&gt;
* Various Python extensions. [https://www.python.org Python] is a very powerful free programming language that runs on just about any computer platform. It is open source and completely free.&lt;br /&gt;
* [https://www.gnuplot.info Gnuplot]: A free and very mature data display tool that works on just about any platform used that produces excellent publication-grade eps and pdf figures. Can be also used in scripts. Open source and completely free.&lt;br /&gt;
* Matlab: Very common, good toolset also for formal mathematics, good graphics. Expensive. We may have a site license, but I am not sure how painful it is for us to get a license for this course. Ask if interested.&lt;br /&gt;
* Mathematica: More common among theroetical physicists, very good in formal maths, now with better numerics. Graphs are ok but can be a pain to make looking good. As with Matlab, we do have a campus license. Ask if interested.&lt;br /&gt;
&lt;br /&gt;
===Apps===&lt;br /&gt;
Common mobile phones these days are equipped with an amazing toolchest of sensors. There are a few apps that allow you to access them directly, and turn your phone into a powerful sensor. Here some suggestions:&lt;br /&gt;
&lt;br /&gt;
* Physics Toolbox sensor suite on [https://play.google.com/store/apps/details?id=com.chrystianvieyra.physicstoolboxsuite&amp;amp;hl=en_SG Google play store] or [https://apps.apple.com/us/app/physics-toolbox-sensor-suite/id1128914250 Apple App store].&lt;br /&gt;
&lt;br /&gt;
===Data sheets===&lt;br /&gt;
A number of components might be useful for several groups. Some common data sheets are here:&lt;br /&gt;
* Photodiodes:&lt;br /&gt;
** Generic Silicon pin Photodiode type [[Media:Bpw34.pdf|BPW34]]&lt;br /&gt;
** Fast photodiodes (Silicon PIN, small area): [[Media:S5971_etc_kpin1025e.pdf|S5971/S5972/S5973]]&lt;br /&gt;
* PT 100 Temperature sensors based on platinum wire: [[Media:PT100_TABLA_R_T.pdf|Calibration table]]&lt;br /&gt;
* Thermistor type [[Media:Thermistor B57861S.pdf|B57861S]] (R0=10k&amp;amp;Omega;, B=3988Kelvin). Search for   [https://en.wikipedia.org/wiki/Steinhart-Hart_equation Steinhart-Hart equation]. See [[Thermistor]] page here as well.&lt;br /&gt;
* Humidity sensor&lt;br /&gt;
** Sensirion device the reference unit: [[media:Sensirion SHT30-DIS.pdf|SHT30/31]]&lt;br /&gt;
* Thermopile detectors:&lt;br /&gt;
** [[Media:Thermopile_G-TPCO-035 TS418-1N426.pdf|G-TPCO-035 / TS418-1N426]]: Thermopile detector with a built-in optical bandpass filter for light around 4&amp;amp;mu;m wavelength for CO&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; absorption&lt;br /&gt;
* Resistor color codes are explained [https://en.wikipedia.org/wiki/Electronic_color_code here]&lt;br /&gt;
* Ultrasonic detectors:&lt;br /&gt;
** plastic detctor, 40 kHz, -74dB: [[Media:MCUSD16P40B12RO.pdf|MCUSD16P40B12RO]]&lt;br /&gt;
** metal casing/waterproof, 48 kHz, -90dB, [[Media:MCUSD14A48S09RS-30C.pdf|MCUSD14A48S09RS-30C]]&lt;br /&gt;
** metal casing, 40 kHz, sensitivity unknown, [[Media:MCUST16A40S12RO.pdf|MCUST16A40S12RO]]&lt;br /&gt;
** metal casing/waterproof, 300kHz, may need high voltage: [[Media:MCUSD13A300B09RS.pdf|MCUSD13A300B09RS]]&lt;br /&gt;
* Magnetic field sensor&lt;br /&gt;
** Fluxgate magnetometer [[media:Data-sheet FLC-100.pdf|FCL100]]&lt;br /&gt;
* Lasers&lt;br /&gt;
** Red laser diode [[media:HL6501MG.pdf|HL6501MG]]&lt;br /&gt;
* Generic amplifiers&lt;br /&gt;
** Instrumentation amplifiers: [[media:Ad8221.pdf|AD8221]] or [[media:AD8226.pdf|AD8226]]&lt;br /&gt;
** Conventional operational amplifiers: Precision: [[media:OP27.pdf|OP27]], General purpose: [[media:OP07.pdf|OP07]]&lt;br /&gt;
** Transimpedance amplifiers for photodetectors: [[media:AD8015.pdf|AD8015]]&lt;br /&gt;
&lt;br /&gt;
===Some code snippets===&lt;br /&gt;
* For the [[media:Generic FPGA board version 3 - Quantum Optics Wiki.pdf|pattern generator]], you need to send the following text file to it to generate ultrasonic pulses:&lt;br /&gt;
&lt;br /&gt;
 # This pattern is to generate a burst of 10..20 oscillations at 40 kHz&lt;br /&gt;
 # every 100ms for a sonar test. Pulses are TTL level on the AUX output,&lt;br /&gt;
 # I/O lane 0 bit 7 is a sync pulse (10ns long), I/O lane 0 bit 0 copies the&lt;br /&gt;
 # aux line, bit 1 indicates the pause periode between bursts.&lt;br /&gt;
 # Internal counter 0 is for burst counting, int counter 1 for pause cycles&lt;br /&gt;
 &lt;br /&gt;
 # Set device to programming mode: reset table, reset RAM, program params&lt;br /&gt;
 config 13&lt;br /&gt;
 writew 0, 60571;         # basic address is 0, input thres -0.5V (not used)&lt;br /&gt;
 writew 0,0,0,0;          # external counter preload (not used)&lt;br /&gt;
 writew 9,999,0,0;        # internal cnt preload only first one is relevant&lt;br /&gt;
                          # and determines the number of pulses (minus 1) and&lt;br /&gt;
                          # number minus 1 of multiples of 100us for pause&lt;br /&gt;
 writew 0,0,0,0,0,0,0,0;  # DAC preload - not used &lt;br /&gt;
 &lt;br /&gt;
 config 4; # switch to RAM write&lt;br /&gt;
 &lt;br /&gt;
 # This is the RAM sequence- starting with 40kHz burst&lt;br /&gt;
 writew 0x80,0,0,0,0,0,   0,0x1010;  # ad 0: sync pulse 10nsec, load cnt 0&lt;br /&gt;
 writew 0x01 0,0,1,0,0,1248,0xc004;  # ad 1: pulse on (12.49us), if done go ad4 &lt;br /&gt;
 writew 0x01 0,0,1,0,0,   0,0x1100;  # ad 2: pulse on for 10ns, decr int cnt 0&lt;br /&gt;
 writew 0x00,0,0,0,0,0,1249,0x0001;  # ad 3: pulse off for 12.5us, then go 1 &lt;br /&gt;
 &lt;br /&gt;
 # Waiting time / pause &lt;br /&gt;
 writew 0x02,0,0,0,0,0,   0,0x1020;  # ad 4: preload internal cntr 1 (10ns)&lt;br /&gt;
 writew 0x02,0,0,0,0,0,9998,0x1200;  # ad 5: decr cnt1 (10ns)&lt;br /&gt;
 writew 0x02,0,0,0,0,0,   0,0xd008;  # ad 6: if count is down goto ad 8(10ns)&lt;br /&gt;
 writew 0x02,0,0,0,0,0,   0,0x0005;  # ad 7: goto ad 5(10ns)&lt;br /&gt;
 &lt;br /&gt;
 writew 0x02,0,0,0,0,0,   0,0x0000;  # ad 8: restart (goto ad 0; 10ns)&lt;br /&gt;
 &lt;br /&gt;
 # start pattern and keep output level on AUX line to TTL level&lt;br /&gt;
 config 0x400;&lt;br /&gt;
&lt;br /&gt;
==Some wiki reference materials==&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [[Writing mathematical expressions]]&lt;br /&gt;
* [[Uploading images and files]]&lt;br /&gt;
&lt;br /&gt;
== Old Wiki ==&lt;br /&gt;
You can find entries to the wiki from [https://pc5271.org/PC5271_AY2324S2 AY2023/24 Sem 2]&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2336</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2336"/>
		<updated>2025-04-29T10:05:38Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Group members: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Group members:==&lt;br /&gt;
&lt;br /&gt;
Cai Shijie&lt;br /&gt;
&lt;br /&gt;
Email:E1184418@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Nie Huanxin       &lt;br /&gt;
&lt;br /&gt;
Email: E1352877@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Yang Runzhi       &lt;br /&gt;
&lt;br /&gt;
Email:E1127408@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
== Idea ==&lt;br /&gt;
&lt;br /&gt;
Our project aims to construct a photo detector to measure some phenomena in optical experiment. We choose Poisson distribution of photons generated by LED as our target phenomena. In the sensor part, we want to detect number of photons, thus we choose reversed LED as the sensor. Using avalanche effect in LED, we could detect relative number of photons with observable quantities. &lt;br /&gt;
&lt;br /&gt;
In the main part, we constructed this LED based avalanched photodetector(APD), explained the working principle and analyzed the result detected by the LED based APD, especially compared the distribution results of photon with theoretical Poisson distribution.&lt;br /&gt;
&lt;br /&gt;
==Main==&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Author: Nie Huanxin&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2335</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2335"/>
		<updated>2025-04-29T10:05:25Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Group members: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==&#039;&#039;&#039;Group members:&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
Cai Shijie&lt;br /&gt;
&lt;br /&gt;
Email:E1184418@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Nie Huanxin       &lt;br /&gt;
&lt;br /&gt;
Email: E1352877@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Yang Runzhi       &lt;br /&gt;
&lt;br /&gt;
Email:E1127408@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
== Idea ==&lt;br /&gt;
&lt;br /&gt;
Our project aims to construct a photo detector to measure some phenomena in optical experiment. We choose Poisson distribution of photons generated by LED as our target phenomena. In the sensor part, we want to detect number of photons, thus we choose reversed LED as the sensor. Using avalanche effect in LED, we could detect relative number of photons with observable quantities. &lt;br /&gt;
&lt;br /&gt;
In the main part, we constructed this LED based avalanched photodetector(APD), explained the working principle and analyzed the result detected by the LED based APD, especially compared the distribution results of photon with theoretical Poisson distribution.&lt;br /&gt;
&lt;br /&gt;
==Main==&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Author: Nie Huanxin&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2334</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2334"/>
		<updated>2025-04-29T10:04:54Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Group members: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==&#039;&#039;&#039;Group members:&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
Cai Shijie       Email:E1184418@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Nie Huanxin       Email: E1352877@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Yang Runzhi       Email:E1127408@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
== Idea ==&lt;br /&gt;
&lt;br /&gt;
Our project aims to construct a photo detector to measure some phenomena in optical experiment. We choose Poisson distribution of photons generated by LED as our target phenomena. In the sensor part, we want to detect number of photons, thus we choose reversed LED as the sensor. Using avalanche effect in LED, we could detect relative number of photons with observable quantities. &lt;br /&gt;
&lt;br /&gt;
In the main part, we constructed this LED based avalanched photodetector(APD), explained the working principle and analyzed the result detected by the LED based APD, especially compared the distribution results of photon with theoretical Poisson distribution.&lt;br /&gt;
&lt;br /&gt;
==Main==&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Author: Nie Huanxin&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2332</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2332"/>
		<updated>2025-04-29T10:04:28Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Group members: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==&#039;&#039;&#039;Group members:&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
Cai Shijie   Email:E1184418@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Nie Huanxin   Email: E1352877@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Yang Runzhi   Email:E1127408@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Idea ==&lt;br /&gt;
&lt;br /&gt;
Our project aims to construct a photo detector to measure some phenomena in optical experiment. We choose Poisson distribution of photons generated by LED as our target phenomena. In the sensor part, we want to detect number of photons, thus we choose reversed LED as the sensor. Using avalanche effect in LED, we could detect relative number of photons with observable quantities. &lt;br /&gt;
&lt;br /&gt;
In the main part, we constructed this LED based avalanched photodetector(APD), explained the working principle and analyzed the result detected by the LED based APD, especially compared the distribution results of photon with theoretical Poisson distribution.&lt;br /&gt;
&lt;br /&gt;
==Main==&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Author: Nie Huanxin&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2331</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2331"/>
		<updated>2025-04-29T10:03:41Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=&#039;&#039;&#039;Group members:&#039;&#039;&#039;=&lt;br /&gt;
&lt;br /&gt;
Cai Shijie   Email:E1184418@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Nie Huanxin   Email: E1352877@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Yang Runzhi   Email:E1127408@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Idea ===&lt;br /&gt;
&lt;br /&gt;
Our project aims to construct a photo detector to measure some phenomena in optical experiment. We choose Poisson distribution of photons generated by LED as our target phenomena. In the sensor part, we want to detect number of photons, thus we choose reversed LED as the sensor. Using avalanche effect in LED, we could detect relative number of photons with observable quantities. &lt;br /&gt;
&lt;br /&gt;
In the main part, we constructed this LED based avalanched photodetector(APD), explained the working principle and analyzed the result detected by the LED based APD, especially compared the distribution results of photon with theoretical Poisson distribution.&lt;br /&gt;
&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Author: Nie Huanxin&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2330</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2330"/>
		<updated>2025-04-29T10:03:07Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Part 1.  Working Principles: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&#039;&#039;&#039;Group members:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Cai Shijie   Email:&lt;br /&gt;
&lt;br /&gt;
Nie Huanxin   Email: E1352877@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Yang Runzhi   Email:E1127408@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Idea ===&lt;br /&gt;
&lt;br /&gt;
Our project aims to construct a photo detector to measure some phenomena in optical experiment. We choose Poisson distribution of photons generated by LED as our target phenomena. In the sensor part, we want to detect number of photons, thus we choose reversed LED as the sensor. Using avalanche effect in LED, we could detect relative number of photons with observable quantities. &lt;br /&gt;
&lt;br /&gt;
In the main part, we constructed this LED based avalanched photodetector(APD), explained the working principle and analyzed the result detected by the LED based APD, especially compared the distribution results of photon with theoretical Poisson distribution.&lt;br /&gt;
&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Author: Nie Huanxin&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2328</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2328"/>
		<updated>2025-04-29T10:02:51Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Part 2. Experimental Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&#039;&#039;&#039;Group members:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Cai Shijie   Email:&lt;br /&gt;
&lt;br /&gt;
Nie Huanxin   Email: E1352877@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Yang Runzhi   Email:E1127408@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Idea ===&lt;br /&gt;
&lt;br /&gt;
Our project aims to construct a photo detector to measure some phenomena in optical experiment. We choose Poisson distribution of photons generated by LED as our target phenomena. In the sensor part, we want to detect number of photons, thus we choose reversed LED as the sensor. Using avalanche effect in LED, we could detect relative number of photons with observable quantities. &lt;br /&gt;
&lt;br /&gt;
In the main part, we constructed this LED based avalanched photodetector(APD), explained the working principle and analyzed the result detected by the LED based APD, especially compared the distribution results of photon with theoretical Poisson distribution.&lt;br /&gt;
&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2327</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2327"/>
		<updated>2025-04-29T10:02:39Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Part 3. Results and Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&#039;&#039;&#039;Group members:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Cai Shijie   Email:&lt;br /&gt;
&lt;br /&gt;
Nie Huanxin   Email: E1352877@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Yang Runzhi   Email:E1127408@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Idea ===&lt;br /&gt;
&lt;br /&gt;
Our project aims to construct a photo detector to measure some phenomena in optical experiment. We choose Poisson distribution of photons generated by LED as our target phenomena. In the sensor part, we want to detect number of photons, thus we choose reversed LED as the sensor. Using avalanche effect in LED, we could detect relative number of photons with observable quantities. &lt;br /&gt;
&lt;br /&gt;
In the main part, we constructed this LED based avalanched photodetector(APD), explained the working principle and analyzed the result detected by the LED based APD, especially compared the distribution results of photon with theoretical Poisson distribution.&lt;br /&gt;
&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Yang Runzhi&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2325</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2325"/>
		<updated>2025-04-29T10:02:22Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Part 2. Experimental Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&#039;&#039;&#039;Group members:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Cai Shijie   Email:&lt;br /&gt;
&lt;br /&gt;
Nie Huanxin   Email: E1352877@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Yang Runzhi   Email:E1127408@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Idea ===&lt;br /&gt;
&lt;br /&gt;
Our project aims to construct a photo detector to measure some phenomena in optical experiment. We choose Poisson distribution of photons generated by LED as our target phenomena. In the sensor part, we want to detect number of photons, thus we choose reversed LED as the sensor. Using avalanche effect in LED, we could detect relative number of photons with observable quantities. &lt;br /&gt;
&lt;br /&gt;
In the main part, we constructed this LED based avalanched photodetector(APD), explained the working principle and analyzed the result detected by the LED based APD, especially compared the distribution results of photon with theoretical Poisson distribution.&lt;br /&gt;
&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Yang Runzhi&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2324</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2324"/>
		<updated>2025-04-29T10:01:54Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&#039;&#039;&#039;Group members:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Cai Shijie   Email:&lt;br /&gt;
&lt;br /&gt;
Nie Huanxin   Email: E1352877@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
Yang Runzhi   Email:E1127408@u.nus.edu.sg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Idea ===&lt;br /&gt;
&lt;br /&gt;
Our project aims to construct a photo detector to measure some phenomena in optical experiment. We choose Poisson distribution of photons generated by LED as our target phenomena. In the sensor part, we want to detect number of photons, thus we choose reversed LED as the sensor. Using avalanche effect in LED, we could detect relative number of photons with observable quantities. &lt;br /&gt;
&lt;br /&gt;
In the main part, we constructed this LED based avalanched photodetector(APD), explained the working principle and analyzed the result detected by the LED based APD, especially compared the distribution results of photon with theoretical Poisson distribution.&lt;br /&gt;
&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2322</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2322"/>
		<updated>2025-04-29T09:59:30Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Idea */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== Idea ===&lt;br /&gt;
&lt;br /&gt;
Our project aims to construct a photo detector to measure some phenomena in optical experiment. We choose Poisson distribution of photons generated by LED as our target phenomena. In the sensor part, we want to detect number of photons, thus we choose reversed LED as the sensor. Using avalanche effect in LED, we could detect relative number of photons with observable quantities. &lt;br /&gt;
&lt;br /&gt;
In the main part, we constructed this LED based avalanched photodetector(APD), explained the working principle and analyzed the result detected by the LED based APD, especially compared the distribution results of photon with theoretical Poisson distribution.&lt;br /&gt;
&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2320</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2320"/>
		<updated>2025-04-29T09:59:09Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Idea */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== Idea ===&lt;br /&gt;
&lt;br /&gt;
Our project aims to construct a photo detector to measure some phenomena in optical experiment. We choose Poisson distribution of photons generated by LED as our target phenomena. In the sensor part, we want to detect number of photons, thus we choose reversed LED as the sensor. Using avalanche effect in LED, we could detect relative number of photons with observable quantities. &lt;br /&gt;
In the main part, we constructed this LED based avalanched photodetector(APD), explained the working principle and analyzed the result detected by the LED based APD, especially compared the distribution results of photon with theoretical Poisson distribution.&lt;br /&gt;
&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2315</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2315"/>
		<updated>2025-04-29T09:37:23Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* 3. Results and Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== Idea ===&lt;br /&gt;
&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2314</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2314"/>
		<updated>2025-04-29T09:37:13Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* 2. Experimental Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== Idea ===&lt;br /&gt;
&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Part 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2313</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2313"/>
		<updated>2025-04-29T09:36:57Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* 1.  Working Principles: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== Idea ===&lt;br /&gt;
&lt;br /&gt;
=== Part 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2312</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=2312"/>
		<updated>2025-04-29T09:36:29Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== Idea ===&lt;br /&gt;
&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1783</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1783"/>
		<updated>2025-04-28T09:57:52Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Photon detection circuit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Circuit2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Circuit2.png&amp;diff=1782</id>
		<title>File:Circuit2.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Circuit2.png&amp;diff=1782"/>
		<updated>2025-04-28T09:56:52Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1417</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1417"/>
		<updated>2025-04-25T11:07:35Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Code Listings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center|MATLAB code of Quenching Circuit differential equation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1407</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1407"/>
		<updated>2025-04-25T09:37:07Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Equipment and the circuit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1406</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1406"/>
		<updated>2025-04-25T09:36:22Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Equipment and the circuit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up_s.png|400px|frameless|alt=Fig.1]][[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Chain_up_s.png&amp;diff=1405</id>
		<title>File:Chain up s.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Chain_up_s.png&amp;diff=1405"/>
		<updated>2025-04-25T09:35:56Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: the small version to fit.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
the small version to fit.&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1403</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1403"/>
		<updated>2025-04-25T09:34:59Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Equipment and the circuit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.2]][[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Chain_up.png&amp;diff=1402</id>
		<title>File:Chain up.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Chain_up.png&amp;diff=1402"/>
		<updated>2025-04-25T09:34:13Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: Runzhi uploaded a new version of File:Chain up.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1400</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1400"/>
		<updated>2025-04-25T09:32:35Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Equipment and the circuit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain_up.png|400px|frameless|alt=Fig.1]][[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Chain_up.png&amp;diff=1399</id>
		<title>File:Chain up.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Chain_up.png&amp;diff=1399"/>
		<updated>2025-04-25T09:31:40Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1391</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1391"/>
		<updated>2025-04-25T06:21:12Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Calculation of quenching equivalent capacitance circuit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.4 Quench equivalent circuit &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result, which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time 2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.5  Theoretical and Experimental results of Quench time &#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1390</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1390"/>
		<updated>2025-04-25T06:17:04Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Photon detection circuit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.3 APD photodetection and light source circuit&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result: &lt;br /&gt;
:Which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1389</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1389"/>
		<updated>2025-04-25T06:14:32Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Avalanche Photon detection of Reverse-biased LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig 1.2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result: &lt;br /&gt;
:Which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1388</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1388"/>
		<updated>2025-04-25T06:13:39Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Avalanche Photon detection of Reverse-biased LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|400px|Avalanche Mechanism]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig.1  Avalanche Mechanism&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fig. 2  PD, APD and SPAD region&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result: &lt;br /&gt;
:Which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1387</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1387"/>
		<updated>2025-04-25T06:08:22Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* 3. Results and Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|600px|Avalanche Mechanism]]&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;br/&amp;gt;&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result: &lt;br /&gt;
:Which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1386</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1386"/>
		<updated>2025-04-25T06:07:51Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Avalanche Photon detection of Reverse-biased LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png|600px|Avalanche Mechanism]]&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;br/&amp;gt;&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result: &lt;br /&gt;
:Which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse 3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1385</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1385"/>
		<updated>2025-04-25T06:06:38Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* 3. Results and Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;br/&amp;gt;&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result: &lt;br /&gt;
:Which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse 3_1.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:3_2.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases significantly, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:3_2.png&amp;diff=1384</id>
		<title>File:3 2.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:3_2.png&amp;diff=1384"/>
		<updated>2025-04-25T06:03:24Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:3_1.png&amp;diff=1383</id>
		<title>File:3 1.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:3_1.png&amp;diff=1383"/>
		<updated>2025-04-25T06:03:05Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1381</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1381"/>
		<updated>2025-04-25T05:51:37Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Experiment steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;br/&amp;gt;&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result: &lt;br /&gt;
:Which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The main measurement including the following parts:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse number.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse hight.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases by 14%, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1379</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1379"/>
		<updated>2025-04-25T05:50:34Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Equipment and the circuit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;br/&amp;gt;&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result: &lt;br /&gt;
:Which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE  with working wavelength around 450 nm as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
The main measurement including the following parts:&lt;br /&gt;
&lt;br /&gt;
1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&lt;br /&gt;
&lt;br /&gt;
2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&lt;br /&gt;
&lt;br /&gt;
3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution, &lt;br /&gt;
&lt;br /&gt;
4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse number.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse hight.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases by 14%, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1378</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1378"/>
		<updated>2025-04-25T05:50:00Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Experiment steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;br/&amp;gt;&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result: &lt;br /&gt;
:Which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of pulse peaks and decay time after excitations. Also, the number of pulse peaks in a small period is &lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
The main measurement including the following parts:&lt;br /&gt;
&lt;br /&gt;
1.Working voltage sweep: Connect the measure circuit to oscilloscope. Keep the reverse-bias voltage constant at 25.8 V and vary the working voltage from 3 V to 7 V in 0.5 V increments. During each voltage level, use the oscilloscope to measure number of pulses in 1000ms and the height of pulse peaks in 6 times.&lt;br /&gt;
&lt;br /&gt;
2.Reverse-bias voltage sweep: Connect the measure circuit to oscilloscope. Keep the working voltage constant at 5 V and vary the reverse-bias voltage from 25.4 V to 26.5 V in 0.05 V increments. During each voltage level, use the oscilloscope to measure the decay time after excitation.&lt;br /&gt;
&lt;br /&gt;
3.Confirmation the Poisson distribution: Connect the measure circuit to counter. Keep the reverse-bias voltage constant at 25.8 V and the working voltage constant at 5 V. Set the sample time, then sample and compare the sample results with the theoretical Poisson distribution, &lt;br /&gt;
&lt;br /&gt;
4.Calculate quantum efficiency: Connect the measure circuit to oscilloscope, use the oscilloscope to measure number of pulses in 50ms. Use multimeter to measure the working current and the working voltage of blue LED. Calculate the number of photon generated in 50ms and calculate the quantum efficiency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse number.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse hight.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases by 14%, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Quench_time_2.png&amp;diff=1375</id>
		<title>File:Quench time 2.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Quench_time_2.png&amp;diff=1375"/>
		<updated>2025-04-25T05:39:15Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1374</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1374"/>
		<updated>2025-04-25T05:35:59Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Equipment and the circuit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;br/&amp;gt;&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result: &lt;br /&gt;
:Which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Arduino Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of signal peaks and decay time after excitations.&lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
working&lt;br /&gt;
&lt;br /&gt;
reverse&lt;br /&gt;
&lt;br /&gt;
counter&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse number.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse hight.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases by 14%, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1373</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1373"/>
		<updated>2025-04-25T05:24:05Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Photon detection circuit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;br/&amp;gt;&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result: &lt;br /&gt;
:Which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of signal peaks and decay time after excitations.&lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
working&lt;br /&gt;
&lt;br /&gt;
reverse&lt;br /&gt;
&lt;br /&gt;
counter&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse number.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse hight.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases by 14%, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1372</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1372"/>
		<updated>2025-04-25T05:21:03Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Code Listings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;br/&amp;gt;&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&amp;lt;br/&amp;gt;&lt;br /&gt;
:So the photodetection circuit in our experiment consists of: AND113 red LED (wavelength λ=700nm), resistor &amp;lt;math&amp;gt;R_{0}=10k\Omega&amp;lt;/math&amp;gt;, capacitor C=0.33μF, 2231A-30-3 triple channel DC power supply, RTB2004 Digital Oscilloscope, wires, circuit experimental bread board. And we use a series circuit of blue LED (λ=450nm) and resistor R=1kΩ as light source.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:And the theoretical filtering frequency of RC circuit is: f=1/2\piRC≈48.25Hz. During experiments, the noise amplitude is stabilized under 5mV, so a photodetection signal threshold is set at &amp;lt;math&amp;gt;V_{th}=10mV&amp;lt;/math&amp;gt;.&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result: &lt;br /&gt;
:Which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of signal peaks and decay time after excitations.&lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
working&lt;br /&gt;
&lt;br /&gt;
reverse&lt;br /&gt;
&lt;br /&gt;
counter&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse number.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse hight.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases by 14%, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code3.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code4.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code5.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code6.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Code6.png&amp;diff=1371</id>
		<title>File:Code6.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Code6.png&amp;diff=1371"/>
		<updated>2025-04-25T05:19:46Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Code5.png&amp;diff=1370</id>
		<title>File:Code5.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Code5.png&amp;diff=1370"/>
		<updated>2025-04-25T05:19:30Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Code4.png&amp;diff=1369</id>
		<title>File:Code4.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Code4.png&amp;diff=1369"/>
		<updated>2025-04-25T05:19:10Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Code3.png&amp;diff=1368</id>
		<title>File:Code3.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Code3.png&amp;diff=1368"/>
		<updated>2025-04-25T05:18:48Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1367</id>
		<title>LED based avalanched photodetector</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=LED_based_avalanched_photodetector&amp;diff=1367"/>
		<updated>2025-04-25T05:18:29Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: /* Code Listings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=== 1.  Working Principles: ===&lt;br /&gt;
&#039;&#039;&#039;Editor: Nie Huanxin   Email: E1352877@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
==== Avalanche Photon detection of Reverse-biased LED ====&lt;br /&gt;
:When a light-emitting diode (LED) light bulb is forward-biased,electrons from the n-region and holes from the p-region migrate toward the depletion zone under the applied electric field. Upon recombination in the active region, energy is released as photons via radiative recombination of charge carriers, converting electrical energy into light—the fundamental principle of LEDs. However, under reverse bias &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;, the LED operates as a photodetector: In the absence of incident photons, the depletion region in LED widens and the built-in electric field is strengthened. Although minority carrier diffusion increases, the absence of photogenerated free carriers results in negligible current (limited only by intrinsic thermal generation). When photons with energy exceeding the bandgap (ℎ𝜈 ≥ 𝐸𝑔) are absorbed, electron-hole pairs (EHPs) will be generated within the depletion zone and separated by strong built-in electric field, then the reverse-biased LED light bulb will operates as a photodetector with distinct voltage-dependent response regimes:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Avalanche.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
#At small reverse voltages (below the avalanche threshold &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;), the photocurrent exhibits a near-linear relationship with the applied bias. The observed signal is dominated by leakage current, where photogenerated EHPs are separated by built-in electric field but with negligible current gain. Only primary photocurrent generated from adequate incident photon flux can be detected under this voltage region. &lt;br /&gt;
#When &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt; approaches the avalanche threshold, the LED turns into Avalanche Photodiode mode, or APD mode. High-energy photogenerated charge carriers in the material gain sufficient kinetic energy to create secondary EHPs via collisions with other carriers, leading to a detectable amplification of the total photocurrent depending on the applied voltage. &lt;br /&gt;
#Beyond the breakdown voltage (&amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;), the LED operates in Single Photon Avalanche Diode (SPAD) mode, even a single photon can trigger avalanche impact ionization, creating a macroscopic current pulse. SPAD mode have infinitely effective gain, however, the detectable gain is limited by noise, electric loss and quenching.&lt;br /&gt;
 &amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:SPAD.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:In avalanche multiplication regimes, a critical challenge arises when the signal amplification rate exceeds the current decay rate, leading to persistent conduction and preventing subsequent photon detection. Trapped carriers (e.g., at defect sites) during current decay will also trigger false secondary avalanches (afterpulse). To mitigate these effects, quenching is required to reset the diode to its pre-avalanche state. The simplest quenching method employs a series resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; to suppress the avalanche: During an avalanche, the stimulated high current induces a voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;, reducing the bias voltage across the diode below its breakdown threshold (&amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;). This terminates the avalanche, allowing the diode to recover. Once the photocurrent ceases, the bias voltage across the diode returns to its original value, ready for the next photondetection. The effectiveness of quenching largely depends on the resistor &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt;: If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too small for a sufficient voltage drop, the detection accuracy will be greatly degraded due to the inefficiency of quenching; If &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; is too large, the amplitude as well as time span of signal pulses may be , owning to unqualified signal waves; Only proper &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; can optimize the photodetection efficiency. &lt;br /&gt;
:During Experiments, we applied R&amp;lt;sub&amp;gt;0=10kΩ empirically for reverse-biased AND 113 LED, to balance quenching efficiency and timing resolution. Also, the LED&#039;s reverse-bias range of &amp;lt;math&amp;gt;V_{re}&amp;lt;/math&amp;gt;∈[25.5V,26.4V] are discovered experimentally, where:&lt;br /&gt;
*Below 25.5 V, the field is too weak for detectable gain;&lt;br /&gt;
*Above 26.4 V, passive quenching fails to suppress runaway avalanches.&amp;lt;br/&amp;gt;&lt;br /&gt;
:From the derivations mentioned above, the photodetection mechanism sequence in a reverse-biased LED of APD mode are as follows: &lt;br /&gt;
# An incident photon (with energy hν≥E&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;) generates an electron-hole pair (EHP) within the depletion region.&lt;br /&gt;
# The high electric field accelerates the primary carriers, enabling impact ionization. Secondary EHPs are created through collisions with the lattice, causing an exponential rise in carrier density (n). The resulting current (I) grows exponentially until reaching a peak value (&amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt;).&lt;br /&gt;
# The peak current occurs when the avalanche generation rate balances the recombination rate. At this point, the current &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is proportional to the carrier density &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; in the photodetector:&amp;lt;br/&amp;gt;&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;I_s=\frac{V_R}{R_0}\propto{n_s}\bullet\frac{e^2\tau(T)}{m_e}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;Where &amp;lt;math&amp;gt;\tau(T)&amp;lt;/math&amp;gt; is temperature-dependent mean free time, &amp;lt;math&amp;gt;m_e&amp;lt;/math&amp;gt; and e are the mass and charge of a electron. Under certain temperature T, the &amp;lt;math&amp;gt;I_{s}&amp;lt;/math&amp;gt; is determined by &amp;lt;math&amp;gt;n_{s}&amp;lt;/math&amp;gt; only.&lt;br /&gt;
# The voltage drop across &amp;lt;math&amp;gt;R_{0}&amp;lt;/math&amp;gt; reduces the bias below &amp;lt;math&amp;gt;V_{th}&amp;lt;/math&amp;gt;, suppressing the avalanche. The diode then behaves as a discharging capacitor, with the current decaying to zero as the system resets to its pre-avalanche state.&lt;br /&gt;
====Photon detection circuit====&lt;br /&gt;
:Theoretically, every reverse-biased LED have a photodetection range near its breakdown voltage &amp;lt;math&amp;gt;V_{BD}&amp;lt;/math&amp;gt;. However, only the AND113 red LED exhibits an ideal photodetection voltage range below 30V, making it suitable for experimental applications. And photoelectric conversion efficiency depends on the strength of the LED’s built-in electric field, which is governed by the carrier concentration in the doped semiconductor material. A higher carrier density enhances the internal electric field in depletion zone, thereby improving the separation and collection efficiency of photogenerated electron-hole pairs. To minimize interference from ambient light, measurements were conducted inside a lightproof enclosure (a cardboard box) within a darkroom. Additionally, a series RC low-pass filter was integrated into the photodetection circuit to suppress high-frequency noise arising from residual transient photocurrent signals.&amp;lt;br/&amp;gt;&lt;br /&gt;
:So the photodetection circuit in our experiment consists of: AND113 red LED (wavelength λ=700nm), resistor &amp;lt;math&amp;gt;R_{0}=10k\Omega&amp;lt;/math&amp;gt;, capacitor C=0.33μF, 2231A-30-3 triple channel DC power supply, RTB2004 Digital Oscilloscope, wires, circuit experimental bread board. And we use a series circuit of blue LED (λ=450nm) and resistor R=1kΩ as light source.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:APD Circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:And the theoretical filtering frequency of RC circuit is: f=1/2\piRC≈48.25Hz. During experiments, the noise amplitude is stabilized under 5mV, so a photodetection signal threshold is set at &amp;lt;math&amp;gt;V_{th}=10mV&amp;lt;/math&amp;gt;.&lt;br /&gt;
====Calculation of quenching equivalent capacitance circuit====&lt;br /&gt;
:During quenching period, the reverse-biased LED functions as a capacitor: &lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench circuit.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
:So the theoretical relaxation time of such equavalent circuit can be calculated using a second-order RC circuit differential equation:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;R_{0}^{2}CC_{LED}\frac{d^{2}V_{LED}}{dt^{2}}+R_{0}(C+2C_{LED})\frac{dV_{LED}}{dt}+V_{LED}=V_{re}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:where&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C\frac{dV_{0}}{dt}|_{t=0}=I_{0}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:However, the width and charge density of depletion zone is determined by the reverse voltage applied on the PN junction, leading to the variation of &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt;. Using parallel plate capacitor model, we can derive &amp;lt;math&amp;gt;C_{LED}&amp;lt;/math&amp;gt; as a function of &amp;lt;math&amp;gt;V_{LED}&amp;lt;/math&amp;gt;. The width of depletion zone W can be expressed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;W=\sqrt{\frac{2\varepsilon(V_{bi}-V_{LED})}{q}\frac{N_{A}N_{D}}{N_{A}+N_{D}}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Where ε is the dielectric constant of the material, &amp;lt;math&amp;gt;V_{bi}&amp;lt;/math&amp;gt; is the built-in electric field voltage, &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; is the charge carrier density in P and N zone. Simplifying the formula with approximate carrier density &amp;lt;math&amp;gt;N_{0}=\frac{N_{A}N_{D}}{N_{A}+N_{D}}&amp;lt;/math&amp;gt;, we can obtain:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;C_{LED}=\frac{\varepsilon S}{W}=S\sqrt{\frac{\varepsilon eN_{0}}{2(V_{bi}-V_{LED})}}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
:Since the capacitance is a non-linear function of V_LED, it is extremely difficult to solve the circuit equation directly; instead, translating the equation into numerical calculation programme in MATLAB makes it easier to visualize the theoretical calculation result: &lt;br /&gt;
:Which is similar to experimental results:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;[[Image:Quench time.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2. Experimental Setup ===&lt;br /&gt;
&#039;&#039;&#039;Author: Yang Runzhi Email:e1127408@u.nus.edu.sg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====  Equipment and the circuit====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Equipment:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Core: One red LDE , one blue LDE.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;KEITHLEY Triple Channel DC Power Supply, ROHDE&amp;amp;SCHWARZ RBT2004 Digital Oscilloscope, Counter, Multimeter.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Breadboard, resistors, capacitors, wires in all kinds.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We choose a red LED with working wavelength around 650 nm as detector(sensor) and another bule LDE as light source. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:red_LED.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.1: The red LED used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connect the circuit as the circuit diagram shown in part1.The working voltage and reversed-bias voltage is generated by DC Power Supply. The measure part is connected to either the Oscilloscope or the Counter. The distance between the light source and the detector is 1.3 cm. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:chain.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.2: The circuit used in experiment&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cutoff frequency &amp;lt;math&amp;gt;f_c&amp;lt;/math&amp;gt; of a simple RC low-pass filter is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi R C}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case:  &lt;br /&gt;
* &amp;lt;math&amp;gt;R = 10\,\mathrm{k}\Omega = 10^4\,\Omega&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;C = 0.33 \times 10^{-6} \,\mathrm{F}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;f_c = \frac{1}{2 \pi \times 10^4 \times 0.33 \times 10^{-6}}\mathrm{Hz} \approx 48.25\,\mathrm{Hz}&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the cutoff frequency of the filter is 48.25 Hz. Signals with higher frequency is filtered.&lt;br /&gt;
&lt;br /&gt;
====  Experiment steps====&lt;br /&gt;
First step is test the working voltage and reversed-bias voltage. Changing the 2 parameter till we can detect excitation in the oscilloscope. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:wave.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.3: The excitation figure in the oscilloscope&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.3 is what we got in this step, with working voltage at 5V level and reversed-bias voltage at 25.8V. The figure shows two important parameter which we can detect in the following experiment: height of signal peaks and decay time after excitations.&lt;br /&gt;
&lt;br /&gt;
Then cover the circuit with a box to avoid interference. The effect of this step is that all the photons detector captured are generated by the blue light source. &lt;br /&gt;
&lt;br /&gt;
working&lt;br /&gt;
&lt;br /&gt;
reverse&lt;br /&gt;
&lt;br /&gt;
counter&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Cover.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2.4: Covered circuit connected with counter&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Results and Analysis ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Author: Cai Shijie Email:e1184418@u.nus.edu.sg&#039;&#039;&#039;  &lt;br /&gt;
&#039;&#039;&#039;Date: April 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The avalanche effect can be observed with the power of the light source around 13&amp;amp;nbsp;μW. This indicates that the detector is a sensitive APD capable of detecting low photon number densities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse number.png|400px|frameless|alt=Fig.1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.1: Pulse number vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.1 measures the average pulse number per 50&amp;amp;nbsp;ms versus the voltage of the power supply. The linear curve corresponds to the increasing photon number with higher voltage of the light source.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:pulse hight.png|400px|frameless|alt=Fig.2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.2: Pulse height vs voltage of power supply&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.2 shows that the pulse height increases with the voltage of the power supply. For a single-photon avalanche photodiode (SAPD), the curve should be flat, meaning each pulse corresponds to one photon. However, when the power supply voltage is doubled, the pulse height increases by 14%, suggesting that each pulse corresponds to several photons.&lt;br /&gt;
&lt;br /&gt;
By setting the photocurrent pulse number per 50&amp;amp;nbsp;ms as one sample, 1000 or 10,000 samples are used for statistical analysis and compared with the theoretical Poisson distribution, resulting in Figure 3.3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Poisson distribution data.png|600px|frameless|alt=Fig.3]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3.3: Pulse number distribution compared to Poisson distribution&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several methods are used to analyze how closely the data match the theoretical model. The Kullback–Leibler (KL) divergence (result: 0.0061), Jensen–Shannon (JS) divergence (result: 0.0366), and Bhattacharyya distance (result: 0.0014) all qualitatively estimate the similarity between the real data and the theoretical Poisson distribution. All results are close to 0, indicating a high degree of similarity between the two distributions.&lt;br /&gt;
&lt;br /&gt;
The Kolmogorov–Smirnov (KS) test is used to obtain a p-value, which is more sensitive than the previous methods. The p-value indicates the probability of observing the test statistic under the assumption that the data follow a Poisson distribution. The p-value obtained is 0.0264, which is smaller than 0.05, thus rejecting the Poisson distribution in this test.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the quantum efficiency (QE) is estimated by &#039;&#039;&#039;0.245%&#039;&#039;&#039;. The Python, Arduino code, and QE calculation are attached in the appendix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In conclusion&#039;&#039;&#039;, the LED-based APD cannot fully verify the Poisson distribution of the LED source, as it is not a true single-photon detector.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== QE Estimation ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given Parameters&#039;&#039;&#039;&lt;br /&gt;
* Blue LED optical power: &amp;lt;math&amp;gt;P_\text{blue} = 1 \, \mu\text{W} = 1 \times 10^{-6} \, \text{W}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wavelength of blue light: &amp;lt;math&amp;gt;\lambda_\text{blue} = 450 \, \text{nm}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon energy:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{ph} = \frac{hc}{\lambda} = \frac{6.626 \times 10^{-34} \cdot 3.0 \times 10^8}{450 \times 10^{-9}} \approx 4.42 \times 10^{-19} \, \text{J}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Photon emission rate:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{emit} = \frac{P_\text{blue}}{E_\text{ph}} = \frac{1 \times 10^{-6}}{4.42 \times 10^{-19}} \approx 2.26 \times 10^{12} \, \text{photons/s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Emission duration: &amp;lt;math&amp;gt;\Delta t = 50 \, \text{ms} = 0.05 \, \text{s}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Distance between LEDs: &amp;lt;math&amp;gt;d = 0.1 \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Red LED pn-junction radius: &amp;lt;math&amp;gt;r = 17 \, \mu\text{m} = 1.7 \times 10^{-5} \, \text{m}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Entrance area of the pn-junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \pi r^2 = \pi (1.7 \times 10^{-5})^2 \approx 9.08 \times 10^{-10} \, \text{m}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Solid angle covered by receiving junction:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Omega = \frac{A}{d^2} = \frac{9.08 \times 10^{-10}}{(0.1)^2} = 9.08 \times 10^{-8} \, \text{sr}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fraction of photons geometrically intercepted:  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
f = \frac{\Omega}{4\pi} = \frac{9.08 \times 10^{-8}}{4\pi} \approx 7.23 \times 10^{-9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
* Shell transmission rate at 450 nm (approximate): &amp;lt;math&amp;gt;T_\text{shell} = 0.2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Number of detected photo-pulses: &amp;lt;math&amp;gt;N_\text{detected} = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Photons Reaching the pn-Junction in 50 ms:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
N_\text{incident} = N_\text{emit} \cdot \Delta t \cdot f \cdot T_\text{shell} = 2.26 \times 10^{12} \cdot 0.05 \cdot 7.23 \times 10^{-9} \cdot 0.2 \approx 1.63 \times 10^3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\eta = \frac{N_\text{detected}}{N_\text{incident}} = \frac{4}{1.63 \times 10^3} \approx 2.45 \times 10^{-3} = 0.245\%&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Conclusion:&#039;&#039;&#039; Using a realistic pn-junction area and accounting for geometric and spectral filtering factors, the estimated quantum efficiency of the red LED functioning as a photon detector is approximately &#039;&#039;&#039;0.245%&#039;&#039;&#039;. This aligns with expectations given that LEDs are not optimized for photodetection, especially under off-band excitation (blue light in a red LED).&lt;br /&gt;
&lt;br /&gt;
=== Code Listings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Arduino code.png|600px|thumb|center|Arduino code]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code1.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Code2.png|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Code2.png&amp;diff=1366</id>
		<title>File:Code2.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Code2.png&amp;diff=1366"/>
		<updated>2025-04-25T05:15:26Z</updated>

		<summary type="html">&lt;p&gt;Runzhi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Runzhi</name></author>
	</entry>
</feed>