<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Robot. AI</journal-id>
<journal-title>Frontiers in Robotics and AI</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Robot. AI</abbrev-journal-title>
<issn pub-type="epub">2296-9144</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">757895</article-id>
<article-id pub-id-type="doi">10.3389/frobt.2021.757895</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Robotics and AI</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Can the Shape of a Planar Pathway Be Estimated Using Proximal Forces of Inserting a Flexible Shaft?</article-title>
<alt-title alt-title-type="left-running-head">Liu et&#x20;al.</alt-title>
<alt-title alt-title-type="right-running-head">Planar Pathway Shape Estimation</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Liu</surname>
<given-names>Jiajun</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1298297/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Cao</surname>
<given-names>Lin</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/748398/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Phee</surname>
<given-names>Soo Jay</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
</contrib-group>
<aff id="aff1">
<label>
<sup>1</sup>
</label>Robotics Research Centre, School of Mechanical and Aerospace Engineering, Nanyang Technological University, <addr-line>Singapore</addr-line>, <country>Singapore</country>
</aff>
<aff id="aff2">
<label>
<sup>2</sup>
</label>Department of Automatic Control and Systems Engineering, The University of Sheffield, <addr-line>Sheffield</addr-line>, <country>United&#x20;Kingdom</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1213572/overview">Jun Liu</ext-link>, City University of Hong Kong, Hong Kong, SAR China</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/267713/overview">Lior Shamir</ext-link>, Kansas State University, United&#x20;States</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/574012/overview">Ying Feng</ext-link>, South China University of Technology, China</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Lin Cao, <email>l.cao@sheffield.ac.uk</email>
</corresp>
<fn fn-type="other">
<p>This article was submitted to Biomedical Robotics, a section of the journal Frontiers in Robotics and&#x20;AI</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>02</day>
<month>11</month>
<year>2021</year>
</pub-date>
<pub-date pub-type="collection">
<year>2021</year>
</pub-date>
<volume>8</volume>
<elocation-id>757895</elocation-id>
<history>
<date date-type="received">
<day>13</day>
<month>08</month>
<year>2021</year>
</date>
<date date-type="accepted">
<day>05</day>
<month>10</month>
<year>2021</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2021 Liu, Cao and Phee.</copyright-statement>
<copyright-year>2021</copyright-year>
<copyright-holder>Liu, Cao and Phee</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these&#x20;terms.</p>
</license>
</permissions>
<abstract>
<p>The shape information of flexible endoscopes or other continuum structures, e.g., intro-vascular catheters, is needed for accurate navigation, motion compensation, and haptic feedback in robotic surgical systems. Existing methods rely on optical fiber sensors, electromagnetic sensors, or expensive medical imaging modalities such as X-ray fluoroscopy, magnetic resonance imaging, and ultrasound to obtain the shape information of these flexible medical devices. Here, we propose to estimate the shape/curvature of a continuum structure by measuring the force required to insert a flexible shaft into the internal channel/pathway of the continuum. We found that there is a consistent correlation between the measured insertion force and curvature of the planar continuum pathway. A testbed was built to insert a flexible shaft into a planar continuum pathway with adjustable shapes. The insertion forces, insertion displacement, and the shapes of the pathway were recorded. A neural network model was developed to model this correlation based on the training data collected on the testbed. The trained model, tested on the testing data, can accurately estimate the curvature magnitudes and the accumulated bending angles of the pathway simply based on the measured insertion force at the proximal end of the shaft. The approach may be used to estimate the curvature magnitudes and accumulated bending angles of flexible endoscopic surgical robots or catheters for accurate motion compensation, haptic force feedback, localization, or navigation. The advantage of this approach is that the employed proximal force can be easily obtained outside the pathway or continuum structure without any embedded sensor in the continuum structure. Future work is needed to further investigate the correlation between insertion forces and the pathway and enhance the capability of the model in estimating more complex shapes, e.g., spatial shapes with multiple&#x20;bends.</p>
</abstract>
<kwd-group>
<kwd>shape</kwd>
<kwd>insertion</kwd>
<kwd>force</kwd>
<kwd>neural network model</kwd>
<kwd>flexible rod</kwd>
</kwd-group>
<contract-sponsor id="cn001">National Research Foundation Singapore<named-content content-type="fundref-id">10.13039/501100001381</named-content>
</contract-sponsor>
</article-meta>
</front>
<body>
<sec id="s1">
<title>Introduction</title>
<p>Obtaining the shape information of continuum structures or manipulators, e.g., flexible endoscopes and intra-vascular catheters, is desirable in navigation, motion control and compensation, and haptic feedback. During colonoscopy, due to the lack of the shape information of the colonscope, loop formation occurs frequently and often causes patient discomfort, prolonged procedure, and risk of perforations (<xref ref-type="bibr" rid="B7">Cheng et&#x20;al., 2013</xref>). For flexible endoscopic surgical robots (<xref ref-type="bibr" rid="B3">Cao et&#x20;al., 2019</xref>; <xref ref-type="bibr" rid="B2">Cao et&#x20;al., 2020</xref>) and intra-vascular catheters (<xref ref-type="bibr" rid="B15">Khoshnam and Patel 2016</xref>; <xref ref-type="bibr" rid="B12">Hu et&#x20;al., 2018</xref>), the shape of the endoscope/catheter has a significant effect on the force and motion transmission of the system. The friction loss of the force transmission system is dependent on the accumulated bending angle of the endoscope/catheter, and the elongation of the driving cables even depends on how the accumulated angle or curvature changes along the pathway (<xref ref-type="bibr" rid="B22">Sun et&#x20;al., 2015</xref>).</p>
<p>Existing methods for the shape measurement/prediction of continuum manipulators include 1) intraoperative imaging (<xref ref-type="bibr" rid="B5">Chen et&#x20;al., 2017</xref>; <xref ref-type="bibr" rid="B13">Janjic et&#x20;al., 2018</xref>) (magnetic resonance imaging, ultrasound, and X-ray, etc.), 2) sensing (<xref ref-type="bibr" rid="B15">Khoshnam and Patel 2016</xref>; <xref ref-type="bibr" rid="B21">Song et&#x20;al., 2018</xref>; <xref ref-type="bibr" rid="B26">Zhuang et&#x20;al., 2018</xref>) (electro-magnetic tracking, Fiber Bragg Grating (FBG) arrays, etc.), and 3) modeling based on kinematics and mechanics (<xref ref-type="bibr" rid="B24">Xu and Simaan 2010</xref>; <xref ref-type="bibr" rid="B8">Chirikjian 2015</xref>).</p>
<p>Intraoperative imaging is widely adopted in the clinic, but it is often done with bulky and expensive medical imaging modalities, and the patients may be exposed to radiation (e.g., X-ray). <italic>In-situ</italic> sensors can provide rich, accurate, and real-time shape information but require reliable sensor integration (sealing, sterilization, etc.) with the system and increases the size and cost of the system.</p>
<p>Many studies (<xref ref-type="bibr" rid="B14">Khatait et&#x20;al., 2012</xref>; <xref ref-type="bibr" rid="B1">Back et&#x20;al., 2015</xref>; <xref ref-type="bibr" rid="B16">Khoshnam et&#x20;al., 2015</xref>; <xref ref-type="bibr" rid="B4">Cardoso and Furuie 2016</xref>; <xref ref-type="bibr" rid="B11">Hu et&#x20;al., 2019</xref>) have attempted to compute the kinematics and kinetics (motion, insertion forces, and contact forces, etc.) of a flexible shaft in a pathway with a specified shape. The insertion force when inserting a flexible rod into a frictionless rigid and zero-clearance channel could be modeled by <inline-formula id="inf1">
<mml:math id="m1">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>I</mml:mi>
<mml:msup>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:mfrac>
</mml:mrow>
</mml:math>
</inline-formula> (<xref ref-type="bibr" rid="B9">Dal Corso et&#x20;al., 2017</xref>), showing a quadratic relation between the curvature of the channel and the required insertion force. However, with clearance and friction, the external forces become more complex even in simple situations (<xref ref-type="bibr" rid="B6">Chen and Li 2007</xref>; <xref ref-type="bibr" rid="B20">Liu and Chen 2013</xref>). The nonlinear relations between insertion force and the channel shape could be described using a set of ODEs with the integral of variables satisfying various constraints. This is an integral constraint problem, which is difficult to solve analytically or inverse mathematically.</p>
<p>With the emerging of data driven methods, it is possible to obtain the probability-weighted correlation between two data sets. Neural Network (NN), inspired by biological neural cells and neural networks, is widely used in natural language processing, image processing, and visual recognition problems. Multilayer perceptron (MLP), Recurrent-Neural-Networks (RNN) and Convolutional Neural Networks (CNN) are classic architectures of NN. MLP is suitable for classification problems. RNN is designed to handle sequence prediction problems. CNN shows its dominating advantages on problem involving image data as an input. NN could be constructed by stacking MLP, RNN, and CNN. The Long-short-term-memory (LSTM) is the most successful RNN, which is wildly used in various engineering studies.</p>
<p>
<xref ref-type="bibr" rid="B18">Li and Cao (2019)</xref>, <xref ref-type="bibr" rid="B19">Li et&#x20;al. (2019)</xref> constructed a hybrid model involving multiple NN model constructed by CNN LSTM and MLP to predict the force transmitted along a tendon sheath mechanism of arbitrary accumulated angle. <xref ref-type="bibr" rid="B25">Zhao et&#x20;al. (2017)</xref> trained a CNN-Deep bidirectional LSTM-MLP achieving better prediction in signal process comparing with pure LSTM network.</p>
<p>The insertion process is about feeding a flexible shaft into the hollow channel of a continuum structure with a constant velocity. In this work, we propose to train a neural network to capture the correlation between insertion force and channel&#x2019;s curvature (or shape). The trained neural network model could predict the shape/curvature of the channel based on the insertion force measured.</p>
<p>
<xref ref-type="fig" rid="F1">Figure&#x20;1</xref> illustrates the main idea of this work. In <xref ref-type="fig" rid="F1">Figure&#x20;1A</xref>, we developed a testbed that can insert a flexible nitinol shaft into the channel (a tube fixed on the testbed). The insertion force <inline-formula id="inf2">
<mml:math id="m2">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is measured by loadcells on platform. The insertion length <inline-formula id="inf3">
<mml:math id="m3">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> is recorded by the encoder. Then, the shape of the tube can be described the curvature <inline-formula id="inf4">
<mml:math id="m4">
<mml:mrow>
<mml:mi>&#x3ba;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> along its length, which is obtained from the top-view image. The insertion force <inline-formula id="inf5">
<mml:math id="m5">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and curvature <inline-formula id="inf6">
<mml:math id="m6">
<mml:mrow>
<mml:mi>&#x3ba;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> forms the data for training. As shown in <xref ref-type="fig" rid="F1">Figure&#x20;1B</xref>, the trained model can predict the curvature <inline-formula id="inf7">
<mml:math id="m7">
<mml:mrow>
<mml:mi>&#x3ba;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> of the tube based on the insertion force Fins(s). Then, the coordinates of the tube <inline-formula id="inf8">
<mml:math id="m8">
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> could be obtained from the predicted curvature <inline-formula id="inf9">
<mml:math id="m9">
<mml:mrow>
<mml:mi>&#x3ba;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Illustration of the proposed method. <bold>(A)</bold> data collection and model training. <bold>(B)</bold> using the model to predict curvature.</p>
</caption>
<graphic xlink:href="frobt-08-757895-g001.tif"/>
</fig>
<p>The paper is organized as follows. In <italic>Experimental Setup and Data Collection</italic>, the force and curvature measurements and data processing are introduced. <italic>The Neural Network Model</italic> presents the proposed neural network model. Results and discussions are presented in <italic>Results and Discussion</italic>. Finally, <italic>Conclusion</italic> concludes this research.</p>
</sec>
<sec id="s2">
<title>Experimental Setup and Data Collection</title>
<p>This work aims to investigate how the shape information of a continuum pathway can be predicted based on simply the measured force required to insert a flexible shaft. We built a testbed that can insert a flexible shaft into a shape-adjustable tube/pathway for data collection (insertion forces, insertion displacement, and tube shapes). The collected data will be used for 1) to verify the correlation between shapes and insertion forces, 2) to train and test and the proposed neural network model. As an initial attempt, we only focus on 2D shapes, and the shapes have only two-bend shapes at most. This section introduces the experimental setup, data collection, and data processing approaches.</p>
<sec id="s2-1">
<title>Experimental Setup</title>
<p>
<xref ref-type="fig" rid="F2">Figure&#x20;2</xref> shows the schematic diagram of the experimental setup. In <xref ref-type="fig" rid="F2">Figure&#x20;2A</xref>, the motor block drove the flexible shaft (a super-elastic nitinol tube with OD/ID: 1.27/0.97mm, NI207130, GOODFELLOW&#xae;) into the curved channel (glass fiber reinforced plastic tube OD/ID: 3/1.5&#xa0;mm). The motor (2342S024C, FAULHABER&#xae;) and the encoder (2RM3600-D, SCANCON&#xae;, 3,600 pulse/rev) clamped the flexible shaft by two rubber rollers of 13.5&#xa0;mm diameter. A housing tube was used to support the remaining nitinol tube outside the motor block. It also reduced the vibration of the nitinol tube. The overview of the testbed is shown in <xref ref-type="fig" rid="F2">Figure&#x20;2B</xref>. The glass fiber reinforced plastic tube (channel) was bent into desired shapes and fixed on to the perforated board. The top-view image of the curved channel with the checkerboard was taken. The checkerboard was used as a reference when calculating the curvature along the channel. In <xref ref-type="fig" rid="F2">Figure&#x20;2C</xref>, the motor block was mounted on a linear slider (SSEBWZ16-110, MISUMI&#xae;). Two loadcells (FUTEK&#xae; LSB200, capacity 4.5&#xa0;N, rated output 0.1&#xa0;mV/V) sandwiched the motor block were fixed on two linear sliders. Tuning these linear sliders could adjust the pretension applied on the motor&#x20;block.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>
<bold>(A)</bold> schematic diagram of experimental setup, <bold>(B)</bold> experimental setup, <bold>(C)</bold> the design of the motor block, <bold>(D)</bold> force diagram of the motor&#x20;block.</p>
</caption>
<graphic xlink:href="frobt-08-757895-g002.tif"/>
</fig>
</sec>
<sec id="s2-2">
<title>Measuring Insertion Force</title>
<p>MATLAB SIMULINK interfaced with a QPIDe data acquisition board from Quanser Quarc&#xae; was used to control the motor and acquire and synchronize sensor readings. The motor was controlled to insert the flexible shaft into the channel at a speed of 20.0&#xa0;mm/s. Once insertion length <inline-formula id="inf10">
<mml:math id="m10">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> &#x3d; 700&#xa0;mm was reached, the motor would rest for 5&#xa0;seconds and then withdraw the shaft to the starting point. The motor rested for 5&#xa0;seconds again and this process was repeated two&#x20;times.</p>
<p>A force diagram is provided in <xref ref-type="fig" rid="F2">Figure&#x20;2D</xref>. The insertion force required is denoted as<inline-formula id="inf11">
<mml:math id="m11">
<mml:mrow>
<mml:mo>&#xa0;</mml:mo>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#xa0;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. Both load cells are pre-loaded to<inline-formula id="inf12">
<mml:math id="m12">
<mml:mrow>
<mml:mo>&#xa0;</mml:mo>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#xa0;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>before measurement. The load cell readings are denoted as <inline-formula id="inf13">
<mml:math id="m13">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf14">
<mml:math id="m14">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. The forces from load cell 1 to the motor block is<inline-formula id="inf15">
<mml:math id="m15">
<mml:mrow>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>&#x394;</mml:mi>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and the force from load cell 2 is<inline-formula id="inf16">
<mml:math id="m16">
<mml:mrow>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>&#x394;</mml:mi>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. The total insertion force is as follows:<disp-formula id="equ1">
<mml:math id="m17">
<mml:mrow>
<mml:mo>&#xa0;</mml:mo>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>&#x394;</mml:mi>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>&#x394;</mml:mi>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</disp-formula>
</p>
<p>A second-order low-pass filter (cutoff frequency, sampling rate) was applied for both load cells. Data recorded from insertion distances 30&#x2013;600&#xa0;mm was used for this study. Then, the insertion length <inline-formula id="inf17">
<mml:math id="m18">
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mn>570</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>&#xa0;mm and <inline-formula id="inf18">
<mml:math id="m19">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mn>0,570</mml:mn>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>&#xa0;mm. In this range, the motor block was in its most stable condition and the shaft is driven with constant speed. After calibration of all load cells, the platform was used to collect data. <xref ref-type="fig" rid="F3">Figure&#x20;3</xref> shows three repeated measurements on a channel, and the maximum deviation is 3% comparing with the mean value. It indicates the insertion force for a given shape is consistent, and the measurement system is reliable. Note that the frictions of the housing tube and linear bearing are neglectable.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>The repeated measurements of the insertion force on a channel has the two-bend&#x20;shape.</p>
</caption>
<graphic xlink:href="frobt-08-757895-g003.tif"/>
</fig>
</sec>
<sec id="s2-3">
<title>Measuring Channel Curvature</title>
<p>The top-view image of the channel and the checkerboard was taken. The point clouds of the channel could be obtained via imaging processing in terms of the pixels. These pixels could be converted to real-world coordinates with respect to the checkerboard. Then, a parameter curve could be fitted to the point clouds and then used to calculate coordinates, curvatures, and accumulated bending angles.</p>
<p>First, the camera parameters were obtained using the checkerboard fixed on the platform using MATLAB camera calibration function &#x201c;estimateCameraParameters&#x201d;. Then, the&#x20;object in the image could be measured using the checkerboard and camera parameters. To illustrate the accuracy of this measurement, two checkerboards were placed diagonally on one A4 paper, as shown&#x20;in <xref ref-type="fig" rid="F4">Figure&#x20;4A</xref>. One checkerboard was the reference checkerboard, and the other was the targeting/object checkerboard. <xref ref-type="fig" rid="F4">Figure&#x20;4B</xref> shows the estimations and ground truth of the objects. The average and maximum distances between the estimates and ground truth are 1.26 and 1.88&#xa0;mm, which are small enough for this application.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>
<bold>(A)</bold> checkerboards to check the accuracy of image measurement, <bold>(B)</bold> the ground truth and estimates of the objects in <bold>(A)</bold>.</p>
</caption>
<graphic xlink:href="frobt-08-757895-g004.tif"/>
</fig>
<p>Then, we took the image of the channel during the insertion experiment. These images were post-processed to obtain the channel shape. <xref ref-type="fig" rid="F5">Figure&#x20;5</xref> shows the steps of extracting the channel coordinates with respect to the checkerboard from images taken. First, the fisheye effect (lens distortion) was removed using the camera parameters. Then, as shown in <xref ref-type="fig" rid="F5">Figures 5A</xref>, a greyscale image was obtained by saturating the top and bottom 1% values of the green channel of the image. Then the greyscale image was converted to a binary image with a threshold of 180 as <xref ref-type="fig" rid="F5">Figure&#x20;5B</xref>. Then the binary image would be converted to point clouds in coordinates form. The noises were removed from the tube objects, resulting in a clean background in <xref ref-type="fig" rid="F5">Figure&#x20;5C</xref>. The point clouds were fitted with 1) straight lines for the beginning and ending 2) ninth-order polynomial for the curved section. A fifth-order spline interpolation replaced the intersection zone of linear fittings and the polynomial fitting to obtain a smooth curvature profile as shown in <xref ref-type="fig" rid="F5">Figure&#x20;5C</xref>. The starting point of the insertion shaft is set to be the origin. <xref ref-type="fig" rid="F5">Figure&#x20;5D</xref> shows the&#x20;point cloud obtained and the fitting curve. We obtained the acutal shape <inline-formula id="inf19">
<mml:math id="m20">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> by converting these coordinates in the pixel to mm using the checkerboard. The origin of the acutal shape <inline-formula id="inf20">
<mml:math id="m21">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> was fixed as shown in <xref ref-type="fig" rid="F5">Figure&#x20;5A</xref>. All negative x points of the curve were discarded. The insertion length of m<sup>th</sup> point in the curve is calculated as the length of the fitting curve from the original point to the m<sup>th</sup> point:<disp-formula id="equ2">
<mml:math id="m22">
<mml:mrow>
<mml:msub>
<mml:mi>s</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mn>0</mml:mn>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mi>f</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>r</mml:mi>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>m</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mi>m</mml:mi>
</mml:munderover>
<mml:msqrt>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#xa0;</mml:mo>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:msqrt>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mi>f</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>r</mml:mi>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>m</mml:mi>
<mml:mo>&#x3e;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
</disp-formula>
</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>
<bold>(A)</bold> Greyscale image, and coordination setup, <bold>(B)</bold> binary image with noise, <bold>(C)</bold> binary image with noise removed, <bold>(D)</bold> point clouds from the binary image and fitting curve in the image&#x20;frame.</p>
</caption>
<graphic xlink:href="frobt-08-757895-g005.tif"/>
</fig>
<p>Then curvature was calculated based on the fitting curve using LineCurvature2D (<xref ref-type="bibr" rid="B17">Kroon 2021</xref>). The incremental angle for each point is calculated by<disp-formula id="equ3">
<mml:math id="m23">
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mi>d</mml:mi>
<mml:msub>
<mml:mi>&#x3b8;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mn>0</mml:mn>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mi>f</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>r</mml:mi>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>o</mml:mi>
<mml:mi>r</mml:mi>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>tan</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mfrac>
<mml:mrow>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>&#x394;</mml:mi>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x394;</mml:mi>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>tan</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mfrac>
<mml:mrow>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>&#x394;</mml:mi>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x394;</mml:mi>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mi>f</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>i</mml:mi>
<mml:mo>&#x2260;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>d</mml:mi>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>&#x2260;</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mi>w</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>e</mml:mi>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>&#x394;</mml:mi>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>d</mml:mi>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>&#x394;</mml:mi>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
</disp-formula>
</p>
<p>The accumulated bending angle from beginning to m<sup>th</sup> point is calculated by:<disp-formula id="equ4">
<mml:math id="m24">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b8;</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:msubsup>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#x7c;</mml:mo>
<mml:mo>&#x7c;</mml:mo>
<mml:mi>d</mml:mi>
<mml:msub>
<mml:mi>&#x3b8;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x7c;</mml:mo>
<mml:mo>&#x7c;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
</p>
</sec>
<sec id="s2-4">
<title>Overview of Data Collected</title>
<p>The insertion forces were measured when inserting the shaft into the curved channels. The channel curvatures were measured from the top-view image. The insertion force and respective channel curvatures were grouped as one set of data. By changing the shape of the channel, different insertion forces were obtained. As summarized in <xref ref-type="table" rid="T1">Table&#x20;1</xref>, we collected the channel curvatures and insertion forces of 120&#x20;one-bend shapes (indexed from &#x23;1 to &#x23;120) and 39&#x20;two-bend shapes (indexed from &#x23;121 to &#x23;159). One-bend shapes &#x23;35, &#x23;41&#x26; &#x23;106 in <xref ref-type="fig" rid="F6">Figure&#x20;6A</xref> and two-bend shapes &#x23;141, &#x23;145 &#x26; &#x23;159 in <xref ref-type="fig" rid="F6">Figure&#x20;6B</xref> are shown as an example The ranges of curvature and accumulated angle are also listed in <xref ref-type="table" rid="T1">Table&#x20;1</xref>. Moreover, the curvature was set to be positive for one-bend shapes. For two-bend shapes, the first bend had positive curvature, but the second bend could be positive or negative. The insertion force profiles and curvatures for one-bend shapes are shown in <xref ref-type="fig" rid="F6">Figures 6B,C</xref> and those for two-bend shapes are shown in <xref ref-type="fig" rid="F6">Figures 6E,F</xref>. It can be observed that the insertion force changes in a nonlinear manner in <xref ref-type="fig" rid="F6">Figure&#x20;6C</xref> as the curvature changes in <xref ref-type="fig" rid="F6">Figure&#x20;6B</xref>. Then, these shapes were grouped into two different datasets for the neural network model as <xref ref-type="table" rid="T2">Table&#x20;2</xref>. We used 105&#x20;one-bend shapes as training/dev set and 15&#x20;one-bend shapes as test set. Dataset 2 mixed one-bend shape and two-bend shapes. All one-bend shapes and 32&#x20;two-bend shapes were in training/dev set while 7&#x20;two-bend shapes were in test&#x20;set.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>The channel shapes with different features.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th rowspan="2" align="left">No.</th>
<th rowspan="2" align="center">Starting location (mm)</th>
<th rowspan="2" align="center">No. of bends</th>
<th colspan="2" align="center">Accumulated angle (degree)</th>
<th colspan="2" align="center">Curvatures (1/m)</th>
<th rowspan="2" align="center">No. shapes</th>
</tr>
<tr>
<th align="center">Min</th>
<th align="center">Max</th>
<th align="center">Min</th>
<th align="center">Max</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">1</td>
<td align="center">30</td>
<td align="center">1</td>
<td align="char" char=".">0.68</td>
<td align="char" char=".">87.08</td>
<td align="char" char=".">0.04</td>
<td align="char" char=".">4.95</td>
<td align="center">62</td>
</tr>
<tr>
<td align="left">2</td>
<td align="center">80</td>
<td align="center">1</td>
<td align="char" char=".">3.69</td>
<td align="char" char=".">84.63</td>
<td align="char" char=".">0.32</td>
<td align="char" char=".">5.44</td>
<td align="center">31</td>
</tr>
<tr>
<td align="left">3</td>
<td align="center">130</td>
<td align="center">1</td>
<td align="char" char=".">6.99</td>
<td align="char" char=".">84.28</td>
<td align="char" char=".">0.54</td>
<td align="char" char=".">6.83</td>
<td align="center">27</td>
</tr>
<tr>
<td align="left">4</td>
<td align="center">40</td>
<td align="center">2</td>
<td align="char" char=".">20.22</td>
<td align="char" char=".">90.26</td>
<td align="char" char=".">&#x2212;5.06</td>
<td align="char" char=".">5.84</td>
<td align="center">39</td>
</tr>
</tbody>
</table>
</table-wrap>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Some examples of data collected. For one-bend shape &#x23;35, &#x23;41j: <bold>(A)</bold> coordinates of the channel shapes, <bold>(B)</bold> curvature of the channel shapes, <bold>(C)</bold> insertion forces of the selected shapes. For one-bend shape &#x23;141, &#x23;145&#x178;: <bold>(D)</bold> coordinates of the channel shapes, <bold>(E)</bold> curvature of the channel shapes, <bold>(F)</bold> insertion forces of the selected shapes.</p>
</caption>
<graphic xlink:href="frobt-08-757895-g006.tif"/>
</fig>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>The compositions of the datasets.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Dataset</th>
<th align="center">Train and Dev</th>
<th align="center">Test</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">1</td>
<td align="left">105&#x20;one-bend shapes (&#x23;1, 2, 3)</td>
<td align="left">15&#x20;one-bend shapes</td>
</tr>
<tr>
<td align="left">2</td>
<td align="left">120&#x20;one-bend shapes (&#x23;1, 2, 3)<break/>32&#x20;two-bend shapes (&#x23;4)</td>
<td align="left">7&#x20;two-bend shapes</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec id="s3">
<title>The Neural Network Model</title>
<sec id="s3-1">
<title>Structure of the NN</title>
<p>Then, we used the data driven method to investigate association between the insertion force profile and the channel&#x20;shape.</p>
<p>First, the data obtained (insertion force profile and channel shape) are sequential. At any time, the curvature along the channel could be treated as function of insert length, provided the clearance is small. Then we also record the insertion force profile with respect to insertion length. The sequential data could be handled by the long-short-term-memory (LSTM) network. The bi-directional LSTM is formed by stacking two LSTM of opposite directions. The bi-directional LSTM has advantages in processing the context of a sequential&#x20;data.</p>
<p>The structure of the proposed deep neural network model is shown in <xref ref-type="fig" rid="F7">Figure&#x20;7</xref>. The network has an input as: <inline-formula id="inf21">
<mml:math id="m25">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msup>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>at every insertion length step <italic>i</italic> for shape <italic>k</italic>. The label or output is the curvatures<inline-formula id="inf22">
<mml:math id="m26">
<mml:mrow>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>&#x3ba;</mml:mi>
<mml:msup>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo>&#xa0;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>at insertion length step <italic>i</italic> for shape <italic>k</italic>. The input data was first fed to the bi-directional LSTM layers and then output through a MLP network. A simple way of enhancing the capability of a LSTM network is to increase the number of layers. However, if only LSTM is used, as the number of layers increases, more variables inside the LSTM need to be handled, and the training time will significantly increase. Therefore, multiple bidirectional LSTM layers are used for feature extraction and multilayer perceptron (MLP) is stacked to handle the information from bidirectional LSTM, which has been proved its advantages in (<xref ref-type="bibr" rid="B25">Zhao et&#x20;al., 2017</xref>).</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>An illustration of the proposed neural network&#x20;model.</p>
</caption>
<graphic xlink:href="frobt-08-757895-g007.tif"/>
</fig>
</sec>
<sec id="s3-2">
<title>Model Parameters and System Information</title>
<p>The network parameters were eventually selected using Sklearn. gridsearchCV: four layers of bidirectional LSTM, two layers of MLP with dropout layers in between, 120 hidden neurons for all layers. The dropout ratio was fixed at 0.5. Adam as optimizer and Huber loss-function are the best pick of parameters for the proposed neural network. The training stops at 5,000 epochs, where loss has converged. The configuration of the workstation: processor: Inter&#xae; Core (TM) i5-7500; RAM: 16G; GPU: Nvidia GTX 1050Ti. The CuDNNLSTM (Keras.layers) was used instead of normal LSTM layers to reduce training times. With parameters listed above, 5-fold cross validation was performed, i.e.,&#x20;the proposed neural network was trained and tested on five splits of Dataset 1. The training scores and testing scores for each split dataset were calculated. Finally, it is to check whether the network fits all the split datasets equally.</p>
</sec>
</sec>
<sec sec-type="results|discussion" id="s4">
<title>Results and Discussion</title>
<p>The trained model outputted the curvature <inline-formula id="inf23">
<mml:math id="m27">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, which can be used to calculate the coordinates of the channel <inline-formula id="inf24">
<mml:math id="m28">
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> .<disp-formula id="equ5">
<mml:math id="m29">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x222b;</mml:mo>
</mml:mstyle>
<mml:mn>0</mml:mn>
<mml:mi>s</mml:mi>
</mml:munderover>
<mml:mtext>cos</mml:mtext>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="equ6">
<mml:math id="m30">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x222b;</mml:mo>
</mml:mstyle>
<mml:mn>0</mml:mn>
<mml:mi>s</mml:mi>
</mml:munderover>
<mml:mtext>sin</mml:mtext>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="equ7">
<mml:math id="m31">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x222b;</mml:mo>
</mml:mstyle>
<mml:mn>0</mml:mn>
<mml:mi>s</mml:mi>
</mml:munderover>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</disp-formula>
</p>
<p>The error, which is the difference between the predicted shape <inline-formula id="inf25">
<mml:math id="m32">
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#xa0;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>and the actual channel shape <inline-formula id="inf26">
<mml:math id="m33">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, is used to evaluate the performance of trained NN model. For a point <inline-formula id="inf27">
<mml:math id="m34">
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> on the reconstructed shape, the closest point on actual channel shape, <inline-formula id="inf28">
<mml:math id="m35">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, was obtianed using <italic>dist2curv</italic> (<xref ref-type="bibr" rid="B10">D&#x2019;Errico 2013</xref>). This point-to-curve distance is illustrated as the margenta color arrow in the <xref ref-type="fig" rid="F8">Figure&#x20;8A</xref> inset. There are three types of the errors:<list list-type="simple">
<list-item>
<p>1) Average point-to-curve distance error:<inline-formula id="inf29">
<mml:math id="m36">
<mml:mrow>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mn>0</mml:mn>
<mml:mi>L</mml:mi>
</mml:munderover>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mo>&#x7c;</mml:mo>
<mml:mo>&#x7c;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x7c;</mml:mo>
<mml:mo>&#x7c;</mml:mo>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mi>L</mml:mi>
<mml:mo>&#xa0;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>
</p>
</list-item>
<list-item>
<p>2) Distal tip distance error:<inline-formula id="inf30">
<mml:math id="m37">
<mml:mrow>
<mml:mo>&#x7c;</mml:mo>
<mml:mo>&#x7c;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>&#x7c;</mml:mo>
<mml:mo>&#x7c;</mml:mo>
<mml:mo>(</mml:mo>
<mml:mi>L</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>L</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x7c;</mml:mo>
<mml:mo>&#x7c;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>
</p>
</list-item>
<list-item>
<p>3) Accumulated angle error: <inline-formula id="inf31">
<mml:math id="m38">
<mml:mrow>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x222b;</mml:mo>
</mml:mstyle>
<mml:mn>0</mml:mn>
<mml:mi>L</mml:mi>
</mml:munderover>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x222b;</mml:mo>
</mml:mstyle>
<mml:mn>0</mml:mn>
<mml:mi>L</mml:mi>
</mml:munderover>
<mml:mi>&#x3ba;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
</list>
</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Selected shapes (shape &#x23;54 &#x26; &#x23;70) predicted by the NN model with bidirectional LSTM. <bold>(A)</bold> predicted shapes are compared with actual shapes; <bold>(B)</bold> predicted curvatures are compared with actual curvatures.</p>
</caption>
<graphic xlink:href="frobt-08-757895-g008.tif"/>
</fig>
<p>The average point-to-curve distance error evaluates the difference between reconstructed shape and original shape. Larger these values are, more inaccurate the model is. As shown in <xref ref-type="fig" rid="F8">Figure&#x20;8A</xref> inset, the distal tip distance error (black arrow) emphasizes the difference at the distal tip of the channel. This tip can be treated as the distal end of a continuum structure, where the end effector locates. C is the difference between accumulated angles, which directly affect the friction modeling of tendon sheath mechanism.</p>
<sec id="s4-1">
<title>One-Bend Shape (Dataset 1)</title>
<p>
<xref ref-type="table" rid="T3">Table&#x20;3</xref> presents the errors of the predicted results. For average point-to-curve distance error, the mean value on test set is 1.52&#xa0;mm. The maximum value of distal tip distance error is 12.33&#xa0;mm which is only 2.16% of the overall insertion length <inline-formula id="inf32">
<mml:math id="m39">
<mml:mi>L</mml:mi>
</mml:math>
</inline-formula> . The maximum value of the accumulated angle error is 2.09 degree.</p>
<table-wrap id="T3" position="float">
<label>TABLE 3</label>
<caption>
<p>Errors of prediction on test&#x20;sets.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th rowspan="2" align="left"/>
<th colspan="2" align="center">Average point-to-curve distance error (mm)</th>
<th colspan="2" align="center">Distal tip distance error (mm)</th>
<th colspan="2" align="center">Accumulated angle error (degree)</th>
</tr>
<tr>
<th align="center">Mean</th>
<th align="center">Max</th>
<th align="center">Mean</th>
<th align="center">Max</th>
<th align="center">Mean</th>
<th align="center">Max</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Dataset 1</td>
<td align="char" char=".">1.52</td>
<td align="char" char=".">4.19</td>
<td align="char" char=".">5.15</td>
<td align="char" char=".">12.33</td>
<td align="char" char=".">1.13</td>
<td align="char" char=".">2.09</td>
</tr>
<tr>
<td align="left">Dataset 2</td>
<td align="char" char=".">9.03</td>
<td align="char" char=".">31.40</td>
<td align="char" char=".">36.76</td>
<td align="char" char=".">143.42</td>
<td align="char" char=".">9.05</td>
<td align="char" char=".">31.13</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>
<xref ref-type="fig" rid="F8">Figure&#x20;8</xref> showcases some of the testing results. One-bend shape &#x23;54 had the maximum average point-to-curve distance error and &#x23;70 had the minimum average point-to-curve distance error. The predicted shapes in <xref ref-type="fig" rid="F8">Figure&#x20;8A</xref> and the predicted curvatures in <xref ref-type="fig" rid="F8">Figure&#x20;8B</xref> matched the actual shape&#x20;well.</p>
<p>The 5-fold cross-validation results are presented in <xref ref-type="table" rid="T4">Table&#x20;4</xref>. Again, the training and testing scores are close to each other, indicating that the proposed network worked equally well on all data sets. Note that Dataset 1 contains only shapes with positive curvatures, and the network might have only learned the magnitude correlation between the insertion force and curvature.</p>
<table-wrap id="T4" position="float">
<label>TABLE 4</label>
<caption>
<p>Training score and testing score of the Dataset 1</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left"/>
<th align="center">Training score</th>
<th align="center">Testing score</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Split1</td>
<td align="char" char=".">0.40</td>
<td align="char" char=".">0.41</td>
</tr>
<tr>
<td align="left">Split2</td>
<td align="char" char=".">0.41</td>
<td align="char" char=".">0.40</td>
</tr>
<tr>
<td align="left">Split3</td>
<td align="char" char=".">0.61</td>
<td align="char" char=".">0.66</td>
</tr>
<tr>
<td align="left">Split4</td>
<td align="char" char=".">0.43</td>
<td align="char" char=".">0.47</td>
</tr>
<tr>
<td align="left">Split5</td>
<td align="char" char=".">0.51</td>
<td align="char" char=".">0.52</td>
</tr>
<tr>
<td align="left">Mean</td>
<td align="char" char=".">0.47</td>
<td align="char" char=".">0.49</td>
</tr>
<tr>
<td align="left">Standard deviation</td>
<td align="char" char=".">0.08</td>
<td align="char" char=".">0.10</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>We also trained another neural network which has a two-layer unidirectional LSTM (forward only) with MLP of two hidden layers. Selected results Shape &#x23;24 and shape &#x23;99 are illustrated in <xref ref-type="fig" rid="F9">Figure&#x20;9</xref> for an example. It can be observed that the prediction before the peak is biased and fluctuated for shape &#x23;24 and &#x23;99 (the blue and red arrows). Furthermore, as the insertion length increases, the longer the length LSTM could use, the better the prediction is. However, the error accumulated in the beginning part of curvature prediction diverges the reconstruction based on it. The mean and max point-to-curve distance is 8.92 and 46.96&#xa0;mm. The mean and max accumulated angle error is 3.09 and 7.15 degree. These errors are much larger than the proposed&#x20;model.</p>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>Selected shapes (shape &#x23;24 &#x26; &#x23;99) predicted by the NN model with unidirectional LSTM. <bold>(A)</bold> predicted shapes are compared with actual shapes; <bold>(B)</bold> predicted curvatures are compared with actual curvatures.</p>
</caption>
<graphic xlink:href="frobt-08-757895-g009.tif"/>
</fig>
<p>Based on above results, we can summarize that the proposed model is good at learning the magnitude relationship between the insertion force and curvature.</p>
</sec>
<sec id="s4-2">
<title>Two-Bend Shape (Dataset 2)</title>
<p>The errors for two-bend shapes were huge, comparing with one-bend shape. The mean values for the three errors were: 9.03, 36.76&#xa0;mm and 31.13 degree. We picked &#x23;147 and &#x23;156 as examples and illustrated in <xref ref-type="fig" rid="F10">Figure&#x20;10</xref>. These two shapes had same first bend and opposite second bend. Shape &#x23;147 had two positive curvature bends and shape &#x23;156 had a positive bend followed by a negative&#x20;bend.</p>
<fig id="F10" position="float">
<label>FIGURE 10</label>
<caption>
<p>For shape &#x23;147 &#x26; &#x23;156, <bold>(A)</bold> predicted shapes are compared with actual shapes; <bold>(B)</bold> predicted curvatures are compared with actual curvatures.</p>
</caption>
<graphic xlink:href="frobt-08-757895-g010.tif"/>
</fig>
<p>Then, the predictions of shape &#x23;156 were accurate. The predictions of &#x23;147 were accurate only at the first bend section. However, in Dataset 2, 32&#x20;two-bend data were mixed with 120&#x20;one-bend data, which means the training data set was biased with positive curvature sample. The prediction should be accurate on &#x23;147 which had two positive curvature&#x20;bends.</p>
<p>Thus, the correlation of magnitude learned from one-bend shapes could be learned and the curvature of the first bend could be accurately predicted. It also shows that the signs of curvatures cannot be predicted in this&#x20;wok.</p>
</sec>
<sec id="s4-3">
<title>Limitations of This Work</title>
<p>First, a ninth-order polynomial method is deployed for the curve fitting, which causes fluctuations at the channel&#x2019;s straight part (a straight line). The fluctuation affects the curvature of tube shape calculation, which are labels feed to neural nets. At the same time, the insertion forces as training inputs are smooth and small over this range. This introduced defects in training process.</p>
<p>Second, we had unevenly distributed datasets. As introduced in Section <italic>Experimental Setup</italic>, the glass fiber reinforced plastic tube was deformed and fixed on the perforated board by cable ties to create the curved channel. The shapes formed depended on the location of the cable ties. The holes on the perforated board result in limited number of samples, and leading to uneven distribution of the curvature along the channel <inline-formula id="inf33">
<mml:math id="m40">
<mml:mrow>
<mml:mi>&#x3ba;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>. Moreover, for two bend shapes, we had few choices on the angle of first bend section and the curvature of second bend had different signs. These also led to an unevenly distributed dataset.</p>
<p>Third, the size of the data sets was small and the shapes were simple. We measured 120&#x20;one-bend shapes, with angles ranging from 0 to 87 degree and curvature ranging from 0 to 6.8&#xa0;m<sup>&#x2212;1</sup>. The range and samples were limited. The one-bend and two-bend shapes were really simple. Moreover, when we attempted the two-bend shapes, the shape of the second bend cannot be accurately predicted for all cases, which might be solved by increasing the amount and range of the&#x20;data.</p>
</sec>
</sec>
<sec sec-type="conclusion" id="s5">
<title>Conclusion</title>
<p>We aimed to estimate the shape/curvature of a planar channel by the insertion force. A neural network model was developed to model the correlation based on the data collected on a testbed. The training results show the possibility of estimating the curvature magnitudes of the pathway based on the insertion force. However, predicting the signs of curvature is challenging. Future work is needed to further investigate the correlation between insertion forces and the pathway through mathematical models or finite element analysis and enhance the model&#x2019;s capability in predicting more complex shapes. It is highly desirable to develop a simple formulation to theoretically or empirically model the correlation between insertion forces and curvature magnitudes. The approach may predict the curvature magnitudes and accumulated bending angles of flexible endoscopic surgical robots for accurate motion compensation and haptic force feedback.</p>
</sec>
</body>
<back>
<sec id="s6">
<title>Data Availability Statement</title>
<p>The raw data supporting the conclusion of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s7">
<title>Author Contributions</title>
<p>LC designed this research. LC and JL conducted the experiments. All authors analyzed the data wrote the manuscript.</p>
</sec>
<sec sec-type="COI-statement" id="s8">
<title>Conflict of Interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s9">
<title>Publisher&#x2019;s Note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Back</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Manwell</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Karim</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Rhode</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Althoefer</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2015</year>). &#x201c;<article-title>Catheter Contact Force Estimation from Shape Detection Using a Real-Time Cosserat Rod Model</article-title>,&#x201d; in <source>In 2015 IEEE/RSJ&#x20;International Conference on Intelligent Robots and Systems (IROS)</source> (<publisher-loc>Hamburg, Germany</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>2037</fpage>&#x2013;<lpage>2042</lpage>. <pub-id pub-id-type="doi">10.1109/IROS.2015.7353647</pub-id> </citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cao</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Phan</surname>
<given-names>P. T.</given-names>
</name>
<name>
<surname>Tiong</surname>
<given-names>A. M. H.</given-names>
</name>
<name>
<surname>Kaan</surname>
<given-names>H. L.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>J.</given-names>
</name>
<etal/>
</person-group> (<year>2020</year>). <article-title>Sewing up the Wounds: A Robotic Suturing System for Flexible Endoscopy</article-title>. <source>IEEE Robot. Automat. Mag.</source> <volume>27</volume>, <fpage>45</fpage>&#x2013;<lpage>54</lpage>. <pub-id pub-id-type="doi">10.1109/MRA.2019.2963161</pub-id> </citation>
</ref>
<ref id="B3">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Cao</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Phan</surname>
<given-names>P. T.</given-names>
</name>
<name>
<surname>Tiong</surname>
<given-names>A. M. H.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Phee</surname>
<given-names>S. J.</given-names>
</name>
</person-group> (<year>2019</year>). &#x201c;<article-title>A Novel Robotic Suturing System for Flexible Endoscopic Surgery</article-title>,&#x201d; in <source>In 2019 International Conference on Robotics and Automation</source> (<publisher-loc>Gurgaon</publisher-loc>: <publisher-name>ICRA</publisher-name>), <fpage>1514</fpage>&#x2013;<lpage>1520</lpage>. <pub-id pub-id-type="doi">10.1109/ICRA.2019.8794247</pub-id> </citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cardoso</surname>
<given-names>F. M.</given-names>
</name>
<name>
<surname>Furuie</surname>
<given-names>S. S.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Guidewire Path Determination for Intravascular Applications</article-title>. <source>Comp. Methods Biomech. Biomed. Eng.</source> <volume>19</volume> (<issue>6</issue>), <fpage>628</fpage>&#x2013;<lpage>638</lpage>. <pub-id pub-id-type="doi">10.1080/10255842.2015.1055732</pub-id> </citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Liao</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>3D Catheter Shape Determination for Endovascular Navigation Using a Two-step Particle Filter and Ultrasound Scanning</article-title>. <source>IEEE Trans. Med. Imaging</source> <volume>36</volume> (<issue>3</issue>), <fpage>685</fpage>&#x2013;<lpage>695</lpage>. <pub-id pub-id-type="doi">10.1109/TMI.2016.2635673</pub-id> </citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>J.-S.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>C.-W.</given-names>
</name>
</person-group> (<year>2007</year>). <article-title>Planar Elastica inside a Curved Tube with Clearance</article-title>. <source>Int. J.&#x20;Sol. Structures</source> <volume>44</volume> (<issue>18&#x2013;19</issue>), <fpage>6173</fpage>&#x2013;<lpage>6186</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijsolstr.2007.02.021</pub-id> </citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cheng</surname>
<given-names>W.-B.</given-names>
</name>
<name>
<surname>Di</surname>
<given-names>Y.-Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>E. M.</given-names>
</name>
<name>
<surname>Michael</surname>
<given-names>A. J.</given-names>
</name>
<name>
<surname>Moser</surname>
<given-names>M. A. J.</given-names>
</name>
<name>
<surname>Kanagaratnam</surname>
<given-names>S.</given-names>
</name>
<etal/>
</person-group> (<year>2013</year>). <article-title>Modeling and <italic>In Vitro</italic> Experimental Validation for Kinetics of the Colonoscope in Colonoscopy</article-title>. <source>Ann. Biomed. Eng.</source> <volume>41</volume> (<issue>5</issue>), <fpage>1084</fpage>&#x2013;<lpage>1093</lpage>. <pub-id pub-id-type="doi">10.1007/s10439-013-0746-1</pub-id> </citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chirikjian</surname>
<given-names>G. S.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Conformational Modeling of Continuum Structures in Robotics and Structural Biology: A Review</article-title>. <source>Adv. Robotics</source> <volume>29</volume> (<issue>13</issue>), <fpage>817</fpage>&#x2013;<lpage>829</lpage>. <pub-id pub-id-type="doi">10.1080/01691864.2015.1052848</pub-id> </citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dal Corso</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Misseroni</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Pugno</surname>
<given-names>N. M.</given-names>
</name>
<name>
<surname>Movchan</surname>
<given-names>A. B.</given-names>
</name>
<name>
<surname>Movchan</surname>
<given-names>N. V.</given-names>
</name>
<name>
<surname>Bigoni</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Serpentine Locomotion through Elastic Energy Release</article-title>. <source>J.&#x20;R. Soc. Interf.</source> <volume>14</volume> (<issue>130</issue>), <fpage>20170055</fpage>. <pub-id pub-id-type="doi">10.1098/rsif.2017.0055</pub-id> </citation>
</ref>
<ref id="B10">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>D&#x2019;Errico</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2013</year>). <source>&#x201c;Distance2curve.&#x201d; 1. 1</source>. <comment>February 27, 2013&#x20;<ext-link ext-link-type="uri" xlink:href="https://www.mathworks.com/matlabcentral/fileexchange/34869-distance2curve">https://www.mathworks.com/matlabcentral/fileexchange/34869-distance2curve</ext-link>.</comment> </citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hu</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Cao</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Luo</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>W. J.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>A Novel Methodology for Comprehensive Modeling of the Kinetic Behavior of Steerable Catheters</article-title>. <source>Ieee/asme Trans. Mechatron.</source> <volume>24</volume> (<issue>4</issue>), <fpage>1785</fpage>&#x2013;<lpage>1797</lpage>. <pub-id pub-id-type="doi">10.1109/TMECH.2019.2928786</pub-id> </citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hu</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Luo</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>E.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Steerable Catheters for Minimally Invasive Surgery: A Review and Future Directions</article-title>. <source>Comp. Assist. Surg.</source> <volume>23</volume> (<issue>1</issue>), <fpage>21</fpage>&#x2013;<lpage>41</lpage>. <pub-id pub-id-type="doi">10.1080/24699322.2018.1526972</pub-id> </citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Janjic</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Mastik</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Leistikow</surname>
<given-names>M. D.</given-names>
</name>
<name>
<surname>Bosch</surname>
<given-names>J.&#x20;G.</given-names>
</name>
<name>
<surname>Springeling</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>van der Steen</surname>
<given-names>A. F. W.</given-names>
</name>
<etal/>
</person-group> (<year>2018</year>). <article-title>Sparse Ultrasound Image Reconstruction from a Shape-Sensing Single-Element Forward-Looking Catheter</article-title>. <source>IEEE Trans. Biomed. Eng.</source> <volume>65</volume> (<issue>10</issue>), <fpage>2210</fpage>&#x2013;<lpage>2218</lpage>. <pub-id pub-id-type="doi">10.1109/TBME.2017.2787060</pub-id> </citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Khatait</surname>
<given-names>J.&#x20;P.</given-names>
</name>
<name>
<surname>Brouwer</surname>
<given-names>D. M.</given-names>
</name>
<name>
<surname>Aarts</surname>
<given-names>R. G. K. M.</given-names>
</name>
<name>
<surname>Herder</surname>
<given-names>J.&#x20;L.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Modeling of a Flexible Instrument to Study its Sliding Behavior inside a Curved Endoscope</article-title>. <source>J.&#x20;Comput. Nonlinear Dyn.</source> <volume>8</volume> (<issue>3</issue>), <fpage>031002</fpage>. <pub-id pub-id-type="doi">10.1115/1.4007539</pub-id> </citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Khoshnam</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Patel</surname>
<given-names>R. V.</given-names>
</name>
</person-group> (<year>2016</year>.<article-title>Tendon-Sheath Analysis for Modeling and Control of Steerable Ablation Catheters</article-title>. <source>IEEE Int. Conf. Adv. Intell. Mechatronics (Aim)</source>). <fpage>1585</fpage>&#x2013;<lpage>1590</lpage>. <pub-id pub-id-type="doi">10.1109/AIM.2016.7576996</pub-id> </citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Khoshnam</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Skanes</surname>
<given-names>A. C.</given-names>
</name>
<name>
<surname>Patel</surname>
<given-names>R. V.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Modeling and Estimation of Tip Contact Force for Steerable Ablation Catheters</article-title>. <source>IEEE Trans. Biomed. Eng.</source> <volume>62</volume> (<issue>5</issue>), <fpage>1404</fpage>&#x2013;<lpage>1415</lpage>. <pub-id pub-id-type="doi">10.1109/TBME.2015.2389615</pub-id> </citation>
</ref>
<ref id="B17">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Kroon</surname>
<given-names>Dirk-Jan.</given-names>
</name>
</person-group> (<year>2021</year>). <source>2D Line Curvature and Normals</source>. <comment>&#x201d; 2021&#x20;<ext-link ext-link-type="uri" xlink:href="https://se.mathworks.com/matlabcentral/fileexchange/32696-2d-line-curvature-and-normals">https://se.mathworks.com/matlabcentral/fileexchange/32696-2d-line-curvature-and-normals</ext-link>.</comment> </citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Cao</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Tiong</surname>
<given-names>A. M. H.</given-names>
</name>
<name>
<surname>Phan</surname>
<given-names>P. T.</given-names>
</name>
<name>
<surname>Phee</surname>
<given-names>S. J.</given-names>
</name>
<name>
<surname>Tiong</surname>
<given-names>A. M. H.</given-names>
</name>
<etal/>
</person-group> (<year>2019</year>). <article-title>Distal-End Force Prediction of Tendon-Sheath Mechanisms for Flexible Endoscopic Surgical Robots Using Deep Learning</article-title>. <source>Mechanism Machine Theor.</source> <volume>134</volume> (<issue>April</issue>), <fpage>323</fpage>&#x2013;<lpage>337</lpage>. <pub-id pub-id-type="doi">10.1016/j.mechmachtheory.2018.12.035</pub-id> </citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Tiong</surname>
<given-names>A. M. H.</given-names>
</name>
<name>
<surname>Cao</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Lai</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Phan</surname>
<given-names>P. T.</given-names>
</name>
<name>
<surname>Phee</surname>
<given-names>S. J.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Deep Learning for Haptic Feedback of Flexible Endoscopic Robot without Prior Knowledge on Sheath Configuration</article-title>. <source>Int. J.&#x20;Mech. Sci.</source> <volume>163</volume> (<issue>November</issue>), <fpage>105129</fpage>. <pub-id pub-id-type="doi">10.1016/j.ijmecsci.2019.105129</pub-id> </citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liu</surname>
<given-names>C.-W.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>J.-S.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Effect of Friction on the Planar Elastica Constrained inside a Circular Channel with Clearance</article-title>. <source>Int. J.&#x20;Sol. Structures</source> <volume>50</volume> (<issue>1</issue>), <fpage>270</fpage>&#x2013;<lpage>278</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijsolstr.2012.09.026</pub-id> </citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Song</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Meng</surname>
<given-names>M. Q.-H.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Preliminary Study on Magnetic Tracking-Based Planar Shape Sensing and Navigation for Flexible Surgical Robots in Transoral Surgery: Methods and Phantom Experiments</article-title>. <source>Int. J.&#x20;CARS</source> <volume>13</volume> (<issue>2</issue>), <fpage>241</fpage>&#x2013;<lpage>251</lpage>. <pub-id pub-id-type="doi">10.1007/s11548-017-1672-8</pub-id> </citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sun</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Phee</surname>
<given-names>S. J.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Modeling and Motion Compensation of a Bidirectional Tendon-Sheath Actuated System for Robotic Endoscopic Surgery</article-title>. <source>Comp. Methods Programs Biomed.</source> <volume>119</volume> (<issue>2</issue>), <fpage>77</fpage>&#x2013;<lpage>87</lpage>. <pub-id pub-id-type="doi">10.1016/j.cmpb.2015.03.001</pub-id> </citation>
</ref>
<ref id="B23">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Lu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Song</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Meng</surname>
<given-names>M. Q.-H.</given-names>
</name>
</person-group> (<year>2017</year>). &#x201c;<article-title>Pilot Study on Shape Sensing for Continuum Tubular Robot with Multi-Magnet Tracking Algorithm</article-title>,&#x201d; in <source>In 2017 IEEE International Conference on Robotics and Biomimetics (ROBIO)</source> (<publisher-loc>Macau, Macao</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>1165</fpage>&#x2013;<lpage>1170</lpage>. <pub-id pub-id-type="doi">10.1109/ROBIO.2017.8324575</pub-id> </citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xu</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Simaan</surname>
<given-names>N.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>Analytic Formulation for Kinematics, Statics, and Shape Restoration of Multibackbone Continuum Robots via Elliptic Integrals</article-title>. <source>J.&#x20;Mech. Robotics</source> <volume>2</volume> (<issue>1</issue>). <pub-id pub-id-type="doi">10.1115/1.4000519</pub-id> </citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhao</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Yan</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Mao</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Learning to Monitor Machine Health with Convolutional Bi-directional LSTM Networks</article-title>. <source>Sensors</source> <volume>17</volume> (<issue>2</issue>), <fpage>273</fpage>. <pub-id pub-id-type="doi">10.3390/s17020273</pub-id> </citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhuang</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Lou</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Dong</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>FBG Based Shape Sensing of a Silicone Octopus Tentacle Model for Soft Robotics</article-title>. <source>Optik</source> <volume>165</volume> (<issue>July</issue>), <fpage>7</fpage>&#x2013;<lpage>15</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijleo.2018.03.087</pub-id> </citation>
</ref>
</ref-list>
</back>
</article>