Journal Search Engine
Search Advanced Search Adode Reader(link)
Download PDF Export Citaion korean bibliography PMC previewer
ISSN : 2671-9940(Print)
ISSN : 2671-9924(Online)
Journal of the Korean Society of Fisheries and Ocean Technology Vol.49 No.2 pp.153-160
DOI : https://doi.org/10.3796/KSFT.2013.49.2.153

A control allocation sterategy based on multi-parametric quadratic programming algorithm

Young-Bok KIM1*, Tae-Yeong JEONG, Sang-Won JI1
1Department of Mechanical System Engineering, College of Engineering, Pukyong National University, San 100, Yong Dang dong, Namgu, Busan 608-739, Korea
Training Ship Kaya, Pukyong National University, Daeyeon 3 dong, Namgu, Busan 608-737, Korea
2013년 5월 2일 접수, 2013년 5월 6일 1차 수정, 2013년 5월 7일 수리

Abstract

Control allocation is an important part of a system. It implements the function that map the desiredcommand forces from the controller into the commands of the different actuators. In this paper, the authorspresent an approach for solving constrained control allocation problem in vessel system by using multiparametricquadratic programming (mp-QP) algorithm. The goal of mp-QP algorithm applied in this study isto compute a solution to minimize a quadratic performance index subject to linear equality and inequalityconstraints. The solution can be pre-computed off-line in the explicit form of a piecewise linear (PWL)function of the generalized forces and constrains. The efficiency of mp-QP approach is evaluated through adynamic positioning simulation for a vessel by using four tugboats with constraints about limited pushingforces and found to work well.

07.정태영외1_49.02-1.pdf627.0KB

INTRODUCTION

 Over-actuated system is a system in which there may be more actuators than strictly needed to satisfy the control objectives. The over-actuated system usually appears in aerospace and maritime industries. For example, in order to improve the maneuverability and reliability, modern advanced aircraft, which has many and unconventional surfaces, generally configures with redundant actuators. And to perform a simple maneuver many actuators are required to work simultaneously. So the traditional control method by using independently aileron, elevator and rudder to achieve a control requirement is not suitable anymore. Similarly, to achieve reliability with respect to sensor or actuator failure, most underwater vehicles are equipped more actuators than the necessary number required for nominal operation.

 The over-actuated system is chosen due to several reasons (Fossen and Johansen, 2006)·It improves the safety for controlled system in the case of actuator failure appears. It may be better than choosing a small set of actuators for reasons such as cost, mechanical design, maintenance, dynamic response, size and capability of actuators. It can be divided into smaller sets and operated by difference control objectives.

 In over-actuated systems, the automatic distribution of control requirement among the actuators is called control allocation strategy as shown in Figure. 1. This unit exploits all of the maneuvering capabilities of the system subject to position, rate and power limit of actuators. Commonly, control allocation problem is formulated as convex optimization. The objective is generally to minimize the error between total forces and moments τa generated by all actuators and command forces τa produced from the controller as well as to minimize the actuator thrusts.

Fig. 1. System architecture including control allocation.

 The simplest control allocation methods for overactuated system are formulated as unconstrained optimization algorithms such as cascaded generalized inverse method, daisy chaining method. And they can be modified to account for position and rate limits. Many practical solutions can be found and implemented efficiently in the safety-critical-real-time system by combining these methods with filtering and logic (Sordan, 1997; Lindfors, 1993). However, they could not be implemented when the objective vector does not lie within the attainable moment set.

 More complex methods consider control allocation as constrained optimization problems. They are formulated as linear quadratic constrained (Bemporad et al., 2002; Tondel et al., 2003) or nonlinear quadratic constrained programming (Johansen, 2004; Johansen et al., 2004) and can be solved by using direct allocation, active set method and so on. Until recently, it was believed that constrained optimization methods are too complex and too time consuming to realize in real-time system. However, with the dramatic  evelopments in computing speed, as well as more efficient algorithms proposed, it has changed this thinking.

 In this paper, we evaluate the efficiency of the linear quadratic constrained control method by using mp-QP algorithm through a ship-tugboats system simulation. In this study, the over-actuated system is considered with linear actuators produce the bounded forces in fixed directions. The advantage of this approach is that a feasible control allocation can be found if it exits. And the solution can be pre-computed off-line in the explicit form of a piecewise linear (PWL) function of the command forces and constraints. Furthermore, in this study, control law and control allocation algorithm are treated as separate disciplines. However, in some case where the control allocation can not guarantee the controlled objective, it should be observed and handled by the high-level motion control algorithm in order to avoid unacceptable degradation of performance.

 This paper is organized as follows. In section II, the control allocation is formulated as mp-QP problem. Section III briefly presents the background and solution for mp-QP. The efficiency of this approach is evaluated in section IV through a dynamic positioning simulation of a vesselby using 4 tugboats. Some conclusions are given in section V.

MATERIAL AND METHODS

Problem formulation for control allocation

 The primary objective of control allocation is to compute a limited control force vector u∈Rn which ensures that the command vector τc〓h (x (t), u (t)) ∈Rr can be produced by actuators at all time. Generally, the vector τc comprises the commanded forces (τx, τy, τz) and commanded moments (τΦ , τθ, τφ). Depend on the controlling purpose, not all 6 components of τc are specified. For example, in aerospace space application, we often concern about roll, pitch and yaw moment (τΦ , τθ, τφ), while in the maneuvering of surface ship system, we consider about surge, sway force and yaw moment (τΦ , τθ, τφ). If we assume that the system is equipped with n actuators and the actuator dynamics are neglected, the relationship between control vector u〓(u1, u2, …, un)T and commanded vector τc can be expressed in the following form

 

 where B is often called the control effectiveness matrix. It presents the effect of actuator thrusts on desired dimensions. If the matrix B is square and non-singularity, the solution of Equation 1 is uniquely defined by u〓B-1 τc. On the other hand, if B is not square but full row rank (over-actuated system), solving Equation 1 might seem like an easy problem where the unknown parameters are more than the number of equations. However, this may be difficult if we consider the constraints on the vectorsuch as position, rate and power limits. The limits generally expressed in the form:

 

Given the limits, an exact solution might not exist, despite the redundancy. The solution of Equation 1 is transformed into ptimization  problem, where the“best”vector u is respected to find down within the feasible region. In the optimization framework, constrained control allocation problem can be formulated as follows:

 

 subject to

 

 where s is the slack variable that is introduced to minimize the difference between the total forces produced by all actuators and command vector c. Wand Q are the weighting matrices. To achieve accurate vector τc, the slack variables should be close to zero. This is obtained by choosing Q≫W≻0.

 If we define the new variables z〓(uT, sT)T∈Rn+r and x〓[τcT, uTmin, uTmax]T∈Rr+2n, the above optimization problem can be reformulated as mp-QP as follows:

 

 subject to

 

 The matrices , A1, A2, C2 can be defined respectively as follows:

 

 

 Since W and Q are positive matrices, Equations (5) and (6) define the convex quadratic program. It means that the global solution can be verified. It has been found that the exact solution for this problem is a PWL function z* (x) defined on the polyhedral partitions in the parameter domain and can be pre-calculated off-line using mp-QP algorithm (Kvasnica et al., 2004; Baotic, 2002; Johansen et al., 2005).

Multi-parametric quadratic programming

Background

 The mp-QP problem can be formulated as the original form:

 

 where u∈Rnz are the optimal variables, x∈Rnx is the vector of parameters, and A∈Rncxnz, C∈Rncxnx, and C0∈Rnc are the matrices of polyhedral constraints in (z, x) space.

 To solve the mp-QP problem in (8), some important definitions are introduced to calculate the polyhedral partition of the parameter space (Kvasnica et al., 2004).

 Definition 1: A convex set Q⊆Rn describing the intersection of a finite number of closed half-spaces

 

 for Qx∈RnRxr  and Qc∈RnR is called polyhedron.

 Definition 2: A bounded polyhedron P⊆Rnr is called nt-polytope.

 It is clear to see from these two definitions that every polytope represents a convex compact set.

 Definition 3: The linear inequality a′x≤b is called valid for a polyhedron P if a′x≤b holds for all x∈P. A subset of a polyhedron is called a face of P if it is represented as

 

The faces of the polyhedron P of dimension 0,1,nr-2, and nr-1 are called vertices, edges, ridges and facets, respectively. 

A solution for mp-QP problem

 The problem present in (8) can be solved by applying the Karush-Kuhn-Tucker (KKT) conditions

 

 

 

 

 If H has a full rank, the solution for (11) is

 

 Assume for a moment that, we can define the active set constraints for a given value x. So the Lagrange multiplier λ* can be calculated based on (12) and (15)

 

where A*, C*, C0* contains the rows Ai, Ci, C0i, z* which corresponding to the active constraints. The optimal solution can be defined by substituting (16) into (15) 

 

 Substituting the expression (16) and (17) into (13) and (14) we can characterize the set of parameters where those expressions are valid, i.e., we obtain the closure of a critical region CR0 as follows

 

 

 This region is a convex polyhedral set and represents the largest set of parameterssuch that the combination of active constraints at the minimizer remains optimal (Johansen et al., 2005).

 The constructing polyhedral partitions of the parameter space that explicitly defines the PWL function z* (x) has been presented in the reference (Baotic, 2002). The algorithm briefly describes as follows

Algorithm (for offline mp-QP solver)

1. Let (z0, x0) be the initial solution of (8).
2. For x〓x0, compute the Lagrange multiplier and the optimal solution (λ*, z*).
3. Determine the active set constraintand build corresponding matrices A*, C*, C0*.
4. Determine (λ*A0, z*A0).
5. Characterize the critical region CR0.
6. Partition the rest of the parameter space.
7. For each new sub-region, execute the same Algorithm 3.1.

Example about mp-QP

 To evaluate the efficiency of the mp-QP method, a system using 3 actuators to produce 2 individual motions is studied. The effectiveness matrix is assumed to define as follows

 

 The problem is formulated in the optimal form (5)〜(7) with the following parameters

 

 The optimal solution is a PWL function with 7 polyhedral regions and the cost function on these regions is shown in Figure. 2. The efficiency of this solution can be evaluated through a study where the command forces are simulated as two sine wave signals. Figure. 3 shows command forces and actual forces produced from 3 actuators. Although the actuator is constrained about the power supply to the system, the errors between actual and commanded forces are almost eliminated.

Fig. 2. Cost function through 7 polyhedral regions.

Fig. 3. Comparison between actual and commanded forces.

RESULT AND DISCUSSION

 A dynamic positioning of a vessel by using assistant of 4 tugboats is studied. To counteract the effect of environmental disturbances, 4 tugboats produce thrusts simultaneously. The motion of the vessel is restricted in an area as small as possible. Because the tugboat cannot immediately change thrust from pushing to pulling and inversely, we will limit the tugboat thrust as limited pushing force to the vessel. The total system is shown in Figure. 4 and the system dynamic can be presented by the following model

Fig. 4. Controlled system by using 4 tugboats.

 

 where 〓[x, y, j]T∈R3 represents the position and heading angle. 〓[u, n, r]T∈R3 describes surge, sway and yaw rate of the ship. M, D is the inertia and damping matrix and b is the slow frequency environmental disturbance.

 In this paper, the directions of tugboats are kept fixed as

 

The control allocation is defined in term of the forces produced by each tugboat thrust u〓(u1,…, u4) and the commanded force τ〓(τx  , τy, τj). The control effectiveness matrix is calculated as follows 

 

And the tugboat thrust is limited as 

 

 In this study, the robust controller presented in the reference (Ji et al., 2013) is applied. It can capture the change of environmental disturbance, and the vessel presented good performance as shown in Figure. 5. Although, environmental disturbance gradually increases, the vessel is still kept in a small area where the change is about ± 50mm in lateral dimension and ±20mm in longitudinal dimension.

Fig. 5. Dynamic positioning of the vessel under environmental disturbance by using 4 tugboats.

 The efficiency of the mp-QP method can be evaluated based on Figures. (6) and (7). The optimal solution for this constrained control allocation is a PWL function with 61polyhedral regions. It is pre-computed and applied to this dynamic positioning simulation through a lookup table to save computing time. The 4 tugboat thrusts distributed from the commanded signals are shown in Figure. 6. It satisfies about the limited pushing force. And the error between total forces produced from 4 tugboats and forces produced from controller are almost eliminated by using mp-QP algorithm. As shown in Figure. 7, they are almost indistinguishable.

Fig. 6. Pushing thrusts from 4 tugboats.

Fig. 7. Force comparison: solid lines depict forces commanded by the controller and dash lines present actual thrusts produced by 4 tugboats.

CONCLUSIONS

 In this paper, we suggested an optimal approach for solving linear constrained control allocation problem by using mp-QP method. We have shown that the results for this problem is a PWL function of generalized forces and constrain limits. It can be pre-computed and applied to real-time system by using the lookup table technique. The efficiency of the mp-QP method has also been evaluated by vesselcontrol example where we try to keep the position and orient of the barge at constant under environmental disturbance by using pushing forces produced from 4 tugboats.

ACKNOWLEDGMENT

 This research was supported by Basic Science Research Program funded by the Ministry of Education, Science and Technology (2012R1A1A 2039012). Also this is the part of project titled “The development of a mooring position control system for offshore accommodation barge”funded by Ministry of Land, Transport and Maritime Affairs, Korea.

Reference

1.Baotic M. 2002. An efficient algorithm for multiparametric quadratic programming. Technical Report AUT02-04. http://control.ethz.ch/~ ?hybrid. Accessed 5 Aug 2012.
2.Bemporad A, Morari M, Dua V and Pistikopoulos EN. 2002. The explicit linear quadratic regulator for constrained systems. Automatica 38, 3-20.
3.Fossen TI and Johansen TA. 2006. A survey of control allocation methods for ships and underwater vehicles. Proc Int Con Con Auto, 1-6.
4.Ji SW, Bui VP, Balachandran B and Kim YB. 2013. Robust control allocation design for marine vessel. Ocean Eng 63, 105-111.
5.Johansen TA. 2004. Optimizing nonlinear control allocation. Proc Con Dec Con, 3435-3440.
6.Johansen TA, Fossen TI and Berge SP. 2004. Constrained nonlinear control allocation with singularity avoidance using sequential quadratic programming. IEEE Tran Con Sys Tech 12, 211- 216.
7.Johansen TA, Fossen TI and Tondel P. 2005. Efficient optimal constrained control allocation via multiparametric programming. J Guid Con Dyn 28, 506 -515.
8.Kvasnica M, Grieder P and Baotic M. 2004. Multiparametric toolbox (MPT). http://control.ee.ethz.ch/~mpt. Accessed 10 Aug 2012.
9.Lindfors I. 1993. Thrust allocation methods for the dynamic positioning system. Proc 10th Int Ship Con Symp, 93-06.
10.Sordalen OJ. 1997. Optimal thrust allocation for marine vessels. Con Eng Prac 5, 1223-1231.
11.Tondel P, Johansen TA and Bemporad A. An algorithm for multi-parametric quadratic programming and explicit MPC solutions. Automatica 39. 489-497.