Notices
MEGAsquirt A place to collectively sort out this megasquirt gizmo

MS3 PID Idle Target - Why does it change when returning to idle?

Thread Tools
 
Search this Thread
 
Old Feb 12, 2016 | 12:06 PM
  #41  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

Originally Posted by rwyatt365





Thanks Aidan!
Its also active during boost control closed loop
Old Feb 12, 2016 | 03:59 PM
  #42  
rwyatt365's Avatar
Senior Member
 
Joined: Dec 2007
Posts: 1,459
Total Cats: 132
From: ATL
Default

So, now my question is; if the slider is always on, AND it acts as a multiplier to the PID values (as suggested in the msextra link), what is the meaning of the value of the slider setting? The range is 0-4000...4000 "what"? Am I multiplying the PID values by 4000? Is it a percentage multiplier (i.e. 4000=4000%, or "times 40")? Is it just some relative value (relative to what)?

Just WHAT am I doing by using the slider? Inquiring minds want to know.

(Sorry OP for hijacking your thread)
Old Feb 12, 2016 | 04:19 PM
  #43  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

Its just a multiplier. I was digging through the code yesterday trying to figure it out. But the code is horribly commented. Let me see if i can dig something up again.
Old Feb 12, 2016 | 05:50 PM
  #44  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 80,552
Total Cats: 4,368
From: Chantilly, VA
Default

this is what docs say:

Closed Loop Sensitivity
Use this setting to tune how aggressively the idle speed controller tries to reach the target RPM. Adjust the slider up until the idle speed starts oscillating, then back down until it stops. Wait 5-10 seconds between each adjustment to give your Megasquirt a chance to settle.

Tuning Mode
If set to “Basic” then Proportional Gain, Integral Gain and Derivative Gain are not used to calculate overall Gain.

If set to “Advanced” these three settings can be defined.
from the developer back in 2014:

most people can just use the default PID settings and tune using the slider

and if they can't get it to where they're happy they can turn on "advanced" mode and tune the PID gains
My basemaps use 500 for the PID gains, and the the PID is set to 100 - 100 - 0, most people say it's pretty damn close out of the gate.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
VRRMPSH
WTB
2
Feb 4, 2016 11:01 PM
dwink
MEGAsquirt
4
Feb 4, 2016 02:50 PM
Eunos91
MEGAsquirt
9
Feb 3, 2016 03:21 PM
spec
WTB
0
Feb 2, 2016 08:33 PM
btabor
ECUs and Tuning
9
Jan 30, 2016 11:06 AM




All times are GMT -4. The time now is 12:03 PM.