MS3 pre-1.3 beta11 released

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

MS3 pre-1.3 beta11 released

Post by jsmcortina »

This is a development code that follows pre-1.3 alpha10.

Main changes since alpha10
Bug fixes:
Fix "stuck" fuel-cut in launch.
Don't show config error for knock if already a config error.
Apply tc_retard to ign timing.
T/C retard set to zero when off.
Add CAN MSG_SPND fix from Jean
VVT angle calc, handle when min/max not set.
VVT angle calc for wraparound and allow 5 deg more.
CAN RTC was sometimes calling can_inc_ring() in error
Apply {loadhigh} to various load gauges.
Send BCD encoded year to set RTC on Extender.
VSS2 uses correct bits to select sensor position.

Enhancements:
Change Subaru 6/7 re-sync method during cranking.
Finish C code part of Generic PID (PWM only to start). Still working on ini.
Generic closed-loop control feature.
Add min RPM for AC idleup activation. Allow it to activate even on crank.
GPS reading from IO-extender.
Add rev2 SDcard datalog mode for interleaved GPS data with 64 byte.
Add min/max limits to SpkAdj. (untested)
Add dwell table.
CAN polling load balancing
Allow sig-PIP to run COP (untested)
Add engine shutdown feature. Send 0x8501 to table 7 offset 683
Crank pulsewidth taper can be in events.
Add master CAN poll/broadcast selector.

Minor/internal
Tweak to twin-trigger cam speed 2 cyl. (Should be no functional change.)
Remove RTC_TIMING, SDREAD_TIMING
Remove some debug lines.

The two main additions here are the Generic closed-loop control and GPS capture from IO-x. Both will likely need some refinement. The format of the GPS data is likely to change slightly in the next release, but that's pending a firmware update from Jean.

The firmware zip is available from:
http://www.msextra.com/doc/ms3/files/be ... beta11.zip

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".
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.3 beta11 released

Post by jsmcortina »

Another note on GPS. Presently this supports the JBperf IO-x GPS only. That has had GPS since 2010 and users have been asking for it to be supported since then. The GPS data isn't used within the MS3 at this time. It can be recorded to a regular serial datalog along with the other data. There's also a new "interleaved" SDcard log format that will log GPS frames at their slow rate while still recording normal data at a fast rate. As this was only added last week, TunerStudio doesn't yet support extracting it.

Just like other GPS data that is within a datalog, the MegaLogViewer scatterplots can display them.
ms3-gps-route.png
Or, the datalog can be edited in a spreadsheet to give just the GPS data fields and then rendered in GPS map overlay software.

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".
nismoautoxr
Super MS/Extra'er
Posts: 2631
Joined: Sun May 29, 2011 10:28 am
Location: birmingham ,Alabama. U.S.A.

Re: MS3 pre-1.3 beta11 released

Post by nismoautoxr »

I started getting this with alpha10 and still get it with beta11. I get a differance report each time I connect with TS. Heres the screenshot. Not sure what it is .The first time I got it I used the controller settings , the next time I got it I used TS settings.
Ricky-
1995 Nissan 240sx, 403 LS strokerv8 N/A 6speed trans
MS3&MS3X v.3.0 PCB
42lb/hr Hi-Z inj.,230/232 @.050 on 114LSA cam
sequential fuel and sequential spark
LS3/LSA card MAF sensor
97 Mazda MX5
MS3 2002 vvt motor
.60 trim T4 Turbo at 15 PSI
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.3 beta11 released

Post by jsmcortina »

Please post your TunerStudioAppDebug.txt file, that might shed some light on this.

I disable Difference Reports and CurrentTune, so I won't see that.

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".
nathaninwa
Super MS/Extra'er
Posts: 2639
Joined: Tue Sep 14, 2004 4:17 pm
Location: Aberdeen, Wa

Re: MS3 pre-1.3 beta11 released

Post by nathaninwa »

Thanks James for this release. Im doing some tinkering on the car today and will load this midmorning or so.
Volvo 940, 2jzge, MS3Pro, daily
240Z, 2JZ, MS3Pro boost control
nismoautoxr
Super MS/Extra'er
Posts: 2631
Joined: Sun May 29, 2011 10:28 am
Location: birmingham ,Alabama. U.S.A.

Re: MS3 pre-1.3 beta11 released

Post by nismoautoxr »

here is the debug file James.
Ricky-
1995 Nissan 240sx, 403 LS strokerv8 N/A 6speed trans
MS3&MS3X v.3.0 PCB
42lb/hr Hi-Z inj.,230/232 @.050 on 114LSA cam
sequential fuel and sequential spark
LS3/LSA card MAF sensor
97 Mazda MX5
MS3 2002 vvt motor
.60 trim T4 Turbo at 15 PSI
nuvolarossa
Experienced MS/Extra'er
Posts: 301
Joined: Tue Jul 27, 2010 6:15 am

Re: MS3 pre-1.3 beta11 released

Post by nuvolarossa »

tried the demo msq.
When enabling dwell table, it shows as y axis "ignload INVALID".
It's just a label issue or it will affect table operation too?
Robert
MS3x 1.4.1 | TS 3.0.28
nathaninwa
Super MS/Extra'er
Posts: 2639
Joined: Tue Sep 14, 2004 4:17 pm
Location: Aberdeen, Wa

Re: MS3 pre-1.3 beta11 released

Post by nathaninwa »

Enabled coil dwell control, and drove around town for about hour today, no issues. Thanks James.
Volvo 940, 2jzge, MS3Pro, daily
240Z, 2JZ, MS3Pro boost control
nismoautoxr
Super MS/Extra'er
Posts: 2631
Joined: Sun May 29, 2011 10:28 am
Location: birmingham ,Alabama. U.S.A.

Re: MS3 pre-1.3 beta11 released

Post by nismoautoxr »

James ...I installed the TS beta update today that Phil put up and this afternoon when I got in the car and connected with TS, it did not give me a differance report . I will hook up to it when I drive it tomorrow and see if I get a diff report and let you know .
Ricky-
1995 Nissan 240sx, 403 LS strokerv8 N/A 6speed trans
MS3&MS3X v.3.0 PCB
42lb/hr Hi-Z inj.,230/232 @.050 on 114LSA cam
sequential fuel and sequential spark
LS3/LSA card MAF sensor
97 Mazda MX5
MS3 2002 vvt motor
.60 trim T4 Turbo at 15 PSI
nismoautoxr
Super MS/Extra'er
Posts: 2631
Joined: Sun May 29, 2011 10:28 am
Location: birmingham ,Alabama. U.S.A.

Re: MS3 pre-1.3 beta11 released

Post by nismoautoxr »

well I really dont know how to explain it but since I updated ts to 2.5.07 I am no longer getting the differance report so guess it doesnt matter .
Ricky-
1995 Nissan 240sx, 403 LS strokerv8 N/A 6speed trans
MS3&MS3X v.3.0 PCB
42lb/hr Hi-Z inj.,230/232 @.050 on 114LSA cam
sequential fuel and sequential spark
LS3/LSA card MAF sensor
97 Mazda MX5
MS3 2002 vvt motor
.60 trim T4 Turbo at 15 PSI
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.3 beta11 released

Post by jsmcortina »

nuvolarossa wrote:tried the demo msq.
When enabling dwell table, it shows as y axis "ignload INVALID".
It's just a label issue or it will affect table operation too?
I think that's just a label issue - investigating.

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".
nismoautoxr
Super MS/Extra'er
Posts: 2631
Joined: Sun May 29, 2011 10:28 am
Location: birmingham ,Alabama. U.S.A.

Re: MS3 pre-1.3 beta11 released

Post by nismoautoxr »

James,
Did you make any changes to spark cut on the tractin control reactions between alpha8 and beta 11? Reason I ask is .. in alpha 8 it was very on or off...even with 1% cut it was like a total loss of power, with beta 11 it is very smooth and reacts more like I would expect .
Ricky-
1995 Nissan 240sx, 403 LS strokerv8 N/A 6speed trans
MS3&MS3X v.3.0 PCB
42lb/hr Hi-Z inj.,230/232 @.050 on 114LSA cam
sequential fuel and sequential spark
LS3/LSA card MAF sensor
97 Mazda MX5
MS3 2002 vvt motor
.60 trim T4 Turbo at 15 PSI
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.3 beta11 released

Post by jsmcortina »

nismoautoxr wrote:James,
Did you make any changes to spark cut on the tractin control reactions between alpha8 and beta 11? Reason I ask is .. in alpha 8 it was very on or off...even with 1% cut it was like a total loss of power, with beta 11 it is very smooth and reacts more like I would expect .
A quick skim through the ChangeLog didn't remind me of a specific change, but I did re-organise that code a few days ago to clarify the logical path and fix the "stuck" tc_retard.

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".
hardline
Master MS/Extra'er
Posts: 503
Joined: Mon Sep 08, 2008 8:37 pm
Location: Peoria, IL

Re: MS3 pre-1.3 beta11 released

Post by hardline »

Glad you got the VVT operating window fixed. Started the car on Beta11 and knew immediately that it works properly. With my settings with Alpha9, where the window didn't resize I had my cam timing set in absolute values. Upon going to the operating window, the VVT went full retard on the exhaust cam. Sounded like a stuck open EGR Valve. Glad I was expecting it or it might have thrown me for a loop.
2000 ZX2 : Sequential COP, MS3 + MS3X + TinyIOx, PWM Returnless Fuel, Flex Fuel, Variable Geometry Intake Manifold, Garrett GTX2863R .82AR housing @ 15 psi
nismoautoxr
Super MS/Extra'er
Posts: 2631
Joined: Sun May 29, 2011 10:28 am
Location: birmingham ,Alabama. U.S.A.

Re: MS3 pre-1.3 beta11 released

Post by nismoautoxr »

jsmcortina wrote:
nismoautoxr wrote:James,
Did you make any changes to spark cut on the tractin control reactions between alpha8 and beta 11? Reason I ask is .. in alpha 8 it was very on or off...even with 1% cut it was like a total loss of power, with beta 11 it is very smooth and reacts more like I would expect .
A quick skim through the ChangeLog didn't remind me of a specific change, but I did re-organise that code a few days ago to clarify the logical path and fix the "stuck" tc_retard.

well so far that is working pretty well sir.

James
Ricky-
1995 Nissan 240sx, 403 LS strokerv8 N/A 6speed trans
MS3&MS3X v.3.0 PCB
42lb/hr Hi-Z inj.,230/232 @.050 on 114LSA cam
sequential fuel and sequential spark
LS3/LSA card MAF sensor
97 Mazda MX5
MS3 2002 vvt motor
.60 trim T4 Turbo at 15 PSI
darsondriss
Helpful MS/Extra'er
Posts: 66
Joined: Wed Oct 07, 2009 3:29 pm

Re: MS3 pre-1.3 beta11 released

Post by darsondriss »

I think something has messed up in the QR25 trigger code, I think it was modified a version or two back. I updated to beta 11 earlier today and was unable to get the car to start. I reverted to alpha 9 with the same tune and it fires right up. I repeated the process with the same results. Ive attached a msq and datalog. If i had to guess I would say its not getting spark, I can smell fuel.
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.3 beta11 released

Post by jsmcortina »

darsondriss wrote:I think something has messed up in the QR25 trigger code, I think it was modified a version or two back. I updated to beta 11 earlier today and was unable to get the car to start. I reverted to alpha 9 with the same tune and it fires right up. I repeated the process with the same results. Ive attached a msq and datalog. If i had to guess I would say its not getting spark, I can smell fuel.
Yes, I did change it, from the reference data it _looked_ as though QR25 was misaligned.

Can you confirm that spkA is wired to the coilpack on cylinder 1 ?

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".
elaw
Super MS/Extra'er
Posts: 2926
Joined: Fri Oct 16, 2009 6:20 am
Location: Wilmington, MA

Re: MS3 pre-1.3 beta11 released

Post by elaw »

I just upgraded from alpha 8 to beta 11 and got the "neverending difference report" thing too, with a dialog that looks *almost* exactly like what nismoautoxr posted.

Here's what I realized: if I clicked "send tunerstudio settings" I was seemingly stuck in a loop forever. If I clicked "use controller settings", the two values it was upset about would be divided by 10 each time.

This I think is from the second time through:
Beta11problem.png
And this is from the third time:
Beta11problem2.png
I suppose it's possible that if I did it enough times that the value reached zero the problem would stop. But I stopped it by going into "generic closed-loop a" and "generic closed-loop b" and turning them on (they started out off) then off again.

Edit: this is with TS 2.5.07, and my first beta 11 .msq (before the problem went away) is attached.
Eric Law
1990 Audi 80 quattro with AAN turbo engine: happily running on MS3+MS3X
2012 Audi A4 quattro, desperately in need of tweaking

Be alert! America needs more lerts.
nismoautoxr
Super MS/Extra'er
Posts: 2631
Joined: Sun May 29, 2011 10:28 am
Location: birmingham ,Alabama. U.S.A.

Re: MS3 pre-1.3 beta11 released

Post by nismoautoxr »

Odd stuff there. I also came from a variant of alpha8 but I started getting the report with 10 but I was only on 10 for a couple hours before flashing in what was then test code for beta 11 so its looking like its something from 8 to post alpha 10 . I dont get it anymore . It just sortof automagically disappeared but I also did not take note to the actual figures that were in the yellow boxes nor did I take note of what they were the next diff report.
Ricky-
1995 Nissan 240sx, 403 LS strokerv8 N/A 6speed trans
MS3&MS3X v.3.0 PCB
42lb/hr Hi-Z inj.,230/232 @.050 on 114LSA cam
sequential fuel and sequential spark
LS3/LSA card MAF sensor
97 Mazda MX5
MS3 2002 vvt motor
.60 trim T4 Turbo at 15 PSI
elaw
Super MS/Extra'er
Posts: 2926
Joined: Fri Oct 16, 2009 6:20 am
Location: Wilmington, MA

Re: MS3 pre-1.3 beta11 released

Post by elaw »

Hey just something really trivial I noticed... in the dwell table, the values can go to zero. But on the ignition options screen, the values (both cranking and running) won't go below 1.0.

Personally I'd vote for 0.0 or maybe 0.1 as the minimum - you never know what weird coil might show up that requires very little dwell. I usually run mine at 1.8, and experimenting with the dwell table was able to go as low as 0.3 before the running of the engine seemed to deteriorate.
Eric Law
1990 Audi 80 quattro with AAN turbo engine: happily running on MS3+MS3X
2012 Audi A4 quattro, desperately in need of tweaking

Be alert! America needs more lerts.
Post Reply