1. Introduction
Inchworms, also known as geometer caterpillars, exhibit a distinctive mode of locomotion that has inspired robotic motion due to its efficiency and adaptability across various surfaces [Reference Liu, Qin, Yuan and Yuan1–Reference Peng, Nabae, Funabora and Suzumori4]. Their movement is characterized by a rhythmic cycle of contraction and extension, where the inchworm first anchors its hind legs, contracts its body to form an arch, and then extends forward, placing its front legs in a new position. This coordinated movement enables the inchworm to maneuver through complex terrains with precision and minimal energy expenditure [Reference Li, Wang, Wang, Zheng and Jiao5–Reference Lin, Putranto, Chen, Teng and Chen7]. By varying the amplitude and frequency of these contractions, inchworms can modulate their speed and adapt to different surface conditions [Reference Thomas, Germano, Martinez and Perriard8], making them ideal natural models for robots that must navigate unpredictable environments. Inspired by this motion, researchers have designed inchworm-like robots that mimic the contraction–extension cycle to achieve efficient, stable locomotion. These robotic systems typically rely on a segmented design with actuators mimicking the inchworm’s muscles, allowing controlled body contractions and extensions [Reference Ueno, Takemura, Yokota and Edamura9]. By emulating the inchworm’s gait, inchworm robots can effectively traverse uneven terrain, squeeze through narrow passages, and adjust their body shape to maintain stability. This biomimetic approach not only improves the robot’s adaptability but also enables it to perform in environments where traditional wheeled or legged robots might struggle, such as inside pipes, on soft surfaces, or in confined spaces [Reference Rahmani, Ghanbari and Ettefagh10].
Controlling an inchworm robot mechanism requires precise coordination of its segmented body to replicate the natural contraction and extension movement seen in biological inchworms [Reference Cao, Liang, Wang, Lee, Zhu and Ren11]. The robot typically has actuators or motors within each segment, which are programed to alternately contract and extend in a cyclic manner, propelling the robot forward [Reference Zheng, Kumar, Chen, Cheng, Wagner, Chen and Sturm12]. This type of motion is particularly advantageous for navigating narrow spaces and irregular surfaces, where wheeled or legged robots might face limitations [Reference Yang, Li and Shen13]. To ensure accurate positioning and consistent tracking, the control system must dynamically adapt to the robot’s changing configuration, continuously adjusting to maintain stability and desired motion patterns [Reference Di, Zhang, Wen, Yao, Zhou, Ren and Shao14].
A proportional-integral derivative (FPID) controller can significantly enhance the control of inchworm robot mechanisms by adding flexibility and adaptability to the control process. In a traditional PID controller, the proportional, integral, and derivative terms are adjusted to achieve a balance between response speed and stability, but they are constrained to integer orders [Reference Dumlu and Erenturk15]. An FPID controller, on the other hand, uses fractional (noninteger) orders for the integral and derivative terms, allowing for finer control tuning. This flexibility enables the FPID controller to handle the nonlinear dynamics and variable interactions between segments of the inchworm robot more effectively [Reference Mondal and Dey16]. By refining the response to changes in position, force, or external disturbances, the FPID controller helps the inchworm robot maintain smoother, more stable motion, making it highly suited for complex locomotion tasks [Reference Ni, Wei, Zhou and Tao17].
Koopman theory offers a powerful framework for analyzing nonlinear dynamical systems by transforming them into a higher-dimensional linear representation, making predicting and controlling complex behaviors easier [Reference Bruder, Fu, Gillespie, Remy and Vasudevan18–Reference Shi and Meng20]. In Koopman theory, the dynamics of a nonlinear system are represented by a set of observable functions, which capture the system’s states and behaviors. Instead of directly tracking the original nonlinear dynamics, the theory utilizes the Koopman operator [Reference Korda and Mezić21], a linear operator that governs the evolution of these observable functions over time [Reference Ramadan and Anitescu22]. This transformation allows a nonlinear system to be studied and controlled as if it were linear, enabling the use of linear control techniques for complex systems that are inherently nonlinear, such as robots, fluid dynamics, and autonomous vehicles [Reference Wang, Liang, Liang, Ren, Du and Wu23–Reference Li, Han, Vo and Yin25]. To generate the Koopman operator in practice, especially for high-dimensional or complex systems, deep neural networks (DNNs) are commonly used. By training a neural network on a set of system data, where each sample contains information on states and their transitions, the DNN learns an approximation of the Koopman operator. In this process, the network is typically designed to map the system’s states to a higher-dimensional space where the Koopman operator can act linearly [Reference Rahmani and Redkar27]. Once trained, the DNN can predict the evolution of the system’s observables, effectively enabling a linear representation of the originally nonlinear dynamics [Reference Mao, Meng, Wang, Lei and Wang28]. This combination of Koopman theory and deep learning provides a data-driven approach to modeling, where even complex systems can be controlled with linear methods, enhancing the efficiency and adaptability of the control strategy [Reference Mallen, Lange and Kutz29].
A compound control system integrates multiple control methods to leverage the strengths of each approach for improved performance and robustness in complex or dynamic environments [Reference Peng, Chen, Guo and Guo30]. Typically, compound control systems combine a primary control strategy with additional layers, such as adaptive, robust, or learning-based controllers, to handle different system behavior aspects. This layered approach allows the system to respond effectively to both predictable and unpredictable changes, like environmental disturbances or variations in system dynamics [Reference Zhou, Wang and Shi32–Reference Bounemeur and Chemachema36]. The primary benefit of a compound control system is its versatility and resilience in diverse operational conditions. By combining control methods, compound systems can handle a broader range of challenges compared to single-method controllers [Reference Liu, Dizqah, Herreros, Schaub and Haas37]. They provide better tracking accuracy, improved disturbance rejection, and enhanced adaptability to unknown system variations or external influences. This makes compound control systems particularly valuable in applications requiring high precision and reliability, such as autonomous vehicles, industrial automation, and robotic manipulation [Reference Ma, Qin and Li38]. Compound control systems can often simplify tuning, as each component controller addresses specific performance goals, resulting in a more balanced and efficient overall control system.
NVIDIA’s Isaac SIM simulation software is a high-fidelity simulation platform designed to support autonomous robot development, testing, and deployment. Built on the NVIDIA Omniverse platform, Isaac SIM provides a physics-based, photorealistic environment where users can simulate robots interacting with complex virtual worlds [Reference Baltes, Christmann and Saeedvand39]. It allows for realistic modeling of sensors, actuators, and physical interactions, making it an ideal tool for robotics researchers and developers to prototype, test, and refine their control algorithms and AI-driven behaviors before deploying them on actual hardware. Isaac SIM is particularly useful in scenarios involving perception, navigation, and manipulation, where accurate simulation of real-world conditions is essential. When simulating a robot in Isaac SIM, users can create detailed models of their robots, configure sensor setups, and program control systems to govern the robot’s movements and responses. Isaac SIM enables integration with machine learning models and provides a powerful API for managing simulation parameters, enabling developers to run experiments under a wide range of conditions and environments [Reference Sekkat, Moutik, Kari, Chaibi, Tchakoucht and Alaoui40]. For instance, a robot’s locomotion, obstacle avoidance, and object manipulation tasks can be thoroughly tested in Isaac SIM, with real-time feedback on performance metrics such as tracking accuracy, response to disturbances, and computational efficiency. The software also supports reinforcement learning and data collection for training AI models, allowing for streamlined development of complex autonomous behaviors within a controlled and scalable virtual space [Reference Rojas, Hermosilla, Yunge and Farias41].
The contributions of this research are as follows:
-
1. Development of a novel data-driven compound control system: This article presents a unique control system designed specifically for the Inchworm robot, which integrates data-driven techniques. Unlike traditional control methods, this system adapts and improves its performance based on real-time data, offering superior precision in handling the robot’s movements.
-
2. Application of an FPID controller for complex nonlinear dynamics: A key contribution of this research is the application of a FPID controller to manage the Inchworm robot’s complex, nonlinear dynamics. The FPID controller is tailored to effectively address the robot’s inherent nonlinearities, which are typically challenging for conventional control strategies.
-
3. Introduction of a hybrid control approach using Koopman operator theory: A novel hybrid control method is proposed, combining traditional control techniques with Koopman operator theory. By transforming the robot’s nonlinear dynamics into a data-driven linear model, this approach significantly improves the system’s tracking and locomotion performance, overcoming the limitations of purely nonlinear control methods.
-
4. DNN-Based Koopman operator identification: The research introduces an innovative method for identifying the Koopman operator using DNNs. This approach provides an efficient means to approximate the linear dynamics of the Inchworm robot, allowing for better model accuracy and control performance.
-
5. Implementation of the FPID controller on the Linearized Koopman model: After linearizing the robot’s dynamics through the Koopman operator, the FPID controller is applied to the transformed model. This enables precise control of the Inchworm robot, leveraging the advantages of both linearization and advanced control theory to enhance its movement accuracy.
-
6. Validation through extensive virtual experiments in NVIDIA Isaac SIM simulation software: The effectiveness of the proposed control system is thoroughly validated through extensive virtual experiments conducted in NVIDIA Isaac SIM. These experiments demonstrate a significant improvement in the robot’s locomotion and tracking capabilities, providing strong evidence of the practical applicability of the proposed method.
The remainder of this article is organized as follows: Section 2 discusses the locomotion and dynamic modeling of the Inchworm robot. Section 3 explains the proposed compound control method in detail. Section 4 presents the simulation and virtual experiment results, demonstrating the effectiveness of the control approach. Finally, Section 5 concludes the paper by summarizing the key findings and implications of the study.
2. Inchworm robot
The Inchworm robot is a bio-inspired robotic system designed to mimic the locomotion of its biological counterpart, the inchworm. This unique robot typically features a segmented body, allowing it to move in a coordinated, wave-like manner (Figure 1). By alternately contracting and extending its segments, the Inchworm robot can traverse various surfaces with high efficiency and adaptability. Its design often incorporates advanced control algorithms, enabling precise movement and the ability to navigate complex environments. The Inchworm robot’s applications range from exploration in constrained spaces to tasks in delicate environments, such as search and rescue operations, making it a versatile tool in both research and practical applications. The proposed robot, inspired by the biological mechanics of the inchworm, is illustrated in Figure 2.
Inchworm in nature [Reference Hondow42].

Inchworm robot mechanism.

The four degrees of freedom in an Inchworm robot dynamic model can be defined as [Reference Ghanbari and Noorani43]:
where
$\boldsymbol{M}(\boldsymbol{\theta })\in \mathbf{R}^{\mathbf{4}\times \mathbf{4}},\boldsymbol{V}(\boldsymbol{\theta })\in \mathbf{R}^{\mathbf{4}\times \mathbf{4}},\boldsymbol{G}(\boldsymbol{\theta })\in \mathbf{R}^{\mathbf{4}\times \mathbf{1}},\text{ and }\boldsymbol{K}\in \mathbf{R}^{\mathbf{4}\times \mathbf{1}}$
are mass matrix, centrifugal coefficient matrix, gravity vector, and subtraction matrix. Also, the
$\boldsymbol{F}_{\mathbf{R}}$
is forces that apply from the ground. The comprehensive dynamic model, including all relevant equations and parameters, is thoroughly detailed in reference [Reference Peng, Chen, Guo and Guo30]:
\begin{equation} \begin{array}{c} \boldsymbol{M}(\boldsymbol{\theta })=\displaystyle\frac{\boldsymbol{m}{\boldsymbol{l}}^{\mathbf{2}}}{\mathbf{6}}\left[\begin{array}{c@{\quad}c@{\quad}c@{\quad}c} \mathbf{20} & \mathbf{15}{\boldsymbol{c}}_{\mathbf{12}} & \mathbf{9}{\boldsymbol{c}}_{\mathbf{13}} & \mathbf{3}{\boldsymbol{c}}_{\mathbf{14}}\\[4pt] \mathbf{15}{\boldsymbol{c}}_{\mathbf{12}} & \mathbf{14} & \mathbf{9}{\boldsymbol{c}}_{\mathbf{23}} & \mathbf{3}{\boldsymbol{c}}_{\mathbf{24}}\\[4pt] \mathbf{9}{\boldsymbol{c}}_{\mathbf{13}} & \mathbf{9}{\boldsymbol{c}}_{\mathbf{23}} & \mathbf{8} & \mathbf{3}{\boldsymbol{c}}_{\mathbf{34}}\\[4pt] \mathbf{3}{\boldsymbol{c}}_{\mathbf{14}} & \mathbf{3}{\boldsymbol{c}}_{\mathbf{24}} & \mathbf{3}{\boldsymbol{c}}_{\mathbf{34}} & \mathbf{2} \end{array}\right] \end{array} \end{equation}
\begin{equation} \begin{array}{c} \boldsymbol{V}(\boldsymbol{\theta })=\displaystyle\frac{\boldsymbol{m}{\boldsymbol{l}}^{\mathbf{2}}}{\mathbf{6}}\left[\begin{array}{c@{\quad}c@{\quad}c@{\quad}c} \mathbf{0} & \mathbf{15}{\boldsymbol{s}}_{\mathbf{12}} & \mathbf{9}{\boldsymbol{s}}_{\mathbf{13}} & \mathbf{3}{\boldsymbol{s}}_{\mathbf{14}}\\[4pt] -\mathbf{15}{\boldsymbol{s}}_{\mathbf{12}} & \mathbf{0} & \mathbf{9}{\boldsymbol{s}}_{\mathbf{23}} & \mathbf{3}{\boldsymbol{s}}_{\mathbf{24}}\\[4pt] -\mathbf{9}{\boldsymbol{s}}_{\mathbf{13}} & -\mathbf{9}{\boldsymbol{s}}_{\mathbf{23}} & \mathbf{0} & \mathbf{3}{\boldsymbol{c}}_{\mathbf{34}}\\[4pt] -\mathbf{3}{\boldsymbol{s}}_{\mathbf{14}} & -\mathbf{3}{\boldsymbol{s}}_{\mathbf{24}} & -\mathbf{3}{\boldsymbol{s}}_{\mathbf{34}} & \mathbf{0} \end{array}\right] \end{array} \end{equation}
\begin{equation} \begin{array}{c} \boldsymbol{G}(\boldsymbol{\theta })=\displaystyle\frac{\boldsymbol{mgl}}{\mathbf{2}}\left[\begin{array}{c} \mathbf{7}\,\boldsymbol{cos}\, {\boldsymbol{\theta }}_{\mathbf{1}}\\[4pt] \mathbf{5}\,\boldsymbol{cos}\, {\boldsymbol{\theta }}_{\mathbf{2}}\\[4pt] \mathbf{3}\,\boldsymbol{cos}\, {\boldsymbol{\theta }}_{\mathbf{3}}\\[4pt] \boldsymbol{cos} {\boldsymbol{\theta }}_{\mathbf{4}} \end{array}\right] \end{array} \end{equation}
\begin{equation} \begin{array}{c} \boldsymbol{\lambda }=\left[\begin{array}{c@{\quad}c@{\quad}c@{\quad}c} \mathbf{1} & -\mathbf{1} & \mathbf{0} & \mathbf{0}\\[4pt] \mathbf{0} & \mathbf{1} & -\mathbf{1} & \mathbf{0}\\[4pt] \mathbf{0} & \mathbf{0} & \mathbf{1} & -\mathbf{1}\\[4pt] \mathbf{0} & \mathbf{0} & \mathbf{0} & \mathbf{1} \end{array}\right] \end{array} \end{equation}
In the described system,
${\theta}_{i}$
represents the angle of the
$i{\rm th}$
joint. The expressions
$c_{ij}={\cos } ({\theta}_{i}-{\theta}_{j})\,\text{and}\,s_{ij}={\sin } ({\theta}_{i}-{\theta}_{j})$
denote the cosine and sine of the angle difference between the
$i{\rm th}\text{ and }j{\rm th}$
joints, respectively. Furthermore, m denotes the mass of each link, while l specifies the length of each link in the system.
3. Proposed compound control
A compound control system combining FPID control, Koopman theory, and DNNs presents a sophisticated approach for managing the nonlinear dynamics of an Inchworm robot, whose bio-inspired design and movement require precise and adaptable control. FPID control, with its ability to incorporate fractional-order derivatives, enhances tuning flexibility and robustness against disturbances, making it well-suited for the Inchworm robot’s variable-speed, segmented movement. By integrating Koopman theory, this system transforms the robot’s nonlinear motion dynamics into a linear framework, simplifying complex dynamics and enabling the application of linear control techniques for smoother, more predictable operation. DNNs complement this by learning and approximating unknown nonlinear functions within the system, providing real-time adaptability and refinement to the control strategy as the robot encounters diverse environments and terrains. This compound approach equips the Inchworm robot with a resilient and efficient control system that combines precision, adaptability, and robustness, crucial for achieving effective and stable locomotion in dynamic applications.
3.1 Fractional PID control
Fractional proportional-integral derivative control offers a robust framework for managing the nonlinear dynamics of an inchworm robot. Unlike traditional PID controllers, FPID utilizes fractional calculus, allowing more flexible and precise adjustments in response to the robot’s complex motion patterns. This control strategy can handle the inherent time delays, varying friction, and highly nonlinear interactions among the joints and links of the Inchworm robot, leading to improved trajectory tracking and disturbance rejection. By tuning the fractional orders of the derivative and integral terms, FPID control achieves a balance between responsiveness and stability, making it particularly effective for tasks requiring precise positioning and adaptability. For the Inchworm robot, FPID enhances control over joint movements and minimizes tracking errors, contributing to smoother, more efficient locomotion in real-world applications. The FPID control can be defined as
where
$e(t)={\theta}_{d}-\theta$
, which
${\theta}_{d}$
is desired trajectory, D is fractional operator defines as
$D=\displaystyle\frac{d}{dt}$
, and μ is fractional order. The Grunwald–Letnikov [Reference Islam, Rahmani and Rahman44] approach to fractional calculus defines a fractional derivative or integral based on discrete, incremental changes, making it suitable for practical computations and numerical applications. It generalizes the concept of integer-order differentiation and integration to noninteger orders, allowing more flexibility in modeling complex, memory-dependent systems that classical calculus cannot capture. The Grunwald–Letnikov fractional derivative of order α at a point t is derived as a limit of a summation involving differences of function values, weighted by binomial coefficients, which reflect the memory effect typical of fractional systems.
where
Detailed explanations can be found in [Reference Islam, Rahmani and Rahman44]. The primary design parameters of a FPID Controller –
$K_{p}, K_{i}, K_{d}, \lambda$
, and
$\mu$
significantly influence control performance.
$K_{p}$
determines response speed and sensitivity while
$K_{i}$
eliminates steady-state error but may introduce instability if too high.
$K_{d}$
improves damping and reducing overshoot but increases noise sensitivity. The fractional orders
$\lambda$
and
$\mu$
(derivative) provide added flexibility, enhancing disturbance rejection and response smoothness. Higher
$\lambda$
strengthens long-term correction, whereas higher
$\mu$
improves damping but may cause excessive smoothing. Proper tuning balances speed, stability, and robustness, making FPID superior to classical PID in adaptability and performance.
3.2 Koopman theory
Koopman theory is a mathematical framework used to analyze nonlinear dynamical systems by transforming them into a higher-dimensional linear framework, which can simplify control and analysis. The Koopman operator, K, is an infinite-dimensional linear operator that acts on observable functions of the state of a nonlinear dynamical system. For a dynamical system described by [Reference Rahmani and Redkar27]:
where
$x_{t}$
is the state vector at time
$t$
and
$f$
is a (nonlinear) function defining the system’s dynamics. The Koopman operator acts on observables rather than on states. An observable,
$g$
, is a function that maps the state
$x$
to some real or complex value,
$g(x)$
. Then, the Koopman operator
$K$
is defined by
This means the Koopman operator propagates observables forward in time. In Koopman theory, the goal is to lift the system into a higher-dimensional space using observables where the dynamics can be approximated as linear. For a vector of observables
The evolution can be represented as
If the Koopman operator K is well-approximated by a finite-dimensional matrix
$K$
, this matrix can describe the evolution of the observables in a linear fashion:
Koopman theory leverages the eigenfunctions of the Koopman operator to analyze the system’s dynamics. An eigenfunction
$\phi$
(x) of the Koopman operator satisfies
where
$\lambda$
is the eigenvalue associated with the eigenfunction
$\phi$
. These eigenfunctions are particularly valuable because they provide insights into the invariant structures of the system, and the eigenvalues can provide information about the system’s stability and time scales.
3.3 Deep neural network
In using a DNN to generate the Koopman operator, the key is to map a nonlinear system into a higher-dimensional space where linear dynamics can approximate the system’s behavior. A DNN can achieve this by learning complex mappings that approximate Koopman eigenfunctions, which represent the system’s state in a transformed "Koopman space." In this space, the dynamics can be represented as a linear, time-invariant system governed by the Koopman operator. This linearization allows even nonlinear systems to be analyzed, controlled, or predicted with linear techniques, greatly simplifying the control design. To accomplish this, a typical DNN structure involves an encoder-decoder setup. The encoder maps the original system states into the latent Koopman space, capturing the necessary eigenfunction approximations, while the decoder reconstructs the original states from this transformed space. Training the DNN to both approximate and reconstruct the system states ensures that essential system dynamics are preserved in the Koopman space, where the Koopman operator linearly propagates future states. This process enables predictions and control that would otherwise be difficult to achieve with highly nonlinear dynamics.
The Koopman Neural Network leverages a convolutional neural network (CNN) to approximate the Koopman operator, integrating deep learning’s capabilities to estimate the Koopman matrix across dynamic systems robustly. By refining model parameters iteratively, this approach optimizes the computation of the Koopman operator at each time step, enabling the network to adapt and learn more precise representations of the system dynamics. CNNs are particularly advantageous here due to their inherent ability to detect and capture spatial dependencies and patterns within high-dimensional data, which is crucial for recognizing intricate dynamics present in complex systems. Through its layered structure, the CNN component progressively extracts features from the input signals, learning latent representations that reflect the system’s behavior over time. This process equips the network to capture immediate spatial relationships and build a comprehensive understanding of temporal dependencies, enhancing the accuracy of Koopman operator estimates. As the network trains on representative datasets, it continuously refines its internal parameters, leading to more accurate, generalizable predictions that closely mirror the system’s real-world dynamics. Moreover, the iterative optimization in the Koopman neural network model fosters predictive accuracy while also allowing for adaptive updates based on real-time feedback. This adaptability is vital for real-time control applications and systems requiring responsive adjustments, as it enables the model to dynamically account for shifts or disturbances in system behavior. Consequently, this approach advances the capability to perform adaptive control, where the system can continuously fine-tune its behavior in response to new data, making the Koopman neural network a powerful tool for capturing and leveraging the complexities of dynamic systems in high-dimensional settings.
In dynamical systems modeling, a system’s state is typically recorded as a sequence of snapshots taken at consecutive time steps. We denote these states in a matrix
$\mathrm{X}$
, where each column
$X_{i}$
represents the system’s state at time
$t_{i}$
. Thus, we construct
$X=[X_{i},\ldots, X_{n-1}]$
, with
$n$
representing the total time steps considered. To train a neural network effectively, input–output pairs are essential. Here, we use the current state
$X_{i}$
as the input and the subsequent state
$X_{i+1}$
as the corresponding output. This setup leverages the worm’s metachronal gait, ensuring that the position of actuator
$j+1$
at time
$t+1$
corresponds to the position of actuator
$j$
at time
$t$
. Consequently, the training dataset is structured as
$X_{\textit{train}}=[X_{i},\ldots, X_{n-1}]$
and
$Y_{\textit{train}}=[X_{2},\ldots, X_{n}]$
.
The Koopman operator, symbolized by K, offers a powerful approach for analyzing the time evolution of complex dynamical systems in discrete time steps by leveraging the concept of observables. Observables are functions that map the original, often nonlinear, state of the system into a higher-dimensional space, where the dynamics can be represented in a linear form. In this framework, the system’s evolution is expressed by the relation
$f(X_{t+1})=K.f(X_{t})$
, where
$f(.)$
denotes an observable that captures key features of the state
$X_{t}$
at time
$t$
. Applying the Koopman operator to these observables makes it possible to achieve a linear representation of otherwise nonlinear dynamics, enabling more straightforward analysis and control strategies. The key insight behind this approach is the concept of "lifting" – embedding the system’s state space into a higher-dimensional observable space where the system’s evolution can be represented through linear operators. This lifting process effectively transforms complex nonlinear interactions within the system into a more accessible linear form, even though nonlinear rules may govern the original system. By bridging the gap between nonlinear state-space dynamics and a linear observable space, the Koopman operator framework enhances our ability to model, analyze, and control intricate dynamical systems. It is a valuable tool in fields ranging from robotics to fluid dynamics. We typically rely on a comprehensive dataset capturing the system’s state evolution over time to compute the Koopman operator. Let’s assume we have a training dataset, where
$X_{\textit{train}}$
represents the current state of the system across various time steps, and
$Y_{pred}$
represents the future states corresponding to each entry in
$X_{\textit{train}}$
. In this context, the relationship between these current and future states can be formulated as
$Y_{pred}=K.X_{\textit{train}}$
, where
$K$
denotes the Koopman operator. We aim to calculate
$K$
such that it optimally maps
$X_{\textit{train}}$
to
$Y_{pred}$
, capturing the system’s underlying dynamics in a linear transformation that applies to potentially nonlinear systems. By accurately estimating
$K$
, we enable predictions of future states based solely on current observations, which is foundational in extending Koopman theory to control and optimization tasks.
This calculation leverages the Moore–Penrose pseudoinverse to approximate the Koopman operator, an essential component in data-driven dynamic modeling. Let
$X_{\textit{train}}$
be a matrix representing the system’s states over time, capturing the system’s dynamics in various sampled configurations. To obtain an approximate solution that minimizes errors in a least-squares sense, we first compute the pseudoinverse of
$X_{\textit{train}}$
, denoted as
$X_{\textit{train}}^{+}$
. This pseudoinverse satisfies the relationship
$X_{\textit{train}}=I$
, where
$I$
is the identity matrix, ensuring that the inverse-like properties hold even for nonsquare matrices. With
$X_{\textit{train}}^{+}$
computed, we then calculate the Koopman operator
$K$
by applying the expression
$K=Y_{pred}.X_{\textit{train}}^{+}$
, where
$Y_{pred}$
represents the future state predictions of the system. The result is an approximation of the Koopman operator that provides the best possible mapping from the current state to the future state under the least-squares criterion, allowing the model to capture the essential dynamics of the system effectively. This method facilitates a robust and efficient data-driven approach to estimate the linear dynamics of even complex, nonlinear systems.
Using the pseudoinverse in this method provides robustness, particularly in cases where
$X_{\textit{train}}$
is not square or is rank-deficient. This approach enables reliable approximation of the Koopman operator even under challenging data conditions, making it highly valuable for practical applications across various domains. The Koopman operator’s capacity to capture and linearize complex, nonlinear dynamics has transformed analysis, prediction, and control in fields as diverse as fluid dynamics, robotics, and beyond. By transforming nonlinear systems into an approximate linear framework, the Koopman operator enhances the computational efficiency and accuracy of predictive models and controllers for dynamic systems. Once the Koopman operator is applied, the resulting linear dynamical system can be represented as follows, enabling powerful insights into system behavior that would otherwise require computationally intensive nonlinear approaches. This formulation allows for the design of linear controllers, which are often easier to implement and tune, providing a streamlined solution for managing complex, nonlinear processes.
The proposed control block diagram is shown in Figure 3. The input for the DNNs is derived from solving the complex nonlinear dynamics model of an Inchworm robot. By analyzing the system’s behavior through this nonlinear model, comprehensive input data for the DNNs is generated, capturing intricate dynamic patterns (size of data is
$4\times 1$
matrix). Following this data generation process, an FPID controller is applied to the worm robot’s resulting data-driven linear dynamic model. This approach enables the FPID controller to leverage the data’s underlying nonlinear dynamics, enhancing the control precision, stability, and overall performance. The integration of DNNs with the FPID controller provides a robust control strategy, effectively improving the robot’s tracking accuracy and response under various conditions. The research employs several key strategies to manage uncertainties in system parameters, including using data-driven control methods that adapt to real-world conditions, implementing an FPID controller to handle nonlinear dynamics and improve robustness, and a hybrid control approach utilizing Koopman operator theory to linearize the system. Additionally, a DNN is trained to identify the Koopman operator, enhancing the accuracy of the linearized model. The FPID controller is then applied to the transformed model, reducing complexity and increasing predictability. Finally, extensive virtual experiments in NVIDIA Isaac SIM Software validate the method’s effectiveness under various conditions, ensuring robust performance despite uncertainties.
The proposed control method block diagram.

Regression analysis for proposed neural network.

The stability of the fractional PID-controlled system is analyzed using a Lyapunov function
$V\left(e\right)=\frac{1}{2}e^{2}$
. Taking its fractional derivative and substituting the system’s dynamics, we obtain
$D^{\alpha }V(e)=-K_{p}e^{2}-K_{i}eD^{-\mu }e-K_{d}eD^{\mu }e$
. Since all terms are negative for
$K_{p},K_{i},K_{d}\gt 0$
, the Lyapunov function is nonincreasing, ensuring the system’s bounded error and asymptotic stability. This proves that the fractional PID controller effectively stabilizes the Inchworm robot’s motion. The proposed control system may face instability under high-frequency disturbances, rapidly changing external forces and extreme nonlinearities that the Koopman-based model fails to capture. Its performance heavily depends on the quality of training data, making it less robust to untrained disturbances. The FPID controller’s sensitivity to parameter tuning and the computational overhead of the hybrid approach could also introduce delays, impacting real-time stability. Additionally, since validation is conducted in simulation, real-world uncertainties such as sensor noise and actuator imperfections remain untested, posing potential challenges in practical deployment.
4. Virtual experiment results
This study introduces a novel data-driven control approach for managing an Inchworm robot. The simulation’s initial conditions are outlined as follows:
The desired trajectory tracking is as follows:
The fractional order parameters are as follows:
Koopman operator in Figure 4 presents a detailed regression plot analysis that illustrates the performance of the neural network model in predicting the Koopman eigenfunctions. This plot reveals a remarkably robust alignment between the eigenfunction values predicted by the neural network and the actual eigenfunction values derived from the dataset. Notably, the data points in the plot demonstrate a tight clustering around the diagonal line, which is a strong indicator of the neural network’s proficiency in accurately capturing the underlying dynamics of the system. This close adherence to the diagonal signifies that the predictions made by the neural network are close to the actual values and reflect the system’s behavior with a high degree of fidelity. Moreover, the strong linear trend observed in the plot, combined with minimal scatter among the data points, further underscores the efficacy of the neural network in estimating the Koopman operator. This indicates that the model is effectively uncovering the latent dynamics that govern the complex behavior of the system. Thus, Figure 4 serves as compelling evidence of the neural network’s success in estimating the Koopman operator, showcasing its potential to advance our understanding and analysis of intricate dynamical systems significantly. The implications of this success extend beyond mere predictive capability, suggesting that such neural network approaches could facilitate deeper insights into the behaviors of various systems, ultimately contributing to the fields of dynamical systems theory and data-driven modeling.
Mean squared error analysis for the proposed neural network.

In Figure 5, the mean square error (MSE) plot plays a pivotal role in evaluating the neural network’s performance tasked with estimating the Koopman operator. This plot meticulously charts the progression of MSE values throughout the training process, offering valuable insights into the model’s ability to minimize the error between its predictions and the actual Koopman eigenfunctions. A key aspect of the MSE plot is its trend over time. A consistent decrease in MSE values indicates that the neural network is effectively refining its predictions. This downward trajectory suggests that the model is learning to approximate better the Koopman operator, which is fundamental for understanding the dynamics of the system being analyzed. As the MSE diminishes, it reflects an improvement in the model’s performance, demonstrating its increasing capability to capture the underlying dynamics with greater accuracy. Furthermore, a low and stable MSE value during the latter stages of training is particularly significant. It implies that the model has likely converged towards a satisfactory solution, suggesting that it can reliably estimate the Koopman operator. This convergence is critical, as it indicates that the neural network has achieved a level of precision that allows it to represent the system’s dynamics effectively. In essence, Figure 5 serves as compelling evidence of the neural network’s proficiency in estimating the Koopman operator. The behavior of the MSE plot throughout the training process not only illustrates the learning journey of the model but also underscores its potential utility in dynamic systems analysis. Thus, the insights gleaned from the MSE plot are instrumental in validating the effectiveness of the neural network in this context.
The position tracking of the inchworm robot joints under the proposed controller.

Figure 6 illustrates the tracking performance of the Inchworm robot joints when utilizing the proposed control method. The results demonstrate that the KFPID controller significantly outperforms the traditional FPID controller in terms of tracking accuracy. The KFPID controller leverages a novel approach by first generating data from the nonlinear dynamic model of the Inchworm robot during its initial control loop. These data are crucial for training DNNs to identify the Koopman operator, which provides a linear representation of the robot’s dynamics. By capturing the essential features of the nonlinear system, the Koopman operator allows us to derive a linear data-driven dynamic model. Once this linear model is established, the FPID controller can be applied to it. This transition from a nonlinear to a linear model enhances the controller’s performance because linear systems are generally easier to control and analyze. The improved tracking performance observed with the KFPID controller can be attributed to its ability to effectively utilize the linear approximation of the system, thereby reducing the tracking error and enhancing responsiveness. In summary, the integration of the Koopman operator into the control strategy not only facilitates the extraction of a linear dynamic model but also enables the application of more sophisticated control techniques. This results in superior tracking performance for the Inchworm robot, highlighting the advantages of combining traditional control methods with modern data-driven approaches.
The position tracking error of the worm robot joints under the proposed controller.

Figure 7 presents the tracking error of the Inchworm robot joints when using the KFPID controller. The results indicate that the KFPID controller achieves significantly lower tracking errors compared to the traditional FPID controller. The reduced tracking error can be attributed to the KFPID controller’s ability to model the complex dynamics of the Inchworm robot more effectively. By incorporating the Koopman operator, the KFPID controller benefits from a data-driven linear representation of the system, which allows for improved control accuracy and responsiveness. This approach enables the controller to adapt more effectively to system behavior variations and external disturbances. In contrast, the FPID controller, which operates on nonlinear dynamics without the benefit of the Koopman operator, may struggle to capture the nuances of the robot’s movements, leading to higher tracking errors. The KFPID controller’s fractional-order component further enhances its ability to fine-tune the response characteristics, providing a more nuanced control that better aligns with the desired trajectory. Overall, the data presented in Figure 7 underscore the effectiveness of the proposed KFPID controller in minimizing tracking errors, thereby improving the overall performance of the Inchworm robot.
The control input signals of the inchworm robot joint under the proposed controller.

Figure 8 illustrates the control input signals generated by the proposed KFPID controller in comparison to an FPID controller. Notably, the KFPID controller exhibits significantly less control effort, which is a critical metric for evaluating controller efficiency. Control effort refers to the amount of input signal exerted by the controller to achieve desired system performance; lower values indicate a more efficient strategy. The smoother control input signals from the Koopman controller suggest a more effective operation with fewer oscillations. In contrast, the conventional FPID controller displays greater fluctuations, indicative of a more aggressive approach that can lead to increased wear on actuators and reduced energy efficiency. The incorporation of the Koopman operator allows for capturing the system’s dynamics in a higher-dimensional space, enabling better predictions and optimized control actions, ultimately reducing the need for excessive adjustments. This reduction in control effort enhances system stability and lowers the risk of overshoot and instability during disturbances or setpoint changes.
The virtual experiment depicted in Figure 9 demonstrates the locomotion of the Inchworm robot utilizing the proposed control method, executed within the Isaac Sim software environment. This simulation effectively showcases the robot’s movement dynamics, allowing for a detailed analysis of its inching motion. To begin with, the inchworm robot’s design was accurately represented through a CAD file, which was imported into Isaac Sim. This step ensured that the robot’s physical characteristics and kinematic properties were faithfully modeled, providing a solid foundation for the simulation. The simulation highlights the robot’s unique locomotion mechanism, where the coordinated contraction and extension of its segments mimic the natural movement of an inchworm. The control method implemented in this experiment allows for precise modulation of the robot’s joints and segments, enabling smooth transitions and effective ground engagement. Analyzing the results reveals several key insights. The simulation captures the incremental movements of the robot, demonstrating how each segment effectively grips and releases the surface, facilitating forward propulsion. The interaction between the robot’s body and the environment is critical, as it influences the efficiency and speed of locomotion. The proposed control method is validated through its ability to adapt the robot’s movements in real time. The software provides feedback on the robot’s performance, indicating how well the control strategy responds to different terrains and obstacles. Various performance metrics, such as speed, stability, and energy consumption, can be analyzed through the simulation data. This quantitative analysis helps assess the control method’s effectiveness and potential applications in real-world scenarios. The use of Isaac Sim allows for a rich visual representation of the robot’s motion, which can be instrumental for further development and refinement of the control algorithms. The graphical feedback can guide modifications to improve locomotion efficiency. Overall, the virtual experiment serves as a compelling demonstration of the Inchworm robot’s capabilities under the proposed control method, providing valuable insights for further research and development in robotic locomotion strategies.
The virtual experiment of the inchworm robot in Isaac SIM software.

5. Conclusion
This article introduces a novel hybrid control approach for the Inchworm robot, combining an FPID controller with a data-driven Koopman operator model. The method significantly enhances tracking performance and locomotion stability by transforming the robot’s nonlinear dynamics into a linear framework. Validation through extensive virtual experiments in NVIDIA Isaac SIM simulation software demonstrates the robustness and effectiveness of the approach. The proposed framework improves control accuracy and adaptability, and its successful validation in simulations confirms its potential for real-world applications. Future research will focus on refining the model, conducting experiments on a physical robot, and exploring its use for other robotic systems.
Author contribution
All authors contributed equally to this article.
Financial support
No financial support.
Competing interests
The authors declare no conflicts of interest exist.
Ethical approval
Not applicable.








