Rigid-Body Attitude Control
Total Page:16
File Type:pdf, Size:1020Kb
Rigid-Body Attitude Control USING ROTATION MATRICES FOR CONTINUOUS, SINGULARITY-FREE CONTROL LAWS 30 IEEE CONTROL SYSTEMS MAGAZINE » JUNE 2011 1066-033X /11/ $ 26.00©2011IEEE igid-body attitude control is motivated by aero- Motivated by the desire to represent attitude both glob- space applications that involve attitude maneu- ally and uniquely in the analysis of rigid-body rotational vers or attitude stabilization. In addition to space- motion, this article uses orthogonal matrices exclusively to craft and atmospheric fl ight vehicles, applications represent attitude and to develop results on rigid-body atti- Rof rigid-body attitude control arise for underwater tude control. An advantage of using orthogonal matrices is vehicles, ground vehicles, and robotic systems. The set of at- that these control results, which include open-loop attitude titudes of a rigid body is the set of 3 3 3 orthogonal matri- control maneuvers and stabilization using continuous ces whose determinant is one. This set is the confi guration feedback control, do not require reinterpretation on the set space of rigid-body attitude motion; however, this confi gu- of attitudes viewed as orthogonal matrices. The main objec- ration space is not Euclidean. Since the set of attitudes is not tive of this article is to demonstrate how to characterize a Euclidean space, attitude control is typically studied using properties of attitude control systems for arbitrary attitude various attitude parameterizations [1]–[8]. These parame- maneuvers without using attitude parameterizations. terizations can be Euclidean, as in the case of Euler angles, which lie in R3, or non-Euclidean, as in the case of quaterni- DESCRIPTIONS OF RIGID-BODY ons, which lie in the non-Euclidean three-sphere S3. ATTITUDE CONFIGURATIONS Regardless of the choice of parameterization, all param- The attitude of a rigid body can be modeled by a linear eterizations [1], [2] fail to represent the set of attitudes both transformation between a reference frame and a body- globally and uniquely. For example, although Euler angles fixed frame that preserves the distance between each pair can represent every attitude, this representationntation of material points in the body and the handedness is not unique at certain attitudes. In fact, the of coocoordinater frames [1], [2], [6], [10]–[13]. time derivatives of the Euler angles at thesee AssAssumingu each frame is defined by three attitudes cannot represent every possible ororthogonalt unit vectors ordered accord- angular velocity. The term gimbal lock is iingn to the right-hand rule, the attitude of used to describe this mathematical sin- ttheh rigid body, as a linear transforma- gularity. Along the same lines, quaterni- ttion,i is represented by a 3 3 3 matrix ons can represent all possible attitudes ththat transforms a vector resolved in the and angular velocities, but this repre- bbody-fixed frame into its representation sentation is not unique; see “Representa- reresolved in the reference frame. The three tions of Attitude” for more details. Since colcolumnu vectors of the matrix represent the parameterizations such as Euler angles andnd tthreehree orthogonal unit basis vectors of the quaternions are unable to represent the set of atat-- body-body-fixedfix frame resolved in the reference titudes both globally and uniquely, results obtained frameframe. LikewLikewise, the three rows of the matrix repre- with these parameterizations have to be reinterpreted on sent the three orthogonal unit basis vectors of the reference the set of attitudes described by orthogonal matrices. Ne- frame resolved in the body frame. The resulting matrix, glecting this analysis can result in undesirable behavior referred to as a rotation matrix, represents the physical atti- such as unwinding [9], which refers to the unstable be- tude of the rigid body. The set of all rotation matrices is the havior of a closed-loop attitude control system. In par- special orthogonal group of rigid rotations in R3, which is ticular, for certain initial conditions, the trajectories of denoted by SO132; see “Attitude Set Notation” for a defini- the closed-loop system start close to the desired attitude tion of these and additional related sets. equilibrium in state space and yet travel a large distance In rigid-body pointing applications, the rotation about in the state space before returning to the desired attitude. the pointing direction is irrelevant since these rotations This closed-loop trajectory is analogous to the homo- do not change the direction in which the body points. clinic orbit observed in a simple pendulum that swings Thus, while rotation matrices R [ SO132 can be used to 360° when perturbed from its inverted position at rest. Un- model the attitude of a rigid body, not all the information winding can result in wasted control effort by causing the available in the rotation matrix is required for pointing rigid body to perform a large-angle slew maneuver when applications. In this case, a reduced representation of the a small-angle slew maneuver in the opposite rotational di- rotation matrix can be used for pointing applications. An rection is sufficient to achieve the objective; see “Pitfalls of example of such a reduced representation is the reduced- Using Quaternion Representations for Attitude Control” attitude vector [14]. To develop the reduced-attitude for a description and illustration of unwinding in attitude vector representation of a rigid body, suppose b [ S2, control using quaternions. where S2 is the unit sphere in three-dimensional space, is a unit vector that denotes a fixed pointing direction speci- fied in the reference frame. Then, in the body-fixed frame, ! ^ [ S2 Digital Object Identifier 10.1109/MCS.2011.940459 this direction vector can be expressed as G R b , ^ Date of publication: 16 May 2011 where R denotes the transpose of the rotation matrix R © SHANNON MASH JUNE 2011 « IEEE CONTROL SYSTEMS MAGAZINE 31 Representations of Attitude igid body attitude is often represented using three or four Rparameters. Unit quaternions and the axis-angle represen- Table S1 Properties of attitude representations. tation use four parameters to represent the attitude. Three-pa- rameter representations of attitude include the Euler angles as Attitude Representation Global? Unique? Euler angles No No well as parameters derived from the unit quaternions as in the Rodrigues parameters No No case of the Rodrigues parameters and the modified Rodrigues Modified Rodrigues parameters No No parameters. These three-parameter sets can be viewed as Quaternions Yes No embedded subsets of R3, thus allowing methods of analysis Axis-angle Yes No that are suited to the Euclidean space R3. Euler angles are Rotation matrix Yes Yes kinematically singular since the transformation from their time rates of change to the angular velocity vector is not globally defined. The Rodrigues parameters and modified Rodrigues As shown in Table S1, since the unit quaternions are global parameters are geometrically singular since they are not de- in their representation of attitude, they are often used in practi- fined for 180° of rotation. Therefore, continuous control laws cal applications to represent rigid-body attitude. However, note using these three-parameter representations cannot be glob- that the map from the space S3 of unit quaternions to the space ally defined, and, as such, these representations are limited to SO132 of rotations is not unique. In particular, this map is a two- local attitude maneuvers. fold covering map, where each physical attitude R [ SO132 is Table S1 presents various attitude representations and represented by a pair of antipodal unit quaternions 6q [ S3. If their key properties. While the quaternions, axis-angle vari- not carefully designed, quaternion-based controllers may yield ables, and rotation matrices can represent all attitudes of a undesirable phenomena such as unwinding [9]; see “Pitfalls rigid body, only rotation matrices can represent all attitudes of Using Quaternion Representations for Attitude Control” for uniquely. more details. representing the attitude of the rigid body. We refer to the lems using continuous feedback control. In particular, we vector G as the reduced-attitude vector of the rigid body. seek continuous attitude control laws that modify the Thus, a reduced-attitude vector describes a direction b dynamics of the spacecraft such that a specified attitude or fixed in the reference frame by a unit vector resolved in reduced attitude is rendered asymptotically stable. For full- the body frame. In pointing applications, a pointing direc- attitude control, this continuous feedback function is tion b [ S2 in the reference frame can be expressed by the defined in terms of the full rigid-body attitude and angular reduced attitude G corresponding to b, and, hence, the velocity, while, for reduced-attitude control, this feedback reduced attitude can be used to study pointing applica- function is defined in terms of the reduced attitude and tions for a rigid body. angular velocity. FULL- AND REDUCED-ATTITUDE CONTROL LOCAL AND GLOBAL Rigid-body attitude control problems can be formulated ATTITUDE CONTROL ISSUES in terms of attitude configurations defined in SO132 or in Since attitude control problems are nonlinear control prob- terms of reduced-attitude configurations defined in S2. lems, these problems can be categorized into local attitude The former case involves control objectives stated directly control issues and global attitude control issues.