Results 1 to 14 of 14

Thread: Polynomial Equation for Torque Calculation

  1. #1
    Advanced Tuner
    Join Date
    Jan 2004
    Location
    Columbus, Ohio
    Posts
    213

    Polynomial Equation for Torque Calculation

    I'm sure it's posted here somewhere, but I can't seem to locate the actual equation for how torque model is calculated using all the coefficients.

    • EQ Ratio
    • Airmass
    • Airmass Sq
    • RPM
    • Spark
    • Spark Sq
    • Spark Airmass
    • Spark Sq. Airmass


    Does anyone have the actual polynomial equation for this? I'd like to plug the formula into Excel and work with it. Thanks in advance!
    2022 Cadillac CT5-V Blackwing (733 whp)
    2022 Cadillac CT4-V Blackwing (716 whp), 10.750 @ 134.77 mph
    2016 Cadillac ATS-Vs (eleven ATS-Vs in the 9s)
    2008 Pontiac G8 (first G8 in the 10s), 10.727 @ 129.87 mph
    2000 Bonneville SSEi (first 3800 Bonneville in the 10s), 10.711 @ 125.71 mph
    1999 Grand Prix GT (first 3800 FWD in the 8s), 8.902 @ 154.90 mph
    1998 Firebird (first 3800 RWD in the 8s), 843 whp, 8.991 @ 152.12 mph
    1998 Grand Prix GTP (first 3800 FWD in the 10s), 9.499 @ 145.13 mph

  2. #2
    Senior Tuner Higgs Boson's Avatar
    Join Date
    Mar 2010
    Location
    Texas Hill Country
    Posts
    3,299
    maybe if you make changes to the virtual torque editor and compare the results you can come up with the equation

  3. #3
    Advanced Tuner Redline MS's Avatar
    Join Date
    Jun 2006
    Location
    New York- South Florida
    Posts
    536
    APC Based Base Torque = Krpm + (spark • Kspark) + (spark2 * Kspark2) + (apc * spark * Kapc-spark) + (apc • spark2 * Kapc-spark2) + (apc * Kapc) + (apc2 * Kapc2)
    Full Service GM Late Model Performance Facility

    www.redline-motorsports.net
    Follow US on FACEBOOK!
    Follow us on Instagram! redline_motorsports


  4. #4
    Advanced Tuner
    Join Date
    Jan 2004
    Location
    Columbus, Ohio
    Posts
    213
    Quote Originally Posted by Redline MS View Post
    APC Based Base Torque = Krpm + (spark ? Kspark) + (spark2 * Kspark2) + (apc * spark * Kapc-spark) + (apc ? spark2 * Kapc-spark2) + (apc * Kapc) + (apc2 * Kapc2)
    Appreciate your help! Any chance you could expand on this a little bit?

    • What does 'APC' stand for? Is this a calculation for Airmass Based?
    • How do you derive Krpm? Is it rpm/1,000?
    • How do you derive Kspark?
    • Does spark2 mean SparkSq?
    • What is Kapc?
    • Where does EQ Ratio fit into the equation?
    • Where does Airmass fit into the equation?
    • And what about all the MAP based tables?

    Sorry for all the questions. I just figured there must be a single formula that incorporates all these parameters.

  5. #5
    Senior Tuner Ben Charles's Avatar
    Join Date
    Aug 2009
    Location
    Calibrating
    Posts
    3,373
    Air per cylinder

    Email Tunes, [email protected]
    96 TA Blown/Stroked, 4L80E/Fab 9
    15 C7 A8 H/C 2.3 Blower/PI
    14 Gen 5 Viper
    Custom Mid Engine chassis, AKA GalBen C

  6. #6
    Advanced Tuner Redline MS's Avatar
    Join Date
    Jun 2006
    Location
    New York- South Florida
    Posts
    536
    Quote Originally Posted by Tapout Tuning View Post
    Appreciate your help! Any chance you could expand on this a little bit?

    • What does 'APC' stand for? Is this a calculation for Airmass Based?
    • How do you derive Krpm? Is it rpm/1,000?
    • How do you derive Kspark?
    • Does spark2 mean SparkSq?
    • What is Kapc?
    • Where does EQ Ratio fit into the equation?
    • Where does Airmass fit into the equation?
    • And what about all the MAP based tables?

    Sorry for all the questions. I just figured there must be a single formula that incorporates all these parameters.
    Your asking good questions but this is a much greater discussion then can be laid out on a forum like this.

    Just a couple notes;

    This is one of a couple poly calcs that make up the string of final airflow which leads to torque. Anything with a 2 is a squared value. EQ is a factor AFTER the base calculation. The K represents a GM term in there route language not relevant for the math for this calculation. There is another string for MAP and its similar to the APC calc.

    Bigger question is why are you bothering to go through this exercise? The only real way to solve this is with Matlab although you can jamb it through Excel.
    Full Service GM Late Model Performance Facility

    www.redline-motorsports.net
    Follow US on FACEBOOK!
    Follow us on Instagram! redline_motorsports


  7. #7
    Advanced Tuner
    Join Date
    Jan 2004
    Location
    Columbus, Ohio
    Posts
    213
    Quote Originally Posted by Redline MS View Post
    Your asking good questions but this is a much greater discussion then can be laid out on a forum like this.

    Just a couple notes;

    This is one of a couple poly calcs that make up the string of final airflow which leads to torque. Anything with a 2 is a squared value. EQ is a factor AFTER the base calculation. The K represents a GM term in there route language not relevant for the math for this calculation. There is another string for MAP and its similar to the APC calc.

    Bigger question is why are you bothering to go through this exercise? The only real way to solve this is with Matlab although you can jamb it through Excel.
    Very much appreciate your input on this. That's exactly what I'm trying to do - set it up in Excel. I want to gain a better understanding of how the ECM actually calculates torque, rather than just continuing to guess. So often it seems like I 'solve' a problem by increasing the Airmass Based or decreasing the MAP Based. But I never really understand how what I'm doing is actually working.

    I would love to set up the Airmass Based calculation in Excel. Then set up the MAP Based calculation. Then apply the Equivalency Ratio factor. In the ideal world I would like to see the final Excel number match the ECM torque number. I can't be the first person who ever wanted to truly understand what's really going on with all these torque coefficient tables.

  8. #8
    Advanced Tuner Redline MS's Avatar
    Join Date
    Jun 2006
    Location
    New York- South Florida
    Posts
    536
    Quote Originally Posted by Tapout Tuning View Post
    Very much appreciate your input on this. That's exactly what I'm trying to do - set it up in Excel. I want to gain a better understanding of how the ECM actually calculates torque, rather than just continuing to guess. So often it seems like I 'solve' a problem by increasing the Airmass Based or decreasing the MAP Based. But I never really understand how what I'm doing is actually working.

    I would love to set up the Airmass Based calculation in Excel. Then set up the MAP Based calculation. Then apply the Equivalency Ratio factor. In the ideal world I would like to see the final Excel number match the ECM torque number. I can't be the first person who ever wanted to truly understand what's really going on with all these torque coefficient tables.
    I know what your trying to do. However there are many variables not accessible with HPT or EFI Live that play into this string....its a complicated self feeding algorithm. GM uses a program called Simulink (which is based of Matlab) to take in the values noted on both the two air model calcs and the torque calcs and covert them to the coefficients in the cal. Airflow and torque go hand and hand. This is why nailing the air model is first and foremost before address the torque models. Also realize that "torque" models" are both a limit and a predicted scenario and understand why and when they are referenced is the next chain in the process. With well over 12000 parameters in this current controller; the access we have is far from what's really needed to do an OEM job.
    Full Service GM Late Model Performance Facility

    www.redline-motorsports.net
    Follow US on FACEBOOK!
    Follow us on Instagram! redline_motorsports


  9. #9
    Advanced Tuner
    Join Date
    Jan 2004
    Location
    Columbus, Ohio
    Posts
    213
    Quote Originally Posted by Redline MS View Post
    I know what your trying to do. However there are many variables not accessible with HPT or EFI Live that play into this string....its a complicated self feeding algorithm. GM uses a program called Simulink (which is based of Matlab) to take in the values noted on both the two air model calcs and the torque calcs and covert them to the coefficients in the cal. Airflow and torque go hand and hand. This is why nailing the air model is first and foremost before address the torque models. Also realize that "torque" models" are both a limit and a predicted scenario and understand why and when they are referenced is the next chain in the process. With well over 12000 parameters in this current controller; the access we have is far from what's really needed to do an OEM job.
    Great stuff! Is there any way to discern and/or control when the ECM uses the Airmass Based model versus the MAP Based model?

  10. #10
    Advanced Tuner Redline MS's Avatar
    Join Date
    Jun 2006
    Location
    New York- South Florida
    Posts
    536
    Quote Originally Posted by Tapout Tuning View Post
    Great stuff! Is there any way to discern and/or control when the ECM uses the Airmass Based model versus the MAP Based model?
    We typically will lower the high speed enable values to below idle which will bias the model toward the MAP based....reality is that even lowering that it still looks at the MAP..... The models are often used independently for fueling and torque reporting so if possible both of them dialed in and working will avoid a lot of other issues. The MAP is used more for transient fueling where the MAF works more effectively for linear airflow (steady state). The two working together is how the controller deals with manifold filling which has a big impact on the transient fueling....
    Full Service GM Late Model Performance Facility

    www.redline-motorsports.net
    Follow US on FACEBOOK!
    Follow us on Instagram! redline_motorsports


  11. #11
    Advanced Tuner
    Join Date
    Jan 2004
    Location
    Columbus, Ohio
    Posts
    213
    Quote Originally Posted by Redline MS View Post
    We typically will lower the high speed enable values to below idle which will bias the model toward the MAP based....reality is that even lowering that it still looks at the MAP..... The models are often used independently for fueling and torque reporting so if possible both of them dialed in and working will avoid a lot of other issues. The MAP is used more for transient fueling where the MAF works more effectively for linear airflow (steady state). The two working together is how the controller deals with manifold filling which has a big impact on the transient fueling....
    Makes perfect sense. Thanks again for sharing some of your wisdom!

  12. #12
    Tuner in Training
    Join Date
    May 2016
    Posts
    35
    My understanding is k = current time event.

  13. #13
    Tuner
    Join Date
    Oct 2017
    Location
    Charlotte NC
    Posts
    101
    This thread might be of some help.

    https://forum.hptuners.com/showthrea...e-run-modeling

  14. #14
    Advanced Tuner Ghostnotes's Avatar
    Join Date
    Feb 2012
    Location
    Houston, TX
    Posts
    471
    Quote Originally Posted by djyankees31 View Post
    This...

    I downloaded the patent paper a few months ago and going slowly through it, helped me understand things better. Help can be sketchy here but early on in my learning curve I realized the "what" as in tuning your air, fuel and spark FIRST was most important and a lot of problems go away......to a point. After that the other problems can be handled more systematically as they come along during the learning stages. Which is where I'm still at. The "how" was my biggest Achilles. Meaning how to set the information and what to scan in the scanner....still is.

    As an instrumentation engineer in oil and gas, I calculate mass flow, volumetric flow, density and temp all day long. How to put it together in HPT is for some reason is tough and unclear for me sometimes.

    For Instance when I replaced my MAP with a 3 BAR, I scaled it with the proper offset and max, but do I scale the range to match the full sensor scale or what I will only be able to reach as 100%?
    I always tune VVE....
    2016 C7 M7 Z51
    Callies ultra billet crank
    Callies ultra billet rods
    Diamond pistons
    Jhonson high speed lifters
    Ported and polished headwork
    Custom cam
    YSi-V7