Results 1 to 5 of 5

Thread: Can anyone help me combine these math paramaters

  1. #1
    Tuner in Training
    Join Date
    Dec 2020
    Posts
    14

    Can anyone help me combine these math paramaters

    I just found out you cant essentially use maths in maths and have to use just one equation for all, was wondering if anyone can help me write this expression into one for my lambda error.
    Basically i am trying to setup a lambda error % with an analog input math to my ac sensor and i need it all in one math to work properly.
    My expression to bring in a lambda reading from the AC is ([7101]*0.1621)+0.4590 And my expression for my lambda error is 100 * ([61000]) - [50118]) / [50118].
    61000 is my PID for my wide-band AC sensor math. If i just copy ([7101]*0.1621)+0.4590 and paste it into the 61000 PID everything should be good?
    it comes out like this.
    100 * ([7101]*0.1621)+0.4590) - [50118]) / [50118]

    here are my math paramaters and appreciate the help numbers really are a PITA for me!
    Attached Files Attached Files

  2. #2
    Senior Tuner
    Join Date
    Jan 2014
    Location
    Australia
    Posts
    1,977
    as far as im aware u cant do a pid input within the error all in one as it dosnt have the value at that point to then apply the percent error to yet, u need to define the WB values so u get the correct reading and then a separate maths to apply the error to that WB value against commanded

  3. #3
    Tuner in Training
    Join Date
    Dec 2020
    Posts
    14
    I got the wideband to analog dialed in pretty well (within 3 hunderths of what the wideband gauge is showing). Im pretty sure I got my math parameter dialed in with this
    100 * ([7101] * 0.1621 + 0.4590 - [50118]) / [50118]. Had to go back to highschool PEMDAS rule to figure it out lol

  4. #4
    Tuner in Training
    Join Date
    Dec 2020
    Posts
    14
    Now my VE EQ error cell % are all backwards (rich is lean, lean is rich) from lambda. I know its eq ratio=1/lambda but i dont know where to stick 1/ in this formula

    100 * ([7101] * 0.1621 + 0.4590 - [50118]) / [50118]

    Analog shit sucks

  5. #5
    Senior Tuner
    Join Date
    Jan 2014
    Location
    Australia
    Posts
    1,977
    u just have to convert the afr reading to the same lambda reading then enter those values into the transform, looks like a lambda reading anyway (v*0.1621) + 0.4590 dont forget to put the brackets in the right spots