{'fraction_non_alphanumeric': 0.025235849056603775, 'fraction_numerical': 0.00805817610062893, 'mean_word_length': 4.762400906002265, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Robotic System with Robust Remote Center of Motion Constraint for Endometrial Regeneration Surgery

Surgical robots have been widely used in different procedures to improve and facilitate the surgery. However, there is no robot designed for endometrial regeneration surgery, which is a new therapy for restoring fertility in women using stem cells. Endometrial regeneration surgery requires processing of the endometrium and transplantation of stem cells with minimal trauma to the uterus. In this paper, we introduce a surgical robotic system that consists of a dexterous hysteroscope, supporting arm, and additional novel instruments to facilitate the operation and decrease trauma to the uterus. Remote center of motion (RCM) constraint is required to protect the cervix of the uterus. First, the supporting arm and hysteroscope are controlled separately in kinematics to ensure that the RCM constraint and hysteroscope’s shape and posture are predictable. Then, a task-decoupled method is used to improve the robustness of the RCM constraint. Experiments confirm that the proposed method is more robust and achieves higher RCM accuracy. In addition, the master-slave control of a robot with RCM constraint is also verified. This study proposes the realization of a robot with robust RCM control for endometrial regeneration surgery.


Introduction
According to data from the World Health Organization, the number of infertile women has increased to 30 million worldwide [1,2]. Intrauterine adhesions (IUAs) are a major cause of secondary infertility; the majority of IUAs are associated with uterine damage due to intrauterine surgery [3,4]. Traditional remedies such as the transcervical resection of adhesions and artificial hormone therapy have a high recurrence rate of IUAs. Stem cell therapy is a promising remedy to fundamentally cure endometrial damage [5][6][7]. Creating transplant wounds and transplanting stem cells are two key steps in endometrial regeneration surgery, as displayed in Figure 1.
However, handheld instruments and manual operation methods make surgery difficult and limit the efficacy of this new therapy. Moreover, these surgical procedures can cause secondary uterine damage. During endometrial regeneration surgery, a hysteroscope is inserted into the uterine cavity via the cervix. The motion of the hysteroscope is constrained by the cervix, which can be considered a remote center of motion (RCM) constraint. To facilitate this process and improve the outcome of stem cell therapy, a robot designed for endometrial regeneration surgery is required.
Several robotics systems have been designed by researchers for diverse surgeries [8][9][10][11]. The Da Vinci surgical system is the most successful commercial surgical robot. Although it has been used to perform a hysterectomy, surgery to remove a patient's uterus, it has no ability to process the endometrium without damaging the uterus [12]. Another surgical robot, the Hominis surgical system, was designed for transvaginal surgical procedures at a single site [13]. It is also not applicable to endometrial regeneration surgery because its instruments work outside the uterus. Numerous robotic systems have been designed for natural orifice transluminal endoscopic surgery. He et al. proposed a robot-assisted method for nasal surgery [14]. Amanov et al. designed a surgical system using concentric tube robots to complete prostatectomy in the small luminal urethra space [15]. Similarly, Goldman et al. presented a continuum robot for transurethral surgery [16]. Bajo et al. introduced an endonasal telerobotic system for use in throat microsurgery [17]. Shang et al. designed a single-port robotic system for transcanal microsurgery [18]. Lau et al. design a flexible surgical robotic system for endoscopic submucosal dissection [19]. These robots have achieved significant progress in natural orifice transluminal surgery.
During endometrial regeneration surgery, the motion of the hysteroscope can suffer from RCM constraint. RCM constraint is a common problem in laparoscopic surgery and ophthalmic microsurgery [9,20]. Mechanical RCM and programmable RCM are the two main methods for realizing RCM constraint during surgical manipulation. Addressing mechanical RCM, numerous researchers have proposed mechanical structures to realize RCM constraints. He et al. designed a novel RCM mechanism for a robot for retinal vascular bypass surgery [21]. Kim et al. proposed a novel gravity-compensation mechanism using RCM mechanisms [22]. Unlike mechanical RCM, programmable RCM is realized by software and is more flexible. To realize RCM constraint, two degreeof-freedom (DOFs) of the robot are required. Aghakhani et al. provided a general method to realize a surgical robot's control task with an RCM constraint using the kinematics of an extended task [23]. Similarly, Sadeghian et al. combined a task with an RCM constraint in an RCM-constrained Jacobian [24]. However, the extendedtask Jacobian could easily be singular. The tangent plane of the access port can also be used to express the kinematics of the RCM point [25]. However, determining the tangent plane is difficult during application. Sandoval et al. associated the RCM constraint with the task space using the minimum distance between the surgical tool and RCM point [26]. Using the null space of the robot provides another method to realize the RCM constraint [27][28][29]. A redundant robot is required to guarantee the RCM. Zhang and Li et al. realized the visual tracking control of an endoscope with RCM constraints [30,31].
Examining the existing surgical robots, several of these can facilitate and improve different types of surgery; however, none are intended for endometrial regeneration surgery. In our previous work, a continuum manipulator was designed to reach targets in the endometrium [32]. For endometrial regeneration surgery, a robot is required to perform multiple tasks in the confined uterine cavity while ensuring the safety of the uterus. To protect the uterine cervix, the hysteroscope should be manipulated using an RCM constraint. In this study, we design a robotic system to facilitate and protect the uterus during endometrial regeneration surgery. To maintain flexibility while improving the stability of the robot, we propose a task-decoupled method to control the hysteroscope with robust RCM constraint. The method is evaluated by comparing it with a general method, the extendedtask method. The control method of the robot is verified experimentally.
The remainder of this paper is organized as follows. Section 2 introduces the surgical procedure and design of the robotic system. Section 3 details the kinematics of the robot, realization of the RCM constraint, and control method of the robot. Section 4 presents the experiments and results. Section 5 concludes the study.

Surgical Procedure and Requirements
In endometrial regeneration surgery, the ultimate goal is to transplant stem cells into the uterus and regenerate the endometrium. To successfully perform endometrial regeneration surgery, tasks such as diagnosing the uterine cavity and processing the endometrium are required before stem cell transplantation. The procedure for endometrial regeneration surgery is as follows.
(1) Insert the hysteroscope into the vagina, through the cervix, and into the uterus.  To perform the operation in the uterine cavity, the hysteroscope must be small in size and high in dexterity. The small size of the hysteroscope can decrease the risk of cervical invasion. The high dexterity enables the hysteroscope to avoid pulling the cervix during the operation. The actual instruments must be sufficiently small to pass through the hysteroscope channel. The instrument to create the wound must be capable of scratching the endometrium with high quality and efficiency.

Design of Dexterous Hysteroscope
Hysteroscope is a key component of this surgical system. It feeds back a view of the uterine cavity and provides channels for the other instruments. Traditional rigid hysteroscopes are stiff and have low dexterity, which can damage the endometrium and cervix. More recent flexible diagnostic hysteroscopes have the advantages of smaller size and high compliance to ensure safety during diagnostics. However, these devices are not suitable for manipulation and suffer from poor load capabilities. To overcome these difficulties, we designed a hysteroscope with a flexible tip and rigid shaft body, as indicated in Figure 2. The hysteroscope provided an inner channel for the instruments used to function in the endometrium and transplant the stem cells. The diameter of the hysteroscope was 5 mm and the diameter of the inner channel was 2.5 mm. The length of the flexible segment was 30 mm. The flexible segment of the hysteroscope was driven by two cables and could realize planar deformation. The rigid segment of the hysteroscope was fixed to the actuation unit. The actuation unit had two lead screws that were used to pull the cables. To determine the pulling force, the two cables were separately fixed on two force sensors and the sensors were installed on the lead screws. In addition, a pair of gears was used to realize the rotation of the hysteroscope along the axis of the rigid segment. At the end of the actuation unit, there was a slot where an additional instrument could be inserted. The instrument could rotate along its axis by actuating the slot. To increase the dexterity of the hysteroscope, a supporting arm was used to provide additional DOFs to allow the hysteroscope to realize motions with the RCM constraint.

Design of Additional Instruments
Two types of instruments are used in endometrial regeneration surgery. One is an instrument used to scratch the endometrium. It was composed of a lantern-like slicer, sheath tube, and handle. The slicer had multiple thin beams that could be easily deformed. One end of the slicer was supported by a sheath tube. The other end of the slicer was fixed to the tip of a tendon that passed through the slicer and sheath. When pulling the tendon, the slicer could unfold, as displayed in Figure 3. The handle was used to control the folding and unfolding of the slicer. The handle was composed of two parts. One part was fixed with the sheath; the other part, similar to a nut, was fixed with the other tip of the tendon. By screwing  Figure 4(d) displays how the instrument is inserted into the slot of the actuation unit. When the slicer reaches the uterine cavity, it can be unfolded by screwing the nut. The deformed beam of the slicer then contacts the endometrial tissue. When actuating the slot, the slicer could be rotated to scratch the endometrium. The slicer was made of a thin-walled nitinol tube with an outer diameter (OD) of 1.27 mm and inner diameter (ID) of 1.07 mm. Thin beams were manufactured by grooving the tube using a laser cutting method. The width of the groove was 0.35 mm and the length of the groove was 6.5 mm; there were six grooves. The other instrument was a long tube used to transmit the stem cell suspension. The tube could also pass through the channel of the hysteroscope. The tube was connected to a syringe, which was used to control the injection volume of the stem cell suspension.

Integration of Robotic System
The robotic system used for endometrial regeneration surgery is displayed in Figure 5. It consists of a supporting arm, actuation unit, dexterous hysteroscope, and master device. The surgeon could view the uterine cavity on a monitor and control the motion of the hysteroscope by manipulating the master device. A UR5 arm was used to support the actuation unit and provide additional DOFs to control the motion of the hysteroscope with an RCM constraint. A camera with a resolution of 400 × 400 pixels was fixed to the hysteroscope to view the uterine cavity. The diameter of the camera was 1.7 mm. There were four motors in the actuation unit. Two of these were used to actuate the lead screws to pull the cables; one was used to actuate the gears to rotate the hysteroscope; the last was used to actuate the belt pulley to rotate the slicer. All motors were powered by drivers (Copley Driver, USA) and controlled by a controller (Copley CAN-USB; USA). In addition, two force sensors were used to provide feedback on the actuation force. The sensors were connected to two amplifiers (Futek; USA). Data acquisition equipment (NI DAQ; USA) was used to acquire the force data. Figure 6 displays the architecture of the robotic system.

Methodology
In this section, we introduce the direct kinematics of the surgical robot and realization of the RCM constraint. Then, the control method for the complete surgical robot is introduced.

Kinematics of Surgical Robot
In the surgical system, the motion of the distal tip of the hysteroscope is related to the actuation and supporting arms. The actuation unit provides two DOFs: The rotation   where H and W are the distances between frame {s 1 } and frame {u} in x-and z-axis directions, respectively, as indicated in Figure 7. Hence, the direct kinematics of the robot are expressed.

RCM Constraint
During endometrial regeneration surgery, the hysteroscope passes through the cervix to reach the uterine cavity. The motion of the rigid segment is constrained by the cervix, which is considered the RCM constraint. To express the point on the rigid segment that instantaneously coincides with the position of the cervix, a variable related to the insertion depth is used [23]. As indicated in Figure 7, the RCM point on the rigid segment is expressed as where p s1 expresses the position of the distal tip of the rigid segment, p s2 is the position of another fixed point on the rigid segment, and is the parameter that indicates the insertion degree. For the two fixed points on the rigid segment, their Jacobians are expressed as where J s u is the spatial Jacobian of the UR5 arm, and T 1 and T 2 are two homogeneous matrices separately related to p s1 and p s2 . The two homogeneous matrices have the following formats: Based on Eq. (6), the differential format of the RCM point is derived as where J s1,v and J s2,v are separately the translational part of the of J s1 and J s2 .
For the supporting arm, two tasks are required: Tracking the desired position of the rigid segment tip and ensuring that the RCM point coincides with the cervical position. First, the error of the RCM is defined as where p c is the desired position of the remote center, i.e., the position of the cervix. Unlike the work of [23], which combines the two tasks into an extended task, we propose a task-decoupled method to realize robust RCM constraint. In the proposed method, the RCM constraint is considered as the primary task, where position tracking is achieved using the null space projector of the Jacobian of the RCM. This method does not increase the dimension of the Jacobian algorithm; therefore, algorithm singularity can be avoided. In addition, the error of the RCM can be maintained at a low level because the RCM constraint is the primary task in the algorithm. However, position tracking could fail if its position-tracking instantaneous motion conflicts with the RCM constraint.
To ensure that the position-tracking task does not conflict with the RCM constraint task, the position-tracking instantaneous motion is decoupled into insertion and directional motions, as displayed in Figure 8.  where k e is a positive coefficient and ∇f e is the gradient of the direction error. For the insertion motion, ˙ is written as where k is a positive coefficient and d is the desired insertion distance. Using Eq. (11), we can realize reliable control of the position tracking of the rigid segment with a remote center motion constraint.

Control of Robot System
During the surgical process, to reach the desired position and direction, both the supporting arm and flexible segment of the hysteroscope must be controlled.
Although the control of the entire robot system can be realized using the inverse differential kinematics of the robot system, the bending angle of the flexible segment is unpredictable during the iterative process. We directly calculate the bending and rotation angles of the flexible segment using the inverse kinematics of the (12) (14) q r = k e · ∇f e / ∇f e , flexible segment. This ensures that the bending of the flexible segment is predicted. Therefore, the flexible segment and supporting arm are controlled separately in the kinematics, as indicated in Figure 9. First, we identify the desired position of the RCM point in the robotic frame. After engaging the teaching mode of the supporting arm, the tip of the hysteroscope can be moved to the desired position. Using the feedback values of the joints and initial value of , we can obtain the initial value of p RCM and initial direction of the rigid segment [r init,x r init,y r init,z ] . The flexible segment is assumed to have a constant curvature. The relationship between the bending angle of the flexible segment θ 8 and target is indicated in Figure 8. We use the parameter α to determine whether bending is required for the flexible segment to reach the desired direction. It is defined as where p d is the desired position and r d is the desired direction. When α = 0 , no bending is required for the flexible segment. Under this condition, we have We considered the conditions for α = 0 . According to Figure 9, we can obtain θ 8 by solving where L denotes the length of the flexible segment. Next, we obtain the desired direction of the rigid segment using The desired position of the rigid segment tip is expressed as In addition, rotation of the segment is also required to bring the bending plane of the flexible segment parallel to the desired direction. The rotation angle θ 7 can be obtained using where ω s1 is the skew-symmetry of the rotation vector in the direction of the rigid segment from r init,z to r s1,z . It has the format (21) Hence, the angles related to the flexible segment are all resolved. To control the supporting arm, r s1,z and p s1,d are used as inputs for the RCM control. A diagram of the control method for the robotic system is displayed in Figure 10.

Parameters Identification of Flexible Segment
The desired bending angle of the flexible segment was calculated using its inverse kinematics. This was achieved by controlling the actuation displacements of the cables. To improve the control accuracy of the hysteroscope, parameters including the composite bending stiffness of the flexible segment and elastic coefficient of the cables must be identified. The bending stiffness of the hysteroscope differs when different instruments are in the channel. Therefore, three cases must be considered: no instrument in the channel, the slicer in the channel, and the tube in the channel. Figure 11(a) displays these three cases. The flexible segment was deformed separately in each situation by pulling the cables. The actuation force and displacement were recorded during the processes.
To determine the bend angle of the flexible segment, a colored label was attached to the tip of the flexible segment. The flexible segment was then captured by a camera and its bending angle was obtained using the method in Ref. [33]. Figure 11(b) indicates the relationship between the actuation force and bend angle for the different instruments in the hysteroscope. The bending stiffnesses of the three cases were 14.18, 5.77, and 8.06°/N. When the slicer was in the channel, the flexible segment demonstrated the greatest stiffness. The elastic coefficient of the cables was 0.076 mm/N. The elastic elongation of the cables can be compensated using these parameters. Experiments were performed to evaluate the bending angle accuracy of the flexible segment. Five desired bending angles varying from 10° to 50° at intervals of 10° were selected. The real bending angle of the flexible segment was measured using the images. The results are presented in Figure 11(d). The mean error was 3.3°. Figure 11(c) displays the moments of the slicer rotating when the flexible segment was bent. The rotational speed of the slicer was 200 r/min. The rotation of the slicer did not influence the robot system.

RCM Constraint Evaluation in Simulation
In this section, we compare the task-decoupled method (proposed method) with the general extended-task method using simulation. All control algorithms were written in MATLAB. In the simulation, the robustness and accuracy of the two methods for the RCM constraint were verified. First, the supporting arm was controlled to reach a target with a constant relative position of [10, 0, 30 T to the initial position. Two hundred random joint values within the range [−π , π ] were used as the initial joint values. The initial value of was set to 0.8. Algorithmic singularities or joint limits can be encountered during the process of reaching a desired position. Therefore, not all initial joint values led to the successful performance of the task. We recorded the times required to successfully reach the desired positions, number of iterations, and error of the RCM when using the two control methods. The results are presented in Table 1. The taskdecoupled method was more robust for different initial gestures of the supporting arm. Although the proposed method required more iterations than the extended-task method, it achieved a more accurate RCM constraint. Next, the supporting arm was controlled to reach different targets with the same initial joint values. The relative position of the target was set as [x, y, 30] T . The range of x and y was [− 30,30] . Again, 200 random values for x and y were used. In the simulation, four cases with different initial joint values were performed separately using the task-decoupled and extended-task methods. The results are presented in Table 2. According to Table 2, the taskdecoupled method could address the majority of the random targets and achieve higher success rates. Therefore, it was more robust allowing the supporting arm to reach different targets with different initial joint values. Furthermore, the proposed method ensured a low error rate for the RCM, less than 0.6 mm. Figure 12 displays the variation of the parameters while reaching a target using the two methods. For the task-decoupled method, the variation in was uniform and the RCM error was maintained at a stable low level. This is largely a consequence of the decoupling of the tracking task and RCM constraint. Conflict between the two tasks was avoided.

Master-Slave Control Evaluation
In this section, we describe the experimental evaluation of the robot in master-slave control mode. The core control algorithm of the robot, written in MATLAB, was integrated into a C++ shared library. The library was then called by a C++ program, which was used to control all the devices including the supporting arm, actuation unit, and master device. In addition, the motion of the robot was visualizable in real time using robotics simulation software (CoppeliaSim). To constrain the motion of the robot, a hysteroscope was inserted into a hole in an acrylic plate. The diameter of the hole was 5 mm and the hole was considered to be the RCM point. The master device was manipulated by an operator. The tip of the robot was controlled to track the desired position  and direction commanded by the master device at a frequency of 50 Hz. The results of the experiments are presented in Figure 13. The results confirm that the rigid segment of the hysteroscope was well constrained by the RCM point during the entire manipulation process. In addition, the tip of the hysteroscope could reach different positions in different directions because the motion of the robot was constrained by the RCM point.

Conclusions
(1) In this paper, we introduced a robotic system with a robust RCM constraint for endometrial regeneration surgery. The robotic system was expected to perform two key processes: processing the endometrium and transplanting stem cells during surgery. To the best of our knowledge, this is the first study of robotic endometrial regeneration surgery. (2) The robot was composed primarily of a dexterous hysteroscope, actuation unit, and supporting arm. It exhibited high dexterity and compliance. To ensure a valid RCM constraint and predictable hysteroscope shape and posture, the supporting arm and hysteroscope were controlled separately in kinematics. In addition, a novel instrument that could be folded and unfolded was designed to process the endometrium. (3) To improve the robustness and flexibility of the RCM constraint, we proposed a task-decoupled Figure 12 Simulation results for robot to reach target with RCM constraint using two different methods method to ensure the RCM constraint. The RCM constraint was considered as the primary task; tip position tracking was realized using the null space of the RCM Jacobian. To avoid conflict between the RCM constraint and tip motion, the motion of the rigid segment of the hysteroscope was decoupled into insertion and directional motion, which were orthogonal to the RCM constraint motion. (4) Experiments confirmed that the task-decoupled method was more robust than the extended-task method. The task-decoupled method also achieved high RCM accuracy. Lastly, the robot with the RCM constraint was verified under master-slave control.