Got CL boost to work but some tuning tips?
6 Attachment(s)
Hi. I posted this problem over on msextra, but you guys seem to be
more on the ball about this stuff. :brain: 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/attachmen...ine=1361674795 https://www.miataturbo.net/attachmen...ine=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: I changed it over to 100 0 0 But haven't had a chance to test. https://www.miataturbo.net/attachmen...ine=1361674795 |
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.
|
2 Attachment(s)
Hi leafy.
I looked but can't find those %. If you feel like it here's the very short datalog. |
Originally Posted by Leafy
(Post 982439)
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.
|
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.
|
best answer: tune
|
So the way it is looks like it's working properly?
|
did you say you had an external wastegate or not?
|
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. |
so at 100 0 0, you're shooting past your boost target?
|
I'll post back when I get some tuning time later this week.
Thanks for helping brain. |
2 Attachment(s)
at
100 0 0 It still overboost. No change. https://www.miataturbo.net/attachmen...ine=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/attachmen...ine=1362174180 http://img.photobucket.com/albums/v1...ps0f65c568.png |
if 100 0 0, and inverted makes you go to wastegate, now you need to start lowering p, and tune cl boost control.
|
2 Attachment(s)
Cool.
Problem solved. Just needed to be switched to inverted. It doesn't say that in the manual. :vash: P-10 I-0 D-0 in this pull. https://www.miataturbo.net/attachmen...ine=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? |
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. |
2 Attachment(s)
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: Any input would be very appreciated. It's my first time tuning this. https://www.miataturbo.net/attachmen...ine=1362301611 |
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.
|
2 Attachment(s)
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: https://www.miataturbo.net/attachmen...ine=1362878826 http://img.photobucket.com/albums/v1...ps52cb24f5.png There was alittle traffic, so couldn't rev it out. |
yep looks good. you went about it perfectly and ended up with numbers like I'd expect.
|
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.
|
All times are GMT -4. The time now is 05:02 AM. |
© 2024 MH Sub I, LLC dba Internet Brands