Overview
I've been doing some experimentation with the "Desired Torque" table and I've managed to entirely remove it from the DBW calculations. This means the logic behind the intake butterfly valve is now:
- Physical Accelerator Pedal position -> Throttle Duty Cycle table (sets the throttle curve) -> Relative Throttle Plate position table (sets the 1-to-1 output, plus a little extra at closed throttle for idle)
Traction control and cruise control work exactly as per stock, too!
I feel like this is a game changer for those using FI too, making the stock ECU far more predictable, which was the main driving force behind this tune
Warning
- I'd suggest only those comfortable with modifying their tune mess with this file, as it does make some extremely large changes.
- Please make sure that during the conversion process when opening the tune (if your firmware is not the same as mine posted, usually Versatuner warns you about this when opening the tune) that none of the tables have been messed up.
- This also likely results in a slight power loss as the throttle will now actually be fully open on demand, which may slow the air velocity. I don't care though, it's much nicer to drive now
This tune is designed to be a starting point, built directly on top of the stock tune. While there is nothing stopping you from flashing this tune directly, I'd highly recommend building a new tune on top of this one, or copying your favourite tune's relevant tables across. I personally don't use this throttle duty cycle, I have mine hit 84 at only 70% throttle as I find I never bottom out the pedal when I'm expecting full power, but everyone is different.
Likewise, this tune does not have any fan temp adjustments, fueling changes, oiling changes, or anything else that I'd suggest taking a look at.
Modified tables
- Calculated Engine Torque: now represents butterfly position rather than "torque". This has been reverse calculated to match the OEM table. It looks messy, blame Mazda
- Desired Engine Torque: now represents butterfly position, and thus the butterfly position should match the X axis (throttle position)
- Relative Throttle Plate Position: "calculated torque" now represents "requested butterfly position". This table should match the X axis and top out at 84. I swapped my "90" column with "84" to ensure it lines up perfectly. If you see any values that don't align properly, make sure to fix them.
- Throttle Duty Cycle (A-D): now represents only the gradient you're looking for. Note that cable throttles usually have a slight cam where the cable connects to allow more precise movements at low throttle levels. I've implemented something similar here.
For those curious
I reverse calculated the OEM "Desired Torque" table with respect to the OEM throttle plate position table while I was doing the "Calculated Engine Load" reverse calculations, and the results are quite interesting. Note that this is NOT including the throttle duty cycle, which will slightly skew the results. The X axis is the throttle position post-throttle duty calculation, not the direct accelerator pedal position.

You can see that we're never really ever at full throttle on the stock map. Some tunes that increase the desired torque allow the throttle to be fully open in some areas, but a lot of the throttle plate scaling is so extreme that they never really hit WOT. Just really interesting to look at IMO.
Disclaimer
I'm just a random dude on the internet--this tune is provided with no expected support or warranty. By flashing my tune, you agree that I am not liable for any damages caused.