1. Introduction
Developing a continuum model of an elephant’s trunk involves a sophisticated blend of mechanical engineering, biomechanics, and computational modeling disciplines. The goal is to create a mathematical and computational model that accurately represents the complex, flexible movements and mechanics of an elephant’s trunk. The study began with a thorough study of an elephant’s trunk anatomy and movement; see
Figure 1. The trunk is a highly flexible and muscular organ with no bones, comprising an intricate network of muscles, tendons, and skin. It can perform a wide range of motions and functions, from lifting heavy objects to delicate manipulations. Such a model could have applications beyond understanding the mechanics of the elephant trunk, including the design of flexible robotic systems and prosthetics, as well as contributing to the fields of biomechanics and animal locomotion. Developing this model would be an interdisciplinary endeavor that requires expertise in mechanical engineering, computational modeling, biomechanics, and zoology. It would also likely involve iterative testing and refinement to accurately capture the complex, multifaceted movements and functions of an elephant’s trunk. This research highlights the advantages of continuum robots over traditional rigid-link robots, particularly in their ability to navigate complex trajectories and confined spaces, making them ideal for various advanced engineering applications. An elephant’s trunk serves as an exemplary biological model, offering inspiration for designing flexible robotic systems capable of unprecedented versatility and adaptability.
A novel approach to continuum robot backbone design, inspired by the flexibility and versatility of an elephant’s trunk, was introduced and validated in [
2]. The proposed design incorporated helical compression springs with varying stiffness, arranged in a multi-section structure, allowing the robot to achieve smooth elongation, bending, and shortening. The paper focused on the effects of variable stiffness on its motion control and stability. Experimental results demonstrated that the variable stiffness backbone enhanced the robot’s rigidity, minimized twisting issues, and improved the efficiency of bending motions, particularly at the robot’s tip. This design offers potential improvements in control precision and adaptability in robotic applications requiring dexterous and compliant manipulation. However, the use of flexible springs increases the risk of buckling under excessive force along the backbone, which can compromise the robot’s stability and performance. Furthermore, while the design incorporates variable stiffness to improve control, this feature requires careful calibration and increases the complexity of the system.
A comprehensive mechanical model for a continuum robot, inspired by an elephant’s trunk, has been developed to predict the robot’s deformation under various conditions [
3]. The robot’s modular structure incorporates adjustable stiffness across different segments, enabling adaptability to diverse tasks and environments. This adaptability is achieved through preprogrammable stiffness, which allows the robot to perform complex movements and adjust to varying curvature scenarios. Despite its versatility, the system’s complexity poses a significant challenge, as the precise control of stiffness across multiple segments demands intricate coordination between the hardware and software components.
The design and kinematic analysis of a bioinspired elephant trunk robot with a variable diameter showed that it offers significant advancements in the dexterity and adaptability of continuum robots [
4]. The robot incorporates a soft motion mechanism combined with a rigid variable-diameter mechanism, enabling it to adjust its radial size and optimize performance for diverse tasks. This innovative design enhances the robot’s compliance, stiffness, and workspace versatility, allowing it to perform a wide range of motions with high precision. The kinematic model, which integrates both soft and rigid elements, was validated through simulations and experiments, demonstrating the robot’s capability to effectively adapt its shape and stiffness for complex manipulation tasks. Despite these advantages, the current design’s ability to change diameter is restricted to two discrete states, and the added weight of the mechanism may limit performance in certain applications. Future efforts will focus on developing a prototype with continuous diameter adjustment and minimizing the robot’s weight to further enhance its functionality.
In line with the advancements in bioinspired robotics, a variable-curvature elephant trunk robot (ETR) has been developed for applications in nuclear maintenance, particularly within the narrow and confined spaces of the China Fusion Engineering Test Reactor [
5]. The ETR incorporates a miniaturized, lightweight design that balances flexibility and load-bearing capabilities, allowing it to perform precise inspection and maintenance tasks while maintaining high positional accuracy. Its kinematic model, developed using the Denavit–Hartenberg method, and trajectory-tracking control methods, including end-traction, discrete path, and base-fixed algorithms, were rigorously tested through simulations to validate its structural and motion performance. These control strategies enable the ETR to efficiently navigate complex trajectories, demonstrating the feasibility of deploying continuum robots in challenging environments such as vacuum chambers. This work highlights the potential for bioinspired designs to extend continuum robotics applications beyond traditional domains.
Building upon the inspiration derived from the physical intelligence of an elephant’s trunk, a recent study proposed a biomimetic soft robot with preprogrammable localized stiffness [
6,
7]. This innovative design employed interference plates to regulate localized stiffness without the need for additional devices, offering precise control over deformation and adaptability to complex scenarios. The study demonstrated the capability to efficiently adjust stiffness by preprogramming stiffness profiles, significantly reducing the reconstruction time and enhancing environmental compliance.
However, challenges remain, particularly concerning the construction of the continuum model. The research work discussed above primarily focused on the flexible components of continuum robots, such as trunk-like structures, while largely excluding considerations of the rigid parts, such as the wrist or prearm, that are often critical for certain applications. The development of such models requires intricate design considerations, including balancing flexibility and structural integrity, accurately modeling the dynamic behavior of the system, and addressing the complexity of implementing effective trajectory-tracking algorithms. Additionally, a miniaturized and lightweight design, while advantageous for confined spaces, can result in limitations such as a reduced load capacity and increased susceptibility to external forces, which may compromise stability and precision during operation. These drawbacks highlight the need for further research to integrate rigid and flexible components into a unified framework, optimizing the construction and control strategies of continuum models for demanding applications.
To address these complexities, the multibody system approach provides a robust framework for modeling the dynamics of systems comprising rigid and flexible components [
8]. By integrating continuum mechanics within the multibody dynamics framework, formulations such as the Absolute Nodal Coordinates Formulation (ANCF) enable the precise modeling of large deformations and large rotation problems [
9,
10]. Unlike simplified assumptions of constant curvature or discrete elastic rod models, the ANCF allows for the comprehensive representation of structural flexibility, geometric nonlinearities, and cross-sectional distortions. This approach not only enhances the accuracy of dynamic simulations but also supports the development of integrated kinematic and static models, enabling sophisticated applications in soft and continuum robotics.
However, modeling the rigid–flexible interface in multibody systems presents significant challenges due to the contrasting dynamic characteristics of rigid and flexible bodies. Rigid bodies require simplified modeling, often focusing on positional and orientational coordinates, while flexible bodies necessitate a detailed representation of deformations, strain distributions, and dynamic interactions. This disparity introduces complexity in coupling these components within a unified framework.
The strain-based nonlinear beam formulation, as presented in [
11], provides an effective approach for analyzing complex rigid–flexible interfaces. It enhances computational efficiency and stability by employing strain measures and minimizing cross-sectional deformations, making it particularly suitable for slender, geometrically nonlinear systems. While it reduces the number of variables and achieves better convergence compared to the ANCF, its integration into multibody frameworks requires substantial modifications, and its applicability to complex or non-slender geometries remains unclear.
The Natural Coordinates Formulation (NCF) [
12,
13,
14] offers an effective method for modeling rigid bodies using Cartesian coordinates that inherently increase the number of shared coordinates among interconnected rigid–flexible bodies. This formulation is particularly effective in systems with Differential Algebraic Equations (DAEs), as it ensures the mass matrix remains constant and simplifies the integration of linear constraints.
Despite these advantages, the NCF faces challenges such as high computational demands, issues with constraint stabilization, locking problems, and difficulties in modeling complex cross-sectional structures. This work aimed to address these challenges to meet the intricate requirements of rigid–flexible interfaces in modeling an elephant’s trunk, serving as a framework for continuum manipulators where both accuracy and computational efficiency are essential.
This document is structured as follows:
Section 2 explores the anatomy of an elephant’s trunk.
Section 3 delineates the Natural Coordinates Formulation (NCF), focusing on its application in rigid body dynamics, the implementation of rigidity constraints, and the derivation of the mass matrix and generalized forces.
Section 4 delineates the Absolute Nodal Coordinates Formulation (ANCF), including the kinematics of the ANCF thin plate element, the derivation of generalized forces, and validation studies utilizing dynamic models of initially straight or curved configurations.
Section 5 outlines the ANCF continuum trunk model, incorporating the geometric modeling and finite element representation of the elephant trunk.
Section 6 explains the rigid–flexible coupling dynamics between the elephant’s head and trunk.
Section 7 addresses dynamic simulations, highlighting the use of stabilization methods and numerical integration techniques. The conclusion is detailed in
Section 8.
5. ANCF Continuum Trunk Model
ANCF gradient-deficient plate finite elements were used to model the geometry and conduct the analysis of the trunk. A dedicated subroutine was developed in MATLAB to automate the construction of the trunk’s tubular structure. The subroutine systematically defined the elements in a clockwise direction for each cross-sectional slice, progressing sequentially along the elastic centerline of the trunk. The generation of the nodal points is shown in
Figure 12. The generated nodal coordinates were then used to assemble the ANCF finite elements, enabling the simulation of the complex deformations and movements of the trunk.
The lofted profiles were obtained by transforming the position coordinates of the upper cross-sectional mesh points, see
Figure 13, which can be expressed as
where
represents the upper radius and
is the angle for the mesh points. This matrix defines the original profile that will be subjected to scaling and translation transformations along the length of the trunk until it reaches the tip, depending on the number of profiles
n. Each lofted profile,
, at a given location,
k, along the trunk is generated using the transformation
where
-
is the homogeneous scaling matrix, defined as
-
is the radius at position
k, given by
-
is the homogeneous translation matrix, defined as
Here,
is the lower radius, and
L is the length of the trunk.
Continuum Trunk Model Analysis: The dimensions and material properties of the continuum trunk model were based on empirical data from a mature female Asian elephant at the National Zoo in Washington, D.C. [
31]. The trunk was
m long with an upper diameter of 32 cm near the head, tapering to a lower diameter of 8 cm towards the tip. This gradual tapering provided an anatomically accurate representation of an elephant’s trunk. The material properties for the model included a density of 1180 kg/
, a Young’s modulus of
N/
, and a Poisson’s ratio of
. Initially positioned in a horizontal configuration, the trunk was allowed to fall naturally under the action of gravity, simulating real-world behavior over a duration of
seconds.
Figure 14 illustrates this motion, highlighting the trunk’s deformation as it transitioned into a downward curve due to gravitational forces.
In addition to gravitational loading, external bending moments were applied along the length of the trunk to simulate coiling or bending actions, as shown in
Figure 15 and
Figure 16. This captured one of the trunk’s most vital functions: its ability to bend or coil during activities such as grasping or wrapping around objects. To achieve this, a direct methodology was employed to impose concentrated moments on the ANCF finite elements, leveraging the framework proposed in [
10,
13].
These simulations demonstrated the model’s ability to realistically replicate the complex mechanics of an elephant’s trunk, including large deformations and the intricate interplay between the gravitational forces and applied moments. This validated the effectiveness of the ANCF in modeling biological structures with high degrees of flexibility and adaptability.
It can be concluded that the third-order polynomial interpolation function given in Equation (
23), which was employed for thin plate elements, achieved an acceptable balance between computational efficiency and accuracy. While higher-order interpolation functions could enhance precision, they significantly increase computational complexity, memory requirements, and the processing time.
Figure 15 and
Figure 16 show that the third-order formulation effectively captured the trunk’s deformation while maintaining numerical stability and efficiency, making it well suited for dynamic simulations.
6. Rigid–Flexible Coupling
The interaction between an elephant’s head and trunk as a multibody biomechanical system was described based on the hybrid Natural and Absolute Nodal Coordinates Formulation (NCF/ANCF) framework for rigid–flexible coupling. The head in this context was modeled using the Natural Coordinate Formulation (NCF), which accurately captured the rigid nature of the head structure, while the trunk was developed and described using the Absolute Nodal Coordinate Formulation (ANCF), which is appropriate for large deformation and rotation analysis in flexible multibody systems.
Figure 17 shows the interaction between the elephant’s trunk and the head it is rigidly attached to. The connection layer consists of mesh points that determine the rigid clamped joint which constrains the relative translation and rotation between the rigid and flexible bodies. The position vector
and gradient vectors
and
at node n of the flexible body are fully constrained by the point
,
, and
vectors of the rigid body.
The constraints equation of the clamped joint between the flexible body (trunk) and the rigid body (head) can be defined as
The constraint function
imposes a certain distance,
, between point
on the rigid body and nodes from
to
, which correspond to meshed nodes along the cross-section of the flexible body in contact with the rigid body. This ensures that the relative distance between these two points remains constant so that the geometric or kinematic relationship is maintained; these constraints can be defined as
The constraint function
ensures that the angle between the vectors
and
remains constant, even as the bodies move within the system. This constraint ensures that the relative orientation between the two vectors or bodies is maintained; these constraints can be defined as
The angle
between the vectors
and
can be calculated as
The orthogonality constraint
ensures that two vectors remain normal to each other, which can be defined as
The overall constraint equations, including the rigidity constraints of the rigid body described in the NCF and the rigid–flexible coupling constraints, can be represented as
Notably, the rigid head assumption is enforced through a set of constraint equations, Equations (
44)–(
47) within the NCF framework, which can be selectively relaxed to introduce some degree of soft tissue elasticity, if needed.
The kinematic movements of the elephant’s trunk, as illustrated in
Figure 18, highlight the model flexibility and precision of the proposed rigid–flexible interface and its interaction with the environment. These motions include bending, twisting, and their combinations, each demonstrating the intricate coordination and strength of the trunk’s musculature. The trunk’s ability to extend outward with partial flexion allows it to delicately manipulate objects, showcasing its precision and fine motor control. In such scenarios, a slight upward curve at the tip suggests the careful adjustments required for grasping or repositioning items with accuracy.
7. Dynamic Simulation
In order to carry out the dynamic simulation of the elephant’s head–trunk system, the equations of motion, as presented in Equation (
17), were modified for the rigid–flexible multibody system, taking the form of
The matrix
includes the rigid body mass matrix
and the flexible body mass matrix
. The Jacobian matrix
represents the partial derivatives of the constraint equations with respect to the generalized coordinates, ensuring that the kinematic constraints described in Equation (
48) are satisfied. The vector
is the Lagrange multiplier. The generalized forces vector
consists of the applied rigid body forces
, the elastic forces
, and the external forces
acting upon the flexible body. The vector
ensures the system meets the kinematic constraints at the position and velocity levels.
Examples of the dynamic simulations are presented in
Figure 19 and
Figure 20. The first example shows the efficiency of the interaction of the two bodies, by applying constant torque to the rigid body while no load or gravity was acting on the flexible body. An additional example of the interaction between the two bodies is that the flexible body was subjected to a bending moment, while there were no external or gravitational forces acting on the rigid body.
These simulations highlight the complex interaction of external forces and internal constraints essential for realistic system movements. To accurately capture this complexity, the equations of motion were formulated as a system of Differential Algebraic Equations (DAEs), incorporating holonomic constraints that govern the system’s geometry and motion.
A Baumgarte stabilization approach [
32] was employed to mitigate constraint violations at the position and velocity levels during numerical integration. Equation (
51) is a second-order differential equation determining the kinematic constraints; the two terms
and
in this equation perform the role of PD control. The numerical values of
and
were empirically chosen as stabilization parameters (damping ratio of
⇔
and
) [
33]. While this approach shows effective results for rigid-body systems and for short simulations, this method often fails in flexible multibody systems to prevent the “drift effect”, especially in long simulations, due to the fixed numerical values of its parameters throughout the simulation.
To enhance stability and accuracy, the Fuzzy Logic Control (FLC) constraint stabilization method was implemented [
34]. This method introduces a control framework independent of the system dynamics, effectively suppressing constraint violations over long simulations. The FLC framework utilizes Sugeno-type systems with Gaussian membership functions to provide robust stabilization, making it particularly suitable for the hybrid head–trunk model.
The implemented FLC operates through three primary phases of fuzzification, fuzzy rule-based decision making, and defuzzification. During the fuzzification phase, the inputs are the constraint function
and its derivative
, which are normalized using scaling factors (
and
) to ensure the fuzzy input variables are within the range of
and transferred into fuzzy sets using membership functions. Based on a comparison between several fuzzy sets, including triangular, trapezoidal and Gaussian memberships, the results indicated that Gaussian membership functions offer greater stability of the numerical solution, reduce constraint violations, and enhance computational efficiency. The rule-based decision making phase acts upon the fuzzy inputs with a set of rules to make appropriate corrective actions. Defuzzification converts the fuzzy outputs into crisp values for the purpose of stabilization corrections. The FLC output is estimated by a Sugeno-type system, significantly enhancing the efficiency of defuzzification. Unlike the Mamdani approach, whose distributed fuzzy sets require computationally expensive calculations, the Sugeno approach utilizes a singleton output membership function, a single spike representation [
34].
Violations in the constraints in the system create unknown disturbances, represented as
. These disturbances affect the motion of the system, and thus
In order to compensate for this drift, the FLC generates the adjusting action,
, ensuring that the system remains stable. FLC compensates for drifting by setting
, leading to the modified equation
This equation can be simplified to
When applying the FLC approach for stabilization, the system dynamically adjusts to minimize constraint violations and maintain accurate motion. This technique enhances stability, and thus it is suitable for complex multibody simulations.
The numerical solution employs a variable-step, variable-order integrator, namely, the Adams–Bashforth–Moulton method, which is a multistep predictor–corrector integration approach. When paired with the FLC stabilization strategy, the computational efficiency and stability are optimized. It can be concluded that this approach ensures precise constraint handling and dynamic consistency, even under complex loading scenarios, such as lifting, bending, and twisting movements.
To validate the simulation and assess its accuracy, the results were compared with the actual motion of an elephant’s trunk.
Figure 21 presents a side-by-side comparison of the simulated model and real trunk motion over time. To replicate the natural curling movement, a time-dependent bending moment of
was applied at a point located one-quarter of the trunk’s length from the distal end, acting about the y-axis. The external force formulation described in Equation (
16) was applied to the ANCF-based trunk model. Initially, both the simulated and real trunks remained nearly straight, indicating a minimal bending state. As time progressed, the trunk gradually bent, forming a pronounced curvature that closely resembled the real trunk’s upward motion towards the mouth in an active manner. The comparison demonstrates a strong agreement between the simulated and real movements, particularly in the bending pattern and temporal evolution of the curvature. This confirms that the proposed dynamic model effectively captures the natural biomechanics of an elephant trunk.
Additionally, another simulation was carried out where the system was subjected to double-acting forces to further explore the dynamic response under combined loading conditions; see
Figure 22. The trunk rested in a horizontal position and was subjected to a bending moment about the
y-axis, while the rigid head experienced an applied torque about the
z-axis.
Figure 23,
Figure 24,
Figure 25 and
Figure 26 illustrate the violations of the constraints (rigidity, distance, angle, and orthogonality) over time and demonstrate the effectiveness of the integration method and the rigid–flexible interface. For rigidity constraints, the deviations remained within
, ensuring the rigid body’s behavior was accurately maintained. The distance constraints showed minimal violations, confined to the order of
, confirming the precise preservation of the distance between nodes. Angle constraints exhibited negligible deviations, within
, indicating the relative orientation between vectors remained constant as expected. Orthogonality constraints also displayed small violations, within
, maintaining the orthogonal relationship between vectors throughout the simulation. These results collectively highlight the robustness and precision of the simulation framework, demonstrating that the system adheres to the constraints effectively over time.
It is important to note that the exact inherent damping of an elephant trunk is not explicitly documented in the literature. However, studies on elephant trunk dynamics [
1,
35] suggest that trunk movements rely on a combination of passive elasticity and active muscular control, both of which inherently contribute to energy dissipation. In previous implementations, the damping effect was not explicitly modeled; however, the results demonstrated realistic oscillatory behavior, ensuring consistency with observed trunk movements. The simulation approach inherently incorporates constraint stabilization techniques to manage the numerical behavior of the system. Specifically, damping in constraint dynamics is handled using the Baumgarte and Fuzzy Logic Control stabilization methods. These stabilization methods effectively regulate constraint violations, preventing unrealistic oscillations and ensuring smooth, physically meaningful motion. The effectiveness of this approach is evident in the dynamic results presented in
Figure 17 and
Figure 19,
Figure 20 and
Figure 21), where the simulated motion decay closely aligns with natural trunk behavior. Furthermore, the comparative analysis shown in
Figure 21 confirms that the proposed rigid–flexible coupling model provides a reliable representation of realistic trunk mechanics, demonstrating the system’s ability to replicate natural movements observed in elephants.