Skip to main content

ORIGINAL RESEARCH article

Front. Robot. AI, 15 August 2024
Sec. Robotic Control Systems
This article is part of the Research Topic Learning and Adaptive Control Systems on Robotics View all articles

Optimal sway motion reduction in forestry cranes

Updated
  • Faculty of Engineering and Natural Sciences, Tampere University, Tampere, Finland

Introduction: The paper introduces a novel optimal feedforward controller for Hydraulic manipulators equipped with a passive grapple, addressing the issue of sway during and after movement. The controller is specifically applied to a forwarder machine used in forestry for log-loading tasks.

Methods: The controller is designed for smooth operation, low computational demands, and efficient sway damping. Customizable parameters allow adjustments to suit operator preferences. The implementation was carried out using the Amesim model of a forwarder.

Results: Simulation results indicate a significant reduction in sway motions, averaging a decrease of more than 60%. This performance was achieved without the need for additional sway-detection sensors, which simplifies the system design and reduces costs.

Discussion: The proposed method demonstrates versatility and broad applicability, offering a new framework for anti-sway controllers in various fields such as construction cranes, forestry vehicles, aerial drones, and other robotic manipulators with passive end-effectors. This adaptability could lead to significant advances in safety and efficiency.

1 Introduction

The forestry industry is vital to many countries’ economies. However, unlike other industries like mining and agriculture, it is behind in using robots and innovative technology. There is a growing need to make forestry machines more intelligent and autonomous, mainly because there are not enough trained people to operate them. Operating these machines safely and effectively requires much training because the job is physically and mentally demanding (Jebellat and Sharf, 2023). Like moving robots, forestry machines have mobile and crane parts with a unique tool at the end-effector. Operating these giant cranes is very complicated. Studies show that operators spend most of their time (over 80%) controlling the crane (Dvořák et al., 2008). Also, many crane accidents (73%) happen because of human mistakes (Brkić et al., 2015). So, adding some automation to these machines could help make the operator’s job easier and make things safer in the forestry industry (Dvořák et al., 2008). Research efforts have been increasingly directed toward enhancing the autonomy of various forestry machinery, including harvesters and forwarders. Among these, the forwarder (shown in Figure 1) plays a pivotal role in the forestry operation cycle by collecting cut logs from the forest and transporting them to roadside depots for further processing or transport. The forwarder’s key components include an operator’s cabin, a storage basket or trailer for logs, a crane (or boom) with four actively controlled degrees of freedom (DOF), and a grapple at the crane’s tip connected via two passive DOF. These passive joints are designed to maintain the grapple’s vertical orientation, aiding in efficiently handling logs. Nonetheless, the inability to actively control these joints leads to unwanted sway or oscillation of the grapple during and after crane operations (Ayoub et al., 2023). The swaying motion, worsened by the heavy weight of the grapple and the additional burden of logs, presents serious hazards. This movement can unintentionally cause the grapple to hit surrounding trees or even the operator’s cabin, harming the forest, equipment, and possibly the operator. Consequently, managing the grapple’s sway adds a considerable challenge for operators, impacting their workload and safety. Moreover, the residual sway- the grapple’s continuing oscillation after crane movements have ceased— directly impacts operational efficiency. Operators often must pause operations, waiting for the sway to subside before safely continuing, affecting the overall productivity of forestry operations. This issue is further compounded when considering integrating autonomy-enhancing technologies, such as crane-mounted cameras, for environmental perception, where steady positioning is crucial for accurate data capture and analysis. Addressing the sway of the grapple promises to alleviate the operational burden on human operators and significantly improves the safety and efficiency of forestry machinery operations, paving the way for more sophisticated autonomous capabilities (Qiang et al., 2021). Developing and implementing anti-sway techniques are crucial across various industries, not just within the forestry industry (Sadr et al., 2014; Reis et al., 2023). The stabilization of sway motion in suspended payloads is essential in numerous applications, including the operation of construction cranes (such as tower and gantry cranes), the management of payloads by quad-rotors (Fielding and Nahon, 2019), and the manipulation of hanging loads by robotic arms. To address the challenges of sway, researchers have innovated and applied various anti-sway methodologies at both the trajectory planning and control system design stages. Among these strategies, input shaping as an advanced feedforward control has been widely adopted across several applications executing rest-to-rest maneuvers to manage residual vibrations effectively (Cole, 2011). This technique, proven its efficiency through deployment in diverse practical systems such as cranes, telescopic handlers, industrial robots, and coordinate measuring machines, involves using a carefully designed sequence of impulses (known as the input shaper) in convolution with a specific system command. This combination precisely tailors the system’s input to achieve the desired motion without sway. However, the effectiveness of this method in reducing the sway motion relies on precisely calculating the impulses’ amplitudes and timing, which depend on the system’s parameters. Incorrect estimates in these areas can result in residual vibrations compromising system performance. Additionally, the traditional input shaping approach does not address vibrations caused by external disturbances (Pai, 2012) and is only suitable for rest-to-rest situations. To further enhance the system’s resilience against uncertainties in its model parameters, it’s possible to integrate extra impulses into this sequence, albeit at the expense of extended operation times. Additionally, innovative adaptive input shaping methods have been formulated (Solatges et al., 2017), aiming to bolster robustness while concurrently seeking to reduce the length of the impulse sequence, thereby offering a refined balance between system stability and efficiency (ur Rehman et al., 2022).

Figure 1
www.frontiersin.org

Figure 1. Forwarder Crane and tip position in cylindrical coordinate system according to Denavite-Hartenberg [modified from (Hera and Morales, 2015)].

In this context, feedback control methods are effective, although they are often associated with increased computational requirements (Kalmari et al., 2014; Yousefi et al., 2022). However, this method sometimes results in trajectories that need more smoothness, rendering them impractical for real-world applications. Even though closed-loop control usually does a better job at handling external disturbances and unexpected changes, it has its downsides because it needs special equipment and the creation of a controller.

Beyond open and closed-loop controllers, researchers have explored using customized motion planners to mitigate sway motion. For example, in (Jebellat and Sharf, 2023), dynamic programming generates a trajectory for the forwarder and reduces sway motions. This motion planner is designed in the joint space, and the state vector includes all joint angles, velocities, and accelerations. Due to the high dimension of the system considered, this approach results in significant computational complexity.

Each method has pros and cons, showing that it’s important to think carefully about the needs and limits of the specific situation. The continued improvement of anti-sway technology emphasizes how crucial precision, efficiency, and safety are in automating systems where controlling hanging loads is very important. As this area evolves, refining these techniques and finding new solutions are crucial for enhancing how automated systems safely and effectively handle sway. In this paper, we have developed an innovative control mechanism that significantly reduces the sway in forestry machines by over 60%, eliminating the need for additional, complex sensors that feedback controllers require to monitor sway motion. This advancement streamlines the design and substantially cuts costs, offering a practical and efficient solution for sway control. Our controller operates highly efficiently and demands minimal computational resources, ensuring smooth operation. It demonstrates high adaptability and reliability, even in scenarios with initial sway, unlike other input shaping and motion planners suited only for rest-to-rest conditions. This achievement underscores our significant contribution to enhancing operational safety and cost efficiency in forestry machinery through advanced control technologies. A high accuracy and fast control system will require both feedback and feedforward controllers working together. Feedforward controllers provide fast response to control commands and brings the system trajectories close to desired ones, while feedback controllers remove the effect of unmodeled dynamics and disturbances, but require sensor measurements. In this paper, we focus on the feed forward controller parameter tuning. In the rest of the paper, we delve into the details: Section 2 explains the forwarder and grapple model and derives the mathematical model for sway motion. Section 3 introduces our new control strategy to reduce sway motion and optimizations for better performance. Section 4 presents simulation results, demonstrating the effectiveness of our proposed controller on the Forwarder model. Finally, we conclude by discussing the results and highlighting the significance of our advancements in improving machine safety and efficiency.

2 Model of forwarder and grapple

The kinematic structure of the crane’s boom is characterized by four degrees of freedom (DOF): three of them are rotary, one is prismatic. However the linear hydraulic actuators create closed loop kinematic chains, but they are not considered in this study, since the control inputs are directly the joint angle speeds, the mechanism in our study is modeled as an open kinematic chain, as shown in Figure 1. Typically, the main goal involves manipulating the boom’s tip within a three-dimensional space, which introduces an additional degree of freedom beyond what is strictly necessary, rendering the crane a redundant manipulator (Liu et al., 2022). This redundancy brings both benefits and drawbacks. Four degrees of freedom enhance the boom’s reach, extending to greater distances and offering increased operational flexibility (Zhou et al., 2019). However, the complexity of controlling such a manipulator escalates due to the lack of a direct, one-to-one correlation between the position of the boom’s tip and the joint configurations. Consequently, devising a control strategy for a redundant manipulator demands a more intricate approach. Before delving into the grapple model details, let’s define the four main boom motions on the forwarder: a) Extension refers to the crane’s ability to lengthen or extend its boom. b) Near and Far: “Near” indicates the direction closer to the crane’s base, while “far” denotes the direction farther away from the base. c) Slewing, slewing involves the horizontal movement of the crane. d) Lift involves raising or lowering the load using the crane, allowing the operator to pick up a load from the ground and transport it. Our experiments highlight that slewing and near-far motions significantly influence sway movement. Slewing induces sway motions in both perpendicular and parallel directions, while near-far motion causes sway motions primarily in the parallel direction with the boom tip. In the following, we have determined nonlinear mapping that considers slewing and tip commands for controlling sway over both slewing and near-far motions.

The forwarder crane features two passive joints that link the end effector (EE) — the grapple — to the boom. The sway of the EE is primarily determined by the movement of the boom tip, which is, in turn, significantly influenced by the activity of the joints preceding it.

The grapple is connected to the boom by two suspended links, and any rapid motion commands from the operator cause the grapple to sway, making it more challenging to maneuver the boom. The grapple consists of three rotational joints, namely θ5 perpendicular, θ6 parallel motion with boom, and θ7 turning of the grapple by hydraulic motor as illustrated in Figure 2. The upper joint θ5 connects the entire grapple to the tip of the crane. The rotation around these θ5 and θ6 joints is free and cannot be directly manipulated and controlled.

Figure 2
www.frontiersin.org

Figure 2. Grapple and the related coordinate frame (A) The grapple system is modeled as a pendulum system and a point mass (B).

In Figure 1, the position of the boom’s tip in Cartesian coordinates, as determined by the joint angles, is calculated using Denavit-Hartenberg notation. The pose, which includes both the position and orientation of an individual link i relative to the preceding link, is defined by a homogeneous transformation matrix.

Tii1=cosθisinθi0aisinθicosαicosθicosαisinαisinαidisinθisinαicosθisinαicosαicosαidi0001(1)

where ai, di, αi, and θi are the parameters describing the structure and current state of the boom, For more details regarding these parameters, please refer to Kalmari et al. (2014). The total transformation Ttip from the base to the tip can be obtained by multiplying all the individual transformation matrices.

Ttip=T10θ1T21θ2T32θ3T43d4,(2)

Then the position of the tip is:

tipp=cosθ1a2d4sinθ2+θ3+a4cosθ2+θ3+a3cosθ2sinθ1a2d4sinθ2+θ3+a4cosθ2+θ3+a3cosθ2d1+d4cosθ2+θ3+a4sinθ2+θ3+a3sinθ2(3)

The controller’s objective is to maneuver the boom’s tip while reducing the sway motion of the connected grapple. This necessitates the development of a model that indicates the sway motions based on the tip commands [ẋ,θ̇1,ż], where ẋ,θ̇1 and ż are tip velocity in direction x, slewing angular velocity and tip velocity in direction z, respectively. The grapple model can be simplified by making some assumptions; one assumption is that its mass is concentrated at a single point at the end of the two link parts. Therefore, the grapple model can be considered a double pendulum, as shown in Figure 2B. The double pendulum is a classic problem in dynamics, illustrating complex motion that can be chaotic under certain conditions. This simplification eliminates the consideration of rotational inertia in the dynamic equations but dramatically simplifies the model (Kalmari et al., 2013). Since the angular velocities of the grapple are low, the rotational inertia is negligible and can be disregarded. The analysis considers only gravity and the forces generated by the movement of the boom tip while disregarding external forces. Moreover, the influence of viscous friction on the joints is also considered. In Figure 2, l1 represents the distance between the first and second joint, while l2 corresponds to the distance from the second joint to the center of mass of the grapple. The third rotational degree of freedom θ7 is not currently of interest because the swaying motion occurs in the freely rotating joints. The dynamic equations for the sway motion can be derived by utilizing the Lagrangian method; for more details, please refer (Kalmari et al., 2013). The equations describing the sway dynamics of the grapple are derived as follows:

L=TV(4)

where the Lagrangian (L) isidentified by the difference between the system’s kinetic energy (T) and potential energy (V) as shown in Eq. 4. For the sake of brevity, the formulations of T and V are described in the Appendix A. The torques influencing a specific joint ’i’ can be described as follows:

τi=ddtLθi̇Lθii=5,6(5)

In this context, τi represents the torque at joint i, specifically the damping torque at the joint for the two passive joints connected to the grapple. This damping torque is modeled as viscous friction, characterized by a damping coefficient ci. The damping torques can be shown as Eq. 6.

τi=ciθ̇i,i=5,6(6)

Finally, the equations describing the sway dynamics of the grapple are derived as follows:

θ5̇=1c5m1l1+m2l2cosθ5cosθ1ẍtip+cosθ5sinθ1ÿtip+sinθ5z̈tip+g+m1l1l1θ̈5l1sinθ5cosθ5θ̇12+m2l3l3θ̈52l2sinθ6θ5̇θ6̇l2cosθ5sinθ6θ̈1l3sinθ5cosθ5θ̇122l2cosθ5cosθ6θ̇1θ̇6(7)
θ6̇=1c6m2l2ẍtipcosθ6sinθ1sinθ5sinθ6cosθ1+ÿtipcosθ6cosθ1sinθ5sinθ6sinθ1+l2θ̈6+cosθ5sinθ6z̈tip+g+sinθ5l1cosθ6+l2θ̈1+sinθ6l1l3cos2θ5θ̇12+l3sinθ6θ̇52+2l3cosθ5cosθ6θ1̇θ5̇(8)

where l3=l1+l2cos(θ6), and the constant “g” denotes gravity, while “m1” and “m2” stand for the pendulum’s masses in Figure 2 and c5 and c6 are the viscous friction coefficients in the joint 5 and 6, respectively. ẍtip, ÿtip, and z̈tip are the accelerations of the tip of the boom in base coordinate system which are calculating based on Eq. 3, respectively.

3 Proposed controller

The sway motion formula has been derived in the previous section. Now, this model must be delved deeper into to gather additional information. Eqs 7, 8 depict the sway motions based on the tip acceleration, expressed in the Cartesian base coordinate system (xtip,ytip,ztip) (see Figure 1), since is operated in cylindrical coordinate system (θ1,x,z) presented in Figure 1. The controller is designed in the task space, Eqs 7, 8 are rewritten based on the cylindrical coordinate system.

ẍtip=sinθ1ẍxθ̇1cosθ1xθ1̈+2ẋθ1̇ÿtip=cosθ1ẍxθ̇1+sinθ1xθ1̈+2ẋθ1̇z̈tip=z̈(9)

By substituting Eq. 9 in Eqs 7, 8, the sway motion is expressed within the cylindrical coordinate system. Since the sway motion model is strictly nonlinear, analyzing it directly from the differential equation is complex, and designing a controller is challenging. A more straightforward approach is to calculate the system’s state space model. Then, based on this model, we linearize and apply some simplifications to calculate the transfer function of the sway motion based on the velocity commands. Based on Eqs 7, 8, the derivatives of inputs also exist in the sway motion model; we need to select the proper state vector to eliminate the derivatives of the input to calculate the state space. The crane is controlled with velocity commands in the cylindrical coordinate system; we choose them as the input of the system usys=[θ̇1,ẋ,ż]T. Now, by selecting the appropriate state vector, the state-space representation of the system is derived as Eq. 10. For more details, see the Appendix B.

x1=θ5x2=θ5̇a5θ̇1a6ẋa7żx3=θ6x4=θ̇6b5θ̇1b6ẋb7żx5=θ1x6=xx7=z(10)

Then state space in Eq. 10 linearized around xsys=[x1,x2,x3,x4,x5,x6,x7]T=[0,0,0,0,0,0,3,0]T, and based on that the transfer function of the sway motion can be calculated as Eq. 11.

θ̇5=G11θ̇1+G12ẋ+G13żθ̇6=G21θ̇1+G22ẋ+G23ż(11)

After calculating the DC gain for Gij, DCG12=DCG13=DCG230, so they are negligible, and G11 and G22 are as follows:

G11=1l1+l2s2s2+c1ml1+l22s+gl1+l2G22=3l2s2s2+c2ml22s+gl2(12)

Since l1 is smaller than l2, the effect of l1 is negligible. Furthermore, given that the grapple has a significant weight compared to the first link, we simplify the model by considering m2=m. In this case, the natural frequencies of the two controllers are too close (as we expected), thereby justifying the consideration of the same natural frequency for both motion, perpendicular and parallel motion.

In this paper, the objective of designing the controller is to dampen the sway motions. Therefore, the approach involves considering a controller with zeros precisely at the positions of the poles of the sway motions, as shown in Eq. 13.

GFF=l2gs2+c2mgl2s+1a2s2+a1s+1(13)

The numerator coefficient is calculated based on the identified sway motion model, and if the grapple parameters change, they must be recalculated. The denominator coefficients are tuned based on the controller’s performance. In manual tuning, the person adjusting the controller tunes the parameters based on their experience, intuition, and observations of the system’s performance. This approach heavily relies on the tuner’s expertise and understanding of how different parameters affect the system’s behavior. Furthermore, manual tuning can be more time-consuming and might only sometimes yield the optimal parameter settings. For instance, to assess the impact of pole configurations on sway reduction and the operational speed of the controller, several simulations were conducted by using the simulator, and some example results are presented in Figures 3, 4. In this case, the proposed design approach can be done as follows:

Choose the initial value for the first pole with the already mentioned rule about five times further from the imaginary axis than sway motions dominant poles.

Place the second pole slightly less than two times the first pole to ensure smooth shaping of the velocity command

Figure 3
www.frontiersin.org

Figure 3. The effect of changing the place of poles on sway motion and input command-Slew motion.

Figure 4
www.frontiersin.org

Figure 4. The effect of changing the place of poles on sway motion and input command- Near and Far motion.

This approach could be used as a starting point. The following section suggests optimal tuning by solving an optimization problem to tune the controller parameters. This method encompasses all criteria necessary to achieve the desired performance of the controller according to customer requirements.

3.1 Optimal tuning

This paper proposes an efficient method for determining the optimal coefficients a1 and a2, which are crucial for enhancing the performance of the controller design. The approach centers on formulating an optimization problem that directly addresses the controller’s objectives, enabling the boom to move as quickly as possible to improve productivity in loading and unloading logs while ensuring minimal sway motion and maintaining smooth input commands. Customizing the cost function based on specific customer requirements allows for increased flexibility and adaptability in the controller design.

To achieve these goals succinctly, the optimization problem is established to minimize several key terms in the cost function. These terms include the rise time to guarantee speed, the error to ensure the velocity command is accurately followed, and the difference in output to maintain a smooth control command viable for real machine implementation.

Furthermore, the paper delves into the critical considerations for the optimization constraints aimed at maintaining system stability and performance. Constraint (7c) emphasizes the necessity for real poles, selected to prevent the introduction of additional sway motion, thereby allowing for the integration of reactive operator commands. Constraint (7d) further stipulates that these poles be positioned sufficiently far from the imaginary axis to avoid adding extra dynamics to the main system.

By adjusting the optimal coefficients a1 and a2 and through the strategic formulation of the optimization problem with these considerations, the proposed solution presents a significant advancement in controller design. Manual tuning of these coefficients through trial and error, a process often fraught with frustration and time consumption, is thus efficiently circumvented. Based on these assumptions, the optimization problem can be formulated in Eqs 14a14e, :

mina1,a2k=1NLxk,uk(14a)
s.t.xk+1=Aa1,a2xk+Ba1,a2uk(14b)
yk=Ca1,a2xk+Da1,a2uk(14c)
a12a20(14d)
a1±a124a210a2RPswaymotions(14e)

Where xk, uk and yk represent the state, input, and output of blue the feedforward controller (GFF) at sample time k, respectively. A, B, C, and D are parameter-varying matrices and a1 and a2 are optimization parameters. Pswaymotions represents the poles of the sway motions, while R(Pswaymotions) denotes the real part of these sway motion poles. In Eq. 15, the cost function is defined as follows:

Lxk,uk=xkTQxk+yk0.95uMaxTRyk0.95uMaxminimizerisetime+ykukTSykukminimizetheerror+ΔykTPΔyksmoothcontrolledcommand(15)

where Q, R, S, and P are weighted positive semi-definite matrices, these can be selected based on the customer’s desired characteristics. In this cost function. Larger value in Q implies a higher penalty for deviations in the corresponding state variables, leading the system to stay close to the desired state, and larger values in R imply a higher penalty for the output being far from this value, thus driving the system to respond faster. Larger values in S imply a higher penalty for this error, promoting the output to track the control input closely, and finally, larger values in P imply a higher penalty for rapid changes in the output, thus ensuring that the control input does not change too abruptly, resulting in smooth control commands. There is a trade-off between the speed of motion and sway damping: moving slowly results in less sway motion. However, it can be frustrating for operators to move the boom slowly, negatively affecting productivity. The customer can choose the weighted matrix based on their preference. The schematic diagram of our proposed methodology is shown in Figure 5. This figure presents a block diagram for employing an optimal feedforward controller in the tip control of a forwarder, designed to reduce sway motion effectively. The discussion and the simulation results of implementing it are depicted in the following section.

Figure 5
www.frontiersin.org

Figure 5. Block diagram for using an optimal feedforward controller in the tip control of a forwarder with less sway motion.

4 Simulation results and discussion

The implementation of the proposed controller is performed in MATLAB Simulink. The constrained optimization problem is solved by using Casadi (Andersson et al., 2019). It is implemented on the Forwarder Model in Amesim by using interference between Matlab and Amesim. To evaluate the performance of our methodology, we considered two distinct scenarios: one focusing on slew motion and the other on near and far motion. Details are provided in the sections that follow. Note: All data presented in the figures have been normalized.

4.1 Sway damping in slew motion

In this section, our primary objective is to reduce sway motions, especially in perpendicular movements. As mentioned previously, the poles of the controller play a crucial role in enhancing the performance of velocity commands to dampen sway motions. Since the controller designs are based on the natural frequency and nature of the sway motion, before discussing the design of the controller, the Bode plots of G11 and G22 are presented in Figure 6 to provide a clearer understanding of the natural frequency of the grapple mechanism. To illustrate the impact of different pole positions on the performance of the Feed Forward (FF) controller (Eq. 13) in reducing sway motions, several simulations have been conducted. The results are depicted in Figure 3. This figure demonstrates that selecting poles close to the imaginary axis yields slow and smooth velocity commands, leading to less sway motion. In this figure, the optimal results are achieved with the poles at pcontroller=3,3 compared to others; this results in smoother commands and reduces sway motion. Although the reduction is significant, it results in slower controlled commands. It leads to slower boom movements, potentially extending operation times and adversely affecting productivity, as shown in Figures 3, 4. Conversely, selecting poles far from the imaginary axis results in faster velocity commands. While this reduces sway motion and produces non-smooth commands, it may not be practically implementable on real machines due to potential vibrations at the boom tip during manipulation. Figure 3 shows the importance of solving the optimization problem to calculate the coefficients of the denominator of our Feed forward controller. By solving the optimization problem which is suggested in this paper, the optimal coefficient for the controller in Eq. 13 are calculated as a1=0.42 and a2=0.043 (equivalently with pcontroller=5.6307,4.1253). The Tuning parameters for the cost function are chosen as Q=I2, R=1, S=3, and P=1. The comparison between the scenarios without a controller and using an optimal FF controller is presented in Figure 7. As illustrated, implementing the optimal FF controller (indicated by the red line) significantly reduces sway motion, achieving more than a 63% reduction in the perpendicular direction and over a 67% decrease in the parallel direction during slew movement.

Figure 6
www.frontiersin.org

Figure 6. Bode plots for the transfer functions G11and G22.

Figure 7
www.frontiersin.org

Figure 7. Comparison of optimal FF controller and without a controller - Slew motion.

4.2 Sway damping in near and far motion

In this section, the near and far movement is studied, and our desired goal is a reduction in the parallel sway motion (in the near and far movement, the sway motion in the perpendicular direction is negligible). Several simulations have demonstrated the effect of various pole positions on the FF controller’s ability to minimize sway motions. The outcomes are presented in Figure 4. Generally, positioning the poles further from the imaginary axis generates faster velocity commands. While this approach decreases sway motion and yields fewer smooth commands, it may not be feasible for the actual machine due to possible vibrations at the boom tip during handling. Figure 4 highlights the significance of addressing the optimization problem to determine the coefficients for the denominator of our feed forward controller.

Through the resolution of the optimization issue proposed in this study, we obtain the optimal coefficients for the controller in Eq. 7, with a1=0.708 and a2=0.12 (equivalently with pcontroller=3.5576,2.3424). The tuning parameters for the cost function have been set at Q=I2, R=2, S=0, and P=0.03. A comparison between scenarios with and without applying an optimal FF controller is showcased in Figure 8. The results demonstrate that utilizing the optimal FF controller (represented by the red line) markedly decreases sway motion, with a reduction exceeding 63% in the perpendicular direction and more than 67% in the parallel direction during slew movement.

Figure 8
www.frontiersin.org

Figure 8. Comparison of optimal FF controller and without controller - Near and Far motion.

5 Conclusion

This study presents a novel feedforward control algorithm for robotic manipulators with passive grappling mechanisms by significantly reducing grapple sway motion. We began with a theoretical analysis of the problem, followed by designing and implementing a feedforward controller based on the nature of the sway motions. This was succeeded by solving the optimization problem to fine-tune the controller’s parameters. The designed method was implemented through co-simulation between AMESim and MATLAB Simulink.

The novel controller is applied for tip control on the forwarder, and the results show a significant reduction in the perpendicular direction (for slew movement) and the parallel direction (near and far movement). The results demonstrate that the optimal FF controller achieves a reduction of over 60% in both directions without additional sway-detection hardware. This simplifies the system’s architecture and cuts costs, making it a practical and cost-effective solution for sway control and instilling confidence in its economic viability.

The controller operates remarkably efficiently, demanding minimal computational resources while maintaining a smooth performance. It effectively dampens sway without compromising its effectiveness, demonstrating robustness and adaptability under initial sway conditions. Its computational efficiency and minimal hardware requirements underscore its potential as an economical and practical solution for sway prevention, instilling confidence in its effectiveness.

Our method’s adaptability and wide-ranging usefulness suggest its potential for widespread adoption in diverse industries, including construction, forestry, and aerial payload transport. It offers a flexible approach to designing anti-sway controls, thereby improving safety and efficiency in operations. The techniques and insights we’ve shared significantly contribute to the field of manipulator control, paving the way for new advancements in stabilizing machinery. Our research underscores how the strategic use of sophisticated control algorithms can enhance performance, safety, and cost-effectiveness in operations, fostering optimism about its potential.

Data availability statement

The data supporting the findings of this study, including the simulated model of the crane, are confidential. As such, they are not publicly available due to commercial restrictions. However, a summary of the data and methodology can be provided upon reasonable request to the corresponding author, subject to confidentiality agreements.

Author contributions

EK: Conceptualization, Investigation, Methodology, Software, Writing–original draft, Writing–review and editing. RG: Methodology, Supervision, Writing–review and editing.

Funding

The author(s) declare that financial support was received for the research, authorship, and/or publication of this article. This project was supported by the Academy of Finland, PROFI7 - TAU.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

The author(s) declared that they were an editorial board member of Frontiers, at the time of submission. This had no impact on the peer review process and the final decision.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

Andersson, J. A., Gillis, J., Horn, G., Rawlings, J. B., and Diehl, M. (2019). Casadi: a software framework for nonlinear optimization and optimal control. Math. Program. Comput. 11, 1–36. doi:10.1007/s12532-018-0139-4

CrossRef Full Text | Google Scholar

Ayoub, E., Levesque, P., and Sharf, I. (2023). “Grasp planning with cnn for log-loading forestry machine,” in 2023 IEEE international conference on robotics and automation (ICRA) (IEEE), 11802–11808.

CrossRef Full Text | Google Scholar

Brkić, V. S., Klarin, M., and Brkić, A. D. (2015). Ergonomic design of crane cabin interior: the path to improved safety. Saf. Sci. 73, 43–51. doi:10.1016/j.ssci.2014.11.010

CrossRef Full Text | Google Scholar

Cole, M. O. (2011). A discrete-time approach to impulse-based adaptive input shaping for motion control without residual vibration. Automatica 47, 2504–2510. doi:10.1016/j.automatica.2011.08.039

CrossRef Full Text | Google Scholar

Dvořák, J., Malkovskỳ, Z., Macků, J., et al. (2008). Influence of human factor on the time of work stages of harvesters and crane-equipped forwarders. J. For. Sci. 54, 24–30. doi:10.17221/790-jfs

CrossRef Full Text | Google Scholar

Fielding, S., and Nahon, M. (2019). “Input shaped trajectory generation and controller design for a quadrotor-slung load system,” in 2019 International conference on unmanned aircraft systems (ICUAS) (IEEE), 162–170.

CrossRef Full Text | Google Scholar

Hera, P. L., and Morales, D. O. (2015). Model-based development of control systems for forestry cranes. J. Control Sci. Eng. 2015, 27. doi:10.1155/2015/256951

CrossRef Full Text | Google Scholar

Jebellat, I., and Sharf, I. (2023). “Trajectory generation with dynamic programming for end-effector sway damping of forestry machine,” in 2023 IEEE international conference on robotics and automation (ICRA) (IEEE), 8134–8140.

CrossRef Full Text | Google Scholar

Kalmari, J., Backman, J., and Visala, A. (2014). Nonlinear model predictive control of hydraulic forestry crane with automatic sway damping. Comput. Electron. Agric. 109, 36–45. doi:10.1016/j.compag.2014.09.006

CrossRef Full Text | Google Scholar

Kalmari, J., Hyyti, H., and Visala, A. (2013). Sway estimation using inertial measurement units for cranes with a rotating tool. IFAC Proc. Vol. 46, 274–279. doi:10.3182/20130626-3-au-2035.00050

CrossRef Full Text | Google Scholar

Liu, Y., Jiang, D., Yun, J., Sun, Y., Li, C., Jiang, G., et al. (2022). Self-tuning control of manipulator positioning based on fuzzy pid and pso algorithm. Front. Bioeng. Biotechnol. 9, 817723. doi:10.3389/fbioe.2021.817723

PubMed Abstract | CrossRef Full Text | Google Scholar

Pai, M.-C. (2012). Closed-loop input shaping control of vibration in flexible structures via adaptive sliding mode control. Shock Vib. 19, 221–233. doi:10.1155/2012/803479

CrossRef Full Text | Google Scholar

Qiang, H.-y., Sun, Y.-g., Lyu, J.-c., and Dong, D.-s. (2021). Anti-sway and positioning adaptive control of a double-pendulum effect crane system with neural network compensation. Front. Robotics AI 8, 639734. doi:10.3389/frobt.2021.639734

PubMed Abstract | CrossRef Full Text | Google Scholar

Reis, J., Yu, G., Cabecinhas, D., and Silvestre, C. (2023). High-performance quadrotor slung load transportation with damped oscillations. Int. J. Robust Nonlinear Control 33, 10227–10256. doi:10.1002/rnc.6306

CrossRef Full Text | Google Scholar

Sadr, S., Moosavian, S. A. A., Zarafshan, P., et al. (2014). Dynamics modeling and control of a quadrotor with swing load. J. Robotics 2014, 1–12. doi:10.1155/2014/265897

CrossRef Full Text | Google Scholar

Solatges, T., Rubrecht, S., Rognant, M., and Bidaud, P. (2017). “Adaptive input shaper design for flexible robot manipulators,” in 2017 IEEE/RSJ international conference on intelligent robots and systems (IROS) (IEEE), 444–449.

CrossRef Full Text | Google Scholar

ur Rehman, S. F., Mohamed, Z., Husain, A., Jaafar, H., Shaheed, M., and Abbasi, M. (2022). Input shaping with an adaptive scheme for swing control of an underactuated tower crane under payload hoisting and mass variations. Mech. Syst. Signal Process. 175, 109106. doi:10.1016/j.ymssp.2022.109106

CrossRef Full Text | Google Scholar

Yousefi, E., Losey, D. P., and Sharf, I. (2022). “Assisting operators of articulated machinery with optimal planning and goal inference,” in 2022 international conference on robotics and automation (ICRA) (IEEE), 2832–2838.

CrossRef Full Text | Google Scholar

Zhou, X., Xu, Z., and Li, S. (2019). Collision-free compliance control for redundant manipulators: an optimization case. Front. neurorobotics 13, 50. doi:10.3389/fnbot.2019.00050

PubMed Abstract | CrossRef Full Text | Google Scholar

Appendix A

This appendix provides detailed formulations of the kinetic energy (T) and potential energy (V) used in the analysis of the sway dynamics of the grapple (Eq. 4). Part of the following equations are reproduced from Kalmari et al. (2013) and customized to our case. These formulations are essential for understanding the derivation of the Lagrangian, as referenced in the main body of the manuscript.

To apply the Lagrangian formulation, the kinetic and potential energy of the system are calculated. It is assumed that the entire mass of the system is concentrated at a single point, resulting in no rotational inertia. Considering the inertial tensor would significantly increase the complexity of the dynamic equations. However, in this case, the angular velocities are low, and the rotational inertia is deemed insignificant. In Figure 2B The position of the mass (xm,ym,zm) relative to the tip position is calculated as follows:

xm=l2sinθ6ym=l3sinθ5zm=l3cosθ5(A1)

and accordingly its position in the base frame (xt,yt,zt) is calculated as follows:

xt=xtip+xmcosθ1ymsinθ1yt=ytip+xmsinθ1+ymcosθ1zt=ztip+zm(A2)

where (xtip,ytip,ztip) is position of the tip respect to base frame. we can now calcuate the kinetic energy:

T=12mv2=12mẋt2+ẏt2+żt2=0.5mẋtip+l2sinθ6sinθ1θ̇1l3cosθ5sinθ1θ̇5l3sinθ5cosθ1θ̇1l2cosθ6cosθ1θ̇6+l2sinθ5sinθ6sinθ1θ̇622+0.5mẏtipl2sinθ6cosθ1θ̇1+l3cosθ5cosθ1θ̇5l3sinθ5sinθ1θ̇1l2cosθ6sinθ1θ̇6+l2sinθ5sinθ6cosθ1θ̇622+0.5mżtip+l3sinθ5θ̇5+l2cosθ5sinθ6θ̇622(A3)

On the other hand, the potential energy is given by:

V=mgh=mgztipl3cosθ5(A4)

Appendix B

In this Appendix, detailed derivations and supplementary formulas used throughout the Section 3 are provided as follows: The parameters ai, for i=5,6,7 in Eq. 10 are calculated after simplification as follows:

a5=m0l0+ml3cosx1cosx5cosx5x7+cosx1sinx5sinx5x7ml3l3+l2cosx1sinx3/ml02+l32a6=m0l0+ml3cosx1cosx5cosx5sinx5cosx5cosx1sinx5/m0l02+ml32a7=0(B1)

and bi, for i=5,6,7

b5=1/l2sinx1l2+l1cosx3+sinx5x7+cosx5x7b6=1/l2sinx5cosx3sinx5+cosx5sinx1sinx3cosx5cosx3cosx5sinx1sinx3sinx5b7=1/l2cosx1sinx3(B2)

After linearizing Eq. 10, the state space matrices can be calculated as follows:

Asys=010000010.3300.196600000010000010.900.1793000000000000000000000000
Bsys=01.05305.55600000.2070.995900100010001
Csys=01000000001000
Dsys=01.05305.55600

Keywords: sway damping, optimal control, forestry machinery automation, forwarder, feedforward (FF) control

Citation: Kowsari E and Ghabcheloo R (2024) Optimal sway motion reduction in forestry cranes. Front. Robot. AI 11:1417741. doi: 10.3389/frobt.2024.1417741

Received: 15 April 2024; Accepted: 18 July 2024;
Published: 15 August 2024.

Edited by:

Jesus Manuel Munoz-Pacheco, Benemérita Universidad Autónoma de Puebla, Mexico

Reviewed by:

Fernando Emanuel Serrano, National Autonomous University of Honduras, Honduras
Ernesto Zambrano-Serrano, Autonomous University of Nuevo León, Mexico

Copyright © 2024 Kowsari and Ghabcheloo. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Elham Kowsari, ZWxoYW0ua293c2FyaUB0dW5pLmZp

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.