1
\$\begingroup\$

Hi and thanks in advance

I'm not from the field so please understand. I need a mean to detect a PWM frequency of pc/laptop displays externally. Some led displays use PWM mechanism to produce different brightness levels and I need to detect it for multiple machines. The frequency can get as high as 20Khz

Any clue for such a high frequency sensor?

Thanks

| improve this question | | | | |
\$\endgroup\$
  • \$\begingroup\$ Seems like a PIN diode photodetector would work. \$\endgroup\$ – mkeith Apr 26 '17 at 6:16
5
\$\begingroup\$

Fortunately, 20kHz isn't high frequency. Just about any photodiode should be able to handle 20kHz with no problem, especially if you negative bias the anode to reduce the capacitance and thereby reduce the rise time.

Here's a fairly plain photodiode from Vishay, available for under a dollar from DigiKey: http://www.vishay.com/docs/83471/tefd4300.pdf

The datasheet indicates that under 10 volts of reverse bias, the rise and fall time of the photodiode is on the order of 100ns. That's sufficient to detect oscillations up to 5 MHz, so you should have no problem detecting 20 kHz.

The standard transimpedance amplifier setup probably makes the most sense for your application:

schematic

simulate this circuit – Schematic created using CircuitLab

In the above diagram, you might be able to just forego reverse bias altogether and replace V1 with ground (since your frequency is so low) if you don't want the hassle of generating a negative rail. Choice of Rf depends on how much gain you want, playing with this value will change your transimpedance gain (ie: how many volts you get on the output for current from the diode). Cf is optional and is used to prevent ringing - the value assigned here will give a cutoff around 200 kHz (calculated by 1/(2piRfCf)).

For further information on designing with photodiodes, this app note by Microchip is quite handy: http://ww1.microchip.com/downloads/en/AppNotes/01494A.pdf

Finally, OSI has an excellent pamphlet on various photodiode circuits: http://www.osioptoelectronics.com/application-notes/an-photodiode-parameters-characteristics.pdf

| improve this answer | | | | |
\$\endgroup\$
  • 1
    \$\begingroup\$ Ordered and I'll test soon. Thanks and I didn't forget you! \$\endgroup\$ – ifyougetwet May 3 '17 at 12:24
  • 1
    \$\begingroup\$ Hi, me again. I think making the amplifier myself is too much for at this stage. Do you have any recommendation for a complete module or something that I can just "plug in" Also, any scope recommendation? \$\endgroup\$ – ifyougetwet May 30 '17 at 13:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.