Hi all. First post here. This is long sorry, skip to the bold text for the how to.
So I’ve had torque pro for a few years and recently started playing with it again. Always wanted gear indication but could never find a good solution and didn’t want to pay for one as I don’t really use it much and its more just for fun.
Short of writing a plugin I noticed we can use an equation for a PID and wanted to see if I could come up with a working one without conditional statements.
Thanks to some of the other members, there’s another thread where they were doing something similar but I couldn’t figure out how they came up with certain numbers.
This is working for me and I’m sharing with you guys to see if it can work for others. I’ll be keeping my eye on this thread for the next little while for your feedback. Oh and this works for my manual transmission, no idea how it will work for automatics.
How To
For this to work you will need
1. Your gear ratios. This is a must, just google for your transmission and you should be able to find them. You need at least one gear ratio or final drive ratio. The rest we can figure out but I have not included this functionality into the sheet yet, let me know if someone needs.
2. Tire size. The sheet uses metric tire sizes but as long as you can figure out your tire circumference in inches, just enter that into the sheet.
I’ve included instructions in the sheet on what to do. Just basically fill out your ratios and tire dimensions and it will give you the corresponding speeds for your car at a specific rpm. You can change the rpm from 2000 to whatever you want. Write the speeds down and go check how close they are by driving your car and maintaining that rpm in that gear. If they match your ratios are good. They don’t need to be exact, within 5 should be close enough.
Once you know they’re good follow the instructions and create the 2 PIDs. For testing create 2 displays, one for GearRatio and another for Gear. Make sure to format the display for gear to have 0 decimal places and GearRatio to have 2-3. I believe doing this rounds the number which is what we want. I couldn’t find a round function to use in the formula entry for PID.
Drive around and see how close they are. For me 1, 2, 3 were pretty good but higher gears, especially at lower rpms would fluctuate between correct gear and one lower. If the displayed gear is off, start adjusting the equation for Gear in small increments. GearRatio should display a number close to your actual ratio, it will fluctuate a bit but should not be off by a lot.
For me the equation came out to be 3.822x^-1.072. I adjusted the 3.822 until now where it shows correct gear ~90-95% of the time. My final number was 3.97.
Oh and please guys DRIVE SAFE. Don’t stare at your tach trying to maintain 2000 on the dot. Pay attention to the road lol
Here’s the excel sheet
https://nofile.io/f/Qm5DTk2STzo/gear+indicator+torque+pro.xlsx
|