MEGAsquirt A place to collectively sort out this megasquirt gizmo

Preferred Method of EBC Tuning MS3 1.4.1

Thread Tools
 
Search this Thread
 
Old 02-13-2017, 04:03 PM
  #1  
Retired Mech Design Engr
Thread Starter
iTrader: (3)
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,009
Total Cats: 857
Default Preferred Method of EBC Tuning MS3 1.4.1

Finally going to start tuning EBC. I read through this ADJ's Quest but am at a bit of a loss on which FW version all this pertains to:

1) Is there a difference in methods or results between 1.4.1 and 1.5.x?
2) Do I start with Open Loop and then transfer, or does the Closed Loop Set-up mode make that approach obsolete?
3) Is there a thread that I have missed?
4) I presume that Jason's approach to throttle vs boost target is still valid.
DNMakinson is offline  
Old 02-13-2017, 07:07 PM
  #2  
Retired Mech Design Engr
Thread Starter
iTrader: (3)
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,009
Total Cats: 857
Default

Now I found this, which, though it may say what the manual says, makes a bit more sense to me: ADJ's Answer

Originally Posted by aidandj
Also, set your min and max duty cycles. It will help the loop by having a smaller range to work in. Start at a low duty cycle and increment by 5. Then you start getting earlier spool that is your min. Your max is the opposite. Start at 100 and lower by 5 until your spool slows down.
@aidandj, when you say getting earlier spool, do you mean:

A) At 3500 RPM, punch throttle and see how many mS it takes to get to, say 180kPa?
B) At 2000 RPM, punch throttle and see where the boost threshold (crosses above 100kPa) occurs?
C) Something else that I'm still not getting?

Thanks.

Last edited by DNMakinson; 02-13-2017 at 07:22 PM.
DNMakinson is offline  
Old 02-13-2017, 07:28 PM
  #3  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

1.4.1+ are all the same.

Setup mode negates the need for open loop tuning

#2. Start at 1500 go full throttle, record when you hit your boost target (careful, you will easily hit overboost this way). This allows you to get a dynamic idea of what the lowest duty cycle that will affect your spool.

Think about it this way. The code will hold the duty cycle at your max value until you reach the lower limit Delta, then the control loop kicks in. The smaller duty cycle range the control loop has to work with the better off it will be. If I asked you to guess my number between 1-100 and 30-80, which would you be more likely to get right?

Last edited by aidandj; 02-13-2017 at 08:07 PM.
aidandj is offline  
Old 02-13-2017, 08:02 PM
  #4  
Retired Mech Design Engr
Thread Starter
iTrader: (3)
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,009
Total Cats: 857
Default

Originally Posted by aidandj
1.4.1+ are all the same.

Setup mode negates the need for open loop tuning

#2. Start at 1500 go full throttle, record when you hit your boost target (careful, you will easily hit overboost this way). This allows you to get a dynamic idea of what the lowest duty cycle that will affect your spool.

Think about it this way. The code will hold the duty cycle at your max value until you reach the lower limit Delta, then the control loop kicks in. The smaller duty cycle range the control loop has to work with the better off it will be. If I asked you to guess my number between 1-100 and 30-8, which would you be more likely to get right?
Well, I already know that mine will hit 180kPa very quickly at 40, so the 8-30 range seems likely.

Thank you for the clarification.
DNMakinson is offline  
Old 02-13-2017, 08:07 PM
  #5  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

80*. Missed a 0
aidandj is offline  
Old 02-16-2017, 08:16 AM
  #6  
Retired Mech Design Engr
Thread Starter
iTrader: (3)
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,009
Total Cats: 857
Default

This is where I am so far on 1.4.1 FW:
1) Set up Min Max, as you prescribed, Min = 10, Max = 40 (I recently reset down to 38, but that is hair-splitting).
2) Generally have the bias table and target table set up.
3) Originally set max boost to 180kPa in the targets with Boost limit at 185. I could not leave it there because I hit the overboost so much even in closed loop.
4) To try to be able to set "Basic" CL control, as seen in the image, I set top rows to 160. This allows me to not have so much power that the controller reaction can be seen. But what I'm getting, is that with slider at 350, seemingly no controller reaction. The Boost Duty just sits at the bias settings.
5) Unless coached to do otherwise, I will try slider at 500 (max), and targets to 170 and see what happens.
6) In ADJ's quest, there was a time that he reported that slider to "0" was too much, so the FW guys toned it down.
Questions:
A) Did they go too far reducing Slider Sensitivity, or is there a bug or bad setting?
B) Should I just go ahead and go to Advanced?
C) If I go to Advanced, is the slider still going to have no effect?


Attached Files
File Type: msq
no_CL.msq (292.9 KB, 139 views)
File Type: msl
no_CL.msl (1.84 MB, 123 views)
DNMakinson is offline  
Old 02-16-2017, 08:20 AM
  #7  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

I believe the slider still has an affect. It's essentially an overall multiplier for the reactions.
aidandj is offline  
Old 02-16-2017, 08:50 AM
  #8  
Junior Member
iTrader: (1)
 
dr_boone's Avatar
 
Join Date: Dec 2015
Location: Tulsa
Posts: 189
Total Cats: 17
Default

May I ask why your boost target is higher at 80% throttle than 100%?
dr_boone is offline  
Old 02-16-2017, 10:41 AM
  #9  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

Probably for testing.
aidandj is offline  
Old 02-16-2017, 11:38 AM
  #10  
Retired Mech Design Engr
Thread Starter
iTrader: (3)
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,009
Total Cats: 857
Default

Originally Posted by dr_boone
May I ask why your boost target is higher at 80% throttle than 100%?
Yes, for testing. When goal was correctly set higher, at 100%, two things: First, I kept hitting over-boost. I have not dyno'd at such a high boost, so I don't know where I am yet; Second, time at high boost is very short, so no time to determine when I get to oscillation (which, as I stated, I have not gotten to yet).

Here is a snapshot of the non-control in "Basic" mode with slider at 350. Same as the MSI posted above:


DNMakinson is offline  
Old 03-19-2017, 02:46 PM
  #11  
Ian
Junior Member
iTrader: (2)
 
Ian's Avatar
 
Join Date: Jan 2012
Posts: 167
Total Cats: 4
Default

This was very helpful, thanks for sharing guys.

DNMakinson, from what I've learned your issues with holding target boost and overboost are probably related to your Boost Control Lower Limit Delta setting of 15kPa. From the docs:
  • Boost Control Lower Limit Delta - Boost pressure must be within this many kPa of the target boost before closed loop control will activate. Outside of this range the valve is held wide open (keeping the wastegate shut) for fastest spooling.
Ian is offline  
Old 03-19-2017, 02:51 PM
  #12  
Retired Mech Design Engr
Thread Starter
iTrader: (3)
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,009
Total Cats: 857
Default

Originally Posted by Ian
This was very helpful, thanks for sharing guys.

DNMakinson, from what I've learned your issues with holding target boost and overboost are probably related to your Boost Control Lower Limit Delta setting of 15kPa. From the docs:
  • Boost Control Lower Limit Delta - Boost pressure must be within this many kPa of the target boost before closed loop control will activate. Outside of this range the valve is held wide open (keeping the wastegate shut) for fastest spooling.
Agreed.

I am now at 30, and it is much more tamed.

Another thing I found. Do not use Boost Tolerance. Lifting throttle brings on overboots cut. There may be a use for it, but not that I can find.

EDIT: Also, I found that, in the end, I needed 65% for my maximum setting to truly keep the wastegate closed. And 10% minimum, as sometimes 13% is needed for actual control.

Here is today's picture of boost following target with throttle:

Attached Files
File Type: msl
2017-03-19_08_5k.msl (4.53 MB, 96 views)

Last edited by DNMakinson; 03-20-2017 at 06:14 PM. Reason: Added Log that goes with that Pic
DNMakinson is offline  
Old 03-19-2017, 04:50 PM
  #13  
Junior Member
iTrader: (1)
 
ramensoop's Avatar
 
Join Date: Jan 2016
Location: Humble, TX
Posts: 160
Total Cats: 29
Default

I've been working on this also, getting good results...

Just curious what is the idea behind different boost targets at different TPS values? Being as i'm still tuning, I just have the whole table set to one value (150 right now).
ramensoop is offline  
Old 03-19-2017, 05:01 PM
  #14  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

Originally Posted by ramensoop
I've been working on this also, getting good results...

Just curious what is the idea behind different boost targets at different TPS values? Being as i'm still tuning, I just have the whole table set to one value (150 right now).
So you have have linear throttle based boost. Half throttle, half boost, 3/4 throttle 3/4 boost.
aidandj is offline  
Old 03-19-2017, 05:05 PM
  #15  
Retired Mech Design Engr
Thread Starter
iTrader: (3)
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,009
Total Cats: 857
Default

Right. Ends up being roughly throttle position = torque.
DNMakinson is offline  
Old 03-22-2017, 07:07 PM
  #16  
Retired Mech Design Engr
Thread Starter
iTrader: (3)
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,009
Total Cats: 857
Default

One other reasons n: it reduces the amount of boost that is built, and then throttled. I other words, if at 1/2 throttle, you ask for your full boost, and get it in the manifold while dropping some pressure across the throttle, that is inefficient and hard on things. But if you don't ask for full body until you fully open the throttle, that is more better.

This is of none effect after 70%, because a throttle valve has little effect on flow between 70 & 100%.
DNMakinson is offline  
Old 03-22-2017, 09:23 PM
  #17  
Junior Member
iTrader: (1)
 
ramensoop's Avatar
 
Join Date: Jan 2016
Location: Humble, TX
Posts: 160
Total Cats: 29
Default

Good info, thanks! Guess ill start working on that.
ramensoop is offline  
Old 04-27-2017, 01:23 PM
  #18  
Junior Member
iTrader: (3)
 
fwman1's Avatar
 
Join Date: Mar 2008
Location: Alabama
Posts: 149
Total Cats: 5
Default

I found this over in the Megasquirt Support Forum...The last few posts on page one are especially interesting. PID values can go up to 200. I was just assuming the max was 100, but really that is the mid-point.
Basically they are saying "Using a smaller delta and higher PID numbers will help it reach and stay on target."

I was having the same issue as this guy, where it appeared to work well in the lower gears and not as well in the higher gears...

Megasquirt Support Forum (MSEXTRA) ? Closed loop Boost Controller not working (View topic)
fwman1 is offline  
Old 04-27-2017, 04:38 PM
  #19  
Senior Member
iTrader: (1)
 
Bronson M's Avatar
 
Join Date: Feb 2015
Posts: 1,106
Total Cats: 217
Default

Thank you for sharing this, I thought I was going crazy with PID #'s in the 150/100/100 range and still seeing lazy duty reactions. I'll try ramping it up and see if I can finally get rid of the boost drop off I've been fighting.
Bronson M is offline  
Old 04-27-2017, 05:41 PM
  #20  
Junior Member
iTrader: (1)
 
leboeuf's Avatar
 
Join Date: May 2013
Location: Sandia Park, NM
Posts: 452
Total Cats: 50
Default

I've been fighting with this as well...
My situation is aggravated by a 2000ft elevation change and usually a 15degF drop in temp during my drive home.
Everything is within ~5kpa of target at 70degF, but as I get closer to home it shoots into overboost.

I believe the manual still states the P is back asswards with 0 being the highest coefficient and apparently 200 the smallest?
Good to know that 200 is the lower (or upper?) limit. I'll start venturing into that realm.
leboeuf is offline  



All times are GMT -4. The time now is 09:25 PM.