Optical Sensor for Noise Flickering

From PC5271 wiki
Revision as of 14:45, 17 April 2024 by Whitney (talk | contribs) (→‎Other Light Source(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Group Members

Eric Cheung Jun Hao; Lee An Min, Amanda; Loh Jia Ying Whitney

Introduction and Background

Flicker is the repeated and frequent variation in the output of light source over time. All light sources flicker but vary depending on several variables [1].

There are 4 features that have serious impact on the viewer [1]:

(1) Frequency

(2) Amplitude

(3) Wave form

(4) Light Intensity

Flicker can have adverse effects that impact users as summarised by Wilkins in Table 1 [2]. As such, it is important to be able to detect frequencies when LED or sources of light fall within this range that can severely affect human functions, especially with technological developments and the use of such technology.


Table 1: Flicker and its Biological Effects [2]

Objective

The objective of this project is to characterise a given photodiode and to successfully determine the frequency of an unknown flickering light source.

Figure 1: Potential Divider Circuit


With a simple potential divider, consisting a resistor and a photodiode in series, the resistance and hence sensitivity of the photodiode can be determined. The photodiode resistance is a function of light exposure, more specifically it is inversely proportional to light intensity. By exposing the photodiode to visual noise tags, such as the flickering of LEDs, the resistance across the photodiode is expected to decrease and hence, a larger potential difference can be measured across the resistor. The output can be observed on an oscilloscope to determine the performance of the photodiode.

Set-Up

Equipment Needed

Table 2: List of Equipment Needed
S/N Item Description/Model No.
1 Soldering Iron -
2 Soldering Tin -
3 Wires -
4 Resistors 10k, 100k, 1M
5 Photodiode Hamamatsu S5972
6 DC Power Supply Matrix MPS-3005L-3
7 Signal Generator Agilent 33220A
8 2GHz Digital Oscilloscope LeCroy WaveRunner 203MXi-A


Table 3: Colour, Wavelength, and Size of LEDs
LED S/N Colour Wavelength (nm) Size (mm)
1 Red 643 5
2 Amber 605 5
3 Green 570 5
4 Blue 450-495 5

Experimental Set-up

Characterization of the photodiode is done with three 5 mm LEDs: (i) red, 643nm; (ii) green, 570nm; and (iii) blue, 450nm to 495nm. It can be noted that the photodiode sensitivity increases with increasing wavelength of LED used.

The photodiode used in this experiment is the Hamamatsu S5972 Si PIN photodiode. According to its datasheet, it has a spectral response range between 320nm and 1000nm, with a peak sensitivity at 800nm, near-infrared radiation. The cutoff frequency is 0.5GHz at a reverse bias of 10V. The terminal capacitance at a reverse bias of 2V is close to 3pF.


Figure 2: Experimental set-up (a) wide view, and (b) close-up view


A signal generator is used to pulse the LEDs to create a flickering light source. A square wave with a peak-to-peak voltage of 2V is used across all the measurements taken. A DC power supply is used to supply 3V across the photodiode.

The performance of the photodiode will be determined by varying the following parameters: (i) wavelength of LED; (ii) external resistor in circuit; and (iii) frequency of LED blinking (1Hz - 100kHz).

The dependent variable that will be measured is the voltage reading across the external resistor.

This will allow us to determine the response of the photodiode and its efficiency (rise time) of photodiode at different wavelengths.

Timeline and Milestone

Table 4: Timeline and Goals to Achieve
Week Dates Tasks
Week 7 4 - 8 Mar Collecting equipment and prelimary set-up
Week 8 11 - 15 Mar Complete circuit set-up and prelimary measurements
Week 9 18 - 22 Mar Data collection (vary LEDs)
Week 10 25 - 29 Mar [Well-being day (28 Mar), Good Friday (29 Mar)] Data collection (vary resistance)
Week 11 1 - 5 Apr Data Analysis and further measurements (if needed)
Week 12 8 - 12 Apr [Hari Raya (10 Apr)] Data Analysis and explore other light sources (phone/computer screens)
Week 13 15 - 19 Apr Analyse experimental results and complete documentation

Results

Varying External Resistance

Relationship between resistance and cut-off frequency

It can be concluded that as external resistance increases, the cutoff frequency decreases. Decreasing the external resistance by one order of magnitude will increase the cut-off frequency by an order of magnitude. Hence, lower resistance needs to be used in order to measure at higher frequencies.

Comparing the results for red LED,

Table 5: Cutoff frequency of red LED for different resistance values
Resistance (Ω) Cutoff Frequency (kHz) Reasoning
10k 100 Graphically, the voltage across the external resistor can reach and maintain at a steady-state value when f=10kHz but not at 100kHz. Based on a rise time of approximately 0.01ms, the cutoff frequency can be estimated to be close to 100kHz.
100k 33 Graphically, the voltage across the external resistor can reach and maintain at a steady-state value when f=10kHz but not at 100kHz. Based on a rise time of approximately 0.03ms, the cutoff frequency can be estimated to be close to 33kHz.
1M 6 Graphically, the voltage across the external resistor can reach and maintain at a steady-state value when f=1kHz but not at 10kHz. Based on a rise time of approximately 0.16ms, the cutoff frequency can be estimated to be close to 6kHz.

Figure 3: Signal obtained for red LED with different resistance values


Repeating the same analysis for the blue LED,

Table 6: Cutoff frequency of blue LED for different resistance values
Resistance (Ω) Cutoff Frequency (kHz) Reasoning
10k 500 Graphically, the voltage across the external resistor can reach and maintain at a steady-state value when f=10kHz but not at 100kHz. Based on a rise time of approximately 0.002ms, the cutoff frequency can be estimated to be 500kHz.
100k 14 Graphically, the voltage across the external resistor can reach and maintain at a steady-state value when f=10kHz but not at 100kHz. Based on a rise time of approximately 0.07ms, the cutoff frequency can be estimated to be 14kHz.
1M 6 Graphically, the voltage across the external resistor can reach and maintain at a steady-state value when f=1kHz but not at 10kHz. Based on a rise time of approximately 0.18ms, the cutoff frequency can be estimated to be close to 6kHz.

Figure 4: Signal obtained for blue LED with different resistance values


Narrowing down to the specific frequency of 1kHz for blue LED for a clearer illustration, it can be shown that with decreasing external resistance, time constant decreases which replicates the signal sent into the LED (square wave). However, a lower resistance will entail lower signal-to-noise ratio. At the lower resistance of 10kΩ, the signal captured resembles a square wave while the higher resistance of 1MΩ shows that there is an evident decay in the rise and fall of the captured signal. Furthermore, the graphs also illustrate that the background noise is more prominent at lower resistance as the steady-state value across the lower resistance is smaller.

Figure 5: Comparison of signal obtained for blue LED at fixed frequency of 1kHz for different resistance values, illustrating that time constant decreases with decreasing resistance


For completeness of our discussion, the plots obtained from the measurements of the green LED is shown below. However, due to the low steady-state value of the voltage across the resistor, the rise time of the photodiode cannot be clearly determined.

Figure 6: Signal obtained for green LED with different resistance values

Varying Wavelength

From our experimental results, the photodiode has a faster response at longer wavelengths.

Table 7: Response time of photodiode based on wavelength
LED Wavelength (nm) Resistance (Ω) Rise Time (ms) Remarks
Red 643 10k 0.01
100k 0.03
1M 0.16
Green 570 10k, 100k, 1M N.A. Low signal-to-noise ratio
Blue 450-495 10k 0.002
100k 0.07
1M 0.18

Out of the three LEDs used, the signal-to-noise ratio of the green LED is the lowest. Powering the three LEDs reveals that with the same voltage supplied, the green LED is the dimmest. Thus, the intensity of incident green light on the photodiode is significantly lower. The signal captured by the photodiode is lower and hence, the decrease in resistance of the photodiode is smaller. As a result, the voltage across the external resistor in the circuit of a fixed resistance is lower. Because of this, the change in voltage reading (in the switching of the LED) on the oscilloscope is closer to background noise. Thus, signal-to-noise ratio is lower.


Figure 7: Comparison of light intensity of different coloured LEDs


Considering LEDs flickering at 100Hz, the following steady-state values for voltage across the external resistor were obtained.

For the Red LED,

Table 8: Steady-state voltage values for red LED
Resistance (Ω) Steady State Value (V)
10k 0.03
100k 0.40
1M 2.16

For the Blue LED,

Table 9: Steady-state voltage values for blue LED
Resistance (Ω) Steady State Value (V)
10k 0.05
100k 0.47
1M 2.44

The steady-state value is dependent on the photosensitivity at different wavelengths and the brightness of the LED.

Other Light Source(s)

The photodiode is used to characterise the flickering of a computer screen. For this, we choose the 100kΩ resistor that gave us a sufficient characteristics and designed a compact circuit.


Figure 8: Electronic configuration of photodiode on PCB


Using the photodiode, we can determine that the Red LED was flickering at 1kHz, while the refresh rate of the computer screen was approximately 50kHz.

Figure 9: Signal of light sources: red LED, laptop white screen, and laptop black screen

Lab Log

References

[1] NVC Lighting UK, Technical Support - What is Flicker in Relation to Lighting? https://www.nvcuk.com/technical-support/view/what-is-flicker-in-relation-to-lighting-2

[2] A. Wilkins, J. Veitch & B. Lehman. “LED lighting flicker and potential health concerns: IEEE standard PAR1789 update, “Energy Conversion Congress and Exposition, Atlanta Georgia, pp. 171-178, 2010