Jtam.dvi JOURNAL OF THEORETICAL AND APPLIED MECHANICS 44, 4, pp. 929-948, Warsaw 2006 DYNAMICS AND CONTROL OF ROTARY CRANES EXECUTING A LOAD PRESCRIBED MOTION Wojciech Blajer Krzysztof Kołodziejczyk Institute of Applied Mechanics, Technical University of Radom e-mail: w.blajer@pr.radom.pl; kkolodziejczyk@multifox.pl Manipulating payloads with rotary cranes is challenging due to the underactuated nature of a system in which the number of control in- puts/outputs is smaller than the number of degrees-of-freedom. In this paper, the outputs (specified in time load coordinates) lead to servo- constraints on the system. A specific methodology is then developed to solve the arising inverse dynamics problem. Governing equations are derived as a set of index three differential-algebraic equations in state variables and control inputs. An effective numerical code for solving the equations, based on the backwardEulermethod, is proposed.A feedfor- ward control law obtained this way is then enhanced by a closed-loop control strategywith feedbackof actual errors in the loadposition topro- vide stable tracking of the required reference load trajectory in presence of perturbations. Some results of numerical simulations are provided. Key words: rotary cranes, inverse dynamics control, servo-constraints 1. Introduction Cranes are widely used in transportation and construction. In the industrial practice, they are predominantly operated manually – the operator actuates different joints by joysticks and/or buttons, so that to move the load from its initial position to its desired final destination in the working space along a trajectory, avoiding obstacles and sway. Even though almost the same paths are often repeated, which allows the operator to ’learn’ the maneuver, the cycle time is usually relatively large since the operator has to perform the maneuvers slowly in order to avoid inertia-induced excitations, and a consi- derable percentage of the time is spent on maneuvering the load close to the target point. The latter is usually a trial-and-error process, based on feedback provided by the operator’s own vision and assessment, and/or hand signals or 930 W. Blajer, K. Kołodziejczyk radio communication from a designated assistant at the work zone (Rosenfeld and Shapira, 1998). Automated cranes, after being ’taught’ a safe and efficient route between fixed locations of the source and the target, have a potential to play back that route much faster and more accurately than the repeated manual cycles. High potential of rationalization offered by automatic control systems sti- mulatedan increasing interest andsubstantial progress in researchonmodeling and control synthesis of cranes. A good review of the recent developments in the field is provided byAbdel-Rahman et al. (2003). Lumped-massmodels are most often used, in which the hoisting line is treated as a massless cable, the payload is lumped with a hook and modeled as a point mass, and the cable- hook-payload assembly ismodeled as a spherical pendulum, see e.g. Lee (1998) and Ghigliazza and Holmes (2002). Automatic navigation of cranes requires then planning of load motion aimed at minimizing the traveling time under some kinematic limitations such as maximum velocities/accelerations/jerks and/or frequent requirement for vanishing sway during the transfer process and at the target position (Aschemann, 2002). Cranes belong to a class of underactuated/underconstrained systems, i.e. such controlled mechanical systems in which the number of control in- puts/outputs is smaller than the number of degrees of freedom. Control of such systems is a challenging task which has been investigated for a long time (Spong, 1997). In the case of cranes, one of the consequences is that due to the rope flexibility, the undesirable load swing cannot be directly actuated by the available control, and advanced feedback control techniques are needed to suppress the swing and assure precise load positioning (Abdel-Rahman et al., 2003). In this paper, the problem of dynamics and control of a rotary crane exe- cuting a load prescribedmotion is viewed from the perspective of constrained motion. The control outputs, expressed in terms of the system states, are tre- ated as servo-constraints on the system (Kirgeov, 1967; Blajer andKołodziej- czyk, 2004; Bajodah et al., 2005). It is noticed, however, that servo-constraints differ frompassive constraints in several aspects.Mainly, they are enforced by means of control forces which may have any directions with respect to the manifold of servo-constraints, and in the extreme may be tangent. Such a si- tuation arises in the load trajectory tracking control of rotary cranes, and a specific methodologymust be developed to solve the arising ’singular’ inverse dynamics problem.After some introductory definitions, a theoretical backgro- und for the modeling of the partly specified/actuated motion is given. The initial governing equations arise as index-fiveDifferential-Algebraic Equations (DAEs), and are then transformed to a more tractable index-three form. An effective numerical code for solving the resultant DAEs is used, based on the backward Euler method. A feedforward control law obtained this way is then Dynamics and control of rotary cranes... 931 enhanced by a closed-loop control strategy with feedback of actual errors in the load position to provide stable tracking of the required reference load tra- jectory in presence of perturbations. Some results of numerical simulations are provided. 2. Modeling preliminaries A rotary crane model seen in Fig.1 is considered. This is a five-degree-of- freedom system, n = 5, whose position is described by q = [ϕ,s,l,θ1,θ2] ⊤, where ϕ is the angle of rotation of the girder bridge, s describes the trolley position on the girder, l is the hoisting rope length, and θ1 and θ2 are the swing angles seen in the figure. The performance goal is a desired motion of the load, i.e. the control outputs are specified in time by the load coordinates x, y and z in the inertial reference frame XYZ, γd(t)= [xd(t),yd(t),zd(t)] ⊤. The control inputs are the torque Mb regulating the bridge rotation angle ϕ, the force F actuating the trolley position s on the bridge, and the winch torque Mw changing the rope length l, u = [Mb,F,Mw] ⊤. In this meaning, ϕ, s and l can be regarded as controlled coordinates, while θ1 and θ2 can be called uncontrolled coordinates. Fig. 1. Rotary cranemodel The inverse dynamics control problemconsidered in this paper is following: given a prescribedmotion of amechanical system, determine the control inputs that force the system to complete the prescribedmotion. For the case study, the number of control inputs u is equal to the number of outputs γ,m=3, and it is smaller than the number of degrees of freedom of the system, m