A Hierarchical Neuro-Fuzzy MRAC of A Robot in Flexible Manufacturing Environment
A Hierarchical Neuro-Fuzzy MRAC of A Robot in Flexible Manufacturing Environment
Abstract: In one hand, the Model Reference Adaptive Control (MRAC) architecture has been widely used in linear adaptive
control field. The control objective is to adjust the control signal in a stable manner so that the plant’s output asymptotically
tracks the reference model’s output. The performance will depend on the choice of a suitable reference model and the
derivation of an appropriate learning scheme. While in the other hand, clusters analysis has been employed for many years in
the field of pattern recognition and image processing. To be used in control the aim is being to find natural groupings among a
set of collected data. The mean-tracking clustering algorithm is going to be used in order to extract the input-output pattern of
rules from applying the suggested control scheme. These rules will be learnt later using the widely used Multi-layer perceptron
neural network to gain all the benefits offered by those nets. A hierarchical neuro-fuzzy MRAC is suggested to control robots
in a flexible manufacturing system. This proposed controller will be judged for different simulated cases of study to
demonstrate its capability in dealing with such a system.
Keywords: MRAC, mean-tracking clustering algorithm, MLP neural nets, computer control, real-time systems, robots, FMS.
controller will improve the system performance by • Balancing precision with complexity.
distributing the control tasks on multilevels. • Multiple time scale operations.
It is assumed that the higher levels in the hierarchy,
2. Hierarchical Architecture that is planning and sequencing, deal with a more
abstract view of the control problem and do so in less
In our previous work [1, 2], the design and precise terms. Moreover, the action-taking place at the
implementation of a hierarchical rout planner for FMS higher levels affects the behavior of the system over a
were proposed, as illustrated in Figure 1. The aim of longer time span whereas the lower levels in the
the FMS rout planner is to obtain the optimal hierarchy operate on a faster time scale.
manufacturing routes for jobs according to well- Figure 3 outlines the general layout of a robot
designed cost function. The sequencing and monitoring system. It consists of a manipulator, and an
module will monitor the competitive jobs to use the input/output interface. A feedback interface is required
manufacturing cells and the required machines and to convert the position sensor signal of each joint into a
robots. Also, this module can reveal the abnormal digital code. The actuating signal generated by the
conditions in the system and generates feedback control algorithm is loaded to the actuator of each joint
signals to the route planner to modify the old through a feedforward interface.
manufacturing routes to avoid the problems that may
PLANNING & SEQUENCING
occur.
FMS
KNOWLEDGE-BASE
ROBOT TRAJECTORY PLANNING
ROUTE PLANNING
AND SEQUENCING
ROBOT TRAJECTORY
PLANNING & CONTROL
MICROPROCESSOR SYSTEM
The main function of the learning algorithm is to of clusters is problem dependent. The mean-tracking
obtain the correct control signal (ud) corresponding to clustering algorithm was derived with the intention of
the desired output (yd ). The difference between the dealing efficiently with operating data collected from
desired response (yd ) and the measured process output high speed production machinery, the data is in the
(y) is called the learning error (eL). It is expected that form of variable information taken from sensors in the
this error will asymptotically approach zero, or a plant, i.e.; variables such as speed, tension,
predefined small region, with increasing number of temperature. In this case data is plotted in an n-
trials. The proposed learning scheme is shown in dimensional space, each data point in the space
Figure 5. corresponds to the machine state at a particular instant
Learning
Learning of time. Natural clusters of data points are then formed;
Error Algorithm all of the points within a cluster depict similar
eL
Ud operating conditions to other points within that cluster.
Reference
Input Plant Yd Y The center of gravity of the search data is then found
Reference + PLANT
Model by finding the mean value of all the points, which lie
-
within the same cluster [18], see Figure 6 for
Control Error
+ Short-Term description. In the proposed functional neuro-fuzzy
Memory
controller the controlled data, input-output variables,
Figure 5. Block diagram of the proposed MRAC system. are collected and clustered based on fuzzy-number
using mean-tracking algorithm. The choice of the
3.2. Learning Algorithm clusters will be clarified in simulation results section
specific ally in equation (9).
The object of the learning control is to determine the
control input u d (t) by repetitive trial such that the error Variable1
where dj (em ), dj (cem ) are the input width for error and the system since it has low gain with a high damping
change-in-error respectively with centers Cj (em ) and ratio; moreover steady state error is detected. Thus the
Cj (cem ), while dj (u) is the width of the control action need is raised to include the effect of proportional,
with center Cj (u). derivative and integral actions (ECS) type.
Now, it is possible to teach a neural network (NN) A model reference of:
with only the central value vectors, i.e; the previous j th Gm(s) = 5.4/ s2 +5.4s +5.4 (8)
linguistic rules become
is chosen, after many trials, so that the robot system
If Cj (em ) and Cj (cem ) Then Cj (u) (6) dynamic can follow such model with an applicable
While leaving the width vectors implicitly treated. One control action values. Applying equation (1) with gains
may ask how the fuzzy concept is handled in such p= 1.0 and q= 0.0, the required data for unit step
paradigm. The answer as concluded before is that the change in input with sampling time of 0.1 sec. have
NN inherently possesses some fuzziness, which is been collected in the short-term memory to be used
exhibited in the form of interpolation over new later.
situations. Using these input-output data, 17-extracted rules are
The clustering criterion based on mean-tracking obtained as shown in Table 1, using the following
algorithm using fuzzy number can be done over the clusters:
vectors defined by equations (2, 3, 4) along with their em = 0.0 to 1.0 step 0.15
corresponding control action (u) to get the centers of cem = -0.85 to 0.0 step 0.15
those variables to be learned using Back-Propagation sem = 1.0 to 9.5 step 1.5 (9)
Neural Network (BNN) of a structure shown in Figure
7. An ECS controller mode of clustered training Table 1. ECS clustered training vector of 17 rules used to train the
vectors, conducted from controlling a process using the BNN of Figure 7.
MRAC system are used to learn BNN of Figure 7. Center Center Center Center of Control
of em of cem of sem Action
W i=1,2, 3
ijj=1.... n 1 0 1 6.484656
em tansh 1 -0.25 2.5 6.291598
W 1 -0.55 2.5 6.021482
j
0.9 -0.85 4 5.814579
U 0.75 -0.85 4 5.65887
cem 0.6 -0.85 5.5 4.701158
0.45 -0.7 7 3.688067
0.45 -0.55 7 2.936129
sem tansh
0.3
0.3
-0.55
-0.4
7
7
2.737491
2.235832
n-node 0.3 -0.4 8.5 2.091233
hidden layer 0.15 -0.4 8.5 1.696041
0.15 -0.25 8.5 1.271224
Figure 7. ECS type BNN represents the proposed functional neuro 0.15 -0.1 8.5 0.805575
controller. 0 -0.1 8.5 0.382604
0 -0.1 9.5 0.116563
The functional neuro-fuzzy controller of Figure 7 0 0 9.5 0.090025
has many advantages over that of MRAC. These can It is important to state here that since the integral
be summarized as follows: action has been included by the accumulation in
• The size of the controller architecture decreases control signal, thus the sum of error will be of no use
dramatically to offer less storage memory, less and it is added just to keep the notation of its existence.
computations time and less fuzziness. Thus more Generally NNs can be used to memorize or discover
efficient controller is available also a less cost the control strategy. Since the control law is extracted
hardware controller, if needed, can be easily based on the MRAC scheme shown if Figure 5, thus
achieved. BNN is applied here to memorize such control rules.
• More robust controller is obtained as will be Applying the error back-propagation learning
verified in the simulation results. algorithm to BNN with the following characteristics:
Topology: 3-node input layer, 12-node tansh nonlinear
5. Simulation Results hidden layer, 1-node linear output layer.
Parameters setting: Random initial weights of values
A robot model of an open loop type (0) second order
between -0.5 to 0.5, steepness= 1.0, threshold= 1.0,
transfer function:
learning rate= 0.1, momentum term= 0.0 and a
G(s) = 1/ s2 + 7.5s + 0.09 (7) stopping criterion of 0.01.
is taken to be control using the proposed control The 17 ESC fuzzy clustered rules shown in Table 1
scheme. The closed loop response to a unit step change are used to train the BNN illustrated by Figure 7.
in input shows the sluggish over damped behavior of Convergence has been reached after 1645 iterations to
A Hierarchical Neuro-Fuzzy MRAC of a Robot in Flexible Manufacturing Environment 213
[2] Al-Titinchi A. A. and Al-Aubidy M. K., [17] Voda A. A. and Landau I. D., “A Method for the
“Modeling an Interactive FMS Scheduler Using Auto-Calibration of PID Controllers,”
Colored Petri Nets,” in Proceeding of 2 nd Middle Automatica, vol. 31, no. 1, pp. 41-55, 1995.
East Conference on Simulation and Modeling [18] Warwick K., “New Ideas in Fuzzy Clustering and
(SCS-MESM’2000), Jordan, pp. 54-61, 2000. Fuzzy Automata,” in Proceeding of the
[3] Astrom K. J. and Wittenmark B., Adaptive International ICSC Symposium on Fuzzy Logic,
Control, Addison Wesley, Reading, MA, 1989. Swiss Federal Institute of Technology (ETH),
[4] Brown M. and Harris C., Neuro-Fuzzy Adaptive Zurich, Switzerland, May 26-27, 1995.
Modeling and Control, Prentice-Hall
International Ltd., UK, 1994. Kasim Al-Aubidy received his BSc
[5] Ge S. S., Lee T. H., Gu D. L., and Woon L. C., and MSc degrees in control and
“A One-Step Solution in Robotic Control System computer engineering from the
Design,” IEEE Robotics and Automation, vol. 7, University of Technology, Iraq in
no. 3, pp. 42-54, 2000. 1979 and 1982, respectively, and the
[6] Jamshidi M., Vadiee N., Rose J. T., and Ross T., PhD degree in real-time computing
Hardware Applications of Fuzzy Logic Control, from the University of Liverpool,
In Soft Computing: Fuzzy Logic, Neural England in 1989. He is currently an associative
Networks, and Distributed Artificial Intelligence, professor in the Department of Computer Engineering
in Aminzadeh F. and Jamshidi M. (Eds), Chapter at Philadelphia University, Jordan. His research
3, Prentice-Hall, USA, 1994. interests include fuzzy logic, neural networks, genetic
[7] Kim S. W. and Lee J. J., “Neural Network algorithm and their real-time applications. He is the
Control by Learning the Inverse Dynamics of winner of Philadelphia Award for the best researcher in
Uncertain Robotic System,” Journal of Institute 2000. He is also a member of the editorial board of the
of Control, Automatic System Engineering, vol. Asian Journal of Information Technology. He has
1, no. 2, pp. 88-93, 1995. coauthored 3 books and published 47 papers on topics
[8] Li Q., Poo A. N., Teo C. L., and Lim C. M., related to computer applications.
“Developing a Neurocompensator for the
Adaptive Control of Robots,” in Proceedings of Mohammed Ali received his BSc,
IEE, Control Theory Applications, vol. 142, no. MSc and PhD degrees in computer
6, pp. 562-568, 1995. and control engineering from the
[9] Linkens D. A. and Nie J., “Constructing Rule - University of Technology, Iraq in
Bases for Multivariable Fuzzy Control by Self- 1981, 1993, and 1998, respectively.
Learning- Part 2,” International Journal of He is currently an assistant professor
Systems SCI, vol. 24, no. 1, pp. 129-157, 1993. in the Department of Computer
[10] Liu M., “An Adaptive Control Scheme for Engineering at Philadelphia University, Jordan. His
Robotic Manipulator,” in Proceedings of 5th research interests include fuzzy logic, neural networks,
International Symposium on Industrial Robotics, image processing, and computer interfacing. He has 6
USA, 1985. published papers related to neurofuzzy and real-time
[11] Palm R., “Fuzzy Controller for Sensor Guided computer control applications.
Robot Manipulator,” Fuzzy Sets and Systems,
USA, 1989.
[12] Psalits D., Sideris A., and Yamamura A. A.,
“Neural Controllers,” in Proceedings of IEEE 1st
International Conference on Neural Networks,
San Diego, CA, vol. 4, pp. 551-558, 1987.
[13] Spong W., Robot Dynamics & Control, John
Wiley & Sons, USA, 1989.
[14] Su C. Y. and Leung T. P., “A Sliding Mode
Controller with Bound Estimation for Robot
Manipulators,” IEEE Transactions Robotic s &
Automations, vol. 9, no. 2, pp. 208-214, 1993.
[15] Tsai C. H., Wang C. H. , and Lin W. S., “Robust
Fuzzy Model Following Control of Robot
Manipulators,” IEEE Transactions Fuzzy
Systems, vol. 8, no. 4, pp. 462-469, 2000.
[16] Viswanadhan N. and Narahari Y., “Performance
Modeling of Automated Manufacturing Systems,”
Prentice-Hall, USA, 1994.