Tuning Boost Control With Bias Table

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

aidandj
Experienced MS/Extra'er
Posts: 255
Joined: Fri Sep 26, 2014 1:38 am

Re: Tuning Boost Control With Bias Table

Post by aidandj »

Yes, just basic mode. I will play with advanced later this week.
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: Tuning Boost Control With Bias Table

Post by muythaibxr »

That is actually great news. It means the idea of using the slider is working as I intended.

Ken
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
aidandj
Experienced MS/Extra'er
Posts: 255
Joined: Fri Sep 26, 2014 1:38 am

Re: Tuning Boost Control With Bias Table

Post by aidandj »

Yeah, its not 100% when I do multiple gear pulls.

Hopefully with PID I can tune that out.

Here is a log about what I mean.
aidandj
Experienced MS/Extra'er
Posts: 255
Joined: Fri Sep 26, 2014 1:38 am

Re: Tuning Boost Control With Bias Table

Post by aidandj »

Also, because I logged so many values, I can close in around my favorite slider value and try to get it even better before I use advanced.
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: Tuning Boost Control With Bias Table

Post by muythaibxr »

aidandj wrote:Yeah, its not 100% when I do multiple gear pulls.

Hopefully with PID I can tune that out.

Here is a log about what I mean.
That actually looks pretty good... Some advanced mode tuning will probably get it the rest of the way there. Make sure it's close to perfect in setup mode first though. That dip in boost in both gears makes me think the bias table needs some work at that RPM.
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
aidandj
Experienced MS/Extra'er
Posts: 255
Joined: Fri Sep 26, 2014 1:38 am

Re: Tuning Boost Control With Bias Table

Post by aidandj »

By not 100% I mean its not perfect. The log I posted is in setup mode. See the small spike, then dip in 3rd?

On another note in what firmware version is this slider "bug" prevalent. I am helping someone on another forum tune closed loop on ms2 and the slider isn't fully working for him. MS2 firmware version 3.3.2.
nathaninwa
Super MS/Extra'er
Posts: 2639
Joined: Tue Sep 14, 2004 4:17 pm
Location: Aberdeen, Wa

Re: Tuning Boost Control With Bias Table

Post by nathaninwa »

Sure, I'll give it a shot for sure. I'll down load it tonight and get it installed during lunch tomorrow and make some pulls tomorrow evening
Volvo 940, 2jzge, MS3Pro, daily
240Z, 2JZ, MS3Pro boost control
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Tuning Boost Control With Bias Table

Post by muythaibxr »

aidandj wrote:By not 100% I mean its not perfect. The log I posted is in setup mode. See the small spike, then dip in 3rd?
The slider does not do anything in setup mode. That is all down to bias table tuning.
On another note in what firmware version is this slider "bug" prevalent. I am helping someone on another forum tune closed loop on ms2 and the slider isn't fully working for him. MS2 firmware version 3.3.2.
ms2 still uses the same method as firmware rev 1.3. That should not have any issues.
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: Tuning Boost Control With Bias Table

Post by muythaibxr »

nathaninwa wrote:Sure, I'll give it a shot for sure. I'll down load it tonight and get it installed during lunch tomorrow and make some pulls tomorrow evening
Cool thanks.
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
aidandj
Experienced MS/Extra'er
Posts: 255
Joined: Fri Sep 26, 2014 1:38 am

Re: Tuning Boost Control With Bias Table

Post by aidandj »

muythaibxr wrote:
aidandj wrote:By not 100% I mean its not perfect. The log I posted is in setup mode. See the small spike, then dip in 3rd?
The slider does not do anything in setup mode. That is all down to bias table tuning.
On another note in what firmware version is this slider "bug" prevalent. I am helping someone on another forum tune closed loop on ms2 and the slider isn't fully working for him. MS2 firmware version 3.3.2.
ms2 still uses the same method as firmware rev 1.3. That should not have any issues.
d*** it. Typo, I meant basic mode. I will try in setup mode.
nathaninwa
Super MS/Extra'er
Posts: 2639
Joined: Tue Sep 14, 2004 4:17 pm
Location: Aberdeen, Wa

Re: Tuning Boost Control With Bias Table

Post by nathaninwa »

I did not mess with PID at all. Just the slider

Car was still in boost by gear so target was 270 rather than 280

pulls in third gear. 3 runs of the 5 are good data

slider at 50 is 16333
slider at 475 is 16441
slider at 250 is 16545

I like the 250 postion in the log the best

its cooler out today and the tires are not warmed up fully, so I experienced some tire spin (25-27psi is near 780 to 800whp) and it feels like the race tank is getting a little thirsty so I need to mix up some more fuel later.
Volvo 940, 2jzge, MS3Pro, daily
240Z, 2JZ, MS3Pro boost control
aidandj
Experienced MS/Extra'er
Posts: 255
Joined: Fri Sep 26, 2014 1:38 am

Re: Tuning Boost Control With Bias Table

Post by aidandj »

I also did some tuning today. I played with the bias table and got it pretty close. Need to take some more logs and test in the morning then I will post. Safe to say the new slider works a lot better though.
nathaninwa
Super MS/Extra'er
Posts: 2639
Joined: Tue Sep 14, 2004 4:17 pm
Location: Aberdeen, Wa

Re: Tuning Boost Control With Bias Table

Post by nathaninwa »

I agree. The new slider technique is a bit easier and not so over responsive
Volvo 940, 2jzge, MS3Pro, daily
240Z, 2JZ, MS3Pro boost control
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: Tuning Boost Control With Bias Table

Post by muythaibxr »

OK, that and the other change I made will be in the next beta. Thanks for your feedback!
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
nathaninwa
Super MS/Extra'er
Posts: 2639
Joined: Tue Sep 14, 2004 4:17 pm
Location: Aberdeen, Wa

Re: Tuning Boost Control With Bias Table

Post by nathaninwa »

I guess to be a little more detailed, with the old slider with me, just like the others would oscillate bad. I worked from low to high and found smaller numbers to be not so sensitive and that's when I worked with pid to help dial it in

I'm thinking my bias table needs a bit more duty out the top

The new slider is way less sensitive and allows some fault in the users settings and not kill boost control. I'll work with just the slider and see how that affects boost control

I can see from a devolopers point getting a code to work with all setups ca be challenging, I'm seeing just making a spring change how different the setup is. My last spring made 300kpa around 80%, now I'm in the 60%'s for the same boost pressure, so I lost resolution in the system which makes tuning on my part more crtitcal than before

I'm happy to open a log and see a little overshoot and boost flatlined within 10kpa of my target!

Thanks Ken for all your support on this
Volvo 940, 2jzge, MS3Pro, daily
240Z, 2JZ, MS3Pro boost control
AbeFM
Super MS/Extra'er
Posts: 875
Joined: Wed Dec 05, 2007 1:40 pm
Location: San Diego, CA
Contact:

Re: Tuning Boost Control With Bias Table

Post by AbeFM »

A quick question before I take this as a sign and try the newer code - are you making changes only to the boost control, or is it all PID (ie will idle start/stop working or be the same as before if I change it)?
2000 VVT Miata turbo, MS3Pro

Contact me if interested in a MS-II 2nd gen NB Miata PnP board.
jsmcortina
Site Admin
Posts: 39619
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Tuning Boost Control With Bias Table

Post by jsmcortina »

This is ONLY boost.

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".
aidandj
Experienced MS/Extra'er
Posts: 255
Joined: Fri Sep 26, 2014 1:38 am

Re: Tuning Boost Control With Bias Table

Post by aidandj »

I'm still struggling with temperature changes. I will do some more logging, but anything specific to check for would help. Mornings, ~60 degrees, I'll hit over boost (set at 207kpa), later in the same day I will struggle to hit 190kpa. Its like the software is taking into account the bias table too much. Is there a way to lessen the effect of the bias table on the output and let PID do more of the work?
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: Tuning Boost Control With Bias Table

Post by muythaibxr »

Does this happen in setup mode?
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
aidandj
Experienced MS/Extra'er
Posts: 255
Joined: Fri Sep 26, 2014 1:38 am

Re: Tuning Boost Control With Bias Table

Post by aidandj »

From what I've seen yes, I will try tomorrow morning and get logs.
Post Reply