Results 1 to 12 of 12

Thread: MPVI A/D input filtering

  1. #1
    HP Tuners Owner Keith@HPTuners's Avatar
    Join Date
    Sep 2002
    Location
    Chicago, IL
    Posts
    6,395

    MPVI A/D input filtering

    In 3.1 (Beta) and 3.2 (future), the MPVI inputs will be filtered a bit better.

    You won't lose any resolution that you currently have, we'll just take more instantaneous samples and average them together to give you an even better read.
    We got this guy Not Sure, ...

  2. #2
    Advanced Tuner
    Join Date
    Apr 2014
    Posts
    704
    I like, and approve of this. Thanks for hearing us, and listening. You guys rock!

  3. #3
    Moderator
    Join Date
    Mar 2014
    Location
    Raleigh, NC
    Posts
    6,347
    I, too, like and approve of this

    Do we have to do anything or is it automatic?
    Last edited by schpenxel; 03-11-2016 at 11:43 AM.
    Post a log and tune if you want help

    VCM Suite V3+ GETTING STARTED THREADS / HOW TO's

    Tuner by night
    CPX Tuning
    2005 Corvette, M6
    ECS 1500 Supercharger
    AlkyControl Meth, Monster LT1-S Twin, NT05R's
    ID1000's, 220/240, .598/.598, 118 from Cam Motion

    2007 Escalade, A6
    Stock

  4. #4
    HP Tuners Owner Keith@HPTuners's Avatar
    Join Date
    Sep 2002
    Location
    Chicago, IL
    Posts
    6,395
    Automatic
    We got this guy Not Sure, ...

  5. #5
    Tuner in Training
    Join Date
    Jan 2012
    Location
    VT
    Posts
    39
    Here are examples showing the smoothing. One log is 3.0.47, the second is 3.1.129 (with smoothing). MVPI1 is AEM ANA (AEM 30-0300 analog), MVPI2 is AEM 100PSIg(psi) For reference, EQ(lambda) is the AEM 30-0300 CANBUS

    3.0.47:


    3.1.129:
    Last edited by jcmg8; 03-13-2016 at 09:28 PM.

  6. #6
    Advanced Tuner
    Join Date
    Dec 2005
    Location
    Posts
    604
    That's actually pretty amazing. Especially all zoomed in like that
    It means that the total error from the all-digital CANbus filtering @100Hz ( From 1000Hz source ) deviates less than 0.01 lambda from the total of :

    1. The analog conversion error in the gauge's DAC output
    2. The effect of the gauge's ground offset compensation amplifier.
    3. The MVPI A/D conversion error
    4. The new MVPI filtering @ 100Hz ( from 500Hz source )

    If anything, it looks like the new 3.1 filtering causes the A/D signal to trail the CAN data by maybe 10ms ( 1 sample )

  7. #7
    Moderator
    Join Date
    Mar 2014
    Location
    Raleigh, NC
    Posts
    6,347
    Pretty amazing to me!

  8. #8
    HP Tuners Owner Keith@HPTuners's Avatar
    Join Date
    Sep 2002
    Location
    Chicago, IL
    Posts
    6,395
    The new method:

    So what the MPVI is doing currently, for A/D inputs, is, averaging the last 10ms worth of samples (probably 5-10 samples), and then spitting out the average.

    So, what the user sees is the MPVI A/D inputs having resolution of 10ms, which is 100hz, that's a lot of data! We average them together so that the logs don't get too large in size.


    The old method simply sent the latest MPVI A/D Input frame out every 10ms, whatever the most recent frame was, and dropped all the frames between the last frame that was dispatched through the scanner.
    We got this guy Not Sure, ...

  9. #9
    SeƱor Tuner MeentSS02's Avatar
    Join Date
    Jun 2005
    Location
    Dayton, OH
    Posts
    1,132
    Quote Originally Posted by Keith@HPTuners View Post
    The new method:

    So what the MPVI is doing currently, for A/D inputs, is, averaging the last 10ms worth of samples (probably 5-10 samples), and then spitting out the average.

    So, what the user sees is the MPVI A/D inputs having resolution of 10ms, which is 100hz, that's a lot of data! We average them together so that the logs don't get too large in size.


    The old method simply sent the latest MPVI A/D Input frame out every 10ms, whatever the most recent frame was, and dropped all the frames between the last frame that was dispatched through the scanner.
    I like this new method...I'll gladly clear more room on my hard drive for larger file sizes.
    2008 Viper - now with HPToona - 1/4 Mile Shenanigans Here
    11.02 @ 130

  10. #10
    Moderator
    Join Date
    Mar 2014
    Location
    Raleigh, NC
    Posts
    6,347
    I agree.. that makes more sense to me. I noticed the latest beta was quite a bit smoother on external inputs. I'll give it some more time today.

    Good news is i haven't had any issues with external inputs freezing since the fix was released.
    Post a log and tune if you want help

    VCM Suite V3+ GETTING STARTED THREADS / HOW TO's

    Tuner by night
    CPX Tuning
    2005 Corvette, M6
    ECS 1500 Supercharger
    AlkyControl Meth, Monster LT1-S Twin, NT05R's
    ID1000's, 220/240, .598/.598, 118 from Cam Motion

    2007 Escalade, A6
    Stock

  11. #11
    Tuner in Training
    Join Date
    May 2014
    Location
    Buffalo, NY
    Posts
    15
    so is the scheme a pure averaging method? or is there some sort of low-pass or high-paas filter involved? (analog or digital)
    2008 Ford F250 Lariat

    2008 Corvette Z51 M6, Kooks LT, Corsa Performance, Vararam

  12. #12
    Tuner in Training
    Join Date
    Jan 2012
    Location
    VT
    Posts
    39
    Food for thought here. While having a smooth response is desirable, at the cost of added latency it is debatable IMO. While I'm not a calibrator by any means, I do know being able to see response(s) in order aids in troubleshooting resolution. If the MVPI is not in sync with the CANBUS data due to its own latency, let alone reduced sample rate, I'd prefer a bit more noise. For example, if running FI and have a manifold referenced fuel controller, I would want to see MAP and fuel pressure lockstep, not the Fuel pressure reading delayed further due to system latency. One question I have is, what is the sample rate of the ECM? Does it have different rate based on sensor IE knock sensor? Ok, gone a bit past MVPI sampling discussion. Back to MVPI, it apparently does some processing - it there any plan to update the unit with better processor/more storage (removable?)