1 Introduction

1.1 The state of the art and review

The dynamic problem of guided payload swaying during controlled slewing of a crane boom is the main priority inverse problem of crane dynamics for allowable motion and accurate positioning of loaded boom cranes [110]. This problem is closely associated with the primary problem of inverse dynamics of a pendulum with a rotating pivot center, where a law of guided rotational motion of the pendulum pivot center is unknown a priori and depends on the control input variable u(t). A review of relevant published works has identified a number of research efforts, which have been focused on various aspects of allowable payload swaying during guided crane boom slewing [110].

The direct solution approach is used by Benson et al. for the reduction of the optimal control problem to a nonlinear programming problem through the introduction of the Gauss pseudospectral method [1]. Use of this method results in the possibility to achieve rapid convergence with a small increase in sampling points required for quantization and enables easy accounting of limitations on the control and phase variables [1].

Blajer et al. have addressed the problem of payload motion control as it applies to payload path definition [2]. The control problem in Blajer’s approach is posed in the following way. The control variables which ensure the transportation of a payload along the prescribed trajectory are determined without minimization of payload motion time and without taking into account the Coriolis effects. Blajer et al. get the different control parameters in dependence of prescribed trajectory [2]. The principal fundamental difference between our problem and Blajer’s is that we don’t know the trajectory of payload motion and we have to minimize the time of payload transportation from the initial to final position. Moreover, the Blajer’s solution does not ensure minimization of payload transportation time during payload transportation from the initial to final position [2].

Condurache et al. have proposed an exact vector solution of the driven Foucault pendulum problem and derived a new conservation law for Foucault pendulum-like motions through an introduction of differential and vector computations [3]. This study made a complex comprehensive investigation of Foucault pendulum motion in a central force field with respect to a non-inertial reference frame fixed on earth [3].

JModelica.org is an open source freeware platform for optimization, simulation and analysis of complex dynamic systems [4]. JModelica.org is based on the Modelica simulation language [4]. The key feature of JModelica.org is Optimica extension [4]. Optimica provides the user the capability for the easy formulation of optimization problems by grounding the problems for optimization on Modelica’s model for natural determination of the optimization interval, the goal function and constraints [4]. A very essential benefit from the Optimica extension is Optimica’s possibility for working with differential equations, which describe the behavior of dynamic systems and are written in the unresolved form for the first derivative [4]. This useful possibility broadens the class of problems which could be solved with the JModelica.org platform [4].

Palis and Palis have studied open-loop and closed-loop control strategies for crane boom slewing motion [5]. Both linear and nonlinear models for slewing cranes and swaying payload motions with open-loop control were studied [5]. Coriolis and centrifugal effects have been taken into account in this study for a nonlinear model of a crane boom–payload system with open-loop control [5]. A time-optimal control problem was posed and solved by the authors with a linear model of the crane boom–payload system with open-loop control [5]. They then found the absolute trajectory of the payload motion for a nonlinear model through the use of a linear model-derived solution of a time-optimal control problem for an open-loop system [5]. So a linear model-derived optimal control solution was applied to the nonlinear case for an open-loop system and an essential discrepancy was found between the linear and nonlinear models in the final point of payload displacement [5]. As result, taking into account these discrepancies between linear and nonlinear models, the authors proposed a damping strategy for the system with closed-loop control, which made it possible to reduce payload oscillations after the crane boom stops [5]. However, they did not solve the time-optimal control problem for the nonlinear model of a crane boom–payload system taking Coriolis and centrifugal effects for open-loop control into account. So the work [5] by Palis and Palis did not allow minimization of payload swaying during crane boom slewing.

Perig et al. derived and confirmed the relative and absolute trajectories for payload swaying, taking into account the effect of Coriolis inertia forces [6, 7]. However, Perig’s approach was mainly focused on the cases of uniform crane boom slewing and did not properly address the crane boom control problem [6, 7].

Pontryagin (also written Pontriagin or Pontrjagin) et al. have formulated Pontryagin’s (Pontriagin’s or Pontrjagin’s) maximum principle, which represents a necessary condition for optimal control problems [8]. This principle is based on establishing a connection between objective-optimized functional and process dynamics [8]. This connection is realized through the use of the Hamiltonian function [8]. According to Pontryagin’s (Pontriagin’s or Pontrjagin’s) maximum principle for optimal control and for corresponding coordinates for which the optimum criterion has a minimum, the Hamiltonian function has a maximum [8]. Pontryagin’s (Pontriagin’s or Pontrjagin’s) maximum principle is widely used for the solution of optimal control problems but there are difficulties with its usage when limitations exist on the phase variables, in addition to the control variables. The direct solution method is another computational technique, which is also used for the solution of optimal control problems [1]. The direct solution method is reduced to switching the optimal control problem to a nonlinear programming problem [1].

Sakawa et al. have proposed a model for payload swaying during crane boom slewing with the introduction of open-loop control [9]. Sakawa et al. have proposed a new numerical solution of the optimal control problem for payload swaying during crane boom slewing through the introduction of an additional penalty function and cost functional [9]. However, Sakawa’s computational approach has some special features [9]. Sakawa’s work [9] is focused on the determination of optimal control for minimization of payload swaying both during crane boom slewing, and at the end of crane boom angular displacement. Sakawa et al. have proposed the following computational technique in the search for the optimal control. Sakawa et al. have converted the optimal control problem to a boundary value problem for a system of differential equations through an introduction of the Pontryagin (Pontriagin or Pontrjagin) maximum principle [8] with further application of different algorithms for initial conditions assignment. The high accuracy of the solution and the guarantee that the solution satisfies optimality conditions of the first order are the advantages of this method [9]. However, this technique has a number of shortcomings, namely, the small radius of convergence. So there is a need to choose the first initial approximation to be near the optimum. Moreover, difficulties with this approach have arisen when taking into account the constraints on the phase and control variables. Sakawa et al. have applied the hyperplane constraint technique in order to take into account the available constraints on the phase variables. In this way Sakawa et al. have converted two constraints on the phase variables to constraints on the phase and control variables. This causes distortion of the region of permissible values for phase and control variables. Moreover, the algorithm of control time minimization in Sakawa’s work is different from the algorithm of optimal control search with fixed time. This fact rather complicates the usage of Sakawa’s algorithm in other applications. Moreover, Sakawa addressed the method of penalty functions in order to take into account the one remaining constraint. And this Sakawa’s approach complicates the form of the minimized functional. However, the proposed computational technique is a quite abstract and complex one. Sakawa’s approach has no adaptation to engineering practice due to the absence of simple engineering formulae for payload swaying values. Moreover, the absolute swaying trajectories have not been derived for crane boom slewing angles [0° … 180°] in Fig. 3 at p. 552, in Fig. 5 at p. 554, in Fig. 7 at p. 555, and in Fig. 8 at p. 555 of Sakawa’s work [9].

Terashima et al. determined the necessary control for crane boom rotation, crane boom lifting, and cable length change for payload displacement from initial to final positions with minimum time [10]. However, Terashima’s dynamic model for payload motion does not properly account for the influence of the Coriolis inertia force on payload swaying [10].

1.2 Aims and scopes of the present research

The above-mentioned literature review has shown that the nonlinear problem of payload swaying during guided crane boom slewing, taking nonlinear Coriolis effects into account, has not been properly addressed in previous known research [110]. This fact emphasizes the prime novelty and actuality of the present article, which is focused on formulation and proposing a freeware-based numerical solution of open-loop time-optimal control nonlinear problem with accent on Coriolis force-influence effects on relative and absolute payload motion.

The main goal of the present article is focused on the formulation, posing and freeware-based numerical solution of an open-loop time-optimal control nonlinear problem of payload swaying during crane boom-guided slewing with proper accounting of nonlinear Coriolis effects.

The object of this research is the process of payload swaying along the Coriolis force-influenced trajectory during crane boom-guided slewing for an open-loop crane boom drive system.

The subject of research is focused on the general trends of open-loop time-optimal control derived relative and absolute trajectories of swaying payload with respect to non-uniform unknown law of crane boom slewing, and nonlinear Coriolis effects during payload swaying motion.

1.3 Prime novelty statement of research (highlights)

The main contribution of this article to the field is as follows.

The present article is focused on the mathematical formulation and the derivation of a numerical solution of the DAE-based open-loop optimal control problem for payload-guided swaying during crane boom non-uniform slewing.

The prime novelty of this article is as follows.

For the first time a numerical solution of the open-loop optimal control problem for boom-driven payload transportation during crane boom slewing from the initial to the final position with minimum transportation time has been derived with an application of Optimica and JModelica.org open source freeware, where a dynamic model of the guided payload swaying takes into account the effects of Coriolis force influence on the relative and absolute trajectories of the guided swaying payload. The influence of the allowable payload swaying ε on the control parameter of the crane boom drive has been clarified. The present article extends the ideas about adaptability of Foucault pendulum-like systems for the problems of open-loop optimal control for swaying of the spherical pendulum with rotating pivot center. The complex of authors-proposed computational algorithms was implemented with free scientific software Optimica and JModelica.org. The proposed open code algorithms derived numerical data and computational plots for open-loop optimal control problem enhance and expand our knowledge about the dynamics of guided boom-driven payload swaying during rotary crane boom slewing.

The present paper has the possible industrial applications in R&D-related fields of transport engineering and carrying-and-lifting machinery.

2 Computational approach

2.1 Mechanical formulation of the problem and the governing equations

We will study a 3D model of the boom crane shown in Fig. 1. This model is a 3DOF mechanical system, which includes slewing boom BD, cable BM, connected to the boom tip B, and swaying payload M, suspended to cable BM (Fig. 1). The motion of a dynamic mechanical system “crane boom–payload” is described in Fig. 1. This system has the following three degrees of freedom: crane boom BD slewing angle φ e(t) [rad], and relative angular coordinates α 1(t) [rad] and α 2 (t) [rad] for swaying payload M, where the one control input parameter u(t) [V] is the rotary AC-servo motor winding voltage and the one control input u(t) determines the first (d(φ e (t))/dt) [rad/s] and the second (d2(φ e (t))/dt 2) [rad/s2] derivatives of crane boom BD slewing angle φ e (t) [rad], as well as the angle φ e = φ e (t) of crane boom slewing (detailed description of φ e (t), (d(φ e (t))/dt), (d2(φ e (t))/dt 2), α 1 (t) and α 2 (t) is shown in the Nomenclature chapter). It is possible to describe the position of payload M, attached to the boom crane BD with four dependent coordinates

$$ {\mathbf{p}}\left( t \right) = \left[ {\varphi_{\text{e}} \left( t \right),\;x_{1} \left( t \right),\;y_{1} \left( t \right),\;z_{1} \left( t \right)} \right]^{{ \circ {\rm T}}} , $$
(1)

where p(t) is the positional vector of payload M, φ e (t) is the crane boom BD slewing angle and (x 1(t), y 1(t), z 1(t)) are Cartesian relative coordinates of payload M in the non-inertial reference frame \({\mathscr{B}}\), connected with the crane boom BD tip B (Fig. 1).

Fig. 1
figure 1

The computational scheme of payload M swaying during guided crane boom DB slewing accounting for nonlinear effects, caused by inertia forces Φ τ e , Φ n e and Φ cor

The coordinate φ e (t) also determines crane boom BD position without payload M as if payload M is non-existent. There is the following geometric constraint, imposed on the relative coordinates (x 1(t), y 1(t), z 1(t)) of payload M and the transport coordinate φ e (t) of crane boom BD:

$$ \varPhi \left( {x_{1} \left( t \right),\;y_{1} \left( t \right),\;z_{1} \left( t \right),t} \right) = \sqrt {\left( {x_{1} \left( t \right)} \right)^{2} + \left( {y_{1} \left( t \right)} \right)^{2} + \left( {z_{1} \left( t \right) - l} \right)^{2} } - l = 0. $$
(2)

We will derive the dynamic equations of motion of mechanical system “crane boom BD–payload M” using the projection method, proposed by Blajer et al. [2]. We will write equations of unconstrained motion of crane boom BD and payload M without taking into account the geometric constraint (2). The first equation of the governing system is Terashima’s [10] equation, which establishes the relationship between crane boom BD angular acceleration (d2(φ e (t))/dt 2), crane boom BD angular velocity (d(φ e (t))/dt) and control input voltage u(t):

$$ \left( {\frac{{{\text{d}}^{2} \left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right) = - \left( {\frac{1}{{T_{\varphi } }}} \right)\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right) + \left( {\frac{{K_{\varphi } }}{{T_{\varphi } }}} \right)\left( {u\left( t \right)} \right), $$
(3)

where Eq. (3) and numerical values of T φ = 0.015 [s] and K φ = 0.315 [1/(sV)] in Eq. (3) are written on the basis of Terashima’s Eqs. (1)–(2) and Terashima’s Table 2 at page 1181 of Ref. [10] by Terashima et al., and u(t) is the control input voltage at the windings of the rotary AC-servo motor.

The second equation of the governing system is the dynamic equation of relative unconstrained motion of payload M with respect to the non-inertial reference frame \({\mathscr{B}}\). This equation does not coincide with the dynamic Coriolis theorem in the absence of reaction of constraint (2) in it, i.e., as if constraint (2) is not imposed on payload M at all:

$$ m{\mathbf{a}}_{\text{r}} = m{\mathbf{g}} + \left( { - m{\mathbf{a}}_{\text{e}}^{\tau } } \right) + \left( { - m{\mathbf{a}}_{\text{e}}^{\text{n}} } \right) + \left( { - m{\mathbf{a}}_{{\text{cor}}} } \right), $$
(4)

where g is the vector of gravitational acceleration, \( {\mathbf{a}}_{\text{r}} = {\textbf{a}}_{{M/{\mathscr{B}}}} \) is the vector of relative acceleration of payload M in the non-inertial reference frame \({\mathscr{B}}\), \( {\mathbf{a}}_{{\mathbf{e}}}^{{\varvec{\uptau}}} = {\boldsymbol{\upalpha}}_{{{\mathscr{B}}/{\mathscr{E}} }} \times {\mathbf{r}}_{{o_{2} /M}} \) and \( {\mathbf{a}}_{{\mathbf{e}}}^{\text{n}} = \{\boldsymbol{\upomega}_{{{\mathscr{B}}/{\mathscr{E}} }} \times \left( {{\boldsymbol{\upomega}}_{{{\mathscr{B}}/{\mathscr{E}} }} \times {\mathbf{r}}_{{o_{2} /M}} } \right) \) are tangential and normal accelerations for the motion of the non-inertial reference frame \({\mathscr{B}}\) with respect to the motionless fixed on earth inertial reference frame \({\mathscr{E}}\), and \( {\mathbf{a}}_{{\text{cor}}} = 2{\boldsymbol{\upomega}}_{{{\mathscr{B}}/{\mathscr{E}} }} \times {\textbf{V}}_{{M/{\mathscr{B}}}} \) is the Coriolis acceleration of payload M, caused by the slewing motion of the non-inertial reference boom-connected frame \({\mathscr{B}}\) with respect to the inertial reference frame \({\mathscr{E}}\), where

$$ {\mathbf{a}}_{{\mathbf{r}}} = {\mathbf{a}}_{{M/{\mathscr{B}}}} = \left( {\frac{{{\text{d}}^{2} \left( {x_{1} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right) {\tilde{\mathbf{e}}}_{{\mathbf{1}}} + \left( {\frac{{{\text{d}}^{2} \left( {y_{1} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right){\tilde{\mathbf{e}}}_{2} + \left( {\frac{{\text{d}^{2} \left( {z_{1} \left( t \right)} \right)}}{{\text{d}t^{2} }}} \right){\tilde{\mathbf{e}}}_{3} ; $$
(5)
$$ {\mathbf{a}}_{{\mathbf{e}}}^{{\varvec{\uptau}}} = {\varvec{\upalpha}}_{{ {\mathscr{B}}/{\mathscr{E}}}} \times {\mathbf{r}}_{{O_{2} /M}} = \left( { - \left( {\frac{{\text{d}^{2} \left( {\varphi_{e} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)\left( {R + y_{1} \left( t \right)} \right)} \right){\tilde{\mathbf{e}}}_{{\mathbf{1}}} + \left( {\left( {\frac{{{\text{d}}^{2} \left( {\varphi_{e} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)x_{1} \left( t \right)} \right){\tilde{\mathbf{e}}}_{{\mathbf{2}}} ; $$
(6)
$$ {\mathbf{a}}_{{\mathbf{e}}}^{{\mathbf{n}}} = {\varvec{\upomega}}_{{ {\mathscr{B}}/{\mathscr{E}}}} \times ({\varvec{\upomega}}_{{{\mathscr{B}}/{\mathscr{E}}}} \times {\mathbf{r}}_{{O_{2} /M}} ) = \left( { - \left( {\frac{{{\text{d}}\left( {\varphi_{e} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)^{2} x_{1} \left( t \right)} \right){\tilde{\mathbf{e}}}_{{\mathbf{1}}} - \left( {\left( {\frac{{{\text{d}}\left( {\varphi_{e} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)^{2} \left( {R + y_{1} \left( t \right)} \right)} \right){\tilde{\mathbf{e}}}_{{\mathbf{2}}} ; $$
(7)
$$ {\mathbf{a}}_{{{\mathbf{cor}}}} = 2 {\varvec{\upomega}}_{{ {\mathscr{B}}/{\mathscr{E}}}} \times {\mathbf{V}}_{{ M/{\mathscr{B}}}} = \left( { - 2\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)\left( {\frac{{{\text{d}}\left( {y_{1} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)} \right){\tilde{\mathbf{e}}}_{{\mathbf{1}}} + \left( {2\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)\left( {\frac{{{\text{d}}\left( {x_{1} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)} \right){\tilde{\mathbf{e}}}_{{\mathbf{2}}} . $$
(8)

The distinctive key feature of the present work is accounting for the Coriolis inertia force Φ cor  = (–m)a cor  [N] and the assumption about fixed cable BM length l = const [m] during crane boom BD transport slewing motion with an arbitrary angular velocity \( {\varvec{\upomega}}_{{{\mathscr{B}}/{\mathscr{E}} }} \) = ω e  ≠ const [rad/s] and with simultaneous relative swaying of payload M in Fig. 1 [detailed description of inertia forces Φ τ e  = (–m)a τ e  [N], Φ n e  = (–m)a n e  [N] and Φ cor  = (–m)a cor  [N] is shown in the Nomenclature chapter and in the above listed formulae (6)–(8)].

It is possible to project a vector Eq. (4) for unconstrained motion of payload M to the coordinate axes (x 1, y 1, z 1) of the non-inertial reference frame \({\mathscr{B}}\) by taking into account vector Eqs. (5)–(8) for accelerations:

$$ m\left( {\frac{{{\text{d}}^{2} \left( {x_{1} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right) = m\left( {\left( {\frac{{{\text{d}}^{2} \left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)\left( {R + y_{1} \left( t \right)} \right)} \right) + m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)^{2} x_{1} \left( t \right)} \right) + 2m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)\left( {\frac{{{\text{d}}\left( {y_{1} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)} \right); $$
(9)
$$ m\left( {\frac{{{\text{d}}^{2} \left( {y_{1} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right) = - m\left( {\left( {\frac{{{\text{d}}^{2} \left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)x_{1} \left( t \right)} \right) +\, m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)^{2} \left( {R + y_{1} \left( t \right)} \right)} \right) -\, 2m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)\left( {\frac{{{\text{d}}\left( {x_{1} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)} \right); $$
(10)
$$ m\left( {\frac{{{\text{d}}^{2} \left( {z_{1} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right) = - mg. $$
(11)

According to Blajer’s approach [2], it is possible to write the system of ordinary differential Eqs. (3), (9)–(11) for unconstrained crane boom BD and unconstrained payload M in the following matrix form:

$$ {\mathbf{M}}\left( {\frac{{{\text{d}}^{2} \left( {{\mathbf{p}}\left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right) = {\mathbf{f}}\left( t \right) - {\mathbf{B}}^{\rm T} u\left( t \right), $$
(12)

where M is the diagonal 4 × 4 generalized mass matrix, (d2(p(t))/dt 2) is the 4-component vector of acceleration of payload M, f(t) is the 4-component vector of generalized applied active and inertia forces, B T is the 4-component control vector, and u(t) is the control input voltage, where

$$ {\mathbf{M}} = \left[ {\begin{array}{*{20}c} 1 & 0 & 0 & 0 \\ 0 & m & 0 & 0 \\ 0 & 0 & m & 0 \\ 0 & 0 & 0 & m \\ \end{array} } \right]; $$
(13)
$$ \left( {\frac{{{\text{d}}^{2} \left( {{\mathbf{p}}\left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right) = \left[ {\left( {\frac{{{\text{d}}^{2} \left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right),\;\left( {\frac{{{\text{d}}^{2} \left( {x_{1} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right),\;\left( {\frac{{{\text{d}}^{2} \left( {y_{1} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right),\;\left( {\frac{{{\text{d}}^{2} \left( {z_{1} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)} \right]^{{{\rm T}}} ; $$
(14)
$$ {\mathbf{f}}\left( t \right) = \left( {\begin{array}{*{20}c} { - \left( {\frac{1}{{T_{\varphi } }}} \right)\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)} \\ {m\left( {\left( {\frac{{{\text{d}}^{2} \left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)\left( {R + y_{1} \left( t \right)} \right)} \right) + m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)^{2} x_{1} \left( t \right)} \right) + 2m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)\left( {\frac{{{\text{d}}\left( {y_{1} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)} \right)} \\ { - m\left( {\left( {\frac{{{\text{d}}^{2} \left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)x_{1} \left( t \right)} \right) + m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)^{2} \left( {R + y_{1} \left( t \right)} \right)} \right) - 2m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)\left( {\frac{{{\text{d}}\left( {x_{1} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)} \right)} \\ { - mg} \\ \end{array} } \right); $$
(15)
$$ {\mathbf{B}}^{\rm T} = \left[ {\left( { - \left( {\frac{{K_{\varphi } }}{{T_{\varphi } }}} \right)} \right),\;0,\;0,\;0} \right]^{{{\rm T}}} . $$
(16)

However, the real mechanical system “crane boom BD–payload M” contains the imposed geometric constraint (2) in the shape of the cable BM. So the real problem of payload M swaying during crane boom BD slewing requires us to take into account the presence of an imposed geometric constraint (2) by imposition of geometric constraint (2) at divided subsystems “crane boom BD” and “payload M”. In this case Blajer’s dynamic Eq. (12) for an unconstrained system should be written in modified form to take into account the presence of reaction λ(t) of cable BM constraint. Blajer et al. have proposed the following modified dynamic equation:

$$ {\mathbf{M}}\left( {\frac{{{\text{d}}^{2} \left( {{\mathbf{p}}\left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right) = {\mathbf{f}}\left( t \right) - {\mathbf{B}}^{\rm T} u\left( t \right) - \left( {{\mathbf{C}}^{\rm T} \left( {\mathbf{p}} \right)} \right)\,\lambda \left( t \right), $$
(17)

where C T(p) = ∂Φ/∂p is the 4-component constraint vector, and λ(t) is the undetermined Lagrange multiplier, where

$$ {\mathbf{C}}^{\rm T} \left( {\mathbf{p}} \right) = \left[ {0,\;\left( {\frac{{x_{1} \left( t \right)}}{l}} \right),\;\left( {\frac{{y_{1} \left( t \right)}}{l}} \right),\;\left( {\frac{{z_{1} \left( t \right) - l}}{l}} \right)} \right]^{{{\rm T}}} . $$
(18)

The scalar form of Blajer’s matrix Eq. (17) for the motion of constrained system “crane boom BD–payload M” can be formulated by taking into account the above written formulae (3), (9)–(18) and in our case is as follows:

$$ \left( {\frac{{{\text{d}}^{2} \left( {\varphi_{e} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right) = - \left( {\frac{1}{{T_{\varphi } }}} \right)\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right) + \left( {\frac{{K_{\varphi } }}{{T_{\varphi } }}} \right)\left( {u\left( t \right)} \right) , $$
(19)
$$ m\left( {\frac{{{\text{d}}^{2} \left( {x_{1} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right) = m\left( {\left( {\frac{{{\text{d}}^{2} \left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)\left( {R + y_{1} \left( t \right)} \right)} \right) + m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)^{2} x_{1} \left( t \right)} \right) + 2m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)\left( {\frac{{{\text{d}}\left( {y_{1} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)} \right) - \left( {\lambda \left( t \right)} \right)\left( {\frac{{x_{1} \left( t \right)}}{l}} \right); $$
(20)
$$ \begin{aligned} m\left( {\frac{{{\text{d}}^{2} \left( {y_{1} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right) =& - m\left( {\left( {\frac{{{\text{d}}^{2} \left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)x_{1} \left( t \right)} \right) + m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)^{2} \left( {R + y_{1} \left( t \right)} \right)} \right) \\&\quad - 2m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)\left( {\frac{{{\text{d}}\left( {x_{1} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)} \right) - \left( {\lambda \left( t \right)} \right)\left( {\frac{{y_{1} \left( t \right)}}{l}} \right); \end{aligned} $$
(21)
$$ m\left( {\frac{{{\text{d}}^{2} \left( {z_{1} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right) = - mg - \left( {\lambda \left( t \right)} \right)\left( {\frac{{z_{1} \left( t \right) - l}}{l}} \right), $$
(22)

where λ(t) = N(t) is the reaction of the constraint BM, i.e., the cable BM tension force.

It is possible to eliminate λ(t) from (17), (19)–(22) through the use of Blajer’s projection method. For this purpose we will project the Blajer’s dynamic Eq. (17) in the instantaneous direction, perpendicular to the surface of the constraint (2). The perpendicular direction to the surface of the constraint (2) is determined by the vector C T(p) (18). Following Blajer’s approach we will compute the scalar product of Eq. (17) at the vector C(p) (18). As result we will get the following dynamic expression:

$$ \left( {\left( {{\mathbf{C}}\left( {\mathbf{p}} \right)} \right),{\mathbf{M}}\left( {\frac{{{\text{d}}^{2} \left( {{\mathbf{p}}\left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)} \right) = \left( {\left( {{\mathbf{C}} \left( {\mathbf{p}} \right)} \right),{\mathbf{f}}\left( t \right)} \right) - \left( {\left( {{\mathbf{C}} \left( {\mathbf{p}} \right)} \right),{\mathbf{B}}^{\rm T} u\left( t \right)} \right) - \left( {\left( {{\mathbf{C}}\left( {\mathbf{p}} \right)} \right),\left( {{\mathbf{C}}^{\rm T} \left( {\mathbf{p}} \right)} \right)\,\lambda \left( t \right)} \right), $$
(23)

where (C(p), C T(p)) = 1.

So dynamic expression (23) yields the following formula for cable tension λ(t) = N(t):

$$ \lambda \left( t \right) = \left( {\left( {{\mathbf{C}}\left( {\mathbf{p}} \right)} \right),{\mathbf{f}}\left( t \right)} \right) - \left( {\left( {{\mathbf{C}} \left( {\mathbf{p}} \right)} \right),{\mathbf{B}}^{\rm T} u\left( t \right)} \right) - \left( {\left( {{\mathbf{C}} \left( {\mathbf{p}} \right)} \right),{\mathbf{M}}\left( {\frac{{{\text{d}}^{2} \left( {{\mathbf{p}}\left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)} \right). $$
(24)

The coordinate form of the Eq. (24) in our case is as follows:

$$ \begin{aligned} \lambda \left( t \right) = & \left( {\frac{{x_{1} \left( t \right)}}{l}} \right)\left[ {m\left( {\left( {\frac{{{\text{d}}^{2} \left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)\left( {R + y_{1} \left( t \right)} \right)} \right) + m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)^{2} x_{1} \left( t \right)} \right)} \right. \\ & \left. { +\, 2m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)\left( {\frac{{{\text{d}}\left( {y_{1} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)} \right) - m\left( {\frac{{{\text{d}}^{2} \left( {x_{1} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)} \right] \\ & + \left( {\frac{{y_{1} \left( t \right)}}{l}} \right)\left[ { - m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)x_{1} \left( t \right)} \right) + m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)^{2} \left( {R + y_{1} \left( t \right)} \right)} \right)} \right. \\ & \left. { -\, 2m\left( {\left( {\frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)\left( {\frac{{{\text{d}}\left( {x_{1} \left( t \right)} \right)}}{{{\text{d}}t}}} \right)} \right) - m\left( {\frac{{{\text{d}}^{2} \left( {y_{1} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)} \right] \\ & - \left( {\frac{{z_{1} \left( t \right) - l}}{l}} \right)\left[ {mg + m\left( {\frac{{{\text{d}}^{2} \left( {z_{1} \left( t \right)} \right)}}{{{\text{d}}t^{2} }}} \right)} \right]. \\ \end{aligned} $$
(25)

After substitution of derived expression (25) for cable tension force λ(t) = N(t) into dynamic Eqs. (20)–(22), we will get a new system of equations, which does not depend on λ(t). So it is possible to formulate the time-optimal control problem for dynamic system of Eqs. (19)–(22), (25) with eliminated cable tension force λ(t) = N(t).

The present control problem is focused on the nonlinear character of the mechanical problem in Fig. 1, where system nonlinearities are determined by the nonlinear nature of cable tension force N(t) and the nonlinear effect of Coriolis inertia force Φ cor .

2.2 Mathematical formulation of the time-optimal control problem

We will determine the phase variables in the following way:

$$ x_{1} \left( t \right) = x_{1} \left( t \right); $$
(26)
$$ x_{2} \left( t \right) = \frac{{{\text{d}}\left( {x_{1} \left( t \right)} \right)}}{{{\text{d}}t}}; $$
(27)
$$ x_{3} \left( t \right) = y_{1} \left( t \right); $$
(28)
$$ x_{4} \left( t \right) = \frac{{{\text{d}}\left( {y_{1} \left( t \right)} \right)}}{{{\text{d}}t}}; $$
(29)
$$ x_{5} \left( t \right) = z_{1} \left( t \right); $$
(30)
$$ x_{6} \left( t \right) = \frac{{{\text{d}}\left( {z_{1} \left( t \right)} \right)}}{{{\text{d}}t}}; $$
(31)
$$ x_{7} \left( t \right) = \varphi_{\text{e}} \left( t \right); $$
(32)
$$ x_{8} \left( t \right) = \frac{{{\text{d}}\left( {\varphi_{\text{e}} \left( t \right)} \right)}}{{{\text{d}}t}}. $$
(33)

Using this notation, we formulate the optimal control problem.

It is necessary to find the optimal control input u(t) that gives the minimum for the function

$$ J = t_{f} ; $$
(34)

and takes the state from the initial position to the final one for the system, subjected to the following constraints:

$$ \frac{{{\text{d}}\left( {x_{1} \left( t \right)} \right)}}{{{\text{d}}t}} = x_{2} \left( t \right); $$
(35)
$$ \frac{{{\text{d}}\left( {x_{2} \left( t \right)} \right)}}{{{\text{d}}t}} = x_{8}^{2} \left( t \right) \cdot x_{1} \left( t \right) + \left( {K_{1} \cdot x_{8} \left( t \right) + K_{2} \cdot u\left( t \right)} \right) \cdot \left( {R + x_{3} \left( t \right)} \right) + 2 \cdot x_{8} \left( t \right) \cdot x_{4} \left( t \right) - \left( {\frac{N\left( t \right)}{m}} \right) \cdot \left( {\frac{{x_{1} \left( t \right)}}{l}} \right); $$
(36)
$$ \frac{{{\text{d}}\left( {x_{3} \left( t \right)} \right)}}{{{\text{d}}t}} = x_{4} \left( t \right); $$
(37)
$$ \frac{{{\text{d}}\left( {x_{4} \left( t \right)} \right)}}{{{\text{d}}t}} = x_{8}^{2} \left( t \right) \cdot \left( {R + x_{3} \left( t \right)} \right) - \left( {K_{1} \cdot x_{8} \left( t \right) + K_{2} \cdot u\left( t \right)} \right) \cdot x_{1} \left( t \right) - 2 \cdot x_{8} \left( t \right) \cdot x_{2} \left( t \right) - \left( {\frac{N\left( t \right)}{m}} \right) \cdot \left( {\frac{{x_{3} \left( t \right)}}{l}} \right); $$
(38)
$$ \frac{{{\text{d}}\left( {x_{5} \left( t \right)} \right)}}{{{\text{d}}t}} = x_{6} \left( t \right); $$
(39)
$$ \frac{{{\text{d}}\left( {x_{6} \left( t \right)} \right)}}{{{\text{d}}t}} = - g + \left( {\frac{N\left( t \right)}{m}} \right) \cdot \left( {\frac{{\left( {l - x_{5} \left( t \right)} \right)}}{l}} \right); $$
(40)
$$ \frac{{{\text{d}}\left( {x_{7} \left( t \right)} \right)}}{{{\text{d}}t}} = x_{8} \left( t \right); $$
(41)
$$ \frac{{{\text{d}}\left( {x_{8} \left( t \right)} \right)}}{{{\text{d}}t}} = K_{1} \cdot x_{8} \left( t \right) + K_{2} \cdot u\left( t \right); $$
(42)
$$ \left( {x_{1} \left( t \right)} \right)^{2} + \left( {x_{3} \left( t \right)} \right)^{2} + \left( {x_{5} \left( t \right)} \right)^{2} \le \varepsilon ; $$
(43)
$$ x_{1} \left( 0 \right) = 0;\quad x_{2} \left( 0 \right) = 0;\quad x_{3} \left( 0 \right) = 0;\quad x_{4} \left( 0 \right) = 0;\quad x_{5} \left( 0 \right) = 0;\quad x_{6} \left( 0 \right) = 0;\quad x_{7} \left( 0 \right) = 0;\quad x_{8} \left( 0 \right) = 0; $$
(44)
$$ x_{1} \left( {t_{f} } \right) = 0;\quad x_{2} \left( {t_{f} } \right) = 0;\quad x_{3} \left( {t_{f} } \right) = 0;\quad x_{4} \left( {t_{f} } \right) = 0;\quad x_{5} \left( {t_{f} } \right) = 0;\quad x_{6} \left( {t_{f} } \right) = 0;\quad x_{7} \left( {t_{f} } \right) = \pi ;\quad x_{8} \left( {t_{f} } \right) = 0; $$
(45)
$$ \left| {u\left( t \right)} \right| \le u_{\hbox{max} } ;\quad \left| {x_{8} \left( t \right)} \right| \le \omega_{\hbox{max} } ; $$
(46)

where

$$ K_{1} = \frac{1}{{t_{f} }}; $$
(47)
$$ K_{2} = \frac{{K_{f} }}{{t_{f} }}; $$
(48)
$$ \begin{aligned} N\left( t \right) = \,& ml\left[ {\left( {\frac{{\left( {x_{1} \left( t \right) \cdot \left( {\frac{{{\text{d}}x_{2} \left( t \right)}}{{{\text{d}}t}}} \right) + x_{2}^{2} \left( t \right) + x_{3} \left( t \right) \cdot \left( {\frac{{{\text{d}}x_{4} \left( t \right)}}{{{\text{d}}t}}} \right) + x_{3}^{2} \left( t \right)} \right)}}{{\left( {l^{2} - x_{1}^{2} \left( t \right) - x_{3}^{2} \left( t \right)} \right)}}} \right) + \left( {\frac{{\left( {x_{1} \left( t \right) \cdot x_{2} \left( t \right) + x_{3} \left( t \right) \cdot x_{4} \left( t \right)} \right)^{2} }}{{\left( {l^{2} - x_{1}^{2} \left( t \right) - x_{3}^{2} \left( t \right)} \right)^{2} }}} \right)} \right] \\ & + \frac{mgl}{{\sqrt {\left( {l^{2} - x_{1}^{2} \left( t \right) - x_{3}^{2} \left( t \right)} \right)} }} \\ \end{aligned} $$
(49)

The initial position is determined by (44), the final position is determined by (45), Eqs. (35)–(42) of this system (35)–(46) have been derived from (19) to (20) by reducing the second order ordinary differential equation system to the system of first order equations.

The inequality (43) defines a restriction on the allowable value of payload swaying. The condition (46) defines a restriction on the control voltage value and the allowable angular velocity of the crane boom slewing.

The absolute coordinates x abs(t); y abs(t); z abs(t) of swaying payload M in the fixed inertial reference frame \({\mathscr{E}}\) may be computed as:

$$ \left\{ {\begin{array}{*{20}l} {x_{{\text{abs}}} \left( t \right) = x_{2}^{ * } \left( t \right) = \left( {R + y_{1} \left( t \right)} \right) \cdot \cos \left( {\varphi_{\text{e}} \left( t \right)} \right) + x_{1} \left( t \right) \cdot \sin \left( {\varphi_{\text{e}} \left( t \right)} \right);} \hfill \\ {y_{{\text{abs}}} \left( t \right) = y_{2}^{ * } \left( t \right) = \left( {R + y_{1} \left( t \right)} \right) \cdot \sin \left( {\varphi_{\text{e}} \left( t \right)} \right) - x_{1} \left( t \right) \cdot \cos \left( {\varphi_{\text{e}} \left( t \right)} \right);} \hfill \\ {z_{{\text{abs}}} \left( t \right) = z_{2}^{ * } \left( t \right) = z_{1} \left( t \right).\,} \hfill \\ \end{array} } \right. $$
(50)

Differential Eqs. (35)–(42), which are proposed in the present work, describe the behavior of the mechanical system “crane boom–payload”. These differential equations are written in implicit form, i.e., they have not been resolved with respect to the first derivatives in contrast to the optimal control problems addressed by Sakawa [9] and Terashima [10].

JModelica’s [4] extension Optimica was used in the present work for a numerical solution of the open-loop optimal control problem. The direct method for numerical solution of the open-loop optimal control problem in Optimica is based on the conversion of the open-loop optimal control problem to the problem of nonlinear programming [1]. This approach allowed us to easily take into account the limitations on the phase and control variables in contrast to the indirect methods, which are grounded on the use of Pontryagin’s maximum principle and addressed by Sakawa [9] and Terashima [10]. Sakawa et al. have addressed the Constraining Hyperplane Technique and penalty function approach in order to take into account the limitations on the phase and control variables [9]. Terashima et al. addressed the “clipping-off” gradient algorithm in order to take into account the limitations on the control variables [10].

The JModelica and Optimica codes are listed in Appendices 1, 2. The first lines of the *.mop Optimica-file in Appendix 1 determine the minimized function. In the present problem we optimize the time of payload transportation from the initial to the final position of the crane boom. Then we define the phase variables (x 1(t), … , x 8(t)), which determine the system position at every time t and depend on the control input variable u(t). Further we determine constant parameters of the model which include payload mass, crane boom length, cable length, and the values of limitations on the control and phase variables. The differential equations, which determine dynamic system behavior, are written in the equation block of *.mop file (Appendix 1). In the constraint block we define limitations on the control and phase variables. The first eight limitations determine the final position of payload. The limitation (x 1(t))2 + (x 3(t))2 + (x 5(t))2 ≤ ε determines the maximum value of payload swaying during crane boom rotation at the required angular displacement. This limitation means that during the motion the swaying of the payload must not be too large in order to keep the payload safe. The limitation on the control input variable u(t), which is the voltage supplied to the electrical drive, is determined by hardware specifications. The last limitation on the value of crane boom angular velocity is also determined by electrical drive specifications.

The structure of Optimica’s *.mop file in Appendix 1 is shown in Fig. 2a and the structure of JModelica’s *.py file in Appendix 2 is shown in Fig. 2b.

Fig. 2
figure 2

The block diagrams of computational data flow within freeware codes Optimica (a) and JModelica.org (b)

2.3 Results of numerical solution of time-optimal control problem

Computational plots in Figs. 3, 4, 5, 7, 8 have been derived for the following numerical values of system parameters, listed in Appendix 1: m = 0.1 (kg); l = 0.825 (m); R = 0.492 (m); g = 9.81 (m/s2); u max = 10 (V); ω max = 0.15 (rad/s); T φ = 0.015 (s); K φ = 0.315 (1/(sV)).

Fig. 3
figure 3

The numerical plots for payload M computational relative coordinates x 1 = x 1(t) (m) a and y 1 = y 1(t) (m) c and relative velocity components V x1 = d(x 1(t))/dt (m/s) b and V y1 = d(y 1(t))/dt (m/s) d with respect to time t (s) in the non-inertial reference frame \({\mathscr{B}}\), derived with JModelica.org and Optimica for the codes in Appendices 1, 2

Fig. 4
figure 4

The numerical plots for payload M computational relative trajectory y 1 = y 1(x 1) (m) in the non-inertial reference frame \({\mathscr{B}}\) a and crane boom BD (Fig. 1) slewing angle φ e = φ e (t) (rad) b derived with JModelica.org and Optimica for the codes in Appendices 1, 2

Fig. 5
figure 5

The numerical plots for payload M computational relative coordinate z 1 = z 1(t) (m) a and relative velocity component V z1 = d(z 1(t))/dt (m/s) b in the non-inertial reference frame \({\mathscr{B}}\), and time curves (t, [s]) for control variable u = u(t) (V) c and angular velocity ω e = d(φ e (t))/dt (rad/s) d of crane boom BD (Fig. 1) transport slewing, derived with JModelica.org and Optimica for the codes in Appendices 1, 2

Computational plots in Figs. 3 and 5a, b show that all six phase variables (x 1(t), …, x 6(t)) show oscillation graphics of their change with time t. The oscillating nature of these plots is assumed to be dynamic effects resulting from action of d’Alembert inertial forces Φ τ e  (6), Φ n e (7) and Coriolis inertia force Φ cor  (8).

The computational plot in Fig. 4b shows that crane boom BD slewing angle φ e (t) changes with time t according to an almost linear law. This results in the fact that crane boom BD slewing angular velocity ω e (t) in Fig. 5d remains almost constant (ω e (t) ≈ const). However, Fig. 5c, d have two peak values at the beginning and at the end of crane boom BD slewing motion. The source of these peaks in Fig. 5c, d is associated with additional crane boom accelerations at the starting and stopping of rotary AC-servo motor.

3 Discussion, comparison and experimental verification of derived results

3.1 Physical simulation approach to experiment

For experimental verification of computational results an experimental setup was designed and installed (Fig. 6). The experimental measurement system in Fig. 6 uses a subscale physical simulation approach.

Fig. 6
figure 6

The scheme of the experimental setup, designed for identification and measurement of absolute payload M trajectory in the inertial reference frame \({\mathscr{E}}\)

The upper digital camera has the large exposure time and camera’s objective lens was opened up for 90 s (Figs. 7, 8). This time was enough to write the absolute trajectory of payload M swaying in an obscured room with the experimental setup (Fig. 6). A laser pointer was fixed on the boom tip B. The point O1 was the horizontal point-projection of laser beam BO1. Laser point O1 drew the standard circular trajectory () in Figs. 6, 7 and 8. The physical model of payload M was a light-emitting diode with diameter 2 mm and with the battery voltage 3 V. The luminous trace of payload M in the inertial reference frame \({\mathscr{E}}\) is shown as solid line () in Fig. 6 and as a bold dashed line () in Figs. 7 and 8.

Fig. 7
figure 7

The comparison of time-optimal control (J = t f)-derived theoretical (filled dashed line) and experimental (space filled dashed line) absolute trajectories y abs = y abs (x abs) of payload M in the inertial reference frame \({\mathscr{E}}\) for the fixed cable lengths l = 0.206 (m) (a), l = 0.412 (m) (b), and l = 0.618 (m) (c)

Fig. 8
figure 8

The comparison of time-optimal control (J = t f)-derived theoretical (filled dashed line) and experimental (space filled dashed line) absolute trajectories y abs = y abs (x abs) of payload M in the inertial reference frame \({\mathscr{E}}\) with the fixed cable length l = 0.825 (m) for T = 30 (s) (a) and T = 44 (s) (b)

The experimental swaying results in Fig. 6 () and () in Figs. 7 and 8 clearly show us that the forms of these experimental curves are shaped by Coriolis effects. So it is principally important to properly take into account Coriolis effects in mathematical models of payload M swaying during guided crane boom BD slewing.

3.2 Discussion and comparison of derived results with experiment

Small levels of payload swaying could be reached for the small angular velocities of crane boom slewing. So it is possible to show good agreement between theoretical and computational results by the assignment of a small value of payload swaying into the mathematical model.

The comparison of theoretical numerical solution of time-optimal control problem (34)–(46) (y abs = y abs (x abs) or y *2  = y *2  (x *2 )) and experimental (, y abs = y abs (x abs) or y *2  = y *2  (x *2 )) results is shown in Figs. 7 and 8. In order to estimate the relative disagreement of the derived time-optimal control-solution based computational () and experimental () payload M absolute trajectories in the inertial reference frame \({\mathscr{E}}\) we have computed the amplitude discrepancy δ in the polar coordinate system by the following formula:

$$ \delta = \left\langle {\frac{1}{2}\left( {\left( {\frac{{\left| {r_{{\text{comp}}} - r_{\text{exper}} } \right|}}{{r_{{\text{comp}}} }}} \right) + \left( {\frac{{\left| {r_{{\text{comp}}} - r_{\text{exper}} } \right|}}{{r_{\text{exper}} }}} \right)} \right)} \right\rangle , $$
(51)

where r comp and r exper are the magnitudes of the radius-vectors, connecting point O 2 and theoretical (J = t f)-based computational () and experimental () curves, and computed for the same fixed polar angle φe, and r circle is the radius of standard circular trajectory () of p. B (p. A st) in Figs. 1 and 6.

The amplitude discrepancies δ have the following values: δ = 3.86 % and δ max = 8.47 % for l = 0.206 (m) in Fig. 7a; δ = 5.01 % and δ max = 11.93 % for l = 0.412 (m) in Fig. 7b; δ = 5.67 % and δ max = 18.88 % for l = 0.618 (m) in Fig. 7c; δ = 2.33 % and δ max = 6.79 % for l = 0.825 (m) and T = 30 (s) in Fig. 8a and δ = 4.36 % and δ max = 11.94 % for l = 0.825 (m) and T = 44 (s) in Fig. 8b.

For further estimation of the relative disagreement of derived time-optimal control-solution based (J = t f) computational () absolute trajectory of payload M, experimental () payload M absolute trajectory and standard circular trajectory () of p. B (p. A st) (Figs. 1, 6) in the inertial reference frame \({\mathscr{E}}\) we have computed the confidence intervals in Figs. 7 and 8 for the dimensionless radii parameters r circle/r exper; r circle/r comp; r comp/r exper, and confidence probabilities 0.95 and 0.99. The Student’s t test results yield the following confidence intervals, shown in Table 1. Both the relative discrepancy δ and the confidence intervals in Table 1 show the satisfactory agreement between the absolute payload trajectories (Figs. 7, 8) in the inertial reference frame \({\mathscr{E}}\), that have been computed with theoretical numerical solution of time-optimal control problem (34)–(46) (, y abs = y abs (x abs) or y *2  = y *2  (x *2 )), and measured experimentally (y abs = y abs (x abs) or y *2  = y *2  (x *2 )) as shown in Figs. 7 and 8.

Table 1 The confidence intervals for comparison of (J = t f)-derived theoretical and experimental absolute trajectories y abs = y abs (x abs) of payload M in the inertial reference frame \({\mathscr{E}}\)

3.3 Discussion and comparison of derived results with known published results

The computational results in Figs. 7 and 8, derived with a numerical solution of the time-optimal control problem (34)–(46) were also compared with known published Sakawa’s [9] result. The graphical result of the comparison is shown in Fig. 9.

Fig. 9
figure 9

Graphical comparison of computational absolute trajectories of payload M in the inertial reference frame \({\mathscr{E}}\), where (filled dashed line) is (J = t f)-derived result (26)–(63) and (space filled dashed line) is Sakawa’s [9] published solution

Comparative analysis of Fig. 9 shows the essential discrepancies between our derived result () and Sakawa’s [9] published result (). The amplitude discrepancies δ, which were computed with formula (51), have the following values: δ = 5 % and δ max = 12.37 % for two curves in Fig. 9. The Student’s t test results yield the following confidence intervals for the amplitude discrepancies δ: for confidence probability 0.90 we have the confidence interval 3.29 % ≤ δ ≤ 6.75 %; for confidence probability 0.95 we have the confidence interval 2.96 % ≤ δ ≤ 7.08 %; and for confidence probability 0.95 we have the confidence interval 2.31 % ≤ δ ≤ 7.73 %.

The differences between these curves result from taking into account the Coriolis effects in our (J = t f) theoretical solution. Coriolis effects cause additional changes of shape in our absolute trajectory () in the inertial reference frame \({\mathscr{E}}\). Our experimental results in Figs. 7 and 8 additionally indicate that it is necessary to take Coriolis effects into account for a correct simulation of swaying payload dynamics during crane boom BD slewing.

4 Discussion

I. The present work is focused on a study of payload swaying during guided crane boom slewing, taking into account the Coriolis effects. The formulation of the dynamic problem was made with the use of Blajer’s [2] mathematical formalism. Introduction of Blajer’s approach provided us with a useful and physically clear mathematical technique for derivation of motion equations for payload swaying and with a simple way for determination of constraint reaction λ(t) = N(t). Blajer’s projection’s method was used in this work for derivation of dynamic Eqs. (19)–(22), (25). Application of Blajer’s projection’s technique was based on the projection of Blajer’s governing Eq. (17) for the motion of the constrained mechanical system “crane boom BD–payload M” in orthogonal and tangential directions to the surface of the geometric constraint (18). It is possible to obtain an expression of the constraint reaction λ(t) = N(t) with projection of the dynamic governing Eq. (17) in the orthogonal direction to the surface of the geometric constraint (18). It is possible to derive the motion equations, which are free from constraint reaction forces λ(t) = N(t), with projection of the dynamic governing Eq. (17) in the tangential direction to the surface of the geometric constraint (18). Blajer et al. have applied their approach for building a control of boom cranes, which has to provide the prescribed motion for the payload during crane boom transportation. In contrast to Blajer’s approach, our dynamic Eqs. (9)–(11) were written in the non-inertial reference frame \({\mathscr{B}}\) in order to take into account the Coriolis inertia force. Introduction of Blajer’s mathematical formalism in the present article demonstrates the success and sustainability of Blajer’s approach to the formulation of the dynamic problem of payload swaying during guided crane boom slewing, taking into account the Coriolis effects.

II. For small values of payload swaying restriction ε the numerical solution of the time-optimal control problem results in the fact that the optimum motion for the crane boom is the slewing motion with constant angular velocity. For larger values of payload swaying ε the angular velocity of the crane boom is not constant and changes with time according to a nonlinear law. Coriolis effects on the relative (Fig. 4a) and absolute (Figs. 6, 7, 8) trajectories of guided payload M are especially essential for small slewing velocities in controlled crane boom rotation. Small values of crane boom BD-guided angular rotation have large importance for all practical applications in the field of guidance and accurate positioning with lifting-and-handling machinery. Indeed, large slewing velocities of a crane boom are outside the aims and scopes of boom crane-assisted practical problems. The absolute computational trajectories in Figs. 6, 7, 8 are the numerical JModelica.org-derived solutions of the time-optimal control problem.

III. The solution of the open-loop optimal control problem in Figs. 3, 4, 5, 7, 8 shows that under the given problem conditions the crane boom BD rotates nearly uniformly in Fig. 4b (i.e., angular velocity of crane boom BD transport slewing is almost constant in Fig. 5c, d). In this case the trajectory of the relative payload M swaying with respect to the uniformly rotating crane boom BD is the so-called Foucault pendulum-like curve (Fig. 4a). So the present article extends the ideas about adaptability of Foucault pendulum-like systems for the problems of open-loop optimal control for swaying of the spherical pendulum with rotating pivot center. For the solution of the time-optimal control problem the constancy of angular crane boom slewing velocity takes place for small values of the restriction ε on payload swaying in formulae (43) and small values of the crane boom slewing velocity ω e = d(φ e)/dt (limitation at x 8(t)) in formulae (46). Increase in the limitation ω max on the value of x 8(t) results in large swaying of the payload, resulting from large accelerations in the beginning and at the end of payload motion. The relative trajectory of payload M swaying with respect to non-uniformly rotating crane boom BD, associated with non-inertial reference frame \({\mathscr{B}}\) in Fig. 1, has been numerically derived in the present work through the JModelica.org and Optimica-based solution of J = t f time-optimal control problem (34)–(46) and Appendices 1, 2 and is shown in Fig. 4a. The relative trajectories of a Foucault pendulum swaying with respect to a uniformly rotating Earth-associated non-inertial reference frame \({\mathscr{E}}\) have been shown by Condurache and Martinusi (2008) in Eq. (4.33) and Fig. 16, p. 755 of [3]. Comparison of computational relative trajectories in the present work and in Ref. [3] describes the similarity between these relative trajectories. So it is possible to conclude that the relative swaying motion of a spherical pendulum with guided non-uniform rotation of the pivot center in Figs. 1, 4a and 6 of the present study can be described as Foucault pendulum-like motion.

5 Conclusions

I. The present work has developed and studied a dynamic model of payload motion during non-uniform crane boom slewing with an emphasis on Coriolis effects. The derivation of the governing dynamic equations was made with the use of Blajer’s mathematical formalism and Blajer’s projection method. Time-optimal control problem was formulated with the use of derived governing equations for the motion of the system “crane boom–payload”. By solving the time-optimal control problem we find the control input function u(t), which allows the transport of the payload from the initial to the final position with minimum transportation time.

II. The numerical solution of the time-optimal control problem has been derived with an introduction of Optimica and JModelica.org freeware. The graphical results of numerical simulation of the absolute trajectories of payload swaying were compared with experimental results. The comparison of theoretical and experimental results showed a satisfactory agreement between numerically derived and empirical data. The results of numerical analysis have extended our ideas about dynamics of the guided Foucault pendulum-like systems.

III. Further analysis of pendulum swaying problems during controlled crane boom slewing is promising through the building of closed-loop control, the introduction of additional degrees of freedom into the model of guided payload motion (variable cable length, an arbitrary rectilinear motion of pendulum pivot center B along crane boom BD, etc.) and by taking into account random wind load, as well as additional forced vibrations, generated from the oscillating foundation (point O2 in Figs. 1 and 6) in offshore- and ocean-engineering related problems.