Author Topic: Idle PID settings  (Read 33576 times)

Offline Ainis

  • Jr. Member
  • **
  • Posts: 6
  • BHP: 0
Idle PID settings
« on: April 03, 2019, 08:34:44 pm »
Hi,
anyone knows what "39 means 2,5%/1000RPM" means in the Idle control PID settings in the P description?

Offline gunni

  • Hero Member
  • *****
  • Posts: 1492
  • BHP: 37
Re: Idle PID settings
« Reply #1 on: April 03, 2019, 08:36:06 pm »
It means that there is a 2.5% duty cycle change for every 1000rpm of error there is between rpm and your idle target.
78 would mean that there is 5% change for every 1000rpm

Offline Ainis

  • Jr. Member
  • **
  • Posts: 6
  • BHP: 0
Re: Idle PID settings
« Reply #2 on: April 03, 2019, 08:58:59 pm »
It means that there is a 2.5% duty cycle change for every 1000rpm of error there is between rpm and your idle target.
78 would mean that there is 5% change for every 1000rpm
Im still a bit lost with it. So I should use IAC lock and watch duty cycle at 1000rpm and then 2000rpm? Then I should find a difference between it and divide by 2,5 and multiply by 39? Then it would be my P value?

Offline fphil

  • Sr. Member
  • ****
  • Posts: 398
  • BHP: 6
Re: Idle PID settings
« Reply #3 on: April 04, 2019, 09:05:32 am »
39 is just the code for the parameter of the proportional action P. Beware, for some reason !? (2.5% each 1000rpm) this action is nonlinear since the duty cycle added is proportional to the actual duty. This implies that the regulation even good when the engine is warm is instable (pumping) during warming. Manage to  use only the integral action (I term) - which is not itself much academic

Offline Ainis

  • Jr. Member
  • **
  • Posts: 6
  • BHP: 0
Re: Idle PID settings
« Reply #4 on: April 04, 2019, 10:48:41 am »
http://www.vems.hu/wiki/index.php?page=PIDControlTuning it talks about slope of the duty vs RPM, but RPM is 400 instead of 1000 and no percentage is mentioned  ???

Offline fphil

  • Sr. Member
  • ****
  • Posts: 398
  • BHP: 6
Re: Idle PID settings
« Reply #5 on: April 04, 2019, 04:22:13 pm »
I am unable to understand what is written (I have done control systems for many many years) besides this text dates back from 2007, things may have change from this time.
Engine warm get a stable idle 10-15% under the desired value without IAC, then tune I. If your RPM data values are not too noisy in order to fine tune you can then add P - to faster the tracking to the (moving!!) target,  and D (to avoid pumping)

Offline gunni

  • Hero Member
  • *****
  • Posts: 1492
  • BHP: 37
Re: Idle PID settings
« Reply #6 on: April 05, 2019, 01:59:27 pm »
It means that there is a 2.5% duty cycle change for every 1000rpm of error there is between rpm and your idle target.
78 would mean that there is 5% change for every 1000rpm
Im still a bit lost with it. So I should use IAC lock and watch duty cycle at 1000rpm and then 2000rpm? Then I should find a difference between it and divide by 2,5 and multiply by 39? Then it would be my P value?

No.

If your base is 50% Duty cycle and you have a 200rpm error, lets imagine no I or D, and your P value is 39, then

1000/200 = 5

2.5 / 5 = 0.5

Your added P is 0.5 and your total duty cycle is 50.5%

Offline Ainis

  • Jr. Member
  • **
  • Posts: 6
  • BHP: 0
Re: Idle PID settings
« Reply #7 on: April 07, 2019, 08:28:16 pm »
Continuing this topic. Is it better to set ref idle dc to maintain idle target, or as manual says, +200-400rpm? Running DBW.

Offline gunni

  • Hero Member
  • *****
  • Posts: 1492
  • BHP: 37
Re: Idle PID settings
« Reply #8 on: April 14, 2019, 08:31:08 am »
The ref DC should maintain idle target without any PID control, the PID control is there for the ECU to react to changes to the original circumstances like when you turn up the radio, put the ac on, lights on etc, all of those things will put more load on the engine.