Вы находитесь на странице: 1из 7

FUZZY CONTROL DESIGN FOR A TWIN ROTOR

MULTI-INPUT MULTI-OUTPUT SYSTEM (TRMS)

Mirghani Fateh Elrahman 1, Ahmed Imam 2, and Awadalla Taifor 3


1
Electrical & Electronics Eng. Dept. University of Khartoum
2
College of Eng., Karary University, Email: ahmedimam1965@yahoo.com
3
Elect. Eng. Dept. Sudan University of Science & Technology, Email: ayha_114@yahoo.com


 
' $( )
+ -
.#
$%
  
!  
  

( ?8
+ .
' ' 4<= (74
 8
 9: 8
)/0
12 /
4!


.@9:@ 74
+
! += A=4
4BC

 0%D
EF#
GH<= : +
 -
 !

! $( + /
@9: 8?
@ 74
8?
+ $
M
@ 24
 ?
 K!H
@ 9
.RS
? ? '
!  U H% 7C
 #7  .@!
 /
-=P?= 7 Q/'
  .+
! D@ 9 4!
1H

19 Q/' - K +  24
! 
./
@ /2\
-@/
 -@H7

!  4
 RS

!  += :@ 9  R

ABSTRACT
This paper presents the designing of fuzzy logic controller for a twin rotor multi-input-multi-
output system (TRMS). The control objective is to make the beam of the TRMS move
quickly and accurately to the desired positions, i.e., the pitch and the travel angles.
Developing controller for this type of system is challenging due to the coupling effects
between two axes and also due to its highly nonlinear characteristics. In this investigation
accurate dynamic models of the system for both vertical and horizontal movements are
developed so as to get very similar responses to that of the real plant. These models are
then used as test-beds to develop a set of fuzzy controllers. The performance of the
controllers in tracking movements in both vertical and horizontal planes is found to be very
satisfactory. A comparative performance study of this fuzzy control approach with respect
to a single PID approach is also presented in this study
Keywords: MIMO, TRMS Model, PID Control, Fuzzy Control.

1. INTRODUCTION One such problem is the TRMS problem


Many researchers have recently studied discussed in this paper.
intelligent control in order to solve problems Recent work showed that conventional PID
with classical methods of control, and what tuning turned out to be inadequate for this
is remarkable of all is Fuzzy Control using complex system, resulting in a poor
experts knowledge or experience and performance. Thus, the objective was to
Neural Network Control with learning ability design an intelligent control scheme to
[1]. overcome the limitations of conventional
Modem control which proved to be control. It has been shown that Fuzzy Logic
invaluable for providing solutions to well- Controller (FLC) could improve the
structured aerospace problems, has not response of TRMS in terms of tracking and
been as successful in process control transient response [3].
applications, where the conventional In this paper we discuss the design of a
controllers are still used. fuzzy logic controller to control the pitch and
However, conventional controllers do not travel of the TRMS problem. This controller
perform optimally for complex problems [2]. has been designed and simulated in
MATLAB.

Sudan Engineering Society JOURNAL, September 2009, Volume 55 No.53 19


FUZZY CONTROL DESIGN FOR A (TRMS)

2 INTELLIGENT CONTROL SYSTEMS For instance, dynamic modeling and


optimal control of a TRMS has been
Intelligent control system techniques have
presented in [12]. Performance analysis of
been utilized effectively to solve control
4 types of conjugate gradient algorithms in
problems for the past few years. Among
the nonlinear dynamic modeling of a TRMS
them fuzzy systems, neural networks,
using feed-forward neural networks has
neuro-fuzzy, and genetic algorithms are the
been reported in [13]. Dynamic modeling of
most used methods. In 1974, Mamdani [4]
a TRMS has been presented in [14], which
pioneered the investigation of feasibility of
has investigated the utilization of neural
using compositional rule of inference that
networks. It is noted that some intelligent
had been proposed by Zadeh [5], for
control schemes based on fuzzy logic have
controlling a dynamic system. Later,
been applied to TRMS [15, 16]. Those
Mamdani and Assilian [6] developed the
controllers have been developed on the
first fuzzy logic controller, in a sense; the
basis of a crude and simple supplied model
first fuzzy controller was equivalent to two
of the TRMS by feedback. The model has
input fuzzy PD controllers, where error and
not taken all the acting forces into
change of error were used as inputs to the
consideration and therefore does not
inference engine. Takagi and Sugeno [7]
represent the TRMS accurately. The
introduced a different linguistic description
developed fuzzy controllers, therefore, do
of the output fuzzy set, and a numerical
not show good performance to various
optimization approach to design fuzzy
inputs. Most importantly, those controllers
controller structure. All fuzzy controllers
cannot be implemented on the real plant. In
design is based on experience or
this investigation the fuzzy controller has
knowledge. Fuzzy control is characterized
been developed on the basis of an accurate
by the use of linguistic rules to manipulate
dynamic model of the plant and therefore
and implement human knowledge in control
can be implemented on the real TRMS
systems so as to handle the uncertainty
easily.
present in the environment.
3 TWIN ROTOR MIMO SYSTEMS
In this paper a fuzzy control system has
been developed for a TRMS. For such a 3.1 TRMS Control Structure
complicated system the conventional
The TRMS, shown in Figure 1, is a
model-based (PID) controller shows poor
laboratory set-up designed by Feedback
performance. However, due to its
Instruments Limited [16] for control
nonlinearity fuzzy logic based control
experiments. The TRMS is characterized by
approach looks promising. The applications
its complex and highly nonlinear dynamics.
of fuzzy logic to control these types of
In certain aspects it behaves like a
systems, with high nonlinearity, have widely
helicopter. However, the TRMS is different
been used. Tanaka et al. [8] has
from a helicopter in many ways. (Table 1)
implemented a Takagi-Sugeno fuzzy model
lists the main differences between a
for stabilization of a 3-DOF RC helicopter.
helicopter and a TRMS. The TRMS consists
Combined fuzzy and PID control approach
of a beam pivoted on its base in such a way
for an unmanned helicopter has been
that it can rotate freely both in the horizontal
reported in [9]. Fuzzy behavior navigation
and vertical planes responding to yaw and
has been implemented on an unmanned
pitch moments, respectively. At such end of
helicopter in unknown environment [10].
the beam there are two rotors driven by DC
Shim et al. [11] have performed a
motors. The main rotor produces a lifting
comprehensive study of control design for
force allowing the beam to raise vertically
an autonomous helicopter some
(pitch angle), while the tail rotor is used to
investigations are reported to have
control the beam turn the left or right (yaw).
addressed the modeling and control of a
Both of motors produce aerodynamic force
TRMS using various model-based and
through the blades and also provide the
artificial intelligence (AI)-based approaches.

20 Sudan Engineering Society JOURNAL, September 2009, Volume 55 No.53


coupling effect. From the control point of velocity (azimuth velocity) of TRMS beam
view this exemplifies a high order non-linear h is horizontal position (azimuth position)
system with significant cross-coupling. of TRMS beam, Mh is the horizontal tuning
torque, Jh is the nonlinear function of
moment of inertia with respect to vertical
axis, t is the rotational speed of tail rotor,
Fh(t) is the nonlinear function of
aerodynamic force from tail rotor, kh is the
moment of friction force in the horizontal
axis, Jtr is the vertical angular momentum
from tail rotor, Jmr is the vertical angular
momentum from main rotor, Sv is the
vertical tuning moment, Sh is the horizontal
tuning moment, Sf is the balance factor, Uv
and Uh are the DC- motor control inputs, in
order to control TRMS in the vertical and
Figure 1: Schematic diagram of the horizontal separately.
TRMS The main rotor and the tail rotor are
decoupled, the mathematical models of
main rotor is as follows:
Table 1: Main difference between a

 
   kv 
helicopter and a TRMS

g A  B  Csin2 " 
TRMS Helicopter
Location of Midway Main rotor
#
pivot point between two head $ A  B  C sin2 (1)
$
rotors
%
 2
%&
Lift generation Speed control Collective
of vertical axis of main rotor pitch control
 '()* +)
SV= 3
J-
Yaw is Tail rotor Pitch angle of
controlled by speed tail rotor
blades %/ 1
 /  /  4
%& 12
3.2 TRMS Mathematical Models   4 /  5
A block diagram of the TRMS model is mmr is the mass of the main DC motor with
shown in Figure 2, where Mv is the vertical main propeller, mm is the mass of main part
tuning moment, Jv is the moment of inertia of the beam, mtr is the mass of tail motor
with respect to horizontal axis, v is the with tail propeller, mt is the mass of tail part
vertical position (pitch angle) of TRMS of the beam, mcb is the mass of the counter
beam, Im is the arm of aerodynamic force weight, mb is the mass of the counter-
from main rotor, It is the effective arm of weight beam, mms is the mass of the main
aerodynamic force from tail rotor, g is the shield, mts is the mass of the tail shield, Ib is
acceleration of gravity, m is the rotational the length of counter-weight beam, Icb is the
speed of main rotor, Fv(m) is the nonlinear distance between the counter-weight and
function of aerodynamic force from main the joint.
rotor, kv is the moment of friction force in Assume that the main rotor is an
horizontal axis, v is angular velocity (pith independent part:
velocity) of TRMS beam, h is the angular

Sudan Engineering Society JOURNAL, September 2009, Volume 55 No.53 21


FUZZY CONTROL DESIGN FOR A (TRMS)

%
 
   6
Uh t Mh 1 Sh 1 h 1 h
Gh Ph Sf Fh It cosV

%&
_ s Jh s

 g A  B cosv kh

 sin 6 Figure 3: Block diagram of Horizontal


2  9.1 7
Part of TRMS model
kV
The block diagram of the main rotor is
_
shown in Figure 3. UV
GV PV
m
S f FV Im
MV
_
1
s
SV 1
Jh
V
1
s
V

The mathematical model of tail rotor is as f (V )

follows:
% >
Figure 4: Block diagram of Vertical
 
>  cos2 Part of TRMS model
%&
 > 6> 8 4 PID CONTROL DESIGN

%> A PID controller with its basic form shown in


 > 9
%&
equation 15 is proposed for the control
design of TRMS; the control theory can be
>  @2  cos
> 
realized for obtaining the proportional,
@> integral and derivative gains of the PID
>  @2  cos
controller. Adjustment may be required for
 10 control purposes and to reduce the error
DBC $   E $   F from the model. The TRMS has two
%/>> 1 degrees of freedom, travel and pitch.
 />>  />  11
%& 1GH
Results show that conventional PID tuning
turned out to be inadequate for this complex
  4> />>  12 system, which resulting in a poor
performance.
Assume the tail rotor is an independent %
system, then: I &  JK &  JL M N &%&  J N & 15
%&
% >
 
>    > 6> 13 5 FUZZY LOGIC
%&
5.1 Fuzzy Fundamental
>  90 > 14
A conventional fuzzy controller consists of
The block diagram of TRMS system is four subsystems, as shown in Figure 6, in
shown in Figure 2. which two parts have the duty of
Uh
Gh Ph
t
S f Fh I t cos V
Mh 1 Sh 1 h 1 h transformation; fuzzifier (first
s Jh s
_
kh
transformation), fuzzy rule base, inference
Jh

gm
engine and defuzzifier (second
JV transformation). The fuzzifier changes the
kV

UV
_
V V
input variables (crisp signals) into fuzzy
m MV SV 1
PV 1 1
GV S f FV Im
_ s Jh s values. The fuzzy rule base consists of
f ( V )
basic data and linguistic rules. The
inference engine is the brain of a fuzzy
Figure 2: Block diagram of TRMS controller which has the ability to simulate
model the human decision based on fuzzy idea.
The block diagram of tail and main rotor Finally, the second transformation converts
systems are shown in Figure 3, and Figure the fuzzy values into the real values.
4, respectively.

22 Sudan Engineering Society JOURNAL, September 2009, Volume 55 No.53


Rule Base

Fuzzifier Defuzzier

Inference Engine

Controlled System

Figure 8: Membership functions of


Figure 5: Fuzzy controller and controller output
controlled system
The fuzzy rule bases for these two
controllers have been determined in
5.2 Fuzzy Controller Design accordance with the system behavior in
both vertical and horizontal planes. The
In this paper two fuzzy controllers have identical rule bases have been used for
been developed, one for horizontal and the vertical and horizontal fuzzy controllers.
other for vertical 1 DOF TRMS. They work Table 1 lists the rule base of both the fuzzy
simultaneously to give the desired output. controllers.
One controller controls and keeps track of
travel while the other of pitch. Both these Table 1: Rule Base of Fuzzy
controllers are Mamdani Inference [2, 4] Controllers
and designed in MATLAB. Each controller CEV or CEh
has two inputs and generates one output for N N N Z P P P
its respective rotor. L M S S M L
N N N N N N N Z
The inputs of both fuzzy controllers are E L L L L L M S
beam angle error and the derivative of V N N N N N N Z P
beam angle error. Figs. 6 to 8 illustrate the M L L L M S S
membership functions of the inputs and o N N N N N Z P P
r S L L M S S M
outputs. The most important part of fuzzy
controller design is the determination of E Z N N N Z P P P
L M S S M L
fuzzy rule base. h
P N N Z P P P P
S M S S M L L
P N Z P P P P P
M S S M L L L
P Z P P P P P P
L S M L L L L

Figure 6: Membership functions of beam 6 SIMULATION RESULTS


angle error The TRMS system is decoupled to
horizontal part and vertical part. Each part
is controlled by a fuzzy controller as shown
in Figure 9 and Figure 10. In order to force
the TRMS to track the specified trajectory
quickly and accurately, the parameters of
fuzzy controller g0, g1, and h, are tuned by
Figure 7: Membership functions of beam using genetic algorithms in the MATLAB.
angle error change The response of the system with PID
controller is shown in Figure 11 and Figure
13.

Sudan Engineering Society JOURNAL, September 2009, Volume 55 No.53 23


FUZZY CONTROL DESIGN FOR A (TRMS)

1.4

1.2

Travel Angle
0.8

0.6
Figure 9: Fuzzy control of the TRMS
horizontal part 0.4

0.2

0
0 10 20 30 40 50 60
Time in seconds

Figure 12: Fuzzy response for travel


control of TRMS

1.4
Figure 10: Fuzzy control of the TRMS
vertical part 1.2

1
It can be seen that the actual beam angle
varies quite a lot from the desired angle. pitch Angle
0.8

Hence, it can be clearly deduced that the 0.6


PID controller is not a good solution to the
0.4
TRMS problem. The response of the
system to unit step input with fuzzy control 0.2

is shown in Figure 12 and Figure 14. 0

Simulations show that the FLC controls the


-0.2
pitch and travel simultaneously such that 0 10 20 30
Time in seconds
40 50 60

the system is stable and the response of


the system is better than PID controller. Figure 13: PID response for pitch
control of TRMS
1.4

1.2
1.2

1
1

0.8
Travel Angle

0.8
pitch Angle

0.6
0.6

0.4
0.4

0.2
0.2

0
0
0 10 20 30 40 50 60
Time in seconds -0.2
0 10 20 30 40 50 60
Time in seconds
Figure 11: PID response for travel
control of TRMS Figure 14: Fuzzy response for pitch
control of TRMS

24 Sudan Engineering Society JOURNAL, September 2009, Volume 55 No.53


7 CONCOLUSION Technology, Vol. 12, No. 2, March 2004,
pp. 315-325.
In this paper, a control problem of the twin
rotor multi input multi output system 9. Sanchez,E.N., H.M.Becerra, C.M.Velez,
(TRMS) has been studied. The study Combining Fuzzy and PID Control for
combines the conventional PID and fuzzy an Unmanned Helicopter, The
controllers. The fuzzy controller proposed in American Fuzzy Information Processing
this paper meets the objective of controlling Society, 2005, pp. 235-240.
the TRMS system to achieve stable tracking
10. Shi,D., M.F.Selekwa, E.G.Collins,
of inputs, and it is superior in performance
Fuzzy Behavior Navigation for an
compared to conventional controller.
Unmanned Helicopter in Unknown
References Environment IEEE International
Conference on System, Man and
1. Junhong Nie, "A Neural Approach to
Cybernetics, October 2005, pp. 3897-
Fuzzy Modeling", Proceeding of the
3902.
American Control Conference, pp.2139-
2142, 1994. 11. Shim,H., T.J.Koo, F.Hoffmann, S.Sastry,
A Comprehensive Study of Control
2. Sugeno, M., lnduririol opplrearrons of /iq
Design for an Autonomous Helicopter
conrrol. Amsterdam. The Netherlands:
IEEE Conference on Decision &
Elrevier. 1985.
Control, Dec. 1998, pp. 3653-3658.
3. Liu, Ch. Sh., L. R. Chen, B. Z. Li, Sh. K.
12. Ahmad,S.M., A.J.Chipperfield,
Chen, Z. S. Zeng, " Improvement of the
M.O.Tokhi, Dynamic Modelling and
Twin Rotor MIMO System Tracking and
optimal Control of a Twin Rotor MIMO
Transient Response Using Fuzzy
System, IEEE National Aerospace and
Control Technology", 2006, pp 1-6.
Electronics Conf., 2000, pp. 391-398.
4. Mamdani, E. H.,Application of fuzzy
13. Shaheed,M.H., Performance analysis
algorithms for control of simple dynamic
of 4 types of conjugate gradient
plant,Proc, Inst. Elect. Eng. Contr.
algorithm in the nonlinear dynamic
5. Zadeh,L. A., Outline of a new approach modelling of a TRMS using feedforward
to the analysis of complex systems and neural networks, IEEE International
decision processes, IEEE Trans. Syst. Conf. on Systems, Man and
Man. Cybern. Vol. SMC-3, pp. 28-44, Cybernetics, 2004, pp. 5985-5990.
1973.
14. Darus,I.Z.Mat., F.M.Aldebrez,
6. Mamdani,E.H. and Assilan,An M.O.Tokhi, Parametric Modelling of a
experiment in linguistic synthesis with a Twin Rotor System Using Genetic
fuzzy logic controller, Int. J. Man- Algorithms, International Symposium
Mach.Vol. 7,pp. 1-13, 1975. on Control, Communications and Signal
7. Takagi,T. and M. Sugeno,Fuzzy Processing, 2004, pp. 115-118.
identification of system and its 15. Juang,J.G., W.K.Liu, C.Y.Tsai,
application to modeling and control, Intelligent Control Scheme for Twin
IEEE, Trans. Syst. Man Cybern, Vol. Rotor MIMO System, IEEE
SMC-15, pp. 116-132, 1985. International Conference on
8. Tanaka,K., H.Ohtake, H.O.Wang, A Mechatronics, 2005, pp. 102-107.
Practical Design Approach to 16. Feedback Corp, Twin Rotor MIMO
Stabilization of a 3DOF RC Helicopter, System Reference manual.
IEEE Trans. on Control System

Sudan Engineering Society JOURNAL, September 2009, Volume 55 No.53 25

Вам также может понравиться