MEGAsquirt A place to collectively sort out this megasquirt gizmo

Got CL boost to work but some tuning tips?

Thread Tools
 
Search this Thread
 
Old 02-23-2013, 09:59 PM
  #1  
Newb
Thread Starter
 
Mr.Pibb's Avatar
 
Join Date: Feb 2012
Posts: 44
Total Cats: 8
Arrow Got CL boost to work but some tuning tips?

Hi. I posted this problem over on msextra, but you guys seem to be
more on the ball about this stuff.

Do these settings seem normal?
I'm trying to get a steady target of 255kpa, just to dial in PID,
but it overboosts. Cut is at 290kpa.

I'm using ms2 3.2.4.






The solenoid is hooked up like "external-wastegate" so when it losses power, there's only spring boost.

Also, while using the open-loop *duty % bassed, less duty cycle means more boost
and that works perfectly.

Any opinions or advice would be awesome.

I changed it over to
100
0
0
But haven't had a chance to test.
Attached Thumbnails Got CL boost to work but some tuning tips?-graph_zps9bc2319a.png   Got CL boost to work but some tuning tips?-untitled_zpsd26aed87.png   Got CL boost to work but some tuning tips?-wastegate_control.png  

Last edited by Mr.Pibb; 03-01-2013 at 05:03 PM.
Mr.Pibb is offline  
Old 02-23-2013, 10:31 PM
  #2  
Elite Member
iTrader: (1)
 
Leafy's Avatar
 
Join Date: Jun 2012
Location: NH
Posts: 9,479
Total Cats: 104
Default

Can you make your plot for this just have target boost, actual boost, error % and correction % all on the same section? From what I've learned with closed loop controls you 0 them out, increase the P till it oscilates, then back it down, then increase the I till it oscilates then bring it back down. And if you're having difficulties with oscilation add in some D. Also normally the P and I values are negative, if they're positive the system works backwards, IE if there is an error positive values make the error worse. I dont know if MS flips the neg and positive so it make sense for normal people or not.
Leafy is offline  
Old 02-23-2013, 11:58 PM
  #3  
Newb
Thread Starter
 
Mr.Pibb's Avatar
 
Join Date: Feb 2012
Posts: 44
Total Cats: 8
Default

Hi leafy.
I looked but can't find those %.

If you feel like it here's the very short datalog.
Attached Files
File Type: zip
2013-02-22_12.02.43.zip (445.2 KB, 53 views)
Mr.Pibb is offline  
Old 02-24-2013, 12:57 AM
  #4  
VladiTuned
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

Originally Posted by Leafy
Can you make your plot for this just have target boost, actual boost, error % and correction % all on the same section? From what I've learned with closed loop controls you 0 them out, increase the P till it oscilates, then back it down, then increase the I till it oscilates then bring it back down. And if you're having difficulties with oscilation add in some D. Also normally the P and I values are negative, if they're positive the system works backwards, IE if there is an error positive values make the error worse. I dont know if MS flips the neg and positive so it make sense for normal people or not.
this isn't romraider lol
18psi is offline  
Old 02-24-2013, 10:44 AM
  #5  
Elite Member
iTrader: (1)
 
Leafy's Avatar
 
Join Date: Jun 2012
Location: NH
Posts: 9,479
Total Cats: 104
Default

I was hoping he would figure out what the synonyms are in MS. Everything has different names for everything. And at worse if boost error % doesnt exist he can calculate it, I'm assuming you can make custom PIDs in MS.
Leafy is offline  
Old 02-24-2013, 11:03 AM
  #6  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

best answer: tune
Braineack is offline  
Old 02-24-2013, 03:32 PM
  #7  
Newb
Thread Starter
 
Mr.Pibb's Avatar
 
Join Date: Feb 2012
Posts: 44
Total Cats: 8
Default

So the way it is looks like it's working properly?
Mr.Pibb is offline  
Old 02-24-2013, 04:31 PM
  #8  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

did you say you had an external wastegate or not?
Braineack is offline  
Old 02-24-2013, 11:23 PM
  #9  
Newb
Thread Starter
 
Mr.Pibb's Avatar
 
Join Date: Feb 2012
Posts: 44
Total Cats: 8
Default

External wastegate and it's hooked up like "external 2-port wastegate" in the diy
diagram.

If the EBC is turned off it'll just run off of wastegate spring pressure.
Mr.Pibb is offline  
Old 02-25-2013, 08:07 AM
  #10  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

so at 100 0 0, you're shooting past your boost target?
Braineack is offline  
Old 02-25-2013, 07:41 PM
  #11  
Newb
Thread Starter
 
Mr.Pibb's Avatar
 
Join Date: Feb 2012
Posts: 44
Total Cats: 8
Default

I'll post back when I get some tuning time later this week.
Thanks for helping brain.
Mr.Pibb is offline  
Old 03-01-2013, 04:43 PM
  #12  
Newb
Thread Starter
 
Mr.Pibb's Avatar
 
Join Date: Feb 2012
Posts: 44
Total Cats: 8
Default

at
100
0
0

It still overboost. No change.









Now choosing inverted only goes to wastegate spring pressure.

What should I try out next?
It looks like inverted is working that solenoid alittle harder.
If the boost duty on that is correct, then the valve stays closed at cruise.
Can't be good for the valve can it?

Should I change closed duty % to 100 and open to 0?

Any advice or opinions are welcomed.

Attached Thumbnails Got CL boost to work but some tuning tips?-graph-normalebc_zps858f1a13.png   Got CL boost to work but some tuning tips?-graph-invertedebcspring_zpsaaa00d5b.png  

Last edited by Mr.Pibb; 03-01-2013 at 05:06 PM.
Mr.Pibb is offline  
Old 03-01-2013, 05:01 PM
  #13  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

if 100 0 0, and inverted makes you go to wastegate, now you need to start lowering p, and tune cl boost control.
Braineack is offline  
Old 03-02-2013, 03:35 PM
  #14  
Newb
Thread Starter
 
Mr.Pibb's Avatar
 
Join Date: Feb 2012
Posts: 44
Total Cats: 8
Default

Cool.
Problem solved. Just needed to be switched to inverted.
It doesn't say that in the manual.

P-10 I-0 D-0 in this pull.






When it says to turn P down until it overshoots alittle, by how much
do I need to see it overshoot?
And when "I" is adjusted it'll bring initial boost spike down while leveling off the high rpm boost drop?
Does "I" create boost oscillation?

In the manual it read to me that "I" is just to keep boost flat, but it looks pretty flat to me, so move on to 'D' to keep target to redline?
Attached Thumbnails Got CL boost to work but some tuning tips?-graph-boostponly_zps125ce206.png  
Mr.Pibb is offline  
Old 03-02-2013, 03:52 PM
  #15  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

im surprised its so close with those numbers. could be due to your method of EWG.

most of us end up like 20 20 80 or so.
Braineack is offline  
Old 03-03-2013, 04:06 AM
  #16  
Newb
Thread Starter
 
Mr.Pibb's Avatar
 
Join Date: Feb 2012
Posts: 44
Total Cats: 8
Default

Yeah it's pretty interesting. I think because 'i' and 'd' is at 0,
but once I touched 'i' then 'p' needed to be raised or it would spike hard.

P-18
I-15
D-0

Boost target set to 230kpa because 255kpa would wheelspin.
After overshoot, it would settle to 231-228kpa.

Seems real close to target but do I just simple turn 'P' up to get ride of the
overshoot? It goes to 247kpa.
Any input would be very appreciated. It's my first time tuning this.
Attached Thumbnails Got CL boost to work but some tuning tips?-graph-spike230kpatarget2_zps0ceccfa3.png  
Mr.Pibb is offline  
Old 03-03-2013, 07:55 AM
  #17  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

I might add in a touch more I, maybe a little D and see how it goes. but that looks pretty good to me right now.
Braineack is offline  
Old 03-09-2013, 08:27 PM
  #18  
Newb
Thread Starter
 
Mr.Pibb's Avatar
 
Join Date: Feb 2012
Posts: 44
Total Cats: 8
Arrow

Great success.

Every time I brought up "D", it would also need some "I", but when
I put in "I", then "D", needed to be brought up. HA.

Basically "I" made it osculate and "D" made it smooth but tapered boost down.
Never ending cycle.

So in all I just left it at
P:21
I:30
D:140

It spiked 1-2psi over my target but went right back down and fallowed my target within 5kpa max.
Pretty much on target. Let me know what you think. If I can get it better ect.

Basically doing 19-20psi and ramping it up to 23psi after 6k. I'm going to try and do ramp up to 27psi though.

Thanks a ton for the help.



There was alittle traffic, so couldn't rev it out.
Attached Thumbnails Got CL boost to work but some tuning tips?-targetsfeelsrevy_zpsb9d68e7a.png  
Mr.Pibb is offline  
Old 03-09-2013, 08:48 PM
  #19  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

yep looks good. you went about it perfectly and ended up with numbers like I'd expect.
Braineack is offline  
Old 03-09-2013, 09:08 PM
  #20  
Elite Member
iTrader: (1)
 
Leafy's Avatar
 
Join Date: Jun 2012
Location: NH
Posts: 9,479
Total Cats: 104
Default

Read up on how closed loop control works. D slows response, its the damping. P is for oscillation. I is for drift. P will make it get to a value and the more the faster it will move but not necessarily the correct value. I will make it target the correct value but it wont be steady. D slows down oscillation, but it also slows down response. So with a P control you can make it hold a steady value. With an I control you can make it average the correct value. And D a control... well that doesnt do anything on its own. A PID control puts all 3 together. Double check that I didnt mix up what I and P, I do that sometimes.
Leafy is offline  


Quick Reply: Got CL boost to work but some tuning tips?



All times are GMT -4. The time now is 10:55 PM.