Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idle clarify part 2 #4336

Open
rusefillc opened this issue Jul 8, 2022 · 6 comments
Open

idle clarify part 2 #4336

rusefillc opened this issue Jul 8, 2022 · 6 comments
Labels

Comments

@rusefillc
Copy link
Contributor

rusefillc commented Jul 8, 2022

new ticket to continue #4335 since amazing problem statement

Maybe we should get educating me out of the ticket realm. There are still a few things I don't quite understand and that make it harder for me to tune idle:
Is there a list explaining what the names of the parameters in the log/ TS gauges mean? I searched the Wiki using obvious seeming terms, but was unable to find anything
Is the idle-status error the difference between target rpm and actual rpm? If so, it seems to get calculated only occasionally.
The I-term in the log I posted (https://rusefi.com/online/view.php?log=924) varies between 0.0 and 0.3. It appears to be maxed out at 0.3, even though there is still an error. It has authority to change the value of the output between -5 and +10. What is the relation between I-term and output?

There appears to be no log field for the P-term #4337

What is the difference between the open-loop idle slider and the offset value when in CL mode?

Also: One thing that tripped me up was a wrong AC input. The ECU though the AC was turned on and jacked up the idle accordingly. There was no way I could see in the log that this was happening, looking at the idle values. I was able to diagnose it, because I realized the AC fan was running constantly.
TLDR: In order to tune PID idle, I would like to see how my total output value is made up from it contributing elements.

@rusefillc
Copy link
Contributor Author

Yes, error is difference between target and actual.

RE: A/C portion diag

your log has "targetRpmAcBump" which was since renamed to "idle: A/C bump", is that part of the ask @stefanst ? or does zero value of targetRpmAcBump in your logs not matching expectations?

your log also says "AC enabled"

@stefanst
Copy link
Collaborator

stefanst commented Jul 8, 2022

Maybe I need to formulate better:
In order for me to troubleshoot idle with an idle valve, I would like to see the following in the log:

  • current IAC setting
  • all factors contributing to that setting in a manner that when I add them up a+b+c+.... = IAC
  • current target idle rpm and contributing factors

Also an explanation how "Min", "Offset" and "Open Loop Idle Value" work. Especially the difference between the OL value and Offset seems not intuitive to me.

I assume that Min/Max is that total PID output Min/Max, whereas we have separate Min/Max values for I-term only. But I am not certain. It could also be that Min/Max could be applied to each P and D separately.

Tool tips could be more verbose. I particularly dislike the tips for "derivative filter loss" and "anti windup frequency"- they just state that 0.1 is a good value.
The tip for "CicPID" could also be enhanced. What is it? At least say "Normally this should be FALSE" or TRUE, whatever the case may be.

With what we currently have it is difficult for a normal tuner to get a car to idle well, because the parameters are not well explained and their effects can not easily be observed. You pretty much have to understand the code in order to be able to tune idle.

@mck1117
Copy link
Contributor

mck1117 commented Jul 8, 2022

Tool tips could be more verbose. I particularly dislike the tips for "derivative filter loss" and "anti windup frequency"- they just state that 0.1 is a good value.
The tip for "CicPID" could also be enhanced. What is it? At least say "Normally this should be FALSE" or TRUE, whatever the case may be.

these crap need to go away - we've done plenty of tunes now with the fixed idle controller that don't use the weird cic pid mode

Offset seems not intuitive

Offset needs to go away too - it was a shim before the current idle controller worked like it does

@BeerMoneyMotorsports
Copy link
Contributor

Id agree offset needs to go away. I see no point. Open loop slider is great and i have had great success with tuning idle with the current Setup.

@BeerMoneyMotorsports
Copy link
Contributor

idle tuning.docx
This is a combo of what dave wrote with some RE specific info i applied to it. This will be a good start to a clear doc with the current setup.

@mck1117
Copy link
Contributor

mck1117 commented Jul 15, 2022

The tip for "CicPID" could also be enhanced. What is it? At least say "Normally this should be FALSE" or TRUE, whatever the case may be.

Idle CIC needs to go away, as we've now seen good results without it in all the scenarios where it was thought to do something useful.

Offset seems not intuitive to me

Will PR to force offset=0 and remove UI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants