Noise on input signal


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    May 2011
    Posts
    16


    Did you find this post helpful? Yes | No

    Default Re: Noise on input signal

    Hi Jerson, yep have tried ground planes on a PCB. Slight improvement but same issue. Good point regarding sampling rate. Its 50us as defined in the code. The source has inbuilt filtering. I don't use any averaging of the sampled data.

    Someone online mentioned that the PWM setting can affect the ADC?

    thanx

  2. #2
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    966


    Did you find this post helpful? Yes | No

    Default Re: Noise on input signal

    No, the 50uS is the sampling time. If you happen to read your ADC at varying intervals(due to different paths of code execution), that affects the reading stability. Try to put the ADC read inside an ISR so that it reads at a constant rate. Then perhaps the coupling will break and get you stable readings.

  3. #3
    Join Date
    May 2011
    Posts
    16


    Did you find this post helpful? Yes | No

    Default Re: Noise on input signal

    Hmmm...have tried the suggestions and still same problem. The interference is definitely induced by the strobe pulse. When the strobe is not triggered the signal is fine. Very strange.

  4. #4
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    966


    Did you find this post helpful? Yes | No

    Default Re: Noise on input signal

    can you post your code? Might help identify any issues in code if present.

  5. #5
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: Noise on input signal

    Another vote for adding a large capacitor to the output of your regulator to supply the fast transient current demand when the LED comes on. Choose a type that has low ESR / ESL such as a ceramic in the 1-10 uF range. Leave the 0.1 where it is. You can prove if it's current induced noise or a software problem by either removing the LED, or making it's series resistor about 10X larger temporarily. Are you seeing the noise on the Power pin of the PIC too?

  6. #6
    Join Date
    May 2011
    Posts
    16


    Did you find this post helpful? Yes | No

    Default Re: Noise on input signal

    Hi guys, I rechecked the circuit last night. I made the following changes to the bread board,

    1) Connected unused pins to each other then to ground.
    2) Set unused pins to LOW state.
    3) Set TRIS registers to output for unused pins.
    4) Changed the capacitors on the 7805 to ceramics.

    and after this the circuit worked fine. The pulse traced was still there but is was <<1mV which is good enough for me.

    I tried the 220uF capacitor but the 7805 and 16F88 started overheating so figured that wasn't a good idea. Maybe 7805 oscillation? The noise is originating from the power source and can be eliminated by using a battery supply.

    It was interesting that before grounding the unused pins I measured the signal from them and found that they had a low level sinusoidal output (about 0.3V p-p I think). However when I grounded them it seemed to dampen the interference. So all is good. Thanks to everyone for their suggestions.

    cheers

    mark.

  7. #7
    Join Date
    May 2011
    Posts
    16


    Did you find this post helpful? Yes | No

    Default Re: Noise on input signal

    Hey guys,

    Was just reading online that some people tie each unused pin to ground using a resistor (about 1k)? I tied mine directly to ground. Is this the correct method?

    http://www.piclist.com/techref/logic/xtrapins.htm

    c
    heers

    Mark.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts