Documente Academic
Documente Profesional
Documente Cultură
Giovanni Gallon Neto∗ , Fernando dos Santos Barbosa† and Bruno Augusto Angélico‡
Laboratório de Controle Aplicado - Laboratório de Automação e Controle
Departamento de Telecomunicações e Controle
Escola Politécnica da Universidade de São Paulo
∗ giovanni.neto@usp.br
† barbosa.fs@usp.br
‡ angelico@lac.usp.br
Multiple Input Multiple Output systems (MIMO) are com- II. M ODELING
monly found in many practical cases in the process industry, Figure 1 presents the free-body diagram of the system used
aerospace industry, among others. In some cases there is no in the Lagrangian modeling process. The following convention
interaction between system variables, i.e., they are uncoupled. was adopted in the modeling:
In other cases, there are interactions between variables, which 1) It rotates around two axes, pitch and yaw (θ and ψ);
makes the design of the controllers harder [1]. 2) Helicopter is horizontal with θ = 0;
A MIMO system example is a simplified system of a 3) θ̇ is positive when the nose is moving upwards;
helicopter with two degrees-of-freedom (2DOF) [2][3][4]. The 4) ψ̇ is positive when the helicopter rotates clockwise;
model with two degrees of freedom is interesting because it 5) There is neither rolling nor axial movements.
allows the study of advanced control techniques that can be As stated before, this helicopter is a MIMO system with
applied in real situations of flight control, behavior of rigid coupled response, i.e., the pitch motor controls directly the
bodies helicopters, and aircraft. There are some commercial pitch angle using the force generated by its propeller, creating
2DOF helicopters plant options such as shown in [5]. However, a torque in yaw as effect of air resistance. In order to
such solutions are costly, which makes the acquisition of a mathematically describe the resulting torques on each axis,
dozen of them to equip a laboratory class impracticable. a good approximation commonly made is to admit that the
Generally, multivariable control techniques for critical sys- propeller produces a force and a torque proportional to its
tems, such as aviation, are robust. For example, in [3] an squared speed, i.e.,
adaptive robust linear quadratic regulator is proposed for
application in a 2DOF helicopter. In [4], a robust optimal F = K f Ω2 and T = Kt Ω2 . (1)
control using linear matrix inequalities - LMI (Linear Matrix
Applying this to the helicopter, pitch and yaw resulting
Inequalities) with Takagi-Sugeno fuzzy controllers is consid-
torques are written as
ered. Another interesting control strategy of a 2DOF helicopter
is the use of control technique for pole placement, which will τp = l p K pp Ω2p + K py Ω2y (2)
be treated in this work.
τy = ly Kyy Ω2y + Kyp Ω2p (3)
This article begins with the development of the mathemat-
ical modeling of the system, followed by a section which where K pp is the pitch motor thrust constant, K py is the yaw
consists in the construction of the prototype. Then, the im- motor torque constant, Kyp is the pitch motor torque constant,
plemented controller is presented, as the simulation, results Kyy is the yaw motor thrust constant, Ω2p is the pitch motor
and conclusion squared speed, Ω2y is the yaw motor squared speed and l p and
with mheli being the helicopter total moving mass, g gravity,
lcm the center of mass distance to origin, B p and By as
the movement resistance acting above pitch and yaw axes,
respectively, Jeq p and Jeq y are the equivalent moment of
inertia related to pitch and yaw, respectively.
Linearizing the system for small angles, as this is the
operating point, the equations of motion are defined by
l p K pp A p PWM p + K py Ay PWM y − B p θ̇ − mheli glcm
θ̈ = 2
(9)
Jeq p + mheli lcm
ly Kyy Ay PWM y + Kyp A p PWM p − By ψ̇
ψ̈ = 2
. (10)
Jeq y + mheli lcm
A state-space system is written based on these equations,
resulting in:
ẋ(t) = Ax(t) + Bu(t) (11)
y(t) = Cx(t) (12)
Fig. 2. Linear approximation of the motor squared speed, with R2 = 0.971.
where x(t) corresponds to system states and u(t) the motors
percentage inputs, defined by
T T
x = θ ψ θ̇ ψ̇ and u = PWM p PWM y .
(13)
The matrices A, B and C, then, are written as
0 0 1 0
0 0 0 1
A = 0 0
−B p
J +m l 2
0
eq p heli cm
−By
0 0 0 2
Jeq y +mheli lcm
0 0
Fig. 3. Test bench to get the torque, thrust and rotational speed parameters
for each motor 0 0
B = l p Kpp A p 2 K py Ay
2
Jeq p +mheli lcm Jeq p +mheli lcm
Kyp A p ly Kyy Ay
2 2
ly are, respectively, the distance of each motor to the center
Jeq y +mheli lcm
Jeq y +mheli lcm
of rotation of the helicopter. 1 0 0 0
C = .
Using a equipment such as shown in Figure 3, some tests 0 1 0 0
were made using the brushless motors used in the system. A. Helicopter Parameters
Torque, thrust and rotational speed parameters were obtained
The first step in building the prototype shown in Figure 4
for each of the PWM levels of each brushless motor.
was to design the simplified helicopter body. Searches were
It was observed that the squared rotational speed could performed to compare proportions of commercial models and
be approximated by a linear relationship with the PWM AutoCAD (AutoDesk) was used to do the necessary drawings.
level, as can be seen in Figure 2, which correlates those The prototype consists of a wooden body simulating a sim-
results to the yaw motor. Approaching the obtained results plified helicopter system and a base plate. It is controlled by
by polynomials of first degree passing through the origin, Ap two brushless DC motors with 9-inch propellers.
and Ay parameters were obtained, which respectively relate to Fixed at each axis there is an angular position transducer
pitch and yaw motors. (encoder), responsible for measuring the variation of each
Solving the Euler-Lagrange’s equation results in a non- angle.
linear equation of motion [6]: As one of the factors valued by this prototype was safety,
it was decided to design a protection for the propellers, which
l p K pp A p PWM p + K py Ay PWM y − B p θ̇ + α + β
θ̈ = 2
(4) offer potential risk, due to the high speeds that they can
Jeq p + mheli lcm achieve, and then preventing serious accidents when handled
2
α = mheli lcm ψ̇ 2 sin(θ ) cos(θ ) (5) by an inattentive operator.
β = mheli g cos(θ )lcm (6) In order to measure the necessary parameters for controller
ly Kyy Ay PWM y + Kyp A p PWM p + γ − By ψ̇ design and simulation, the brushless motors were identified
ψ̈ = (7) with hall sensor and a scale. Table I contains the system param-
Jeq y + mheli cos(θ )2 lcm
2
2
eters, in which some were obtained by linearizing thrust and
γ = 2mheli lcm sin(θ ) cos(θ )ψ̇ θ̇ , (8) torque equations and others by simple system identification.
Fig. 5. Block Diagram Representation for the system.
III. C ONTROLLER D ESIGN Using Matlab command place, the Kamp gain matrix ob-
tained was:
Consider the system described by [7]
432.1655 −43.2490 228.3272 ...
Kamp =
64.8868 −110.8425 33.2366 ...
ẋ(t) = Ax(t) + Bu(t) (14)
... −17.2390 −160.8151 17.0929
y(t) = Cx(t) (15) . (21)
... −43.5168 −24.3725 41.5380
where, for the 2DOF Helicopter: IV. S IMULATION AND R ESULTS
x(t) is a 4x1 state vector; Using the Simulink software, the designed controller was
y(t) is a 2x1 output vector; implemented and simulated. The simulation procedures were:
u(t) is a 2x1 input vector;
• Wait for the system to stabilize at the horizontal position
A, B, C matrices of appropriate size.
(θ = 0 and ψ = 0).
To get a null steady-state error, the use of integrators is • At the time of t = 20s, give a step signal of 0.2rad for
considered. The input signal, as shown in Figure 5, can be pitch angle.
described by • At the time of t = 35s, give a step signal of -0.2rad for
u(t) = −Kx(t) + KI v(t), (16) yaw angle.
Fig. 6. Signal states used as reference. Fig. 8. Results from the controller applied to the built prototype.