Preferred Method of EBC Tuning MS3 1.4.1
#24
Lol, I know its freeware so I can't complain too much... but I like the "don't RTFM, sift through my rambling forum posts"
Does Ken ever explicitly state if they're still arbitrarily inverting things or not?
From the manual:
2. Set Proportional gain to 100% and slowly lower - While tuning Proportional gain, higher numbers
mean slower boost climb and lower final boost. For safety, start with a very high gain (100% should
be sufficient). Find the RPM that typically spools quickly, and fully and quickly depress the
accelerator. Note how much boost is reached. If boost overshoots the target dramatically, increase
the Proportional gain. Otherwise, reduce the Proportional gain and try again. Do this until boost
reaches the target with a small amount of overshoot.
Does Ken ever explicitly state if they're still arbitrarily inverting things or not?
From the manual:
2. Set Proportional gain to 100% and slowly lower - While tuning Proportional gain, higher numbers
mean slower boost climb and lower final boost. For safety, start with a very high gain (100% should
be sufficient). Find the RPM that typically spools quickly, and fully and quickly depress the
accelerator. Note how much boost is reached. If boost overshoots the target dramatically, increase
the Proportional gain. Otherwise, reduce the Proportional gain and try again. Do this until boost
reaches the target with a small amount of overshoot.
#27
SADFab Destructive Testing Engineer
iTrader: (5)
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
What you need to realize is msextra and all the firmware is done by 2 guys...In their spare time...After their day jobs. They have families, lives, etc. And I find it amazing that we have the documentation we do. I sure as hell couldn't produce that. Megasquirt was not meant to be perfect and super easy to use. It's a diy solution that has been commercialized. There are other platforms that promise that.
#29
Retired Mech Design Engr
Thread Starter
iTrader: (3)
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,012
Total Cats: 859
Here are my present settings with results:
Slightly more over-boost on stab at 50 MAT than 70 MAT, but pretty good. I have not played a lot with D as usually PID need very little D, unless this is somewhat scaled. I have tried up to D=2 with no noticeable change. D is to get large Control Output very quickly when Variable is far from SP.
Note Control Lower Limit is set so high as to be non-existent, but if you look at log, the Control Output goes to max due to high P and I.
210 would use full SP duty, but I have not called for that much kPa yet.
Here are my actual targets. I drop at 7K to maybe help save my stock oil pump. Conjecture on my part as to why Mazda put 6500 rev limit on MSM.
See Control Output in green on 2nd chart maintaining the PV at SP. Look a few posts up for another log of Boost following throttle.
Note: There is not "standard" PID. Some controllers use P = Proportional Band, and bigger is smaller, some use Gain, and bigger is more. This is all Gains. Some use I is actually P*I. I think this is separate I in the equation.
Set bias table at typical values, like an Open Loop. In leboeur's case, he would want to set his bias table in the middle of his low land needs and high land needs. Then the PID corrects for the error between those bias outputs and the true needs of Boost-Target on a real time basis.
Slightly more over-boost on stab at 50 MAT than 70 MAT, but pretty good. I have not played a lot with D as usually PID need very little D, unless this is somewhat scaled. I have tried up to D=2 with no noticeable change. D is to get large Control Output very quickly when Variable is far from SP.
Note Control Lower Limit is set so high as to be non-existent, but if you look at log, the Control Output goes to max due to high P and I.
210 would use full SP duty, but I have not called for that much kPa yet.
Here are my actual targets. I drop at 7K to maybe help save my stock oil pump. Conjecture on my part as to why Mazda put 6500 rev limit on MSM.
See Control Output in green on 2nd chart maintaining the PV at SP. Look a few posts up for another log of Boost following throttle.
Note: There is not "standard" PID. Some controllers use P = Proportional Band, and bigger is smaller, some use Gain, and bigger is more. This is all Gains. Some use I is actually P*I. I think this is separate I in the equation.
Set bias table at typical values, like an Open Loop. In leboeur's case, he would want to set his bias table in the middle of his low land needs and high land needs. Then the PID corrects for the error between those bias outputs and the true needs of Boost-Target on a real time basis.
#31
Retired Mech Design Engr
Thread Starter
iTrader: (3)
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,012
Total Cats: 859
It behaved similarly. I made it really high as to be ignored to help the overshoot. But, as I mentioned, DC still goes to max at punch, which is the purpose of that setting. So, seems to not matter with the rest of my set-up.
#32
Elite Member
iTrader: (1)
Join Date: Apr 2014
Location: SF Bay Area, CA
Posts: 3,107
Total Cats: 560
Not having used 1.4.1 yet, here's my
There is a small icon to the left of each parameter describing it. I think for each firmware, if you are in doubt, you should refer to that description in your project with your firmware.
Just to be a punk, I am re-tuning my EBC currently with a stiffer spring to hold more boost up top. My PID's are currently p34 i9 d136, MS2PNP 3.3.1 IIRC. I am not quite there yet and it took probably 30 or 40 good logs to get where I am.
There is a small icon to the left of each parameter describing it. I think for each firmware, if you are in doubt, you should refer to that description in your project with your firmware.
Just to be a punk, I am re-tuning my EBC currently with a stiffer spring to hold more boost up top. My PID's are currently p34 i9 d136, MS2PNP 3.3.1 IIRC. I am not quite there yet and it took probably 30 or 40 good logs to get where I am.
#36
Retired Mech Design Engr
Thread Starter
iTrader: (3)
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,012
Total Cats: 859
Could you post a log?
#37
I still have not gotten the car back, but yes that is my understanding.
My tuner had been in contact with Matt from DIY, who helped make the logging of these values possible, so Props and Cats to Matt.
To be honest, my understanding of the PID formula inner workings is sketchy at best. From what he said, once my tuner had the values real time it only took four runs for him to get the CLBC to respond as you'd expect. I had personally seen many threads where folks had a hard time getting the CLBC to engage consistently, and those who had were having to deal with slow spool in some areas to get the overshoot under control in higher gears, or very rapid escalation of boost.
So, I apologize for the lack of detail, but I thought it would be good to let folks know this feature was available/coming. I will post more info once I have the car back.
My tuner had been in contact with Matt from DIY, who helped make the logging of these values possible, so Props and Cats to Matt.
To be honest, my understanding of the PID formula inner workings is sketchy at best. From what he said, once my tuner had the values real time it only took four runs for him to get the CLBC to respond as you'd expect. I had personally seen many threads where folks had a hard time getting the CLBC to engage consistently, and those who had were having to deal with slow spool in some areas to get the overshoot under control in higher gears, or very rapid escalation of boost.
So, I apologize for the lack of detail, but I thought it would be good to let folks know this feature was available/coming. I will post more info once I have the car back.
#39
I used DNMakinson setting and it completely smoothed out my boost control (exception i have the slider setting down to 350). I am using the DIYautotune boost control valve set at 12lbs 185KPA with boost cut at 205KPA. Initially i was in open loop boost control which worked well, but kept hitting boost cut which i still cannot solve. I was initially hitting boost cut in closed loop with the slider at 470, but as i reduce the slider the tendency of hitting boost cut lessened. The boost cut still activates when i drop a gear on the freeway and stab the throttle WOT. I just not sure how to fix that problem yet. Thank you for this great information guys.
#40
SADFab Destructive Testing Engineer
iTrader: (5)
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866