Got CL boost to work but some tuning tips?
#1
![Arrow](https://www.miataturbo.net/images/icons/icon2.gif)
Hi. I posted this problem over on msextra, but you guys seem to be
more on the ball about this stuff.![The Brain](https://www.miataturbo.net/images/smilies/the_brain.gif)
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.
![](https://www.miataturbo.net/attachments/megasquirt-18/68450-got-cl-boost-work-but-some-tuning-tips-graph_zps9bc2319a.png?dateline=1361674795)
![](https://www.miataturbo.net/attachments/megasquirt-18/68451-got-cl-boost-work-but-some-tuning-tips-untitled_zpsd26aed87.png?dateline=1361674795)
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.![Party Kitty](https://www.miataturbo.net/images/smilies/birthday[1].gif)
I changed it over to
100
0
0
But haven't had a chance to test.
more on the ball about this stuff.
![The Brain](https://www.miataturbo.net/images/smilies/the_brain.gif)
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.
![](https://www.miataturbo.net/attachments/megasquirt-18/68450-got-cl-boost-work-but-some-tuning-tips-graph_zps9bc2319a.png?dateline=1361674795)
![](https://www.miataturbo.net/attachments/megasquirt-18/68451-got-cl-boost-work-but-some-tuning-tips-untitled_zpsd26aed87.png?dateline=1361674795)
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.
![Party Kitty](https://www.miataturbo.net/images/smilies/birthday[1].gif)
I changed it over to
100
0
0
But haven't had a chance to test.
![](https://www.miataturbo.net/attachments/megasquirt-18/68452-got-cl-boost-work-but-some-tuning-tips-wastegate_control.png?dateline=1361674795)
Last edited by Mr.Pibb; 03-01-2013 at 05:03 PM.
#2
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
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.
#4
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
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.
#12
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
at
100
0
0
It still overboost. No change.
![](https://www.miataturbo.net/attachments/megasquirt-18/68909-got-cl-boost-work-but-some-tuning-tips-graph-normalebc_zps858f1a13.png?dateline=1362174180)
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.
![](https://www.miataturbo.net/attachments/megasquirt-18/68910-got-cl-boost-work-but-some-tuning-tips-graph-invertedebcspring_zpsaaa00d5b.png?dateline=1362174180)
100
0
0
It still overboost. No change.
![](https://www.miataturbo.net/attachments/megasquirt-18/68909-got-cl-boost-work-but-some-tuning-tips-graph-normalebc_zps858f1a13.png?dateline=1362174180)
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.
![](https://www.miataturbo.net/attachments/megasquirt-18/68910-got-cl-boost-work-but-some-tuning-tips-graph-invertedebcspring_zpsaaa00d5b.png?dateline=1362174180)
![](http://img.photobucket.com/albums/v163/glowkid/bt_zps0f65c568.png)
Last edited by Mr.Pibb; 03-01-2013 at 05:06 PM.
#14
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Cool.
Problem solved. Just needed to be switched to inverted.
It doesn't say that in the manual.![vash](https://www.miataturbo.net/images/smilies/vash.gif)
P-10 I-0 D-0 in this pull.
![](https://www.miataturbo.net/attachments/megasquirt-18/68948-got-cl-boost-work-but-some-tuning-tips-graph-boostponly_zps125ce206.png?dateline=1362256555)
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?
Problem solved. Just needed to be switched to inverted.
It doesn't say that in the manual.
![vash](https://www.miataturbo.net/images/smilies/vash.gif)
P-10 I-0 D-0 in this pull.
![](https://www.miataturbo.net/attachments/megasquirt-18/68948-got-cl-boost-work-but-some-tuning-tips-graph-boostponly_zps125ce206.png?dateline=1362256555)
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?
#16
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
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.![Party Kitty](https://www.miataturbo.net/images/smilies/birthday[1].gif)
Any input would be very appreciated. It's my first time tuning this.
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.
![Party Kitty](https://www.miataturbo.net/images/smilies/birthday[1].gif)
Any input would be very appreciated. It's my first time tuning this.
![](https://www.miataturbo.net/attachments/megasquirt-18/68972-got-cl-boost-work-but-some-tuning-tips-graph-spike230kpatarget2_zps0ceccfa3.png?dateline=1362301611)
#18
![Arrow](https://www.miataturbo.net/images/icons/icon2.gif)
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.![Party Kitty](https://www.miataturbo.net/images/smilies/birthday[1].gif)
![](https://www.miataturbo.net/attachments/megasquirt-18/69626-got-cl-boost-work-but-some-tuning-tips-targetsfeelsrevy_zpsb9d68e7a.png?dateline=1362878826)
![](http://img.photobucket.com/albums/v163/glowkid/RampUpBoostPerfect_zps52cb24f5.png)
There was alittle traffic, so couldn't rev it out.
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.
![Party Kitty](https://www.miataturbo.net/images/smilies/birthday[1].gif)
![](https://www.miataturbo.net/attachments/megasquirt-18/69626-got-cl-boost-work-but-some-tuning-tips-targetsfeelsrevy_zpsb9d68e7a.png?dateline=1362878826)
![](http://img.photobucket.com/albums/v163/glowkid/RampUpBoostPerfect_zps52cb24f5.png)
There was alittle traffic, so couldn't rev it out.
#20
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
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.