Photodiode High Pass Filter

Thread Starter

DaveS180

Joined May 1, 2020
13
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
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 !
 

MrAl

Joined Jun 17, 2014
13,933
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.
 
Last edited:

Thread Starter

DaveS180

Joined May 1, 2020
13
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.
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 .
 

Attachments

Audioguru again

Joined Oct 21, 2019
6,826
The photodiode in your original circuit was used as a photocell to generate a negative current when lit.
In the new circuit, the photodiode is used with reverse bias and it leaks a positive current when lit.
 

sparky 1

Joined Nov 3, 2018
1,218
There are a few design features that I like about this set up.
It is a pico ammeter and possibly an active filter. I think yours might be a nano ammeter.
the parasitic capacitance problem issues where addressed by using good adapter pcbs
however some air wiring would improve it. second it and it is up off the table.
shows eedude has some experience with sensitive range instruments.

The parameters also require care and certain equipment helps. Figures 3,4 and 5 are applicable for the TLE2072TLE2072 setup.JPG
 
Last edited:
Top