So this would just go directly in line with the inverting pin ( Pin 2 ) before the photodiode. . I'll give this a try later. Thanks for your help !Well actually what i was talking about really only requires ONE op amp.
The rest of the circuit is just a string of RC high pass filters connected together. There are no op amps between them, just one op amp at the end of the string.
Code:o---C---+---C----+---C---+---OPAMP---o | | | R R R | | | o-------+--------+-------+-----------o
Thanks for the help , it's been insightful . I'm learning as I go with electronics at the moment the information you've been able to provide has been of huge help. I've attached drawn picture of the circuit just to clarify I'm on the same page as I have placed the string of RC filter into the non inverting pin , however I was unsure what occurs with the photodiode as from what I've seen online it goes to inverting pin so I've kept it there with the feedback network in place. I'm going to place to actual resistor values once I've calculated it all .Hi,
Well, if you create a non inverting amplifier you can connect the output of the passive filter right to the non inverting input of the op amp and get enough gain that way.
I had shown three stages but you can go four or more too. It's a fairly cheap solution and easy to wire up.
Most line frequencies are either 50Hz or 60Hz and the light bulb frequency is either 100Hz or 120Hz and the remote frequencies are usually over 20kHz i think so with four stages and setting the frequency of the HP filter up several times the line frequency i think you will get good bulb flicker rejection.
You might also be interested to know that they do make receivers that work better than photo diodes or photo transistors because they are made for this. They may however have a constraint on the type of bit pattern you can use though.
The cutoff frequency of a single RC stage is 1/(2*pi*R*C) just for reference.
Oh BTW if you want a sharper cutoff frequency and dont want to use several op smps, you can impedance scale the second, third, and fourth stages. That would mean make each successive stage have Rn=Rm*10 and Cn=Cm/10. If 10 is too big of a scaling factor, you can go down to 5.
With a scaling factor of 10 the response is very close to the response using four op amps to isolated stages.
So for example if R1=100 then R2=1000, R3=10k, R4=100k, then
if C1=1uf, then C2=0.1uf, C3=0.01uf, C4=0.001uf.
You may have to reduce the scaling factor to 5 or even 2 though:
R1=1000, R2=2000, R3=4000, R4=8000,
C1=0.1uf, C2=0.05uf, C3=0.025uf, C4=0.0125uf ideally.
The response will not be as sharp though as when using the scaling factor of 10.
Note those values are just for reference they are not the right values for an IR remote.
Okay , I see that now the photodiode no longer operates in reversed bias.Maybe this...
but what op amp are you using?
Hi,Okay , I see that now the photodiode no longer operates in reversed bias.
I'm using an MCP6021
Rail-to-Rail - input/output
bandwidth =10MHz
http://ww1.microchip.com/downloads/en/devicedoc/20001685e.pdf
The photodiode part number is VISHAY BPW34Hi,
Oh it is still reverse biased just that now it is connected differently.
Do you happen to have a part number on the photo diode?
