Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How do I reduce noise of the output voltage?

  1. Aug 3, 2008 #1

    cks

    User Avatar

    yellow line: output of photodiode which detects an LED
    blue line: output voltage to the LED


    newfile1: the file without measuring using average of the scope.

    newfile6: the file with using average of 32 times of the scope.

    How to filter the noise? It's noisy, I find it's ok to use average of the scope to get the best pattern. but I prefer it to use other method. I try to use bypass capacitor, but it doesn't work. quite disappointed.
     

    Attached Files:

  2. jcsd
  3. Aug 3, 2008 #2

    cks

    User Avatar

    Later, I tried the RC circuit and a lot of noises have been depleted.
     
  4. Aug 3, 2008 #3

    Redbelly98

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    A capacitor should work if you use an appropriate value of capacitance.

    To find that value, we need to know how much resistance the photodiode is connected to?

    I'll guestimate that those signal spike are about 1 us in duration (but you could verify that by expanding the time scale). So you'd want a capacitance where

    RC > [spike duration]
    or
    C > [spike duration] / R

    Moreover: the waveform has a 500 us half-period. The capacitor can't be so large as to noticeably distort the square wave. So:

    RC < (1/20) * [500 us]
    or
    C < [500 us] / (20R)
    C < [25 us] / R

    So, for example, if those spike are about 1 us duration, choose a capacitor in between
    [1 us]/R and [25 us]/R.
     
  5. Aug 5, 2008 #4

    cks

    User Avatar

    Thank you Redbelly98, I understand what you mean and gain some other ideas of how to filter the noise.

    Before I read your reply, I already tried out my new RC filter, and it works perfectly well.
    I didn't design the RC filter by looking at the duration of the spike as mentioned by you and the period of the wavelength.

    I designed the RC filter by looking at the time taken, T for the change from the positive voltage to the negative voltage (because my photodiode detects LED which is supplied by square wave, so the photodiode is supposed to detect square wave) (obtained from the photodiode without RC filter). To let you understand what I mean, I attach a bmp file for you to look at.

    The time constant of RC filter should be rougly about T, which from the graph shown, is about micro seconds. (actually, I want to zoom in but too much noise, I can't see the change properly).
     

    Attached Files:

    Last edited: Aug 5, 2008
  6. Aug 5, 2008 #5

    cks

    User Avatar

    After putting the RC filter,


    there is a slant instead of an even straight line at the peak, which is due to the exponential decay of the RC filter, I didn't really realise this until I read your reply(the other question). It deserves a bit of attention when I design it next time,


    But for my photodiode which is used to see the absorption profile of Rubidium, the range use is 50mV / div, so I guess this RC filter is ok.

    Thank you.
     

    Attached Files:

    Last edited: Aug 5, 2008
  7. Aug 5, 2008 #6

    cks

    User Avatar

    From my experience together with your answer,

    I think there are 3 parts that need attention when we want to filter the noise,

    Like what you said,
    1) the half-period of the wave
    2) the duration of the time for the spike.

    what I observed,
    3) the time response of the photodiode = change from +ve to -ve
     
    Last edited: Aug 5, 2008
  8. Aug 5, 2008 #7

    Redbelly98

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    That slant makes me think there is a high-pass filter in there somewhere, filtering out DC and low frequencies. Apart from that, things are looking pretty good now.

    Can you post a schematic of your photodiode circuit, including the RC filter?
     
  9. Aug 6, 2008 #8

    cks

    User Avatar

  10. Aug 6, 2008 #9

    cks

    User Avatar

    I'm not sure why do you say there is a high-pass filter somewhere?
     
  11. Aug 6, 2008 #10

    berkeman

    User Avatar

    Staff: Mentor

    They're saying it because of the droop in your 2nd BMP waveform file. If it were only the result of a LPF, and the original signal did not have the droop, then that implies some capacitive coupling in series with the signal in the filter, and hence the HPF.
     
  12. Aug 7, 2008 #11

    Redbelly98

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    Looks good, though I don't know where the droop comes from in this case. Try setting the 'scope to DC mode and see if that changes things appreciably. If not, then it would seem to be a real feature of the signal, not showing up when you had a 1 msec period but showing up in this 10 msec period signal.

    The 30 usec time constant looks like a good value, filtering out the noise spikes yet not noticeably distorting the 1 to 10 msec period waveform. If you wanted, you could also try a 30 nF cap (for 10 usec time constant) but you could also proceed with what you already have.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?