Using a photodiode in near darkness

  • Thread starter Artlav
  • Start date
  • Tags
    Photodiode
In summary: It seems like you are oscillating with the input current, would adjusting the feedback resistor (or the photo diode itself) solve the problem?In summary, the AD820 Data Sheet recommends a +3 V to +36 V range for a single supply, and adding an amplifier after the photo diode does not improve the situation. Adding more resistors does not work either. There might be a parasitic problem with the circuit that you are not aware of. The oscillations are likely caused by the long lead from the detector to the amplifier. The capacitance of the photo diode is not specified, so you might try measuring it. The frequency response of the circuit is too low, and adjusting the feedback resistor
  • #36
@artlav
There has to be a resistive path through any device. It is made of real material and definitely not an insulator so pure logic tells you that its resistance is bound to be less than the maximum obtainable in a purpose built 1GΩ resistor. At the very most, it would be limited by the resistivity of the package of the IC but, more likely, by the resistivity of undoped silicon (?).
 
Engineering news on Phys.org
  • #37
Artlav said:
Ok, would mounting a metal plate below the board do it, or there is something more delicate at work?
I can just cover the bottom of the board with tin foil, and route all the ground things to it, is that a proper solution?

In other news - I've grounded the stepper's casing across a 0.1uF capacitor, and the noise roughly halved.
It should also be noted that the noise is less with the caret away from the motor, and more up close.

First of all Sophiecentaur Asked a valid question about the op-amp, way at the beginning, I asked you to look at the other post and use the op-amp the other poster chose. I assumed you followed that. What is the op-amp you are using? You need to get low bias current of 2pA or less or else you are not going to get accurate result. Right now, you are drowned by the noise and you're not going to see the problem, when you fix the noise problem, this is going to show up.Regarding to ground plane, you connect to the signal ground. Sooner or later, you are going to have to have one with ground plane. This is very standard practice. Designing the circuit is the easy part, grounding is where the meet is, this is the hard part of engineering.

If you really don't want to redo the board( which is easy), get a small metal box and put the whole board in. Connect the board ground to the box. When you have the shield cable from the PD going into the box, make sure you ground the shield to the box. Make sure you isolate the other side of the shield(at the PD end) NOT touching any metal conductors. You don't want to connect grounds from other part of the assembly as you might create ground loop. At the output of the box, make the battery ground and the output signal ground the same. Put a toroid on this output wires. With this, you only have one ground connection...from the battery and output side.

Grounding is very important, designing circuits are the easy part. Grounding is where you earn your keep! If you know how to do grounding, circuits from cook books and textbooks usually work! People complained about following the circuits from the books and it did not work...mostly are how they build the circuits...grounding! Op-amp circuits in books and application notes work...If you can keep it from oscillating and keep the noise out. We talk about all sort of designs here, but when the rubber hits the road, it's the grounding!

Don't think "ground", think of this is the return path of the signal and you respect the ground just like you respect the signal. Yes, I am making a big sting about this because I spend my career pretty much specialized in grounding and noise design. All the electronics knowledge are just matter of fact, you just handle it. The grounding is where the arts of electronics. You are dealing with low frequency stuff, as frequency goes up, circuit layout ( grounding), pcb design( grounding) become 40% of the design. If I have to convey the first and most important thing from my 30 years of design experience.....RESPECT THE GROUND!

Remember I asked for the picture, The moment you talk noise, I want to see your ground!
 
Last edited:
  • #38
sophiecentaur said:
There has to be a resistive path through any device. It is made of real material and definitely not an insulator so pure logic tells you that its resistance is bound to be less than the maximum obtainable in a purpose built 1GΩ resistor. At the very most, it would be limited by the resistivity of the package of the IC but, more likely, by the resistivity of undoped silicon (?).
Makes sense, but I'm not sure what exactly to look for. Does the bias current define internal resistance in some way?

yungman said:
First of all Sophiecentaur Asked a valid question about the op-amp, way at the beginning, I asked you to look at the other post and use the op-amp the other poster chose. I assumed you followed that. What is the op-amp you are using? You need to get low bias current of 2pA or less or else you are not going to get accurate result.
I use AD820, spec says input bias current is 2pA typical.
I haven't noticed you suggesting using the same one he used.
If it's lt1012, then the spec says it have ten times more bias current.

yungman said:
Right now, you are drowned by the noise and you're not going to see the problem, when you fix the noise problem, this is going to show up.
What kind of noise would that be? Without the steppers i don't get any signs of noise.

yungman said:
If you really don't want to redo the board( which is easy)
Not really an issue of not wanting to redo it, but an issue of not wasting the effort for nothing - i want to know what causes what and how it should look like, then redo it properly and permanently.

And i kind of like the idea of making the board as small as possible, putting it into a grounded box with the PD sticking out of that, and mount the whole thing onto the caret without any extra wires. But for that i need to know that i won't need to fiddle with it later.

yungman said:
get a small metal box and put the whole board in. Connect the board ground to the box. When you have the shield cable from the PD going into the box, make sure you ground the shield to the box. Make sure you isolate the other side of the shield(at the PD end) NOT touching any metal conductors. You don't want to connect grounds from other part of the assembly as you might create ground loop. At the output of the box, make the battery ground and the output signal ground the same. Put a toroid on this output wires. With this, you only have one ground connection...from the battery and output side.
Ok, if i understood this right.
The toroid (choke?) separates the ground "domains", so that shielding on the outside is not interfering with the shielding on the amp? Don't really understand how this is working - what is noise?
We want to avoid different parts of the "ground" side of the circuit from having different potentials?

On the attempt:
I've wrapped the amp into duct tape, then into foil, grounded the whole thing to the amp's ground and added a choke at the wires going from it to the battery.
I've also wrapped most of the wire into the foil, not letting it touch any metal parts.

That's what it looks like now:
http://orbides.1gb.ru/orbf/inside_120228.jpg

Apparently, i didn't understood it well, since now i get nonsense instead of noise.
Best described as a threshold - there is less noise, but there is either nothing or a swift climb into something if light is added. Before the "shielding" it was way more gradual.
I.e. it now responds to a very, very narrow range of currents from PD with the same output it had from a much wider range before.

What have i missed?
 
  • #39
Artlav said:
Makes sense, but I'm not sure what exactly to look for. Does the bias current define internal resistance in some way?

I use AD820, spec says input bias current is 2pA typical.
That's good enough.
I haven't noticed you suggesting using the same one he used.
If it's lt1012, then the spec says it have ten times more bias current.

What kind of noise would that be? Without the steppers i don't get any signs of noise.
Anything that is not supposed to be the desired signal is noise. Stepper motor controller, RF transmitter, florescent lights...anything.
Not really an issue of not wanting to redo it, but an issue of not wasting the effort for nothing - i want to know what causes what and how it should look like, then redo it properly and permanently.
It is my advice as a starting point. You want to start with a solid platform. I am sure you can make some ground connection and filtering and make it look better. But if you don't do the ground correctly, any accidental change in other area unrelated to the amp might cause the noise to come back. When I do this kind of design, I put in all the precaution at the beginning, I never have to spend time in fixing noise issue.
And i kind of like the idea of making the board as small as possible, putting it into a grounded box with the PD sticking out of that, and mount the whole thing onto the caret without any extra wires. But for that i need to know that i won't need to fiddle with it later.
There is never a guaranty on that, that's grounding for you. Read the long post I posted before, this is the hardest part. If I have my hands on the system, it would be 10 times easier. Just by looking at the picture is very hard.
Ok, if i understood this right.
The toroid (choke?) separates the ground "domains", so that shielding on the outside is not interfering with the shielding on the amp? Don't really understand how this is working - what is noise?
I am trying to isolate the amp and the diode. The only ground connection is from the battery and the output line. It is important that the PD and the shield of the input cable do not tough any of the metal in the system, that if you disconnect the connector of the battery input and the output line, you measure infinite resistance from the box to the rest of the system.
We want to avoid different parts of the "ground" side of the circuit from having different potentials?
Avoiding ground loop, I don't want any return current from other electronics go through the shield and the ground of the amp. I am trying to design the ground so there will be no other return path from other electronics. That's what cause the noise.

On the attempt:
I've wrapped the amp into duct tape, then into foil, grounded the whole thing to the amp's ground and added a choke at the wires going from it to the battery.
I've also wrapped most of the wire into the foil, not letting it touch any metal parts.

That's what it looks like now:
http://orbides.1gb.ru/orbf/inside_120228.jpg
If you make sure there is no contact to ground, it will do for now.
Apparently, i didn't understood it well, since now i get nonsense instead of noise.
Best described as a threshold - there is less noise, but there is either nothing or a swift climb into something if light is added. Before the "shielding" it was way more gradual.
I.e. it now responds to a very, very narrow range of currents from PD with the same output it had from a much wider range before.

What have i missed?

I really can't answer this as I don't know your circuit. Grounding really don't change your circuit, it only give you noise if you don't do it right.

Could it be your gain is too high so either it is 0 or rail? You get rid of the noise, make sure you have all the connections, make sure the +ve input of the opamp is grounded, no open circuit. Also are you sure you want to have single supply with Vee of the opamp grounded only? I always work with dual supply.

Grounding is very involved, you can write a book just on this. You can read books in Design with EMC. That's the problem with school, all books just put ground as a triangular symbol as if you put the signal there, it will magically go away.

If you build the stepper controller with non ground plane boards, you should redo it with ground plane as bad grounding will cause more emission. Put if power bypass cap like you said one cap on those circuit improve it, do it.
 
Last edited:
  • #40
yungman said:
When I do this kind of design, I put in all the precaution at the beginning, I never have to spend time in fixing noise issue.
Easy to do when you know what is at work...

yungman said:
I am trying to isolate the amp and the diode. The only ground connection is from the battery and the output line.
Devil in the details?
I have a hub where all the ground wires come together, and one wire go out to the battery. Is that normal, or should the ground wire from the amp go on a more direct route?

yungman said:
Avoiding ground loop, I don't want any return current from other electronics go through the shield and the ground of the amp. I am trying to design the ground so there will be no other return path from other electronics. That's what cause the noise.
One thing i want to clarify - i tried earlier to run the stepper from a separate power supply, and the noise remained mostly unchanged.
Is that a different kind of beast, or the same currents-going-around kind of thing?

yungman said:
Also are you sure you want to have single supply with Vee of the opamp grounded only? I always work with dual supply.
Can't answer that.
What would having dual supply give me?
Would i have to take care to avoid negative voltage going into the ADC?
If that is related, the spec on the amp claims "True Single Supply Operation".

yungman said:
Grounding is very involved, you can write a book just on this.
As a matter of fact, can you recommend any good books on the subject?

yungman said:
I really can't answer this as I don't know your circuit. Grounding really don't change your circuit, it only give you noise if you don't do it right.
Well, i traced it back to the "shielded" cable, apparently wrapping tin foil around it does something other than just shielding.

Now I'm trying to get the things done in a cleaner fashion.

Can you define exactly what a shielded cable for this kind of connection is?
Am i to look for a two-wire cable with a mesh around them?
Would there be any undesirably large capacitance from the shielded cable?

Then, i redid the board - put the pieces closer together to remove the extra wires, and put all the ground exits onto a piece of aluminium duct tape glued to the bottom.
Below: http://orbides.1gb.ru/orbf/bottom_120229.jpg
Above: http://orbides.1gb.ru/orbf/top_120229.jpg
Does that make sense, or should i settle for a simple metal box?
 
  • #41
I'll try to do a simple system ground drawing later on.

First I want you to try one experiment, before doing it, I want you to double check all the connection to make sure you have good solid connections and the circuit is working.

Then with stepper motor off, double check there is no noise at the output. Use a stick to touch and move the wrapped cable from the PD to amp. If there is a lot of noise just by moving the cable. You have a secondary problem. I want you to use a stick to make sure your fingers don't create a circuit path. This kind of problem is common as the shield vibrate and induce enough noise to the amp to disturb the reading.

The usual cable we use is RG59 coax cable and just use MHV connector to hook up to the amp. So the cathode just connect to the shield and the anode connect to the center connector.

Using a coax will cut a lot of the problem of noise due to the vibration of the shield. But there still can be a problem. If RG59 is not even good enough, I would strongly suggest you to consider putting the whole amp with the PD. Or else, rigid coax with solid tube as shield would be the next, or the coax with double shield. you don't want neither one.

Try that first. If it is a problem, this is a totally different issue. At the mean time, I'll try to draw the diagram.

I saw the new picture, the ground foil looks good. On the top view, I would suggest you to bend the pin 2 of the opamp up and solder the big resistor and the 100 ohm directly onto the pin. You put the connection onto the board, you can have leakage current that ruin your reading. You might not see it now, but when you clear up all the grounding and shielding problem, it might show it's ugly head. For 1G resistor, it is not go just solder onto the board. You see articles of ground guards that you are not doing. Bent pin 2 up, and solder the two resistor onto pin 2 up in the air.

One more question, Is the PD moving by the stepper motor during operation?
 
Last edited:
  • #42
Ok, i'll try it all over tomorrow (GMT+4 here).

yungman said:
This kind of problem is common as the shield vibrate and induce enough noise to the amp to disturb the reading.
Vibration disturbance as in physical vibration transferred to the amp, or vibration of the shield itself making electrical noise?

If the amp is sensitive to vibration then there would be other problems to consider, including for a case of putting it to the shaky place where the PD is.

yungman said:
One more question, Is the PD moving by the stepper motor during operation?
It does. All the motors do is moving the PD around.
Incidentally, there is more noise when the PD is closer to the motor.
 
  • #43
Artlav said:
Ok, i'll try it all over tomorrow (GMT+4 here).

Vibration disturbance as in physical vibration transferred to the amp, or vibration of the shield itself making electrical noise?
I believe it's the vibration of the shield itself making electrical noise.
If the amp is sensitive to vibration then there would be other problems to consider, including for a case of putting it to the shaky place where the PD is.
I don't think the amp care about the vibration, it's the shied.
It does. All the motors do is moving the PD around.
Incidentally, there is more noise when the PD is closer to the motor.

You really have to consider putting the opamp with the PD. Vibration is a big problem with these kind of amp that I never brought up so far. We had to have rigid coax to run from detector to the amplifier module because we had turbo pumps running and they vibrate less than stepper motor. This is going to be a big problem.

Before I was only suggesting about putting the amp with PD for lower induced noise, but you might have vibration problem.

Did you do the experiment with the stick? I bet you'll see noise if you touch it. It should be easy to replace the wires and foil with a coax to test if it is acceptable when motor is running. Cross your finger that it is ok. Make sure the shield and the PD is isolated from all the metal parts.

Remember about bending pin 2 up from the board. This is important as it will give you error sooner or later.

Yes, I delt with all these in my days working with transimpedance amp.
 
  • #44
This is a very simple grounding scheme, basically I want to make sure there is no ground current from other circuits going through the coax shield of the amp module. It is important the shield and the PD body is isolated from any metal of the carrier or else you form a grounding path.

150297[/ATTACH]"]
biq7g5.jpg


This is the most preferred way to power up the amp, through the ADC control board. if you cannot do that, a power cable with ferite toroid is absolutely necessary to break the RF ground loop.

The fact you said noise is still there even if the stepper motor is from a separate supply don't necessary mean a lot as, if you have a common ground and you are not careful on the return path, you can still have problem.
 

Attachments

  • biq7g5.jpg
    biq7g5.jpg
    16.6 KB · Views: 353
  • #45
Well, the cable idea have ultimately failed.
Haven't got around to test the touch-it-with-a-stick issue.
Any coaxial cable i can get is too inflexible for the use, and wrap-tin-foil-around solution is not worth a permanent presence.
And even in a static fixture with a coax cable i got quite some noise with motor working.

Eventually i decided to call it, and mounted the amp right where the PD is.
That have effectively eliminated 99% of detectable noise, leaving only some flicker just below the lower edge of the range, and a strip of slightly noticeable one when the caret is right on top of the motor.
Good enough for me.

The idea with soldering the big resistor and the op-amp pin above the board wasn't useless as well - i get somewhat more consistent reading now, and the sensitivity got perceptibly higher.

All in all, thank you for helping.


Some more questions:
I suppose that increasing sensitivity isn't going to go well above 2.2GΩ?
What is likely the limiting factor?

-The resistors are wire wrapped into a coil, which got some capacitance. At the moment the resistor i got seems to have enough capacitance to avoid the need of a separate capacitor in parallel.
The bigger ones are of the same build, so I'm likely going to run into unresolvable excess capacitance (=insufficient bandwidth) pretty soon.

-Other issue is thermal noise, which if i got the math right is at 10^-14A level with 2.2GΩ, and wouldn't catch me for some time yet.

-Any other considerations down there?

yungman said:
The fact you said noise is still there even if the stepper motor is from a separate supply don't necessary mean a lot as, if you have a common ground and you are not careful on the return path, you can still have problem.
Separate as in separate batteries, separate controller, separate laptop. No metallic link what-so-ever.
 
  • #46
That's very good news. We did everything to avoid vibration all the time, it just skip my mind to ask you at the beginning! Should have thought about it sooner to ask whether you are running the motor while taking data.

About resistor, we use Caddock:

http://caddock.com/Online_catalog/high_resistance/high_resistance.html

2.2G is nothing, we use 10G! Caddock is not wire wound and it does not have capacitance like you described.
In production form, you can use a stand-off place very close to pin 2 and solder things on it. Make sure you clean the flux good with de-flux multiple times. Flux residue is the killer because it form surface resistance and likely to be even lower resistance than your resistor.

Even in your setup, you should clean the area around pin 2 with de-fluxer a few times. Even the dirt between pin 2 to pin 1 and pin 2 is enough to ruin the day for you. It is very important now that you got rid of the original problem. You battle in not over yet. Now you are at the point of getting back to the circuit. Believe me, things will make sense.

But one thing, when you using high value resistor like this, settling time from vibration might still be a problem. I'm afraid that you might still see some error not in form or noise, but settle to the ultimate value.

Can you do an experiment after you get the right resistor? I want you to read the data continuously and then stop the motor. Then read the data after the motor stop and compare to the last read value when the motor is running and see whether there's a big difference. This might not be an accurate test as the value you read the moment before the motor stop might take a little bit of time to settle also, but it should be close. I guess you can make it more consistent by making the light for the detector constant throughout the experiment so the output should be static when the motor is running. If you compare to reading after the motor stop, then you can see the difference in reading between the motor running and motor stop.

This might not help you as there is not much more you can do unless you damp the vibration further. You just need to understand what you are getting into and what to expect.
 
Last edited:
  • #47
I forgot, if you go higher resistance, you might need a new amp. The bias current is 2pA, it will produce 4.4mV offset. The problem is when the temperature goes up, the leakage goes up a little also.
 
  • #48
I'm pretty certain there is no settling issues with the 2.2G - the edges are sharp and where they should be.
Might have some delay or offset, but if there is, it is constant.

However, with either 4.7G as one or 7G as two resistors there is already noticeable blurring as if it's not fast enough.
So, for the moment i'll stick with 2.2G - it's quite sensitive enough for outdoor scenes, and there is no source of low-capacitance gigaohm resistors here that won't need transcontinental shipping.
 
  • #49
Antiphon said:
First things first- your diode in the schematic looks reversed. If you are using a one-sided supply this will give erratic results.

dlgoff said:
The diode is in the correct orientation. This circuit diagram came from the Application Bulletin - DESIGNING PHOTODIODE AMPLIFIER CIRCUITS WITH OPA128 that skeptic2 provided in post #5.

attachment.php?attachmentid=44396&stc=1&d=1330239160.jpg


Note also that it's a "one-sided" supply.

Artlav said:
I've mentioned it somewhere in the thread- it should have been drawn other way around.
I'm using it in photovoltaic mode, not backwards.
No, your original posted circuit had the photodiode in the correct orientation:
Artlav said:
pdcirc.png
Since the photo-generated current in a photodiode is in the opposite direction from what it is for a normal forward-biased diode, the current will flow from the opamp output towards the feedback resistor and then towards the photodiode: i.e. the current direction is downward at the photodiode. This is consistent with the opamp output being at a positive potential relative to the -input (current flows to the left through the feedback resistor), as it must be since you are using only a positive voltage supply to the opamp.

If the photodiode is reversed then it will try to drive the opamp output negative, which is not allowed given the power supply configuration you are using.
 
  • #50
So it works? remember look for a better amp for 4.7G unless you can put up with the offset error I mentioned.

Hey if the resistor work for you and you have no problem buying it for the product, go for it. Remember the parts availability is very important.

BTW, the direction of the PD in your drawing is the correct way, or else I would have said so right at the beginning and you won't go this far!
 
  • #51
Redbelly98 said:
No, your original posted circuit had the photodiode in the correct orientation:
Ok, i seem to be have been confused by the datasheet, where the pins are named A and C, which are actually pins A and C, not Anode and Cathode...

yungman said:
So it works?
Very much so.
Thank you for helping.

yungman said:
Hey if the resistor work for you and you have no problem buying it for the product, go for it. Remember the parts availability is very important.
It's a hobby project, so parts availability is a matter of annoyance.
 
  • #52
I cannot answer that as I don't have the data sheet. I assume you connect according to the drawing! I doubt you go this far if you connect it up side down!

I am impressed you are doing it as a hobby. As much as I have the passion in electronics, I don't think I'll do something like this out in the blue now...Yes, I did a lot when I was young!
 
  • #53
yungman said:
So it works?

Artlav said:
Very much so.
Thank you for helping.

It's a hobby project, so parts availability is a matter of annoyance.
Glad it's working out :smile:

I was going to suggest -- if your signal is too low, another way to increase it is to use a photodiode with a larger area, which would collect proportionately more of the ambient light. The active area of the photodiode is often given in the spec sheet.

But if you got it working, no worries.
 
  • #54
Bigger diode is a double edge sword, the capacitance goes up and noise gain goes up and a bigger feedback cap is need to control the noise, this will slow the amp down. Actually 10GΩ is not that bad. I have seen 100G used. You just need to have MOS input op-amp. About speed, he is using a less than good resistor that has parasitic capacitance. There are resistors from Caddock available that don't have capacitance like this.

Actually if design allows, I prefer using two PD circuit in parallel ie two smaller PD opamp circuit and sum together. When summing, you get double the PD signal, but the noise being uncorrelated, only increase by 1.41 times. This obviously won't work for system that the light is fed by fiber-optics.
 
  • #55
Well, the problems never end. :(

The new confusing one is what can be described as sticky zero.
Before there was always some amount of ambient light that i kind of subtracted, and everything worked beautifully.
Then, I've been improving light insulation of the box, and there came a point where the values read are essentially 0 for prolonged period of time.

The problem is, that 0 sticks.
Once the value reaches zero (which is below about 2pA for PD or 5mV of output for ADC) it gets stuck there.

Giving it some light does not change the value. Giving it a bit more light tears it loose, and the sensitivity is back - i can keep varying the light around there and all is properly registered.
I can get it down to almost 0 and back, and all is read right.
But once it touches zero again, it stays there until light goes up enough.

It's not an ADC issue, I've also measured the output voltage directly.
Go below about 18-12mV, and it snaps to 4.3mV and stays there, unless enough light is added to get it into about 40-50mV range.

What the could this be?
 
  • #56
Actually, one thing i can think of is hitting the rail, which as far as i read, could cause it to latch up for a moment, and that is what happens.

So, should i add a negative side supply, or somehow prevent the current from reaching the dead zone?
If i got this right, providing -5V would allow it to go to and over 0, thus eliminating the sticking?
Any alternatives?
 
  • #57
latch up only happen if you drive the input to -0.7V or so. Even saturation of the output transistor only take a few uS to come out of it.

You might have an offset problem! Think about if you have a +ve offset, the output want to go negative. Of cause it won't as you don't have a -ve supply. If you have a -ve supply, you might see the output actually sit at negative a few mV. the reason you need to give a little light to "unstick" it because you need the light to overcome the few mV offset, not exactly latching at the negative rail. Putting a -ve supply alone is not going to help this problem.

You do need a -5V supply. One way to deal with it is put a 5K potentiometer with one side of the pot resistor grounded and the other side to a 500K resistor to -5V. You have to use another of the high value resistor and solder on side to pin 2 of the opamp, the other side to the wiper of the potentiometer. This will give you about +50mV offset. Adjust the pot in total darkness until you see the LSB of the ADC toggle. This show you null the offset to zero. You should not see the sticking anymore.



Try it a report back.
 
  • #58
yungman said:
You might have an offset problem! Think about if you have a +ve offset, the output want to go negative. Of cause it won't as you don't have a -ve supply. If you have a -ve supply, you might see the output actually sit at negative a few mV. the reason you need to give a little light to "unstick" it because you need the light to overcome the few mV offset, not exactly latching at the negative rail. Putting a -ve supply alone is not going to help this problem.
Not really clear.
There is a +4.3mV offset i can see, and unstick point is about ten times that.
If it's just an issue of it trying to go below zero, then why does it work properly until it touches zero?

i.e. if i give the light in a curve of 10-0-10, then it would go from 10 to 0 and stay at 0 forever (unless more light added), but if i give it 10-1-10, then it would go down to 1 and then back to 10 all right.

yungman said:
This show you null the offset to zero. You should not see the sticking anymore.
Having trouble getting it.
The point is to shift the - of the op-amp down by enough to zero the offset, so that there would be no +4.3mV when the current is 0?
How is that related to sticking?

The offset itself does not sound like an issue - all i should do is subtract it when i get the output, no?
Loosing 1-2% of the range is not that much of a problem.

And if i'll be adding more big resistors, why not just add it to the other side to give a little current to keep it always above the same 20mV, without the need for a negative voltage?
 
  • #59
Haven't tried anything so far - i can only get unusual parts (and charge pump chip for negative voltage is not something i'd call usual) on weekends without much trouble.

In the mean time, there is another problem to clarify.
I've been trying another photodiode, and this one have 1200pF of capacitance.
When the light goes off the scale on the upper side, it stays at maximum brightness for some time before returning.
i.e. bright light on, reads full, light off, stays full for a tenth of a second, then gets back to correct reading.

Am i right to attribute this effect to the increased sensor capacitance?
It's not there on the other one with low capacitance, but just about everything is different between the two.
 
  • #60
To comment on a previous post, there is nothing wrong with th way the diode is drawn in the original schematic. In that case, you´re using the diode in photovoltaic mode, with zero bias across it (because of the virtual ground provided by the op-amp). This connection mode is the quitest method, but slows down the response when compared to the reversed bias configuration. The greater the reverse bias across the photodiode, the faster the response, but also the noisier the circuit becomes.

Current flows "into" the diode, so the although the transimpedance amp looks like an invertere, since current is flowing into the photodiode, the output will be positive going as light strikes the photodiode.

Stabilizing it should be no problem by ensuring the pole created by the feedback cap cancels out the zero created by the junction capacitance of the photodiode. There's a ton of literature on how to size this cap based on this and the desired bandwidth.


Another option for you, if you need higher gain (without requiring the huge feedback resistor whichi adds noise) and faster response is not necessary is to use a phototransistor instead of the photodiode. Not sure what your application is, but if you're dealing with low light, and speed is not an issue, they are better suited. Another option yet is to use a T-network feedback scheme which will enable you to increase your gain significantly without having to resort to huge valued resistors...
 
  • #61
jrive said:
Another option for you, if you need higher gain (without requiring the huge feedback resistor whichi adds noise) and faster response is not necessary is to use a phototransistor instead of the photodiode. Not sure what your application is, but if you're dealing with low light, and speed is not an issue, they are better suited.
Phototransistors are kind of rare for non-visible and ir bands, and the idea of my project was to use various photodiodes to see in various bands, from ~5um to ultraviolet.

Basic description of the project is here:
http://orbides.1gb.ru/photobot.php?lng=eng

The bandwidth needed is only about 1KHz - the motors don't go faster.

The sensitivity at 2.2GOhms is already somewhat too much, actually - it gets off the scale in broad sunlight. At the same time, indoors it's almost too faint to see, so i tried some higher values with little success due to resistor's structure.
jrive said:
Another option yet is to use a T-network feedback scheme which will enable you to increase your gain significantly without having to resort to huge valued resistors...
I can't google up much on "T-network feedback", can you provide any details?
 
  • #62
I have been busy as my wife just had hip replacement on Monday. Really don't have time to think about this for now.

Regarding on the sticky at 0, I have no idea as the circuit recovery time is so much shorter than what you are describing.

Regarding to too much gain in bright light and not enough in dark, use two different feedback resistors and use relay to kick it in an out. Say you use two feedback resistor, one is 500M, the other is 5G. One end of both resistor connect directly to pin 2 of the opamp. The other end connect to the relay. The relay is to switch the output of the opamp to either the 500M or 5G. You then switch the relay depend on the brightness of the surrounding. Easy. That's what we do all the time, you don't get enough dynamic range from one resistor.
 
  • #63
yungman said:
I have been busy as my wife just had hip replacement on Monday. Really don't have time to think about this for now.
No problems, I'm in no hurry. Good health to her.

When you get some time, or someone else look at this, here is he situation so far.
I've been trying to get negative supply for the amp. The best idea i had is MAX660 charge pump chip, turning +5V into -5V. 10uF cap for the pump, 100uF one to filter the output voltage, but I'm still getting a load of noise just from the thing being here. Also tried at different frequencies and with different caps - the noise does not go away.

So, is there either a way to set up the negative voltage properly, or a way to remove sticking without using that?
 
  • #64
The solution have found the problem.
Not surprisingly, it was all in the manual.

AD820 have two NULL pins for offset voltage compensation, by linking these to +5V with 4.7K and 10K resistors, i got the output 0 to be in the 9 to 30 range (1=5mV), depending on the PD used.
And presto, nothing sticks to anything, without any troublesome negative voltages.
 
  • #65
Glad you find the problem. Are you going to put in the relay to extend the range for different situation? I think it should work as you can have one setting for indoor or night, and the other setting for bright outdoor.

The T-Network is a common scheme that use a voltage divider with low value resistor and the big resistor connects to the divider. eg. If you need a 1G resistor. You can use a divider using 9K and 1K to divide the output by 10, then you only need to use a 100M resistor to connect to the divider to pin 2 and get the same gain. The big down side is the noise is going to increase by 10 times and the offset will increase by 10 times. The good point is you get to use a smaller feedback resistor and therefore increase speed.

I did not suggest the T-network because you are dealing with noise already at the time. It is a standard practice to avoid using T-network unless you really run into speed problem. This is no different than using a 100M resistor and then put a X10 gain stage following it. All the problems are amplified by 10 times using this.
 
  • #66
yungman said:
Glad you find the problem. Are you going to put in the relay to extend the range for different situation? I think it should work as you can have one setting for indoor or night, and the other setting for bright outdoor.
Something like this, quite likely. A simple manual switch with three positions should suffice - sunlight, overcast, indoors. 500M, 2.2G, ~10G respectively. It's not moving around fast enough to warrant the complexity of a relay.
 

Similar threads

  • Electrical Engineering
Replies
1
Views
1K
  • Electrical Engineering
Replies
3
Views
1K
  • Electrical Engineering
Replies
1
Views
804
  • Electrical Engineering
Replies
9
Views
893
Replies
4
Views
2K
Replies
9
Views
2K
  • Electrical Engineering
Replies
8
Views
888
  • Electrical Engineering
2
Replies
41
Views
3K
  • Electrical Engineering
Replies
3
Views
786
  • Electrical Engineering
Replies
1
Views
1K
Back
Top