The 18psi MS PNP-Pro questions thread (Attention DIYAutotune)
#162
Boost Czar
iTrader: (62)
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Yes, James and Ken are pretty receptive to new idea to implement into the firmware.
I would love to see better heat management in regards to fueling--the CL Boost Control was never an issue for me no matter the temp.
Adding load to the temp correction would be greatly beneficial, that would allow you to dial out heatsoaking issues without screwing up fueling in boost when the AITs also increase.
I would love to see better heat management in regards to fueling--the CL Boost Control was never an issue for me no matter the temp.
Adding load to the temp correction would be greatly beneficial, that would allow you to dial out heatsoaking issues without screwing up fueling in boost when the AITs also increase.
#163
Since we're on the topic of CL boost control, Can someone remind me how the PID values are set up:
do I start at 0 and keep adding until target is reached? (I know what each does)
or do I start at 100 and keep subtracting?
Cause there's all these PID's and IIRC they all work differently or at least use different methods when tuning.
I've a really solid OL boost control table now, but CL would be great
*Edit: also, is plugging my current OL table into "initial duty table" a good idea or should i drop it by like 5-10% and let CL work out the rest so it doesn't overshoot?
do I start at 0 and keep adding until target is reached? (I know what each does)
or do I start at 100 and keep subtracting?
Cause there's all these PID's and IIRC they all work differently or at least use different methods when tuning.
I've a really solid OL boost control table now, but CL would be great
*Edit: also, is plugging my current OL table into "initial duty table" a good idea or should i drop it by like 5-10% and let CL work out the rest so it doesn't overshoot?
#165
when you say OL table you mean initial duty table right?
cause I enabled CL boost before just for funzies, populated the boost target table, but didn't use initial duty table, and no matter what I did with the slider, the car didn't make any boost (above wg pressure). Like, it didn't work at all.
I'm guessing without the initial duty table to kick start it, it never turns on?
cause I enabled CL boost before just for funzies, populated the boost target table, but didn't use initial duty table, and no matter what I did with the slider, the car didn't make any boost (above wg pressure). Like, it didn't work at all.
I'm guessing without the initial duty table to kick start it, it never turns on?
#169
The PID controls are a little weird for closed loop boost. If you read the tuning guide, they want you to start at 100 value for Proportional and then reduce the number to increase gain, while the I and D factor should start at 0 and increase to turn up the gain, and then you have the slider bar thingie and the control interval... it's strange. I wish we could see more details on how the final duty cycle is calculated.
Also, you've got to look at the datalog of duty during spool up. Things can get wonky with the PID controls, regardless of whether you have initial duty table on or not.
Also, you've got to look at the datalog of duty during spool up. Things can get wonky with the PID controls, regardless of whether you have initial duty table on or not.
#171
Don't use this guide - the newer firmwares are different.
I asked a couple of times for an updated quick tuning guide on the newer firmware PIDs (with the changed PID algorithm) unfortunatly nobody listens to me...
Here:
Megasquirt Support Forum (MSEXTRA) ? Boost control advice (View topic)
I am tired of asking the same **** over and over again, maybe somebody else want's to chime in...
There are at least 3 different types of cl boost control
1. up to firmware 1.1.x or 1.2.x - without initial duty table and the aforementioned tuning advice
2. from this firmware up to some 1.3.x release - with initial duty table and a different PID type
3. from one of the pre 1.4 betas - with bias duty table and the same different than on Nr. 1 PID type
Greets
I asked a couple of times for an updated quick tuning guide on the newer firmware PIDs (with the changed PID algorithm) unfortunatly nobody listens to me...
Here:
Megasquirt Support Forum (MSEXTRA) ? Boost control advice (View topic)
I am tired of asking the same **** over and over again, maybe somebody else want's to chime in...
There are at least 3 different types of cl boost control
1. up to firmware 1.1.x or 1.2.x - without initial duty table and the aforementioned tuning advice
2. from this firmware up to some 1.3.x release - with initial duty table and a different PID type
3. from one of the pre 1.4 betas - with bias duty table and the same different than on Nr. 1 PID type
Greets
#172
yeah Zaphod thanks for letting me know... I knew there was a new algorithm they were working on but I am having trouble finding comprehensive information on it. I'm not using that one right now as it doesn't seem to be ready.
the tuning guide I was reading is page 195 of this document. http://www.diyautotune.com/downloads...pro_manual.pdf
I made the thread about the feature requests:
http://www.msextra.com/forums/viewto...440240#p440240
the tuning guide I was reading is page 195 of this document. http://www.diyautotune.com/downloads...pro_manual.pdf
I made the thread about the feature requests:
http://www.msextra.com/forums/viewto...440240#p440240
Last edited by arghx7; 05-13-2015 at 11:11 AM. Reason: links
#173
The latest betas have a BIAS table instead of an initial duty table. From what I understand the process is this:
Set PID values to ZERO. Set mode to Closed loop SETUP MODE.
What this does is make the bias table equivalent to open loop but with bias instead of duty cycle. Tune the bias table so that you maintain the boost KPA you desire throughout the map. Don't tune specifically to hit boost as early as possible because even in SETUP MODE the boost controller will be at 100% until (x)kpa from your target, where 'x' is your kpa delta setting. I would advise making this number SMALL for tuning purposes. 5kpa to ZERO kpa might be appropriate when tuning bias table. Make sure you have your over boost set up.
From there, switch from SETUP MODE to SIMPLE.
Use sensitivity slider to hit and hold boost as long as possible. When you can get no more improvement from sensitivity slider, switch to ADVANCED and leave sensitivity alone, and work on PID. I will find the NEW PID instructions in a sec.
Start by getting the slider adjusted in basic mode so that it'll hold the boost you want. If you can't get it to do what you want with the slider, get it close with the slider, then adjust the PID gains from there.
P term will provide immediate reaction, I term will provide correction to error over time, D term will dampen sudden large changes.
I suggest getting P right first just so it doesn't completely overshoot your target, then get I to make it match your target, then D if needed.
Ken
Useful threads:
http://www.msextra.com/forums/viewto...?f=125&t=58216
Also something to test which supposedly makes it easier - set proper "closed" and "open" numbers. Start at 100 and work your way down until your spool slows down. Use that number (the lowest number that spools fast) as fully closed.
Set PID values to ZERO. Set mode to Closed loop SETUP MODE.
What this does is make the bias table equivalent to open loop but with bias instead of duty cycle. Tune the bias table so that you maintain the boost KPA you desire throughout the map. Don't tune specifically to hit boost as early as possible because even in SETUP MODE the boost controller will be at 100% until (x)kpa from your target, where 'x' is your kpa delta setting. I would advise making this number SMALL for tuning purposes. 5kpa to ZERO kpa might be appropriate when tuning bias table. Make sure you have your over boost set up.
From there, switch from SETUP MODE to SIMPLE.
Use sensitivity slider to hit and hold boost as long as possible. When you can get no more improvement from sensitivity slider, switch to ADVANCED and leave sensitivity alone, and work on PID. I will find the NEW PID instructions in a sec.
Originally Posted by muythaibxr
Originally Posted by aidandj
And I got something completely different today. Going to go out sometime tomorrow and retune the bias table and see what I can do.
Any tips or advice on tuning PID?
Any tips or advice on tuning PID?
P term will provide immediate reaction, I term will provide correction to error over time, D term will dampen sudden large changes.
I suggest getting P right first just so it doesn't completely overshoot your target, then get I to make it match your target, then D if needed.
Ken
http://www.msextra.com/forums/viewto...?f=125&t=58216
Also something to test which supposedly makes it easier - set proper "closed" and "open" numbers. Start at 100 and work your way down until your spool slows down. Use that number (the lowest number that spools fast) as fully closed.
Last edited by Chiburbian; 05-13-2015 at 04:33 PM.
#174
SADFab Destructive Testing Engineer
iTrader: (5)
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Slider is fucked for me. It either overshoots completely, or oscillates out of control.
I'm having a hell of a time tuning the new boost control, like making me mad hell of a time. It just does different **** half the time when I don't change anything.
I'm having a hell of a time tuning the new boost control, like making me mad hell of a time. It just does different **** half the time when I don't change anything.
#177
Honestly if I needed it and couldn't get it to work, I'd probably just buy a dedicated controller for boost if I really wanted EBC. Or if you're ok with flat boost, just do a MBC diagphram type with external gate. That combo gave me a flat boost line, like target kPa + or - about 1 kpa.... Very effective but flat, can't ramp it up which would have been nice to have.
#180
Elite Member
iTrader: (1)
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
The slider replaced fields that had be be filled in previously. E.G. For idle it was RPM's that car would be at when the valve was closed and open.
Moving those values about made the PID routine more/less sensitive. The slider makes it easier than putting numbers into boxes that didn't necessarily correlate to real life.
If you leave the PID in simple mode it uses the default PID numbers of 0-100-0 (IIRC) and you just adjust the slider to get close to what you want. Then move to advanced and play with the PID numbers.
Moving those values about made the PID routine more/less sensitive. The slider makes it easier than putting numbers into boxes that didn't necessarily correlate to real life.
If you leave the PID in simple mode it uses the default PID numbers of 0-100-0 (IIRC) and you just adjust the slider to get close to what you want. Then move to advanced and play with the PID numbers.