MEGAsquirt A place to collectively sort out this megasquirt gizmo

ITT: MS3 1.4.0+ and Closed Loop EBC

Thread Tools
 
Search this Thread
 
Old 08-30-2017, 10:56 PM
  #61  
Former Vendor
iTrader: (31)
 
Savington's Avatar
 
Join Date: Nov 2006
Location: Sunnyvale, CA
Posts: 15,442
Total Cats: 2,099
Default

Originally Posted by pdexta
^ I think Savington was specifically referring to my low max setting, in that respect he's correct. My low max setting solved a major issue I was having, but it makes my ebc work a lot more like a manual controller.
this
Savington is offline  
Old 08-30-2017, 11:33 PM
  #62  
Retired Mech Design Engr
iTrader: (3)
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,009
Total Cats: 856
Default

Originally Posted by Savington
this
Oh. OK.
DNMakinson is offline  
Old 08-31-2017, 12:20 AM
  #63  
Elite Member
iTrader: (16)
 
patsmx5's Avatar
 
Join Date: Aug 2007
Location: Houston, TX
Posts: 9,293
Total Cats: 475
Default

EDIT: This was not on 1.4.1+ Still good EBC, but different tuning process.

This is the best I could ever get out of EBC, PID closed loop. It moves around up and down about 0.8kPa from target. No filtering at all on the MAP signal being plotted. It is set to hold valve closed until 20kPa from target for best spoolup. No overshoot, no undershoot.

EDIT: Top plot, red line is MAP, white is RPM. Sorry, pic didn't capture trace labels.
Attached Thumbnails ITT: MS3 1.4.0+ and Closed Loop EBC-pats-ebc.jpg  

Last edited by aidandj; 08-31-2017 at 10:56 AM.
patsmx5 is online now  
Old 08-31-2017, 09:02 AM
  #64  
Elite Member
iTrader: (17)
 
pdexta's Avatar
 
Join Date: Aug 2007
Location: Knoxville, TN
Posts: 2,949
Total Cats: 182
Default

Still messing with it, but it's getting better. I don't even think I'll mess with advanced mode at this point.

5th gear pull now overshoots just a bit but nothing crazy.


I'm on my stock wheels with all season tires, so 1st and 2nd are useless, but 3-4 and a touch of 5th gear look great.
pdexta is offline  
Old 08-31-2017, 10:14 AM
  #65  
Senior Member
iTrader: (2)
 
Lexzar's Avatar
 
Join Date: Nov 2013
Location: Redlands, CA
Posts: 953
Total Cats: 41
Default

Lexzar is offline  
Old 08-31-2017, 10:44 AM
  #66  
Elite Member
iTrader: (2)
 
ridethecliche's Avatar
 
Join Date: Aug 2016
Location: New Fucking Jersey
Posts: 3,890
Total Cats: 143
Default

A little overshoot is normal. I think that's just the algorithm working. In fact, from what I've seen it's actually what you want. I'd only worry about it if it causes overboost or oscillations.

Those logs look so much better!
ridethecliche is offline  
Old 08-31-2017, 10:51 AM
  #67  
Elite Member
iTrader: (16)
 
patsmx5's Avatar
 
Join Date: Aug 2007
Location: Houston, TX
Posts: 9,293
Total Cats: 475
Default

Originally Posted by ridethecliche
A little overshoot is normal. I think that's just the algorithm working. In fact, from what I've seen it's actually what you want. I'd only worry about it if it causes overboost or oscillations.

Those logs look so much better!
Overboosting is not what you want. The idea of boost control is to control the level of boost. A boost spike right at spoolup in the midrange is exactly how you break stuff.
patsmx5 is online now  
Old 08-31-2017, 10:52 AM
  #68  
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 patsmx5
This is the best I could ever get out of EBC, PID closed loop. It moves around up and down about 0.8kPa from target. No filtering at all on the MAP signal being plotted. It is set to hold valve closed until 20kPa from target for best spoolup. No overshoot, no undershoot.

EDIT: Top plot, red line is MAP, white is RPM. Sorry, pic didn't capture trace labels.
Was this on firmware version 1.4.1 or higher?
aidandj is offline  
Old 08-31-2017, 10:55 AM
  #69  
Elite Member
iTrader: (16)
 
patsmx5's Avatar
 
Join Date: Aug 2007
Location: Houston, TX
Posts: 9,293
Total Cats: 475
Default

Originally Posted by aidandj
Was this on firmware version 1.4.1 or higher?
Oh, not it wasn't. I guess this thread is specific for that version?

EDIT, yeah, sorry, it's in the title. Regardless, spikes and overshoot/undershoot are not normal or good.
patsmx5 is online now  
Old 08-31-2017, 10:56 AM
  #70  
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 patsmx5
Oh, not it wasn't. I guess this thread is specific for that version?
Yeah, the algorithm and setup process changed for that version. PID tuning is still similar but it uses an ideal algorithm and bases off of a bias table.
aidandj is offline  
Old 09-01-2017, 07:16 AM
  #71  
Retired Mech Design Engr
iTrader: (3)
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,009
Total Cats: 856
Default

This is going to be a picture dump of (3) settings on my EBC. First is the settings themselves, with Max % at 75%, and Derivative at 20. Note that I have a large LLDelta as I want the controller controlling as much as possible.

Then snapshots of logs at:
65% & D=10
75% & D=10
75% & D=20

I'm not sure I saw much difference, but look and see if you think the performance is what should be expected. This is with a baby Mitsubishi turbo.




General Settings



Bias Settings



Targets

Then throttle punches at 4K RPM with the (3) settings. It may be the D=20 spools a little slower. Conditions were not identical between runs. I have overlaid the target and kPa curves.



4K punch at 65% and D=10



4K punch at 75% and D=10



4K punch at 75% and D=20, starting at low kPa



4K punch at 75% and D=20, starting at 100 kPa

Largest overshoot is 10kPa. Should I try for less? I'm thinking I'm OK here.





65%, D=10, 2nd gear run. No overshoot.



75%, D=20, throttle play. Note target and MAP track pretty well.



A 1st and 2nd run-up at 75%, D=20




And last, A long pull. you can see the Boost Duty moving to try to keep SP and PV (Target and kPa) together. To me, that is what we are after.

EDIT: I had intended to only keep the top graph from each run as that is where the info is.
DNMakinson is offline  
Old 09-01-2017, 08:07 AM
  #72  
Elite Member
iTrader: (2)
 
ridethecliche's Avatar
 
Join Date: Aug 2016
Location: New Fucking Jersey
Posts: 3,890
Total Cats: 143
Default

Originally Posted by patsmx5
Overboosting is not what you want. The idea of boost control is to control the level of boost. A boost spike right at spoolup in the midrange is exactly how you break stuff.
When I said overshoot, I meant like things going over by 5-7 kpa max. Not overboost.

Then again, that's what overboost cutoff is for!
ridethecliche is offline  
Old 09-06-2017, 10:13 AM
  #73  
Miotta FTW!
iTrader: (24)
 
Splitime's Avatar
 
Join Date: Jun 2006
Location: Chicagoland, IL
Posts: 4,290
Total Cats: 31
Default

I'm going to try and contribute my specific setup to this thread, hopefully we can build out a solid technique.
Car is a 2004 Mazdaspeed with Begi downpipe, FM Little Enchilada and a fullwidth ebay FMIC.
Ecu and boost controller setup is a recently built MS3Pro PNP and a Mac valve for boost control.


I'll start posting map shots and logs when I can run more tonight, last night got it working but needs lots of massaging.
Splitime is offline  
Old 09-06-2017, 11:54 AM
  #74  
VladiTuned
Thread Starter
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

LOVING all the input/contributions, thanks guys.
18psi is offline  
Old 09-20-2017, 10:37 AM
  #75  
Elite Member
iTrader: (17)
 
pdexta's Avatar
 
Join Date: Aug 2007
Location: Knoxville, TN
Posts: 2,949
Total Cats: 182
Default

This is a little different direction, but I seem to remember aidandj mentioning a while back that he runs multiple boost settings. Is that something that's relatively easy to set up? Right now I use both wastegate 160kpa pressure and EBC @ 210kpa, but I'd really like to set up a KILL MODE for when I want to break something.
pdexta is offline  
Old 09-20-2017, 10:42 AM
  #76  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

Boost control settings->Boost table switching

You can have it switch between tables or blend. I have it blend between tables. I believe I have a thread about it already.

Edit: found it. https://www.miataturbo.net/megasquir...control-86672/
aidandj is offline  
Old 09-20-2017, 11:42 AM
  #77  
Elite Member
iTrader: (17)
 
pdexta's Avatar
 
Join Date: Aug 2007
Location: Knoxville, TN
Posts: 2,949
Total Cats: 182
Default

I really appreciate you feeding me like you were my mama-bird.
pdexta is offline  
Old 09-20-2017, 03:25 PM
  #78  
Miotta FTW!
iTrader: (24)
 
Splitime's Avatar
 
Join Date: Jun 2006
Location: Chicagoland, IL
Posts: 4,290
Total Cats: 31
Default

With the help of our intrepid MT.net folks, I battled my way to a successful set of pulls at just under 12psi on my MSM using the MAC valve.

I'm still in "Setup mode", with my tables setup as follows for reference (test your way into the right numbers... mine aren't even done yet... but they work for ME).

Boost Target Table is setup for 170 across the board.
Boos Bias table is setup with 70 in all cells except for the last 3 higher RPM ones setup at 80. That is giving me a solid boost hit and hold on my setup currently.

One of my initial issues was not moving the Bias table up enough, I started doing it in 10 jumps across the entire table until I got to the boost level I wanted (it then tapered down through higher RPMs).

edit: Forgot to mention using a delta of 30 at this point

Last edited by Splitime; 09-20-2017 at 04:09 PM.
Splitime is offline  
Old 09-20-2017, 03:32 PM
  #79  
VladiTuned
Thread Starter
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

Yeah once you get the hang of it, it really works well.
The latest Miata I finished up, Eric (darkwood1) also runs a mac valve with a 2560 and has rock solid boost in both hot and cold set up with the process we outlined here and then with mild PID settings.
18psi is offline  
Old 09-20-2017, 07:19 PM
  #80  
Junior Member
iTrader: (3)
 
fwman1's Avatar
 
Join Date: Mar 2008
Location: Alabama
Posts: 149
Total Cats: 5
Default

18psi, Curious. What would you describe as mild PID setting/slider settings?

I'm trying to get a reference on when I have this working as well as it should be.
My settings seem to be working ok but I still have an 8-12 kpa overshoot depending on how I apply the load.
Thanks.

Last edited by fwman1; 09-20-2017 at 10:08 PM.
fwman1 is offline  


Quick Reply: ITT: MS3 1.4.0+ and Closed Loop EBC



All times are GMT -4. The time now is 02:16 PM.