What is AutoTune?
Posted: Mon Jan 23, 2006 11:46 am
Hello, one quastion. :
What is autotune in megatune??
What is autotune in megatune??
Read only forum for MicroSquirt(R) from Bowling and Grippo
http://www.microsquirt.com/
As Shawn says, it simply tries to minimize the error in the control variable, which is almost always set to be EGOcorrection. The tuning algorithm looks at the value of the specified output, sees if it's 100 and if it's not it adds/subtracts something from the current table entry to move the output closer to 100.Fastest95PGT wrote:When using a wideband and AutoTune, does it aim for the target AFR map as opposed to stoich for a narrowband?
Code: Select all
correction = EGOcorrection_value
value = VEtable_value / 100.0
steps = gain * value * (correction-100)
VEtable_value = VEtable_value + stepsWell... Actually both simultaneously. Your MS will compute EGO correction and apply that internally. MT's auto-tune algorithm is watching that EGO correction and minimizing it by messing with the VE table. Obviously the MS does its EGO correction all the time (assuming closed loop is enabled), but MT can only do its bit when you have MT connected to a running engine.ochizon wrote:There are 2 functions for autotune?
1. Autotuning the VE table: Sets the VE output based on the wideband acheiving the desired output.
2 EGO correction: Once the VE table is set in stone, the wideband functions only for minute alterations to maintain the desired AFR output.
Now that you mention it, no, you wouldn't necessarily need to be in closed loop mode at all.Fastest95PGT wrote:I am wondering if you need to be in closed loop for AutoTune to work with a Wideband since no EGO correction is going on?
Code: Select all
[OutputChannels]
...
lambda = { 1.5 - 5.0 * egoADC/255.0 }
afr = { lambda * 14.7 }
targetAFR = { vexInterp(rpm, map, 0, "afrtable.vex") }
AFRcorr = { (afr / targetAFR) * 100.0 }
...
[AutoTune]
table = veTableMap
corrector = AFRcorr
...