Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

71%
+3 −0
Q&A Photodiode transimpedance amplifier with single supply

I have a photodiode and I want to connect it to an ADC to read the ambient light. For the context, non linearity is not an issue as I'm interested in knowing the amount of light in 3-4 levels. The...

1 answer  ·  posted 1mo ago by DeadMouse‭  ·  last activity 7d ago by Olin Lathrop‭

#4: Post edited by user avatar Nick Alexeev‭ · 2024-11-24T01:29:22Z (about 1 month ago)
#3: Post edited by user avatar DeadMouse‭ · 2024-11-23T10:19:28Z (about 1 month ago)
  • I have a photodiode and I want to connect it to an ADC to read the ambient light.
  • For the context, non linearity is not an issue as I'm interested in knowing the amount of light in 3-4 levels. The sensor itself pays a huge role on it anyway.
  • I don't have a part number of any details about the photodiode but I have a few questions about the circuits in those kind of applications.
  • The most common circuit I see on the internet is this one:
  • ![Image_alt_text](https://electrical.codidact.com/uploads/566uh2sopng2a3llqcipixqtk21s)
  • I have a few questions regarding its operation:
  • Let's assume the op amp operates with a single supply voltage VCC = 3.3V
  • In order for the circuit to work properly we will need an op amp where its inputs can operate close to its power rails (GND - VCC). Is this correct?
  • I assume this is because current (Ip) is flowing from cathode to anothe and inverted (V-) input of the op amp momentarily goes below non-inverted (V+) input, ground in that case, and the op amp tries to null out the difference by increasing the Vout voltage.
  • However that would make the voltage across the diode (as its shown in the circuit) positive with a reverse biased polarity (cathode positive). So, how does that work?
  • In addition to this I also saw the circuit below:
  • ![Image_alt_text](https://electrical.codidact.com/uploads/e66p3rw95ofpoq9fgobm3gt1r0du)
  • source: [eeweb](https://www.eeweb.com/stabilize-your-transimpedance-amplifier/)
  • In the second circuit I don't understand why the bias (R1, R2) at non-inverted input (V+) is actually needed.
  • The only case I could think of where this circuit would be a better fit is where the op-amp can not operate its inputs close to the power rails (GND - VCC) so we bring both of them at VCC/2. Is this correct?
  • Or is it just something that is used to zero out the leakage current (dark current) when no light is applied in the diode?
  • I have a photodiode and I want to connect it to an ADC to read the ambient light.
  • For the context, non linearity is not an issue as I'm interested in knowing the amount of light in 3-4 levels. The sensor itself pays a huge role on it anyway.
  • I don't have a part number of any details about the photodiode but I have a few questions about the circuits in those kind of applications.
  • The most common circuit I see on the internet is this one:
  • ![Image_alt_text](https://electrical.codidact.com/uploads/566uh2sopng2a3llqcipixqtk21s)
  • I have a few questions regarding its operation:
  • Let's assume the op amp operates with a single supply voltage VCC = 3.3V
  • In order for the circuit to work properly we will need an op amp where its inputs can operate close to its power rails (GND - VCC). Is this correct?
  • I assume this is because current (Ip) is flowing from cathode to anothe and inverted (V-) input of the op amp momentarily goes below non-inverted (V+) input, ground in that case, and the op amp tries to null out the difference by increasing the Vout voltage.
  • However that would make the voltage across the diode (as its shown in the circuit) positive with a reverse biased polarity (cathode positive). So, how does that work?
  • In addition to this I also saw the circuit below:
  • ![Image_alt_text](https://electrical.codidact.com/uploads/e66p3rw95ofpoq9fgobm3gt1r0du)
  • source: [eeweb](https://www.eeweb.com/stabilize-your-transimpedance-amplifier/)
  • In the second circuit I don't understand why the bias (R1, R2) at non-inverted input (V+) is actually needed.
  • The only case I could think of where this circuit would be a better fit is where the op-amp can not operate its inputs close to the power rails (GND - VCC) so we bring both of them at VCC/2. Is this correct?
  • Or is it just something that is used to zero out the leakage current (dark current) when no light is applied in the diode?
  • I have also seen some other circuits where they reverse bias the photodiode (negative supply on its anode).
  • Where to my understanding is that it has the same effect as the second circuit (bias on V+ using a divider). Is this correct?
#2: Post edited by user avatar DeadMouse‭ · 2024-11-23T10:04:06Z (about 1 month ago)
  • I have a photodiode and I want to connect it to an ADC to read the ambient light.
  • For the context, non linearity is not an issue as I'm interested in knowing the amount of light in 3-4 levels. The sensor itself pays a huge role on it anyway.
  • I don't have a part number of any details about the photodiode but I have a few questions about the circuits in those kind of applications.
  • The most common circuit I see on the internet is this one:
  • ![Image_alt_text](https://electrical.codidact.com/uploads/566uh2sopng2a3llqcipixqtk21s)
  • I have a few questions regarding its operation:
  • Let's assume the op amp operates with a single supply voltage VCC = 3.3V
  • In order for the circuit to work properly we will need an op amp where its inputs can operate close to its power rails (GND - VCC). Is this correct?
  • I assume this is because current (Ip) is flowing from cathode to anothe and inverted (V-) input of the op amp momentarily goes below non-inverted (V+) input, ground in that case, and the op amp tries to null out the difference by increasing the Vout voltage.
  • However that would make the voltage across the diode (as its shown in the circuit) positive with a reverse biased polarity (cathode positive). So, how does that work?
  • In addition to this I also saw the circuit below:
  • ![Image_alt_text](https://electrical.codidact.com/uploads/e66p3rw95ofpoq9fgobm3gt1r0du)
  • source: [eeweb](https://www.eeweb.com/stabilize-your-transimpedance-amplifier/)
  • In the second circuit I don't understand why the bias (R1, R2) at non-inverted input (V+) is actually needed.
  • The only case I could think of where this circuit would be a better fit is where the op-amp can not operate its inputs close to the power rails (GND - VCC) so we bring both of them at VCC/2. Is this correct?
  • Or is it just something that is used to zero out the leakage current when no light is applied in the diode?
  • I have a photodiode and I want to connect it to an ADC to read the ambient light.
  • For the context, non linearity is not an issue as I'm interested in knowing the amount of light in 3-4 levels. The sensor itself pays a huge role on it anyway.
  • I don't have a part number of any details about the photodiode but I have a few questions about the circuits in those kind of applications.
  • The most common circuit I see on the internet is this one:
  • ![Image_alt_text](https://electrical.codidact.com/uploads/566uh2sopng2a3llqcipixqtk21s)
  • I have a few questions regarding its operation:
  • Let's assume the op amp operates with a single supply voltage VCC = 3.3V
  • In order for the circuit to work properly we will need an op amp where its inputs can operate close to its power rails (GND - VCC). Is this correct?
  • I assume this is because current (Ip) is flowing from cathode to anothe and inverted (V-) input of the op amp momentarily goes below non-inverted (V+) input, ground in that case, and the op amp tries to null out the difference by increasing the Vout voltage.
  • However that would make the voltage across the diode (as its shown in the circuit) positive with a reverse biased polarity (cathode positive). So, how does that work?
  • In addition to this I also saw the circuit below:
  • ![Image_alt_text](https://electrical.codidact.com/uploads/e66p3rw95ofpoq9fgobm3gt1r0du)
  • source: [eeweb](https://www.eeweb.com/stabilize-your-transimpedance-amplifier/)
  • In the second circuit I don't understand why the bias (R1, R2) at non-inverted input (V+) is actually needed.
  • The only case I could think of where this circuit would be a better fit is where the op-amp can not operate its inputs close to the power rails (GND - VCC) so we bring both of them at VCC/2. Is this correct?
  • Or is it just something that is used to zero out the leakage current (dark current) when no light is applied in the diode?
#1: Initial revision by user avatar DeadMouse‭ · 2024-11-23T09:59:41Z (about 1 month ago)
Photodiode transimpedance amplifier with single supply
I have a photodiode and I want to connect it to an ADC to read the ambient light.  
For the context, non linearity is not an issue as I'm interested in knowing the amount of light in 3-4 levels. The sensor itself pays a huge role on it anyway.    
I don't have a part number of any details about the photodiode but I have a few questions about the circuits in those kind of applications.  



The most common circuit I see on the internet is this one:  
![Image_alt_text](https://electrical.codidact.com/uploads/566uh2sopng2a3llqcipixqtk21s)

  
I have a few questions regarding its operation:  
Let's assume the op amp operates with a single supply voltage VCC = 3.3V  

In order for the circuit to work properly we will need an op amp where its inputs can operate close to its power rails (GND - VCC). Is this correct?  
I  assume this is because current (Ip) is flowing from cathode to anothe and inverted (V-) input of the op amp momentarily goes below non-inverted (V+) input, ground in that case, and the op amp tries to null out the difference by increasing the Vout voltage.  
However that would make the voltage across the diode (as its shown in the circuit) positive with a reverse biased polarity (cathode positive). So, how does that work?

In addition to this I also saw the circuit below:  
![Image_alt_text](https://electrical.codidact.com/uploads/e66p3rw95ofpoq9fgobm3gt1r0du)  

source: [eeweb](https://www.eeweb.com/stabilize-your-transimpedance-amplifier/)  

In the second circuit I don't understand why the bias (R1, R2) at non-inverted input (V+) is actually needed. 
 
The only case I could think of where this circuit would be a better fit is where the op-amp can not operate its inputs close to the power rails (GND - VCC) so we bring both of them at VCC/2. Is this correct?  
Or is it just something that is used to zero out the leakage current when no light is applied in the diode?