Menu

#16 fast ADC with averaging

Phase 0
closed
Andrey B
None
2015-01-16
2013-11-07
Andrey B
No

for MAP measurements, we need an ADC channel which would average values on position sensor events

We already control two separate ADC devices - one is ADC_SLOW - this one should be used for 8 channels, and ADC_FAST which should be used only for one channel. We also need to register an positionSendorCallback which would be resetting the averaging calculation and make sure ADC_FAST is configurable and everything is in place.

Discussion

  • Andrey B

    Andrey B - 2013-11-18
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,4 @@
    -for MAP measurements, we need an ADC channel which would average values on position sensor evenrs
    +for MAP measurements, we need an ADC channel which would average values on position sensor events
    +
    +We already control two separate ADC devices - one is ADC_SLOW - this one should be used for 8 channels, and ADC_FAST which should be used only for one channel. We also need to register an positionSendorCallback which would be resetting the averaging calculation and make sure ADC_FAST is configurable and everything is in place.
    +
    
     
  • Andrey B

    Andrey B - 2013-11-22
    • assigned_to: mpro
     
  • Andrey B

    Andrey B - 2013-11-22

    1) reduce code duplication between fast and slow if that's possible. Not sure, but the way it is now just does not look right
    2) remove all the useless code related to ADC fast performance testing
    3) figure out if continues ADC mode is an option? this would at least save as one timer.
    4) add a shaft listener (see registerShaftPositionListener) which would reset averaging
    5) add 'getFastAdc()' method which would be the public API of fast adc.

     
  • Andrey B

    Andrey B - 2013-12-16
    • assigned_to: mpro --> Andrey B
     
  • Andrey B

    Andrey B - 2013-12-17

    A bit of theory why we need all this: http://msextra.com/doc/ms3/MAP_Sampling.html

     
  • Andrey B

    Andrey B - 2015-01-16

    done

     
  • Andrey B

    Andrey B - 2015-01-16
    • status: open --> closed
     

Log in to post a comment.