Mahfouf 2000

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Neural Comput & Applic (2000)9:38–43

 2000 Springer-Verlag London Limited

Fuzzy Logic-Based Anti-Sway Control Design for Overhead


Cranes
M. Mahfouf, C. H. Kee, M. F. Abbod and D. A. Linkens
Department of Automatic Control and Systems Engineering, The University of Sheffield, Sheffield, UK

A non-linear model for an overhead crane system equipment design and manufacturing have been con-
is derived which takes into account a combination centrating on problems of load sway. Indeed, the
of a trolley and a pendulum. The overall mathemat- design of a system that has the ability to minimise
ical model obtained is simulated using MATLAB- load sway, and consequently allow faster goods off-
SIMULINK. Open-loop simulations run on cases loading, will bring many rewards to such industries,
depending on whether the air resistance is taken which will be able to save time and hence costs as
into account or not, and whether the angle of the volume of loaded and unloaded goods increases.
oscillation is small or large, indicate the validity of Humans, who are usually extensively trained on
such model, hence reflecting similar trends in indus- all aspects relating to a particular crane-model, man-
tries which are concerned with material handling age the majority of crane control operations. It is,
equipment. A hand-crafted fuzzy controller, which however, worth noting that the major problem that
includes two rule bases, one for position control, can be identified with crane operation is the desire
the other for sway-angle control, was designed and to position the load in the wanted area, without
successfully implemented on the above simulated acceleration of the crane itself causing undesirable
model. Preliminary results are very encouraging, swings, which in some cases can damage the goods
and indicate the feasibility of such a two rule base and can even cause serious accidents. However, as
control strategy. The results obtained are presented, the volume of loaded and unloaded goods in dock-
analysed and discussed. yards, for instance, increases, and the constraints on
time become even tighter, technologies surrounding
Keywords: Crane control; Fuzzy logic; Modelling; the design and manufacturing of these cranes is
Non-linear; Rule-base becoming more and more complex, and thus difficult
for humans to manage their operations with similar
ease and effectiveness as they used to do.
1. Introduction Therefore, emphasis has recently shifted towards
designing anti-sway control systems able to combine
Overhead cranes have the potential of handling loads speed and precision in such operations. This control
of hundreds of tonnes, and are widely used in is not easy as it combines challenges only too
railway depots, offshore platforms, ships, factories familiar to control engineers, i.e. the crane problem
and dockyards. The time taken to transport loads is non-linear, multivariable, and dominated by uncer-
from one point to another and also to unload them tainties. Various researchers reported applications of
is of the essence, where each hour gained represents open-loop optimal control [1], and closed-loop LQG
an important money saving operation. [2], which they later compared to a fuzzy control
For years, industries concerned with handling strategy [3]. The target positions were shorter than
one would expect in an industrial environment. An
anti-sway control system combining a position con-
Correspondence and offprint requests to: Dr M. Mahfouf, Depart- trol with a PD-controller was proposed by Lee et al.
ment of Automatic Control and Systems Engineering, The Univer-
sity of Sheffield, Mappin Street, Sheffield S1 3JD, UK. Email: [4], but considered only small angle sways of up to
M.Mahfouf얀Sheffield.ac.uk 4°, although one should expect angles of up to 45°,
Fuzzy Logic-Based Anti-Sway Control Design 39

Fig. 3. MATLAB-SIMULINK diagram of the dynamics relating


to the overhead crane system of Fig. 1.

Fig. 1. Schematic diagram of a simple crane.

Fig. 2. Reaction forces acting on the point mass m.

especially in offshore platforms and in windy con-


ditions.
This paper proposes a new method for the design
of an anti-sway control system based on the theory
of fuzzy logic with a reduced number of rules than
has appeared before in the literature. A non-linear
model based on a trolley and a pendulum was used
for this purpose. Various cases, relating to the air-
resistance, angle of oscillations as well as the vari- Fig. 4. Open-loop response of the crane system represented by
Fig. 1. (a) Output response: continuous line: trolley displacement;
ous masses involved, are considered for model dotted line: trolley velocity; dashed: load sway angle; dash dotted
reduction, and will be outlined in the next sections. line: load angle velocity. (b) Impulse force input.
40 M. Mahfouf et al.

Fig. 5. MATLAB-SIMULINK implementation of the two fuzzy rule base, anti-sway crane control system.

2. Mathematical Modelling of where ẍ′ is the resultant acceleration of the point


Overhead Cranes mass m, or,
−T sin ␪ − k.v.cos␣ = mẍ′ (3)
The overhead crane system is modelled as a combi-
Because the resultant horizontal acceleration of the
nation of a trolley and a pendulum, as shown in
point-mass m can be written as
Fig. 1, where
ẍ′ = ẍ + l␪¨ cos␪ − l␪˙ 2 sin␪ (4)
P = Applied force (N)
f = Friction coefficient on trolley (Ns/m) Eq. (3) becomes
T = Tension of string (N) −T sin ␪ − k.v.cos ␣ = m(ẍ+l␪¨ cos␪ − l␪˙ 2sin␪).
k = Coefficient of air resistant (Ns/m)
(5)
v = Resultant velocity of the point mass m (m/s)
M = Trolley mass (kg) Using Eq. (1), Eq. (5) becomes
l = Length of the string (m)
(M+m)ẍ = P − fẋ − k.v.cos␪ (6)
m = Load mass (kg)
− m.l.␪¨ cos␪ + m.l.␪˙ 2sin␪
␪˙ = Angular velocity of the point mass (rad/s)
ẋ = velocity of the trolley (m/s) Consider all the reaction forces acting on the point
mass m as shown in Fig. 2; one can write:


First, consider the trolley having a mass M. One
can write Torque = I.␪¨ (7)
P − fẋ + T sin ␪ = M.ẍ (1) where I is the moment of inertia. Hence, by taking
Consider the forces acting on the mass m on the the moment of momentum about the fixed point O,
pendulum. One can write one can write

冘 F = m.ẍ′ (2)
m.l␪¨ = −m.g.sin␪ − k.v.cos(␪−␣) − m.ẍcos␪
(8)
Fuzzy Logic-Based Anti-Sway Control Design 41

assumed that a DC-motor drives the trolley and is


considered to be linear and has a constant of 1500.
Figure 4(a) shows the trolley displacement, its
velocity, together with the load sway angle and its
velocity, in response to an impulse force input of
1500 Newtons, as shown in Fig. 4(b). Therefore, the
crane control problem will consist of taking the load
to a predefined position while minimising its sway-
angle in the minimum amount of time possible. The
major problem is the acceleration generated to
satisfy the position control problem, which will
inevitably induce unwanted load swing, which in
turn must be controlled. The next section explains
the control design, which will allow achievement of
these objectives.

3. Controller Design
As already mentioned, several controllers have been
designed in the past, ranging from simple PID con-
trollers to LQG controllers. In this research study,
and due to uncertainties surrounding the system, a
fuzzy logic-based controller is designed. Further-
more, recent emphasis in fuzzy logic control has
focused on formulating rule bases with a reasonable
Fig. 6. (a) Control surface relating to the fuzzy rule-base of number of fuzzy rules [5], placing more weight on
Table 1; (b) control surface relating to the fuzzy rule-base of the quality of the rules rather than on the quantity
Table 2. of the same rules; this is in contrast to rule bases
which include more than 25 rules at a time. Taking
this into account and exploiting the Fuzzy Logic
Hence, Eqs (6) and (8) are representative of the MATLAB Toolbox, two rule bases were hand-
dynamics relating to the overhead crane of Fig. 1. crafted; one for position control, which included 25
Simulation of the model using MATLAB- rules; and the other for sway angle control, which
SIMULINK can be done using those equations, with included only five rules. Consistency is the only
the following assumptions: property which it was not possible to satisfy, for
we wanted the controller to act abruptly against
쐌 Load m can be considered as a point mass m.
inertia. For position control, the two inputs were
쐌 The cable mass is negligible compared to the
trolley error displacement and its change of error
load.
velocity, and the output was the force. Five fuzzy
쐌 When the crane is in motion, the length l is
labels, Negative Big (NB), Negative Small (NS),
considered to be constant.
Zero (Z), Positive Small (PS), and Positive Big (PB),
Figure 3 shows the MATLAB-SIMULINK represen- were used with Gaussian Membership functions. For
tation of the crane system according to the dynamics sway angle control, the two inputs were trolley error
of Eqs (6) and (8). displacement and sway angle velocity, whereas the
Using the above configuration, an open-loop study output was the force. Tables 1 and 2 display the
was conducted using the following parameters: fuzzy rules.
Figure 5 represents the MATLAB-SIMULINK
Crane head/trolley mass, M = 1000kg;
block diagram of the overall crane control system.
Load mass, m = 100kg;
At this stage, it is worth noting that the control
Cable length, l = 5m;
strategy consists of firing the rules relating to pos-
Friction coefficient, f = 0.3 × (M+m) Ns/m;
ition control first (i.e. Table 1), and once the required
Gravity, g = 9.81 m/s/s;
displacement has been achieved, sway control rep-
Air resistant coefficient, k = 0.05.
resented by the fuzzy rules of Table 2 are fired
In the following simulations and throughout, it is accordingly. In turn, Figs 6(a), (b) display the con-
42 M. Mahfouf et al.

Fig. 7. Fuzzy logic control of overhead cranes for a load mass Fig. 8. Fuzzy logic control of overhead cranes for a load mass
of 250 kg and a target displacement of 5 m. (a) Trolley displace- of 1000 kg and a target displacement of 10 m. (a) Trolley dis-
ment, (b) sway angle and its velocity, (c) load displacement, (d) placement, (b) sway angle and its velocity, (c) load displacement,
control input (force). (d) control input (force).
Fuzzy Logic-Based Anti-Sway Control Design 43

Table 1. Fuzzy rule base for position control. converging to 0 only after 15 seconds approximately
(see Fig. 8(b)). Figure 8(d) shows the controller’s
ex output which was reasonably active.
NB NS Z PS PB

NB NB PS PB PB PB 5. Conclusions
NS NB Z PS PS PB
ẋ Z NB NS Z PS PB A fuzzy logic controller with two rule bases is
PS NB NS NS Z PB proposed for the anti-sway control of overhead
PB NB NB NB NS PB cranes. It is widely recognised that the crane system
dynamics are complex and are characterised by well-
known challenges facing control engineers, such as
Table 2. Rule base for sway angle control. nonlinearities and uncertainties. In this study we
have proposed a non-linear model of the crane
x which is by no means complete, but includes as
much information to conduct an extensive control
Z analysis, which in this case was based on fuzzy
logic. In fact, fuzzy logic, which can do away with
NB NB
NS NS a model, has already been applied in real-time to
␪˙ Z Z control one type of crane used within Rolls-Royce
PS PS Industries [6]. In this study, the fuzzy logic control-
PB PB ler included two rule bases; one for position control,
the other for sway angle control. Both rule bases
were hand-crafted with a reasonable amount of fuzzy
trol surfaces relating to the two rule-bases. The rules. The study showed that the controller can
figures show the non-linear aspect of the rules with perform well within a relatively wide range of crane
a flat enough area around the equilibrium point. parameters relating to load mass and target displace-
ments. It is hoped to improve the controller to
include adaptation inherently within the system by
using a Self-Organising Fuzzy Logic Control
4. Simulation Results
(SOFLC) scheme, for instance.
To validate the fuzzy control strategy designed
above, a series of simulation experiments were
carried-out. Load masses and target displacements References
of up to 1000 kg and 30 m were considered for this
1. Mita K, Kanai T. Optimal control of the crane system
evaluation, respectively. Figure 7 shows the result using maximum speed of the trolley. Trans Soc
of a run conducted using a load mass of 250 kg Instrum Control Eng 1979; 15(6): 833–838
and a target displacement of 5 m. As can be seen 2. Benhidjeb A, and Gissinger GL. Commande Auto-
from Fig. 7(a), the trolley took around eight seconds matique d’un pont roulant; validation temps reel des
to reach the 5 m target, whereas the sway angle of algorithmes. JTEA 1993; 1: 195–199
3. Benhidjeb A, Gissinger GL. Fuzzy control of an over-
Fig. 7(b) was reduced to 0 in just under 10 seconds, head crane – performance comparison with classic
which can be considered to a good performance for control. Control Eng Practice 1995; 3(12): 1687–1696
this magnitude of displacement. The input force, 4. Lee H-H, Cho S-K, Cho J-S. A new anti-swing control
shown in Fig. 7(d), shows a reasonable control of overhead cranes. Proc ASI’97 1997, pp 137–142
activity. For a heavier load of 1000 kg and a longer 5. Mahfouf M, Linkens DA. Generalised predictive Con-
trol and Bioengineering. Taylor & Francis, 1998
target displacement of 10 m, the results of the run 6. Mahfouf M, Mitchell B, Morgan C. Unpublished
are shown in Fig. 8. It can be seen that the trolley Report. Department of Mechanical Engineereing, The
took longer to reach the target with a sway-angle University of Manchester, 1997

You might also like