Next Article in Journal
Dynamic Modeling and Simulation of a Discrete Incremental Hydraulic Positioning System Controlled by Binary Valves
Previous Article in Journal
Comparison of the Antioxidant Properties of Extracts Obtained from Walnut Husks as well as the Influence of Juglone on Their Evaluation
Previous Article in Special Issue
Search for Optimal Parameters in the Control Structure of a Surgical System for Soft Tissue Operations Based on In Vitro Experiments on Cardiovascular Tissue
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Sensorimotor Control Using Adaptive Neuro-Fuzzy Inference for Human-Like Arm Movement

1
Department of Mechatronics Engineering, Karabuk University, Karabuk 78050, TR, Turkey
2
Deparment of Systems Design Engineering, University of Waterloo, Waterloo, ON N2L 3G1, Canada
*
Author to whom correspondence should be addressed.
Appl. Sci. 2024, 14(7), 2974; https://doi.org/10.3390/app14072974
Submission received: 4 January 2024 / Revised: 12 March 2024 / Accepted: 18 March 2024 / Published: 1 April 2024
(This article belongs to the Special Issue Applications of Robotics in Disease Treatment and Rehabilitation)

Abstract

:
In this study, a sensorimotor controller is designed to characterize the required muscle force to enable a robotics system to perform a human-like circular movement. When the appropriate muscle internal forces are chosen, the arm end-point tracks the desired path via joint-space feedback. An objective function of the least-change rate of muscle forces is determined to find suitable feedback gains. The parameter defining the muscle force is then treated as a learning parameter through an adaptive neuro-fuzzy inference system, incorporating the rate of change of muscle forces. In experimental section, the arm motion of healthy subjects is captured using the inertial measurement unit sensors, and then the image of the drawn path is processed. The inertial measurement unit sensors detect each segment motion’s orientation using quaternions, and the image is employed to identify the exact end-point position. Experimental data on arm movement are then utilized in the control parameter computation. The proposed brain–motor control mechanism enhances motion performance, resulting in a more human-like movement.

1. Introduction

In recent decades, there has been significant interest in developing robotic systems capable of mimicking human movements [1]. The main motivation behind designing such systems is to enhance the versatility and adaptability of robotic systems in various environments, especially those involving human engagement [2]. Applications involving the mimicking of human movements are numerous and range from from human–robot collaboration [3] to rehabilitation [4]. Research on human activities, such as object manipulation [5] and walking [6], requires collaboration across various fields, including kinesiology, physiology, and robotics [7]. Despite advancements in these fields, ongoing research continues to explore the mechanisms that enable human beings to execute such sophisticated movements smoothly.
The human body is supervised by the central nervous system (CNS), comprising the brain, the spinal cord, and the nerves [8]. Single nerve cells in the spinal cord establish connections and convey messages between the brain and the human body [9]. Any spinal cord injury-induced damage results in changes in strength, sensation, and other human body functions below the injury site. The injured spinal cord is unable to transmit and receive messages between the brain and the human body [10]. Individuals with spinal cord injuries can benefit from robotic exoskeleton systems to assist with mobility and movement [11]. Such systems stabilize the patient’s hands, arms, torso, core, legs, and feet, assisting individuals with motion disabilities in regaining motor function through rehabilitation training [12].
In rehabilitation, integrating human-like movements is essential to empower patients in recovering their ability to perform daily activities, ensuring the rehabilitation process is practical, functional, and personalized to each individual’s unique needs [13]. The importance of incorporating these natural movements is particularly apparent in using rehabilitation robots. Accordingly, the control mechanisms for these robots require knowledge of natural human activity. However, while applications of human movements have been explored, performing human-like actions remains considerably challenging [14]. A significant factor contributing to the challenge is the complexity of ill-posed problems arising from the inherent joint and muscle redundancies. Moreover, the coupling between the muscle and joint spaces in the human body presents an additional obstacle. The nonlinear properties of muscles also add another complexity to the control of human-like actions [15]. In order to handle such challenges and perform human-like movements, model-free and model-based control approaches have been developed for the musculoskeletal systems.
Several model-free control designs are addressed in the literature [16,17,18,19]. To generate the muscle activation, deep neural networks (DNNs) are trained with inverse dynamics and optimal control for the point-to-point reaching movements [16]. A biomimetic sensorimotor structure is developed in [17] to control a human musculoskeletal model. Based on visual information, the authors partition the human body into separate modules that regulate muscle activations for specific body regions. Then, they generalize the method to encompass a comprehensive human biomechanical simulation with a sensorimotor control system comprising connected DNNs. In addition to the supervised learning techniques discussed in [16,17], there have been efforts to apply reinforcement learning algorithms for the reaching movements, as studied in [18,19]. In the study by Huang et al. [18], a learning rule employing a recurrent neural network (RNN) is introduced for high-level motor control in a musculoskeletal robot. Meanwhile, Chen et al. [19] proposes a motion learning framework inspired by human movements for a musculoskeletal system, which involves identifying muscle synergies and implementing an iterative learning controller. However, while model-free controllers offer benefits such as simplicity and adaptability, their lack of a precise model can lead to challenges in predicting system behavior, requiring extensive data for training and potentially resulting in less precise control in complex musculoskeletal systems.
In model-based control methods, computing muscle force mostly relies on inverse kinematics, inverse dynamics, and muscle-force optimization approaches. Various model-based control designs have been examined to find the required muscle force, allowing the robotics systems to perform human-like movements. Arimoto et al. [20] demonstrate that a redundant planar robot can achieve human-like multi-joint reaching movement. They employ a feedback approach from task space to joint space to accomplish a motion task, incorporating linear joint angular velocity feedback without solving inverse kinematics. Tahara et al. [21] design a task-space feedback controller including the nonlinear muscle model characteristics for the reaching movements. The desired trajectory is formulated within the task space, and the controller is designed using muscle-space parameters, such as muscle length and contractile velocity. These muscle-space variables are obtained by performing inverse kinematics, transitioning from the task space to the muscle space. Since the motion of the musculoskeletal system can be represented in various spaces, including muscle space, joint space, and task space, the effectiveness of the controller is impacted by the choice of the space in which the controller is designed.
In order to improve the control design performance of the approach suggested in [21], as well as its robustness against possible noise sources, an iterative learning control algorithm using plural space variables is introduced in [22]. Two studies [23,24] introduce adaptive robust control designs for the humanoid robot arms with biarticular muscles to handle the effects of the uncertain dynamic parameters and disturbances. The adaptive algorithms introduced in [23,24] update the dynamics parameters online and handle the dynamic parameter perturbation and disturbance during the movement. An adaptive optimal multi-critic based controller is designed in [25] for a multi-input multi-output musculoskeletal arm model. The fundamental concept behind the design of the adaptive optimal control is to possess the ability to adapt to dynamic parameter changes while determining the muscle force optimized in real-time. Because of the real-time responsiveness and robustness against the uncertainties in sliding mode control architectures, Zhao et al. [26] employ a trajectory tracking control utilizing a switched sliding mode controller in a manipulator powered by pneumatic artificial muscles and Xiuxiang et al. [27] introduces an adaptive fuzzy sliding mode control approach to track the elbow joint and endpoint of the human arm. It is important to remark that most existing model-based controllers have used a simplified version of the musculoskeletal system and such model simplification might not replicate the full range of human movements with high fidelity. For details on musculoskeletal control, the reader is referred to [28].
The main objective of this paper is to outline an effective control strategy that mimics human movement. This paper proves that the developed controller identifies the necessary muscle activation that minimizes the force discrepancy between muscle and arm movement models about the null-space vector. A Hill-type muscle model is employed in a three-link musculoskeletal model with nine muscles in a curved arrangement, including six monoarticular muscles that cross multiple/two joints and three biarticular muscles responsible for shoulder, elbow, and wrist joint movement. The calculation of muscle activation has two components: the model-based joint space controller term and the null-space term, determined via a model-free learning algorithm. The null-space term plays a significant role in rendering the movement more human-like, and it is typically considered as a constant rather than being calculated from real-time motion data. The approach in this study to ascertain the suitable null-space term involves reducing the force difference between the muscle and arm movement models using the Adaptive Neuro-Fuzzy Inference System (ANFIS). An assemblage of exemplars with a three-link arm has been incorporated to illustrate the application of the developed control algorithm. The simulation results have also been included to corroborate the performance quality of the proposed control methodology.
The rest of this work is organized as follows. Section 2 introduces a kinematic and dynamic model of the musculoskeletal arm model. Section 3 presents the sensorimotor control architecture for human-like arm movement. Section 4 introduces the experimental design, materials, and methods. Section 5 summarizes the main results. Section 6 concludes the article.

2. Musculoskeletal Modeling

This section introduces a musculoskeletal arm’s kinematic and dynamic modelling, including analyses of the arm’s joint, task, and muscle spaces.

2.1. Relation between Task and Joint Space

The proposed musculoskeletal model has three biarticular and six monoarticular muscles in a curved arrangement and a structure of three links, as shown in Figure 1. We define the end-point arm position p = [ p x , p y ] T R 2 in terms of the joint variables of the arm θ = [ θ 1 , θ 2 , θ 3 ] T R 3 . The coordinates of the end-point p without any orientation are described in Cartesian space as follows:
p = L 1 cos ( θ 1 ) + L 2 cos ( θ 1 + θ 2 ) + L 3 cos ( θ 1 + θ 2 + θ 3 ) L 1 sin ( θ 1 ) + L 2 sin ( θ 1 + θ 2 ) + L 3 sin ( θ 1 + θ 2 + θ 3 )
where L 1 , L 2 , and L 3 denote the lengths of the shoulder, elbow, and wrist links, respectively, θ 1 is the shoulder angle relative to the x-axis coordinate, θ 2 is the elbow angle in reference to the shoulder, and θ 3 is the wrist angle with regard to the elbow. By differentiating Equation (1), we establish a relationship between the end-point velocity and the angular velocities of the links as
p ˙ = J θ ˙
where J R 2 × 3 represents the Jacobian matrix that maps the joint space to the task space, p ˙ = [ p ˙ x , p ˙ y ] T is the end-point linear velocity, and θ ˙ = [ θ ˙ 1 , θ ˙ 2 , θ ˙ 3 ] T is the angular velocity. The Jacobian matrix J is also employed to find the relationship between the joint torques τ R 3 and the end-point forces in task space F R 2 as
τ = J T F .

2.2. Relation between Joint and Muscle Space

The proposed musculoskeletal arm (see Figure 1) is transformed into nine possible muscle connections with the rigid links to calculate the i-th muscle length l i in terms of the joint positions based on the descriptive kinematic analysis (see Figure 2). The existing models often simplify muscle paths as straight lines rather than following curved paths. This study, however, considers that muscles connect to the links via curved paths, providing a more accurate representation of the muscles’ actual anatomical and biomechanical properties.
Figure 2 illustrates the connection of each muscle to the links and allows the muscle length with respect to the reference frame { O } to be calculated using the geometric relationships. Finding the length of each muscle, as shown in Figure 2, requires calculating the angles at which the muscles connect to the links. The muscle length vector l = [ l 1 , l 2 , , l 9 ] T R 9 , formulated through the law of cosines, is expressed as:
l = m 10 [ π θ 1 arccos ( m 10 m 11 ) ] + m 11 2 m 10 2 m 20 θ 1 + m 20 2 + m 21 2 m 31 [ π θ 2 arccos ( m 31 m 32 ) ] + m 32 2 m 31 2 m 41 [ π 2 + θ 2 arccos ( m 41 m 42 ) ] + m 42 2 m 41 2 m 50 [ π 2 θ 1 ] + m 52 + [ π 2 θ 2 ] L 1 2 + ( m 50 m 52 ) 2 m 60 θ 1 + m 62 θ 2 + L 1 2 + ( m 60 m 62 ) 2 m 72 [ π θ 3 arccos ( m 72 m 73 ) ] m 82 [ π 2 arccos ( m 82 m 83 ) + θ 3 ] + m 83 2 m 82 2 m 93 ( π 2 θ 3 ) + m 91 ( π 2 θ 2 ) + L 2 2 + ( m 91 m 93 ) 2
where m ij denotes the distance between the insertion point of i-th muscle, j-th joint center, i = 5, 6, 9 corresponds to the biarticular muscles, and i = 1–4, 7–8 represents the monoarticular muscles. The model parameter values are presented in Table 1 and established in [29]. The time derivative of the muscle length vector l ˙ = [ l ˙ 1 , l ˙ 2 , , l ˙ 9 ] T R 9 results in the following:
l ˙ = J m θ ˙
where J m R 9 × 3 represents the muscle Jacobian matrix, which maps the angular velocity of the joints θ ˙ = [ θ ˙ 1 , θ ˙ 2 , θ ˙ 3 ] T R 3 to the change rate of the length of muscles l ˙ .

2.3. Muscle Model

This study adopts a muscle model developed by Hill [30] and subsequently refined by [31]. This well-known muscle model calculates the muscle tensile force with the muscle activation level. Muscle length and velocity are the variables employed for precise calculation of the muscle tensile force, and each muscle force F i m is found by:
F i m = α i f i a ( l i , v i ) F i m a x + f i p ( l i ) F i m a x
where f i a and f i p denote active and passive scaling functions, F i m a x is the maximal isometric muscle force, v i denotes the muscle length velocity, and α i [ 0 , 1 ] indicates the muscle activation level. The contraction at constant length and zero muscle activation ( α i = 0 ), where the velocity of muscle shortening is zero, called the passive muscle force, is calculated from the force–length relationship. The maximum exerted muscle force is generated with α i = 1 when the force of contraction remains constant, and the velocity of contraction becomes progressively less with regards to the force–velocity relationship. The muscle model is written in a compact form as follows:
F m = F a α + F p
where F a = diag ( F a 1 , , F a 9 ) R 9 × 9 is the active muscle force term, F p = [ F p 1 , , F p 9 ] T R 9 is the passive muscle force term, and α = [ α 1 , , α 9 ] T R 9 is the muscle activation vector. The relationship between muscle tensile force F m = [ F 1 m , F 2 m , , F 9 m ] T R 9 and joint torques τ = [ τ 1 , τ 2 , τ 3 ] T R 3 is defined as:
τ = W m F m
where W m = J m T R 3 × 9 is transpose of the muscle Jacobian matrix. The number of muscles is larger than the degrees-of-freedom (DoFs) of the link arm, resulting in the infinite admission solutions. The solution can be expressed as follows:
F m = ( W m ) τ + ( I ( W m ) ( W m ) ) ϑ
where W m = W m T ( W m W m T ) 1 R 9 × 3 is called the pseudo-inverse matrix of W m , and I R 9 × 9 is the identity matrix. The first term of Equation (9) defines a minimum two-norm solution vector, and, therefore, the muscle force might be negative. The second term of Equation (9) is an arbitrary vector from the null space of W m , depending on ϑ R 9 . Equation (9) is rewritten as
F m = ( W m ) τ + N h
where N h equals an arbitrary muscle force vector that balances the redundant muscles among all the muscles without affecting the end-point pose (internal muscle forces). Thus, the second term represents the internal muscle force generated by the redundant muscles. Note that this term is employed to keep all muscle tensions positive. N R 9 × 6 represents the null space or kernel of W m , and h R 6 needs to be determined to ensure that all muscle forces are positive. The problem lies in determining a unique value or values for h under the condition F i m 0 i = 1 , 2 , , 9 . Assuming unrestricted joint forces are applied to the muscles to support any arbitrary wrench, the force-closure condition is satisfied when the homogeneous term of W m remains strictly positive, that is
N null ( W m ) , N h R + 9 .
Moreover, muscle forces are bound by both lower and upper limits. Lower force limits ensure muscles remain taut, establishing a minimum stiffness for the arm. Meanwhile, upper force limits prevent extreme muscle deformations. The minimum two-norm solution is employed to select h, minimizing the tensions among all muscles while keeping all muscle forces within bounds. Simply stated:
minimize   F m = ( i = 1 9 F i m 2 ) 1 / 2 subject   to τ = W m F m   and   0 < F i , min F i m F i , max i = 1 , 2 , , 9 .
The feasible wrenches are those constant static forces/moments applied to the end-point that are balanced by all positive muscle forces, subject to a set of muscle-force limits. To ascertain the feasibility of a wrench balance, we consider the following condition
{ F m | F m = W m τ + N h , N h R + 9 } { F m | 0 < F i , min F i m F i , max i = 1 , 2 , , 9 } .
This condition affirms the existence of a solution to Equation (10) that intersects the convex set delimited by the muscle-force limits. In essence, this convex set represents a hyperbox in R + 9 . Substituting Equation (3) into Equation (9), we obtain:
F m = ( W m ) J T F + ( I ( W m ) ( W m ) ) ϑ .

2.4. Robot Dynamics

The dynamic equation of the musculoskeletal model for the three-joint arm in joint space is formulated as
τ = M ( θ ) θ ¨ + C ( θ , θ ˙ ) θ ˙ + G ( θ )
where τ = [ τ 1 , τ 2 , τ 3 ] T R 3 is the joint torque/force vector, M ( θ ) R 3 × 3 denotes the inertia matrix, C ( θ , θ ˙ ) R 3 × 3 represents the vector of centrifugal and Coriolis terms, θ ¨ = [ θ ¨ 1 , θ ¨ 2 , θ ¨ 3 ] T R 3 is the angular acceleration vector, and G ( θ ) = [ g 1 , g 2 , g 3 ] T R 3 is the gravity force. In transverse plane motion, the effect of gravity is considered negligible.

3. Control Architecture for Human-Like Arm Movement

3.1. Muscle-Activation

A muscle-activation input, incorporating both the arm and muscle terms, is introduced as follows:
α = W ¯ m J T τ + ( I ( W ¯ m ) ( W ¯ m ) ) ϑ
where α is the muscle-activation input, W ¯ m = F a W m , τ = K p e + K d e ˙ , e = p p d is the tracking error between p actual position and p d R 2 desired position, e ˙ = p ˙ p ˙ d is the velocity error, K p = diag ( k p , k p ) R 2 × 2 denotes the feedback gain of the position where k p is a scalar constant value, K d = diag ( k v , k v ) R 2 × 2 stands for the feedback gain of the velocity where k d is a scalar constant value, and W ¯ m is the pseudo-inverse matrix of W ¯ m .

3.2. Muscle-Force Change Cost Function

We introduce a cost function to minimise the difference between muscle forces calculated using the arm movement kinematics and those generated by the control method using muscle activation. Subtracting Equation (9) from Equation (6) yields
min ϑ R E F ( ϑ ) = W m τ + ( I 9 W m W m ) ϑ F a α F p 2 subject   to 0 α 1 , τ = M ( θ ) θ ¨ + C ( θ , θ ˙ ) θ ˙ .
Here, the objective is to minimize E F ( ϑ ) = [ E f 1 , E f 2 , , E f 9 ] T R 9 with respect to ϑ . The results of this minimization process are subsequently applied to the following ANFIS structure to identify the null-space parameters, thereby making the motion more human-like.

3.3. Adapt the ANFIS Architecture for Human-Like Movement Problem

The proposed ANFIS structure comprises two soft-computing methods: Artificial Neural Network (ANN) and fuzzy logic. A single input variable E f , obtained from the force difference, is selected as the input for the ANFIS. The null-space vector ϑ is expected to have an output vector of the ANFIS. We express rule sets with a fuzzy if-then rule for the system as
Rule   1   =   IF   E f   is   SMALL , THEN z 1 = a 1 E f + a 0 Rule   2   =   IF   E f   is   LARGE , THEN z 2 = b 1 E f + b 0
where a 0 , a 1 , b 0 , and b 1 are the consequent linear parameters. The proposed ANFIS structure is shown in Figure 3. The ANFIS structure comprises five layers: fuzzy layer, product layer, normalized layer, de-fuzzy layer, and total output layer. The process begins by selecting the input and output variables. For each input variable, fuzzy sets are defined, and fuzzy rules are established for each set. The membership functions of the fuzzy system are then tuned using a hybrid learning algorithm based on neuro-adaptive inference. Finally, the ANFIS model is constructed and trained.
Layer 1 (fuzzy layer): The main function of the first layer is to fuzzify the input variable. Illustrated in Figure 3, the nodes are denoted by squares and labeled A 1 and A 2 . Here, A 1 and A 2 represent the linguistic labels as SMALL and LARGE, respectively. The node function for each rule is given by
O 1 , 1 = μ A 1 ( E f )   and   O 1 , 2 = μ A 2 ( E f )
where O 1 , 1 and O 1 , 2 denote the output functions of each rule, and μ A 1 and μ A 2 are the membership functions.
Layer 2 (product layer): This layer’s main role is to calculate the firing strength of each fuzzy rule. The node in this layer performs a multiplication operation on the membership grades received from Layer 1. The nodes are denoted by circles in Figure 3.
O 2 , 1 = w 1 = μ A 1   and   O 2 , 2 = w 2 = μ A 2
where w 1 and w 2 denote the firing strength of each rule, respectively.
Layer 3 (normalized layer): The third layer normalizes the firing strengths of the rule obtained from the product layer. The purpose of this layer is to calculate the ratio of the firing strength of the rule to the sum of all rules’ firing strengths, ensuring that the sum of all output signals of this layer equals 1.
The output node is computed based on the proportion between the the rule firing strength and the sum of the firing strengths as
O 3 , 1 = w ¯ 1 = w 1 w 1 + w 2   and   O 3 , 2 = w ¯ 2 = w 2 w 1 + w 2
where w ¯ 1 and w ¯ 2 are the normalized firing strengths.
Layer 4 (de-fuzzy layer): The adaptive node function in the fourth layer is described as
O 4 , 1 = w ¯ 1 z 1 = w ¯ 1 ( a 1 E f + a 0 )   and   O 4 , 2 = w ¯ 2 z 2 = w ¯ 2 ( b 1 E f + b 0 )
where w ¯ 1 and w ¯ 2 are from the third layer, z 1 and z 2 denote the value of the function in the consequent part of each fuzzy rule, and O 4 , 1 and O 4 , 2 are the outputs of the fourth layer.
Layer 5 (total output layer): The single node in this layer synthesizes the data from the fourth layer and calculates the overall output as
ϑ = O 5 = w ¯ 1 z 1 + w ¯ 2 z 2 .
In addition, a hybrid learning algorithm comprised of recursive least square (RLS) and gradient descent algorithms is used to estimate the unknown constant parameters in the ANFIS structure. The reader is referred to [32] for the detailed description of the ANFIS architecture.

4. Experimental Design and Materials and Methods

4.1. Participants

The research included the voluntary involvement of 10 subjects who were fully informed and gave their consent before the beginning of any data gathering in accordance with the ethical guidelines of the Helsinki Declaration and with the endorsement of the institution’s ethics committee. The selection of participants was determined by the absence of any recorded visual, motor, or neurological issues.

4.2. Setup

The experimental setup used for evaluating the proposed method is depicted in Figure 4. The setup consists of two main parts: image processing and orientation determination. The image processing to capture the movement patterns is initiated once the subjects complete the drawing task on the test sheet (see Figure 5). Following the completion of the drawing, the test sheets are processed using the image analysis to calculate the radius of the drawing. In order to obtain muscle-force difference used for the ANFIS, the orientations of the subjects are recorded via the The inertial measurement unit (IMU) sensors (Shimmer 3) positioned on the subjects’ links, as shown in Figure 6.
To enhance data quality and participant comfort, we place the sensors on the links rather than the joints, driven by the need for stability during measurements, minimizing motion disturbances, and ensuring a consistent sensor orientation. Placing the sensors on the links also mitigates the impact of skin effects associated with joint movement, contributing to adequate signal quality. Additionally, the sensor placement allows for more natural participant movement by avoiding interference with joint motion. Each person is instructed to sit on the same chair with a shoulder-height about 10 centimetres above the experiment table, while the relative distance of the test sheet depends on the length of the person’s arm. The distance is defined to allow the participant to reach the farthest point of the sheet without moving their trunk while they are leaning on the chair. They are instructed to put both hands on the table to avoid stability concentrations. Each participant then completes 10 drawings consisting of large-radius circles (see Figure 7a). The acceptance criteria for a drawing was a maximum time of 2 s to complete the circle.
The task involves using a pen to initiate the circle at the initial point, passing through a designated way point at the farthest position, and finishing by completing the circle by returning to the initial point (see Figure 5 and Figure 7a,b for each step, respectively).

4.3. Methods

4.3.1. Offline Measurement Method

The proposed offline measurement method is applied after completing all the drawings. The test sheets are scanned using a simple image processing method, and the images are processed in the MATLAB (R2018b) environment. The images are converted to grayscale, and then, using a sharp low pass filter, the dark points are transformed to black while the rest of the image is changed to white (see Figure 7).
In the analysis, the geometric parameters of the drawings are calculated through a systematic image search protocol. The process starts with identifying the cubes within the image, which serve as a reference object to establish scale and define the drawing’s features. The initial and way points of the drawing are pinpointed based on their relative position to the reference cubes. The center of the image is then approximated by calculating the midpoint between the detected initial and way points, thus establishing an arbitrary center for the arc search. Then, utilizing the center, we apply an arc search algorithm across the image to determine the radius of the drawing.
The algorithm examines the image at one-degree intervals around the center, allowing extraction of the radius corresponding to each drawing angle. The method provides the radius of the circle-like drawing as a function of angle. Finally, a matrix of radii with respect to angles from 0 to 360 degrees is calculated, defining the trajectory of the movement with the origin of the arbitrary center point.

4.3.2. Online Measurement Method

In the online method, the sensors are attached to the middle of the links to capture gyroscope and accelerometer data during the drawing. The measurements are then investigated using selective orientation corrections with accelerometers. The measurement data include gyroscope and accelerometer data. The data recording is performed at a frequency of 51.6 samples per second for each tree accelerometer and tri-gyroscope. The initial orientations are calculated as follows:
V ( 0 ) = a ( 0 ) × Z
where V is a horizontal vector of the body frame to reference transformation rotation, Z defines an arbitrary gravity attitude vector in z-axis, a is the initial acceleration vector, and j denotes the time. Sign × denotes the standard cross product. The initial orientation vector Ω is then updated as follows:
Ω ( j ) = q ( j 1 ) ( ω ( j ) f r ) q ( j 1 ) , Φ ( j ) = [ | Ω ( j ) | , Ω x ( j ) , Ω y ( j ) , Ω z ( j ) ] , q ( j ) = Φ ( j ) q ( j 1 )
where q represents the quaternion of the orientation from the body frame to the reference frame, f r is the measurement frequency, ω ( j ) denotes the angular rotation, Φ ( j ) is the rotation quaternion of the body frame, and ⊗ represents the quaternion product operator. The proposed method computes the orientations estimated through quaternion-based integration of the three-dimensional angular rate of change. The acceleration-based calculation utilizes the same method as the initial orientation definition when w ( j )   <   ε w is satisfied, where ε w represents the minimum angular velocity range, which is set to 0.1 degrees per second.

5. Results and Discussion

Measurements

The initial assessment of the subjects’ performance is conducted through the offline image processing methodology. The distribution of the radii of the drawings obtained from the image processing indicates the drawing procedure’s correctness. Verifying that the subject radii exhibit a bell-shaped histogram consistently distributed in line with statistical expectations is crucial. Therefore, the image processing results are essential in validating the experimental procedures.
After the participants complete the drawing task, we employ the image processing procedure to identify the circles’ initial, way, and center points. Figure 8 depicts a sample result of the implemented method on the test sheet. The green-colored text designates the initial point, the yellow-colored text indicates the way point, and the center of rotation, shown in red, represents the midline point location. Subsequently, the extracted data for the radii of the circle-like drawings are calculated. The results for the sample test are illustrated in Figure 9. The green, yellow, and red lines in Figure 9 signify the circle-like drawing’s starting, way, and final points, respectively.
The next step involves determining the angles of each segment based on the online measurement method. Figure 10 shows a sample recording of the resulting Euler angles from the joint movements during the circle-drawing task. After collecting each joint angle from the subjects, the next step is calculating the force difference using Equation (15) for the ANFIS architecture. The performance of the ANFIS’s force variation is then compared to a scenario where a single constant ϑ parameter is not trained through the ANFIS.
In our study, we conducted a comparison between the performance outcomes associated with two distinct approaches to determining the internal force parameter within the musculoskeletal arm model. The first approach utilizes the ANFIS to determine the internal force parameter ϑ . The second approach relies on a single, static internal force parameter that was predetermined and remained unchanged throughout the control process.
The comparison results in Figure 11 highlight the performance differences between the two approaches. As Figure 11 shows, the result demonstrates an improvement in more human-like muscle force generation with the ANFIS approach. The variance in muscle force difference when using the constant parameter is 2.692, whereas the ANFIS method shows a variance of only 0.454. When the variance approaches zero, it indicates that the model provides an accurate and precise approximation. A smaller variance signifies that the predicted values are closely clustered around the mean, having a more reliable and consistent model fit. Therefore, a lower variance in the force difference, as achieved by the ANFIS method, implies a superior and more precise approximation of the human-like muscle force compared to the constant parameter model. For a more detailed examination of the force difference, an enlarged view between 0.4 and 0.8 seconds of Figure 11 is presented in Figure 12.
Moreover, the peak in Figure 11 at approximately 0.2 s is likely associated with the movement initiation in human circle drawing due to biomechanical factors and the motor control involved in such tasks. When the person begins a drawing motion, especially a circular one, there is a need to overcome inertia and start the movement from a static position. The initial burst of force may be required to set the hand in motion, mainly if resistance or the drawing surface offers some friction. In order to evaluate the developed control approach, the musculoskeletal arm model with a circle-type reaching movement is performed. The musculoskeletal arm model is constructed using the framework presented in [29] within the MATLAB environment. The simulation parameters are given in Table 1 and Table 2.
It should be noted that the proposed method’s efficacy lies in the precision of the underlying muscle model it utilizes. The accuracy of this model is paramount, as it directly influences the reliability and performance of the method in simulating and understanding muscle dynamics and internal force generation. We perform a circle-like reaching movement based on the internal force vector defined in the previous section. To prove the effectiveness of the ANFIS, we compare the performance using ANFIS with that using a single internal force constant (see Figure 11 and Figure 12). The single internal force constant is selected as k = 20. For simplicity’s sake, we define the internal force vector ϑ = k u , where k is a positive constant and u R 9 is the unit vector. The developed human arm model and the musculoskeletal arm models in the MATLAB environment are presented in Figure 13 and Figure 14, respectively. Figure 15 shows the simulation result of the circle-like reaching movement with feedback constants K p and K d . It is observed that the end-point smoothly approaches the desired point, and its trajectory is curved in line with the ANFIS. Moreover, when the constant parameter is selected as lower than 20, it can be seen that the trajectory of the end-point exhibits unusual behavior. The ANFIS-based method demonstrates superior adaptability and precision, attributed to its ability to continuously refine the internal force parameter in response to real-time feedback. In contrast, the single internal force parameter approach exhibits limitations in its capacity to adjust to changing dynamics, leading to decreased efficiency and accuracy in the task execution.

6. Conclusions

This study designs and implements a sensorimotor controller that enables a robotic system to mimic human-like circular motion. By optimizing the internal forces of the muscles, we achieve accurate hand trajectory following along the desired path using joint-space feedback. Utilizing the ANFIS structure, we advance the methodology by treating muscle-force parameters as learning variables, allowing for dynamic adjustment based on the muscle’s rate of change. This approach leverages the power of adaptive learning and fuzzy logic to mimic the control of human motor function. The results underscore the effectiveness of the proposed sensorimotor controller, demonstrating improvements in the motion performance. Future work will focus on refining the controller’s adaptability and exploring its application in more complex movement patterns and different robotic platforms. Additionally, further investigation into the integration of sensory feedback mechanisms could enhance the system’s responsiveness and versatility, paving the way for more intuitive and lifelike robotic assistance in various applications.

Author Contributions

G.G. and M.A.; Methodology, G.G. and M.A.; Software, G.G. and M.A.; Writing—original draft, G.G. and M.A.; Writing—review and editing, G.G. and M.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki, and approved by the Karabük University Scientific Research and Publication Board (protocol code 313756 and 2023–2024).

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to legal reason.

Acknowledgments

Thanks to all the participants who volunteered in this study and provided valuable data for our research.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Gulletta, G.; Erlhagen, W.; Bicho, E. Human-like arm motion generation: A Review. Robotics 2020, 9, 102. [Google Scholar] [CrossRef]
  2. Breazeal, C.; Scassellati, B. Robots that imitate humans. Trends Cogn. Sci. 2002, 6, 481–487. [Google Scholar] [CrossRef]
  3. Robinson, N.; Tidd, B.; Campbell, D.; Kulić, D.; Corke, P. Robotic vision for human–robot interaction and collaboration: A survey and systematic review. ACM Trans. Hum.-Robot Interact. 2023, 12, 1–66. [Google Scholar]
  4. Pei, S.; Wang, J.; Guo, J.; Yin, H.; Yao, Y. A Human-like Inverse Kinematics Algorithm of an Upper Limb Rehabilitation Exoskeleton. Symmetry 2023, 15, 1657. [Google Scholar] [CrossRef]
  5. Shin, S.Y.; Kim, C. Human-like motion generation and control for humanoid’s dual arm object manipulation. IEEE Trans. Ind. Electron. 2014, 62, 2265–2276. [Google Scholar] [CrossRef]
  6. Maroger, I.; Ramuzat, N.; Stasse, O.; Watier, B. Human trajectory prediction model and its coupling with a walking pattern generator of a humanoid robot. IEEE Robot. Autom. Lett. 2021, 6, 6361–6369. [Google Scholar] [CrossRef]
  7. Burdet, E.; Franklin, D.W.; Milner, T.E. Human Robotics: Neuromechanics and Motor Control; MIT Press: Cambridge, MA, USA, 2013. [Google Scholar]
  8. Jeong, J.H.; Shim, K.H.; Kim, D.J.; Lee, S.W. Brain-controlled robotic arm system based on multi-directional CNN-BiLSTM network using EEG signals. IEEE Trans. Neural Syst. Rehabil. Eng. 2020, 28, 1226–1238. [Google Scholar] [CrossRef]
  9. Middleton, F.A.; Strick, P.L. Basal ganglia and cerebellar loops: Motor and cognitive circuits. Brain Res. Rev. 2000, 31, 236–250. [Google Scholar] [CrossRef]
  10. Wagner, F.B.; Mignardot, J.B.; Le Goff-Mignardot, C.G.; Demesmaeker, R.; Komi, S.; Capogrosso, M.; Rowald, A.; Seáñez, I.; Caban, M.; Pirondini, E.; et al. Targeted neurotechnology restores walking in humans with spinal cord injury. Nature 2018, 563, 65–71. [Google Scholar] [CrossRef]
  11. Mekki, M.; Delgado, A.D.; Fry, A.; Putrino, D.; Huang, V. Robotic rehabilitation and spinal cord injury: A narrative review. Neurotherapeutics 2018, 15, 604–617. [Google Scholar] [CrossRef]
  12. Kasukawa, Y.; Shimada, Y.; Kudo, D.; Saito, K.; Kimura, R.; Chida, S.; Hatakeyama, K.; Miyakoshi, N. Advanced equipment development and clinical application in neurorehabilitation for spinal cord injury: Historical perspectives and future directions. Appl. Sci. 2022, 12, 4532. [Google Scholar] [CrossRef]
  13. Averta, G.; Della Santina, C.; Valenza, G.; Bicchi, A.; Bianchi, M. Exploiting upper-limb functional principal components for human-like motion generation of anthropomorphic robots. J. NeuroEngineering Rehabil. 2020, 17, 63. [Google Scholar] [CrossRef]
  14. Cesari, P.; Shiratori, T.; Olivato, P.; Duarte, M. Analysis of kinematically redundant reaching movements using the equilibrium-point hypothesis. Biol. Cybern. 2001, 84, 217–226. [Google Scholar] [CrossRef]
  15. Bernstein, N.A. The problem of the interrelation of coordination and localization. Arch. Biol. Sci. 1935, 38, 15–59. [Google Scholar]
  16. Khan, N.; Stavness, I. Prediction of muscle activations for reaching movements using deep neural networks. arXiv 2017, arXiv:1706.04145. [Google Scholar]
  17. Nakada, M.; Zhou, T.; Chen, H.; Weiss, T.; Terzopoulos, D. Deep learning of biomimetic sensorimotor control for biomechanical human animation. ACM Trans. Graph. (TOG) 2018, 37, 1–15. [Google Scholar] [CrossRef]
  18. Huang, X.; Wu, W.; Qiao, H.; Ji, Y. Brain-inspired motion learning in recurrent neural network with emotion modulation. IEEE Trans. Cogn. Dev. Syst. 2018, 10, 1153–1164. [Google Scholar] [CrossRef]
  19. Chen, J.; Zhong, S.; Kang, E.; Qiao, H. Realizing human-like manipulation with a musculoskeletal system and biologically inspired control scheme. Neurocomputing 2019, 339, 116–129. [Google Scholar] [CrossRef]
  20. Arimoto, S.; Sekimoto, M. Human-like movements of robotic arms with redundant DOFs: Virtual spring-damper hypothesis to tackle the Bernstein problem. In Proceedings of the 2006 IEEE International Conference on Robotics and Automation, ICRA 2006, Orlando, FL, USA, 15–19 May 2006; IEEE: Piscataway, NJ, USA, 2006; pp. 1860–1866. [Google Scholar]
  21. Tahara, K.; Kino, H. Reaching movements of a redundant musculoskeletal arm: Acquisition of an adequate internal force by iterative learning and its evaluation through a dynamic damping ellipsoid. Adv. Robot. 2010, 24, 783–818. [Google Scholar] [CrossRef]
  22. Tahara, K.; Kuboyama, Y.; Kurazume, R. Iterative learning control for a musculoskeletal arm: Utilizing multiple space variables to improve the robustness. In Proceedings of the 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, Vilamoura-Algarve, Portugal, 7–12 October 2012; IEEE: Piscataway, NJ, USA, 2012; pp. 4620–4625. [Google Scholar]
  23. Dong, H.; Mavridis, N. Adaptive biarticular muscle force control for humanoid robot arms. In Proceedings of the 2012 12th IEEE-RAS International Conference on Humanoid Robots (Humanoids 2012), Osaka, Japan, 29 November–1 December 2012; IEEE: Piscataway, NJ, USA, 2012; pp. 284–290. [Google Scholar]
  24. Dong, H.; Figueroa, N.; El Saddik, A. Muscle force control of a kinematically redundant bionic arm with real-time parameter update. In Proceedings of the 2013 IEEE International Conference on Systems, Man, and Cybernetics, Manchester, UK, 13–16 October 2013; IEEE: Piscataway, NJ, USA, 2013; pp. 1640–1647. [Google Scholar]
  25. Vatankhah, R.; Broushaki, M.; Alasty, A. Adaptive optimal multi-critic based neuro-fuzzy control of MIMO human musculoskeletal arm model. Neurocomputing 2016, 173, 1529–1537. [Google Scholar] [CrossRef]
  26. Zhao, L.; Li, Q.; Liu, B.; Cheng, H. Trajectory tracking control of a one degree of freedom manipulator based on a switched sliding mode controller with a novel extended state observer framework. IEEE Trans. Syst. Man Cybern. Syst. 2017, 49, 1110–1118. [Google Scholar] [CrossRef]
  27. Xiuxiang, C.; Ting, W.; Yongkun, Z.; Wen, Q.; Xinghua, Z. An adaptive fuzzy sliding mode control for angle tracking of human musculoskeletal arm model. Comput. Electr. Eng. 2018, 72, 214–223. [Google Scholar] [CrossRef]
  28. Qiao, H.; Chen, J.; Huang, X. A survey of brain-inspired intelligent robots: Integration of vision, decision, motion control, and musculoskeletal systems. IEEE Trans. Cybern. 2021, 52, 11267–11280. [Google Scholar] [CrossRef]
  29. Tahara, K.; Arimoto, S.; Sekimoto, M.; Luo, Z.W. On control of reaching movements for musculo-skeletal redundant arm model. Appl. Bionics Biomech. 2009, 6, 11–26. [Google Scholar] [CrossRef]
  30. Hill, A.V. The heat of shortening and the dynamic constants of muscle. Proc. R. Soc. London. Ser. B-Biol. Sci. 1938, 126, 136–195. [Google Scholar]
  31. Zajac, F.E. Muscle and tendon: Properties, models, scaling, and application to biomechanics and motor control. Crit. Rev. Biomed. Eng. 1989, 17, 359–411. [Google Scholar]
  32. Jang, J.S. ANFIS: Adaptive-network-based fuzzy inference system. IEEE Trans. Syst. Man Cybern. 1993, 23, 665–685. [Google Scholar] [CrossRef]
Figure 1. Human arm model with nine muscles. m ij represents the distance between the insertion point of i-th muscle and j-th joint center, and (i = 5, 6, 9) and (i = 1–4, 7–8) indicate biarticular and six monoarticular muscles, respectively. L 1 , L 2 , and L 3 denote the lengths of the shoulder, elbow, and wrist links, respectively. It is assumed that the trunk link is fixed, not moving. θ 1 is the shoulder angle, θ 2 is the elbow angle, and θ 3 is the wrist angle. The end-point arm position is ( p x , p y ) .
Figure 1. Human arm model with nine muscles. m ij represents the distance between the insertion point of i-th muscle and j-th joint center, and (i = 5, 6, 9) and (i = 1–4, 7–8) indicate biarticular and six monoarticular muscles, respectively. L 1 , L 2 , and L 3 denote the lengths of the shoulder, elbow, and wrist links, respectively. It is assumed that the trunk link is fixed, not moving. θ 1 is the shoulder angle, θ 2 is the elbow angle, and θ 3 is the wrist angle. The end-point arm position is ( p x , p y ) .
Applsci 14 02974 g001
Figure 2. Descriptive geometric kinematic analysis of each muscle utilized in the musculoskeletal arm model.
Figure 2. Descriptive geometric kinematic analysis of each muscle utilized in the musculoskeletal arm model.
Applsci 14 02974 g002
Figure 3. The proposed ANFIS structure.
Figure 3. The proposed ANFIS structure.
Applsci 14 02974 g003
Figure 4. The experimental setup used for calculation of the subject radius through image processing and link orientation determined using IMU sensors during the movement.
Figure 4. The experimental setup used for calculation of the subject radius through image processing and link orientation determined using IMU sensors during the movement.
Applsci 14 02974 g004
Figure 5. Sample raw test sheet.
Figure 5. Sample raw test sheet.
Applsci 14 02974 g005
Figure 6. The Shimmer sensors attached to the subject links to measure link orientation.
Figure 6. The Shimmer sensors attached to the subject links to measure link orientation.
Applsci 14 02974 g006
Figure 7. The image analysis protocol used to calculate the radius of the drawing: a raw test sheet is depicted in (a), a sample of the drawn path on the test sheet is given in (b), and the image processing algorithm utilized to identify the radius of the drawn path is illustrated in (c).
Figure 7. The image analysis protocol used to calculate the radius of the drawing: a raw test sheet is depicted in (a), a sample of the drawn path on the test sheet is given in (b), and the image processing algorithm utilized to identify the radius of the drawn path is illustrated in (c).
Applsci 14 02974 g007
Figure 8. The detected initial, center, and way points of a sample drawing are respectively highlighted with green, red, and yellow colors.
Figure 8. The detected initial, center, and way points of a sample drawing are respectively highlighted with green, red, and yellow colors.
Applsci 14 02974 g008
Figure 9. The image processing results of radius calculation. The start, via, and final points of the drawing are each represented by lines in green, yellow, and red colors, respectively.
Figure 9. The image processing results of radius calculation. The start, via, and final points of the drawing are each represented by lines in green, yellow, and red colors, respectively.
Applsci 14 02974 g009
Figure 10. The joints Euler angles for the circle drawing task.
Figure 10. The joints Euler angles for the circle drawing task.
Applsci 14 02974 g010
Figure 11. Norm of the force difference ( δ ) of ANFIS method compared to a constant value during the circle drawing path.
Figure 11. Norm of the force difference ( δ ) of ANFIS method compared to a constant value during the circle drawing path.
Applsci 14 02974 g011
Figure 12. The norm of the force difference ( δ ), as depicted in Figure 11, is shown with a detailed view between the 0.4 and 0.8-second interval. The objective is to conduct a detailed examination of the force difference.
Figure 12. The norm of the force difference ( δ ), as depicted in Figure 11, is shown with a detailed view between the 0.4 and 0.8-second interval. The objective is to conduct a detailed examination of the force difference.
Applsci 14 02974 g012
Figure 13. The human arm model in MATLAB environment.
Figure 13. The human arm model in MATLAB environment.
Applsci 14 02974 g013
Figure 14. The musculoskeletal arm model in MATLAB environment.
Figure 14. The musculoskeletal arm model in MATLAB environment.
Applsci 14 02974 g014
Figure 15. Performance of the ANFIS structure for the reaching movement. The locations (A–D) represents the arm-end points during the reaching movement.
Figure 15. Performance of the ANFIS structure for the reaching movement. The locations (A–D) represents the arm-end points during the reaching movement.
Applsci 14 02974 g015
Table 1. The muscle model parameter values based on [29].
Table 1. The muscle model parameter values based on [29].
# MuscleValue (m)
l 1 m 10 = 0.055 , m 11 = 0.08
l 2 m 20 = 0.055 , m 21 = 0.08
l 3 m 31 = 0.03 , m 32 = 0.12
l 4 m 41 = 0.03 , m 42 = 0.12
l 5 m 50 = 0.04 , m 52 = 0.045
l 6 m 60 = 0.04 , m 62 = 0.045
l 7 m 72 = 0.035 , m 73 = 0.01
l 8 m 82 = 0.05 , m 83 = 0.01
l 9 m 91 = 0.04 , m 93 = 0.01
Table 2. Kinematic and dynamic parameters of the developed arm model based on [29].
Table 2. Kinematic and dynamic parameters of the developed arm model based on [29].
WristElbowShoulder
Inertia (kg·m2)0.0010.0120.141
Mass (kg)0.351.321.93
Mass center (m)0.0750.1350.165
Length (m)0.150.270.31
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.

Share and Cite

MDPI and ACS Style

Gungor, G.; Afshari, M. Sensorimotor Control Using Adaptive Neuro-Fuzzy Inference for Human-Like Arm Movement. Appl. Sci. 2024, 14, 2974. https://doi.org/10.3390/app14072974

AMA Style

Gungor G, Afshari M. Sensorimotor Control Using Adaptive Neuro-Fuzzy Inference for Human-Like Arm Movement. Applied Sciences. 2024; 14(7):2974. https://doi.org/10.3390/app14072974

Chicago/Turabian Style

Gungor, Gokhan, and Mehdi Afshari. 2024. "Sensorimotor Control Using Adaptive Neuro-Fuzzy Inference for Human-Like Arm Movement" Applied Sciences 14, no. 7: 2974. https://doi.org/10.3390/app14072974

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop