PID Question

Discussion and Support for MoTeC's M1 series ECUs

PID Question

Postby mgouldstone on Fri Aug 11, 2017 11:38 pm

Novice PID questions...

In my map I have a 'Proportional - Gain'' set to 0.4 for Fuel pressure control. The description of PID (F1) says 'Proportional - Gain'' = %/Kpa and my Kpa is set to an aim of 400. I have watched the videos and it shows a 'Proportional - Gain'' value of 0.5 in a lot of examples but a lot of other parts of my map has a 'Proportional - Gain'' of 1000+ which is then subsequently divided by 1000. My question is can the 0.4 value be correct as it seems so small and what value should I start with?

My other question is that I have 'Integral - Gain' set to 50 and 'Integral Min / Max' set to 0. The integral isn't doing anything am I correct it's because the min / max are both set to '0'.

PID.PNG
PID.PNG (69.41 KiB) Viewed 8207 times
mgouldstone
 
Posts: 11
Joined: Mon May 03, 2010 3:21 am

Re: PID Question

Postby David Ferguson on Sat Aug 12, 2017 3:30 am

The number are just numbers, the real question is how is your fuel pressure control?

What happens if you change the value of "Fuel Pressure Control Aim". Does the Fuel Pressure track that change, or does it oscillate (too much Proportional), too much overshoot/undershoot (too much Derivative), or never reach the target (not enough Integral).

I suggest making step changes of 10 psi and tuning the PID to get that to track.
David Ferguson
Veracity Racing Data
David Ferguson
Pro User
 
Posts: 1378
Joined: Fri Nov 07, 2008 2:45 am
Location: Paso Robles, California

Re: PID Question

Postby Stephen Dean on Mon Aug 14, 2017 10:26 am

As David said, they are just numbers, and one system may need to have large values in it, whilst another needs only very small values. This is why a PID system needs to be tuned to suit the device under control.

I have attached the PID tech-notes so that you can have a look at them, whilst this was done for the Mx00 series ECU's, the principles are the same for the M1 Series ECU's.

DTN0003_Introduction_to_PID_Control.pdf
(42.08 KiB) Downloaded 790 times
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1717
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne


Return to M1 ECUs

Who is online

Users browsing this forum: No registered users and 22 guests