PID Explanation and Tuning

Discussion and support for MoTeC's previous generation ECUs.

PID Explanation and Tuning

Postby MarkMc on Fri Oct 17, 2008 12:00 pm

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.
Attachments
DTN0003_Introduction_to_PID_Control[1].pdf
(42.08 KiB) Downloaded 17484 times
MarkMc
 
Posts: 589
Joined: Thu May 01, 2008 1:28 pm

Re: PID Explanation and Tuning

Postby Wolf_Tm250 on Fri Oct 17, 2008 6:18 pm

Thanks a lot !
Wolf_Tm
Toyota Celica GT-four ST205 - full TTE/WRC hardware
Parma - Italy
http://www.youtube.com/user/WolfTm250
Wolf_Tm250
 
Posts: 127
Joined: Fri Jul 11, 2008 1:40 am
Location: Parma - Italy

Re: PID Explanation and Tuning

Postby figgie on Sat Oct 18, 2008 7:32 am

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 :)
figgie
 
Posts: 135
Joined: Fri Jul 11, 2008 4:22 am
Location: Minnesota, USA

Re: PID Explanation and Tuning

Postby Pascal on Sat Oct 18, 2008 12:29 pm

Mark teh Magnificent! Great work with very simple explanation easy to underestand!

Thanks!
Pascal
 
Posts: 69
Joined: Fri Jul 11, 2008 4:25 pm

Re: PID Explanation and Tuning

Postby MarkMc on Mon Oct 20, 2008 10:15 am

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.
MarkMc
 
Posts: 589
Joined: Thu May 01, 2008 1:28 pm

Re: PID Explanation and Tuning

Postby SPowers on Wed Oct 22, 2008 9:19 am

Thanks Mark, nice little quick and dirty for the 'ole back pocket!

Sean
SPowers
 
Posts: 3
Joined: Thu Jul 10, 2008 1:41 pm

Re: PID Explanation and Tuning

Postby figgie on Thu Oct 23, 2008 4:42 am

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). :)
figgie
 
Posts: 135
Joined: Fri Jul 11, 2008 4:22 am
Location: Minnesota, USA

Re: PID Explanation and Tuning

Postby MarkMc on Thu Oct 30, 2008 9:21 am

Good boy, Figgie. :D
MarkMc
 
Posts: 589
Joined: Thu May 01, 2008 1:28 pm

Re: PID Explanation and Tuning

Postby pnanassy on Tue Dec 23, 2008 6:38 am

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 136534 times
pnanassy
 
Posts: 29
Joined: Thu Jul 10, 2008 11:33 pm

Re: PID Explanation and Tuning

Postby MarkMc on Wed Jan 07, 2009 10:26 am

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.
MarkMc
 
Posts: 589
Joined: Thu May 01, 2008 1:28 pm

Next

Return to M400, M600, M800 and M880 ECUs

Who is online

Users browsing this forum: Baidu [Spider] and 20 guests