MEGAsquirt A place to collectively sort out this megasquirt gizmo

The 18psi MS PNP-Pro questions thread (Attention DIYAutotune)

Thread Tools
 
Search this Thread
 
Old 05-13-2015, 05:47 AM
  #161  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Again, it's useless posting that here. You need to post on MSExtra in the development section, as that's where the MS developers will see it.
richyvrlimited is offline  
Old 05-13-2015, 07:00 AM
  #162  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

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.
Braineack is offline  
Old 05-13-2015, 09:10 AM
  #163  
VladiTuned
Thread Starter
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

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?
18psi is offline  
Old 05-13-2015, 09:32 AM
  #164  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

just use the sensitivity slider, input numbers if that doesn't work.

the CL control works if it deviates from the OL table; might want to experiment on what works better.
Braineack is offline  
Old 05-13-2015, 09:41 AM
  #165  
VladiTuned
Thread Starter
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

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?
18psi is offline  
Old 05-13-2015, 09:52 AM
  #166  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

do you have overboost turned off? CL doesnt need the intial duties, but then that option shouldn't be active if it's not in use.
Braineack is offline  
Old 05-13-2015, 10:00 AM
  #167  
VladiTuned
Thread Starter
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

Nope, it's on and set properly. And that option was off too.

I'll try it again and see if I missed something initially, been putting it off cause OL seems to work just fine too.
18psi is offline  
Old 05-13-2015, 10:13 AM
  #168  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

OL works fine until the temp changes about 10-20°F
Braineack is offline  
Old 05-13-2015, 10:23 AM
  #169  
Junior Member
 
arghx7's Avatar
 
Join Date: May 2015
Posts: 86
Total Cats: 11
Default

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.
arghx7 is offline  
Old 05-13-2015, 10:42 AM
  #170  
VladiTuned
Thread Starter
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

Which tuning guide are you talking about? Can you post a link please?

Those weird PID values are exactly what I was talking about
18psi is offline  
Old 05-13-2015, 10:49 AM
  #171  
Elite Member
 
Zaphod's Avatar
 
Join Date: Mar 2006
Location: Schwarzenberg, Germany
Posts: 1,553
Total Cats: 101
Default

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
Zaphod is offline  
Old 05-13-2015, 10:59 AM
  #172  
Junior Member
 
arghx7's Avatar
 
Join Date: May 2015
Posts: 86
Total Cats: 11
Default

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

Last edited by arghx7; 05-13-2015 at 11:11 AM. Reason: links
arghx7 is offline  
Old 05-13-2015, 04:20 PM
  #173  
Elite Member
iTrader: (1)
 
Chiburbian's Avatar
 
Join Date: Feb 2008
Location: Loganville, GA
Posts: 2,331
Total Cats: 202
Default

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.

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?
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.

Last edited by Chiburbian; 05-13-2015 at 04:33 PM.
Chiburbian is offline  
Old 05-13-2015, 04:31 PM
  #174  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

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.
aidandj is offline  
Old 05-13-2015, 04:40 PM
  #175  
Elite Member
iTrader: (16)
 
patsmx5's Avatar
 
Join Date: Aug 2007
Location: Houston, TX
Posts: 9,292
Total Cats: 475
Default

I had rock solid boost control on my MS2E setup. With a ball/spring MBC and an external gate. Funny how many YEARS ago that was, and even today closed loop EBC isn't ironed out yet on MS...
patsmx5 is offline  
Old 05-13-2015, 04:41 PM
  #176  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

Originally Posted by patsmx5
I had rock solid boost control on my MS2E setup. With a ball/spring MBC and an external gate. Funny how many YEARS ago that was, and even today closed loop EBC isn't ironed out yet on MS...
There are plenty of people with rock solid EBC on MS. I'm just not one of them.
aidandj is offline  
Old 05-13-2015, 04:43 PM
  #177  
Elite Member
iTrader: (16)
 
patsmx5's Avatar
 
Join Date: Aug 2007
Location: Houston, TX
Posts: 9,292
Total Cats: 475
Default

Originally Posted by aidandj
There are plenty of people with rock solid EBC on MS. I'm just not one of them.
Yeap, some had it working, others didn't. Way back some people spent quite a bit of time playing with the PID values, only to eventually discover the firmware had problems with the equations.

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.
patsmx5 is offline  
Old 05-13-2015, 04:49 PM
  #178  
VladiTuned
Thread Starter
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

My boost with EBC and Open Loop is already better than the MBC, so I'm nto complaining.

If CL will be better, it will just be cake.
18psi is offline  
Old 05-13-2015, 10:20 PM
  #179  
Junior Member
 
arghx7's Avatar
 
Join Date: May 2015
Posts: 86
Total Cats: 11
Default

What exactly does the slider do, mathematically speaking? Do the developers release block diagrams of the control strategy or some formulae of how final duty cycle is calculated?
arghx7 is offline  
Old 05-14-2015, 03:42 AM
  #180  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

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.
richyvrlimited is offline  


Quick Reply: The 18psi MS PNP-Pro questions thread (Attention DIYAutotune)



All times are GMT -4. The time now is 06:39 PM.