MS2 3.4.2 - Closed Loop Boost Control

All questions about MS2/Microsquirt/Microsquirt module. See also MS2/Extra manuals

Moderators: jsmcortina, muythaibxr

Post Reply
DisgruntledMotorist
MS/Extra Newbie
Posts: 17
Joined: Sat Sep 02, 2017 11:18 pm

MS2 3.4.2 - Closed Loop Boost Control

Post by DisgruntledMotorist »

I've been playing with the closed loop boost control for a while now.
I can get okay results, but I would like clarification on the way the PID terms work.

The way I understand it is like this:
0 = nothing
1 = smallest amount/smallest influence
100 = largest amount/largest influence

Cheers
DisgruntledMotorist
MS/Extra Newbie
Posts: 17
Joined: Sat Sep 02, 2017 11:18 pm

Re: MS2 3.4.2 - Closed Loop Boost Control

Post by DisgruntledMotorist »

Bumping this back to the top.
Matt Cramer
Super MS/Extra'er
Posts: 17507
Joined: Thu Apr 16, 2009 8:08 pm

Re: MS2 3.4.2 - Closed Loop Boost Control

Post by Matt Cramer »

Yes, except that they top out at 200 instead of 100.
Matt Cramer -1966 Dodge Dart slant six running on MS3X
DisgruntledMotorist
MS/Extra Newbie
Posts: 17
Joined: Sat Sep 02, 2017 11:18 pm

Re: MS2 3.4.2 - Closed Loop Boost Control

Post by DisgruntledMotorist »

Why doesn't closed loop boost control use the open loop "boost control duty table" as a feed forward term and apply the PID to this value?
This feature does not work with the current control strategy.
Matt Cramer
Super MS/Extra'er
Posts: 17507
Joined: Thu Apr 16, 2009 8:08 pm

Re: MS2 3.4.2 - Closed Loop Boost Control

Post by Matt Cramer »

DisgruntledMotorist wrote:Why doesn't closed loop boost control use the open loop "boost control duty table" as a feed forward term and apply the PID to this value?
This feature does not work with the current control strategy.
Because the open loop table doesn't specify what boost amount the numbers will actually give you. It uses an initial value table as a feed-forward instead.
Matt Cramer -1966 Dodge Dart slant six running on MS3X
DisgruntledMotorist
MS/Extra Newbie
Posts: 17
Joined: Sat Sep 02, 2017 11:18 pm

Re: MS2 3.4.2 - Closed Loop Boost Control

Post by DisgruntledMotorist »

Matt Cramer wrote:
DisgruntledMotorist wrote:Why doesn't closed loop boost control use the open loop "boost control duty table" as a feed forward term and apply the PID to this value?
This feature does not work with the current control strategy.
Because the open loop table doesn't specify what boost amount the numbers will actually give you. It uses an initial value table as a feed-forward instead.
Hi Matt. Maybe I wasn't as clear as I would have liked to have made myself.
I'm familiar with the control strategy, and the initial value function works well.
I believe that closed loop would be much better if the initial value table was actually a feed forward table over the entire rev range of the engine. i.e. if the PID terms were all set to 0, the controller would work just like open loop using the values in the initial value table. And with the PID terms on the duty cycle value would be altered from a calibrated initial duty cycle value, not made up as it goes along.
A maximum percentage authority from the initial value would also make the system much more robust.
Matt Cramer
Super MS/Extra'er
Posts: 17507
Joined: Thu Apr 16, 2009 8:08 pm

Re: MS2 3.4.2 - Closed Loop Boost Control

Post by Matt Cramer »

That is currently the strategy the MS3 code follows. I am not sure if it can be back ported to MS2 or not.
Matt Cramer -1966 Dodge Dart slant six running on MS3X
DisgruntledMotorist
MS/Extra Newbie
Posts: 17
Joined: Sat Sep 02, 2017 11:18 pm

Re: MS2 3.4.2 - Closed Loop Boost Control

Post by DisgruntledMotorist »

As far as I can tell the developers have no desire to continue the development of the ms2. And as I have no desire to buy an ms3 it looks like I'll have to persevere with the ms2 strategy and retune the PID for the different weather conditions of each season.
jsmcortina
Site Admin
Posts: 39611
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2 3.4.2 - Closed Loop Boost Control

Post by jsmcortina »

DisgruntledMotorist wrote:As far as I can tell the developers have no desire to continue the development of the ms2.
This is correct. MS2 has been in a "mature" phase for a number of years and no new features are planned.

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".
rickb794
Super MS/Extra'er
Posts: 6155
Joined: Sun Dec 21, 2008 10:28 am
Location: Portland OR

Re: MS2 3.4.2 - Closed Loop Boost Control

Post by rickb794 »

As I understand it MS2 development became problematic as the memory space in the processor had been used up and to add anything means that something has to be removed first.
Correctly identify your MS ecu here
Read the Do's and Don'ts to avoid the common pitfalls before starting your install or asking for help
Use only these manuals other manuals may cause brain damage or worse.
DisgruntledMotorist
MS/Extra Newbie
Posts: 17
Joined: Sat Sep 02, 2017 11:18 pm

Re: MS2 3.4.2 - Closed Loop Boost Control

Post by DisgruntledMotorist »

rickb794 wrote:memory space in the processor had been used up and to add anything means that something has to be removed first.
That does sound familiar, which is a shame.
I would happily give up the secondary VE, AFR and Ignition maps, nitrous control and sequential fueling (i don't use and have no intention of using these features) for more robust boost control.
Post Reply