Page 1 of 2

PID Explanation and Tuning

PostPosted: Fri Oct 17, 2008 12:00 pm
by MarkMc
I have attached a document I have written to explain PID control and give a guide to tuning. It will help give some background on what is going on with closed loop boost control, idle, servo motor, cam control, etc. Feel free to comment.

Re: PID Explanation and Tuning

PostPosted: Fri Oct 17, 2008 6:18 pm
by Wolf_Tm250
Thanks a lot !

Re: PID Explanation and Tuning

PostPosted: Sat Oct 18, 2008 7:32 am
by figgie
Mark

Realy appreciate this!

It is one thing to follow directions for say an LS2 DBW install by pluggin in numbers for PID. Now I UNDERSTAND what this actually means :)

Re: PID Explanation and Tuning

PostPosted: Sat Oct 18, 2008 12:29 pm
by Pascal
Mark teh Magnificent! Great work with very simple explanation easy to underestand!

Thanks!

Re: PID Explanation and Tuning

PostPosted: Mon Oct 20, 2008 10:15 am
by MarkMc
Hmmmm DBW, sounds like "official MoTeC annnouncement" time.

DBW throttle bodies are characterized here by our head designer. There is actually a lot of things to take into account when doing PID, beyond what I have talked about in the document. DBW throttles need a heap of extra work to make sure they are safe. Just make sure no one gets the idea that they should be setting their own PID for DBW.....there are a few other settings for the DBW other than the actual P, I and D which are all important parts of the control. If anyone asks about them I will get suspicious. :)

Stick with the servo, idle, boost and cams and no one will get hurt....except for possibly Pascal...I have been driving with him, haha. Crazy.

Re: PID Explanation and Tuning

PostPosted: Wed Oct 22, 2008 9:19 am
by SPowers
Thanks Mark, nice little quick and dirty for the 'ole back pocket!

Sean

Re: PID Explanation and Tuning

PostPosted: Thu Oct 23, 2008 4:42 am
by figgie
Mark

lol

sorry about spooking you.

I was in no way saying to muck with the DBW PID settings that you guys charachterized ;) That would be, literally, suicidal :)

I got the PID charachterization from Simon Wagner for the LS2 DBW and Electronic Throttle (off a 2006 Chevy Corvertte in the US&A). :)

Re: PID Explanation and Tuning

PostPosted: Thu Oct 30, 2008 9:21 am
by MarkMc
Good boy, Figgie. :D

Re: PID Explanation and Tuning

PostPosted: Tue Dec 23, 2008 6:38 am
by pnanassy
Great explanation,thanks!

I have a real life case.Boost control with PID.As you can see,it works very well in 4th gear,but in 5th it starts to "overshoot",and while it trys to "brake",it begins to hunting.
Should i lower the "P" and sacrifice the systems reaction in the lowergears?
Could you please give me your suggestions which direction to go?

Boost_PID_160to250kmh.JPG
Boostlog_160to250kmh
Boost_PID_160to250kmh.JPG (109.3 KiB) Viewed 136536 times

Re: PID Explanation and Tuning

PostPosted: Wed Jan 07, 2009 10:26 am
by MarkMc
Looks like you may have a bit too much D once you get to 5th. You can see the duty cycle drop right off which gives you the drop in boost pressure. You then see the duty cycle go back up as the boost undershoots but the boost takes ages to recover, the duty looks like it has flat lined at the max allowable (about 65-ish%). You could need to have a bit more allowable duty cycle in fifth gear.

If you are using version 3 M800 software you can set everything as a table. Perhaps you need a gear position input into the ECU so you can tweak everything based on gear.