MEGAsquirt A place to collectively sort out this megasquirt gizmo

MS EBC Duty Cycle question

Thread Tools
 
Search this Thread
 
Old 05-08-2014, 09:02 AM
  #21  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

you also should be hooked up in a way that 0% duty cycle = wastegate and only anything about that adds boost.

otherwise this suggests the MS has to be running in order to run wastegate and if the solenoid/ms fails you will overboost.

when the solenoid is depowered you should be able to bloe directly through it to the wastegate actuator. in turn, this will open the wastegate. So if the solenoid fails, which they do, it will default to wastegate pressure.

when the MS rapidly toggles ground, only then should you raise boost.

p0i0d0 should overboost intensely.
Braineack is offline  
Old 05-08-2014, 09:22 AM
  #22  
Senior Member
Thread Starter
iTrader: (5)
 
mlev's Avatar
 
Join Date: Nov 2013
Location: Wisconsin
Posts: 655
Total Cats: 70
Default

Originally Posted by mlev
I set up my EBC last night. I have heard "you don't want to make it so that MegaSquirt has to intervene in order for your wastegate to open" which makes perfect sense...

I hooked up my EBC (DIY Auto Tune one) according to the directions on DIY Auto Tune...and then tested by blowing into one end of the EBC. with no power hooked to the EBC, air flowed through correctly from one barb to the other, and the 3rd hole (with no barb) was blocked...
Originally Posted by Braineack
you also should be hooked up in a way that 0% duty cycle = wastegate and only anything about that adds boost.

otherwise this suggests the MS has to be running in order to run wastegate and if the solenoid/ms fails you will overboost.

when the solenoid is depowered you should be able to bloe directly through it to the wastegate actuator. in turn, this will open the wastegate. So if the solenoid fails, which they do, it will default to wastegate pressure.

when the MS rapidly toggles ground, only then should you raise boost.

p0i0d0 should overboost intensely.

Duuuudeee.
mlev is offline  
Old 05-08-2014, 09:26 AM
  #23  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

dont ever assume I read.


can you even in OL mode, set your DC to say 50% and hear it cycling?
Braineack is offline  
Old 05-08-2014, 10:44 AM
  #24  
Senior Member
Thread Starter
iTrader: (5)
 
mlev's Avatar
 
Join Date: Nov 2013
Location: Wisconsin
Posts: 655
Total Cats: 70
Default

Originally Posted by mlev
Sorry, beating a dead horse here, but this isn't true for me. At least not with the default settings.

Am I supposed to have the polarity set to "Normal"? Because it defaults to Inverted.

As of right now I'm still running open loop...Duty Cycle - 100 I'm at WG pressure. I dropped Duty Cycles to 70 across the board (basically using my ebc as an mbc kindasorta) and i hit about 9-10psi pretty consistantly on a 6psi wg.
I have not personally put my ear on the solinoid, but based on the above information I assume it is cycling correctly.
mlev is offline  
Old 05-08-2014, 02:18 PM
  #25  
Senior Member
Thread Starter
iTrader: (5)
 
mlev's Avatar
 
Join Date: Nov 2013
Location: Wisconsin
Posts: 655
Total Cats: 70
Default

Ok, so I switched back to open loop and then switched my polarity to "normal" and now 0 duty cycle is WG pressure. 35% duty cycle had me holding about 9psi after spool.

I read through the prior linked thread on the new CL PID EBC tuning and i'll give it a shot this evening after work.
mlev is offline  
Old 05-08-2014, 04:18 PM
  #26  
Senior Member
iTrader: (8)
 
petrolmed's Avatar
 
Join Date: Feb 2012
Location: NC
Posts: 619
Total Cats: 53
Default

So when you say switch polarity, are you swapping the +12V and ground wires or is there a simple setting to reverse?

EBC noob I is. Just got my DIYAutoTune unit too and will be setting it up soon. 'Scribin for your eventual success to mirror.
petrolmed is offline  
Old 05-08-2014, 04:23 PM
  #27  
Senior Member
Thread Starter
iTrader: (5)
 
mlev's Avatar
 
Join Date: Nov 2013
Location: Wisconsin
Posts: 655
Total Cats: 70
Default

I mean the "polarity" setting under the boost control settings in tunerstudio/megasquirt.

I _believe_ all it actually does is change the way that MS reads the numbers.

For example, when my polarity was "inverted" and my duty cycle was 100 I was at WG pressure. When my polarity was "normal" and my duty cycle was 0 I was at WG pressure.
mlev is offline  
Old 05-08-2014, 04:31 PM
  #28  
Elite Member
iTrader: (1)
 
Chiburbian's Avatar
 
Join Date: Feb 2008
Location: Loganville, GA
Posts: 2,331
Total Cats: 202
Default

Looks like you are on the right track mlev. I switched to open loop because I couldn't get closed loop working to my satisfaction and I wanted a fall-back solution until I got it right.
Chiburbian is offline  
Old 05-08-2014, 05:18 PM
  #29  
Senior Member
iTrader: (8)
 
petrolmed's Avatar
 
Join Date: Feb 2012
Location: NC
Posts: 619
Total Cats: 53
Default

OK sweet that's a simple enough fix. I'm really excited for the spooling goodness of the EBC but it sounds like everyone has teething issues setting it up just right, open loop delivers variable pressures, and closed loop transitions are tricky. I've read hornetball's threads but still.

My MS1 will undoubtedly make it even easier lol.
petrolmed is offline  
Old 05-08-2014, 07:01 PM
  #30  
Senior Member
Thread Starter
iTrader: (5)
 
mlev's Avatar
 
Join Date: Nov 2013
Location: Wisconsin
Posts: 655
Total Cats: 70
Default

This is ******* stupid and i'm about ready to switch back to open loop.

In open loop 100% duty cycle is now infinity pressure (closed solinoid) and 0% duty cycle is now WG pressure (4-5psi on a 6psi WG after pressure loss). 35% duty cycle holds me pretty steady at about 9psi.

CLOSED LOOP: I have my polarity set to Normal, with P100,I0,D0. To the best of my knowledge that should be WG pressure, right? Wrong.



I spool up to about 11 1/2 PSI before lifting. 180ish kpa. My target boost is 150kpa across the board btw.

In my log file it looks like my boost duty cycle goes from 0 to 100 right around 112 kpa.

What am I missing here?

Attached Thumbnails MS EBC Duty Cycle question-logged-pull.png   MS EBC Duty Cycle question-boost-control-settings.png  
mlev is offline  
Old 05-08-2014, 07:17 PM
  #31  
Senior Member
Thread Starter
iTrader: (5)
 
mlev's Avatar
 
Join Date: Nov 2013
Location: Wisconsin
Posts: 655
Total Cats: 70
Default

Do I need to flip-flop my closed duty % and open duty %? Would be stellar if there was some documentation on this.
mlev is offline  
Old 05-08-2014, 08:44 PM
  #32  
Senior Member
iTrader: (4)
 
Harv's Avatar
 
Join Date: Jul 2006
Location: Shelton, CT
Posts: 675
Total Cats: 2
Default

I'm glad you're doing this closed loop stuff. I was just about to do it and only barely figured out how my wastegate was acting up when I went over certain boost levels, between that and the whole 0 = 100, 100 = 0 thing I spent two weeks doing open loop.

Based on what you are seeing it seems like you need to go with the instructions they have here where PID starts off at 0 across the board? Or is the firmware not new enough?

Megasquirt MSEXTRA / MS3EFI • Boost control change testing (MS2 and MS3) (View topic)
Harv is offline  
Old 05-08-2014, 09:10 PM
  #33  
Senior Member
Thread Starter
iTrader: (5)
 
mlev's Avatar
 
Join Date: Nov 2013
Location: Wisconsin
Posts: 655
Total Cats: 70
Default

Where is this "initial value" table they keep talking about?
mlev is offline  
Old 05-08-2014, 10:43 PM
  #34  
Senior Member
iTrader: (3)
 
midpack's Avatar
 
Join Date: Jul 2011
Location: STL
Posts: 524
Total Cats: 24
Default

Initial values table must have been added after your firmware version.



5. Boost Control
To make things more intuitive we have now changed the firmware so that
- "Normal" is the most typical output polarity setting
- larger boost duty% numbers mean more boost.

If you are upgrading from a previous firmware version, then the Boost Output polarity setting will be the opposite. For most users it will now be "Normal".
This is true whether using open- or closed-loop boost control.

If you are using closed-loop, you will need to retune your PID settings and alter the sensitivity slider as required.

Open loop boost users most likely need to set their table so that:
new_cell_value = 100 - old_cell_value

Remembering that more duty = more boost.

I still say you should be set to normal polarity. What happens if you set P to 0?
Attached Thumbnails MS EBC Duty Cycle question-qk4vuil.png  
midpack is offline  
Old 05-09-2014, 01:25 AM
  #35  
Elite Member
 
Zaphod's Avatar
 
Join Date: Mar 2006
Location: Schwarzenberg, Germany
Posts: 1,553
Total Cats: 101
Default

Show us your boost target and initial value tables...
Zaphod is offline  
Old 05-09-2014, 07:15 AM
  #36  
Senior Member
Thread Starter
iTrader: (5)
 
mlev's Avatar
 
Join Date: Nov 2013
Location: Wisconsin
Posts: 655
Total Cats: 70
Default

Originally Posted by mlev
My target boost is 150kpa across the board btw.
Originally Posted by mlev
Where is this "initial value" table they keep talking about?
I'll try updating my firmware this weekend, but I'm on 3.3.0 so idkwtf.
mlev is offline  
Old 05-09-2014, 08:54 AM
  #37  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

it's an MS3 thing. I forget people still even run ms2. (ms2 got the initial duties thing in one of the 3.3.2 betas)


You should be using the 35% freq. value for the DIY solenoid.

and try starting at P 200.


also...do you have overboost protection on? another ms3 thing, CL won't work without overboost turned on.

Last edited by Braineack; 05-09-2014 at 09:10 AM.
Braineack is offline  
Old 05-09-2014, 09:33 AM
  #38  
Senior Member
iTrader: (3)
 
midpack's Avatar
 
Join Date: Jul 2011
Location: STL
Posts: 524
Total Cats: 24
Default

Originally Posted by Zaphod
Show us your boost target and initial value tables...
Boost target is 180kpa everywhere. Initial value is pretty much a guess based on a couple pulls with open loop enabled and 100% untested. I expect lots of tweaking will be needed. But I just noticed timing is stuck in fixed mode so that needs to be worked out first.
midpack is offline  
Old 05-09-2014, 09:46 AM
  #39  
Senior Member
Thread Starter
iTrader: (5)
 
mlev's Avatar
 
Join Date: Nov 2013
Location: Wisconsin
Posts: 655
Total Cats: 70
Default

Originally Posted by Braineack
it's an MS3 thing. I forget people still even run ms2. (ms2 got the initial duties thing in one of the 3.3.2 betas)


You should be using the 35% freq. value for the DIY solenoid.

and try starting at P 200.


also...do you have overboost protection on? another ms3 thing, CL won't work without overboost turned on.
Thanks Brain, I'll give it a shot. I didn't even realize I could do 200%...?

I have a feeling I'll end up building an ms3x here pretty soon...
mlev is offline  
Old 05-09-2014, 02:34 PM
  #40  
Senior Member
iTrader: (4)
 
Harv's Avatar
 
Join Date: Jul 2006
Location: Shelton, CT
Posts: 675
Total Cats: 2
Default

That's the other thing I was thinking last night, you might have to go to 200% for P. Makes little sense when they list it as a percent value.
Harv is offline  


Quick Reply: MS EBC Duty Cycle question



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