This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

on ADC



hi,

       i am currently working on the ADC in the tm4c123gh6pge board,i us median and average software filters at the solar voltage(Vdc) but noise not be reduce. is there is any other software filters  for reduce noise in Vdc.

median:15 samples ->0/p 8 sample as been taken.

ex:508 510 511 511 513 514 515 515 515 515 516 516 516 516 .

  • Hello Ravi,

    Did you check CMSIS DSP library Application Note which uses the CMSIS from ARM. A lot of software filters can be implemented using the library. Do note that the accuracy of the ADC is 3-4 LSB's for TM4C12x devices.

    Regards
    Amit
  • Btw, for software optimization sake, averages can be done by hardware.

    And for precision sake - I advise you to search for a external ADC if you can't achieve the precision you require (MCU's ADCs fall short when against a similar external one). There are plenty from TI.
  • May I comment that we know (nothing) of this poster's implementation - his wiring - his shielding - and perhaps more importantly - the quality of the solar (sensors/panels). Poster is quick to "condemn" the MCU and its ADC.   Yet - have (any) of the other "suspects" been interviewed?   (Not that we can tell!)   How has this fact been missed?   (it's ALWAYS - and ONLY about the MCU! - - - except in the real world!)

    Sometimes "agreeing" w/poster's assessment of the "crime scene" proves - not best!    And - his readings are very tightly clustered - are they not?   (thus - hard for this (court) reporter to sympathize w/"Noise Reduction need!")

  • Hi Luis,

    May I suggest that "accuracy & precision" are similar - but really not the same.   Poster Robert has often brought that to this table.

    Here - I believe - is the "best ever" presentation which "highlights" the differences:

    You may note that higher resolution ADC may increase the accuracy (deviation from measured value to actual) and that precision is the "repeatability & clustering of values."   (suspect the chart {and cb1} deserve a "Like" for this neat chart...cb1 will accept "on behalf" of the chart....{like @ Oscars})