Author Topic: Photodiode circuit design  (Read 2977 times)

0 Members and 1 Guest are viewing this topic.

Offline stcosoTopic starter

  • Regular Contributor
  • *
  • Posts: 107
  • Country: it
Photodiode circuit design
« on: March 29, 2019, 11:37:46 am »
Hi.. I'm trying to design a little photodiode amplifier with some parts that i have at hand... i attached some schematic.
 I have a problem  :-// ... the amplifier works opposite as i would expect  :o ... Basically the output voltage goes down when i shine some light on it. :wtf:


I'm using a BPV10 pin photodiode and a ada4857 op amp.



Thank you in advance.
 

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 2850
  • Country: se
  • Country: Broken Britain
Re: Photodiode circuit design
« Reply #1 on: March 29, 2019, 11:53:48 am »
PD is in the Power Down direction.
.  That took much longer than I thought it would.
 
The following users thanked this post: stcoso

Offline stcosoTopic starter

  • Regular Contributor
  • *
  • Posts: 107
  • Country: it
Re: Photodiode circuit design
« Reply #2 on: March 29, 2019, 11:56:36 am »
Oh f**k :palm: :palm: :palm: :palm: :palm:
 

Online janoc

  • Super Contributor
  • ***
  • Posts: 3873
  • Country: de
Re: Photodiode circuit design
« Reply #3 on: March 29, 2019, 02:53:36 pm »
Hi.. I'm trying to design a little photodiode amplifier with some parts that i have at hand... i attached some schematic.
 I have a problem  :-// ... the amplifier works opposite as i would expect  :o ... Basically the output voltage goes down when i shine some light on it. :wtf:

Um, and what exactly are you expecting to happen?

The photodiode will generate current into the inverting input of the amplifier (making it "positive"), so the opamp will use its output to bring that node through the feedback resistor back to matching the non-inverting input (the inverting input behaves as a virtual ground here). The output voltage will go down because that's what is needed to compensate the photodiode current out.


 

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 3325
  • Country: gb
Re: Photodiode circuit design
« Reply #4 on: March 29, 2019, 03:30:07 pm »
Hi.. I'm trying to design a little photodiode amplifier with some parts that i have at hand... i attached some schematic.
 I have a problem  :-// ... the amplifier works opposite as i would expect  :o ... Basically the output voltage goes down when i shine some light on it. :wtf:

Um, and what exactly are you expecting to happen?

The photodiode will generate current into the inverting input of the amplifier (making it "positive"), so the opamp will use its output to bring that node through the feedback resistor back to matching the non-inverting input (the inverting input behaves as a virtual ground here). The output voltage will go down because that's what is needed to compensate the photodiode current out.


The photodiode in the schematic is reverse biased (since the non-inverting input is biased at +5v) and operates in photoconductive mode.  More light will cause the diode to sink more current, and the output voltage of the op-amp will increase to keep the inverting input at the same voltage as the non-inverting.

As StillTrying mentioned, the power down pin is connected to the wrong rail.
 

Online janoc

  • Super Contributor
  • ***
  • Posts: 3873
  • Country: de
Re: Photodiode circuit design
« Reply #5 on: March 29, 2019, 09:14:13 pm »
As StillTrying mentioned, the power down pin is connected to the wrong rail.

That would mean the opamp is powered down - I somehow don't expect a powered down opamp to keep working as an actual opamp. The datasheet only mentions the output not being in high impedance mode.

You are right about the photodiode - I have missed the reverse biasing because what he has there is a normal current-to-voltage converter configuration (transimpedance amplifier). But in that case the diode should have been reversed and cathode connected not to ground but to +5V (middle of that voltage divider) in order to not have external bias on it.
 

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 2850
  • Country: se
  • Country: Broken Britain
Re: Photodiode circuit design
« Reply #6 on: March 30, 2019, 12:01:24 pm »
I somehow don't expect a powered down opamp to keep working as an actual opamp.

It's not! It's allowing the photo current to pull down the voltage at -IN and (FB,OUT). When powered the (FB,OUT) voltage will Rise to cancel the photo current's pull down of -IN.
.  That took much longer than I thought it would.
 

Offline stcosoTopic starter

  • Regular Contributor
  • *
  • Posts: 107
  • Country: it
Re: Photodiode circuit design
« Reply #7 on: March 30, 2019, 05:15:33 pm »
Ok, so.. i've attached a new schematic. I've added a second stage (same op amp) and while it works ok (40ns rise time) I'm still not happy enough  ;D.

Do you guys think i can go a little bit faster with this same components?
 

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 2850
  • Country: se
  • Country: Broken Britain
Re: Photodiode circuit design
« Reply #8 on: March 30, 2019, 06:28:09 pm »
40ns is good. What are you using for the light source?
The fastest 5mm LED received light rise and falls times I've got is 70 - 75ns.
https://www.eevblog.com/forum/chat/20w-halogen-bulb-viewed-by-a-photodiode/msg1751210/#msg1751210
.  That took much longer than I thought it would.
 

Offline stcosoTopic starter

  • Regular Contributor
  • *
  • Posts: 107
  • Country: it
Re: Photodiode circuit design
« Reply #9 on: March 30, 2019, 06:59:16 pm »
I'm using a 5mm red LED driven by a signal generator for testing.
 

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 2850
  • Country: se
  • Country: Broken Britain
Re: Photodiode circuit design
« Reply #10 on: March 30, 2019, 07:40:00 pm »
I've found the light shape from reds to be slower and curved, and super bright green and blue the fastest and squarest.
I won't be trying to get the fastest speeds out of the green and blues because I've got a 100W white COB waiting for >>100W testing!
« Last Edit: March 30, 2019, 07:44:17 pm by StillTrying »
.  That took much longer than I thought it would.
 

Offline jlmoon

  • Supporter
  • ****
  • Posts: 609
  • Country: us
  • If you fail the first time, keep trying!
Re: Photodiode circuit design
« Reply #11 on: March 30, 2019, 07:55:52 pm »
Just a curious question, how come you're setting the gain on 2nd op amp to 6.8?  Wouldn't it be ok to set that to unity or 1?  Using the 2nd amp as a follower or buffer only?

Recharged Volt-Nut
 

Offline stcosoTopic starter

  • Regular Contributor
  • *
  • Posts: 107
  • Country: it
Re: Photodiode circuit design
« Reply #12 on: March 31, 2019, 12:23:00 am »
I've found the light shape from reds to be slower and curved, and super bright green and blue the fastest and squarest.
I won't be trying to get the fastest speeds out of the green and blues because I've got a 100W white COB waiting for >>100W testing!

I've tried also with some green led and found them slower. I used an IR led and it was the fastest.
I'm trying to build this little probe because i need it to measure a UV source (20W 365nm) that i've already built and rise/fall time are really important.

I suppose :D white LED are really bad (microseconds?) at turning on/off because of phosphorescence (turn off especially).
 

Offline stcosoTopic starter

  • Regular Contributor
  • *
  • Posts: 107
  • Country: it
Re: Photodiode circuit design
« Reply #13 on: March 31, 2019, 12:35:56 am »
Just a curious question, how come you're setting the gain on 2nd op amp to 6.8?  Wouldn't it be ok to set that to unity or 1?  Using the 2nd amp as a follower or buffer only?


Short and thruthful answer: basically i don't know what i'm doing :-DD ... but, as i (maybe wrongfully :D) understood to achieve higher bandwidth without compromising stability and noise i needed lower gain in the first stage.


 

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 2850
  • Country: se
  • Country: Broken Britain
Re: Photodiode circuit design
« Reply #14 on: March 31, 2019, 01:13:38 am »
"white LED are really bad (microseconds?) at turning on/off because of phosphorescence (turn off especially)."

As long as they're not warm white, white LEDs are faster than that ~160ns.
The last 2 pics in my link above reply#8 are RedGreenWhite5mm.gif and UV+Blue LED.gif  The UV edges are fast.

"Short and thruthful answer: basically i don't know what i'm doing"

Join the club!
« Last Edit: March 31, 2019, 01:15:43 am by StillTrying »
.  That took much longer than I thought it would.
 

Offline jlmoon

  • Supporter
  • ****
  • Posts: 609
  • Country: us
  • If you fail the first time, keep trying!
Re: Photodiode circuit design
« Reply #15 on: March 31, 2019, 04:34:41 am »
 :-+ Join our club! 
Recharged Volt-Nut
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19933
  • Country: gb
  • 0999
Re: Photodiode circuit design
« Reply #16 on: March 31, 2019, 08:40:15 am »
I've found the light shape from reds to be slower and curved, and super bright green and blue the fastest and squarest.
I won't be trying to get the fastest speeds out of the green and blues because I've got a 100W white COB waiting for >>100W testing!

I've tried also with some green led and found them slower. I used an IR led and it was the fastest.
I'm trying to build this little probe because i need it to measure a UV source (20W 365nm) that i've already built and rise/fall time are really important.

I suppose :D white LED are really bad (microseconds?) at turning on/off because of phosphorescence (turn off especially).
I've tested a variety of LEDs and had mixed results.

White is interesting. The initial turn off is very fast. There is some afterglow, but it's very weak, several orders of magnitude dimmer than when driven at the rated current, so it's not a problem, Even the warm white Cree CMA3090 I tested was fast enough for use in a 1µs strobe application.



Some phosphor converted LEDs are slow. The amber one I tested was extremely slow. I can't remember the exact part number. It was a Lumiled/LUXEON brand.
https://www.lumileds.com/uploads/161/DS58-pdf
https://www.luxeonstar.com/assets/downloads/ds62.pdf

How bright is the source shining on the photodiode? If it's bright, you need a large revere bias voltage to prevent saturation, as well as speed it up. At very high intensities, no amplification is required. As you can see from the above schematic, I connected the photodiode directly to the 50Ohm input of an oscilloscope and applied a bias voltage to it.
 

Offline stcosoTopic starter

  • Regular Contributor
  • *
  • Posts: 107
  • Country: it
Re: Photodiode circuit design
« Reply #17 on: March 31, 2019, 09:28:07 am »
My source is 6/7W of radiated power over a 25cm^2 area but it's 365nm. BPV10 sensitivity at that wavelength is about one tenth of the sensitivity at 900nm. So I decided to dick around with op-amps  :D



 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19933
  • Country: gb
  • 0999
Re: Photodiode circuit design
« Reply #18 on: March 31, 2019, 09:47:00 am »
My source is 6/7W of radiated power over a 25cm^2 area but it's 365nm. BPV10 sensitivity at that wavelength is about one tenth of the sensitivity at 900nm. So I decided to dick around with op-amps  :D
That's quite intense, don't look at the beam and consider UV googles.

Yes the sensitivity of photodiodes declines fairly linearly past the their peak response. One reason is because past the a peak sensitivity the current is proportional to the number of photons per second and UV photons have much more energy, than IR photons, so the current vs radiant power is much less. Another is not all photons hitting the photodiode result in current flow, some ware absorbed and reflected,  which also gets worst, with increasing energy.

At high intensities photodiodes start to saturate. An increase in intensity no longer causes the current to increase and there's a storage time i.e. a delay in it turning off, after the light source is removed.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf