A/D-conversion noisy - how to filter it?


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    oldtoddler's Avatar
    oldtoddler Guest


    Did you find this post helpful? Yes | No

    Default AD converion still jumpy..

    Quote Originally Posted by Melanie
    If you truely have filtered, noisless input on your ADC pin like you say...

    As a start, increase your Sample Time and/or change your Clock Source. It's a good possibility that you are not letting the sampling Capacitor enough time to charge properly before you take your reading.

    It's also a possibility you have set the wrong Justification for a WORD variable. Double-check this also.
    Vdd is filtered by 4700uF and I got 12V/7.2Ah battery to feed +5V regulator -> power supply should be ok.

    The input voltage should be stable since there are 10k resistor + 4700uF + 220nF capasitors in parallel (connected ANx -> Gnd) and there is 10-turn 10k potentiometer from Anx -> +5V, should make it steady enough - at least it looks that way in my scope.. I dunno..

    ADCS is 010 (Fosc/32) - should be ok?

    Increasing sampling time has unwanted, negative influence into responce time.. ok, I did increase sampling time up to 300uS and it did help quite a lot - still the measurement is jumpy, 508..516... that is best I can get out of it?

    I will rewire all ground lines and let's see if that helps.

    Thnx, if u have any ideas, please let me know!

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Lightbulb

    Since you are using 20 MHz OSC; Fosc/32 could be the solution as it helped me solve a similar problem I had (with 50uS sampling time).

    Since you had good result with 300uS sampling time, with Fosc/32 you should be having much better result.



    Could you also post the filter schematic? I would like to get some ideas how others design a filter in these types of issues.



    ---------------------
    Last edited by sayzer; - 21st April 2006 at 08:44.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Similar Threads

  1. A/D conversion with PIC18F67J50
    By ScaleRobotics in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 8th May 2009, 02:48
  2. A/D conversion problem in 18F2520, 2523, 2550 etc.
    By selimkara in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 10th March 2008, 17:26
  3. A/D conversion problem on 18F4431
    By ttease in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th April 2007, 00:03
  4. A/D converter fails?
    By egberttheone in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th February 2006, 19:57
  5. Strange A/D conversion...
    By Christos_K in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th June 2005, 02:35

Members who have read this thread : 0

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