Notices
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 Aug 29, 2017 | 09:10 PM
  #41  
pdexta's Avatar
Elite Member
iTrader: (17)
 
Joined: Aug 2007
Posts: 2,954
Total Cats: 184
From: Knoxville, TN
Default

I set my duty cycles today this evening and ended up with Min: 17%, Max: 90%.

I went out to make some pulls, results below. I'm having massive issues with integral windup, this was with 40 for the delta, 4th gear (6sp). It's bad enough the sensitivity slider is useless since it overboost regardless of the setting. I've already got a conservative boost duty table set up, so I skipped "setup mode" and went straight into "basic mode".

**Actually now that I look at the screenshots, maybe it's getting a little better with increased sensitivity. Seems like it's staying out of boost cut longer each pull.**









I also made pulls in Open Loop and at Wastegate pressure to demonstrate what the boost duty table is commanding, as well as that the boost controller is working.





I noticed 18psi's settings have the solenoid frequency at 26Hz where mine is at 39Hz, is my setting wrong and possibly causing an issue? It's a DIY Autotune EBC.

Any suggestions are welcome. I guess I can go ahead and try the lower delta, but I've been down that road and know what issues it opens up.
Old Aug 29, 2017 | 09:15 PM
  #42  
ridethecliche's Avatar
Elite Member
iTrader: (2)
 
Joined: Aug 2016
Posts: 3,890
Total Cats: 146
From: New Fucking Jersey
Default

Aidan, right, I understand that. I'm just trying to figure out why you're overboosting like you are. Is it a function of things just not playing nice with the EFR wastegate?

Pdexta, see if my EBC frequency works better for you. Aidan has written that the lowest value makes it EBC easier to tune.

Last edited by ridethecliche; Aug 29, 2017 at 09:44 PM.
Old Aug 29, 2017 | 09:23 PM
  #43  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

He doesn't have an EFR. Like I said before its "windup" the control loop is trying to hit something that is physically impossible, so it keeps trying harder and harder.

pdexta. In the latest 1.5.1 betas they added logging for the actual P, I, and D calculated values. If you have the ability to SDCard log you should give it a try.

http://www.msextra.com/forums/viewto...6c352&start=20

Also. I have found that even when the solenoid is making noise at 90% DC, it isn't actually affecting spool until down at 60% for me.

Until I see multiple setups where the "noise test" and the "spool tests" are identical I won't trust just listening to the valve.
Old Aug 29, 2017 | 09:45 PM
  #44  
ridethecliche's Avatar
Elite Member
iTrader: (2)
 
Joined: Aug 2016
Posts: 3,890
Total Cats: 146
From: New Fucking Jersey
Default

He has a DIY ebc. You've written elsewhere that the lowest value that works for the freq is easiest to tune, no? That's why I'm using 19 AFAIK.
Old Aug 30, 2017 | 12:32 AM
  #45  
Lexzar's Avatar
Senior Member
iTrader: (2)
 
Joined: Nov 2013
Posts: 953
Total Cats: 41
From: Redlands, CA
Default

From the DIY ebc page, "It operates on a frequency of 19.5-40 Hz and is practically a wire-in replacement for the now-discontinued GM EBC Solenoid."

Also I wonder what keeps my setup being so easy to tune.
Old Aug 30, 2017 | 12:43 AM
  #46  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

Can you do 4th gear pulls to 22psi starting at 1500rpm and starting at 5k rpm? If not your setup is irrelevant. 10-15psi is easy to tune. Things happen slower, and you aren't that far above wastegate pressure.
Old Aug 30, 2017 | 12:50 AM
  #47  
18psi's Avatar
Thread Starter
VladiTuned
iTrader: (76)
 
Joined: Apr 2008
Posts: 35,821
Total Cats: 3,482
Default

Originally Posted by aidandj
Can you do 4th gear pulls to 22psi starting at 1500rpm and starting at 5k rpm? If not your setup is irrelevant. 10-15psi is easy to tune. Things happen slower, and you aren't that far above wastegate pressure.
I can post a log of 50psi pressures just from thsi week

not a miata tho
Old Aug 30, 2017 | 12:52 AM
  #48  
Lexzar's Avatar
Senior Member
iTrader: (2)
 
Joined: Nov 2013
Posts: 953
Total Cats: 41
From: Redlands, CA
Default

Originally Posted by aidandj
Can you do 4th gear pulls to 22psi starting at 1500rpm and starting at 5k rpm? If not your setup is irrelevant. 10-15psi is easy to tune. Things happen slower, and you aren't that far above wastegate pressure.
Old Aug 30, 2017 | 12:53 AM
  #49  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

Originally Posted by 18psi
I can post a log of 50psi pressures just from thsi week

not a miata tho
On 1.4.1+? With an internal gate?
Old Aug 30, 2017 | 07:04 AM
  #50  
ridethecliche's Avatar
Elite Member
iTrader: (2)
 
Joined: Aug 2016
Posts: 3,890
Total Cats: 146
From: New Fucking Jersey
Default

Originally Posted by aidandj
Can you do 4th gear pulls to 22psi starting at 1500rpm and starting at 5k rpm? If not your setup is irrelevant. 10-15psi is easy to tune. Things happen slower, and you aren't that far above wastegate pressure.
Fair enough
Old Aug 30, 2017 | 03:46 PM
  #51  
RichieVee's Avatar
Newb
 
Joined: Sep 2015
Posts: 20
Total Cats: -21
Default

Originally Posted by aidandj
He doesn't have an EFR. Like I said before its "windup" the control loop is trying to hit something that is physically impossible, so it keeps trying harder and harder.
Don't know what log you're looking at but its not the one I can see. There's no wind up. You can tell by the way the boost duty is getting lower not higher.
Reply
Leave a poscat -1 Leave a negcat
Old Aug 30, 2017 | 04:30 PM
  #52  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

Compare his open loop log vs closed loop log. It is not dropping as fast as it should be. I bet if you data logged the PID parameters you would see the integral term winding up.
Old Aug 30, 2017 | 04:49 PM
  #53  
RichieVee's Avatar
Newb
 
Joined: Sep 2015
Posts: 20
Total Cats: -21
Default

I'm more interested in comparing his wastegate and open loop logs. They look near identical.
Its likely that the overboost in closed loop is caused by the initial duty cycle value being set too high.
Reply
Leave a poscat -1 Leave a negcat
Old Aug 30, 2017 | 04:51 PM
  #54  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

Um one is like an extra 4-5psi?

163 vs 190
Old Aug 30, 2017 | 05:04 PM
  #55  
pdexta's Avatar
Elite Member
iTrader: (17)
 
Joined: Aug 2007
Posts: 2,954
Total Cats: 184
From: Knoxville, TN
Default

Originally Posted by aidandj
Also. I have found that even when the solenoid is making noise at 90% DC, it isn't actually affecting spool until down at 60% for me.

Until I see multiple setups where the "noise test" and the "spool tests" are identical I won't trust just listening to the valve.
This was perhaps an enlightening moment for me. What if "max" wasn't "max duty cycle that you can hear the solenoid clicking" but instead "max useful duty cycle for your given setup"?

The open loop duty cycle for my target boost is 27. Setting "max" to 30 creates an artificial ceiling that prevents windup. I gave it a try and after struggling with this for over a year the result was quite a beauty.



I'm sure it gives up a little spool, but nothing I can't live with. From the log it looks like I can increase my max a little higher to help with that and bring it up to target quicker. Now I'm going to start bumping up the sensitivity slider to be more aggressive. This definitely seems like a great solution for those of us struggling with windup issues.
Old Aug 30, 2017 | 05:06 PM
  #56  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

Glad to see it. Setting min and max for me was an enlightening experience. It makes things a lot better.
Old Aug 30, 2017 | 08:34 PM
  #57  
ridethecliche's Avatar
Elite Member
iTrader: (2)
 
Joined: Aug 2016
Posts: 3,890
Total Cats: 146
From: New Fucking Jersey
Default

Originally Posted by pdexta
This was perhaps an enlightening moment for me. What if "max" wasn't "max duty cycle that you can hear the solenoid clicking" but instead "max useful duty cycle for your given setup"?

The open loop duty cycle for my target boost is 27. Setting "max" to 30 creates an artificial ceiling that prevents windup. I gave it a try and after struggling with this for over a year the result was quite a beauty.



I'm sure it gives up a little spool, but nothing I can't live with. From the log it looks like I can increase my max a little higher to help with that and bring it up to target quicker. Now I'm going to start bumping up the sensitivity slider to be more aggressive. This definitely seems like a great solution for those of us struggling with windup issues.
This is exactly why my max is set to 60 instead of 86. Think of all the extra work the PID algorithm has to do if it's oscillating/calculating a value 20-30 higher than it needs to be.

I feel like the reality is that the 'max' value is something that you can find a happy medium with. I.e. faster spool, without overboost. The sound test just gives you a starting basis for what the operational (read:not functional) min and max are. I started with a pretty narrow range so as to get a better hold of things.

I think my max could be a bit higher and my table could be set up to be a tiny bit higher since i undershoot at target. But it works pretty well so....
I do wonder how things would be affected if I was running 2x as much boost or something. Unfortunately my ***** aren't big enough to try that haha.
Old Aug 30, 2017 | 08:49 PM
  #58  
Savington's Avatar
Former Vendor
iTrader: (31)
 
Joined: Nov 2006
Posts: 15,442
Total Cats: 2,106
From: Sunnyvale, CA
Default

In theory, it defeats the purpose of EBC, since it doesn't work much differently than an MBC. In reality, the difference is small and you can't argue with the results.
Old Aug 30, 2017 | 09:14 PM
  #59  
DNMakinson's Avatar
Elite Member
iTrader: (3)
 
Joined: Jan 2013
Posts: 5,030
Total Cats: 861
From: Seneca, SC
Default

Originally Posted by Savington
In theory, it defeats the purpose of EBC, since it doesn't work much differently than an MBC. In reality, the difference is small and you can't argue with the results.
I think EBC has a lot of advantages over MBC, other than holding atmospheric pressure in the wastegate actuator:

1) Ability to have boost rise with RPM
2) Ability to have boost target move with throttle position
3) Ability to change the settings with a computer, and know what you changed them to (once dialed in) without even consulting a boost gauge
4) Ability to have key-switch actuated high and low boost range
Old Aug 30, 2017 | 09:29 PM
  #60  
pdexta's Avatar
Elite Member
iTrader: (17)
 
Joined: Aug 2007
Posts: 2,954
Total Cats: 184
From: Knoxville, TN
Default

^ 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.

But like rtc said, it's all about finding a happy medium. I can certainly gain back a little of the spool I lost. For now I'm just ecstatic to feel like I'm really making some progress after a whole lot of failures.



All times are GMT -4. The time now is 12:41 AM.