01-14-2008 10:37 AM
01-15-2008 07:22 PM
01-20-2008 04:28 PM
08-26-2009 11:20 PM
hi,
i read your explanation about relay amplitude . But still the explanation doesnt give a clear idea about the relay amplitude .Is relay amplitude the amplitude of the control signal applying to relay or is that the amplitude of the o/p of the relay(which is equal to i/p of plant) ?
--varun
08-27-2009 02:01 PM
Hey Varun,
As mentioned in Jaidev's post, in the autotuning vi, the system is excited with a square wave of particular amplitude and period and using the output of this excitation to determine the PID gains. This relay amplitude is the amplitude for this excitation signal.
08-28-2009 07:26 AM
dear Ben,
The system will automatically get excited from the set point . That is why we are going for pid controller (that is what i think) Then why we have to excite the system using the square wave ?
08-28-2009 10:24 AM - edited 08-28-2009 10:25 AM
Hi -
The relay amplitude gives a ± to your set point during the autotune process. The control variable must be in steady oscillation about the set point(s) in order for the auto operation to succeed. There is a parameters "number of cycles to average" that is based on the number of times the control variable crosses the set point. Once this has occured a sufficient number of times, the autotuning has enough data to calculate PID parameters for you. If you have poor starter PID parameters such that (for example) it takes a long time for the control variable to cross the set point, then your autotune process is going to take a long time. Kicking up the relay some seems to make the autotuning go faster and work better. Additionally, setting the relay too high may give you less-ideal PID parameters for the setpoint you are trying to maintain.
09-08-2009 07:02 AM
hi,
when i use relay method for autotuning , the oscillations obtained are asymmetric . So , how will i make it symmetric so that i can proceed calculating Ku and Tu?
hopefully
--varun
09-09-2009 09:10 AM
Hey Varun,
I am not exactly sure why you may be getting an asymmetric oscillations. Perhaps a screen shot or a diagram of the oscillations you are getting would be helpful. Also, check out this PID Autotuning VI and Limitations knowledgebase or this A Simple Method for Servo Motor Tuning knowledgebase. You could also use the Ziegler–Nichols method to manually find your PID gains.
09-11-2009 07:58 AM
Dear all,
Thanks for you people's reply . I really appreciate your helping mentality .
when we go for relay auto tuning using PID controller,we have to Substitute a relay with amplitude d and from the desribing function we get the eqn Ku =4d/pa .
my doubt here how will i obtain d (ie.,relay amplitude)?
In order to analyse this , I first implented simple ON OFF(relay) temperature controller .From that I observed the oscillations getting are asymmetric .In order to get symmetric oscillations, i know that we have to select a suitable value for d ? Is there any theoretical method to find d? I really got stuck in this part . Considering the fact that i want to design completely automatic system , i want my miccrocontroller to find d rather than manually . So it would be very helpful if you give me a solution for this and I will be always indebted to you.
hopefully,
--varun