Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » PID maths

Pages: [1]
Author Topic: PID maths
agilly1989
Member
Posts: 1
Post PID maths
on: February 10, 2018 (GMT)

Hello all. I am wondering if you can do maths with PIDs.

In the end I am looking at calculating clutch slip% by comparing current speed with engine rpm (and some maths).

Is this possible?

Capp777
Member
Posts: 2960
Post Re: PID maths
on: February 10, 2018 (GMT)

Yes you can.

Gear ratio example…

closest(([0C]*60*1.830)/(([0D]+1)*2.813*1000)::28.000=’P/N’:4.552=’1st’:2.548=’2nd’:1.659=’3rd’:1.230=’4th’:1.000=’5th’:0.830=’6th’:0.0=’OFF’)

where

1.830 is tire circumference in meters
2.813 is Differential Ratio for this example
[0C] pid for Engine RPM
[0D] pid for Vehicle Speed (Km/h for this example)

There is a Wiki link above for equations…

Quote from Capp777 on January 30, 2018

Buried within Wiki links above…

https://torque-bhp.com/wiki/Equations

End Quote.

Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.01 seconds.

  Follow me on twitter