Preprint
Article

EMG-Based Biomechanical Cybernetic Control of an Avatar Robotic Fish

Altmetrics

Downloads

158

Views

80

Comments

0

A peer-reviewed article of this preprint also exists.

Submitted:

10 January 2024

Posted:

10 January 2024

You are already at the latest version

Alerts
Abstract
This study introduces a cybernetic control and architectural framework for a robotic fish avatar operated by a human. The behavior of the robot fish is influenced by the electromyographic (EMG) signals of the human operator, triggered by stimuli from the surrounding objects and scenery. An deep artificial neural network (ANN) with perceptrons classifies EMG signals, discerning the type of muscular stimuli generated. The research unveils a fuzzy-based oscillation patterns generator (OPG) designed to emulate functions akin to a neural central pattern generator, producing coordinated fish undulations. The OPG generates swimming behavior as an oscillation function, decoupled into coordinated step signals, right and left, for a dual electromagnetic oscillator in the fish propulsion system. Furthermore, the research presents an underactuated biorobotic mechanism of the subcarangiform type, comprising a two-solenoid electromagnetic oscillator, an antagonistic musculoskeletal elastic system of tendons, and a multi-link caudal spine composed of helical springs. The biomechanics dynamic model and control for swimming, as well as the ballasting system for submersion and buoyancy, are deduced. Experimental results encompass EMG pattern recognition, OPG, and coordinated fish locomotion, with additional topics illustrated through numerical simulations.
Keywords: 
Subject: Computer Science and Mathematics  -   Robotics

1. Introduction

Avatar robotics involves remotely controlling a robot to interact with the physical environment on behalf of a human operator, enabling them to virtually embody the robot and perform actions as if physically present. This transformative technology extends human presence to remote or hazardous locations, with applications spanning space exploration, disaster response, remote inspection, telemedicine, and diverse domains. Leveraging progress in robotics, teleoperation systems, sensory feedback interfaces, and communication networks, avatar robotics enhances human capabilities, ensures safer operations, and broadens human presence and expertise in various fields.
Furthermore, cybernetic control functions as a regulatory system utilizing feedback mechanisms to uphold stability and achieve desired outcomes. The incorporation of feedback loops is central to cybernetic control systems, continuously monitoring a system’s behavior, comparing it to a reference state, and generating corrective actions to address any deviations. This iterative feedback process facilitates self-regulation and goal attainment within the system. The application domains of cybernetic control span engineering, biology, and psychology, with the goal of enabling robots to interact with humans in more intuitive ways. This involves adapting their actions and responses based on human feedback and behavior, cultivating a more seamless and responsive human-robot interaction.
Cybernetic biorobotics, at its core, is an interdisciplinary frontier that harmonizes principles from cybernetics, biology, and robotics. Its primary mission is the exploration and development of robots or robotic systems intricately inspired by the marvels of biological organisms. This field is driven by the ambition to conceive robots capable of mimicking and integrating the sophisticated principles and behaviors observed in living entities. Researchers draw inspiration from the intricate control systems of biological organisms and this creative synthesis results in the creation of robots characterized by adaptive and intelligent behaviors, thus mirroring the intricacies found in the natural world. Bioinspired robotics, a central focus within this discipline, involves distilling the fundamental principles and behaviors intrinsic to biological entities and skillfully incorporating them into the design and control of robotic systems. It has the potential to advance the development of robots endowed with locomotion and manipulation capabilities akin to animals, as well as robots capable of adapting to dynamic environments or interacting with humans in more natural and intuitive ways. Moreover, research in cybernetic biorobotics can offer valuable insights into comprehending biological systems, fostering advancements in disciplines like neuroscience and biomechanics. Furthermore, remote cybernetic robots may rely on haptic systems as essential interfaces. A haptic system, characterized by its ability to provide users with a sense of touch or tactile feedback through force, vibration, or other mechanical means, comprises a haptic interface and a haptic rendering system. Collaboratively, these components simulate touch sensations, enabling users to engage with virtual or remote environments in a tactile manner.
This research introduces a control and sensing architecture that integrates a cybernetic scheme based on the recognition of electromyographic control signals, governing a range of locomotive behaviors in a robotic fish. Conceptually, the human operator receives feedback signals from the sensors of the bio-robotic avatar, conveying information about its remote environment. The proposed approach stands out due to its key features and contributions, which include:
  • The exposition of an innovative conceptual cybernetic fish avatar architecture.
  • The creation of an EMG data filtering algorithm, coupled with a method for extracting, classifying, and recognizing muscular patterns using a deep ANN, serves as a cybernetic interface for the governance of the fish avatar.
  • The development of a fuzzy-based oscillation patterns generator (OPG) designed to generate periodic oscillation patterns around the fish’s caudal fin. These coordinated oscillations are decoupled into right and left step functions, specifically crafted to input into a lateral pair of electromagnetic coils, thereby producing undulating swimming motions of the robot fish.
  • The conception of a bioinspired robotic fish mechanism is characterized by the incorporation of underactuated elements propelled by serial links featuring helical springs. This innovative design is empowered by a dual solenoid electromagnetic oscillator and a four-bar linkage, reflecting a novel approach to bioinspired robotics.
  • The derivation of closed-form control laws for both the undulation of the underactuated caudal multilink dynamics and the ballasting system.
Section 2 provides a comprehensive discussion on the comparative analysis of the current state of the art. Section 3 provides a detailed description of the proposed architecture cybernetic system model. In Section 4 presents an approach for filtering electromyography (EMG) data and delves into an in-depth discussion of a classifier based on deep ANN for the recognition of hand-motion EMG stimuli patterns. Section 5 presents the development of a fuzzy-based oscillation patterns generator. Section 6 details the robot’s mechanism parts and its dynamic model. Section 7 focuses on the development of a feedback control for the fish’s ballasting system. Finally, Section 8 provides the concluding remarks of the research study.

2. Analysis of the state of the art

This section syntheses the relevant literature and provides insights into the current state of the art. Further, it aims to examine and evaluate existing research and advancements in the field. This brief analysis identifies and compares different aspects, providing a comprehensive overview including relevant research and advancements in the field about methodologies, and outcomes.
Multiple basic concepts of cybernetics [1] in the intersection of physics and control theory and molecular systems were presented in [2] speed-gradient approach to modeling the dynamics of physical systems is discussed. A novel research approach namely Ethorobotics proposes the use and development of advanced bioinspired robotic replicas as a method for investigating animal behaviour [3]. In the domain of telepresence and teleoperation, diverse systems and methodologies have been devised to facilitate remote control of robots [4]. One such system is the multi-robot teleoperation system based on a brain-computer interface, as documented by [6]. This system aims to enable individuals with severe neuromuscular deficiencies to operate multiple robots solely through their brain activity, thus offering telepresence via a thought-based interaction mode. A comprehensive review addressing existing teleoperation methods and techniques for enhancing the control of mobile robots has been presented by [12]. This review critically analyzes, categorizes, and summarizes existing teleoperation methods for mobile robots while highlighting various enhancement techniques that have been employed. It makes clear the relative advantages and disadvantages associated with these methods and techniques. The field of telepresence and teleoperation robotics has witnessed substantial attention and interest over the past decade [14], finding extensive applications in healthcare, education, surveillance, disaster recovery, and corporate/government sectors. In the specific context of underwater robots, gesture recognition-based teleoperation systems have been developed to enable users to control the swimming behavior of these robots. Such systems foster direct interaction between onlookers and the robotic fish, thereby enhancing the intuitive experience of human-robot interaction. Furthermore, efforts have been made to enhance the consistency and quality of robotic fish tails through improved fabrication processes, and target tracking algorithms have been developed to enhance the tracking capabilities of these robots [11]. The work [10] developed teleoperation for remote control of a robotic fish by hand gestures recognition. It allowed direct interaction between onlookers and the biorobot. Another notable system is the assistive telepresence system employing augmented reality in conjunction with a physical robot, as detailed in the work by [7]. This system leverages an optimal non-iterative alignment solver to determine the optimally aligned pose of the 3D human model with the robot, resulting in faster computations compared to baseline solvers and delivering comparable or superior pose alignments. The review presented in [20] analyses the progress of robot skin as multimodal sensing and machine perception for sensory feedback in feeling proximity, pressure, temperature for collaborative robot applications considering immersive teleoperation and affective interaction. The work [24] reported an advanced robotic avatar system designed for immersive teleoperation, having some key functions such as human-like manipulation and communication capabilities, immersive 3D visualization and transparent force-feedback telemanipulation. Suitable human-robot collaboration in medical application has been reported [21], where force perception is augmented to human operator during needle insertion on the soft tissue. Telepresence of mobile robotic systems may incorporate remote video transmission to steer the robot by seeing through its eyes remotely. The work [22] presented an overview including social application domains. Research has been conducted on the utilization of neural circuits to contribute to limb locomotion [15] in the presence of uncertainty. By optimizing data, it showed the combination of circuits necessary for efficient locomotion. A review has also been conducted on central pattern generators (CPGs) employed for locomotion control in robots [16]. This review encompasses neurobiological observations, numerical models, and robotic applications of CPGs. The work [27] describes an extended mathematical model of the CPG supported by two neurophysiological studies: identification of a two-layered CPG neural circuitry and a specific neural model for generating different patterns. The CPG model is used as the low-level controller of a robot to generate walking patterns. Inclusion of ANN as a layer of the CPG, to produce rhythmic and non-rhythmic motion patterns. The work in [18] presented a review of bionic robotic fish, tackling major concepts on kinematics and control, learning, hydrodynamic forces and critical concepts on locomotion coordination. The research presented in [19] reviews the human manual control of devices in cybernetics using mathematical models and advances of theory and applications, from linear time-invariant modeling of stationary conditions to methods and analysis of adaptive and time-varying of cybernetics-human in control tasks. New foundations for cybernetics will emerge and impact numerous domains involving humans in manual and neuromuscular systems modeling control.
Building upon the preceding analysis regarding relevant literature, the subsequent table (Table 1) encapsulates the primary distinctions articulated in this study in relation to the most pertinent literature identified.
As delineated in Table 1, the present study introduces distinctive elements that set it apart from the recognized relevant literature. However, it is noteworthy to acknowledge that various multidisciplinary domains may exhibit commonalities. Across these diverse topics, shared elements encompass robotic avatars, teleoperation, telepresence, immersive human-robot interfaces, as well as haptic or cybernetic systems in different application domains. In this research, the fundamental principle of a robotic avatar entails controlling its swimming response to biological stimuli from the human operator. The human controller is able to gain insight into the surrounding world of the robotic fish avatar through a haptic interface. This interface allows the human operator to yield biological electromyography stimuli as the result of their visual and skin impressions (e.g. pressure, temperature, heading vibrations). The biorobotic fish generates its swimming locomotive behavior that is governed by EMG stimuli yielded in real-time in the human. Through a neuro-fuzzy controller, the neuronal part (cybernetic observer) classifies the type of human EMG reaction, and the fuzzy part determines the swimming behavior.

3. Conceptual System Architecture

This section encompasses a comprehensive framework that highlight the integration of various components to propose a cohesive cybernetic robotic model. In addition, this section outlines the key concepts and elucidates their interactions within the system.
Figure 1 presents an overview of the key components constituting the proposed system architecture. This manuscript thoroughly explores the modeling of four integral elements: i) the cybernetic human controller, employing ANN classification of EMG signals; i i ) a fuzzy-based locomotion pattern generator; i i i ) an underactuated bioinspired robot fish; and i v ) the robot’s sensory system, contributing feedback for the haptic system. While we will discuss the relevance and impact of the latter item within the architecture, it is important to note that the detailed exploration of topics related to haptic development and wearable technological devices goes beyond the scope of this paper and will be addressed in future work. Nevertheless, we deduce the observable variables that serve as crucial inputs for the haptic system.
Essentially, there are six haptic feedback sensory inputs of interest for the human, representing the observable state of the avatar robot: Eulerian variables, including angular and linear displacements and their higher-order derivatives; biomechanical caudal motion; hydraulic pressure; scenario temperature; and passive vision. Figure 2-left provides an illustration of the geometric distribution of the sensing devices.
The instrumented robot is an embodiment of the human submerged in water, featuring an undulatory swimming mechanical body imbued with muscles possessing underactuated characteristics. These features empowers the bio-robotic avatar to execute movements and swim its aquatic surroundings.
The observation models aim to provide insights into how these sensory perceptions are conveyed to the haptic helmet with haptic devices, including wheel reaction mechanism. A comprehensive schema emerges wherein the haptic nexus, bolstered by pivotal human’s biosensorial components including gravireceptors, Ruffini corpuscles, Paccinian receptors, and retinal photoreceptors, converges to interface with the sensory substrate of the human operator. Such a convergence engenders a cascading sequence wherein biological input stimuli coalesce to yield discernible encephalographic activity, the primary layer of subsequent electromyographic outputs. These consequential EMG outputs, undergo processing a swim oscillatory pattern generator, thereby embodiment control of biomechanical cybernetic governance.
In accordance with Figure 1, it is noteworthy that among the various haptic input variables such as temperature, pressure, and the visual camera images represent direct sensory measurements transmitted from the robotic fish to the components of the haptic interface. Conversely, the robotic avatar takes on the role of a thermosensory adept, in order for the human to assess the ambient thermal landscape. Thus, from this discernment, a surrogate thermal approach is projected onto the tactile realm of the human operator, through modulation of thermally responsive plates enmeshed within the haptic interface. Therefore, a crafted replica of the temperature patterns detected by the robotic aquatic entity is seamlessly integrated into the human sensory experience. This intertwining of thermal emulation is reached by the network of Ruffini corpuscles, intricately nestled within the human skin, thereby enhancing the experiential authenticity of this multisensory convergence. As for interaction through the haptic functions, the Paccinian corpuscles function as discerning receptors, proficiently registering subtle haptic pressures. It finds its origin in the dynamic tactile signals inherent to the aquatic habitat, intricately associated with the underwater depth traversed by the robotic avatar. Integral to the comprehensive sensory scheme, the optical sensors housed within the robotic entity acquires visual data. This visual data is subsequently channeled to the human’s cognition, through the haptic interface’s perceptual canvas. Within this, the human sensory apparatus assumes the role of an engaged receptor, duly transducing these visual envoys through the lattice of retinal photoreceptors.
Embedded within the robotic fish’s body, several Inertial Measurement Units (IMU) plays a pivotal role in quantifying Eulerian inclinations intrinsic to the aquatic environment. These intricate angular displacements are subsequently channeled to the human operator, thereby initiating an engagement of the reaction wheel mechanism. As a consequential outcome of this interplay, a synchronized emulation of tilting motion is induced, mirroring the nuanced cranial adjustments executed by the human operator. Any alignment of movements assumes perceptible form, relayed through the humans’s network of gravireceptors nestled within the internal auditory apparatus. The Euler angular and linear speeds are not directly measured; instead, they must be integrated using various sensor fusion approaches to enhance the avatar’s fault tolerance in reading its environment. For example, the angular observations of the robot fish are obtained through numerical integro-differential equations, which are solved online as measurements are acquired. Let’s introduce the following notation for inclinometers ( α i ) and accelerometers ( a a ), with the singular direct sensor measurement α ˙ g derived from the gyroscopes. The observation for the fish’s roll velocity combining the three inertial sensors is
ω α = d α ι d t + α g ˙ + 1 d α t a α d t ,
while the pitch velocity is modelled by
ω β = d β ι d t + β g ˙ + 1 d β t a β d t ,
and the yaw velocity is obtained by
ω γ = d γ ι d t + γ g ˙ + 1 d γ t a γ d t .
Within this context, the tangential accelerations experienced by the robot body are denoted as a α , β , γ [m/s   2 ]. Additionally, the angular velocities measured by the gyroscopes are represented by α ˙ , β ˙ , γ ˙ [rad/s   2 ]. Correspondingly, the inclinometers provide angle measurements denoted as α , β , γ [rad]. These measurements collectively contribute to the comprehensive observability and characterization of the robot’s dynamic behavior and spatial orientation.
Furthermore, the oscillations of the caudal tail are reflections of the dynamics of the underactuated spine. These dynamics are captured by quantifying encoder pulses, denoted as η t , which provide precise angular positions for each vertebra. Given that real-time angular measurements of the vertebrae are desired, higher-order data is prioritized. Consequently, derivatives are computed by initiating from the Taylor series to approximate the angle of each vertebral element with respect to time, denoted as t.
ϕ i ϕ i ( 0 ) 0 ! ( t 2 t 1 ) 0 + ϕ i ( 1 ) 1 ! ( t 2 t 1 ) 1 + ϕ i ( 2 ) 2 ! ( t 2 t 1 ) 2 +
thus, rearranging Math notation and trunking up to the first-derivative,
ϕ i ϕ i + ϕ i ( 1 ) ( t 2 t 1 ) ,
dropping ϕ i ( 1 ) off as a state variable, the first-order derivative ( ϕ ( 1 ) ( t ) ϕ ˙ ( t ) ) is given by
ϕ ˙ ( t ) = ϕ 2 ϕ 1 t 2 t 1 ,
and assuming that a vertebra’s angular measurement model and in terms of the encoder’s pulses η with resolution R, then it is stated that by substituting the pulses encoder model into the angular speed function for the first vertebra,
ϕ ˙ 1 = 2 π R ( t 2 t 1 ) η 2 2 π R ( t 2 t 1 ) η 1 = 2 π R η 2 η 1 t 2 t 1 ,
as for the second vertebra,
ϕ ˙ 2 = ϕ ˙ 1 + 2 π R η 2 η 1 t 2 t 1
ϕ ˙ 3 = ϕ ˙ 1 + ϕ ˙ 2 + 2 π R η 2 η 1 t 2 t 1
and
ϕ ˙ 4 = ϕ ˙ 1 + ϕ ˙ 2 + ϕ ˙ 3 + 2 π R η 2 η 1 t 2 t 1
The preliminary sensing models serve as a comprehensive representation, strategically integrated into the control models as crucial feedback terms. A detailed exploration of this integration is elucidated in Section 6 and Section 7.

4. Deep ANN-based EMG Data Classification

This section details the experimental acquisition of EMG data, its spatial filtering, and pattern extraction achieved through the statistical combination of linear envelopes. Additionally, an adaptive method for class separation and data dispersion reduction is described. The section also covers the structure of a deep neural network, presenting its classification output results from mapping input EMG stimuli.
The related work reported a system for automatic pattern generation for neurosimulation in [25], where a neurointerface was used as a neuro-protocol for outputting fingers deflection and nerves stimulation. In the present research, numerous experiments were carried out to pinpoint the optimal electrode placement and achieve precise electromyographic readings for each predefined movement in the experiment. The positions of the electrodes were systematically adjusted, and the results from each trial were compared. Upon data analysis, it was discerned that the most effective electrode placement is on the Ulnar nerve, situated amidst the muscles Flexor Digitorium Superficialis, Flexor Digitorium Profundus, and Flexor Carpi Ulnaris. A series of more than ten experiments was executed for each planned stimulus or action involving hands, allowing a 2s interval between each action, including the opening and closing of hands, as well as the extension and flexion of the thumb, index, middle, ring and little fingers. The data was measured by a g.MOBIlab+ device with two-channel electrodes and quantified in microvolts per second [ μ v / s ], as depicted in Figure 3.
The data acquired from the electromyogram often exhibit substantial noise attributed to both the inherent nature of the signal and external vibrational factors. To refine the data quality by mitigating this noise, a filtering process is essential.
In this context, a second-order Notch filter was utilized. This filter is tailored to target specific frequencies linked to noise, proving particularly effective in eliminating electrical interferences and other forms of stationary noise [26]. A Notch filter is a band-rejection filter to greatly reduce interference caused by a specific frequency component or a narrow band signal. Hence, in the Laplace space, the second-order filter is represented by the analog Laplace domain transfer function:
H ( s ) = s 2 + ω o 2 s 2 + 2 s ξ ω o + ω o 2 ,
where ω 0 signifies the cut angular frequency targeted for elimination, and 2 ξ signifies the damping factor or filter quality, determining the bandwidth. Consequently, solving to obtain its solution in the physical variable space. The bilinear transformation relates the variable s from the Laplace domain to the variable z k in the Z domain, considering T as the sampling period, and is defined as follows,
s 1 T z k 1 z k + 1 ,
upon substituting the previous expression into the transfer function of the analog Notch filter and algebraically simplifying, the following transfer function in the Z domain is obtained, redefining the notation as υ t = z k just to meet equivalence with the physical variable,
h ( υ t ) = 1 2 cos ( ω 0 t ) υ t 1 + υ t 2 1 2 ξ cos ( ω 0 t ) υ t 1 + ξ υ t 2 .
The 2nd-order Notch filter h ( υ ) was employed on raw EMG data to alleviate noise resulting from electrical impedance and vibrational electrode interference, with parameters set at ω 0 = 256 Hz and ξ = 0.1 and results depicted in Figure 4.
Following this, leveraging the outcomes of the Notch filter, the data undergoes processing through three distinct filters or linear envelopes. This serves as a secondary spatial filter and functions as a pattern extraction mechanism. These include a filter for average variability, one for linear variability, and another for average dispersion. Each filter serves a specific purpose, enabling the analysis of different aspects of the signal. Consider n as the number of measurements constituting a single experimental stimulus, and let N represent the entire sampled data space obtained from multiple measurements related to the same stimulus. Furthermore, denote v ^ i as the i t h EMG measurement of an upper limb, measured in microvolts ( μ V ). From such statements, the following Propositions 1, 2 and 3 are introduced as new data patterns.
Proposition 1
(Filter γ ). The γ pattern refers to a statistical linear envelope described by the difference of a local mean v ^ k in a window of samples and the statistical mean υ ^ i of all samples population an experiment.
γ ( v k ) = v ^ i 1 n k = 1 n v k .
Proposition 2
(Filter λ ). The λ ( v k ) pattern refers to an statistical linear envelope denoted by the difference of a local mean v ^ k in a window of samples and the statistical mean υ ^ i of the whole population of experiments of same type,
λ ( v k ) = v ^ i 1 N k k = 1 N k v k ^ .
Proposition 3
(filter Ω ). The Ω pattern refers to an statistical linear envelope denoted by the difference of statistical means between population of one experiment v ^ i and the whole population of numerous experiments of the same type:
Ω ( v k ) = 1 n k = 1 n v k 1 N k = 1 N v k .
Hence, let the vector δ R 3 such that δ k = ( Ω k , γ k , λ k ) and represent filtered data points in the Ω γ λ -space. This work considered to include a brief data preprocessing as a method to improve multi-class separability and data scattering reduction in pattern extraction. Three distinctive patterns— γ , λ , Ω —captivatingly converge in Figure 5. This illustration exclusively features patterns associated with sequences of muscular stimuli from both the right and left hands. For supplementary stimulus plots, refer to the appendix in Appendix A at the end of this manuscript.
From numerous laboratory experiments, over 75 % of the sampled raw data fall within the range of one standard deviation. Consider the vector σ R 3 such that the standard deviations vector σ = ( σ Ω , σ γ , σ λ ) encompasses the three spatial components by its norm.
σ = 1 N k = 1 N Ω k γ k λ k μ γ μ λ μ Ω 2 2 .
Building upon the preceding statement, we can formulate an adaptive discrimination criterion as elucidated in Definition 1.
Definition 1
(Discrimination condition). Consider the scalar value δ j as preprocessed EMG data located within a radius of magnitude κ d times the standard deviation σ :
δ j = δ k , κ d σ δ 0 , κ d σ > δ
where 0 = ( 0 , 0 , 0 ) represents discriminated data.
Hence, considering the recent Definition 1, and in the current scenario with κ d = 1.0 , which serves as a tuning discrimination factor. Therefore, the norm l h represents the distance between the frame origin and any class in the Ω γ λ -space. This distance is adaptively calculated based on the statistics of each EMG class.
l h = ( κ Ω σ Ω ) 2 + ( κ γ σ γ ) 2 + ( κ λ σ λ ) 2 2
where, the coefficients κ Ω , κ γ , κ λ are smooth adjustment parameters to set separability along axes. Hence, relocating each class center to a new position is stated by Proposition 4.
Proposition 4
(Class separability factor). New class position μ Ω , γ , λ + in the Ω γ λ -space, is established by the statistically adaptive linear relationship:
μ Ω + = μ Ω + ζ Ω l h ,
μ σ + = μ γ + ζ γ l h
and
μ λ + = μ λ + ζ λ l h .
where ζ Ω γ λ are coarse in-space separability factors. The mean values μ Ω γ λ are the actual class positions obtained from the linear envelopes Ω ( υ k ) , γ ( υ k ) and λ ( υ k ) .
Thus, by following the step-by-step method outlined earlier, Figure 6 showcases the extracted features of the EMG data, representing diverse experimental muscular stimuli. These results hold notable significance in the research, as they successfully achieve the desired class separability and data scattering, serving as crucial inputs for the multilayer ANN.
Henceforth, the focus lies in identifying and interpreting the EMG patterns projected in the γ λ Ω -space, as illustrated in Figure 6. The subsequent part of the section delve into the architecture and structure of the deep ANN employed as a classifier, providing a detailed account of the training process. Additionally, the section highlights the performance metrics and results achieved by the classifier, offering insights into its effectiveness. Despite the challenges posed by nonlinearity, multidimensionality, and extensive datasets, various neural network structures were configured and experimented with. These configurations involved exploring different combinations of hidden layers, neurons, and the number of outputs in the ANN. To achieve the highest success rate in accurate data classification through experimentation, the final ANN was designed with perceptron units, as depited in Figure 7. It featured three inputs corresponding to the three EMG patterns γ , λ , Ω and included 12 hidden layers, each with 20 neurons. The supervised training process, conducted on a standard-capability computer, took approximately 20–30 minutes, resulting in nearly 1% error in pattern classification.
However, in the initial stages of the classification computations, with some mistuned adaptive parameters, the classification error was notably higher, even with much deeper ANN structures, such as 100 hidden layers with 99 neurons per layer. To facilitate the implementation, this work utilized the C/C++ library Fast Artificial Neural Networks (FANN), generating extremely fast binary code once the ANN was trained. In the training process of this research, about 50 datasets from separate experiments for each type of muscular stimulus were collectively stored, each comprising several thousand muscular repetitions. A distinct classification label was assigned a priori for each class type within the patterns space. To demonstrate the reliability of the approach, 16 different stimuli per ANN were established for classification and recognition, resulting in the ANN having 4 combinatory outputs, each with two possible states. Figure 8 depicts mixed sequences encompassing all types of EMG stimuli, with the ANN achieving a 100% correct classification rate.
Moreover, Table 2 delineates the mapping relationship between the ANN’s input, represented by the EMG stimuli, and the ANN’s output linked to a swimming behavior for controlling the robotic avatar.

5. Fuzzy-based Oscillation patterns generator

This section delineates the methodology utilized to produce electric oscillatory signals, essential for stimulating the inputs of electromagnetic devices (solenoids) embedded within the mechanized oscillator of the bio-robotic fish. The outlined approach for generating periodic electric signals encompasses three key components: a) the implementation of a fuzzy controller; b) the incorporation of a set of periodic functions dictating angular oscillations to achieve desired behaviors in the caudal undulation of the fish; and c) the integration of a transformation model capable of adapting caudal oscillation patterns into step signals, facilitating the operation of the dual-coil electromagnetic oscillator.
Another study [28] reported a different approach, a neuro-fuzzy-topological biodynamical controller for muscular-like joint actuators. In the present research, an innovative strategy suggested for the fuzzy controller involves the combination of three distinct input fuzzy sets: the artificial neural network outputs transformed into Crisp sets, and the linear and angular velocities of the robot derived from sensor measurements. Simultaneously, the fuzzy outputs correspond to magnitudes representing the periods of time utilized to regulate the frequency and periodicity of the caudal oscillations. This comprehensive integration enables the fuzzy controller to effectively process both neural network-derived information and real-time sensor data, dynamically adjusting the temporal parameters that govern the fish’s undulatory motions.
The depiction of the outputs from the EMG pattern recognition neural network is outlined in Table 2. Each binary output in the table is linked to its respective crisp-type input fuzzy sets when represented in the decimal numerical base y C , as illustrated in Figure 9a. Moreover, Definition 2 details the parametric nature of the input sets.
Definition 2
(Input fuzzy sets). The output of the artificial neural network (ANN) corresponds to the fuzzy input, denoted as y C , and only when it falls within the crisp set C = 0 , 1 , , 15 , the membership in the crisp set is referred to as μ y ( y C ) .
μ y ( y C ) = 0 , y C C 1 , y C C .
In relation to the sensor observations of the bio-robot, the thrusting velocity v [cm/s] and angular velocity ω [rad/s] exhibit S-shaped sets modeled by Sigmoid membership functions. This modeling approach is applied consistently to both types of input variables, capturing their extreme-sided characteristics. Let μ s , f ( v ) define the sets labeled as ‘stop’and ‘fast’in relation to the thrusting velocity v are elucidated by,
μ s , f ( v ) = 1 1 + e ± v a
Likewise, for the sets designated as ‘left-fast’( l r ) and ‘right-fast’( r f ) concerning the angular velocity ω, the S-shaped sets are modeled as,
μ l f , r f ( ω ) = 1 1 + e ± v b
In addition, the rest of the sets in-between are any of the k t h Gauss membership functions (‘slow’, ‘normal’and ‘agile’), for the robot’s thrusting velocity with parametric mean-valued v ¯ and standard deviation σ v k
μ k ( v ) = e ( v ¯ v ) 2 2 σ v k 2 ,
and for its angular velocity (‘left-slow’, ‘no turn’and ‘right-slow’), with parametric mean-valued ω ¯ and standard deviation σ ω k ,
μ k ( ω ) = e ( ω ¯ v ) 2 2 σ ω k 2 ,
Therefore, the reasoning rules articulated in the inference engine have been devised by applying inputs derived from Table 2, specifically tailored to generate desired outputs that align with the oscillation periods T [s] of the fish’s undulation frequency (see Figure 10).
Definition 3
( v , ω = a n y ). For any linguistic value v, representing sensor observations of the fish’s thrusting velocity,
v = anystop or slow or normal or agile or fast.
Likewise, for any linguistic value ω, representing sensor observations of the fish’s angular velocity,
ω = anyleft-fast or left-slow or no turn or right-slow or right-fast.
Therefore, the following inference rules describe the essential robot fish swimming behavior.
  • if y C =sink and v = any or ω = any then T f , r , l = too_slow
  • if y C =buoyant and v = any or ω = any then T f , r , l = too_slow
  • if y C =gliding and v = any and ω = any then T f = slow, T r , l = too_slow
  • if y C =slow_thrust and v = any and ω = any then T f = slow, T r , l = too_slow
  • if y C =medium_thrust and v = any and ω = any then T f = normal, T r , l = too_slow
  • if y C = fast_thrust and v = any and ω = any then T f = agile, T r , l = too_slow
  • if y C =slow-right_maneuvering and v = any and ω = any then T f , l = too_slow, T r = normal
  • if y C = medium-right_maneuvering and v = any and ω = any then T f = slow, T r = agile, T l = too_slow
  • if y C =fast-right_maneuvering and v = any and ω = any then T f = normal, T r = fast, T l = too_slow
  • if y C =slow-left_maneuvering and v = any and ω = any then T f , r = too_slow, T l = n o r m a l
  • if y C =medium-left_maneuvering and v = any and ω = any then T f = slow, T r = too_slow, T l = agile
  • if y C = fast-left_maneuvering and v = any and ω = any then T f = normal, T r = too_slow, T l = fast
  • if y C =speed-up_right-turn and v = any and ω = any then T f , l = too_slow, T r = fast
  • if y C =speed-up_left-turn and v = any and ω = any then T f , r = too_slow, T l = fast
  • if y C =slow-down_right-turn and v = any and ω = any then T f , l = too_slow, T r = s l o w
  • if y=slow-down_left-turn and v = any and ω = any then T f , r = too_slow, T l = slow
Hence, the output fuzzy sets delineate the tail undulation speeds of the robot fish across the caudal oscillation period T [s], as illustrated in Figure 10. Notably, three identical output sets with distinct concurrent values correspond to the periods of three distinct periodic functions forward: (f), right (r) and left (l); as subsequently defined by equations (22a), (22b), and (22c).
The inference engine’s rules dictate the application of fuzzy operators to assess the terms involved in fuzzy decision-making. As for the thrusting velocity fuzzy sets, where v = a n y was previously established, and by applying Definition 3 the fuzzy operator is described by
μ v m a x = max μ k v μ s t o p , μ s l o w , μ n o r m a l , μ a g i l e , μ f a s t .
Likewise, the angular velocity fuzzy sets, where previously ω = a n y was stated, by applying the second part of Definition 3, the following fuzzy operator is described by
μ ω m a x = max μ k ω μ l e f t f a s t , μ l e f t s l o w , μ n o t u r n , μ r i g h t s l o w , μ r i g h t f a s t .
Therefore, according to premise ( v = a n y or ω = a n y ), the following fuzzy operator applies,
μ v , ω m a x = max μ k v ω μ v m a x , μ ω m a x
Essentially, the fuzzification process applies strictly similar for the rest of the inference rules, according to the following Proposition,
Proposition 5
(Combined rules μ i * ). The general fuzzy membership expression for the i t h inference rule that combines multiple inference propositions is
μ i * = min μ y C v ω μ y i ( y C i ) = 1 , μ k m a x ( v , ω ) .
In any Crisp set, each μ i attains a distinct value of 1, irrespective of the corresponding inference rule indexed by i. This value aligns with the i t h entry in the neural network outputs outlined in Table 2. Additionally, k represents a specific fuzzy set associated with the same input.
Executing the previously mentioned proposition, Remark Section 5 provides a demonstration of its application.
Remark 
(Proposition 5 example). Let us consider rule i = 1 , where y C 1 = sin k and either ( v = 10.0 cm/s or ω = 0.0 rad/s). Thus, articulated in the context of the resulting fuzzy operator,
μ 1 * = min μ k y C v ω μ s i n k ( y C ) , max v ω μ v , ω ( 1 , 1 ) = min μ k y C v ω 1 , 1 = 1 ,
Here, μ v ( 10.0 ) = 1 and μ ω ( 0.0 ) = 1 . Based on the earlier proposition, the resulting μ 1 * = 1 , and given that rule 1 indicates an output period T = ’too-slow’, its inverse outcome T ( μ 1 * ) = 6.0 seconds. This outcome is entirely accurate, because the fish’s swim undulation will slow down up to 6s which is the slowest period oscillation.
Moving forward, during the defuzzification process, the primary objective is to attain an inverse solution. The three output categories for periods T include ‘forward’, ‘right’, and ‘left’, all sharing identical output fuzzy sets of T (Figure 10). Nevertheless, the output fuzzy sets consist of two categories of distributions: Gauss and sigmoid distribution sets, as outlined in Definition 4. Regarding the Gauss distributions, their functional form is specified by:
Definition 4
(Output fuzzy sets). The membership functions for both extreme-sided output sets are defined as ‘fast’with μ f and ‘too slow’with μ t s , such that
μ f , t s ( T ) = 1 1 + e ± T k c k .
Here, T [s] denotes the period of time for oscillatory functions, with the slope direction determined by its sign. The parameter c represents an offset, and k is the numerical index of a specific set.
Furthermore, the membership functions for three intermediate output sets are defined as ‘agile’with μ a , ‘normal’with μ n , and ‘slow’with μ s , such that:
μ a , n , s ( T ) = e ( T ¯ k T ) 2 2 σ T k 2 ,
Here, T ¯ k represents the mean value, and σ T k denotes the standard deviation of set k, with k serving as the numeric index of a specific set.
In accordance with Definition 4, any μ k possesses a normalized membership outcome within the interval μ k [ 0 , , 1 ] . The inverse sigmoid membership function, denoted as T k R μ k , is determined by the general inverse expression:
T ( μ k ) = ln 1 μ k ± c k .
Similarly, the inverse Gaussian membership function, where T k R μ k , is defined by the inverse function:
T ( μ k ) = μ k 2 σ k 2 ln ( μ k ) 2 .
Hence, exclusively for the j t h category among the output fuzzy sets affected by the fuzzy inference rule essential for estimating the value of T, the Centroid method is employed for deffuzification through the following expression:
T f , r , l = j μ j * T j ( μ j * ) j μ j * ,
or more specifically,
T f , r , l = μ f * T ( μ f * ) + μ a * T ( μ a * ) + μ n * T ( μ n * ) + μ s * T ( μ s * ) + μ t s * ( μ t s * ) μ f * + μ a * + μ n * + μ s * + μ t s * ,
For terms T ( μ f ) and T ( μ t s ) , the inverse membership function (18) is applicable, whereas for the remaining sets in the j t h category, the inverse membership (19) is applied.
The work [29] reported a CPG model to control a robot fish’s motion in swimming and crawling, and let perform different motions influenced by sensory input from light, water, and touch sensors. Oscillators and Central Pattern Generators (CPGs) are closely related concepts. Oscillators are mathematical or physical systems exhibiting periodic behavior and are characterized by the oscillation around a stable equilibrium point (limit cycle). In the context of CPGs, these are neural networks that utilize oscillators that create positive and negative feedback loops, allowing for self-sustaining oscillations and the generation of rhythmic patterns, particularly implemented in numerous robotic systems [30]. CPGs are neural networks found in the central nervous system of animals (e.g. fish swimming [31]), that generate rhythmic patterns of motor activity and are responsible for generating and coordinating optimized [32] repetitive movements.
The present research proposes a different approach from the basic CPG model, and as a difference from other wire-driven robot fish’s motion approaches [33], this study introduces three fundamental undulation functions: forward, right-turning, and left-turning. These functions are derived from empirical measurements of the robot’s caudal fin oscillation angles. However, a distinctive behavioral undulation swim is achieved by blending these three oscillation functions, each incorporating corresponding estimation magnitudes derived from the fuzzy controller outputs. The formulation of each function involves fitting empirical data through Fourier series. As a difference from other approaches on CPG parameters adjustment[34], the preceding fuzzy outputs obtained from (21) to estimate the time periods T f , T r , T l play a pivotal role in parameterizing the time periods for the periodic oscillation functions, as outlined in Proposition 6.
Proposition 6
(Oscillation patterns function). Three fundamental caudal oscillation patterns, designed to generate swimming undulations, are introduced, each characterized by 11 pre-defined numerical coefficients. These patterns are described by amplitude functions, denoted as ψ ( ϕ , T ) , where ϕ represents oscillation angles, and the time period T is an adjustable parameter.
The undulation pattern for forward motion is provided by the following function
ψ f ( ϕ , T f ) = 0.0997 + 0.3327 cos ϕ 2 π T f 0.1297 sin ϕ 2 π T f 0.5760 cos 2 ϕ 2 π T f + 0.3701 sin 2 ϕ 2 π T f 0.1431 cos 3 ϕ 2 π T f + 0.1055 sin 3 ϕ 2 π T f 0.0870 cos 4 ϕ 2 π T f + 0.06323 sin 4 ϕ 2 π T f 0.0664 cos 5 ϕ 2 π T f 0.0664 sin 5 ϕ 2 π T f .
Likewise, the undulation pattern for right-turn motion is given by the function,
ψ r ( ϕ , T r ) = 0.3324 + 0.1915 cos ϕ 2 π T f + 0.0622 sin ϕ 2 π T + 0.4019 cos 2 ϕ 2 π T + 0.2920 sin 2 ϕ 2 π T 0.264 cos 3 ϕ 2 π T 0.3634 sin 3 ϕ 2 π T 0.0459 cos 4 ϕ 2 π T 0.1413 sin 4 ϕ 2 π T + 0.0665 sin 5 ϕ 2 π T .
Finally, the undulation pattern for left-sided turning motion is established by expression:
ψ l ( ϕ , T l ) = 0.1994 + 0.125 cos ϕ 2 π T l 0.0622 sin ϕ 2 π T l + 0.3354 cos 2 ϕ 2 π T l 0.292 sin 2 ϕ 2 π T l 0.3305 cos 3 ϕ 2 π T l + 0.3634 sin 3 ϕ 2 π T l 0.1124 cos 4 ϕ 2 π T l + 0.1413 sin 4 ϕ 2 π T l 0.0664 cos ( 5 ϕ 2 π T l ) + 0.2659 sin ( 5 ϕ 2 π T l ) .
The approaches to forward, right-turn, and left-turn based on the findings of Proposition 6 are illustrated in Figure 11. Additionally, a novel combined oscillation pattern emerges by blending these three patterns (23), each assigned distinct numerical weights through the neuro-fuzzy controller.
ψ ( ϕ , T f , T r , T l ) = ψ f ( ϕ , T f ) + ψ r ( ϕ , T r ) + ψ l ( ϕ , T l ) .
The proposed robotic mechanism features a multilink-based propulsive spine, driven by an electromagnetic oscillator composed of a pair of antagonistic solenoids that necessitate a synchronized sequence of electric pulses (see Figure 12b). The amplitudes generated by ψ ( ϕ , T f , T r , T l ) in Equation 23 essentially represent the desired undulation pattern for the robotic fish’s caudal fin. However, these oscillations are not directly suitable for the inputs of the coils. To address this, our work introduces a decomposition of ψ into two step signals centered around a stable equilibrium point (limit cycle), one for the right coil (positive with respect to the limit cycle) and another for the left coil (negative with respect to the limit cycle). The coil’s step function, either for the right-sided or left-sided coil is given by s r , l , taken the equilibrium point as their limit value ξ ,
s r , l = 0 , ψ ξ 1 , ψ > ξ
In contrast to the work presented in [35] focusing on the swimming modes and gait transition of a robotic fish, the current study, as depicted in Figure 11, introduces a distinctive context. The three oscillatory functions, ψ f , r , l , are displayed both overlapped and separated, highlighting their unique decoupled step signals. Assuming ξ = 0 for all ϕ in each case, in Figure 11a, ψ r = ψ l 0 , with T r , l 6 ; in Figure 11b, ψ f = ψ l 0 , with T f , l 6 ; and in Figure 11c, ψ f = ψ r 0 , with T f , r 6 . For a more comprehensive understanding, Figure 12b presents the electromechanical components of the caudal motion oscillator.

6. Robot Fish Biomechanical Model

This section introduces the design of the robotic fish mechanism and explores the model of the underactuated physical system to illustrate the fish undulation motions. The conceptualization of the proposed system is inspired by an underactuated structure featuring a links-based caudal spine with passive joints, utilizing helical springs to facilitate undulatory locomotion (see Figure 12a). The robotic fish structure introduces a mechanical oscillator comprising a pair of solenoids activated through coordinated sequences of step signals, as described by (24). Essentially, the electromagnetic coils generate antagonistic attraction/repulsion linear motions, translating into rhythmic oscillations within a mechanized four-bar linkage (depicted in Figure 12b). This linkage takes on the form of a trapezoid, composed of two parallel rigid links and two lateral linear springs functioning as antagonistic artificial muscles. Moreover, beneath the electromagnetic oscillator, there is a ballasting device for either submersion or buoyancy (Figure 12c). The robot’s fixed reference system consists of the X axis, which intersects the lateral sides, and the Y axis aligned with the robot’s longitudinal axis.
In Figure 12a, the electromagnetic oscillator of the robotic avatar responds to opposing coordinated sequences of step signals. The right-sided (R) and left-sided (L) solenoids counteract each other’s oscillations, generating angular moments in the trapezoid linkage (first vertebra). Both solenoids are identical, each comprising a coil and a cylindrical neodymium magnet nucleus. The trapezoid linkage, depicted in Figure 12b, experiences magnetic forces ± f o s R L at the two neodymium magnet attachments situated at a radius of r o s , resulting in two torques, τ o s and τ s , with respect to their respective rotation centers. As input forces ± f o s R L come into play, the linear muscle in its elongated state stores energy. Upon restitution contraction, this stored energy propels the rotation of the link r s , which constitutes the first vertebra of the fish.
Furthermore, the caudal musculoskeletal structure, comprising four links ( 1 , 2 , 3 , 4 ) and three passive joints ( θ 1 , θ 2 , θ 3 ), facilitates a sequential rotary motion transmitted from link 1 to link 4. This transmission is accompanied by an incremental storage of energy in each helical spring that is serially connected. Consequently, the last link (link 4) undulates with significantly greater mechanical advantage. In summary, a single electrical pulse in any coil is sufficient to induce a pronounced undulation in the swimming motion of the robot’s skeleton.
As for the ballasting control device situated beneath the floor of the electromechanical oscillator, activation occurs only when either of two possible outputs from the artificial neural network (ANN) is detected: when y C equals ’sink’ or ’buoyancy.’ However, the fuzzy nature of these inputs results in a gradual slowing down of the fish’s undulation to its minimum speed. Additionally, both actions are independently regulated by a dedicated feedback controller overseeing the ballasting device.
Now, assuming knowledge of the input train of electrical step signals s r , l applied to the coils, let us derive the dynamic model of the biorobot, starting from the electromagnetic oscillator and extending to the motion transmitted to the last caudal link. Thus, as illustrated in Figure 12ab, the force f [N] of the solenoid’s magnetic field oscillator is established on either side (right, denoted as R, or left, denoted as L),
f = B 2 A 2 μ o ,
in this context, A [m   2 ] represents the area of the solenoid’s pole. The symbol μ o denotes the magnetic permeability of air, expressed as μ o = 4 π × 10 7 H/m (henries per meter). Hence, the magnetic field B (measured in Teslas) at one extreme of a solenoid is approximated by:
B = μ o i N l ,
where i represents the coil current [A], N is the number of wire turns in a coil, and l denotes the coil length [m]. Furthermore, a coil’s current is described by the following linear differential equation as a function of time t (in seconds), taking into account a potential difference v (in volts):
i = 1 L 0 T v d t + i 0 ,
here, L represents the coil’s inductance (measured in henries, H) with an initial current condition denoted as i 0 . Additionally, the coil’s induction model is formulated by:
L = μ o N 2 A l .
In essence, this study states that both lateral solenoids exhibit linear motion characterized by an oscillator force f o s . This force is expressed as:
f o s = i 2 A l 2 μ o N 2 A
and due to the linear impacts of solenoids at both sides R and L (refer to Figure 12a), the first bar of the oscillator mechanism generates a torque, expressed as:
τ o s = ( f o s ) ( r o s ) ,
it is theorized that the restitution/elongation force along the muscle is denoted as f m (R or L), with this force being transmitted from the electromechanical oscillator to the antagonistic muscle in the opposite direction (refer to Figure 12b). This implies that the force generated from the linear motion solenoid in the oscillator’s right-sided coil, denoted as f o s R , is applied at point R and subsequently reflected towards point L with an opposite direction, represented as f o s L . Similarly, conversely from the oscillator’s left-sided solenoid, the force f o s L is applied at point L and transmitted to point R as f o s L . For f o s L applied in L,
f m R = f o s L cos ( α R ) ; f m L = f o s R sin ( α L ) ,
Hence, the angles α R , L assume significance as the forces acting along the muscles f m differ, resulting in distinct instant elongations x m ( t ) . Consequently, the four-bar trapezoid-shaped oscillator mechanism manifests diverse inner angles, namely θ 1 , 2 , β , and γ 1 , 2 as illustrated in Figure 12b.
Thus, prior to deriving an analytical solution for α , it is imperative to formulate a theoretical model for the muscle. In this study, a Hill’s model is adopted, as depicted in Figure 12a (on the right side). The model incorporates a serial element SE (overdamped), a contractile element CE (critically damped), and a parallel element PE (critically damped), each representing distinct spring-mass-damper systems.
The generalized model for the antagonistic muscle is conceptualized in terms of the restitution force, and it is expressed as:
f m = f S E ( f C E + f P E ) ,
Therefore, by postulating an equivalent restitution/elongation mass m w associated with instantaneous weight-force loads w (such as due to hydrodynamic flows), the preceding model is replaced with Newton’s second law of motion,
f m = m w x ¨ S E m w x ¨ C E m w x ¨ P E .
Furthermore, through the independent solution of each element within the system in terms of elongations, the SE model can be expressed as:
x S E ( t ) = s 1 e λ 1 t + s 2 e λ 2 t ,
Here, s 1 , 2 represent arbitrary constants representing damping amplitude. The terms λ 1 , 2 denote the root factors,
λ 1 , 2 = c S E m w ± ( c S E m w ) 2 4 k S E m w 2 2
Here, the factors λ 1 , 2 are expressed in relation to the damping coefficient c S E (in kg/s) and the elasticity coefficient k S E (in kg/s²).
Similarly, for the contractile element CE, its elongation is determined by:
x C E ( t ) = ( c 1 + c 2 t ) e c C E m w t ,
With amplitude factors c 1 , 2 and damping coefficient c C E , a similar expression is obtained for the parallel element PE:
x P E ( t ) = ( p 1 + p 2 t ) e c P E m w t ,
with amplitude factors p 1 , 2 and damping coefficient c P E , the next step involves substituting these functional forms into the general muscle model,
f m ( t ) = m w d 2 d t 2 x S E ( t ) + d 2 d t 2 x C E ( t ) + d 2 d t 2 x P E ( t )
such that the complete muscle’s force model f m formulated by
f m ( t ) = s 1 λ 1 2 m w e λ 1 t + s 2 λ 2 2 m w e λ 2 t + c 1 c C E 2 m w e c m w t c 2 c C E e c m w t c 2 c C E e c m w t + c 2 c C E 2 m w t e c m t + p 1 c P E 2 m w e c m w t p 2 c P E e c m w t p 2 c P E e c m w t + p 2 ( c P E 2 m w ) t e c m w t .
Subsequently, simplifying the preceding expression leads to the formulation presented in Proposition 7.
Proposition 7
(Muscles force model). The solution to the muscle force model, based on a Hill’s approach, is derived as a time-dependent function f m ( t ) encompassing its three constituent elements (serial, contractile, and parallel). This formulation is expressed as:
f m ( t ) = s 1 λ 1 2 e λ 1 t + s 2 λ 2 2 e λ 2 t m w + c 1 + c 2 t m w c C E 2 c 2 c C E e c C E m w t + p 1 + p 2 t m w c P E 2 p 2 c P E e c P E m w t .
Thus, without loss of generality, considering a muscle model characterized by elongation x m and a force-based model f m , we proceed to derive the passive angles of the oscillator and the output forces f x and f y for 1 .
Under initial conditions, the trapezoid oscillator bars are assumed to have θ 0 = 0 o , aligning the four-bar mechanism with the X axis. As the bars rotate by an angle θ 1 due to solenoid impacts at points R or L, the input bar of the oscillator with a radius of r o s undergoes an arc displacement s 1 . Simultaneously, the output bar of shorter radius r s experiences a displacement rate of s 2 , such that:
s 2 = r S r o s s 1 .
the arc displacement at points R or L is given by s 1 = r o s θ o s . Consequently, the rotation angle of the input oscillator is expressed as:
θ o s = s 1 r o s .
Therefore, by formulating this relationship in the context of forces and subsequently substituting the newly introduced functions, the resulting expression is
θ o s = 1 r o s t y ¨ d t 2
Here, y ¨ denotes the linear acceleration of either point R or L along the robot’s Y axis. By replacing the solenoid’s mass-force formulation,
θ o s = 1 m r o s t f o s d t 2 = f t 2 2 m r o s .
Hence, the functional expression for s 1 takes the form
s 2 = r s f o s t 2 2 m r o s 2 .
Without loss of generality, the inner angle θ 1 of the oscillator mechanism (refer to Figure 12b) is derived as:
θ 1 = π 2 ± θ o s .
Initially, when the oscillator bars are aligned with respect to the X axis, an angular displacement denoted by θ 1 occurs as a result of the transfer of motion from the solenoid’s tangential linear motion to the input bar. Similarly, in the output bar, the corresponding angular displacement is represented by θ 2 ,
θ 2 = π ± ( θ + Δ θ ) ,
here, Δ θ signifies a minute variation resulting from motion perturbation along the various links of the caudal spine. The selection of the ± operator depends on the robot’s side, whether it is denoted as R or L. As part of the analysis strategy, the four-bar oscillator was geometrically simplified to half a trapezoid for the purpose of streamlining deductions (refer to Figure 12b). Within this reduced mechanism, two triangles emerge. One triangle is defined by the parameters r o s , , d, while the other is characterized by x m ( t ) , , r s , where serves as the hypotenuse and the sides d, r o s , and r s remain constant. Consequently, the instantaneous length of the hypotenuse is deduced as follows:
2 = r o s 2 + d 2 2 d r o s cos ( θ 1 ) ,
Upon determining the value of , the inner angle γ 1 can be derived as follows:
r o s 2 = d 2 + 2 2 d cos ( γ 1 )
Therefore, by isolating γ 1 ,
γ 1 = arccos r o s 2 d 2 2 d d .
Until this point, given the knowledge of γ 1 and θ 2 , it is feasible to determine the inner complementary angle γ 2 through the following process:
γ 2 = θ 2 γ 1 ,
Subsequently, the angle formed by the artificial muscle and the output bar can be established according to the following principle:
sin ( γ 2 ) x m = sin ( β ) ,
thus, the inner angle β is
β = arcsin x m sin ( γ 2 ) ,
or alternatively, an approximation of the muscle length is
x m = sin ( γ 2 ) sin β ,
this is the mechanism through which the input bar transmits a force f m 1 , as defined in expression (31), from the tangent f o s to the output bar, achieving a mechanical advantage denoted as f m 2 ,
f m 2 = r o s r s f m 1 .
Hence, in accordance with the earlier stipulation in expression (31), Definition 5 delineates the instantaneous angles α R , L .
Definition 5
(Angles α R , L ). The instantaneous angle α, expressed as a function of the inner angles of the oscillator, is introduced by:
α R , L = β R , L θ 1 R , L .
It is noteworthy that, owing to the inertial system of the robot, the longitudinal force output component f y aligns with the input force f o s in direction. Consequently, for a right-sided force, we have α R β R θ 1 R , where:
f x R = r o s r s f o s L sin ( α R ) cos ( α R )
and
f y R = r o s r s f o s R .
Likewise, for the left-sided α L β L θ 1 L ,
f x L = r o s r s f o s R sin ( α L ) cos ( α L )
as well as
f y L = r o s r s f o s L .
In this scenario, an inverse solution is only applicable for f x R , L , with no necessity for determining f y R , L . Consequently, the mechanical advantage transferred between the input and output bars can be expressed by a simplified coefficient.
κ r o s r s .
Furthermore, through the utilization of the following trigonometric identity,
sin ( β θ 1 ) cos ( β θ 1 ) tan ( β θ 1 )
can substitute and streamline the ensuing system of nonlinear equations by solving them simultaneously. Additionally, let θ 1 be defined as:
θ 1 R , L = π 2 ± r s f o s R , L t 2 2 m r o s 2 .
Hence, the simultaneous nonlinear system is explicitly presented solely for the force components along the X axis:
f x R = κ f o s L tan ( β R θ 1 R )
and
f x L = κ f o s R tan ( β L θ 1 L ) .
Therefore, for the numerical solution of the system, a multidimensional Newton-Raphson approach is employed as outlined in the provided solution:
β R t + 1 = β R t f x R f x L β L f x L f x L β L f x R β R f x L β L f x R β L f x L β R
and
β L t + 1 = β L t f x L f x R β R f x R f x L β R f x R β R f x L β L f x R β L f x L β R .
Thus, by defining all derivative terms to finalize the system,
f x R β R = κ f o s R θ 1 R cos 2 ( β R θ 1 R ) ,
f x R β L = 0 ,
f x L β R = 0 ,
f x L β L = κ f o s L θ 1 L cos 2 ( β L θ 1 L ) .
Therefore, by subsequently organizing and algebraically simplifying,
β R t + 1 = β R t f x R f x L β L f x R β R f x L β L = β R t + tan ( β R θ 1 R ) cos 2 ( β R θ 1 R ) θ 1 R
and
β L t + 1 = β L t f x L f x R β R f x R β R f x L β L = β L t + tan ( β L θ 1 L ) cos 2 ( β L θ 1 L ) θ 1 L .
The objective is to achieve numerical proximity, aiming for β t + 1 β t . Consequently, through this inverse solution, the lateral force components of the first spinal link, denoted by f x , are intended to be estimated because they are perpendicular to the links and produce the angular moments at each passive joint.
f x = f x R f x L = κ · f o s L tan β R t + 1 π 2 + r s f o s L t 2 2 m r o s 2 f o s R tan β L t + 1 π 2 r s f o s R t 2 2 m r o s 2 .
Thus, given that the torque of the trapezoid’s second bar is τ s = f s r s (see Figure 12b), we establish a torque-angular moment equivalence, denoted as τ s M 1 . Leveraging this equivalence and the prior understanding of the torque τ s acting on the second bar of the trapezoid, mechanically connected to the first link 1 , we affirm their shared angular moment. Consequently, the general expression for the tangential force f k applied at the end of each link k is:
f k = M k k .
Yet, considering the angular moment M k for each helical-spring joint, supporting the mass of the successive links, let’s introduce equivalent inertial moments, starting with I ε 1 = I 1 + I 2 + I 3 + I 4 . Subsequently, we define I ε 2 = I 2 + I 3 + I 4 , I ε 3 = I 3 + I 4 , and finally, I 4 . Thus, in the continuum of the caudal spine, the transmission of energy to each link is contingent upon the preceding joints, as established by:
M 1 = I ε 1 θ 1 ¨ , M 2 = I ε 2 θ 2 ¨ , M 3 = I ε 3 θ 3 ¨ , M 4 = I 4 θ 4 ¨ .
Each helical spring, connecting pairs of vertebrae, undergoes an input force f = k x , directly proportional to the angular spring deformation indicated by elongation x. Here, k [kg m   2 /s   2 ] represents the stiffness coefficient. External forces result in an angular moment, given by τ = k θ , where torque serves as an equivalent variable to angular momentum, such that I α = k θ . Consequently, when expressing the formula as a linear second-order differential equation, we have:
θ ¨ + k I θ = θ ¨ L k .
Here, θ ¨ L k represents undulatory accelerations arising from external loads or residual motions along the successive caudal links, which are detectable through encoders and IMUs. Assuming an angular frequency ω 2 = k / I , a period p = 2 π I / k , and moments of inertia expressed as I k = r k 2 m k , the general equation is formulated as follows:
M k = I ε k θ ¨ k ,
where θ ¨ k is replaced by the helical spring expression (69) to derive
M k = I ε k θ ¨ L k k k I ε k .
By algebraically extending, omitting terms, and rearranging for all links in the caudal spine, we arrive at the following matrix-form equation:
M 1 M 2 M 3 M 4 = I ε 1 0 0 0 0 I ε 2 0 0 0 0 I ε 3 0 0 0 0 I ε 4 · θ ¨ L 1 θ ¨ L 2 θ ¨ L 3 θ ¨ L 4 k 1 θ 1 k 2 θ 2 k 3 θ 3 k 4 θ 4 .
Hence, in accordance to expression (67), the tangential forces exerted on all the caudal links of the robotic fish are delineated by the following expression:
f l 1 f l 2 f l 3 f l 4 = I ε 1 1 0 0 0 0 I ε 2 2 0 0 0 0 I ε 3 3 0 0 0 0 I ε 4 4 · θ ¨ L 1 θ ¨ L 2 θ ¨ L 3 θ ¨ L 4 k 1 1 0 0 0 0 k 2 2 0 0 0 0 k 3 3 0 0 0 0 k 4 4 · θ 1 θ 2 θ 3 θ 4
Alternatively, the last expression can be denoted as the following control law:
f = M θ ¨ L Q θ t M ( θ ˙ t t 1 θ ˙ t t 1 ) t 2 t 1 Q θ t ,
Where f = ( f l 1 , f l 2 , f l 3 , f l 4 ) , M represents masses dispersion, and θ ¨ = ( θ ¨ L 1 , θ ¨ L 2 , θ ¨ L 3 , θ ¨ L 4 ) denotes the vector of angular accelerations for the caudal vertebrae, including external loads. Additionally, Q stands for the matrix of stiffness coefficients. Therefore, the inverse dynamics control law, presented in a recursive form, is:
θ ˙ L t + 1 = θ ˙ L t + M 1 t 2 t 1 f + Q θ t .
Finally, for feedback control, both equations are simultaneously employed within a computational recursive scheme, and angular observations are frequently derived from sensors on both joints: encoders and IMUs.

7. Ballasting Control System

This section delineates the integration of the ballasting control system, crafted to complement the primary structure of the biorobot. It introduces the ballasting model-based control system, selectively activated in response to the artificial neural network’s (ANN) output, particularly triggered when the ANN signals ’sink’ or ’buoyancy.’ Figure 13a visually depicts the biorobot’s ballasting system, while Figure 13b presents a diagram illustrating the fundamental components of the hydraulic piston, crucial for control modeling.
The core operational functions of the ballasting device involve either filling its container chamber with water to achieve submergence or expelling water from the container to attain buoyancy. Both actions entail the application of a linear force for manipulating a plunger or hydraulic cylindrical piston, thereby controlling water flow through either suction or exertion. Consequently, the volume of the liquid mass fluctuates over time, contingent upon a control reference or desired level marked as H, along with quantifying a filling rate u ( t ) and measuring the actual liquid level h ( t ) .
Hence, we can characterize the filling rate u ( t ) as the change in volume V with respect to time, expressed as
d V ( t ) d t = u ( t ) ,
and assuming a cylindrical plunger-chamber with radius r and area A = π r 2 , the volume is expressed as
V ( t ) = A h ( t ) ,
Here, h ( t ) represents the actual position of the plunger due to the incoming hydraulic mass volume. Consequently, the filling rate can also be expressed as
u ( t ) = k ( H h ( t ) ) .
Consider k as an adjustment coefficient, and let H be the reference or desired filling level. The instantaneous longitudinal filling level is denoted as h ( t ) . By substituting the previous expressions into the initial equation (76), we derive the following first-order linear differential equation:
A d h ( t ) d t = k ( H h ( t ) ) .
To solve the aforementioned equation, we employ the integrating factor method, such that
h ˙ ( t ) + k A h ( t ) = k A H .
In this instance, the integrating factor is determined as follows:
μ ( t ) = e k A d t = e k t A .
Thus, by applying the integrating factor, we effectively reduce the order of derivatives in the subsequent steps,
e k t A h ˙ ( t ) + e k t A k A h ( t ) = k A H e k t A ,
Through algebraic simplification of the left side of the aforementioned expression, the following result is determined
h ( t ) e k t A = k A H e k t A .
Following this, by integrating both sides of the equation with respect to time,
t h ( t ) e k t A d t = t k A H e k t A d t ,
where the expression on the left side undergoes a transformation into
h ( t ) e k t A = k A H t e k t A d t ,
and the right side of the equation, once solved, transforms into
h ( t ) e k t A = H e k t A + c .
Now, to obtain the solution for h ( t ) , it is isolated by rearranging the term e k t A :
h ( t ) = H + c e k t A
For initial conditions where h ( t 0 ) = 0 indicates the plunger is completely inside the contained chamber at the initial time t 0 = 0 s, the integration constant c is determined as
0 = H + c e 0 .
Therefore, the value of c takes on c = H , and substituting it into the previous obtained solution,
h ( t ) = H ( 1 e k t A ) .
In addition, considering that the required force of the piston f e is hence given by:
f e = m ( t ) d v d t + f k + ρ a A ,
where f k is the friction force of the piston in the cylindrical piston, and ρ a A refers to the water pressure at that depth over the piston’s entry area. The instantaneous mass considers the piston’s mass m e and the liquid mass of the incoming water m a :
m ( t ) = m e + m a ,
where the water density is δ a = m a V a and V a = π r 2 h ( t ) , thus completing the mass model:
m ( t ) = m e + δ a π r 2 H ( 1 e k t A ) .
Therefore, the force required to pull/push the plunge device is stated by the control law given as
f e = m e + δ a π r 2 H ( 1 e k t A ) d v d t + f k + ρ a A .

8. Conclusion and future work

In summary, this study introduces a cybernetic control approach integrating electromyography, haptic feedback, and an underactuated bio-robotic avatar fish. Human operators control the avatar fish using their muscular stimuli, eliminating the need for handheld apparatus. The incorporation of fuzzy control, combining EMG stimuli with motion sensor observations, has proven highly versatile in influencing the decision-making process governing the fish’s swimming behavior.
The implementation of a deep neural network achieved remarkable accuracy, surpassing 98%, in recognizing sixteen distinct electromyographic gestures. This underscores the system’s robustness, effectively translating human intentions into precise control commands for the underactuated robotic fish.
This manuscript reports results from experimental EMG data classification and recognition using a multilayered artificial neural network. The oscillation pattern generator provided real signals to an experimental prototype of the underactuated robotic fish with its electromagnetic oscillator. Additionally, the fuzzy controller and the fish’s dynamical control model were validated through computer simulations.
While the introduction of haptic feedback and interface is conceptual in the proposed architecture, it represents a promising avenue for future research, aiming to enhance remote operation with immersive experiences. The advancements showcased in this work hold significant potential for future applications in underwater exploration through immersive cybernetic control.

Author Contributions

Conceptualization, E.A.M.G.; project administration, E.A.M.G.; supervision, E.A.M.G., R.T.C.; writing original draft preparation, E.A.M.G.; Data curation, M.A.M.M.; investigation, M.A.M.M. and E.A.M.G.; methodology, M.A.M.M., R.T.C. and E.A.M.G.; software, M.A.M.M.; formal analysis, M.A.M.M and E.A.M.G.; writing—review and editing, E.A.M.G. and E.M.; validation E.A.M.G. and E.M.; visualization, M.A.M.M., E.A.M.G. and E.M.All authors have read and agreed to the published version of the manuscript.

Funding

This research was partially funded by Consejo Nacional de Humanidades Ciencias y Tenologías (CONAHCYT) scholarship grant number 2022-000018-02NACF for CVU 1237846.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Acknowledgments

The corresponding author acknowledges the support of Laboratorio de Robótica. The third author acknowledge the support of the Kazan Federal University Strategic Academic Leadership Program (‘PRIORITY-2030’).

Conflicts of Interest

The corresponding author asserts that they served as the guest editor for the Special Issue of the journal, emphasizing their lack of influence on the blind peer-review process or the final decision on the manuscript. Additionally, the authors declare that there are no conflicts of interest.

Appendix A. EMG stimuli patterns

Figure A1. Thumbs pattern space components: filters γ , λ and Ω .
Figure A1. Thumbs pattern space components: filters γ , λ and Ω .
Preprints 95991 g0a1
Figure A2. Indexes pattern space components: filters γ , λ and Ω .
Figure A2. Indexes pattern space components: filters γ , λ and Ω .
Preprints 95991 g0a2
Figure A3. Middle fingers pattern space components: filters γ , λ and Ω .
Figure A3. Middle fingers pattern space components: filters γ , λ and Ω .
Preprints 95991 g0a3
Figure A4. Ring fingers pattern space components: filters γ , λ and Ω .
Figure A4. Ring fingers pattern space components: filters γ , λ and Ω .
Preprints 95991 g0a4
Figure A5. Little fingers pattern space components: filters γ , λ and Ω .
Figure A5. Little fingers pattern space components: filters γ , λ and Ω .
Preprints 95991 g0a5

References

  1. Beer, S. What is cybernetics? Kybernetes 2002, 31(2), 209–219. [Google Scholar] [CrossRef]
  2. Fradkov, A.L. Application of cybernetic methods in physics. Physics-Uspekhi 2005, 48, 103. [Google Scholar] [CrossRef]
  3. Romano, D., Benelli, G., Kavallieratos, N. G., Athanassiou, C. G., Canale, A., Stefanini, C. Beetle-robot hybrid interaction: sex, lateralization and mating experience modulate behavioural responses to robotic cues in the larger grain borer Prostephanus truncatus (Horn). Biological Cybernetics 2020, 473–483. [CrossRef]
  4. Park, S., Jung Y., Bae J. An interactive and intuitive control interface for a tele-operated robot (AVATAR) system. Mechatronics 2018, 55, 54–62. [CrossRef]
  5. Kastalskiy, I., Mironov, V., Lobov, S., Krilova, N., Pimashkin, A., Kazantsev, V. A Neuromuscular Interface for Robotic Devices Control. Comp. and Math Meth in Med 2018, 8948145. [CrossRef]
  6. Escolano, Antelis J. M., C., Minguez, J. A telepresence mobile robot controlled with a noninvasive brain–computer interface. IEEE Trans. on Sys, Man, and Cyber, Part B (Cybernetics) 2011, 8, 793–804. [Google Scholar]
  7. An Avatar Robot Overlaid with the 3D Human Model of a Remote Operator. Available online: https://arxiv.org/abs/2303.02546 (accessed on 14 Sep 2023).
  8. Hirotaka Osawa ,Taichi Sono, Tele-Nininbaori: Intentional Harmonization in Cybernetic Avatar with Simultaneous Operation by Two-persons, HAI’21: Proc. of the 9th Intl Conf on Hum-Agent Inter, Nov 2021 235–240.
  9. De la Rosa, S., Lubkull, M., Stephan, S., Saulton A., Meilinger, T., Bülthoff, H., Cañal-Bruland, R. Motor planning and control: Humans interact faster with a human than a robot avatar. J. of Vision 2015, 15. [Google Scholar]
  10. Mi, J., Sun, Y., Wang, Y., Deng, Z., Li, L., Zhang, J., Xie, G. (2016). Gesture recognition based teleoperation framework of robotic fish. In 2016 IEEE Intl. Conf. on Robot and Biomim (pp. 1-6).
  11. Williamson, R. MIT SoFi: A Study in Fabrication, Target Tracking, and Control of Soft Robotic Fish. Undergraduate, Massachusetts Institute of Technology, Feb 2022.
  12. Moniruzzaman, M., Rassau, A., Chai, D., Islam, S. M. Teleoperation methods and enhancement techniques for Mobile Robots: A comprehensive survey. Robotics and Autonomous Systems 2022, 150, 103973. [Google Scholar] [CrossRef]
  13. Masahiko Inami, Daisuke Uriu, Zendai Kashino, Shigeo Yoshida, Hiroto Saito, Azumi Maekawa, Michiteru Kitazaki, Cyborgs, Human Augmentation, Cybernetics, and JIZAI Body, AHs 2022: Augmented Humans, 230-242, 2022.
  14. A perspective on robotic telepresence and teleoperation using cognition: Are we there yet?. Available on: https://arxiv.org/abs/2203.02959 (Accessed on 10 Aug 2023).
  15. Ryu, H. X. , Kuo, A. D. An optimality principle for locomotor central pattern generators. Scientific Reports 2021, 11(1), 13140. [Google Scholar] [CrossRef]
  16. Ijspeert, A. J. Central pattern generators for locomotion control in animals and robots: A Review. Neural Networks 2008, 21(4), 642–653. [Google Scholar] [CrossRef]
  17. Wang, G., Chen, X., Han, S. Central pattern generator and feedforward neural network-based self-adaptive gait control for a crab-like robot locomoting on complex terrain under two reflex mechanisms. Intl. J. of Adv Robot Sys 2017, 14. SAGE Journals.. [Google Scholar]
  18. Yu, J., Wang, M., Dong, H., Zhang, Y., Wu, Z. Motion Control and Motion Coordination of Bionic Robotic Fish: A Review. J. of Bio Eng 2018, 15, 579–598. [Google Scholar] [CrossRef]
  19. Mulder, M., Pool, D.M., Abbink, D.A., Boer, E.R., Zaal, P.M.T., Drop, F.M., El, K., Van Paassen, M.M. Manual Control Cybernetics: State-of-the-Art and Current Trends. IEEE Tran. on Hum-Mach Sys 2017, 48, 1–18. [Google Scholar]
  20. Pang, G., Yang, G., Pang, Z. Review of Robot Skin: A Potential Enabler for Safe Collaboration, Immersive Teleoperation, and Affective Interaction of Future Collaborative Robots. IEEE Trans. on Med Robot and Bion 2021, 3, 681–700. [Google Scholar] [CrossRef]
  21. Li, H., Nie, X., Duan, D., Li, Y., Zhang, J., Zhou, M., Magid, E. An Admittance-Controlled Amplified Force Tracking Scheme for Collaborative Lumbar Puncture Surgical Robot System. Intl. J. of Med Robot and Comp Assis Surg 2022, 18, e2428. [Google Scholar]
  22. Kristoffersson, A., Coradeschi, S., Loutfi, A.A. Review of Mobile Robotic Telepresence. Adv in Hum-Comp Inter 2013, 902316. [Google Scholar]
  23. Aymerich-Franch, L. , Petit, D., Ganesh, G., Kheddar, A. Object Touch by a Humanoid Robot Avatar Induces Haptic Sensation in the Real Hand. J. of Comp-Medi Comm 2017, 22, 215–230. [Google Scholar]
  24. Schwarz, M.; Lenz, C.; Rochow, A.; Schreiber, M.; Behnke, S. NimbRo avatar: interactive immersive telepresence with force-feedback telemanipulation, In Proc. of IEEE/RSJ Intl. Conf. on Intelligent Robots and Systems, Praque Czech Republic, 27 Sep - 1 Oct 2021.
  25. Talanov, M.; Suleimanova, A.; Leukhin, A.; Mikhailova, Y.; Toschev, A.; Militskova, A.; Lavrov, I.; Magid, E. Neurointerface implemented with Oscillator Motifs, In Proceedings of the IEEE Intl. Conf. on Int Rob and Sys, Prague Czech Republic, 27 Sep - 1 Oct 2021; pp. 4150–4155. [Google Scholar]
  26. Ladrova, M. , Martinek, R., Nedoma, J., Fajkus, M. Methods of Power Line Interference Elimination in EMG Signals. Trans Tech Publications 2019, 40, 64–70. [Google Scholar]
  27. Nassour, J. , Henaff, P., Ouezdou, F.B., Cheng, G. Multi-layered multi-pattern CPG for adaptive locomotion of humanoid robots. Biological Cybernetics 2014, 108, 291–303. [Google Scholar] [CrossRef]
  28. Ivancevic, V. , Beagley, N. Brain-like functor control machine for general humanoid biodynamics. Intl. J. of Math and Math Sci 2005, 171485. [Google Scholar]
  29. Crespi, A. , Lachat, D. , Pasquier, A., Ijspeert, A.J. Controlling swimming and crawling in a fish robot using a central pattern generator, Auton Robot 2008, 25, 3–13. [Google Scholar]
  30. Pattern Generators for the control of robotic systems. Available online: https://doi.org/10.48550/arXiv.1509.02417 (accessed on 26 Dec 2023). [CrossRef]
  31. Uematsu, K. Central nervous system underlying fish swimming [A review]. In Bio-mechanisms of Swimming and Flying; Kato, N., Kamimura, S., Eds.; Springer: Tokyo, Japan, 2008; pp. 103–116. [Google Scholar]
  32. Ki-In, N.; Chang-Soo, P.; In-Bae, J.; Seungbeom, H.; Jong-Hwan, K. Locomotion generator for robotic fish using an evolutionary optimized central pattern generator. Proceedings of IEEE Intl. Conf. on Rob and Biom, Tianjin, China, 14-18 Dec 2010. [Google Scholar]
  33. Xie, F.; Zhong, Y.; Kwok, M.F.; Du, R. Central Pattern Generator Based Control of a Wire-driven Robot Fish. Proceedings of IEEE Intl Conf on Inf and Autom, Wuyishan, China, 11-13 Aug 2018; pp. 475–480. [Google Scholar]
  34. Wang, M.; Yu, J.; Tan, M. Parameter Design for a Central Pattern Generator Based Locomotion Controller. In Proceedings of the ICIRA 2008, Wuhan, China, 15-17 Oct 2008; pp. 352–361. [Google Scholar]
  35. Wang, W.; Guo, J.; Wang, Z.; Xie, G. Neural controller for swimming modes and gait transition on an ostraciiform fish robot. Proceedings of IEEE/ASME Intl Conf on Adv Intel Mecha, Wollongong NSW, Australia, 09-12 Jul 2013; pp. 1564–1569. [Google Scholar]
Figure 1. Cybernetic robotic avatar system architecture.
Figure 1. Cybernetic robotic avatar system architecture.
Preprints 95991 g001
Figure 2. Robot’s underactuated mechanisms and sensory system onboard.
Figure 2. Robot’s underactuated mechanisms and sensory system onboard.
Preprints 95991 g002
Figure 3. Experimental raw EMG data (from left to right): a) Left and right hand, left and right thumb. b Left and right index, left and right middle. c) Left and right ring, left and right little.
Figure 3. Experimental raw EMG data (from left to right): a) Left and right hand, left and right thumb. b Left and right index, left and right middle. c) Left and right ring, left and right little.
Preprints 95991 g003
Figure 4. Notch filtered EMG showing one period. a) right thumb. b) right index. c) right middle.
Figure 4. Notch filtered EMG showing one period. a) right thumb. b) right index. c) right middle.
Preprints 95991 g004
Figure 5. Hands pattern space components: filters γ , λ and Ω .
Figure 5. Hands pattern space components: filters γ , λ and Ω .
Preprints 95991 g005
Figure 6. EMG stimuli pattern space ( γ , λ , Ω ). (a) Left hand classes. (b) Right hand classes.
Figure 6. EMG stimuli pattern space ( γ , λ , Ω ). (a) Left hand classes. (b) Right hand classes.
Preprints 95991 g006
Figure 7. Multi-layered ANN for EMG patterns recognition.
Figure 7. Multi-layered ANN for EMG patterns recognition.
Preprints 95991 g007
Figure 8. Sequence of mixed EMG stimuli overtime and ANN’s decimal output with 100% classification success. a) right limb. b) left limb.
Figure 8. Sequence of mixed EMG stimuli overtime and ANN’s decimal output with 100% classification success. a) right limb. b) left limb.
Preprints 95991 g008
Figure 9. Swimming behavior fuzzy sets. a) Crisp input (ANN’s output). b) Input of robot’s thrust velocity observation. c) Input of robot’s angular speed observation.
Figure 9. Swimming behavior fuzzy sets. a) Crisp input (ANN’s output). b) Input of robot’s thrust velocity observation. c) Input of robot’s angular speed observation.
Preprints 95991 g009
Figure 10. Three identical output fuzzy sets depicting the oscillation period of the caudal tail’s undulation.
Figure 10. Three identical output fuzzy sets depicting the oscillation period of the caudal tail’s undulation.
Preprints 95991 g010
Figure 11. The three oscillation functions paired with dual coil step patterns: a) Forward undulations. b) Right-turn undulations. c) Left-turn undulations.
Figure 11. The three oscillation functions paired with dual coil step patterns: a) Forward undulations. b) Right-turn undulations. c) Left-turn undulations.
Preprints 95991 g011
Figure 12. Model of the robot fish mechanism, illustrating: a) Top view of the musculoskeletal system. b) Top view of the robot’s head with antagonistic muscles-based electromagnetic oscillator. c) Side view of the ballast system device positioned beneath the robot’s head.
Figure 12. Model of the robot fish mechanism, illustrating: a) Top view of the musculoskeletal system. b) Top view of the robot’s head with antagonistic muscles-based electromagnetic oscillator. c) Side view of the ballast system device positioned beneath the robot’s head.
Preprints 95991 g012
Figure 13. Ballasting system of the robot fish. a) Detailed 3D model of the robot fish with the ballast device positioned beneath its floor. b) Components of the basic ballasting device designed for modeling and control purposes.
Figure 13. Ballasting system of the robot fish. a) Detailed 3D model of the robot fish with the ballast device positioned beneath its floor. b) Components of the basic ballasting device designed for modeling and control purposes.
Preprints 95991 g013
Table 1. Pertinent related work comprehensive comparatives.
Table 1. Pertinent related work comprehensive comparatives.
Research topic References Distinctive aspect of this study
Remote mobile robots [5,6] Swimming response from
HRI teleoperation [10,11] biological EMG stimuli.
Teleoperation & telepresence HRI reviews, [4,12] Haptic perception robot to human.
techniques and applications [13,14] Cybernetic control human to robot.
Telepresence by avatar [7,8,9] Haptic and 2D visual data avatar
and immersion systems [24] and neuromuscular control response.
Central pattern generator (CPG), [15,16] Neural-Fuzzy caudal swim
neural and locomotion studies [17,27] undulation pattern generator.
Human-robot collaboration [20,21,22] Reactive swimming by remote human
haptics and teleoperation [23] stimuli and haptic robot’s feedback.
Cybernetic control [1,2,3] Underactuated biomechanical model and propulsive
and bionic systems [18,19] electromagnetic oscillator.
Table 2. ANN results of mapping EMG to robotic avatar swimming behaviors.
Table 2. ANN results of mapping EMG to robotic avatar swimming behaviors.
ANN’s EMG inputs y3 y2 y1 y0 Swimming-style1
quiet 0 0 0 0 Sink
right hand 0 0 0 1 Buoyant
right thumb 0 0 1 0 Gliding
right index 0 0 1 1 Slow thrusting
right middle 0 1 0 0 Medium thrusting
right ring 0 1 0 1 Fast thrusting
right little 0 1 1 0 Slow right maneuvering
left hand 0 1 1 1 Medium right maneuvering
left thumb 1 0 0 0 Fast right maneuvering
left index 1 0 0 1 Slow left maneuvering
left middle 1 0 1 0 Medium left maneuvering
left ring 1 0 1 1 Fast left maneuvering
left little 1 1 0 0 Speed up Right-turn
both index 1 1 0 1 Speed up Left-turn
right thumb-little 1 1 1 0 Slow down Right-turn
left thumb-little 1 1 1 1 Slow down Left-turn
1 The variables y 0 , 1 , 2 , 3 represent combinatory outputs, while subsequently y C corresponds to the decimal value.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2024 MDPI (Basel, Switzerland) unless otherwise stated