Next Article in Journal
Fusing Artificial Cell Compartments and Lipid Domains Using Optical Traps: A Tool to Modulate Membrane Composition and Phase Behaviour
Next Article in Special Issue
High-Speed Manipulation of Microobjects Using an Automated Two-Fingered Microhand for 3D Microassembly
Previous Article in Journal
Conductance Tunable Suspended Graphene Nanomesh by Helium Ion Beam Milling
Previous Article in Special Issue
A Robotic Biopsy Endoscope with Magnetic 5-DOF Locomotion and a Retractable Biopsy Punch
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Motion and Trajectory Constraints Control Modeling for Flexible Surgical Robotic Systems

by
Olatunji Mumini Omisore
1,2,*,
Shipeng Han
3,4,
Yousef Al-Handarish
1,4,5,
Wenjing Du
1,2,
Wenke Duan
1,2,
Toluwanimi Oluwadara Akinyemi
1,4,5 and
Lei Wang
1,2,*
1
Research Centre for Medical Robotics and MIS Devices, Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences, Shenzhen 518055, China
2
CAS Key Laboratory for Health Informatics, Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences, Shenzhen 518055, China
3
Institute of Microelectronics, Chinese Academy of Sciences, Beijing 100007, China
4
University of Chinese Academy of Sciences, Shenzhen 518055, China
5
Shenzhen College of Advanced Technology, University of Chinese Academy of Sciences, Shenzhen 518055, China
*
Authors to whom correspondence should be addressed.
Micromachines 2020, 11(4), 386; https://doi.org/10.3390/mi11040386
Submission received: 13 March 2020 / Revised: 30 March 2020 / Accepted: 3 April 2020 / Published: 7 April 2020
(This article belongs to the Special Issue Microrobotics for Biological, Biomedical, and Surgical Applications)

Abstract

:
Success of the da Vinci surgical robot in the last decade has motivated the development of flexible access robots to assist clinical experts during single-port interventions of core intrabody organs. Prototypes of flexible robots have been proposed to enhance surgical tasks, such as suturing, tumor resection, and radiosurgery in human abdominal areas; nonetheless, precise constraint control models are still needed for flexible pathway navigation. In this paper, the design of a flexible snake-like robot is presented, along with the constraints model that was proposed for kinematics and dynamics control, motion trajectory planning, and obstacle avoidance during motion. Simulation of the robot and implementation of the proposed control models were done in Matlab. Several points on different circular paths were used for evaluation, and the results obtained show the model had a mean kinematic error of 0.37 ± 0.36 mm with very fast kinematics and dynamics resolution times. Furthermore, the robot’s movement was geometrically and parametrically continuous for three different trajectory cases on a circular pathway. In addition, procedures for dynamic constraint and obstacle collision detection were also proposed and validated. In the latter, a collision-avoidance scheme was kept optimal by keeping a safe distance between the robot’s links and obstacles in the workspace. Analyses of the results showed the control system was optimal in determining the necessary joint angles to reach a given target point, and motion profiles with a smooth trajectory was guaranteed, while collision with obstacles were detected a priori and avoided in close to real-time. Furthermore, the complexity and computational effort of the algorithmic models were negligibly small. Thus, the model can be used to enhance the real-time control of flexible robotic systems.

1. Introduction

The da Vinci surgical robotic system, introduced two decades ago, has given rise to a rapid paradigm-shift in minimally invasive surgery (MIS). Recently, flexible prototypes have been developed by emulating bio-inspired creatures for robot-assisted diagnostic, surgical, and therapeutic procedures [1]. While robotic mechanisms with soft actuation and deformable joints are generally used in the context of flexible robotics, rigid serial-link robots have also been proposed and adapted to enhance MIS procedures that involve intrabody and intraluminal navigations [2]. While the robots are capable of flexible intrabody movements in certain human cavities, links in the prototypes that have redundant parts can be utilized for effective obstacle and singularity avoidance by using operative kinodynamics model [3,4]. Some existing surgical robotic systems, such as Zeus and da Vinci robotic platforms, adopt parallel-link design mechanisms for flexible access during surgical interventions. While navigating the parallel mechanisms requires passive control systems, recent advances in flexible MIS have shown that serial-link prototypes, such the da Vinci® Sp (Intuitive Surgical, Sunnyvale, CA, USA) and Flex Robotic (Medrobotics Corp., Raynham, MA, USA) surgical systems, can perform MIS. Flexible prototypes are designed for a fast, safe, and precise stratagem needed for intrabody navigation during surgery interventions in confined anatomical areas of the human body. Some recent advancements regarding MIS and single-port orifical surgery were documented in Simaan et al. [4]. In addition, Simaan et al. [5] discussed MIS robots that were designed with unique features for the elimination of abdominal or rectal wall aggression and a reduction of postoperative trauma. However, a major issue is the lack of motion and force constraints, which hinder the effective control of the multisegmented robots during flexible access surgery.
Applications of flexible robotic systems with snake-like parts is still in its infancy for MIS. The existing prototypes utilize discrete or continuous joint mechanisms for navigation. Hence, safe and efficient clinical procedures with a flexible robot requires precise constraint models for motion and teleoperation control [6]. This involves the development of timely and accurate kinematics and dynamics models to enhance the precise point-to-point navigation of flexible robotic systems for intrabody manipulation [7]. In teleoperated surgery, the transmission of force feedback between the surgeon and surgical room requires the availability of reliable force data and protocol communication. Su et al. [8], proposed using a neural network for bilateral teleoperation with an enhanced robot tool identification and calibration. Constraints control modeling in flexible robotic mechanisms requires the intricate simultaneous analysis of the robot’s links and its workspace. The presence of multiple degrees of freedom (DoFs) in flexible robots enhances the dexterity of the robot’s links with snake-like navigation along flexible paths. However, this inordinateness leads to link or joint redundancy with the existence of more DoFs than what is needed to reach different manipulable areas in a low-dimensional space. Thus, developing a holistic motion control system is required for navigation using a flexible robotic mechanism in its operational work area. This involves designing timely and accurate kinematic and dynamic constraints with an effective path analysis for obstacle detection and avoidance during point-to-point navigation. Concerns are being raised regarding the acceptance and application of flexible robotic systems due to a lack of the appropriate and precise models required for the constraints control of flexible robots during MIS. Recently, Su et al. [9] developed an improved constraint control system with a human–robot collaborative model for the teleoperation of a redundant MIS robot. The control system includes an integrated compensator models for the enhancement of surgical precision at the tooltip, and to guarantee motion constraints. Similarly, several methods have been proposed, developed, and adapted for modeling the kinematics, dynamics, and teleoperation constraints control in flexible snake-like robots [1,4,5,6]. Nonetheless, research into coherent methods that can intelligibly combine the individual constraints control for the navigation of flexible surgical robots during intrabody operations still displays paltry progress [10]. To alleviate this, synergizing the kinematics and dynamics for modeling the required constraints control remains important open research. This is vital for the steady and consistent navigation of surgical robots along flexible and complex pathways.
Modeling kinematics and dynamic constraints without a loss of transparency and accuracy in master–slave surgical robots remains a challenging task and it has attracted research interests in recent years [6,11,12]. In general, kinematics resolutions basically involve defining apt relationships between the joint and Cartesian spaces of a robot. Forward kinematics (FK) involves modeling the coordinates of a robot’s links and end-effector based on a given joint vector, while the idea in inverse kinematics (IK) is to obtain the joint angles with which an end-effector of the robot can move along via-points of a trajectory. Since snake-like robots are kinematically redundant [6]; several methods have been proposed for achieving timely and accurate IK resolution [13]. Similarly, developing dynamic control models involves analyzing the disparities that occur between the motion and respective generalized forces at each joint of a robot. Lagrangian and Newton–Euler formulations are two conventional methods developed for dynamics modeling in serial-link robotics [14,15]. Variations of both methods have been reported in several works. Nonetheless, the high complexity and computation cost of each variant are common cons when used for high-DoF flexible robots [16,17]. Since joint forces are dependent on the physical limits of their actuators [18], the motion and force profiles of unique joints are investigated for point-to-point convergence of the robot during operation.
In this study, we designed a novel control system that could enhance both the motion and trajectory constraint control for the navigation of redundant snake-like robots along a flexible pathway during intraluminal surgery. To achieve this, a kinodynamics model was designed for solving the kinematics and dynamics of via-points established between the initial and target points on a surgical pathway, while a normalized cycloidal trajectory with boundary conditions was adapted for smooth and continuous point-to-option motion. Finally, the control system was enhanced with a switching method that decided alternative poses that were used to avoid collisions with obstacles. The main contributions of this study are:
(a)
The computational modeling of motion constraints for snake-like robotic navigation during flexible surgical access. The model was based on a geometry-based inverse kinematics approach and it was also improved for dynamics resolution, trajectory planning, and obstacle avoidance.
(b)
Development and implementation of the constraint models in motion and trajectory control software developed for the operation of flexible surgical robots.
The remainder of this paper is organized such that a brief review of studies on the design and control of flexible snake-like robots is presented in Section 2 and the structural design of a new prototype proposed for radiosurgical interventions is discussed in Section 3 along with the formulation of the kinodynamics and trajectory planning models proposed for the motion control of the flexible robot. The trajectory technique includes geometric modeling done for smooth and continuous navigation of the flexible robot and a collision avoidance scheme in cases of obstacle presence in the robot’s workspace. The simulation of the flexible robotic model and the implementation of the proposed control system are discussed along with the validation results from some case studies in Section 4. Finally, a conclusion of the study and directions for future work are briefed in Section 5.

2. Literature Review

Link flexibility and redundancy are vital features of continuum and snake-like robots, which makes them suitable in a wide range of surgical applications. A sizable number of flexible robotic prototypes have been designed following the introduction of the da Vinci robot and the recent advances in surgical interventions. In the earlier part of this millennium, a prototype for a highly dexterous snake-like robot was proposed for teleoperated surgery along the throat and upper airway, and it marked a vital point in adopting snake-like robots for flexible access surgery [19]. The integrated robotic platform is characterized by three-armed distally dexterous mechanisms that are designed for the manipulation of surgical devices in a confined space. The motivations for the surgical application of flexible robotic systems in humans and clinical trials lead to the commercialization of the Viacath snake-like robotic system (EndoVia Medical Inc., Norwood, MA, USA). The flexible surgical tool consists of a control platform that surgeons use to remotely manipulate the surgical instruments deep inside a patient’s body. After the acquisition of the system by Hansen Medical (Mountain View, CA, USA) in 2005, the Viacath system became one of the few dexterous surgical robots commercialized for single-port intraluminal interventions [20,21]. Furthermore, the application of a flexible robotic platform, described as a highly articulated flexible robot, was proposed for less invasive cardiac surgery. The robot has astounding features that are uncommonly found in conventional MIS robots [22]. As a proof of concept, models of the snake-like robot were developed for flexible percutaneous intra-pericardial interventions in Ota et al. [23] and Thakkar et al. [24]. Recently, Medrobotics Corp. (Raynham, MA, USA) developed a snake-like robotic system with flexible navigational access for hard-to-reach tissues in the mouth, throat, rectum, and colon during gynecological and thoracic procedures [25].
Teleoperation is a common technique that is being adopted for the manipulation of flexible surgical robots during MIS procedures. The teleoperation control standard requires effective underlying models for the fast, safe, and accurate navigation of a robot’s multiple links during flexible access surgery. Currently, the follow-the-leader approach has been proposed for motion modeling and control of flexible robotic systems, especially ones based on concentric tube and snake-like mechanisms [26]. The approach requires resolving kinematics of links in the robot’s lead module and transmitting the IK solution directly to subsequent modules for navigation via flexible pathways. Several IK models have been proposed for IK resolution in redundant robots [13]. These can be categorized into analytical-based solutions wherein algebraic methods are used to solve closed-form and geometric systems of equations, and numerical-based solutions that involve iteratively minimizing kinematics errors. A more detailed review has been presented in Seah et al. [6]. In general, algebraic methods involve the expansion of complex trigonometric equations due to high the transcendence in joint variables and symbolic expressions, while the existence of singular points in a robot’s workspace limits the latter. Precise motion control in multi-articulated robots requires consistent coordination of the different components driving the robotic links, camera(s) used for visualization, and surgical instruments. Dynamics control includes modeling timely and efficient methods for motion control, planning along a given trajectory, and computational analysis of the generalized forces acting on a flexible robotic system during surgery. In serial-link robots, Newton–Euler and Lagrangian formulations remain the basic techniques used for dynamics modeling [16,27], and several methods have been proposed based on them. For instance, in Saha [15], Bernoulli–Euler beam theory was utilized to analyze the effects of generalized forces in modeling the dynamic motion and control of a flexible robot. Newton–Euler formulations are recursive methods used for modeling generalized forces acting on a robot. This involves analysis of the robot’s motion profile with respect to coordinates of frames at the fixed-base and free-moving ends of the robot. The recursive Newton–Euler system of equation proposed in Luh et al. [14] was adapted in the efficient constraint models described for continuum robots in Ali [28].
Flexible-joint robots are now commonly used in different fields, including healthcare services. For this, Dong et al. [29] developed a force-free control model for a flexible-joint robot, and experiments were conducted to verify friction and gravitational force-free situations during human–robot interactions. Another study in a closer domain is the improved human–robot collaborative control scheme proposed for teleoperated MIS in Su et al. [8]. However, this study either did not investigate the motion and force profiles during point-to-point navigation or did in domains that were different from flexible robotic surgery. Nonetheless, the underlying techniques, for instance in References [14,30], can be adapted with respect to a robot’s structure, required navigation, and desired trajectory with a degree of dynamic stability during surgical procedures. In a recent study, efficient dynamic constraint modeling was presented for the effective control and teleoperation of flexible snake-like robots in Omisore et al. [30]. This model includes mapping the workspace of master and slave devices based on their kinematics resolution and adaptation of a higher other-motion profile for a direct analysis of the generalized forces acting on the robot’s joints. However, the IK approach can suffer from the singularity problem, and thus, the stability of the joint torques is not guaranteed. Furthermore, only the first two derivatives of the position data are utilized for the dynamic model. Generally, most studies on continuum and snake-like surgical robots do not give due attention to analyzing the motion/force interactions during flexible access surgery.
Besides kinematics and dynamics modeling, path and trajectory analyses are still open research points regarding the use of snake-like robots for flexible access surgery. This is said to be because link–obstacle interactions make it hard to generate an optimal trajectory in surgical areas cluttered with abdominal organs. Trajectory planning includes modeling smooth and shortest routes between two points in the robot’s workspace. In the last two decades, several algorithms have been proposed for trajectory analysis in robotics. Lozano-Perez [31] proposed a primitive method of path planning using an object’s pose as single points in the robot’s workspace. If objects are deemed as via-points of an end-effector, its consecutive pose information is sufficient for motion and trajectory planning. Angeles et al. [32] presented a trajectory planning method for motion along a continuous path in a robot’s configuration space. This requires specifying pose values of the robot’s end-effector using via-points as targets in the workspace. In Parsa et al. [33], an interpolating polynomial was used for the trajectory planning of a three-DoF manipulator such that smooth and jerk-free motion is steadily produced. Similarly, Dasgupta et al. [34] proposed a variational approach for path planning in hyper-redundant manipulators. Recently, Kuntz et al. [35] presented a sampling-based motion planner for flexible surgical robots based on its manipulations outside the body. Typically, most mechanisms consist of serially-connected modules that are capable of bending in unique planes. Liu et al. [36] designed an MIS pediatric surgical robot, with the latter having nine-DoF flexible robotic arms for dexterous interventions in a confined and narrow workspace. Another important aspect of the flexible robots designed for MIS is collision avoidance. Thus, Sun et al. [37] presented a safe motion planning method for an imprecise flexible robot by minimizing the collision probability. Similarly, EMG-based analytics is being adapted for robotics motion control and related teleoperation procedures, such as tool identification and calibration [38,39,40].
Similarly, artificial intelligence has been applied to solve motion constraints and trajectory planning problems in flexible robots. Agarwal [8] applied fuzzy C-means, an AI-based approach, for planning the trajectory of a four-DOF redundant manipulator. The clustering model was based on weighted within-scatter and between-cluster metrics for the robot, with a manipulability index taken as the performance criteria. Aside from fuzzy methods, models based on a neural network (NN) and a genetic algorithm were utilized for the trajectory control and analysis of flexible robots. The network provides fast methods for trajectory and path control. Chen et al. [41] designed a 3D neural model for a safety-enhanced trajectory in a workspace with the consideration of a minimum sweeping area. A memory neural network was used in Berni et al. [42] for the path optimization of a three-DoF robotic arm. Furthermore, artificial neural network approaches [6,43] are used in trajectory planning. For instance, a method based on Hermite was recently proposed for the motion planning and obstacle avoidance of serially redundant robots. Models based on genetic algorithm have been applied for generating a cubic interpolation polynomial, such as that given in Chen et al. [44]. The history of the task space trajectory was approximated and the interpolation points were obtained using the proposed genetic algorithm. Schmitz et al. [4] combined a genetic algorithm with a recorded suturing and anatomical data to control the four distal DoFs of a flexible robot over a predefined trajectory. Modeling obstacle avoidance for flexible robots with multiple DoFs is challenging; yet, a deep recurrent NN-based model was developed and investigated for a redundant serial-link robot in Xu et al. [45]. The recurrent network established the effective avoidance of static and dynamic obstacles. Recently, a vision-based obstacle avoidance approach was developed based on a sequential NN [46]. The study was focused on an aerospace application but similar models can be adopted for flexible robotic surgery. Furthermore, a neural-learning-based control model was proposed for constraints control robotic systems with flexible joints in He et al. [47]. A drawback of intelligent-based control systems is a requirement of training that hinders behavioral cloning. Since the control system is mainly used to navigate a robot under a planned motion sequence, such control systems might be impractical when used in a new setting. Furthermore, network-based techniques usually require objective methods for defining an optimal network topology. Thus, while designing and training a network takes time, learning requires a high amount of storage and control errors are unpredictable.
There is a great need to focus efforts on model-based motion and trajectory control models for the safe, precise, and collision-free navigation of snake-like robots. Harmonic potential functions were used to compute collision-free paths in redundant robots [48,49]; however, the approach may likely cause manipulators to be trapped in local minima. Parsa et al. [34] extended the use of an interpolating polynomial to generate a smooth path between initial and final points such that robot–obstacle collisions were avoided. A general formulation of a trajectory planner includes collision avoidance as a sub-problem. Thus, a better method is to plan the trajectory with index measures taken to maximize the robot’s manipulable area. A pragmatic observation regarding the reviewed studies shows that the intrabody navigation of snake-like robots requires constraints modeling for efficient kinematic and dynamic control, optimal trajectory planning, redundancy resolution, and singularity and collision avoidance for safe intrabody navigation [4]. While most authors usually focus on modeling each of those constraints individually, some groups of robotics researchers have developed control systems that include both kinematic and dynamic models. Similarly, stipulations for optimal trajectory analysis and collision avoidance have also been considered but there are only a few examples of this. Therefore, the development of motion control systems with modular interfaces for inclusiveness and the concurrent operability of each constraint model is still lacking across all existing studies.

3. Robotic Design and Motion Control System

3.1. Design of the Flexible Snake-Like Robot

The snake-like robotic design, presented in Figure 1, is part of a developmental study proposed for the intrabody delivery of radiation doses during MIS radiosurgical gastrointestinal intervention. The flexible modular mechanism uses consecutive links and orthogonally paired joints for point-to-point navigation of its end-effector along a given pathway. Each module has a pair of links connected by a rotational actuator, which is connected to the subsequent module by another rotational actuator. That is, paired-links within each module are a set of proper and connecting links. Proper links are characterized by having a long length and two end-caps fixed at both ends for connection with the shorter connecting links. Each rotational joint is driven by an actuator with a brushless DC micro made-up of a rotor and stator. The flexible robotic mechanism is directly connected to a mobile base built with a chassis platform and casters. Interventional tasks involve steering the flexible mechanism with serpentine poses that can be fitted for intrabody navigations. In this study, the control procedure was built by taking a unique P n R configuration of the robotic model. This includes the prismatic joint, which controls the translational motion of the robot’s end-effector, and separate analyses were carried out to solve the motion constraints of the n-DoF revolute joints. The remaining parts of this section are focused on modeling an all-inclusive control system for the motion and trajectory control of a typical P n R snake-like robotic model. For this purpose, kinematic and dynamic constraints models were first developed for point-to-point motion control of the flexible robot, then a trajectory model was developed for smooth navigation and that avoids collisions with obstacles detected in the robot’s workspace.

3.2. Kinodynamics Modeling

Following the operational flow of the control systems presented in Figure 2, modeling the kinodynamics of the flexible snake-like robot was approached by designing fast and accurate kinematic and dynamic models for solving the motion constraints of the robot. Kinodynamic models are typically based on models derived for the constraints control of the robot, as explained below.

3.2.1. Kinematics Constraints Resolution

Kinematic constraints resolution involves the derivation of a fast and accurate model for transforming Cartesian space to joint space, which is necessary for motion control in robotics. Kinematics resolution is vital for the point-by-point motion of a flexible surgical robot, and FK has been widely solved using direct frame translation and Denavit–Hartenberg (DH) conventions. Thus, our focus was to derive the IK modeling in this study while the DH matrix in Equation (1) adopted FK, where T e ( θ ) is the cumulative product of the transformation matrices from the base joint of the robot to the nth joint over a given set of joint variables: θ = [ θ 1 ,   θ 2 ,   ,   θ n   ] :
T ( θ ) = i = 1 n ( c o s θ i s i n θ i c o s α i s i n θ i c o s θ i c o s α i s i n θ i s i n α i a i c o s θ i c o s θ i s i n α i a i s i n θ i 0   s i n α i 0   0   c o s α i   d i 0     1   ) .
The first link slides in and out horizontally along the z-axis of the flexible arm’s base frame, while the remaining links are revolute joints. The second link has an orthogonal joint, which has a frame rotation that is perpendicular to both the base frame and the subsequent links. Finally, all other links are connected using an orthogonal twisted joint starting from the first proper joint. Following the geometric method in Su et al. [9], the last n−2 DoFs are made to rotate in a single rotation axis. The IK method for obtaining the robot’s joint vector for given target points are derived as follows:
(a)
Determination of the Joints’ Positions
Given a target position P T 3 x 1 as a point in 3D coordinates, we assumed a fixed value for the prismatic joint since it does not affect the serpentine movements of the snake-like robot. Then, the angle at the first revolute joint ( φ ) is computed with Equation (2). This puts the second revolute joint in a diagonal direction relative to the target point ( P T ), where { a , b , c } are vertices of a triangle formed by coordinates of the first and second revolute joints, and the reflection of P T on the XY-axis respectively; A is area of b a ^ c .
φ = ±   [ 2 a t a n 2 ( 4 A ,   ( b + c ) 2 a 2 ) ]
Knowing φ , the coordinates of second revolute joint ( P R 2 ) can be computed as the ratio of a vector ( V x , y , z ) that reaches P T as in Equation (3), where: V x , y = [ P T ( x , y ) + P R 1 ( x , y ) ] T and L 2 is the length of the second link. Furthermore, s g n ( P R ( x ) ) is always positive, but s g n ( P R 2 ( y ) ) = s g n ( P T P ( y ) ) . The minimum assumption for the existence of a solution is that the distance between P R 2 and P T l i , s . t . l i   = sum of length of the remaining links. To calculate the positions of other joints, P R 2 and P T are transformed to a 2D space using Equation (4), where P R i is the coordinate of ith intermediate joint in 2D, and ε is the error loss derived in Omisore et al. [13]:
P R 2 = [ L 2 j = 1 m L j a b s ( V x , y ) d 1 ] T ,
P R i 2 x 1 = [ P R i ( x ) 2 + P R i ( y ) 2 P R i ( z ) ] T + ε .
Navigation of the remaining four links can be viewed in a planar XY/Z axis. These links can be sub-divided as two equidistant two-link mechanisms whose common joint is a mid-point selected arbitrarily along the ash line with height h , as typified with blue lines in Figure 3a. By varying the coordinates of the mid-point ( P R 4 ), the locations of the virtual points P R 3 and P R 4 change with the base angle; thereby, the two two-link mechanisms ( P R 2 ,   P R 3 , P R 4 ) and ( P R 4 , P R 5 ,   P T ) can attain diverse poses, as shown Figure 3b. Vertices locations for any of the poses can be obtained with the triangulation expressions in Equations (5) and (6). The base angle ( σ ) is computed such that each mechanism forms an isosceles triangle, while d and l are the length of either of the isosceles sides of the triangle and the length of the base side, respectively.
P R i 2 x 1 = P R 2 + ( l [ c o s ( σ ) s i n ( σ ) ] )
σ = c o s 1 (   d 2 2 d l )
θ i = a t a n 2 ( P R i     P R i ,     P R i   ʘ   P R i )
(b)
Computation of Joint Angles
Since the prismatic offset ( ) depends on the prismatic joint, and the equation for φ was already given in Equation (2), the remaining joint angles { θ 1 , ,   θ 4 } are computed as angular displacements between consecutive locations of joint pairs in the XY/Z axis. Suppose the coordinates of the tip of the ith link is P R i when θ i 1 = 0 such that the needed angle θ i that ensures the tip is at P R i is given as Equation (6), where { a b ,   a   ʘ   b } are cross and dot products between the vectors, respectively. P V R i is derived from the FK of the previous i−1 joint angles, and setting a value of θ i = 0. Further, P V R i and P V R i are normalized with respect to a common origin P V R i 1 . Finally, the joint angles { ,   φ ,   θ 1 , θ 2 ,   θ 3 ,     θ 4 } is an inverse kinematics solution that is needed to drive the flexible robot to the given target point P T in the robot’s workspace.

3.2.2. Dynamics Resolution

The motion or path-tracking ability of the robot can be designated as a measure of how optimal motion and generalized forces are ensured in all parts (links and joints) of the robot. A compact model with partial derivatives of the non-linear motion variables was built to analyze the dynamic constraints of the snake-like robot during flexible path navigation. The recursive model is a new variant of the Newton–Euler’s approach in Luh et al. [11]. Considering the translational and rotational joint mechanisms of the snake-like model in Figure 1, the generalized forces acting on the link can be approximated using the state-space dynamics given in Equation (8), where τ e 6 × 1 is the actuator torque; M ( θ ) 6 × 4 is a symmetric and positive definite matrix for the robot’s inertia; C ( θ , θ ˙ ) 6 × 1 is a vector containing centrifugal and coriolis terms; G ( θ ) 6 × 1 is a vector for the moment due to gravity; and θ ˙ and θ ¨ are higher motion variables, i.e., velocity and acceleration, respectively, for the joint:
τ e = M ( θ ) θ ¨ + C ( θ , θ ˙ ) + G ( θ ) .
The state-space system in Equation (8) can be used for both forward and backward recursions to obtain the generalized forces at the robot’s joints. In the former, the higher motion variables are computed up to acceleration at the last link. This involves maneuvering the frames attached to each joint, i.e., from the base link up to the last link in the robot. On the other hand, generalized forces at each joint are modeled using the backward recursion. Thus, direct evaluations of the state-space system in Equation (8) are done in forward and backward recursions. Considering L j in Figure 4 as an arbitrary link having its center of mass at C j , if u j is a vector at joint j to joint k ( k = j + 1 ) and aligns with L j in magnitude and direction, u j can be described with respect to frame i at the robot’s base ( i = j 1 ) . Thus, the forward kinematic model is obtained with the generalized DH matrix by taking a j ,   θ j ,   α j , and d j as parameters of link L j in Equation (1). Since the coordinate systems of frames attached to the robot’s links are orthonormal, any arbitrary point r j along vector u j in frame k can be defined with respect to frame j using the relation ( r   j j , k ) , as given in Equation (9), where R   i j T   and P   i j are obtained using Equations (10) and (11), respectively:
r   i j , k = R   i j T ( P   i j ) = [ a j d j s i n ( α j )   d j c o s ( α j ) ] ,
R   i j = [ c o s ( θ j ) s i n ( θ j ) c o s ( α j )   s i n ( θ j ) s i n ( α j ) s i n ( θ j )   c o s ( θ j ) c o s ( α j ) c o s ( θ j ) s i n ( α j ) 0 s i n ( α j ) c o s ( α j ) ] ,
P   i j = [ a j cos ( α j ) a j s i n ( α j )   d j ) ] .
During navigation, the motion of any link in the snake-like robot is assumed to completely depend on the kinematic resolutions of all subsequent links from the fixed base. Thereby, given that θ   j i = 1 , , n is the IK solution obtained for link L j along a given path, the velocities and accelerations of the link can be defined as time derivatives of the joints’ positions along the trajectory. Thus, the Newton–Euler equations can be used to determine the generalized forces acting on each link in the forward and backward recursions. Models of both forward and backward recursions are derived as presented in the following subsections.
(a)
Forward Recursion
Since the initial velocity and acceleration of the base link are assumed, the higher motion variables at the robot’s joints are propagated outward from the base link up to the last link while navigating the robot. During the motion, the values of the variables are computed using Equations (12)–(16):
ω   j j = { R   i j T ω   i i     J 1       R   i j T ( ω   i i + θ ˙ j z ^ o )   J i = 2 , , n ,
ω ˙   j j = { R   i j T ω ˙   i i     J 1       R   i j T ( ω ˙   i i + θ ¨ j z o + θ ˙ j ω   i i × z ^ o )   J i = 2 , , n ,
ρ ¨   j j = { R   i j T ( ρ ¨   i i + ɗ ¨ j ) + 2 ɗ ˙ j ω   i i × R   i j T z ^ o + ω ˙   i i × r   j i , j + ω   i i × ( ω   i i × r   j i , j )   J 1 R   i j T ρ ¨   i i + ω ˙   j j × r   j i , j + ω   i i × ( ω   i i × r   j i , j )   J i = 2 , , n ,
ρ ¨   j C j = ρ ¨   j j + ω ˙   j j × r   j j , C j + ω   i i × ( ω   i i × r   j j , C j ) ,
ω ˙   i m j = ω ˙   i i + ƙ r , j θ ¨ j z ^   i m j + ƙ r , j θ ˙ j ω ˙   i i × z ^   i m j ,
where ɗ ˙ , ɗ ¨ j , ω j , ω ˙ j , and ρ ¨ j are the linear velocity, linear acceleration, angular velocity, angular acceleration, and linear acceleration of a jth frame in the robot’s joints; ρ ¨ c j is the linear acceleration of the center of mass of link j; ω ˙ m j is the angular acceleration of a rotor in the motor at the jth joint; ƙ r , j is the gear reduction ratio of the motor; r i , j is a vector from the origin of frame i to frame j; r j , C j is a vector from the origin of frame j to the center of mass C j ; z ^ o = [ 0 0 1 ] T is a constant vector; and z ^ m j is a unit vector used to describe the rotation axes of the rotor in jth motor with respect to an ith frame.
(b)
Backward Recursion
Conversely, a given terminal force and moment, which is expected to act on the last link of the robot, are propagated inward from the last link down to the base link to compute the forces and moments acting on the initial links. In this step, results obtained for each link during the forward recursions are applied to determine the force ( F j ) and moment ( M j ) given in Equations (17) and (18), respectively, during backward recursions, where m j and Ɨ ¯ j are the mass and moments of inertia taken at C j , respectively, and are aligned with the output coordinate system of link j; Ɨ m k is the moment of inertia of the rotor in the motor at the jth joint; and τ j is the torque acting on the jth joint. In the final equation of the dynamic constraints model, the resultant generalized forces, otherwise taken as torque acting at the initial joints, are computed using Equation (19). For faster dynamics analysis during control navigation of the flexible robot, only one frame transformation is utilized for forward and backward recursions, unlike in Luh et al. [11]. However, frictional forces acting at the robot’s joints are not considered in this study.
F   j j = m j ρ ¨   j C j + R   j k F   k k
M   j j = 2 ( ω   j j × ( Ɨ ¯   j j ω   j j ) ) F   j j × ( r   j i , j + r   j j , C j ) + R   j k M   k k + ƙ r , k θ ¨ k Ɨ m k z ^   j m k + Ɨ ¯   j j ω ˙   j j + ƙ r , k θ ˙ k Ɨ m k ω   j j × z ^   j m k
τ j = { F   j j R   i j T z ^ o + ƙ r , j Ɨ m j ω ˙   i m j T z ^   i m j     J 1       M   j j T R   i j T z ^ o + ƙ r , j Ɨ m j ω ˙   i m j T z ^   i m j   J i = 2 , , n

3.3. Trajectory Planning and Obstacle Avoidance

The motion planning in flexible robotic systems is concerned with modeling an effective trajectory model that can steer the robot’s links from an initial point to a desired position in the robot’s operational workspace. Usually, motion planning involves finding an optimal trajectory in which certain via-points are generated for point-to-point navigation of the robot under a pre-defined motion profile. Since the links’ trajectories cannot be easily predicted in advance and may cause collisions with the obstacles present in the workspace, obstacles avoidance is another crucial area of motion planning and constraints control in flexible robotic systems. To this end, the kinodynamic constraints models were further refined to ensure a continuously smooth point-to-point navigation. Kinematic redundancy in such robots aids motion flexibility; thus, we take it as a ploy to detect and avoid collision with obstacles in the operational space during flexible navigational access [24].

3.3.1. Motion Trajectory Planning

In flexible robotics, trajectory planning manages the computation of an interpolating sequence of desired via-points through which a robot’s end-effector can only be restricted to certain regions of interest [42]. Both the case of path analysis and navigation from an initial point through a sequence of points to a final point are vital for flexible route access during intrabody robotic surgery. Thus, the first task in motion trajectory planning is to define an optimal path, i.e., the shortest obstacle-free route between initial and final points, a robot will navigate. In path analysis, the shortest route between two points in a workspace is a straight line joining the points with a vertical, horizontal, or diagonal movement. Hence, given two points { P i , P j } as initial and target points in the manipulable area of a robot, its default path navigation can be parametrically given as Equation (20) if p δ x , δ y , δ z = P i P j , where { P i ,   P j ,   P i P j } n x 1 :
P a t h m = P i x , y , z + p δ x , δ y , δ z .
Since the movement with p δ x , δ y , δ z is taken to produce a typical point-to-point motion, it is only considered optimal in an obstacle-free workspace. Thus, this path navigation strategy utilizes a set of the robot’s poses to move from a point P i to point P j in a free workspace. The poses are determined in the configuration space with respect to the robot’s geometric constraints. For efficient obstacle avoidance, the constraints control method could get the robot stuck, or abruptly change the motion profile of some links in the mechanism. This can damage a robot’s actuators. To avoid both scenarios, a multi-segmented path can be generated for trajectory planning. This will help to avoid jerks during the motion. In this study, a cycloidal trajectory is applied for steady and continuous motion. Analytically, if the flexible robot has to produce a motion by navigating through n via-points in T   (s), the normalized profile of the motion’s trajectory, viz. the position and the first two higher orders of the robot’s motion, can be derived using Equations (21)–(23):
q N ( t ) = ( t i t 0 T ( 1 2 π s i n 2 π τ ) ) P i P j ,
q ˙ N ( t ) = ( 1 c o s 2 π τ ) P i P j ,
q ¨ N ( t ) = ( 2 π   s i n 2 π τ ) P i P j .
The time taken to navigate the segment is obtained by scaling τ by a factor λ = T and translating with respect to the initial motion time. Thus, displacement of the jth joint for the ith segment can be defined as Equation (24), where t i is the time taken to navigate the ith segment:
θ j ( t ) = θ j i + ( ( θ j f θ j i ) q N ( t ) ) .

3.3.2. Obstacle Detection and Avoidance

A more complex scenario is path tracking in the presence of an obstacle(s). This scenario could be one where the obstacles intersect the straight-line or limits the freedom of one or more of the robot’s links. Modeling the path as a straight line becomes infeasible in the first case; instead, the path is modified to thread the convex hull [50] of the obstacle. This is not a typical problem in articulated arm robots unlike the latter case where obstacles could limit the operation of some links, thereby deflecting the robot’s path threading. As shown in Figure 5, the presence of obstacles in the workspace requires further analysis to obtain possible motions for each link in the snake-like robot. For this purpose, the IK model in Section 2 was enhanced with strategies for obstacle collision detection and avoidance.
(a)
Collision Detection
Optimal mid and virtual points are needed to achieve a stable and collision-free point-to-point motion. Collision is analyzed in Figure 5a using a unique rotation axis of the robot’s links in the workspace. The internal organs in the human body are taken as obstacles during MIS procedures. In this study, polyhedral objects are generated in the robot’s workspace, as shown in the 3D view. Since the robot’s last four links have a unique operational plane whose orientation depends on the respective offset and angle φ of each of the first two links, during each stepwise movement, only a polygonal area of the polyhedral obstacles that falls onto the operational plane is required for collision detection. While the via-points of a desired trajectory are sequentially set as input for motion planning and control, the probability of collision ( P o C l , k ) between lth link of the robot’s with any kth obstacle in the workspace is determined using Equation (25). In the analytical method, it is assumed that each link and each obstacle in a manipulable area of the robot’s workspace are circumscribed in unique circles along a rotation axis of the lth link, where : k X l X i , and [ r l ,   r o ] are independent radiuses of the links and obstacles in the workspace, respectively.
P o C i , k = { i f   ( ( ( x ) 2 + ( y ) 2 + ( z ) 2 ) r l i )   r o 1                                                         e l s e                                                                                               0
(b)
Collision Avoidance
A collision-free path in a plane means that all parts of each robot’s links are at a safe distance away from all polygonal obstacles in the plane. Thus, for the robot’s links to move from T 1 to T 2 in the presence of obstacles in an operational plane, all possible values for the midpoint P R 4 and the virtual points required to reach T 2 are determined using the IK model. For P o C l , k > 0 , the position of P R 4 along h is modified to ensure all parts of the links will not be in contact with the polygonal area of the obstacles for a point-to-point motion. Collision probabilities ( P o C l , k ) for all sets of the mid-point and corresponding virtual points that could move the robot’s effector across the via-points are drawn into an array. Each P o C l , k is a total value defined over all the links (n-DoF) and obstacles, where this is done for all poses (IK solutions) with which the flexible robot can achieve a movement P i P j . Thus, all are P o C l , k ranked, the optimal tuple is selected as the one with the lowest P o C l , k value, and the associated IK solution is utilized for the P i P j movement in the operational plane. Examples of this case are the ash and red poses in Figure 5b. In cases with more than one obstacle, all P o C l , k values could be greater than 0 where collision is just from a single link. Thus, the angle of the first revolute joint ( φ ) is re-computed to change the operational plane, viz. the black pose in the figure.

4. Implementation and Validation Results

In this study, a typical P n R (n = 5) prototype of the snake-like robotic model in Figure 1 was simulated with the Robotics Toolbox [51] in Matlab (MathWorks, Inc., Natick, MA, USA). The flexible robot had six inter-connected links and was capable of spatially flexible and dexterous motion. The robotic model’s DH parameters were chosen such that the first link (connected via prismatic joint) had a length of 100 mm and a maximum joint offset ( ɗ ) of 2 mm, while the remaining five links were connected via revolute joints. Each of the latter was made up of a proper link (53 mm in length) and an interconnecting link (11 mm in length) connected with a dummy joint; thus, a unique length of 64 mm in total. While only the first two links connected with a revolute joint had an orthogonal joint (thus, their rotation axes were perpendicular to those of the neighboring links), the last four links had a unique rotation axis. To validate the proposed control system using the P 5 R snake-like robot, each of the constraint models developed in Section 3 was implemented as part of a motion and trajectory control software, as shown in Figure 6. The control system had two basic modules, which were developed for motion and trajectory control of the flexible snake-like robot. The motion control module consisted of snippets that executed the kinematic and dynamic constraints control using the kinodynamic models in Section 3.2. Furthermore, the trajectory control module included the pre-coded procedures for executing the motion trajectory planning and obstacle avoidance models in Section 3.3. The software was built on the publicly available Robotics Toolbox [44] and it had a separate module for configuring different models of the flexible snake-like robots. The modules were designed with several buttons and input boxes for user interaction and conducting in silico simulation studies for the flexible robot.
Simulation of the robotic prototype and implementation of the control system, including the constraints models, were carried out using the Robotics Toolbox in the Matlab environment installed on a PC with an Intel® Core i3 duo processor (2.40 GHz each) and 2 GB RAM. An in silico experiment was set up to validate the control system based on vital objectives, such as navigation accuracy, execution time, and path reachability, when each of the constraints’ models were sequentially executed for path navigation exercise. In the study, the simulated P 5 R snake-like robot was to navigate along an arbitrary circular path that consisted of n points that were equally spaced in an X-Y plane but tilted along a corresponding z-axis. Coordinates of each data point were parameterized using Equation (26):
( x 19 ) 2 + ( y 2 ) 2 + ( z 13 ) 2 = 10 .
The control study was followed with sequential execution of the models for kinodynamic constraints and trajectory tracking in an attempt to ensure a collision-free point-to-point navigation. The number of data points were varied over three different trials, and coordinates of the data points were iteratively set as the target point in each trial.
Finally, it was observed that the proposed control system navigated the flexible snake-like robot around the three circular paths with highly accurate kinematics and a fast dynamics resolution during the point-to-point navigation, and the collision-free potential of the control system was also guaranteed. Detailed results obtained from each of the kinematics, dynamics, trajectory planning, and collision avoidance algorithms are presented below.

4.1. Results of the IK Model

The operation of the flexible snake-like robot used to navigate a desired trajectory started with setting coordinates of each via-point in the circular path as an input of the proposed geometric IK model. This part of the program computed appropriate joint angles with which the robot tip could be positioned at each via-point in the path. Each navigation scenario had different number (n) of via-points, and the joint vectors obtained with the IK model were used to navigate the robot’s last link through the via-points. The poses obtained for the three scenarios (n = 1, 10, and 20) are shown in Figure 7a–c. A major objective was simultaneously solving the IK in a very accurate and fast manner for timely online motion control. For accuracy, limited axial offsets could be tolerated between the desired points along a path and the actual points the robot could reach when using the IK solution. The kinematic model was first validated with error offsets during each circular path tracking trial. The kinematic error values were obtained as the difference between the axial values of each data point and the corresponding actual point obtained using the IK model. We applied forward kinematics to determine the actual coordinates of the last link’s tip when the joint angles computed by our proposed method were set as the input.
A comparison between the desired via-points and the actual points obtained when the geometric IK technique was used during the circular path tracking is presented as Figure 7d. The blue and red points are the desired via-points generated using Equation (11) and the actual points computed from the IK model, respectively. By analyzing the kinematic results obtained when the 3D circular paths were tracked by the flexible robot, it was observed that the IK model had accurately reached more than 90% of all points in the circular path with 100 via-points; that is, n = 1. With a kinematics error threshold of 1 mm, an average kinematics error of 0.37 ± 0.36 mm was obtained from the 100 points with a 92% reachability. Besides the error offset analysis, the performance of the kinematic constraint model was also observed in terms of the model’s run-time taken to resolve the IK for each point. The run-time was the average execution time the model took to compute the IK of a single point over all the points in each circular movement. The geometric IK method had a maximum average response time of 0.061 s over all three trials. This was significantly close to zero relative to the time taken to reach each point in the six-link robot’s workspace. To the best of our knowledge, there exists no single method that has solved the IK of such a modular configuration with both a high accuracy and a short computational time simultaneously.

4.2. Result of the Dynamics Model

During the point-to-point navigation, the displacements of all joints in the robot were taken from the geometric IK model and set as the input of the recursive Newton–Euler model. The higher-order motion variables of the robots, namely velocities and accelerations, were computed and utilized in forward and backward recursions of the dynamics model to determine the generalized forces acting on the robot’s links. To ensure consistency between the simulated and real prototype of the robot, a compact and miniaturized design of the snake-like robot was parameterized using Solidworks® 2016 (Dassault Systems Solidworks Corp., Waltham, MA, USA). This involved estimating the dynamic parameters of the cylindrical links with hollowed holes and pre-designed joints. The dynamic parameters, presented in Table 1, were obtained and employed for the implementation and validation of the recursive Newton–Euler model. The values were obtained with the links’ center of mass aligned with their corresponding output coordinate system in the Solidworks® environment. Furthermore, a constant mass density was assumed for each link, and their geometric centers were equally taken to be exactly each link’s center of mass. The joints of the robot were actuated using a Faulhaber® DC (Clearwater, FL, USA) micromotor with a rotor inertia of 5.7 g·mm2. With these, the simulated model of the robot’s links exhibited similar parameters as the proposed prototype. The computations started by deriving up to the second-order motion and force profiles using every consecutive joint position variable of the robot as it navigated the paths. For this purpose, the joint positions obtained during the execution of the kinematic model were differentiated to determine each joint’s velocity and acceleration while the corresponding forces at both terminal ends of the robot were obtained.
The latter was done by propagating zero initial velocities and acceleration outward from the stationary base link of the robot, while the terminal force and moment at the last link were set to zero. Thus, with other required parameters required by the dynamic model, the generalized forces acting at each joint of the robot during the point-to-point circular motion were computed as shown in Figure 8. It can be observed that the consecutive transitions of the robot’s joints over all the consecutive via-points were relatively steady for the last four revolute joints. This could be attributed to the highly accurate IK constraints with the resolution achieved in a timely manner.
In addition, a mean execution time of 0.057 s was required for the iterative execution of the dynamic model. Thus, the model could enhance the real-time control of the robot. Similarly, analysis of the torque reflecting at the robot’s joints showed a high symmetry of the generalized forces amongst the four joints, except for the joint connecting the third link. This could be explained with respect to the role of the joint in enhancing the spatially flexible movement of the snake-like robot. The plot in Figure 8b shows that comparably smaller torque inputs were required by the first two joints and the last link. Both links in the former had approximately similar generalized forces and this was because the prismatic joint had a limited offset and hardly moved during the trajectory. However, for the latter, the smaller torque was associated with the desired value set for the joint, and thus, the effects of gravity are reduced when the link was used for surgical contact. The peculiar structure of the kinematic and dynamic model was keenly exploited for implementation of the trajectory planning and collision avoidance techniques.

4.3. Motion Trajectory Model Results

As presented above, results from the kinematics and dynamics model were plausible for the navigation along the given paths. The points in each path were assigned as an admissible motion trajectory as computed by the planning strategy developed in Section 3.3. The selection of the trajectory control basis was based on the flexibility of the robot’s structure and navigation along the circular path. Thus, sequences of the via-points were referenced in joint space for the trajectory planning, while the P 5 R robot tracked the circular path in a point-to-point manner. The three scenarios of n via-points (i.e., n = 1, 10, and 20) were studied to validate the trajectory constraints model across the time splines. For convenience, the sequence of points obtained for each case was assigned and the corresponding joint variables computed in the workspace were followed for proper monitoring of the executed trajectories during navigation. The via-points were validated using the motion profile obtained when the cycloidal trajectory model in Equations (21)–(23) was implemented.
Table 2 shows the results obtained for the trajectory planning when executed for the case of n = 20 via-points. This includes the coordinates of the last link, as well as the positions, velocities, and accelerations of all joints and their time splines during the point-wise movement. For each consecutive P i P j movement in the three trajectory cases, the pose of the saddle points comprised a unit vector with orientation R i , j = [ R x ,   R y ,   R z ] T defined along the normal of each via-point ( P i ) in the flexible robot’s workspace. Plots in Figure 6 show the poses of the robot along with an instance of the joint displacement during its navigations in the three scenarios. The motion was primed with values of variables q ˙ j , 1 , q ˙ j , n , q ¨ j , 1 , and q ¨ j , n set to be zero for all joints j = 1, 2,…, 6. The robotic model was initialized to move along the circular path from rest and came to a full stop at the end of the trajectory. Joint displacements from the initial point through the desired via-points to the target point were computed in joint space by solving the robot’s IK. The model described for a normalized profile of the motion’s trajectory was implemented for the three cases of the circular path. For convenience, the sequence of points in each case was assigned and the corresponding joint variables computed in the workspace were followed for proper monitoring of the executed trajectories during navigation. Motion profiles for each of the three motion cases are presented in plots of Figure 9a–c.
Figure 9 shows that the control system demonstrated geometrically and parametrically continuous motion with smooth trajectories in all the cases. Furthermore, the motion duration remained stable at approximately 0.623 s, and the workspace boundary and interior singularities were not encountered while navigating the circular pathways. Since trajectory error is an important metric for developing a motion control system for flexible robotic surgery, we further analyzed the point-to-point navigations to observe the error displacement for a given point in the trajectory. For instance, Figure 7d shows the error details in the circular trajectory tracking with 100 via-points.

4.4. Results from the Obstacle Avoidance Model

Objects that are not of interest in a workspace or links making-up the flexible robot can be deemed as obstacles, and these can hinder the steady or continuous motion of a robotic mechanism when moving along a pathway with a pre-planned trajectory, which reduces the efficiency of the trajectory planning system. The avoidance of collision with obstacles in the workspace was initiated during the point-to-point navigation trials. For this purpose, polyhedral-shaped objects were randomly introduced as workspace obstacles while the trajectory model was executed. The interpolation of the robot’s links with each obstacle in the workspace was checked and the P o C for the potential collision points were calculated in accordance with Section 3.3. Since each polygonal area was encircled, the algorithm checked for interpolation using the center and radius of both circles to decide whether a collision with an obstacle may occur and to trigger any necessary avoidance. Again, Equation (10) was used to generate a circular path while tracking scenarios with multiple obstacles were established to validate the avoidance model. Figure 10 shows a scenario with five different obstacles in the robot’s workspace. Collision-free movement was obtained by using poses with the value of PoC ≈ 0 from the pool of the robot’s poses generated using the IK scheme in Section 3.2 as the robot moved along with the desired trajectory in the circular paths.
The detection algorithm of the model compiled P o C values for all link–obstacle pairs in the robot’s workspace, and the h value in Figure 3a was changed to determine an IK solution that avoided collisions with obstacles during each point-to-point movement. Thus, the circular path was tracked and none of the trajectory movements were ensnared by an obstacle during the point-to-point navigation trials. The proposed system found optimized joint angles for all links to stably track the trajectory. Furthermore, components of the motion control system were evaluated to analyze the performance of the collision avoidance strategy. For this purpose, execution times when the control system was used with and without the collision avoidance strategy were compared and average execution times of 0.019 ± 0.008 s and 3.576 ± 1.688 s were obtained, respectively. Thus, the strategy used had a relatively high computational complexity; in fact, the time complexity directly depended on the number of interpolated points found when executing the obstacle detection and avoidance algorithm. Furthermore, the algorithm optimally maintained a safe distance between the robot’s links and the obstacles in the workspace.

5. Conclusions and Future Works

Recent developments in robotic surgery include designing flexible mechanisms that can enhance surgical interventions, such as suturing, tumor resection, and even radio-surgical interventions. In this study, a control system was proposed for the motion and trajectory tracking of flexible robots in this paper. This included a P n R snake-like robotic mechanism designed for the navigation of a flexible surgical pathway, and the derivation of kinematic and dynamic constraint models for safe motion and trajectory control of the snake-like mechanism. Furthermore, the proposed surgical platform and control system were validated in silico. According to the implementation and validation results, the snake-like model was capable of navigating a flexible pathway, and the proposed motion and trajectory control system could quickly and accurately navigate the surgical robot. The IK resolution model in the control system was based on geometric analysis of the robot’s links and joints in Cartesian space, while the dynamic constraints modeling was focused on computing the generalized force acting at the robot’s links and joints during the path navigation. Both models demonstrated viably fast resolutions—6.1 ms for kinematics and 5.7 ms for dynamics—when the robotic mechanism was used to navigate three instances of a circular pathway. Kinematically, the proposed model demonstrated a 92% reachability when an error threshold of 1 mm was used. Thus, enhancement of the optimal trajectory tracking was achieved with the flexible snake-like robot in the circular-path-tracking study. The fast and efficient control system benefited from using simple Cartesian analytics for the model derivation. Hence, the control system can be ideally used for surgical robotic teleoperation.
In the future, another experimental validation will be performed using the same proposed robotic design. For this purpose, the proposed constraints control system will be enhanced to fit the complexity of the flexible snake-like robot such that each revolute joint will have a unique rotation axis, as in Figure 1. Furthermore, the dynamics model, which is currently based on only the first two derivatives of the position data, will be improved and high-order generalized forces acting at the robot’s joints will also be considered. To avoid the noisy moment and torque values generated using the recursive Newton–Euler model, appropriate signal filtering model will be incorporated in a future study. Lastly, intelligence-based control methods will also be adapted for the kinematics and dynamics resolution, as well as the obstacle collision detection and avoidance schemes.

Author Contributions

Conceptualization, O.M.O. and S.H.; methodology, O.M.O.; software, O.M.O. and S.H.; validation, O.M.O, Y.A.-H. and W.D. (Wenjing Du); formal analysis, O.M.O, Y.A.-H. and W.D. (Wenke Duan); investigation, O.M.O. and L.W.; resources, O.M.O; data curation, O.M.O; writing—original draft preparation, O.M.O; writing—review and editing, O.M.O. and L.W.; visualization, O.M.O and T.O.A.; supervision, O.M.O and L.W.; project administration, W.D. (Wenjing Du) and L.W.; funding acquisition, L.W. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China (#U1505251, #U1713219); the National Outstanding Youth Science Fund Project of the National Natural Science Foundation of China (#61950410618); the Guangdong Innovative Research Team Program (#2011S013); the Outstanding Youth Innovation Research Fund of Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences (#Y8G0381001); the Shenzhen Natural Science Foundation of China (#JCYJ20190812173205538); and the Chinese Academy of Sciences President’s International Fellowship Initiative (#2020PB0005).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Beasley, R. Medical Robots: Current Systems and Research Directions. J. Robot. 2012, 2012, 1–14. [Google Scholar] [CrossRef]
  2. Omisore, O.; Han, S.; Ren, L.; Wang, G.; Ou, F.; Li, H.; Wang, L. Towards Characterization and Adaptive Compensation of Backlash in a Novel Robotic Catheter System for Cardiovascular Intervention. IEEE Trans. Biomed. Circuits Syst. 2018, 12, 824–838. [Google Scholar] [CrossRef] [PubMed]
  3. Omisore, O.; Han, S.; Ren, L.; Elazab, A.; Azeez, N.; Talaat, T.; Wang, L. Deeply-Learnt Damped Least-Squares Method for Inverse Kinematics of Snake-like Robots. Neural Netw. 2018, 107, 34–47. [Google Scholar] [CrossRef]
  4. Schmitz, A.; Berthet-Rayne, P.; Yang, G.-Z. Endoscopic Bi-Manual Robotic Instrument Design Using a Genetic Algorithm. In Proceedings of the IEEE International Conference on Intelligent Robots and Systems, Macau, China, 4–8 November 2019. [Google Scholar]
  5. Simaan, N.; Yasin, R.M.; Wang, L. Medical Technologies and Challenges of Robot-Assisted Minimally Invasive Intervention and Diagnostics. Annu. Rev. Control. Auton. Syst. 2018, 1, 465–490. [Google Scholar] [CrossRef] [Green Version]
  6. Seah, T.; Do, T.; Takeshita, N.; Ho, K.; Phee, S. Future of flexible robotic endoscopy systems, Diagnostic and Therapeutic Procedures in Gastroenterology. arXiv 2017, arXiv:1703.05569. [Google Scholar]
  7. Omisore, O.; Han, S.; Ren, L.; Zhang, N.; Ivanov, K.; Elazab, A.; Wang, L. Non-iterative geometric approach for inverse kinematics of redundant lead-module in a radiosurgical snake-like robot. BioMed. Eng. OnLine 2017, 16, 1–21. [Google Scholar] [CrossRef] [Green Version]
  8. Su, H.; Yang, C.; Mdeihly, H.; Rizzo, A.; Ferrigno, G.; de-Momi, E. Neural Network Enhanced Robot Tool Identification and Calibration for Bilateral Teleoperation. IEEE Access 2019, 7, 122041–122051. [Google Scholar] [CrossRef]
  9. Su, H.; Yang, C.; Ferrigno, G.; de Momi, E. Improved Human–Robot Collaborative Contro of Redundant Robot for Teleoperated Minimally Invasive Surgery. IEEE Robot. Autom. Lett. 2019, 4, 1447–1453. [Google Scholar] [CrossRef] [Green Version]
  10. Wang, W.; Li, Y. Path Planning for Redundant Manipulator Without Explicit Inverse Kinematics Solution. In Proceedings of the IEEE International Conference on Robotics and Biomimetics, Guilin, China, 19–23 December 2009. [Google Scholar]
  11. Yahya, S.; Moghavvemi, M.; Mohamed, H. Geometrical Approach of Planar Hyper-Redundant Manipulators: Inverse Kinematics, Path Planning and Workspace. Simul. Model. Pract. Theory 2011, 19, 406–422. [Google Scholar] [CrossRef]
  12. Agarwal, V. Trajectory Planning of Redundant Manipulator using fuzzy Clustering Method. Int. J. Adv. Manuf. Technol. 2012, 61, 727–744. [Google Scholar] [CrossRef]
  13. Omisore, O.; Han, S.; Ren, L.; Zhang, N.; Wang, L. A Geometric Solution for Inverse Kinematics of Redundant Teleoperated Surgical Snake Robots. In Proceedings of the IEEE International Conference on Industrial Technology, Toronto, ON, Canada, 22–25 March 2017. [Google Scholar]
  14. Luh, J.; Walker, M.; Paul, R. On-line computational scheme for mechanical manipulators. J. Dyn. Syst. Meas. Control 1980, 102, 69–76. [Google Scholar] [CrossRef]
  15. Saha, S.K. Dynamics of serial multibody systems using the decoupled natural orthogonal complement matrices. J. Appl. Mech. 1999, 66, 986–996. [Google Scholar] [CrossRef] [Green Version]
  16. Hurst, J.; Chestnutt, J.; Rizzi, A. The actuator with mechanically adjustable series compliance. IEEE Trans. Robot. 2010, 26, 597–606. [Google Scholar] [CrossRef]
  17. Vera, F. Modeling and Sliding-Mode Control of Flexible-Link Robotic Structures for Vibration Suppression; Technische Universität Clausthal: Clausthal-Zellerfeld, Germany, 2016. [Google Scholar]
  18. Rodriguez-Cianca, D.; Weckx, M.; Jimenez-Fabian, R.; Torricelli, D.; Gonzalez-Vargas, J.; Sanchez-Villamañan, M.; Sartori, M.; Berns, K.; VanderBorght, B.; Pons, J.L.; et al. A Variable Stiffness Actuator Module With Favorable Mass Distribution for a Bio-inspired Biped Robot. Front. Neurorobotics 2019, 13, 20. [Google Scholar] [CrossRef] [PubMed]
  19. Simaan, N.; Taylor, R.; Flint, P. High Dexterity Snake-Like Robotic Slaves for Minimally Invasive Telesurgery of the Upper Airway. In Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Saint-Malo, France, 26–29 September 2004. [Google Scholar]
  20. Franzino, R.J. The Laprotek surgical system and the next generation of robotics. Surg. Clin. 2003, 83, 1317–1320. [Google Scholar] [CrossRef]
  21. Abbott, D.J.; Becke, C.; Rothstein, R.I.; Peine, W.J. Design of an Endoluminal NOTES Robotic System. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, San Diego, CA, USA, 29 October–2 November 2007. [Google Scholar]
  22. Degani, A.; Choset, H.; Wolf, A.; Ota, T.; Zenati, M.A. Percutaneous Intrapericardial Interventions Using a Highly Articulated Robotic Probe. In Proceedings of the 1st IEEE International Conference on Biomedical Robotics and Biomechatronics, Pisa, Italy, 20–22 Febuary 2006. [Google Scholar]
  23. Ota, T.; Degani, A.; Schwartzman, D.; Zubiate, B.; McGarvey, J.; Choset, H.; Zenati, M.A. A highly articulated robotic surgical system for minimally invasive surgery. Ann. Thorac. Surg. 2009, 87, 253–1256. [Google Scholar] [CrossRef] [Green Version]
  24. Thakkar, S.; Awad, M.; Gurram, K.C.; Tully, S.; Wright, C.; Sanan, S.; Choset, H. A Novel, New Robotic Platform for Natural Orifice Distal Pancreatectomy. Surg. Innov. 2015, 22, 9. [Google Scholar] [CrossRef]
  25. Carmichael, J. Novel Robotic Techniques for Endoscopic Resection of Large Polyps. In Proceedings of the 10th Annual Gastroenterology and Hepatology Symposium, Anaheim, CA, USA, 2–3 Febuary 2018. [Google Scholar]
  26. Garriga-Casanovas, A.; Baena, F. Complete follow-the-leader kinematics using concentric tube robots. Int. J. Robot. Res. 2018, 37, 197–222. [Google Scholar] [CrossRef]
  27. Jain, A. Unified Formulation of Dynamics for Serial Rigid Multibody Systems. J. Guid. Control. Dyn. 1991, 14, 531–542. [Google Scholar] [CrossRef] [Green Version]
  28. Ali, S. Newton-Euler Approach for Bio-robotics Locomotion Dynamics: From Discrete to Continuous Systems. Ph.D. Thesis, Ecole des Mines de Nantes, Nantes, France, 2011. [Google Scholar]
  29. Dong, K.; Liu, H.; Zhu, X.; Wang, X.; Xu, F.; Liang, B. Force-free control for the flexible-joint robot in human-robot interaction. Comput. Electr. Eng. 2019, 73, 9–22. [Google Scholar] [CrossRef]
  30. Omisore, O.; Han, S.; Ren, L.; Zhao, Z.; Al-Handarish, Y.; Igbe, T.; Wang, L. A Teleoperated Snake-Like Robot for Minimally Invasive Radiosurgery of Gastrointestinal Tumors. In Proceedings of the 18th IEEE ICARSC, Torres Vedras, Portugal, 25–27 April 2018; pp. 123–129. [Google Scholar]
  31. Lozano-Perez, T. Spatial Planning: A Configuration Space Approach. IEEE Trans. Comput. 1983, 100, 108–120. [Google Scholar] [CrossRef] [Green Version]
  32. Angeles, J.; Rojas, A.; Lopez-Cajun, C. Trajectory Planning in Robotic Continuous Path Application. IEEE J. Robot. Autom. 1998, 4, 380–385. [Google Scholar] [CrossRef]
  33. Parsa, S.; Daniali, H.; Ghaderi, R. Optimization of Parallel Manipulator Trajectory for Obstacles and Singularity Avoidances Based on Neural Network. Int. J. Adv. Manuf. Technol. 2010, 51, 811–816. [Google Scholar] [CrossRef]
  34. Dasgupta, B.; Gupta, A.; Singla, E. A Variational Approach to Path Planning for Hyper-Redundant Manipulators. Robot. Auton. Syst. 2009, 57, 194–201. [Google Scholar] [CrossRef]
  35. Kuntz, A.; Mahoney, A.W.; Peckman, N.E.; Anderson, L.; Maldonado, F.; Webster, R.J.; Alterovitz, R. Motion Planning for Continuum Reconfigurable Incisionless Surgical Parallel Robots. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, Vancouver, BC, Canada, 24–28 September 2017; pp. 6463–6469. [Google Scholar]
  36. Liu, Q.; Wang, C.-B.; Zhang, B.; Duan, L.; Zhang, X.; Sun, T.; Shang, W.; Shen, Y.; Lin, Z.; Li, X.; et al. Kinematics analysis and motion planning of a redundant robotic manipulator for surgical intervention. In Proceedings of the 2017 IEEE International Conference on Cyborg and Bionic Systems (CBS), Beijing, China, 17–19 October 2017. [Google Scholar]
  37. Sun, W.; Torres, L.G.; van den Berg, J.; Alterovitz, R. Safe Motion Planning for Imprecise Robotic Manipulators by Minimizing Probability of Collision. In Robotics Research; Springer: Cham, Switzerland, 2016; pp. 685–701. [Google Scholar]
  38. Su, H.; Ovur, S.; Zhou, X.; Qi, W.; Ferrigno, G.; de Momi, E. Depth vision guided hand gesture recognition using electromyographic signals. Adv. Robot. 2020, 1–13. [Google Scholar] [CrossRef]
  39. Du, W.; Omisore, O.; Duan, W.; Zhou, T.; Lv, X.; Li, Y.; Han, S.; Al-Handarish, Y.; Liu, Q.; Wang, L. Exploration of Interventionists’ Technical Manipulation Skills for Robot-Assisted Intravascular PCI Catheterization. IEEE Access 2020, 8, 53750–53765. [Google Scholar] [CrossRef]
  40. Su, H.; Qi, W.; Yang, C.; Sandoval, J.; Ferrigno, G.; de-Momi, E. Deep Neural Network Approach in Robot Tool Dynamics Identification for Bilateral Teleoperation. IEEE Robot. Autom. Lett. 2020, 5, 2943–2949. [Google Scholar] [CrossRef]
  41. Chen, Y.; Xu, W.; Li, Z.; Song, S.; Lim, C.; Wang, Y.; Ren, H. Safety-Enhanced Motion Planning for Flexible Surgical Manipulator Using Neural Dynamics. IEEE Trans. Control Syst. Technol. 2017, 25, 1711–1723. [Google Scholar] [CrossRef]
  42. Berni, A.; Ramdane-Cherif, A.; Saadia, N.; Levy, N. Exploring Cognitive Approach Through the Neural Network Paradigm: Trajectory Planning Application. In Proceedings of the IEEE International Conference on Cognitive Informatics, London, UK, 18–20 August 2003. [Google Scholar]
  43. Mayorga, R.; Aduthaya, T. An ANN Approach for the Motion Planning of Redundant Manipulators. In Proceedings of the International Conference on Systems, Control & Informatics, Curitiba, Brazil, 28–30 September 2013. [Google Scholar]
  44. Chen, Z.; Su, W.; Li, B.; Deng, B.; Wu, H.; Liu, B. An intermediate point obstacle avoidance algorithm for serial robot. Adv. Mech. Eng. 2018, 10, 1–15. [Google Scholar] [CrossRef] [Green Version]
  45. Xu, Z.; Zhou, X.; Li, S. Deep Recurrent Neural Networks Based Obstacle Avoidance Control for Redundant Manipulators. Front. Neurorobotics 2019, 13, 1–13. [Google Scholar] [CrossRef]
  46. Park, B.; Oh, H. Vision-Based Obstacle Avoidance for UAVs via Imitation Learning with Sequential Neural Networks. Int. J. Aeronaut. Space Sci. 2020, 2020, 1–12. [Google Scholar] [CrossRef]
  47. He, W.; Yan, Z.; Sun, Y.; Ou, Y.; Sun, C. Neural-Learning-Based Control for a Constrained Robotic Manipulator With Flexible Joints. IEEE Trans. Neural Netw. Learn. Syst. 2018, 29, 5993–6003. [Google Scholar] [CrossRef] [PubMed]
  48. Fahimi, F.; Ashrafiuon, H.; Nataraj, C. Obstacle Avoidance for Spatial Hyper-Redundant Manipulators using Harmonic Potential Functions and the Mode Shape Technique. J. Robot. Syst. 2003, 20, 23–33. [Google Scholar] [CrossRef]
  49. Omisore, O.; Han, S.; Al-Handarish, Y.; Du, W.; Duan, W.; Wang, L. Motion and Trajectory Control System for Flexible Robots in Minimally Invasive Surgery. In Proceedings of the 4th International Conference on Mechanical Engineering and Robotics Research, Budapest, Hungary, 16–18 December 2019. [Google Scholar]
  50. Hong, I. Deriving an Obstacle-Avoiding Shortest Path in Continuous Space: A Spatial Analytic Approach. Ph.D. Thesis, Arizona State University, Tempe, AZ, USA, 2015. [Google Scholar]
  51. Corke, P. Robotics, Vision and Control: Fundamental Algorithms. In MATLAB, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 2017. [Google Scholar]
Figure 1. Design of the flexible snake-like robot: (a) translational joint mechanism, (b) flexible links with rotational joints, (c) end caps, (d) proper link, (e) connecting link, (f) inter-module and intra-module link connectors, (g) rotational joint mechanism, and (h) linear actuator.
Figure 1. Design of the flexible snake-like robot: (a) translational joint mechanism, (b) flexible links with rotational joints, (c) end caps, (d) proper link, (e) connecting link, (f) inter-module and intra-module link connectors, (g) rotational joint mechanism, and (h) linear actuator.
Micromachines 11 00386 g001
Figure 2. Operational flow of the control systems proposed for the flexible snake-like robot.
Figure 2. Operational flow of the control systems proposed for the flexible snake-like robot.
Micromachines 11 00386 g002
Figure 3. Analysis of the obstacle avoidance in the inverse kinematics (IK) model: (a) locating the mid-point for the IK computation and (b) alternative poses of a flexible four-DoF robot based on different values of the base angle ( σ ).
Figure 3. Analysis of the obstacle avoidance in the inverse kinematics (IK) model: (a) locating the mid-point for the IK computation and (b) alternative poses of a flexible four-DoF robot based on different values of the base angle ( σ ).
Micromachines 11 00386 g003
Figure 4. Newton–Euler Formulation for an arbitrary link in ijk coordinates.
Figure 4. Newton–Euler Formulation for an arbitrary link in ijk coordinates.
Micromachines 11 00386 g004
Figure 5. Analysis of the IK solution for obstacle (a) detection and (b) avoidance during motion planning.
Figure 5. Analysis of the IK solution for obstacle (a) detection and (b) avoidance during motion planning.
Micromachines 11 00386 g005
Figure 6. Default view of the motion control system.
Figure 6. Default view of the motion control system.
Micromachines 11 00386 g006
Figure 7. The IK results for the three case scenarios of a 3D circular path with n via-points: (a) description of n = 1; (b) description of n = 10; and (c) description of n = 20; and (d) Plot of actual and compute target points.
Figure 7. The IK results for the three case scenarios of a 3D circular path with n via-points: (a) description of n = 1; (b) description of n = 10; and (c) description of n = 20; and (d) Plot of actual and compute target points.
Micromachines 11 00386 g007
Figure 8. Dynamic analysis of the generalized forces in the robotic mechanism for the trajectory case where n = 10 (a)joint torque at the first two links; and (b) joint torque at the last four links.
Figure 8. Dynamic analysis of the generalized forces in the robotic mechanism for the trajectory case where n = 10 (a)joint torque at the first two links; and (b) joint torque at the last four links.
Micromachines 11 00386 g008
Figure 9. Motion profiles of the robot: (ac) trajectory results for the three cases and (d) the trajectory error.
Figure 9. Motion profiles of the robot: (ac) trajectory results for the three cases and (d) the trajectory error.
Micromachines 11 00386 g009
Figure 10. Obstacle avoidance of the robot for the trajectory case with n = 10.
Figure 10. Obstacle avoidance of the robot for the trajectory case with n = 10.
Micromachines 11 00386 g010
Table 1. Dynamic parameters of the snake-like robot.
Table 1. Dynamic parameters of the snake-like robot.
Link IDMass (g)Center of Mass (mm)Moment of Inertia (g·cm2)
XYZ l x x l y y l z z l x y l x z l y z
116.440.070.45−5.98181.24181.309.580.394.551.20
220.070.260.24−14.7364.8765.0411.41−0.042.89−2.59
37.120.110.45−15.8016.9016.914.390.20.430.80
47.120.120.45−22.7016.8816.904.400.320.810.53
57.120.140.52−29.1116.8916.904.380.310.640.42
67.930.400.59−35.9723.1223.094.910.08−0.621.43
Table 2. Parametric description of the robot for motion case 3.
Table 2. Parametric description of the robot for motion case 3.
IdTime (ms)Last Link Frame (mm)Joint Displacements (rad)Velocity
(mm/s)
Acc
(mm2/s)
XYZ ɗ φ θ 1 θ 2 θ 3 θ 4
10.00529.952.95−10.390.00.141.79−0.79−0.55−0.790.000.00
20.01122.3911.97−11.84−5.3−170.171.81−0.79−0.55−0.790.423.65
30.01514.3711.28−3.14−1.1−150.882.22−0.91−0.79−0.911.553.16
40.02317.181.853.45−8.7−170.160.95−1.19−1.84−1.192.86−5.85
50.02926.86−3.05−1.290.00.251.09−1.18−1.79−1.180.000.00
* Final offset value obtained during the IK resolution for a given target point.

Share and Cite

MDPI and ACS Style

Omisore, O.M.; Han, S.; Al-Handarish, Y.; Du, W.; Duan, W.; Akinyemi, T.O.; Wang, L. Motion and Trajectory Constraints Control Modeling for Flexible Surgical Robotic Systems. Micromachines 2020, 11, 386. https://doi.org/10.3390/mi11040386

AMA Style

Omisore OM, Han S, Al-Handarish Y, Du W, Duan W, Akinyemi TO, Wang L. Motion and Trajectory Constraints Control Modeling for Flexible Surgical Robotic Systems. Micromachines. 2020; 11(4):386. https://doi.org/10.3390/mi11040386

Chicago/Turabian Style

Omisore, Olatunji Mumini, Shipeng Han, Yousef Al-Handarish, Wenjing Du, Wenke Duan, Toluwanimi Oluwadara Akinyemi, and Lei Wang. 2020. "Motion and Trajectory Constraints Control Modeling for Flexible Surgical Robotic Systems" Micromachines 11, no. 4: 386. https://doi.org/10.3390/mi11040386

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