MS2/Extra 2.0 beta 15 (20071104)

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

Moderators: jsmcortina, muythaibxr

andyducati
MS/Extra Newbie
Posts: 20
Joined: Mon Sep 10, 2007 10:59 am
Location: Melbourne, Australia

Post by andyducati »

Had a go and loaded up beta 15. All seems ok but I need help with the settings for closed loop stepper control.
Simply, what do each of the settings do and mean? And what on earth is PID?
Ive been able to get it working to some extent but its not great. The RPM rises suddenly if the RPM drops below the RPM target curve.
But otherwise great release. Keep up the good work fellas.

Andy
1991 Discovery. 5.7 SBC TPi, MS2extra, EDIS, LPG.
1985 Range Rover Landranger Kit. 4.6 Rover. To be MS'd for LPG.
1993 Ducati 888
1992 Ducati 900SS
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

I'll be documenting the settings soon.

The PID acronym stands for Proportional-Integral-Differential, it's a type of control loop that's used to take feedback from a system, and use it to control the system in a desired manner.

Generally you want P to be high, as that's the "immediate" correction.

So if the target rpm is 800 rpm, and you're at 1600, and you have the P value set at 50, it'll change the valve position to try to bring RPM down by 400 rpms.

I is the integral correction, and is used to cause small errors to build up and cause a change... so if you have your P term set low, and that gets you to around 900 rpms with a target of 800, eventually, each time the loop runs, that 100 rpm error will build up. With an I term set, that will eventually build up enough to cause a small change.

D is used to slow down the correction as it gets closer to the target, but having a D that's too high can also cause instability.

A full explanation can be found on wikipedia.

Ken
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

Alright, I took a look at the generated assembly for one of the comparisons for closed loop IAC control, and it didn't look quite right, so I changed the comparison a bit to make the asm look better.

I'll be testing this today/tomorrow, and releasing tomorrow.

Ken
max@zl2max.gen.nz
Helpful MS/Extra'er
Posts: 147
Joined: Tue Aug 03, 2004 4:12 pm
Location: Palmerston North. New Zealand

Post by max@zl2max.gen.nz »

Hi Guys

Been busy do other things for a few months but now back...

Anyway grabbed this beta, but couldn't get it in, now did I see somewhere in the past few months that the S19 is now too big to fit on one page or something.

Somebody able to give me some hints ??

Thanks

Max
RangeRover with MSII V3
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Post by jsmcortina »

max@zl2max.gen.nz wrote:Hi Guys

Anyway grabbed this beta, but couldn't get it in,
Be sure to use the firmware downloader batch file supplied with the beta. Do not attempt to load with the normal firmware downloader.

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".
spyro
Experienced MS/Extra'er
Posts: 229
Joined: Thu Jan 12, 2006 1:32 pm

Post by spyro »

tested the code today with a iac for the first time and its working ok i have a problem were sometines the steps stay at max(for a second ) and the rpm drops to about 500rpm but i think its more the pid setings
since its my first time using the code it needs more tuning to be perfect
but its alot of a improvment since i wasnt using any idle control
Asteris
Helpful MS/Extra'er
Posts: 146
Joined: Sun Nov 13, 2005 2:40 am

Post by Asteris »

Seems to be that IAC stays always on on that beta, as is gets hot within 10 minutes of use. In fact, it stays powered even when i select on/off valve or PWM valve from the idle control menu and configurator. I can also verify this from the Tuning-realtime display, where Voltage varies from 9 to 12V all the time (using a 12V 1A AC powerpack).

I'll have to flashback to an earlier beta, to verify this.
Asteris
Helpful MS/Extra'er
Posts: 146
Joined: Sun Nov 13, 2005 2:40 am

Post by Asteris »

Yeap, beta 13 is ok. Voltage stays at 12.20V all the time (when set at IAC-only moving), starts to vary down to 9V after i flash beta 15 and at any idle setting (on/off, moving only, PWM, closed loop...).

IAC controller stays on all the time.
UnaClocker
Super MS/Extra'er
Posts: 1933
Joined: Fri May 07, 2004 12:59 pm
Location: Tacoma, WA
Contact:

Post by UnaClocker »

I had a bit of trouble turning off my IAC as well. I think it's off now.. Haven't done any real investigating.. But at least it stopped moving.
Brian
'84 Dodge Rampage
max@zl2max.gen.nz
Helpful MS/Extra'er
Posts: 147
Joined: Tue Aug 03, 2004 4:12 pm
Location: Palmerston North. New Zealand

MS2/Extra 2.0 beta 15 (20071104)

Post by max@zl2max.gen.nz »

OK, sorted that out....

Grabbed the new version and used the command line option and jumperless
stuff now loaded and running megatune, so off to look see

So even the new ( version 200 ) will not handle these in the graphical
interface ???

Thanks

Max


jsmcortina wrote:
*max@zl2max.gen.nz wrote:*
Hi Guys

Anyway grabbed this beta, but couldn't get it in,


Be sure to use the firmware downloader batch file supplied with the
beta. Do not attempt to load with the normal firmware downloader.

James



This pÄost is at:
http://www.msextra.com/viewtopic.php?p=173399#173399


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.15.28/1123 - Release Date: 11/10/2007 3:47 PM


________________________________________________________________________
Delivered using the Free Personal Edition of Mailtraq (www.mailtraq.com)
--

Max Wheatley
max@zl2max.gen.nz


________________________________________________________________________
Delivered using the Free Personal Edition of Mailtraq (www.mailtraq.com)
RangeRover with MSII V3
spyro
Experienced MS/Extra'er
Posts: 229
Joined: Thu Jan 12, 2006 1:32 pm

Post by spyro »

well i was using the iac always on but i dont know why after a while it stopped working lol, tested the iac and its ok
since its the first time i use it it could the the wiring , im going to check it next weekend
Asteris
Helpful MS/Extra'er
Posts: 146
Joined: Sun Nov 13, 2005 2:40 am

Post by Asteris »

Mine gets awfully hot if it is powered on all the time. It stays cool when set at moving only, until beta 14. At beta 15 it gets hot whatever setting i use.
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

I might've messed up the code that turns it off, but I'm fairly certain that's not the case.

In any case I'll check when I get home.

Ken
Keithg
Super MS/Extra'er
Posts: 2413
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA
Contact:

Post by Keithg »

Ken,

Hey, I tried semi sequential with my setup this morning and it ran *very* rich. I had to keep backing off ReqFuel to keep it from dying at idle (AFR<11) When I turn off semi sequential, it runs normally. This behavior is with 2 squirts simultaneous. I did not experiment with 1 squirt simultaneous.

KeithG
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

I'm pretty sure it's working the way it should, but I'll check at some point to make sure.

I believe there are others here using semi-seq who have it working in the later firmwares.

Ken
vlopsahl
Helpful MS/Extra'er
Posts: 136
Joined: Tue Jul 05, 2005 3:04 pm

Post by vlopsahl »

This sounds a bit like the problem I have. Never got semi-sequential to work, so I have just been waiting a while. I use 1 squirt simultaneous ore 2 squirts alternating. I have wired my injectors as described in other posts. Think the last time I tried semi-seq. was with beta 14 but my engine just stalls (too rich I think). I am not able to use any more squirts as my idle pw is 1,2 ms. I asked about this before, but I do not think I got an answer…am I supposed to use 1 squirt simultaneous when I turn on semi-seq?

Thanks
Vegard
Audi 80Q 2,0 20V Turbo 630cc AEB/ABA/ABF
MS-II V3 MT2.25 MS2 Extra 2.0.1 VAG/Bosch VR 60-2 Waste spark PWM-idle
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

It should work no matter what.

It might be squirting more often than it should, so I'll verify one way or the other.

I only tested with 4 squirts alternating, and that looked good.

Ken
KaPower
Master MS/Extra'er
Posts: 501
Joined: Wed Dec 22, 2004 9:43 pm
Location: Bonney Lake, Wa

Post by KaPower »

I also could not get semi-sequential to work. Not Sure if it was how I configures it though, as there is no documentation on how it works.
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

Basically you just specify a trigger number...

On a 4 cyl COP there are 4 triggers, wasted spark, there are 2, etc...

It will start the sequence on that trigger.

Ken
Keithg
Super MS/Extra'er
Posts: 2413
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA
Contact:

MS2/Extra 2.0 beta 15 (20071104)

Post by Keithg »

So, with 4 cyl COP, the valid values are 1,2,3,4 and for 4 cyl wasted spark, the valid entries are 1,2?

KeithG

On Nov 14, 2007 3:09 PM, muythaibxr wrote:
Basically you just specify a trigger number...

On a 4 cyl COP there are 4 triggers, wasted spark, there are 2, etc...

It will start the sequence on that trigger.

Ken




Post Reply