FreeEMS Issues - EMStudio | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000612 | EMStudio | General | public | 2012-07-12 18:43 | 2012-07-22 13:49 |
Reporter | BenFenner | ||||
Assigned To | malcom2073 | ||||
Priority | low | Severity | feature | Reproducibility | N/A |
Status | assigned | Resolution | open | ||
Platform | All | OS | All | OS Version | All |
Product Version | |||||
Target Version | 1.0.0 | Fixed in Version | |||
Issue Type | New Feature | ||||
Summary | 0000612: Auto-tune feature for VE table. (Real-time algorithm.) | ||||
Description | There are two dominant algorithms on the table for implementing VE auto-tune. This one we're calling the "real-time" approach. The other one, which is described in 0000609, we are calling the "averaging" approach. See 0000609 for details of pitfalls and general principal. Here is the basic algorithm: 01) Check for coolant temp above user selectable amount. If above goto 02. 02) Check TPS data, RPM data, pressure data, AFR data, and possibly others for user-defined steady-state over a user-defined time frame. If steady-state is achieved goto 03. 03) For a given sample, deemed as stable from step 02, compare integral lambda with exhaust gas lambda, if not equal, determine correct VE for that point with CorrectVE = (ObservedEGO / UsedLambda) * UsedVE, see below for details of how to apply that value to the VE table. 04) Wait until either (exhaust gas data from new tune arrives (sensor lag time has passed)) OR (you're 2 cells away on different data unaffected by last change). Go to 01. As an alternative to 04 you could also just check to see if the VE in the table matches what you received, and if not, discard this change. This may be cleaner and simpler to implement. In the usual case of UsedVE and CorrectVE not matching, apply the CorrectVE value in the following ways: If exactly on a cell, which is rare, you can set that cell to CorrectVE exactly, in one step. Extremely unlikely, and the general case may/should cover this. If exactly on one axis and not exactly on the other, the two cells being used should have a weighted change applied with a formula. This case is still very very unlikely, but should be handled correctly, and proven so with a unit test. If not exactly on either, a formula is applied to determine the weighting of the changes applied to the four cells that are being used. Fred will elaborate on this later. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|