MS2extra 3.1.1 anti lag code

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

Moderators: jsmcortina, muythaibxr

m3ltd0wn
Helpful MS/Extra'er
Posts: 149
Joined: Sun Oct 03, 2010 2:32 am

Re: MS2extra 3.1.1 anti lag code

Post by m3ltd0wn »

nice addition.

we must keep this well documented and alive as much as possible :)

10x baldur
BNZ
Helpful MS/Extra'er
Posts: 59
Joined: Sun Dec 07, 2008 4:18 am
Location: Timisoara/Romania
Contact:

Re: MS2extra 3.1.1 anti lag code

Post by BNZ »

Quicly tested today. Works flawless,Once again thanks for the addition.
Here is a log. The test was made only revving the engine,car standing still,and using the stock Celica Idle valve,and the standard ALS settings in tunerstudio. Altought trough the small idle valve the ALS is unable to raise the boost past 100kpa at least as soon i'm back on throttle i'm there on boost, and that with no load on the engine !
MS2 Extra V3 Rel 3.1.1A + Zeal Engineering Board
Celica ST165
3S-GTE 1st gen engine all stock
Using both Zeal conditioners for NE & G1 pickup

MS1 Extra V3 HR11d
Renault 5 GTE Turbo
techsalvager
Master MS/Extra'er
Posts: 443
Joined: Sat Jun 28, 2008 3:47 am

Re: MS2extra 3.1.1 anti lag code

Post by techsalvager »

BNZ what settings did you use, can you take a pic, hopefully I can understand with a visual look over.
MS2extra
Mass Air Flow fuel and spark
Miata 1.6 turbo
TechSalvager is banned for ignoring admin warnings not to link to his childish videos.
m3ltd0wn
Helpful MS/Extra'er
Posts: 149
Joined: Sun Oct 03, 2010 2:32 am

Re: MS2extra 3.1.1 anti lag code

Post by m3ltd0wn »

nicely done BNZ!
BNZ
Helpful MS/Extra'er
Posts: 59
Joined: Sun Dec 07, 2008 4:18 am
Location: Timisoara/Romania
Contact:

Re: MS2extra 3.1.1 anti lag code

Post by BNZ »

The settings were already there then I've opened the ALS sub-menu
Basically from 2000-7000 retard 40 degrees and enrichment 110. TPS setings are low 16% and high 30% or so. I've raised it from 30 to 70 to give me a wider window for testing it but is to much...it really depends on your driving style and how much you liftoff while cornering.
from here you can adjust...if you want a harder als you can go to 50 degrees or milder back up to 30. Fueling i think will depend on the amount of air you let pass by (how big is the valve)
I've took the car for a spin today and i really gives you a punch as soon you put the gas pedal down, but it needs more adjustment and fine-tuning.

BTW Baldur,can you take in consideration for the next code upgrade to put a termal switch for protection ? Something lile : If CLT > x OR EGT > y THEN Switch ALS OFF
I know CLT is not that relevant but if you don't have a EGT it's still something to take in consideration for switching off ALS until colldown.
MS2 Extra V3 Rel 3.1.1A + Zeal Engineering Board
Celica ST165
3S-GTE 1st gen engine all stock
Using both Zeal conditioners for NE & G1 pickup

MS1 Extra V3 HR11d
Renault 5 GTE Turbo
m3ltd0wn
Helpful MS/Extra'er
Posts: 149
Joined: Sun Oct 03, 2010 2:32 am

Re: MS2extra 3.1.1 anti lag code

Post by m3ltd0wn »

egt increase when als is active, the explosions are in the exhaust manifold ... and you should monitor egt if you care about your turbo and exhaust valves :D
a CLT condition will be ok, als to be active if CLT is above eg. 80 degrees celsius.
xox1de
MS/Extra Newbie
Posts: 24
Joined: Wed Dec 30, 2009 11:07 pm

Re: MS2extra 3.1.1 anti lag code

Post by xox1de »

Any idea if this function will be implanted into the next official release?

Also it would be cool to have a cyclic idle cool down function, like cutting injector in a sequence to limit rpm and open up the idle valve.
baldur
Experienced MS/Extra'er
Posts: 256
Joined: Sun May 02, 2004 6:39 pm
Location: Reykjavik, Iceland
Contact:

Re: MS2extra 3.1.1 anti lag code

Post by baldur »

xox1de wrote:Any idea if this function will be implanted into the next official release?

Also it would be cool to have a cyclic idle cool down function, like cutting injector in a sequence to limit rpm and open up the idle valve.
I don't expect this to make it into the next official release but it would be good to get it in there.

As for the cooldown idle, I'm not sure exactly how it should be triggered. If the throttle is permanently opened then this could be achieved by setting the overrun fuel cut RPM to the desired idle speed. For cars with an idle valve I guess this would mean waiting for the anti lag to time out and then enabling a cooldown feature or to start in cooldown when the switch is thrown but enable anti lag if the throttle gets opened past the threshold.

Thermal safety would also not be a bad idea.
Baldur Gislason
xox1de
MS/Extra Newbie
Posts: 24
Joined: Wed Dec 30, 2009 11:07 pm

Re: MS2extra 3.1.1 anti lag code

Post by xox1de »

The cool down feature is triggered by the EGT or CLT, or simply using a different kind of idle, if you activate ALS then the idle switches from normal to cyclic.
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: MS2extra 3.1.1 anti lag code

Post by djandruczyk »

MegaTunix GIT/development supports Baldur's modified/enhanced firmware in full now. NOTE: git/development is only available to Linux/OS-X users at this time. See the MegaTunix forum for the install thread.
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
RickRST
Experienced MS/Extra'er
Posts: 240
Joined: Wed Feb 22, 2006 3:19 pm

Re: MS2extra 3.1.1 anti lag code

Post by RickRST »

Can I use JP4/5 active low to trigger the ALS? I.e. wire it the same way as launch control?

Image
baldur
Experienced MS/Extra'er
Posts: 256
Joined: Sun May 02, 2004 6:39 pm
Location: Reykjavik, Iceland
Contact:

Re: MS2extra 3.1.1 anti lag code

Post by baldur »

Yes. Except that second diode there is completely redundant.
Baldur Gislason
RickRST
Experienced MS/Extra'er
Posts: 240
Joined: Wed Feb 22, 2006 3:19 pm

Re: MS2extra 3.1.1 anti lag code

Post by RickRST »

Thanks,

Which do you mean by second diode, and why is it redundant?

The way I understand it is that the diode with it's banded end to ground is there to protect in case there is a voltage on what should be the ground point? Not sure what the other is for.

Rick
baldur
Experienced MS/Extra'er
Posts: 256
Joined: Sun May 02, 2004 6:39 pm
Location: Reykjavik, Iceland
Contact:

Re: MS2extra 3.1.1 anti lag code

Post by baldur »

The diode on the left protects the input against overvoltage. The diode on the right never conducts unless the diode on the left fails. And even then without current limiting it will probably do no good.
Baldur Gislason
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2extra 3.1.1 anti lag code

Post by jsmcortina »

Agreed. How about now?

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".
RickRST
Experienced MS/Extra'er
Posts: 240
Joined: Wed Feb 22, 2006 3:19 pm

Re: MS2extra 3.1.1 anti lag code

Post by RickRST »

Sorry James,

what do you mean?

My electronics knowledge is so rusty at the moment!

If 12V is given to the clutch switch, diode on left prevents this getting to the the CPU. If this diode fails, then the second diode is there to stop the 12V grounding through the ECU?

Rick
baldur
Experienced MS/Extra'er
Posts: 256
Joined: Sun May 02, 2004 6:39 pm
Location: Reykjavik, Iceland
Contact:

Re: MS2extra 3.1.1 anti lag code

Post by baldur »

jsmcortina wrote:Agreed. How about now?

James
Yeah now the input is protected against both over and under voltage.
Baldur Gislason
RickRST
Experienced MS/Extra'er
Posts: 240
Joined: Wed Feb 22, 2006 3:19 pm

Re: MS2extra 3.1.1 anti lag code

Post by RickRST »

How much retard is possible?
baldur
Experienced MS/Extra'er
Posts: 256
Joined: Sun May 02, 2004 6:39 pm
Location: Reykjavik, Iceland
Contact:

Re: MS2extra 3.1.1 anti lag code

Post by baldur »

RickRST wrote:How much retard is possible?
50 degrees ATDC. If you need more there's one change needed in the C code to allow up to 100 degrees ATDC.
Baldur Gislason
craigb244
Helpful MS/Extra'er
Posts: 43
Joined: Sat Apr 04, 2009 10:03 am
Location: England, Midlands
Contact:

Re: MS2extra 3.1.1 anti lag code

Post by craigb244 »

this is great... cant wait to try it.

Id love to see this built into the official firmware...

...if not I hope you keep it up to date :)
Post Reply