MEGAsquirt A place to collectively sort out this megasquirt gizmo

Closed loop ebc for MS3

Thread Tools
 
Search this Thread
 
Old 09-18-2013, 06:16 PM
  #1  
Senior Member
Thread Starter
iTrader: (2)
 
Amellrotts's Avatar
 
Join Date: Oct 2011
Location: Hickory, NC
Posts: 675
Total Cats: 9
Question Closed loop ebc for MS3

I have read the thread on EBC but it was not clear what changes were made for MS3. Ken said in one of the posts that he changed the code for MS3 and the theory for tuning the EBC was different.

Can someone please explain what PID does and give me a starting point? I am looking for 18psi.

Thank you!
Amellrotts is offline  
Old 09-18-2013, 06:18 PM
  #2  
VladiTuned
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

You have found me. I am 18psi

You're welcome
18psi is offline  
Old 09-18-2013, 06:18 PM
  #3  
Senior Member
iTrader: (8)
 
aaronc7's Avatar
 
Join Date: Jun 2010
Location: Florida
Posts: 1,116
Total Cats: 43
Default

Boost Control
aaronc7 is offline  
Old 09-18-2013, 06:20 PM
  #4  
VladiTuned
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

oh wow that's perfect.

+props

That's what I was trying to explain to you yesterday all written out and with pictures
18psi is offline  
Old 09-18-2013, 06:23 PM
  #5  
Senior Member
iTrader: (8)
 
aaronc7's Avatar
 
Join Date: Jun 2010
Location: Florida
Posts: 1,116
Total Cats: 43
Default

Applies for latest MS2 firmware as well (what I used when I tuned my stuff up).
aaronc7 is offline  
Old 09-18-2013, 06:27 PM
  #6  
Senior Member
Thread Starter
iTrader: (2)
 
Amellrotts's Avatar
 
Join Date: Oct 2011
Location: Hickory, NC
Posts: 675
Total Cats: 9
Default

yeah, The other **** people were linking to on DIY website was the old MS2 stuff and I was afraid to use it. Thanks Aaron! That should be exactly what I needed!
Amellrotts is offline  
Old 09-18-2013, 06:42 PM
  #7  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Closed loop fuel requires 3 things:

- a 12x12 or so table of AFR targets vs RPM and MAP
- an open loop 12x12 table of injector on-times vs RPM and MAP (the VE table)
- and the O2 sensor and PID to provide feedback to trim the AFR

Why doesn't boost control do the same thing?:

- an 8x8 table of boost target vs RPM and TPS
- an 8x8 table of open loop table of boost solenoid duty cycle vs. RPM and target boost
- and PID to provide feedback to trim the boost solenoid duty


And then just like fuel auto-tune changes the VE table, boost autotune should do the same for the open-loop duty table.

Last edited by JasonC SBB; 09-18-2013 at 08:47 PM.
JasonC SBB is offline  
Reply
Leave a poscat -1 Leave a negcat
Old 09-18-2013, 06:46 PM
  #8  
Senior Member
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Lambertville, NJ
Posts: 1,215
Total Cats: 74
Default

Originally Posted by JasonC SBB
Closed loop fuel requires 3 things:

- a 12x12 or so table of AFR targets vs RPM and MAP
- an open loop 12x12 table of injector on-times vs RPM and MAP
- and the O2 sensor and PID to provide feedback to trim the AFR

Why doesn't boost control do the same thing?:

- an 8x8 table of boost target vs RPM and TPS
- an 8x8 table of open loop table of boost solenoid duty cycle vs. RPM and target boost
- and PID to provide feedback to trim the boost solenoid duty
Ooooh, ooooh, ooooh. I'd love that!
stefanst is offline  
Old 09-18-2013, 08:30 PM
  #9  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

And then just like fuel auto-tune changes the VE table, boost autotune should do the same for the open-loop duty table.
JasonC SBB is offline  
Old 09-18-2013, 09:35 PM
  #10  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

I generally welcome and enjoy your contributions Jason, but this one is making me wonder if you've ever actually used or tuned a MS3?

MS3 has several options for boost control:
-Standard open loop
-Closed loop with 8x8 boost target table
-Feed forward closed loop with 8x8 initial duty % table and 8x8 boost target table

Other algorithms exist to augment/supplement boost control as well, such as boost vs time after launch, boost vs VSS, boost vs gear, and a couple traction control strategies -- but I think these can be ignored for this conversation.

I think if you tried one of our closed loop strategies, you will find that the MS3 does an excellent job of closed loop control, and the "autotune" feature has potential to be a very dangerous solution to a problem that doesn't exist.


Originally Posted by JasonC SBB
Closed loop fuel requires 3 things:

- a 12x12 or so table of AFR targets vs RPM and MAP
- an open loop 12x12 table of injector on-times vs RPM and MAP (the VE table)
- and the O2 sensor and PID to provide feedback to trim the AFR

Why doesn't boost control do the same thing?:

- an 8x8 table of boost target vs RPM and TPS
- an 8x8 table of open loop table of boost solenoid duty cycle vs. RPM and target boost
- and PID to provide feedback to trim the boost solenoid duty


And then just like fuel auto-tune changes the VE table, boost autotune should do the same for the open-loop duty table.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 09-19-2013, 01:19 AM
  #11  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

I'd be curious to see datalogs of results, duty cycle, boost and boost target... flooring it at different RPMs, from different starting values of MAP.
JasonC SBB is offline  
Old 09-19-2013, 02:08 AM
  #12  
Elite Member
 
Zaphod's Avatar
 
Join Date: Mar 2006
Location: Schwarzenberg, Germany
Posts: 1,553
Total Cats: 101
Default

O.K. Jason, here you go.

Nr. 1
stomp on the throttle keeping it at 100%
4. Gear



Nr. 2
lighter throttle,
6. gear



Pretty darn good, I would say...
Attached Thumbnails Closed loop ebc for MS3-boost_1.jpg   Closed loop ebc for MS3-boost_2.jpg  
Zaphod is offline  
Old 09-19-2013, 08:53 AM
  #13  
Senior Member
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Lambertville, NJ
Posts: 1,215
Total Cats: 74
Default

I've looked and looked again and was unable to find the feed forward CL option. Is it in a newer FW release? I'm running one of the 1.2.x versions.
stefanst is offline  
Old 09-19-2013, 08:54 AM
  #14  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

I thought that was still in the alphas.
Braineack is offline  
Old 09-19-2013, 09:51 AM
  #15  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

Zaphod: tune your enrichment and look under the file menu for "save graph as PNG". the world will be a better place!

I'm kinda sad I never got to play with the new method of boost.
y8s is offline  
Old 09-19-2013, 09:56 AM
  #16  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

Originally Posted by stefanst
I've looked and looked again and was unable to find the feed forward CL option. Is it in a newer FW release? I'm running one of the 1.2.x versions.
The initial duty option is in the 1.3 chain, which is still considered alpha.
Downloadable here:
Megasquirt firmware downloads

This firmware also includes alternator control.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 09-19-2013, 11:51 AM
  #17  
Senior Member
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Lambertville, NJ
Posts: 1,215
Total Cats: 74
Default

And I thought I'd do some work on the house this weekend. Looks like I'll be installing FW and re-tuning instead :-)
stefanst is offline  
Old 09-19-2013, 12:56 PM
  #18  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Zaphod,

Thanks. Do you have a log where you went WOT at high RPM, such as a WOT upshift?
JasonC SBB is offline  
Old 09-19-2013, 01:14 PM
  #19  
Elite Member
 
Zaphod's Avatar
 
Join Date: Mar 2006
Location: Schwarzenberg, Germany
Posts: 1,553
Total Cats: 101
Default

Originally Posted by JasonC SBB
Zaphod,

Thanks. Do you have a log where you went WOT at high RPM, such as a WOT upshift?
I'll have a look.
Zaphod is offline  
Old 09-29-2013, 11:44 AM
  #20  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Here are mine:

Varying TPS ergo varying boost target. Note how it doesn't overshoot much and it hits the changing boost target quickly:



WOT'ing at different RPMs. Note how it hits full boost quickly with no overshoots even at different RPMs:
JasonC SBB is offline  


Quick Reply: Closed loop ebc for MS3



All times are GMT -4. The time now is 05:30 PM.