Tuesday, October 13, 2009

PID Controllers Auto Tuning - Relay Feedback

Relay Feedback Auto Tuning of PID Controllers

IntroductionFor a certain class of process plants, the so-called \auto tuning" procedure
for the automatic tuning of PID controllers can be used. Such a procedure
is based on the idea of using an on/off controller (called a relay controller)
whose dynamic behaviour resembles to that shown in Figure 1(a). Starting
from its nominal bias value (denoted as 0 in the Figure) the control action
is increased by an amount denoted by h and later on decreased until a value
denoted by -h.




The closed-loop response of the plant, subject to the above described ac-
tions of the relay controller, will be similar to that depicted in Figure 1(b).
Initially, the plant oscillates without a de¯nite pattern around the nominal
output value (denoted as 0 in the Figure) until a de¯nite and repeated out-
put response can be easily identi¯ed. When we reach this closed-loop plant
response pattern the oscillation period (Pu) and the amplitude (A) of the
plant response can be measured and used for PID controller tuning. In fact,
the ultimate gain can be computed as:
Having determined the ultimate gain Kcu and the oscillation period Pu
the PID controller tuning parameters can be obtained from the following
table:
Example of Relay Feedback Auto Tuning of PID Controllers

http://200.13.98.241/~antonio/cursos/control/notas/siso/atv.pdf
Relay-based PID Tuning
ABSTRACT

Relay-based auto tuning is a simple way to tune PID controllers
that avoids trial and error, and minimises the possibility
of operating the plant close to the stability limit.


http://homepages.ihug.co.nz/~deblight/AUTResearch/papers/relay_autot.pdf


An Improved Relay Auto Tuning of PID Controllers for SOPTD
Systems



Difficulties of loop tuning
When you discuss loop tuning with instrument and control
engineers, conversation soon turns to the Zeigler-Nichols
(ZN) ultimate oscillation method. Invariably the plant engineer
soon responds with ‘Oh yes, I remember the ZN tuning
scheme, we tried that and the plant oscillated itself into
oblivion — bad strategy. Moreover when it did work, the
responses are overly oscillatory’
So given the tedious and possibly dangerous plant trials
that result in poorly damped responses, it behoves one to
speculate why it is often the only tuning scheme many instrument
engineers are familiar with, or indeed ask if it has
any concrete redeeming features at all.
In fact the ZN tuning scheme, where the controller gain
is experimentally determined to just bring the plant to the
brink of instability is a form of model identification. All
tuning schemes contain a model identification component,
but the more popular ones just streamline and disguise that
part better. The entire tedious procedure of trial and error
is simply to establish the value of the gain that introduces
half a cycle delay when operating under feedback. This is
known as the ultimate gain Ku and is related to the point
where the Nyquist curve of the plant in Fig. 1(b) first cuts
the real axis.

The problem is of course, is that we rarely have the luxury
of the Nyquist curve on the factory floor, hence the
experimentation required.
Abstract Using a single symmetric relay
feedback test, a method is proposed to identify
all the three parameters of a stable second order
plus time delay (SOPTD) model with equal time
constants. The conventional analysis of relay
auto-tune method gives 27% error in the
calculation of ku,. In the present work, a method
is proposed to explain the error in the ku
calculation by incorporating the higher order
harmonics. Three simulation examples are given.
The estimated model parameters are compared
with that of Li et al. [4] method and that of
Thyagarajan and Yu [8] method. The open loop
performance of the identified model is compared
with that of the actual system. The proposed
method gives performances close to that of the
actual system. Simulation results are also given
for a nonlinear bioreactor system. The open loop
performance of the model identified by the
proposed method gives a performance close to
that of the actual system and that of the locally
linearized model. SOPTD model, symmetric relay, auto-tuning


http://ntur.lib.ntu.edu.tw/bitstream/246246/87370/1/09.pdf

DEVELOPMENT OF AN AUTO-TUNING PID AND
APPLICATIONS TO THE PULP AND PAPER INDUSTRY
Abstract
An auto-tuning industrial PID is presented. The autotuning
is realized in three steps. The process is first
adequately excited in order to generate good quality data
for the second step, the process identification. The last step
is the PID tuning based on the evaluated parametric model.
The auto-tuning PID has been implemented on two
different control systems and successful applications to
processes of the pulp and paper industry are analyzed.


http://www.iaeng.org/publication/WCECS2007/WCECS2007_pp175-181.pdf

Auto-tune system using single-run relay feedback test
and model-based controller design
Abstract

In this paper, a systematic approach for auto-tune of PI/PID
controller is proposed. A single run of the relay feedback experiment
is carried out to characterize the dynamics including the type
of damping behavior, the ultimate gain, and ultimate frequency.
Then, according to the estimated damping behavior, the process
is classified into two groups. For each group of processes,
modelbased rules for controller tuning are derived in terms of
ultimate gains and ultimate frequencies. To classify the processes,
the estimation of an apparent deadtime is required. Two artificial
neural networks (ANNs) that characterize this apparent deadtime using
the ATV data are thus included to facilitate this estimation of
this apparent deadtime. The model-based design for this auto-tuning
makes uses of parametric models of FOPDT (i.e. first-order-plus-dead-time)
and of SOPDT (i.e. second-order-plus-dead-time)
dynamics. The results from simulations show that the controllers
thus tuned have satisfactory results compared with those from
other methods.

Tuning strategy for the model-based auto-tune system.


http://w3.gel.ulaval.ca/~desbiens/publications/DevelopmentOfAnAutoTuningPID.pdf

MODIFICATION AND APPLICATION OF AUTOTUNING
PID CONTROLLER

Abstract. This contribution presents a modified autotuning algorithm of the PID controller.
The motivation for the modification of the basic autotuning algorithm is to enlarge the class
of processes to which it can be applied. The basic autotuning algorithm introduced by
Åstrom and Hägglund is extended by the preliminary identification procedure and through
the usage of the dead time compensating controller. These modifications are detailed
through the description of the algorithms’ functioning. The proposed algorithm has been
implemented in the programmable logic controller (PLC) Siemens SIMATIC S7-300. The
experimental results confirm the good robustness properties of the proposed algorithm,
which were demonstrated in a simulation study.

Structure of the modified autotuning PID controller.


http://act.rasip.fer.hr/old/papers/MED00_062.PDF

Saturday, August 22, 2009

Dynamic Analyze of Snake Robot

A Dynamic Single Actuator Vertical Climbing Robot
Abstract—A climbing robot mechanism is introduced, whichuses dynamic movements to climb between two parallel verticalwalls. This robot relies on its own internal dynamic motionsto gain height, unlike previous mechanisms which are quasistatic.One benefit of dynamics is that it allows climbingwith only a single actuated degree of freedom. We showwith analysis, simulations and experiments that this dynamicrobot is capable of climbing vertically between parallel walls.We introduce simplifications that enable us to obtain closedform approximations of the robot motion. Furthermore, thisprovides us with some design considerations and insights intothe mechanism’s ability to climb.

http://www.cs.cmu.edu/~biorobotics/papers/IROS07_Degani_0490.pdf

3-D Snake Robot Motion: Nonsmooth Modeling,Simulations, and Experiments
Abstract—A nonsmooth (hybrid) 3-D mathematical model ofa snake robot (without wheels) is developed and experimentallyvalidated in this paper. The model is based on the framework ofnonsmooth dynamics and convex analysis that allows us to easilyand systematically incorporate unilateral contact forces (i.e., betweenthe snake robot and the ground surface) and friction forcesbased on Coulomb’s law of dry friction. Conventional numericalsolvers cannot be employed directly due to set-valued force lawsand possible instantaneous velocity changes. Therefore, we showhow to implement the model for numerical treatment with a numericalintegrator called the time-stepping method. This methodhelps to avoid explicit changes between equations during simulationeven though the system is hybrid. Simulation results for theserpentine motion pattern lateral undulation and sidewinding arepresented. In addition, experiments are performed with the snakerobot “Aiko” for locomotion by lateral undulation and sidewinding,both with isotropic friction. For these cases, back-to-back comparisonsbetween numerical results and experimental results are given.


http://www.zfm.ethz.ch/~leine/papers/Transeth%20&%20Leine%20&%20Glocker%20&%20Pettersen%20-%203-D%20Snake%20Robot%20motion%20nonsmooth%20modeling%20simulations%20and%20experiments.pdf


Dynamic Analyze of Snake Robot
Abstract—Crawling movement as a motive mode seen in natureof some animals such as snakes possesses a specific syntactic anddynamic analysis. Serpentine robot designed by inspiration fromnature and snake’s crawling motion, is regarded as a crawling robot.In this paper, a serpentine robot with spiral motion model will beanalyzed. The purpose of this analysis is to calculate the vertical andtangential forces along snake’s body and to determine the parametersaffecting on these forces. Two types of serpentine robots have beendesigned in order to examine the achieved relations explained below.



http://www.waset.org/journals/waset/v29/v29-56.pdf
http://water.engr.psu.edu/reed/Education/CE%20563%20Projects/Mehta%20snakebot_nsga2%20%20Sp%2007.pdf

Optimal Gait Analysis of Snake Robot Dynamics
ABSTRACT
Though there have been a lot of research in the area ofsnake-robot kinematics and dynamics, a little attention hasbeen given to ¯nd out an optimal gait for the robot. Thisoptimal gait until now is being calculated using a graphicalmethod. An attempt, here, is made to get these optimumgait parameters using evolutionary algorithms.We intend to optimize the input power consumed by therobot for a given propulsive speed. A popular multi-objectiveevolutionary algorithm developed by Deb et al., NSGA-II isused in this work and the results are presented.Results from an approximation of objective function throughpolynomials and from the actual simulation are presented.Two di®erent frictional models are considered and their re-sults are given. The results are in good agreement with theliterature. A parametric study is also included to ¯nd min-imum population size and number of generations. The per-formance metrics are used to justify the parametrization.


AmphiBot I: an amphibious snake-like robot
Abstract
This article presents a project that aims at constructing a biologically inspired amphibious snake-like robot. The robot isdesigned to be capable of anguilliform swimming like sea-snakes and lampreys in water and lateral undulatory locomotionlike a snake on ground. Both the structure and the controller of the robot are inspired by elongate vertebrates. In particular, thelocomotion of the robot is controlled by a central pattern generator (a system of coupled oscillators) that produces travellingwavesof oscillations as limit cycle behavior. We present the design considerations behind the robot and its controller. Experimentsare carried out to identify the types of travelling waves that optimize speed during lateral undulatory locomotion on ground. Inparticular, the optimal frequency, amplitude and wavelength are thus identified when the robot is crawling on a particular surface.





http://birg2.epfl.ch/publications/fulltext/crespi05.pdf


Analysis and Design of A Multi-Link Mobile Robot (Serpentine)
Abstract
This paper is a study on dynamic behavior of a :snakerobot, called Serpentine robot, 2”* version (SR#2). TheSR#2 is the latest version of snake robots developed atFIBO as a research platform for studying serpmtinegaits. The gait is in form of sinusoidal curve, consi,deredone of the most effectiveness crawling pattem i:n thenatural world. The Active Cord Mechanism (ACM)assumption, initiated by Hirose, is implemented. Therobot motion results from different joint torquer, andfrictional reacting forces in each wheel. In this stud:y, weproposed a modified serpeniod function with steeringcommand to control the robot’s direction. We alsoperformed dynamic analysis using Kane’s method.Holonomic constraints under frictional forces andnonholonomic constraints unders velocities wereconsidered. We verified our algorithm .for directionalcontrol on this Serpentine robot both simulation andexperiment.


http://gicl.cs.drexel.edu/wiki-data/images/f/fc/AnalysisAndDesignOfAMulti-LinkMobileRobot(Serpentine).pdf