Go to page

Registered

Hello,
I have started this project to get the turbine/compressor RPM on my car. From there, I added more stuff to get a better understanding of our engine. In addition, I provided an alternate version of some formulas to accommodate the 2.4L platform.

I'm a software engineer, so you will see some weird tricks that I used to make this work with Torque Pro. I recommend to start with the easy equations and validate them one by one. It is quite easy to screw up a formula and get a bad result. Let me know if you find something wrong or just want to add a new gauge to your dashboard.

*: Replace the * by the multiplication sign (x) when entering the equation./: Replace the / by the division sign (÷) when entering the equation.

Torque Pro Operations (For reference only)
abs(): Absolute value.
{X:B}: Verify if the bit B is set within the X byte.
[pid]: Refers to the pid number of a sensor.
val{Long Name}: Refers to another equation using its long name.

Air Density
This equation gives the air density inside the intake. Used to calculate the mass air flow rate or as a standalone gauge. The relative humidity is assumed to be constant at 50%.
Unit: lb/cf
Equation: .0717*(303.15/([0f]+273.15))*([33]/101.325)
OBD Header: 7E0

IsBoost
This equation indicates whether the car is in boost or not. It is used to filter unwanted results from other equations. It checks if the MAP sensor is between 96 kpa and 255 kpa which means a boost between -0.78 PSI and 22.275 PSI.
PID: 010b
Min: 0.0
Max: 1.0
Equation: ({A:7}+({A:6}*{A:5}))-({A:7}*{A:6}*{A:5})OBD Header: 7E0

P.S I'm still working to improve this formula based on the engine load when you are not at WOT...

T-Outlet PR
This equation gives the pressure ratio as seen by the turbo outlet. I used an average value of 0.5 PSI drop to compensate for the pipe/filter restriction and 1 PSI drop for the intercooler. Depending of your setup and what you want to monitor, you can change these values to accommodate your needs.
Min: 0.0
Max: 3.0
Equation: (([0b]*.145)+1.0)/(([33]*.145)-0.5)
OBD Header: 7E0

T-RPM
This equation gives an estimate of the turbine/compressor RPM based on the turbo pressure ratio of the td04-19t compressor map. The number is only valid while you are in boost.
Unit: x1000
Min: 50.0
Max: 175
Equation: ((((val{T-Outlet PR}*80)-30)*(([0c]*.000015)+.91))*val{IsBoost})+(abs(val{IsBoost}-1)*50)
OBD Header: 7E0

T-Inlet Air Temp
This equation gives an estimate of the air temperature at the turbo inlet. This estimate assumes that 65% of the air entering the air box is provided by the intake air temperature and 35% by the ambient air temperature at 0 km/h (Idle). As you go, this ratio is changed to reach 100% of the ambient air temperature at 128 km/h. This model is based on data that I collected on my car last summer. You will need to create an extra PID reading this value if you want to convert it to Fahrenheit instead of Celcius.
PID: 010d
Unit: Celcius
Min: -40.0
Max: 215.0
Equation: ((([46]*((.005*A)+.35))+([0f]*((-.005*A)+.65)))*abs(val{IsSpeedGT128}-1))+([46]*val{IsSpeedGT128})
OBD Header: 7E0

T-Outlet Air Temp
This equation gives an estimate of the air temperature at the turbo outlet. You will need to create an extra PID reading this value if you want to convert it to Fahrenheit instead of Celcius.
Unit: Celcius
Min: -40.0
Max: 215.0
Equation: ((((((((val{T-Inlet Air Temp}+273.15)*((val{T-Outlet PR}*.2)+.8)))-273.15)-val{T-Inlet Air Temp})/.7)+val{T-Inlet Air Temp})*val{IsBoost})+(abs(val{IsBoost}-1)*val{T-Inlet Air Temp})

IC Efficiency
This equation gives an estimate of the intercooler efficiency. You will see a negative result when you are not in boost since the air entering the IC is cooler than the intake air temperature (the equation acts a heater in this case). If you do not want to see this, you can multiply the equation by val{IsBoost} to filter out the result.
Unit: %
Equation: (((val{T-Outlet Air Temp}-[0f])+1)/((val{T-Outlet Air Temp}-[46])+1))*100
OBD Header: 7E0

Registered

Awesome! Although I'm not certain at the moment how we'll make use of these, I have a feeling it will be useful one day when we realy start understanding deeper into the way our PCM makes use of the sensoring and monitors in the vehicle.

I had to think a bit about this since the original formula could report 2.0 instead of 1.0 in this situation (the 3 Most Significant Bits are 1 in this case) Finally, I came up with a simple (and rather smart) solution to cover the maximum range from our MAP sensor.
Original formula:{A:7}+({A:6}*{A:5})

Updated formula:({A:7}+({A:6}*{A:5}))-({A:7}*{A:6}*{A:5})

Since the MAP PID is limited to 1 byte by the OBD II protocol, it means that the highest value reported is 255 KPa, which translate to 36.975 PSI at see level, which translates to a maximum boost of 22.275 PSI (36.975-14.7 PSI). So, if you have a 24 PSI of boost, you will still read 36.975 PSI at see level...

P.S I did not test it on the car but I'm rather confident in this one...

Thank you. I use this link a lot and added it as a reference in my first post for quick access . On the other hand, the reader must be aware that a lot of the PIDs listed on the OBD II protocol are not supported by our ECU (for instance, the MAF and Fuel Pressure will read zero).

Registered

Updates
1) The volumetric efficiency is computed dynamically via IsRpmGT3072 and VE equations.
2) The Volume Air Flow equation has been updated to use the VE formula.
3) Added the OBD Header field to optimize the communication on the CAN bus.

My next update should be great for all the members...The HP and Torque numbers given by Torque Pro are way off and there is a lot of lag in the display. I will provide some equations computing these numbers from the engine instead of the wheels. BSFC will be computed dynamically based on the work RedHotDamn has done. VE is already done this way. If it works as I expect, I hope to deliver a VIRTUAL DYNAMOMETER in your car!!!

P.S I'm testing the VIRTUAL DYNAMOMETER now, BSFC is working as expected... It's not easy with the traffic I have going to my work. So far, I achieved 267.8 lb.ft for max torque, 255 HP for max horsepower. I'm pretty sure I have enough juice to go over 274 HP with my setup which I estimate to be around 282 HP at the red line. It's a real improvement over the default Torque Pro gauges for sure...

Registered

Sorry for the delay, I have been busy lately. In addition, my harddrive died on my main computer (I need to reinstall Windows 7 and all the stuff)...and I have been sick like **** in the last 3 weeks! And, I was not sure if someone was interested by my stuff (not a lot of activity on the thread )...

It seems to work very well on my car and all the formulas are on my Android tablet. We can see the HP/Torque numbers rolling at a steady speed, not only during the acceleration like the Torque built-in algorithms (and the numbers were not good). I have been able to get 281 HP at the crank shaft (WOT) and 278 ft.lb (WOT) for the torque. Stay tuned, I will post soon the missing formulas...

I'm gonna do that for sure.
First, I need to review all the formulas since I overestimated the fuel consumption by 8% compared to what I have computed manually at the gas station (might be the air density formula, sensor error, etc.). On the other hand, the average given by the ECU seems to be underestimated by 2%...

Most Clever

cool - loving these - is there a way to export my dashboard settings (file in android file system) and import/copy to another android device (i.e. phone to tablet) ?really appreciate what you are doing here !!

go to menu..layout settings and there you have an import or export layout function.

This stores the file to /storage/sdcard0/.torque/dashboards on your phone/tablet ......this might vary depending on android version/profiles etc. I found it by saving a layout with a unique name and then using es file explorer (set to show hidden files) and searching from top directory for the unique name

In the .torque directory there are other useful files - just need to work out how to use them - i believe this is for themes etc - I'll work on this if we need it.

Hope this helps - it means we can perfect the perfect Optima dashboard and share with the forum.

Go to page

sorry if this has been posted or not, but when i installed my audio (adding subs and amps) i made a thorough research but cant find any, i spent at least 2 hours doing research while my project still on halt...i was having trouble looking for "remote signal" to activate the amp..some says...

Let me start by saying this : This is NOT an easy install. If you're not comfortable doing wiring work, do not attempt this install.
Professional Installation is STRONGLY Recommended!
Estimated install time is based on your level of experience and confidence. This can easily take anywhere...

I have a 2018 Kia optima and the sound system is really bad. When adjusting to only use rear speakers, I can barely even hear anything.i want to upgrade but I would like to know if anyone knows any settings that I can change first for better listening

Hi all,
I install my new headlight with DRL eyeline on my EX 2015 but my problem is that the eyeline is kinda on dim all the time and at all the position. Also during the day my high beam is on as the DRL and the eyeline like I mention is dim. My question is: is it possible to turn off the high...