Society of Robots - Robot Forum

Software => Software => Topic started by: darkartic on November 06, 2011, 11:29:00 AM

Title: Design of PID parameters
Post by: darkartic on November 06, 2011, 11:29:00 AM
Hi everyone,

I'm designing a PID controller for a 3 DOF robot arm, but first i need to control each link separately and then all of them together.

I just find information about tuning PID parameters but nothing about how to first theorically get them and then i can tune them

I was wondering which are the best design parameters for controlling a robot arm (overshoot, rise time, settling time) and THEIR VALUES, if what a i want is a balanced robot arm, fast and accurate enough.

I'll appreciate any opinions or if you can tell me where to find this information, remember i need the values of this parameters so i can start my design.

Greetings

Title: Re: Design of PID parameters
Post by: rbtying on November 07, 2011, 12:44:00 AM
The reason why you won't find values (and why we won't give them) is because the parameters for PID can only be determined by perfectly modeling the system, which is especially difficult if you don't actually have it, and generally impractical even if you do. Most of the time, you use empirical methods to approximate the parameters.
Title: Re: Design of PID parameters
Post by: newInRobotics on November 07, 2011, 01:29:49 AM
I found this PID Theory (http://pcbheaven.com/wikipages/PID_Theory/) page very useful.
Title: Re: Design of PID parameters
Post by: nm1 on November 16, 2011, 08:21:44 PM
the Ziegler–Nichols method is commonly used if you don't know or want to model the system.
http://en.wikipedia.org/wiki/Ziegler%E2%80%93Nichols_method (http://en.wikipedia.org/wiki/Ziegler%E2%80%93Nichols_method)
Its quite simple too,
firstly you set ki and kd to zero and find the critical kp which you approximate to when the system oscillates.
Then you set kp, ki and kd as fractions of the oscillation period and then tune if it doesn't suit.