Long term fuel trim/Short term fuel trim.

This is a forum for discussing the development and testing of alpha MS2/Extra code. Documentation
(Runs on MS2 and Microsquirt)

Moderators: jsmcortina, muythaibxr

Post Reply
lagos
Experienced MS/Extra'er
Posts: 197
Joined: Sat Jun 02, 2012 8:40 am

Long term fuel trim/Short term fuel trim.

Post by lagos »

Most OEM ecu's use a short term and long term fuel trim calculation to allow the ecu to adjust to various conditions, without the need to retune.
Its a very simple feature that basically looks at the amount of ego correction in the short term, and if that condition persisted for an extended time, it will save that value in long term memory and use it as a multiplier for the whole map.

So if you have been driving around all day with an average of +10% correction due to some unforeseen condition, the ecu will remember that value and start with that correction applied the next time you start the car again.

Why can't MS do something like this? I can't always drive with a laptop in the car, and would love to know that my ecu can be as smart about its tune as the factory 1990s oem ecu was.
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: Long term fuel trim/Short term fuel trim.

Post by racingmini_mtl »

lagos wrote:... Its a very simple feature ...
Because it is simple to explain does not make it simple to implement. There are many constraints that make it far from simple to implement on an MS2 in any practical way and this is not going to happen. If you need this, you will need to upgrade to the MS3.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
lagos
Experienced MS/Extra'er
Posts: 197
Joined: Sat Jun 02, 2012 8:40 am

Re: Long term fuel trim/Short term fuel trim.

Post by lagos »

racingmini_mtl wrote:
lagos wrote:... Its a very simple feature ...
Because it is simple to explain does not make it simple to implement. There are many constraints that make it far from simple to implement on an MS2 in any practical way and this is not going to happen. If you need this, you will need to upgrade to the MS3.

Jean
Is it a current feature of MS3 that I am not aware of?
jsmcortina
Site Admin
Posts: 39619
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Long term fuel trim/Short term fuel trim.

Post by jsmcortina »

lagos wrote:Is it a current feature of MS3 that I am not aware of?
Yes.

It will be covered in the manual I'm writing.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Post Reply