Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Developing a novel force forecasting technique for early prediction of critical events in robotics

  • Meenakshi Narayan ,

    Roles Conceptualization, Formal analysis, Investigation, Methodology, Software, Writing – original draft

    Meenakshi.Narayan@utdallas.edu

    Affiliation Department of Mechanical Engineering, The University of Texas at Dallas, Richardson, Texas, United States of America

  • Ann Majewicz Fey

    Roles Investigation, Supervision, Writing – review & editing

    Affiliations Department of Mechanical Engineering, The University of Texas at Dallas, Richardson, Texas, United States of America, Department of Surgery, UT Southwestern Medical Center, Dallas, Texas, United States of America

Abstract

Safety critical events in robotic applications can often be characterized by forces between the robot end-effector and the environment. One application in which safe interaction between the robot and environment is critical is in the area of medical robots. In this paper, we propose a novel Compact Form Dynamic Linearization Model-Free Prediction (CFDL-MFP) technique to predict future values of any time-series sensor data, such as interaction forces. Existing time series forecasting methods have high computational times which motivates the development of a novel technique. Using Autoregressive Integrated Moving Average (ARIMA) forecasting as benchmark, the performance of the proposed model was evaluated in terms of accuracy, computation efficiency, and stability on various force profiles. The proposed algorithm was 11% more accurate than ARIMA and maximum computation time of CFDL-MFP was 4ms, compared to ARIMA (7390ms). Furthermore, we evaluate the model in the special case of predicting needle buckling events, before they occur, by using only axial force and needle-tip position data. The model was evaluated experimentally for robustness with steerable needle insertions into different tissues including gelatin and biological tissue. For a needle insertion velocity of 2.5mm/s, the proposed algorithm was able to predict needle buckling 2.03s sooner than human detections. In biological tissue, no false positive or false negative buckling detections occurred and the rates were low in artificial tissue. The proposed forecasting model can be used to ensure safe robot interactions with delicate environments by predicting adverse force-based events before they occur.

1 Introduction

The technique of predicting future events based on past and present information of a system has played a significant role in framing optimal and safe decisions for various applications such as mobile surveillance, high-performance manipulation and medical applications to name a few [1]. Accuracy and timely predictions of a system state in response to environmental conditions enhance the ability to provide appropriate control decisions for safe system operations. However, given the unknown dynamic structure of environments, it is challenging to control the system’s response to its environment. Through sensing, estimation and prediction, information of the system state and environment can be approximately retrieved [1]. There has been growing interest in developing prediction-based control strategies through sensors, to prevent undesirable events in autonomous intelligent robots, human-robot interactions, and multi-agent robots, using some danger metric. This approach of using metrics to foresee an upcoming danger enables the robot to take preventive control actions before the danger occurs [24].

One critically important area for adverse event prediction is in the field of medicine. In the areas of medical decision making, time series forecasting models have been successfully applied to predict mortality and time dependent risks [5], early diagnosis of disease [6], and heartbeat rates to estimate activity-based physiological response [7]. However, there is a paucity of research related to prediction-based control for medical robotic systems, and in particular, surgical robots.

1.1 Motivation

In surgery, patient safety has been defined in terms of how quickly the surgeon responds to critical adverse events and performs appropriate control actions in real time to minimize risks to the patient [8]. Adverse events including tool malfunctions, operator errors, and improper control of surgical robots have been shown to cause negative patient outcomes, such as injuries and deaths. For example, during the past decade, tool malfunctions alone constituted 62% of injury related events, with imaging errors and broken tool-tips contributing to 7.4% and 10.5% of adverse events [9]. Recently, efforts have been made to facilitate turn-taking prediction in surgeon-robot collaboration for early delivery of surgical instruments, thereby enhancing safe and efficient procedure [10]. Their work is related to human-robot collaboration; however, there is still an important and unaddressed area of research related to predicting adverse environmental conditions. In this paper, we will focus on predicting critical events that are common in robotic needle-based interventions.

In robotic needle steering, flexible asymmetric-tip needles are designed to automatically steer within a tissue to reach specific target locations. This technology has tremendous potential to assist surgeons in performing many percutaneous procedures and needle-based interventions with enhanced precision, dexterity, and reliability [1114]. However, critical issues related to patient safety and robust system performance have limited the clinical applicability of robotically steered needles [15]. The highly dynamic and unpredictable nature of steerable needles make them a perfect case study for developing a novel force prediction technique, with force being the time series data measured from a force sensor.

Forces exerted from the surrounding tissue can increase rapidly causing the needle to laterally bend and buckle when encountering stiff tissue [16, 17]. On further insertion, either the needle tip could break, or membrane puncture can occur causing undesired tissue rupture and bleeding [18]. Therefore, buckling can cause damage to both the needle and the tissue [19, 20]. In order to lower the risks of this damage, it is crucial to minimize the lag between the time of event occurrence and the time of event detection. We attempted to minimize this lag through our previously developed algorithm that detected needle buckling events within 2mm after encounter with a hard impenetrable obstacle, and at least one second sooner than human detection [21]. However, detecting an adverse event on occurrence can still be too late to prevent any potential damage to the needle-tissue system [8]. Thus, it is more crucial to predict a buckling event before it occurs so that an appropriate decision can be implemented to prevent the needle from buckling, as illustrated in Fig 1. Since nearly constant needle-tip position and force patterns were used to characterize needle buckling [21], the first step is to perform forecasts of axial force data.

thumbnail
Fig 1. Fluoroscopic motion image and force data plot of a needle buckling during insertions into a porcine cadaver liver [22].

The main idea is to predict buckling as soon as the needle starts bending slightly at 33.1s, before the needle completely buckles at 36.5s.

https://doi.org/10.1371/journal.pone.0230009.g001

1.2 Related work

A brief survey of existing approaches to modeling and estimation of force data, prediction and control of adverse events related to robot-assisted needle steering domain, and predictive models using forecasting and adaptive control strategies, is presented below.

1.2.1 Force modeling and estimation.

Over the past decade, researchers have begun to realize the importance of estimating force data and providing control to a surgeon for timely identification and prevention of unforeseen incidents during surgical procedures with a robot [23, 24]. With this goal, several insertion force models were developed using analytical techniques [25, 26]. The high computation efficiency of the analytical techniques make them suitable candidates for online force estimation and control [27]. In most of these techniques, the force data were decomposed into friction, cutting and stiffness force components and each component was modeled independently. For example, Simone estimated the friction and stiffness forces using modified Karnopp and nonlinear spring models, respectively, with the models being capable of providing force feedback in real time [25]. With the nonlinear spring model, puncture of the interior tissue structures was controlled online while detecting undesired collisions. For cutting force modeling, a novel method was proposed using force data patterns to estimate the local elastic modulus and friction state of the needle-tissue interactions in real time [28]. As a measure to ensure patient safety, Fukushima et al. estimated the cutting force from the friction force obtained through force visualization so that human errors were reduced during needle insertion [29]. Another method which directly modeled the force data without decomposition was a multilayer model [26]. Their method was tested through different layers of the tissue (fat, skin, muscle) with the main objective of force control to achieve optimal puncture tasks. Since these analytical models are just approximations of the original force data, it is difficult to capture unexpected force profiles due to an adverse event.

There has been growing interest in data-driven methods for force estimation [15]. For example, one of the first works to use only insertion force data to identify cancerous tissues in real time was [30]. Using the variation in the force patterns, they identified a threshold force value which classified cancerous tissues from normal tissues. Next, Gerwen et al. developed a stochastic model using only measured force data, to identify relevant peak forces required to puncture through a kidney [31]. Recently, deep neural network based models have also been developed to estimate insertion force without prior knowledge of needle-tissue characteristics. Gessert et al. estimated needle-tip forces by mapping insertion forces from a fiber-optical sensor and the optical coherence tomography (OCT) using deep convolutional neural networks [32]. Their method demonstrated real-time capability due to low computation times. Since high resolution imaging modalities such as OCT are expensive for the operating room, simple, inexpensive, and effective methods are preferred for accurate needle insertions [33].

The common goals of the above models were to estimate force data in real time for tissue characterization, detect events such as a puncture on occurrence, and accordingly optimize needle insertions. However, there has not yet been an attempt to estimate force data for future time horizons and predict puncturing events before they actually occurred. In general, there is tremendous need to optimize patient safety through real-time prediction and prevention of an adverse event before occurrence [8].

1.2.2 Prediction and control of adverse events.

There are few examples in the literature which largely focus on controlling adverse events such as needle deflections and tissue deformations during insertions into a tissue, using only sensor data. For example, Rossa et al. estimated the needle-tip deflections using only sensor force data, needle-tip positions from 2D ultrasound, and steering inputs [34]. Using learning models from past measurements, optimal steering inputs were determined to avoid future deflections. Their models showed real-time capability with low computation time of 13ms. Next, Buzurovic et al. minimized tissue displacements and optimized needle insertions using a combination of artificial neural networks (ANN), neural-network based predictive control (NNPC) and model predictive control (MPC) techniques [35]. Their approach involved; a) estimating insertion force patterns with ANN, b) predicting and minimizing reactive forces using NNPC, and c) determining insertion inputs using NNPC and MPC to minimize tissue displacements. However, the minimum prediction computation time obtained was 300ms which might be challenging for real-time implementation.

Several strategies have been implemented in the past to avoid needle buckling events within the tissue. For example, novel designs for steerable needles were developed to increase the critical buckling force of the needle shaft and eventually reduce insertion force on the needle during insertions [3638]. These methods only decrease the possibility of needle buckling events; however, they do not provide for real-time control mechanism when a needle buckling event does occur. To identify a needle buckling within the tissue, Tang et al. derived a relationship between the insertion forces and needle displacements using needle-tissue biomechanics model [39]. Other examples of modeling and detecting needle buckling events with biomechanics models include [40, 41]. However, with these methods, prior information of tissue properties was required, which is challenging for real-time implementation when tissue environments are generally unknown.

Recently, Li et al. developed a model-free adaptive control based on the Kalman filter technique to track and control the position of a flexible continuum robot [42]. Their approach did not use any prior information of the robot kinematics or tissue properties, and guaranteed real-time capability with computation time as low as 2ms. Additionally, they provided an optimal control law to predict a potential buckling of the continuum robot. This was the only closest work which used model-free adaptive techniques to control and predict a buckling based on some optimal control law. However, the main focus of their work was to track needle-tip positions in real time. To the best of our knowledge, there has not yet been an estimate or forecast in real time, of future values of insertion forces to predict needle buckling before it occurs.

1.2.3 Forecasting and adaptive control.

In many prediction models, a combination of forecasting and adaptive control techniques is used such that the controller computes optimal decisions for prediction based on the forecasted data [4346]. For example, a model predictive controller was used to compute the energy costs spent to keep the room temperature at comfortable levels using weather forecasts [43]. Wang et al. used two forecasting algorithms such as Holt-Winters and Gaussian process to estimate the expected and stochastic demands of drinking water [46]. Then, predictive control of drinking water networks is performed using the forecasted demands as disturbance inputs. Recently, [47] proposed a gaussian process based adaptive Gaussian mixture model (GP-aGMM) to predict driver behavior and vehicle motion at road intersections and anticipate the motion of a dynamic obstacle with an intelligent controller. Their model consists of a gaussian process regression technique for probabilistic prediction of the driver behavior, GP-aGMM for accurate and faster prediction, and integration with an intelligent controller for closed-loop performance and safety. Their method used only raw sensor data (i.e., driver and vehicle positions), and did not require prior modeling of the driver and controller dynamics. The common feature of the above models was that the forecasting/prediction and control strategies were implemented as complementary techniques. However, developing a forecasting model directly from a control strategy is yet to be explored.

1.3 Contributions

There are various existing techniques in the statistical and machine learning literature to perform forecasts for time series data; however their limitations of high computational complexity make real-time predictions of critical events difficult. To address this limitation, we derive a novel Compact Form Dynamic Linearization Model-Free Prediction (CFDL-MFP) method for time series forecasting, based on the existing dynamic linearization technique originally meant for feedback control problems [48]. The contribution of our current work is thus two fold: 1) develop CFDL-MFP to forecast time series data, and 2) develop a critical event prediction algorithm using forecasted data.

The paper is structured as follows: Section 2 discusses limitations of the existing time series forecasting methods with respect to real-time predictions of insertion force data. Section 3 proposes the novel time series forecasting model including analysis of model stability and forecast efficiency. Section 4 discusses simulation results of the proposed forecast as precursor to buckling prediction. Section 5 develops a needle buckling prediction algorithm using the proposed forecasts. Section 6 presents experimental results of the proposed algorithms in artificial and biological tissue. Section 7 concludes the paper.

2 Time series forecast: State of the art

Forecasting is a technique of projecting future values of a time series data depending on a prediction horizon. One-step forecast is performed if the immediate future value is estimated (prediction horizon = 1) and a multi-step forecast is performed if more than one future values are estimated. A brief review of some useful state-of-the-art statistical and machine learning (ML) techniques is presented in terms of their limitations with respect to real-time prediction of insertion force data. The main focus is to motivate the development of the proposed CFDL-MFP forecast, and choose a benchmark algorithm for performance analysis.

2.1 Statistical models

Classical or statistical time series forecasting are the oldest and most sophisticated linear based techniques that work well on a wide range of data. Useful models such as Random Walk, Theta, Exponential Smoothing (ETS), and Autoregressive Integrated Moving Average (ARIMA) algorithms are discussed.

2.1.1 Random walk.

The most basic forecasting technique adds a random step to the last observed value. This characteristic of randomness makes the model a baseline for comparing the performance of other forecasting methods. However, it is nearly impossible to predict future values based on past trends due to uncertainty [49]. Since insertion force data generally consist of global trends due to needle-tissue friction, random walk model is not useful for both one-step and multi-step force predictions.

2.1.2 ETS.

The method predicts future values of a time series data using the weighted sum of the historical data in which the weights exponentially decrease as the past data become older. The model is simple and works well on all data since the parameters are obtained from numerical optimization. The key advantage is fast computation time as only few observed data points are required for prediction. The main limitation is that forecast accuracy gets worse for multi-step prediction [50], which is not suitable for our application.

2.1.3 Theta.

Forecasting is performed by decomposing past data into linear combinations of second differenced approximations with appropriate choice of a parameter called ‘theta’ [51]. The idea was to capture both long and short term dependencies for forecast. For example, lower values of theta (zero theta models a linear trend) capture long term dependency, while higher theta captures short term dependencies. Forecast is performed using these two or more theta lines by choosing appropriate values of theta. This method was shown to have the best multi-step forecast accuracy [52]. A major drawback is that lot of hand tuning is required to select theta lines which increases complexity as size of the data increases. Later, an optimized method of choosing theta was proposed to use only relevant data for forecast [53]. Their optimized model promises high forecast accuracy compared to the original theta method. However, every profile of force data is important as it characterizes needle-tissue interactions. Thus, optimal theta model cannot be used to predict force data.

2.1.4 ARIMA.

The method uses a linear combination of the previous data forming an autoregressive (AR) component, and a linear combination of the previous forecast errors forming a moving average (MA) component to perform time series forecasting [54]. Autocorrelation patterns of the previous data are used to identify the orders of AR and MA. Most importantly, stationarity in the data should be ensured for the method to work well. Thus, the basic forecasting steps include:

  1. Identify the number of differencing operations (d) required to transform original time series into stationary data,
  2. Identify the order (number) of AR components (p) and MA components (q) from the autocorrelations,
  3. Obtain optimal coefficients of AR and MA through model-fitting, and
  4. Obtain forecasts using these optimal coefficients for a given prediction horizon.

High forecast accuracy is achieved if the parameters are properly tuned, which requires a good understanding of the data. Due to robustness against noise, the model is most widely used for analyzing and forecasting many time series data. However, the computation time for forecast is medium to high depending on the nature of the data. For example, computation time is low if the data is already stationary. The computation time is high if the data are non-stationary due to the differencing operations required to achieve stationarity. With this limitation, ARIMA cannot be used for real-time force prediction.

2.2 ML models

Machine learning techniques use non linear models to analyze and forecast time series data. In general, supervised ML is implemented for forecasting where the models iteratively learn from previous observations to obtain good approximations and accurate forecasts of the data. Useful forecasting techniques include parametric (neural network based) models such as Multi-Layer Perceptron (MLP), Long Short-Term Memory (LSTM), and non-parametric models such as Deep Gaussian Process (DGP) and K-Nearest Neighbor (KNN). Parametric methods perform accurate forecasts since back-propagation is involved in the training phase to obtain optimal model parameters, requiring very high computation power. For example, MLP has the best forecast accuracy at the cost of high computation requirement [55]. Time series data are intrinsically non-stationary with dynamic statistical distribution due to which retraining of the model is necessary for every entry of a new observation requiring high computational power [56]. Secondly, LSTM was shown to have the worst forecast accuracy [52]. These limitations currently make parametric ML unsuitable for real-time forecasting applications.

Non-parametric methods eliminate the above back propagation steps since they do not use prior statistical distribution of the data for forecasting. This results in less computation complexity at the cost of low accuracy. However, the requirement for training data increases as data grows in size resulting in high computation time [57]. Recent research has shown to improve forecast accuracy and optimize computation power through KNN and DGP models. KNN had less computation complexity with computation time of 0.41 second per training iteration, and the forecast accuracy was comparable (6% lower) to MLP [58]. Secondly, DGP had the least computation time of 0.36 second for each training iteration [59]. The overall forecast computation times of KNN and DGP would be much higher depending on the number of training iterations, making even non-parametric ML challenging for real-time prediction of force data. Since computation times are desired to be less than data sampling intervals (typically in tens of milliseconds), existing ML methods cannot be used for real-time force prediction.

A summary of the strengths and limitations of statistical and ML methods is given in Table 1. ML has highest computation times and lower forecast accuracy then statistical methods [52]. Thus, ML is not suitable for our application. Within the statistical methods, ARIMA is the most robust forecasting technique which finds vast applications in medical healthcare systems [60]. Hence, ARIMA is chosen as a benchmark to evaluate our CFDL-MFP method introduced in the next section.

3 Force prediction model

The force forecast model CFDL-MFP is derived by modifying the model-free control technique first introduced by [48]. Their control methodology is data-driven or model-free in the sense that only system input-output information are used to design feedback controllers for a general class of nonlinear systems with unknown dynamics. Their model entails predicting a future system output, y(k + 1) using; a) system output at current time, y(k), b) some future reference (desired) signal, yref(k + 1), and c) control input, u(k) obtained as a function of y(k) and yref(k + 1) so that the system produces desired outputs with y(k + 1) ≈ yref(k + 1). Similar to the standard predictive feedback control, yref(k + 1) is defined beforehand (either manual or system dynamics) to ensure convergence of y(k + 1). For forecasting applications however, yref(k + 1) becomes impossible since the underlying behavior of a time series data is observed using only past and current observations. Moreover, forecasting is already achieved if yref(k + 1) is identified from the past observations. Replacing yref(k + 1) with yref(k) as a function of the previous observations, the novel time series forecast CFDL-MFP is developed as shown in Fig 2. Note that for time series models, the predicted output is denoted as to differentiate from the actual observations, y.

Since the time series model is the one-dimensional axial force data generated from a force sensor, , the derivation of CFDL-MFP will be specific to the force data. Referring to Fig 2, the components of CFDL-MFP for force prediction include:

  1. Force data as a time series model,
  2. Force measured from a sensor as the current system output, ,
  3. Reference force, yref(k) ← past observations of ,
  4. Model input, u(k) obtained from yref(k) and previous prediction, , and finally
  5. Predicted forces, obtained from y(k) and u(k) using the time series model.

For simplicity, the terms forecast and prediction will be used interchangeably in this paper.

3.1 CFDL-MFP

Let be the axial force measured from a force sensor at time k. Due to inherent measurement noise and lack of prior knowledge of tissue characteristics, the force data is modeled as a nonlinear time series function of the form: (1) where F is some unknown nonlinear function. In order to obtain a good estimate of F, we need to have a good understanding of the relationship between the axial forces, tissue properties, and user-defined inputs (for eg. needle insertion velocity and steering direction). Since tissue environments are unknown, it is complicated to establish a direct relationship between the forces and the inputs in real time. Recently, [61] used prior training data to learn the mapping between the forces and user inputs. However, performing multiple insertions to learn the input-output mapping is time consuming. Due to these challenges, accurate modeling of the nonlinear function is difficult. By compressing the nonlinearities of Eq (1) into a single time-varying scalar known as the pseudo partial derivative (PPD), ϕc(k), a virtual dynamic linear model is realized to predict force data as shown: (2) The model resembles a discrete-time SISO system with Δu(k) = u(k) − u(k − 1) as the incremental system input, and as the incremental system output. PPD is obtained by taking the partial derivative of the nonlinear function F with respect to u(k) [48]. Since all the compressed nonlinearities are contained in ϕc(k), it is challenging to obtain an accurate value of ϕc(k) through analytical techniques. Hence, PPD is estimated numerically as . Re-writing Eq (2) in terms of the estimated values with notation (), the force prediction model now becomes: (3) The model performs a 1-step ahead force prediction since the terms at each time state k are scalar. If each term in Eq (3) contains a vector of values from the previous 2 states (k − 1, k), then 2-step prediction is performed. Similarly, if each term contains a vector of values from previous N states (kN + 1, ‥, k), then N-step ahead prediction is performed, where N ≥ 1 is an integer known as the prediction horizon. The general N-step ahead force prediction model is: (4) where, and ∘ refers to the matrix element-wise operation. Note that can be obtained only when ΔUN(k) and are computed. In order to derive ΔUN(k), we first define the following two reference force vectors: (5) The first reference force, is a vector of previous N values of the optimal mean forces, generated from the past (k − 1) values of the force data. More details about the procedure to obtain are found in our previous work [21]. Thus, represents the general trend pattern of the previously observed force data. The second reference force, represents the most recent force data. Since our force prediction model depends on the past and current force measurements, the trend pattern of a forecast is assumed to be bounded between the trends of and , shown in Fig 3. This assumption ensures that the forecast is always bounded and does not increase or exaggerate beyond the previously observed force trends. If the trend patterns of and are different, the trend of the forecast will converge to some optimal trend between the reference trends. However, if the reference force trends are similar, then the trend of the forecasts will converge to the reference trends. For this purpose, optimal model input ΔUN(k) is derived from a standard quadratic cost function, J expressed as a function of the errors between the predicted output, and the reference forces: (6) Substituting from (4) in (5), we have, Optimal ΔUN(k) is obtained by taking the partial derivative of J with respect to ΔUN(k) and setting to zero: (7) where is a N dimensional vector of 1’s and . The weighting factor λ > 0 restricts drastic changes in ΔUN(k). Large values of λ cause ΔUN(k) → 0 resulting in poor forecasts from Eq (4), showing that the reference forces are not utilized efficiently for prediction. Small λ cause ΔUN(k) > 0 which results in efficient forecasts through optimal utilization of the reference forces. Therefore, λ is an important tuning parameter for accurate force prediction.

thumbnail
Fig 3. Forecasts, obtained from optimal utilization of reference forces, and .

The rectangular box shows the trend patterns of the forecast bounded between the trends of the reference forces.

https://doi.org/10.1371/journal.pone.0230009.g003

The prediction model is robust if it is not affected by dynamic changes in PPD, as follows: (8) The error in the forecasts, due to changes in PPD should be minimized for robustness. Next, should be minimized to transform PPD into a slowly time-varying scalar. For this purpose, the quadratic cost function J is expressed as a function of these errors: (9) PPD is estimated by taking the partial derivative of with respect to and setting to zero: (10)

The weighting factor μ > 0 applies a penalty on the time-varying change in . For example, PPD is constant for large μ, and slowly time-varying for small μ. Finally, N-step ahead prediction of force data is performed iteratively using Eqs (4), (7) and (10).

3.2 Model stability and forecast analysis

Stability of Eq (4) depends on the boundedness of the forecast trends with respect to the reference force trends. For example, if the forecast trend exceeds the reference force trends, exaggerated forecasts occur as shown in Fig 4, and prediction model is considered unstable. This is undesirable from the energy conservation law since any change in the system output, cannot exceed a finite change in the system input, |ΔUN(k)|, which leads us to state the first condition of stability.

thumbnail
Fig 4. Ideal plot showing exaggerated, underestimated and optimal forecasts with varying and λ.

https://doi.org/10.1371/journal.pone.0230009.g004

Stability Condition 1. Stability is guarenteed if for every bounded reference force, , , and bounded model input with UN(k) ≠ UN(k − 1), there exists a bounded model output, such that (11) for every k ≥ 0. This condition is also called Bounded Input Bounded Output (BIBO) stability.

To ensure stability, it is necessary to establish the boundedness condition of PPD. The next condition states the limiting value of PPD for stability.

Stability Condition 2. There exists a maximum above which prediction model becomes unstable. That is, (12) and the limiting value is Φmax = 1.

Proof. The proof is straightforward. From (4), Using Cauchy-Schwarz inequality, (13) Comparing (10) and (12), (14)

Exaggerated forecasts can be avoided if the above stability conditions are satisfied. However, underestimated (poor) forecasts still occur for a stable model depending on the values of ΦN(k) and λ from Eq (7). The worst case of an underestimated forecast is , as shown in Fig 4. The next two forecast conditions state the range of PPD and λ required to prevent underestimated forecasts. The first condition states PPD for a fixed λ.

Forecast Condition 1. For a given λ > 0, there exists a small constant ε > 0 such that if , where ε is very close to zero.

Proof. For any |UN(k) − UN(k − 1)| ≠ 0, if from Eq (4), then .

Large values of λ restrict the model input to be ΔUN(k) → 0 which result in poor forecasts. For accuracy, it is necessary that is always satisfied, with as a small positive constant close to zero. After satisfying Forecast Condition 1, the following condition states the maximum λ for a fixed PPD.

Forecast Condition 2. For a given , there exists a maximum value λmax such that (15)

Finally, is required to achieve model stability, and and are required for optimal forecasts. For our experiments, both ε and were chosen as 10−4.

3.3 Algorithm and architecture

The CFDL-MFP algorithm for iterative N-step force prediction is explained as a block diagram shown in Fig 5. The colored blocks represent the time state of each iteration with k as the current time, k − 1 as the previous state, and k + 1 as the future states within the prediction horizon. The starting time index is k ≥ 0. Since previous N values of the force data are used for prediction, the first iteration begins from ko = N, while ignoring the first N values. The pseudo code for iterative force prediction is presented in Algorithm 1. The inputs are force measurements, , and a known prediction horizon, N. The output is the N-step ahead predicted force, . Before iteration, some arbitrary values are assigned to the initial estimates, , ΔUN(ko), , and then is predicted from these initial estimates using Eq (4), (steps 1-3). During each iteration, previous N values of the force data and optimal mean forces are assigned as reference forces, (steps 5-6). Next, the current estimates of PPD and model input are obtained as a function of their previous estimates, previous predicted forces, and the reference forces, (steps 7-8). The notations E4, E7, E10 represent Eqs (4), (7) and (10), respectively. Finally, forecasts, are obtained from the current estimates following E4, (step 9). The current values become previous estimates in the next iteration and this cycle continues till the end of the simulation time, Ks. Therefore, the algorithm can be implemented in real time.

thumbnail
Fig 5. Block diagram of the iterative CFDL-MFP algorithm for N-step ahead force prediction.

The block colors represent the time state for each iteration. Before iteration, the initial values of model input ΔUN(ko), PPD and output are arbitrarily assigned. In the first iteration as kko + 1, the initial values are used as current states (indicated by dotted arrows) to obtain the forecast for future states k + 1 (green arrows). In the next iteration with kk + 1, estimates from ko + 1 become the previous estimates (blue arrows), and estimates from k + 1 become current estimates. Solid black arrows represent transition from previous to current states.

https://doi.org/10.1371/journal.pone.0230009.g005

Algorithm 1 CFDL-MFP

Require: Axial force, , optimal mean force, , and prediction horizon, N

1: Initialize: k ← (ko = N),

arbitrary values

2:

3: kko+1

4: while k < Ks do

5:  

6:  

7:  

8:  

9:  

10:  kk + 1

11: end while

In addition to the main simulation loop (steps 4-11), Algorithm 1 does not require an explicit iteration loop for multi-step (N-step) force prediction since model Eq (4) is already in the N-dimensional vector form. This resembles the architecture of a direct multi-step forecast strategy, with low computation time as the key feature [62]. Secondly, our proposed model utilizes both observed and previous predicted data for multi-step prediction with the observed data being the reference forces , and the predicted data being . The technique of using observed and predicted data for forecast resembles the recursive predictive strategy with high forecast accuracy as the key feature [62]. The overall architecture of the CFDL-MFP resembles a hybrid direct-recursive forecast strategy which offers the benefits of the above strategies such as low computation time and high forecast accuracy [63].

4 Simulation methods and results

In this section, we present simulation methods and results of CFDL-MFP forecasts for force data corresponding to insertions in ex vivo human liver. The model is compared with benchmark ARIMA and evaluated for performance in terms of forecast accuracy, computation time and stability.

4.1 Methods

4.1.1 Force data.

To evaluate the CFDL-MFP algorithm, we used the needle insertion data from experiments with an ex vivo human liver [64]. The data consist of 1-D force vector, , and a vector of insertion time stamps, τ originally sampled for 1ms of time. We sampled the data at 5ms for faster computations while still retaining the original force profiles. The prediction horizon, N is chosen depending on the data sampling interval, τ(k) − τ(k − 1), (16) where t is the prediction time horizon in seconds. For example, if is sampled for τ(k) − τ(k − 1) = 0.005s and t = 1.5s, then N = 300 data points. Generally, larger time horizons lead to lower forecast accuracies for time series models [65], and therefore the effects of varying t on the prediction performance will not be studied in this work. Typically, a short prediction horizon of t = 1.5s is chosen for accurate predictions [66].

4.1.2 Performance metrics.

The profiles of insertion force data vary due to tissue inhomogeneity, where each variation in the force characterizes needle-tissue interactions [67]. Thus, a good forecast accuracy should be ensured across all data points. For this purpose, a root mean square error (RMSE) metric that is sensitive to data fluctuations is chosen to evaluate forecast accuracy [54]. (17) where ||.||2 is the Norm-2 of the N × 1 error vector between the predicted force, and the actual measured force, . Since is not available during real-time implementation, RMSE is obtained when the entire force data, are available at the end of the simulation.

The second performance metric is the computation time captured for each iteration while executing Algorithm 1 through steps (5-10).

We define a third performance metric called the stability indicator, to check for BIBO stability of Eq (4), which can be computed as shown below: (18) where . The idea is to check if the incremental output is always less than the incremental input ΔUi(k) for each prediction step i within N and iteration step k until the end of simulation Ks. The stability flag, Si(k) is a vector of 1’s with size i if Stability Condition 1 is satisfied at time k. The stability indicator, is equal to 1 if the total number of data points is equal to the summation of Si(k) across all i and k. Therefore, is a scalar between 0 and 1, where 1 indicates model stability and 0 indicates instability.

The last metric, forecast indicator (FI) is a probabilistic measure of forecast efficiency. According to Forecast Condition 1, underestimated forecasts are a result of , indicating low forecast efficiency. Thus, FI is calculated as the frequency of the outcomes occurred during the entire simulation: (19) where Ω represents the number of outcomes, Ks is total number of simulation steps. Again, FI∈(0, 1) where FI→1 causes low forecast efficiency.

4.1.3 Parameter initialization.

The first N values of a force sensor are ignored, and the initial time state is ko = N. Zero initial values are assigned to ΔUN(ko) and . The initial value of PPD, is assigned any value between 0 and 1 according to Stability Condition 2 and Forecast Condition 1. For convenience, these vectors are uniformly assigned as where 0 < a < 1. Going forward, would implicitly refer to vector initialization. Similarly, the weighting parameter, λ is assigned a constant between 0 and λmax. By observation, λmax was found to be 100 for . Therefore, and λ = 0.1 are chosen to first compare the performance of CFDL-MFP with auto-ARIMA. Secondly, the effects of varying PPD and λ are studied. Next, μ = 1 for convenience since PPD is already designed to be a slowly-time varying parameter according to Eq (10). Thus, any μ > 0 does not affect forecast efficiency.

4.1.4 auto-ARIMA.

The open source package pyramid-arima 0.9.0 developed by the Python Software Foundation® was used as benchmark ARIMA to compare the performance of CFDL-MFP. Their auto.arima module automates the processing steps (1-3) mentioned in Section 2.1.4, and generates forecasts using previous data points and a known prediction horizon as inputs. ARIMA forecasting is performed iteratively and the related code snipper is given in Algorithm 2. The functions auto_arima and predict are defined in the auto.arima package. Previous N observations of the force data, are used to fit the ARIMA model, (steps 3-4). The output of the auto-ARIMA algorithm is the N-step forecast, obtained from the predict function, (step 5).

Algorithm 2 auto-ARIMA for force data forecast

Require: Axial force, , and prediction horizon, N

1: Initialize kN

2: while k < Ks do

3:  

4:  train ← auto_arima

5:   predict(train, N)

6:  kk + 1

7: end while

Replacing with in Eq (17), forecast RMSE for auto-ARIMA is computed at the end of simulation. Similarly, computation time is captured for each iteration, while executing steps (3-6) of Algorithm 2.

The CFDL-MFP and auto-ARIMA algorithms were implemented in python 3.5.2 environment on a computer with the following features: Intel® Core i7-7700HQ CPU @2.8GHz, 16GB RAM, x64 based processor.

4.2 Forecast results and discussion

4.2.1 CFDL-MFP forecasts.

The plot of forecasts for force data, sampled at 5ms is shown in Fig 6(a). Even though forecasts are obtained at every iteration state k from Algorithm 1, the forecasts at the following six key data points are shown to evaluate performance on different force profiles: (A = 4.86s, B = 14.24s, C = 18.65s, D = 52.85s, E = 74.6s, F = 76.15s), represented by dotted vertical lines. The plot of forecasts, and the observed forces, is zoomed at these six points for visibility. Each point represents a unique force profile, with a gradual increase at A and a flat force profile at D. There is a rapid increase of force around B, where B is chosen to lie between the start and end points of this rapid increase. Similarly, point C is chosen to lie between the start and end points of a rapid force decrease profile. Points (E,F) are chosen to lie at the intersection of rapidly changing profiles. The plot shows CFDL-MFP forecasts obtained for (λ = 0.1, ΦN(ko) = 0.5). The plot of RMSE obtained for each iteration is shown in Fig 6(b) with the dotted vertical lines representing the above six data points. Detailed analysis of the forecasts for each force profile is given below.

  1. Forecasts at k = (A,D): Since the force profiles were steady over long periods, the trend patterns of the reference forces were similar. As a result, the trend of the forecast converged to the reference trends. The forecasts were accurate with low RMSE since no rapid changes in the observed forces, occurred, which is expected under normal needle steering conditions.
  2. Forecast at k = B: The time interval between B and the starting point of rapid force increase was short to capture this rapid increase in . For this reason, the trend of was rapid, whereas was still gradual. Therefore, the trends of the forecast converged to an optimal trend bounded by the reference trends. RMSE was slightly high since the observed force rapidly decreased within the prediction horizon. This situation can lead to false predictions of a force increase, which will be discussed with respect to the prediction of needle buckling events in the later sections.
  3. Forecast at k = C: The interval between C and the start point of the rapid force decrease was enough to capture this rapid decrease in , resulting in similar reference trends. The trends of the forecast thus converged to both the reference trends. Since continuous decrease in force data is not realistic in needle insertions due to friction, rapid decrease in the observed forces, stopped after point C. Since the reference forces consisted of both the rapid and general trends, the forecast was accurate with low RMSE.
  4. Forecasts at k = (E,F): Since forecasts are obtained from previously observed data, it is difficult to predict any unexpected force pattern without prior knowledge of the tissue properties. Therefore, the forecast RMSE was high at every intersection point of rapidly changing profiles (maximum at point E), shown in Fig 6(b).

thumbnail
Fig 6. Forecasting results.

a) Plot of N-step force forecasts with CFDL-MFP (magenta), auto-ARIMA (dark orange), and manual ARIMA (dotted cyan) for force data sampled at 5ms. The CFDL-MFP parameters are initialized with . b) Plot of RMSE showing spikes at rapidly changing force profiles. CFDL-MFP forecasts were most accurate for profiles (A,C,D).

https://doi.org/10.1371/journal.pone.0230009.g006

4.2.2 Comparison with auto-ARIMA.

The performance of CFDL-MFP was compared with auto-ARIMA in terms of RMSE and computation time for three sampling intervals: (5,20,800) ms, and the plot of auto-ARIMA forecasts, for 5ms sampling is shown in Fig 6(a) (dark orange). Exaggerated forecasts, occurred at C and D with the parameters automatically identified as (p = 2, d = 1, q = 1) and (p = 1, d = 1, q = 1), respectively. However, choosing d = 0 with trial and error produced better forecasts at D, shown as dotted cyan plot. Similarly, forecasts through manually tuned ARIMA parameters were plotted for all six profiles to show that auto-ARIMA did not always yield accurate forecasts. To obtain forecasts for all force profiles, manual tuning was required making real-time prediction challenging. Forecast RMSE values from auto-ARIMA and CFDL-MFP for six force profiles and three sampling intervals are given in Table 2. CFDL-MFP performed best forecasts at C and D, whereas forecast accuracies of both the algorithms were comparable for other force profiles and for all sampling intervals. Overall, the mean RMSE of CFDL-MFP was 11% lower than auto-ARIMA.

The computation times (mean, maximum, minimum) of the algorithms for each sampling interval are presented in Table 2. The maximum computation time for forecasting on 5ms sampled data was 49ms which is larger than the sampling interval, making real-time implementation challenging. However, such low sampling intervals are not practical since the CPU processing speed reduces considerably with too many data points. Very high sampling intervals such as 800ms are also not desired since valuable information in the data is lost. For sampling interval of 20ms, original force profile was retained and the maximum computation time was 4.1ms, which is ideal for real-time applications. On the other hand, auto-ARIMA showed very high computation times on the order of 4.8s on 20ms sampled data. As discussed earlier, the high computation time is due to the following reasons: a) data processing steps from Section 2.1.4 performed for each iteration, b) parameters identified for every data point to produce accurate forecasts, and c) a recursive strategy used for multi-step forecast [68]. The low computation time of CFDL-MFP is due to the following reasons: i) no data processing steps required as original data was used directly, ii) parameters were initialized only once before iteration, and ii) a direct strategy used for multi-step forecast from Section 3.3. Compared to auto-ARIMA, CFDL-MFP was accurate, faster, and required less manual effort to perform multi-step forecasting.

4.2.3 Stability analysis.

The stability plots for CFDL-MFP forecasts on 20ms sampled data are shown in Fig 7(a)–7(c). CFDL-MFP forecasts were performed independently for 4 different initial values of to study their effects on stability. For each , the stability indicator, was computed according to Eq (18). For all , indicating model stability. For , indicating model instability, which in turn lead to exaggerated forecasts at every point as shown in Fig 7(b) (dotted red plot). Fig 7(c(i)) shows the plot of incremental model input, |ΔUN(k)| and incremental forecasts, for where, BIBO stability was satisfied since for all k. Next, PPD was constant at 0.5 throughout the simulation as shown in (c (ii)), owing to the slowly time-varying condition from Eq (10). Overall, any satisfy the Stability conditions defined in Section 3.2. Since any value of can be chosen to perform a stable prediction, the effect of ΦN(ko) = 1 on forecasts is trivial and is not discussed.

thumbnail
Fig 7. Plots showing stability and forecast analysis with varying and λ.

a) Model is stable when for ΦN(ko) < 1. b) Forecast plots for varying PPD with fixed λ = 0.5. PPD > 1 leads to exaggerated forecasts (dotted red plot), low PPD causes underestimated or linear forecasts (solid and dotted dark orange), and larger PPD provides nonlinear forecasts (dark green). c) (i) Input (ΔUN) and output plots satisfying Stability Condition 1, and (ii) constant PPD indicates validity of Eq (10). d) Increase in PPD decreases FI which makes forecasts more nonlinear. e) RMSE is low for linear forecasts at F (PPD = 0.01), and underestimated forecasts at B (PPD-0.001). However, RMSE was lowest for PPD = 0.5 at (A,D,E). f) FI increases with λ causing underestimated forecasts. λ ≤ 1 for nonlinear forecasts.

https://doi.org/10.1371/journal.pone.0230009.g007

4.2.4 Forecast analysis.

With the weighting parameter, λ fixed at 0.5, the forecast plots for ΦN(ko) = 0.001 (solid dark orange), (dotted dark orange), and (solid dark green) are shown in Fig 7(b). The plot is zoomed in at profiles A and F containing the forecasts and the observed force, over the prediction horizon. As visible from the zoomed plots, underestimated forecasts occurred for lower values of . According to the Forecast Condition 1, was the minimum PPD at which underestimated forecasts occurred for the given λ = 0.5. As increased to 0.01, the trends of the forecast slightly increased, but did not converge to the reference force trends and thus, appeared linear. This linearity was mainly due to lack of convergence with the reference trends, and is directly related to the forecast indicator (FI) which reduced when PPD increased as shown in Fig 7(d). As increased to 0.5, FI → 0, and the resulting forecasts converged to the reference trends. Sometimes, linear forecasts due to lack of convergence have higher accuracy as shown in Fig 7(e). The forecast RMSE at profile F was lowest for ΦN(ko) = 0.01 since the forecasts resembled an accurate linear fit to the observed force data, evident in Fig 7(b) (dotted dark orange). Otherwise, forecasts were accurate at other force profiles for . Note that RMSE was lowest for at B, since the corresponding force profile resembled a Gaussian pattern with zero mean owing to rapid increase and decrease of similar magnitude, and the trends of the underestimated forecast resembled a constant fit to the observed force.

Similarly, the effects of varying λ on the forecast efficiency are shown in Fig 7(f), keeping fixed at 0.5. Underestimated forecasts occurred as λ increased. From Forecast Condition 2, λmax was chosen as 10, since FI → 0 and forecasts converged to the reference force trends when λ < λmax.

4.3 Statistical analysis and discussion

The standard Kruskal-Wallis statistical analysis was performed (with significance level p = 0.001) by taking the average of the performance metrics across all force profiles and the CFDL-MFP parameters, for the sampling interval of 20ms, and the corresponding results are given in Table 3. Forecast RMSE was significantly high (p < 0.001) for profile E due to the unexpected rapid decrease. However, there was no significant effect of the parameters on the forecast accuracy. This showed that no value of or λ > 0 produced accurate forecasts at E. As length of data increased, the computation time significantly increased as expected. However, the maximum value of the computation time at the end of simulation was still 5 times lower than the sampling interval. Again, varying the parameters had no effect on the computation times. Finally, stability of the system was always ensured as long as irrespective of the force profiles and λ.

4.3.1 Generalizability.

The results demonstrate the generalizability of CFDL-MFP since the selection of the parameters, is a one-time process depending on the type of forecasts required. For example, underestimated or linear forecasts (with low PPD) were more accurate at intersection points of rapidly changing force profiles such as (E,F), from Fig 7. Similarly, forecasts converging to the previous force trends (with high PPD) were more accurate for stable force profiles (A,D) and rapidly changing profiles (B,C). If forecasts strictly following previous force trends are required, then λ < λmax and can be chosen for any time series data. Since PPD does not change over time during simulations, exploring the correlation between λ and PPD and the combined effects on forecasts is trivial. Tuning the parameters independently was enough to produce accurate forecasts. Therefore, ΦN(ko) = 0.5 and λ = 0.1 are chosen to produce forecasts for axial force data and needle buckling prediction.

One main limitation of the proposed forecast is that the number of previous observations used as reference force data (i.e reference horizon) was always equal to the prediction horizon N, see Section 3.1. Restricting the reference horizon to N provided reasonably accurate forecasts for many force profiles as shown from the above results. Sometimes, different reference horizons are still preferred to ensure accuracy depending on certain force profiles. For example, if periodic fluctuations in the data are common, then reference horizons greater than N are preferred so the general patterns are captured to provide reasonable forecasts. For this purpose, a slight modification in the vector operations is required to ensure validity of the Eqs (7) and (10). Developing a constrained optimization model with adaptive tuning of CFDL-MFP parameters to provide accurate forecasts at all times, and exploring the effects of reference horizon on forecast accuracy would be considered for future work.

4.3.2 Application to buckling prediction.

Results in Section 4.2.1 showed that the forecast was accurate for steady profile A. The forecast accuracy obtained for steady increase in force profiles is important to keep track of axial force increase alerts that occur before a needle buckling is detected. Similarly, the forecast results for rapid force profiles (B,C) are also important for needle buckling prediction. Since initial rapid decrease was captured in the reference force patterns and continuous decrease in one direction was not possible owing to needle-tissue friction, the forecast at C was accurate. Essentially, when some increase in the axial force is alerted and captured as reference forces, a forecast for the axial force is obtained similar to C. However, force profile at B resembles that of a fluctuation in the force data with rapid increase and immediate decrease. Since the duration to capture this fluctuation in the reference force trends was small, the forecast accuracy at B was slightly higher. This result is important for predicting buckling events for duty-cycled insertions, since the corresponding force data consist of fluctuations similar to B. From Fig 7(e), the RMSE for profiles at (A,C) was lowest for . Since the RMSE at B was not very high for and fluctuations occur for low duty-cycles [69], the values would be used to develop the needle buckling prediction algorithm discussed in the next section.

5 Needle buckling prediction

A schematic overview of the needle buckling prediction and detection algorithm is shown in Fig 8. When a flexible needle steers into a tissue, axial force increases gradually due to frictional forces exerted by the tissue on the needle [19]. When the needle encounters a stiffer tissue or a hard membrane (say at time index k = kfi), a rapid increase in the axial force occurs before the needle buckles within the tissue. On further insertion (at k = kb > kfi), the needle starts buckling within the tissue. However, to avoid this buckling at kb, a prediction of the buckling should be made at kfi as soon as the force increase alert is detected. Using the proposed CFDL-MFP method, forecasts for the force data are obtained at kfi for a prediction horizon N. Using the N-step forecasts and modifying the existing buckling detection algorithm [21], a prediction algorithm is developed to predict a potential needle buckling at kfi. How soon a prediction is performed before a buckling actually occurs is determined by the prediction time (kbkfi). Note that prediction time is relevant only for evaluating the prediction algorithm. For real-time implementation, buckling of the needle should be avoided through appropriate preventive subroutines as soon as a buckling is predicted at kfi.

thumbnail
Fig 8. Overview of needle buckling prediction and detection during insertions into a tissue.

a) Axial force increase is gradual under normal steering conditions. b) Rapid increase in force detected when needle-tip touches obstacle at time kfi. N-step forecasts for force data produced by CFDL-MFP and buckling prediction algorithm uses forecasted forces to predict needle buckling at kfi. c) On further insertion, needle buckles at the obstacle at time kb which is detected by the previously developed buckling detection algorithm. Buckling prediction time is calculated as kbkfi, with positive value indicating early prediction. Solid blue arrows represent different stages of insertion, while dotted arrows represent sequential steps within the same time state k.

https://doi.org/10.1371/journal.pone.0230009.g008

5.1 Prediction methods

The detection steps for axial force increase and needle buckling events are presented with respect to the CFDL-MFP forecasted forces. The complete details of the buckling detection algorithm including the procedure for generating optimal mean force, and the selection of the sigmoid detection metrics, M can be found in [21]. As a first step, the difference between and is normalized using a sigmoid function, g to obtain M: (20) When the normalized difference, g(z*(k)) exceeds the threshold (m1), and if the velocity of the needle-tip drops below the commanded insertion velocity, ν, a force increase alert at time index k is detected as follows: (21) where l is the euclidean norm of 3D needle-tip position and Δl = l(k) − l(k − 1) is the position change with respect to insertion time τ(k). As soon as the force increase is alerted, CFDL-MFP provides N-step force forecasts, . The difference between and is normalized to predict a potential buckling as follows: (22) Note that only rapid increase of force forecast patterns were used to predict needle buckling. Prediction of the needle-tip position was ignored since the rate of change in the position was already smaller than the insertion velocity during axial force increase alert. With further increase in the force, the needle would either stop steering causing a buckling or puncture through the tissue.

Algorithm 3 Needle Buckling Prediction

Require: Axial force (), normalized needle-tip position (l), and needle insertion velocity (ν), and total insertion time (Ks)

1: Initialize k

2: while k < Ks do

3:   optimalMean

4:  g(k)← sigmoid

5:  if k = N then

6:   kok

7:   Initialize CFDL-MFP parameters

8:  end if

9:  if m1 < g(k) < m2 and 0 < |Δl(k)| < ν then

10:   kfik

11:   Obtain CFDL-MFP forecasts,

12:    sigmoid

13:   Initialize i ← 1

14:   while i < N do

15:    if then

16:     Buckling predicted at kfi

17:    end if

18:   end while

19:  end if

20: end while

5.2 A complete prediction algorithm

A complete iterative algorithm integrating CFDL-MFP forecast and buckling prediction methods is presented in Algorithm 3. The inputs to the algorithm are the axial force data from a force sensor, , normalized needle-tip position from a position sensor, l(k), commanded insertion velocity, ν, and total insertion time Ks. When the insertion begins from k = 0, the optimal mean forces are generated from at every time k > 0, to continuously check for force increase alerts through sigmoid transformation, steps (3-4). After ignoring the first N values, the CFDL-MFP parameters are initialized according to the procedure described in Algorithm 1, (steps 4-6). When a force increase alert is detected at k = kfi, N-step forecasts are obtained at kfi, steps (9-11). Each forecasted value of the force within N is checked for a rapid increase. If the rapid increase is detected, then a buckling is predicted at kfi, (steps 12-18). This process continues till the end of the simulation at Ks. Therefore, the prediction algorithm can be implemented in real-time since both force increase detections and forecasts are performed during each iteration. Note that force forecasting is performed only when a rapid force increase is alerted. Prediction is not needed if a needle buckling is detected directly since appropriate control action would be implemented immediately. Hence, force forecasting and buckling prediction are performed only when a force increase is alerted.

6 Experimental results and discussion

In this section, we present methods to validate the buckling prediction algorithm through insertions in three different tissue environments; 1) gelatin tissue with embedded obstacle (T1), 2) two-layered gelatin tissue (T2), and 3) ex-vivo tissue (T3) and evaluate the performance in terms of prediction time, false predictions of buckling and false negatives (failed predictions). The results for all needle insertions are explained in the subsequent sections along with the statistical analysis of the performance metrics.

6.1 Methods and protocol

Needle insertion data from [21] were used to evaluate the buckling prediction algorithm with respect to the buckling events previously detected by our detection algorithm. The corresponding tissue was made of a uniform gelatin with a 3D printed plastic rectangular barrier embedded at a distance of 11cm from the shortest edge as shown in [21]. As short-hand notation, let this tissue with the known embedded obstacle be T1. Next, to evaluate the effects of varying tissue stiffness on the prediction algorithm, the insertion data from a two-layered gelatin tissue were used where the less dense gelatin was placed at 8.5cm from the shortest edge [70]. Let this two-layered tissue be denoted as T2. Finally, the prediction algorithm is tested for robustness and generalizability through insertions in ex vivo liver under two boundary conditions; a) unconstrained and b) constrained. Let this tissue be denoted as T3. For manual verification, insertions in T3 were recorded on the 9-in XRII OEC series 9600 fluoroscope as shown in [21].

The insertion data for each gelatin tissue consist of 75 needle insertions repeated 5 times for each of the three insertion velocities (ν = 1,2.5,5)mm/s and five duty-cycles (DC = 0,25,50,75,100)% with bidirectional duty-cycle spinning control implemented [69]. Six insertions from unconstrained T3 and nine insertions from constrained T3 were used, totaling to 15 needle insertions. Each ex vivo insertion consisted of only ν = 2.5mm/s and DC = 0% to avoid any coring effect of the DC rotations on the tissue structure [71]. The force data and needle-tip position were collected at a sampling rate of 20ms (50Hz) from a 6-axis force-torque sensor (Nano-17, ATI Inc.), and an electromagnetic (EM) tracker (TrakStar, NDI, Inc.), respectively. The steerable needle was made from a hollow nitinol tube with dimensions of 250mm length, 0.8mm OD, and 0.6mm ID, with a pre-bent tip of length 4mm long and angle 30 [69].

The prediction algorithms were implemented in MATLAB® R2017a. To imitate real-time prediction, the data was used as a sequential input to Algorithm 1 and Algorithm 3 where each value was available only at current time k. When k > 0, the prediction horizon N for t = 1.5s was obtained according to Eq (16). Since the sampling interval is 0.02s, N = 71. For all insertions, force forecasts with CFDL-MFP were obtained for λ = 0.1 and initial PPD = 0.5. The total computation time required to forecast force data and predict needle buckling was captured through steps (9-19) of Algorithm 3.

At the end of the simulation, the following performance metrics of the buckling prediction algorithm were evaluated: 1) Buckling prediction time as the difference between the predicted time stamp and the detected buckling timestamp, 2) True predictions (TP) resulting in exact prediction before a buckling detection, 3) False predictions of buckling (FP) due to force increase alert but no buckling detections, and 4) False negatives (FN) when actual buckling was detected but prediction failed. Finally, the effects of varying duty-cycle, insertion velocities and tissue environments on the metrics were evaluated through the standard statistical Kruskal-Wallis analysis.

6.2 Results in gelatin tissue with obstacle

The plots of insertion force and the needle insertion path obtained from normalized needle-tip position tracked by the electromagnetic sensor for three example needle insertions in T1 are shown in Fig 9(a)–9(c). As the needle tip encountered the obstacle at 11cm, an axial force increase was alerted at 11.03cm for a DC = 100% insertion. At this time, forecasts for the force were obtained from which buckling was predicted, as shown in Fig 9(a). Since the buckling detection timestamp recorded was 11.09cm, a buckling was predicted 0.06cm (0.6s for v = 1mm/s) ahead before detection. With DC = 100% insertions, the needle insertion path was equal to the distance of the obstacle. Due to inherent kinematics, the insertion path was greater than 11cm for lower duty-cycles due to which a force increase was alerted at 12.41cm for DC = 0% insertion and a buckling was predicted 0.1cm (0.4s for ν = 2.5mm/s) ahead before detection. Similarly, the prediction time for an insertion with DC = 50% and ν = 5mm/s was 0.1s. In these cases, TP = 1 for a successful prediction whenever a buckling event occurred.

thumbnail
Fig 9. Buckling prediction results in T1 with obstacle at 11cm from insertion point.

a) For ν = 1mm/s, buckling was predicted 0.06cm (0.6s) before detection at 11.09cm, with FP = 0 and FN = 0. b) Prediction time was 0.4s for ν = 2.5mm/s with FP = 0 and FN = 0. c) Prediction time was 0.1s for ν = 5mm/s, with FP = 0 and FN = 0. d) Plot showing FP and FN for DC = 25% insertion. e) Error bar plot showing FP > 0 for DC = (25,50,75)% insertions. f) Error bar plot showing FN > 0 for DC = (25,50)%. TP > 1 for DC = (0,25)% due to needle-tissue friction. g) Error bar plot of minimum buckling prediction time for each ν and DC. h) Error bar of RMSE which is high for DC = 25% due to fluctuations in the duty-cycled insertion force data. i) Total computation time (forecast+buckling prediction) for each insertion velocity and DC, which is less the 0.02s sampling interval.

https://doi.org/10.1371/journal.pone.0230009.g009

There were cases when force increase alerts did not lead to a buckling, but a buckling was still predicted. An example of this false prediction is shown in Fig 9(d) for DC = 25% and ν = 1mm/s insertion. A force increase was alerted at 11.8cm due to a fluctuation in the force data. Since the point of force increase alert was at the rising trend of the fluctuation, the forecast trend also increased following the previous force patterns. The forecast accuracy was slightly low due to the immediate drop in the force data (similar to profile B from Section 4.2.1), and thus, FP = 1 for this insertion. From the error bar in Fig 9(e), FP > 0 for DC = (25,50,75)% due to frequent fluctuations in the force data caused by the bidirectional spinning method [72].

Next, false negatives occurred when a prediction failed and a buckling event was detected, as shown in Fig 9(d) for ν = 2.5mm/s insertion. This is due to the periodic forecasts which resulted from the periodic patterns of the duty-cycled insertion force data. Since the trend of the forecast (magenta plot) dropped, the forecast accuracy was low and thus, FN = 1 at 13cm. From the error bar plot in Fig 9(f), FN > 0 for DC = (25,50)% mainly due to the intrinsic periodic patterns. Both FP and FN occurred due to inaccuracies in the forecast and the percentage of their occurrence across 75 insertions were 16% and 4%, respectively. Furthermore, additional buckling occurred for lower duty-cycles since the deflection force was high causing the needle to bend along the insertion path [73]. The proposed algorithms successfully predicted this buckling resulting in TP>1 for DC = 0% and 25% insertions.

The buckling prediction time was high for lower insertion velocities, as evident in Fig 9(g). The prediction threshold was assigned as the sampling interval (0.02s) so that a buckling event was predicted before the next data arrived. If the incoming data lead to a buckling detection, the prediction time would have been close to 0.02s which is too less a time for the surgeon to implement a preventive action. Thus, an ideal prediction time is expected to be greater than the threshold with higher positive values indicating sooner predictions. The minimum buckling prediction time for all insertions with ν = 5mm/s was 0.03s, which was still slightly higher than the sampling interval. The effect of RMSE on duty-cycle and insertion velocity shown in Fig 9(h) are discussed later in the statistical analysis section. Finally, the maximum computation time captured during both force forecasting and prediction of needle buckling, was less than 10ms which is well within the sampling interval of 20ms as shown in Fig 9(i). The computation time for each forecast and buckling prediction does not change and will therefore, not be used in statistical analysis.

6.3 Results in two-layered gelatin tissue

Results in T2 are analyzed for the frequency of the occurrence of FP, FN and TP due to needle-tissue friction. For example, FP occurred for DC = 75% and ν = (1, 2.5)mm/s due to a force increase alert at 7.6cm and 8.6cm, respectively as shown in Fig 10(a). The forecast accuracy was low since the points of force increase alert were at the intersection of the rapidly changing forces, similar to profiles (E,F) from Section 4.2.1. Since, the trends of the forecasts increased, a false buckling was predicted resulting in FP = 1 at these points. However, a buckling was detected at 7.83cm due to the high friction force of the dense gelatin layer. The prediction algorithm successfully predicted this buckling 0.057cm (0.23s) before 7.83cm, resulting in TP = 1. An additional force increase alert was detected at 8.15cm, and the CFDL-MFP forecast at this point followed the actual force pattern resulting in high accuracy. Consequently, FP = 0 and FN = 0 which is trivial since TP = 0. From the error bar plot in Fig 10(b), FP > 0 was common for DC = (25,50,75)%, with the percentage of occurrence as 12% across 75 insertions in T2. Two buckling events were detected for DC = 75% and ν = 2.5mm/s insertion, which might have due to tissue inhomogeneity. The prediction of these events was successful, resulting in TP = 2 as shown in Fig 10(c). Finally, there were no false negatives for any insertion.

thumbnail
Fig 10. Buckling prediction results in T2 with less dense layer at 8.5cm from insertion point.

a) Plot showing FP for DC = 75% and ν = (1,2.5)mm/s. Buckling detected at 7.83cm for ν = 2.5mm/s due to high friction force of denser gelatin, resulting in TP = 1 for successful prediction with prediction time = 0.23s. b) Error bar plot showing FP > 0 for DC = (25,50,75)%. c) TP = 2 for two repeated insertions of DC = 75% and ν = 2.5mm/s, with FN = 0.

https://doi.org/10.1371/journal.pone.0230009.g010

6.4 Results in ex-vivo tissue

The plots for example insertions in T3 for unconstrained and constrained boundary conditions along with the corresponding fluoroscopic motion images are shown in Fig 11. The motion images were captured from the live fluoroscopic videos of needle insertions at a frame rate of 30fps. For the unconstrained tissue, a slight bend in the needle shaft was visible from the motion image when an axial force increase was alerted at 27.7s, shown in Fig 11(a). At this time, forecast for axial force was performed (magenta plot) and a buckling was predicted (peach orange patch). The prediction was successful with a prediction time of 0.37s, since the needle buckled later at 28s. Similarly, the prediction time for the constrained tissue was 0.1s sooner than the buckling detection at 23s, as shown in Fig 11(b). A summary of the buckling predictions for all insertions in the biological tissue is given in Table 4. The mean buckling prediction time was 0.348±0.033s for the unconstrained tissue which was almost double the mean prediction time of 0.165±0.076s for the constrained tissue. During needle insertions, the unconstrained tissue displaced more frequently causing the needle shaft to bend laterally [70]. Due to this bend, axial force increased slightly, providing an alert even before the needle tip encountered an obstacle. Since this bend eventually lead to a buckling, the prediction time was high. However, the prediction time was lower for insertions in the constrained tissue. Any deformations within the constrained tissue would have caused the force to increase rapidly. As a result of this rapid increase, when buckling occurred with arrival of the next data points, the prediction time was low but still higher than the sampling interval for successful prediction. On average, the algorithm predicted buckling events sooner than the human volunteers by 1.67s and 2.39s for the two boundary conditions, respectively. Finally, no false predictions and false negatives were observed for any insertion.

thumbnail
Fig 11. Buckling prediction results for insertions in ex vivo tissue under unconstrained (a) and constrained (b) boundary conditions.

a) Axial force increase alert at 27.7s. Slight needle bend was visible from motion image. Needle buckling was predicted 0.37s before needle completely buckled at 28.07s. b) Similarly, needle buckling was predicted 0.1s before needle buckled at 23s.

https://doi.org/10.1371/journal.pone.0230009.g011

6.5 Statistical analysis and discussion

Results from the statistical Kruskal-Wallis analysis on the needle insertions across all duty-cycles, insertion velocities and tissue types (166 insertions) are shown in Table 5. A significance level p = 0.001 was chosen.

6.5.1 Effects of insertion velocity.

The buckling prediction time reduced as ν increased. Since larger distance is covered by the needle-tip in every second for high ν, the needle tip encounters an obstacle faster and subsequently, rapid increase in the force is alerted with the next incoming data point. In such cases, the prediction time was close to the sampling interval of 0.02s, see Fig 9(g). Moreover, the number of discrete data observations reduces as ν increases for a fixed sampling interval and total insertion time. Therefore, the time series like force data become short which generally have low forecast accuracy [54]. As a result, RMSE increased with ν, see Fig 9(h). Since false negatives were observed only for (ν = 1, 2.5)mm/s insertions in T1, there was significant effect (p < 0.001) with FN = 0 for ν = 5mm/s and FN > 0 for ν = (1, 2.5)mm/s, (see Fig 9). However, it is difficult to determine the exact effects of ν with the small sample size of FN = 3 out of 166 insertions. Finally, there was no significant effect on FP (p = 0.548).

6.5.2 Effects of duty-cycle, DC.

DC had significant effect on FP and FN due to the reasons mentioned in Section 7.1. Since FP and FN are most likely caused by incorrect forecasts, RMSE had a direct relation with FP and FN. Therefore, RMSE was significantly high for DC = 25% insertions. However, there was no significant effect on the buckling prediction time (p = 0.022).

6.5.3 Effects of tissue type.

To evaluate the effects of tissue type more accurately, the metrics are averaged across all insertions with only DC = 0% and ν = 2.5mm/s. By observation, the mean prediction time for T1, T2 and T3 was 0.3s, 0.23s and 0.25s, respectively for same DC and ν. Therefore, tissue type had no significant effect on the prediction time (p = 0.8032). Next, forecast RMSE was most significant for insertions in T1 due to non-zero FP and FN. Finally, both FP = 0 and FN = 0 for all insertions with DC = 0%.

6.5.4 Discussion.

Results show that the prediction algorithm can be implemented accurately for insertions in a variety of tissue environments. The low percentage of false positives and false negatives show that the prediction algorithm can be implemented to alert a surgeon of a potential buckling event accurately without many false alarms. To provide surgeons enough time to implement preventive actions for the needle before buckling, the prediction time should be significantly high. Even with the advantage of high prediction times, low insertion velocities can cause larger tissue deformations [74]. Thus, an optimal insertion velocity should be determined such that prediction time is high and tissue deformation is low. If very low frequency of false predictions and false negatives is desired for any duty-cycled insertion, then the forecast RMSE will need to be improved in future work. As we have seen in Section 4.2.3, optimal forecasts need not necessarily produce accurate forecasts. Depending on the force profile at which forecasting is required, the CFDL-MFP parameters can be tuned for better accuracy. For example, if forecast is required at the intersection of rapidly changing profiles, then underestimated or linear forecasts can provide better accuracy (recall Fig 7(b) for profile F), resulting in smaller FP and FN. Therefore, an optimized model to determine optimal insertion inputs and adaptive forecasting parameters are required for better prediction accuracy.

7 Conclusion

We presented a novel time series forecasting method by modifying the existing model-free adaptive control algorithm [48] which enables fast computational times and does not require model-fitting or training data to perform single-step or multi-step predictions. Our CFDL-MFP forecasting model is 11% more accurate than the benchmark statistical ARIMA method. The computation time of our proposed forecasting method is in the order of 4ms for a 20ms data sampling rate, which enables real-time computation and future integration with robotic control systems. The stability, generalizability and robustness of the CFDL-MFP algorithm was proved through statistical analysis on a variety of force insertion profiles.

The secondary goal of this paper is to predict needle buckling events before they occur so that potential damage to the tissue and needle could be avoided. The buckling prediction algorithm was evaluated using steerable needle insertions into three types of tissue including artificial gelatin and ex vivo liver. The steerable needles were also controlled at various insertion velocities and duty-cycles to control needle curvature. Overall, the false positive and false negative rates were low in artificial tissue (16% false positive and 4% false negative), and non-existent in ex vivo tissue.

One limitation of our proposed algorithm is that we can only distinguish when buckling events occur, but not necessarily the cause of those events (e.g., a stiffer portion of tissue vs. a rigid obstacle). In future work, we plan to integrate our CFDL-MFP buckling prediction algorithm with an existing steerable needle robot to determine the effectiveness of this technology in preventing needle buckling events in realistic clinical environments and evaluate the ability of the prediction algorithms to enable improved shared control between the human operator and steerable needle. Additionally, applying the CFDL-MFP algorithm to predict other important events in needle-based insertion such as tissue puncture or tissue displacements could be an interesting direction for future work. The proposed forecasting method could also be applied to other important problems in human-robot interaction research where real-time sensor data is critical for determining safe future robot control actions.

References

  1. 1. Siciliano B, Khatib O. Springer handbook of robotics. Springer; 2016.
  2. 2. Najmaei N, Kermani MR. Prediction-based reactive control strategy for human-robot interactions. In: 2010 IEEE International Conference on Robotics and Automation. IEEE; 2010. p. 3434–3439.
  3. 3. Demiris Y. Prediction of intent in robotics and multi-agent systems. Cognitive processing. 2007;8(3):151–158. pmid:17479306
  4. 4. Paxton C, Bisk Y, Thomason J, Byravan A, Foxl D. Prospection: Interpretable plans from language by predicting the future. In: 2019 International Conference on Robotics and Automation (ICRA); 2019. p. 6942–6948.
  5. 5. Bui C, Pham N, Vo A, Tran A, Nguyen A, Le T. Time series forecasting for healthcare diagnosis and prognostics with the focus on cardiovascular diseases. In: International Conference on the Development of Biomedical Engineering in Vietnam. Springer; 2017. p. 809–818.
  6. 6. Billis A, Bamidis PD. Employing time-series forecasting to historical medical data: an application towards early prognosis within elderly health monitoring environments. In: International Workshop on Artificial Intelligence and Assistive Medicine. ECAI; 2014. p. 31–35.
  7. 7. Lokare N, Zhong B, Lobaton E. Activity-aware physiological response prediction using wearable sensors. Inventions. 2017;2(4):32.
  8. 8. Grespan L, Fiorini P, Colucci G. In: Measuring Safety in Robotic Surgery. Cham: Springer International Publishing; 2019. p. 37–41.
  9. 9. Alemzadeh H, Raman J, Leveson N, Kalbarczyk Z, Iyer RK. Adverse events in robotic surgery: a retrospective study of 14 years of FDA data. PLoS ONE. 2016;11(4):e0151470. pmid:27097160
  10. 10. Zhou T, Wachs JP. Spiking Neural Networks for early prediction in human–robot collaboration. The International Journal of Robotics Research. 2019.
  11. 11. Abolhassani N, Patel R, Moallem M. Needle insertion into soft tissue: a survey. Medical Engineering & Physics. 2007;29(4):413–31.
  12. 12. Kronreif G, Fürst M, Kettenbach J, Figl M, Hanel R. Robotic guidance for percutaneous interventions. Advanced Robotics. 2003;17(6):541–560.
  13. 13. Ghezzi TL, Corleta OC. 30 years of robotic surgery. World Journal of Surgery. 2016;40(10):2550–2557.
  14. 14. Shahriari N, Georgiadis JR, Oudkerk M, Misra S. Hybrid control algorithm for flexible needle steering: Demonstration in phantom and human cadaver. PloS one. 2018;13(12):e0210052. pmid:30596801
  15. 15. Rossa C, Tavakoli M. Issues in closed-loop needle steering. Control Engineering Practice. 2017;62:55–69.
  16. 16. Adebar TK, Fletcher AE, Okamura AM. 3-D Ultrasound-Guided Robotic Needle Steering in Biological Tissue. IEEE Transactions on Biomedical Engineering. 2014;61(12):2899–2910. pmid:25014948
  17. 17. van de Berg NJ, van Gerwen DJ, Dankelman J, van den Dobbelsteen JJ. Design choices in needle steering—A review. IEEE/ASME Transactions on Mechatronics. 2014;20(5):2172–2183.
  18. 18. Gruijthuijsen C, Colchester R, Devreker A, Javaux A, Maneas E, Noimark S, et al. Haptic Guidance Based on All-Optical Ultrasound Distance Sensing for Safer Minimally Invasive Fetal Surgery. Journal of Medical Robotics Research. 2018;3:1841001.
  19. 19. Reed K, Majewicz A, Kallem V, Alterovitz R, Goldberg K, Cowan N, et al. Robot-assisted needle steering. IEEE Robotics & Automation Magazine. Dec 2011;18(4):35–46.
  20. 20. Sprang T, Breedveld P, Dodou D. Wasp-Inspired Needle Insertion with Low Net Push Force. In: Conference on Biomimetic and Biohybrid Systems; 2016. p. 307–318.
  21. 21. Narayan M, Choti MA, Fey AM. Data-Driven Detection of Needle Buckling Events in Robotic Needle Steering. Journal of Medical Robotics Research. 2018; p. 1850005.
  22. 22. Majewicz A, Okamura A. Cartesian and joint space teleoperation for nonholonomic steerable needles. In: World Haptics Conference (WHC); 2013. p. 395–400.
  23. 23. Elgezua I, Kobayashi Y, Fujie MG. Survey on current state-of-the-art in needle insertion robots: Open challenges for application in real surgery. Procedia CIRP. 2013;5:94–99.
  24. 24. Piccin O, Barbe L, Bayle B, De Mathelin M, Gangi A. A force feedback teleoperated needle insertion device for percutaneous procedures. The International Journal of Robotics Research. 2009;28(9):1154–1168.
  25. 25. Simone C. Modeling of needle insertion forces for percutaneous therapies. John Hopkins University.; 2002.
  26. 26. Carra A, Avila-Vilchis JC. Multilayer needle insertion modeling for robotic percutaneous therapy. In: 2010 4th International Conference on Bioinformatics and Biomedical Engineering. IEEE; 2010. p. 1–4.
  27. 27. Yang C, Xie Y, Liu S, Sun D. Force modeling, identification, and feedback control of robot-assisted needle insertion: a survey of the literature. Sensors. 2018;18(2):561.
  28. 28. Elgezua I, Kobayashi Y, Fujie MG. Estimation of needle tissue interaction based on non-linear elastic modulus and friction force patterns. In: 2014 IEEE/RSJ International Conference on Intelligent Robots and Systems. IEEE; 2014. p. 4315–4320.
  29. 29. Fukushima Y, Saito K, Naemura K. Estimation of the cutting force using the dynamic friction coefficient obtained by reaction force during the needle insertion. Procedia CIRP. 2013;5:265–269.
  30. 30. Yan K, Podder T, Li L, Joseph J, Rubens D, Messing E, et al. A real-time prostate cancer detection technique using needle insertion force and patient-specific criteria during percutaneous intervention. Medical Physics. 2009;36(7):3356–3362. pmid:19673230
  31. 31. Van Gerwen D, Dankelman J, Van Den Dobbelsteen J. Measurement and stochastic modeling of kidney puncture forces. Annals of Biomedical Engineering. 2014;42(3):685–695. pmid:24129753
  32. 32. Gessert N, Priegnitz T, Saathoff T, Antoni ST, Meyer D, Hamann MF, et al. Spatio-temporal deep learning models for tip force estimation during needle insertion. International Journal of Computer Assisted Radiology and Surgery. 2019; p. 1–9.
  33. 33. Lehmann T, Tavakoli M, Usmani N, Sloboda R. Force-sensor-based estimation of needle tip deflection in brachytherapy. Journal of Sensors. 2013;2013.
  34. 34. Rossa C, Lehmann T, Sloboda R, Usmani N, Tavakoli M. A data-driven soft sensor for needle deflection in heterogeneous tissue using just-in-time modelling. Medical & Biological Engineering & Computing. 2017;55(8):1401–1414.
  35. 35. Buzurovic I, Podder TK, Yu Y. Prediction control for brachytherapy robotic system. Journal of Robotics. 2010;2010.
  36. 36. Scali M, Pusch TP, Breedveld P, Dodou D. Needle-like instruments for steering through solid organs: A review of the scientific and patent literature. Proceedings of the Institution of Mechanical Engineers, Part H: Journal of Engineering in Medicine. 2017;231(3):250–265.
  37. 37. Van De Berg NJ, De Jong TL, Van Gerwen DJ, Dankelman J, Van Den Dobbelsteen JJ. The influence of tip shape on bending force during needle insertion. Scientific Reports. 2017;7.
  38. 38. Webster RJ, Kim JS, Cowan NJ, Chirikjian GS, Okamura AM. Nonholonomic modeling of needle steering. The International Journal of Robotics Research. 2006;25(5-6):509–525.
  39. 39. Tang L, Chen Y, He X. Magnetic force aided compliant needle navigation and needle performance analysis. In: 2007 IEEE International Conference on Robotics and Biomimetics (ROBIO); 2007. p. 612–616.
  40. 40. Misra S, Reed KB, Schafer BW, Ramesh KT, Okamura aM. Mechanics of Flexible Needles Robotically Steered through Soft Tissue. The International Journal of Robotics Research. 2010;29(13):1640–1660. pmid:21170164
  41. 41. Sakes A, Dodou D, Breedveld P. Buckling prevention strategies in nature as inspiration for improving percutaneous instruments: a review. Bioinspiration & Biomimetics. 2016;11(2):21001.
  42. 42. Li M, Kang R, Branson DT, Dai JS. Model-free control for continuum robots based on an adaptive Kalman filter. IEEE/ASME Transactions on Mechatronics. 2017;23(1):286–297.
  43. 43. Oldewurtel F, Parisio A, Jones CN, Gyalistras D, Gwerder M, Stauch V, et al. Use of model predictive control and weather forecasts for energy efficient building climate control. Energy and Buildings. 2012;45:15–27.
  44. 44. Hernández-Hernández C, Rodríguez F, Moreno J, da Costa Mendes P, Normey-Rico J, Guzmán J. The comparison study of short-term prediction methods to enhance the model predictive controller applied to microgrid energy management. Energies. 2017;10(7):884.
  45. 45. Young P. Recursive estimation, forecasting and adaptive control. Control and Dynamic Systems. 1989;30(Part 3):119–165.
  46. 46. Wang Y, Ocampo-Martínez C, Puig V, Quevedo J. Gaussian-process-based demand forecasting for predictive control of drinking water networks. In: International Conference on Critical Information Infrastructures Security. Springer; 2014. p. 69–80.
  47. 47. Hardy J, Havlak F, Campbell M. Multi-step prediction of nonlinear Gaussian Process dynamics models with adaptive Gaussian mixtures. The International Journal of Robotics Research. 2015;34(9):1211–1227.
  48. 48. Hou Z, Jin S. Data-driven model-free adaptive control for a class of MIMO nonlinear discrete-time systems. IEEE Transactions on Neural Networks. 2011;22(12):2173–2188. pmid:22147302
  49. 49. Sangvinatsos A. A Random Walk Down Wall Street: The Time-Tested Strategy For Successful Investing. Quantitative Finance. 2017;17(3):327–330.
  50. 50. Hameed HH. Smoothing Techniques for Time Series Forecasting. Eastern Mediterranean University (EMU)-Doğ Akdeniz Üniversitesi (DÜ); 2015.
  51. 51. Assimakopoulos V, Nikolopoulos K. The theta model: a decomposition approach to forecasting. International Journal of Forecasting. 2000;16(4):521–530.
  52. 52. Makridakis S, Spiliotis E, Assimakopoulos V. Statistical and Machine Learning forecasting methods: Concerns and ways forward. PLoS ONE. 2018;13(3):1–26.
  53. 53. Fioruci JA, Pellegrini TR, Louzada F, Petropoulos F. The optimised theta method. arXiv preprint arXiv:150303529. 2015.
  54. 54. Hyndman RJ, Athanasopoulos G. Forecasting: principles and practice. OTexts; 2018. Available from: https://otexts.org/fpp/.
  55. 55. Zhang Y, Wang L. A Hybrid Intelligent Algorithm DGP-MLP for GNSS/INS Integration during GNSS Outages. The Journal of Navigation. 2019;72(2):375–388.
  56. 56. Hastie T, Tibshirani R, Friedman J, Franklin J. The elements of statistical learning: data mining, inference and prediction. The Mathematical Intelligencer. 2005;27(2):83–85.
  57. 57. Russell SJ, Norvig P. Artificial intelligence: a modern approach. Malaysia; Pearson Education Limited; 2016.
  58. 58. Ahmed NK, Atiya AF, Gayar NE, El-Shishiny H. An empirical comparison of machine learning models for time series forecasting. Econometric Reviews. 2010;29(5-6):594–621.
  59. 59. Salimbeni H, Deisenroth M. Doubly stochastic variational inference for deep Gaussian processes. In: Advances in Neural Information Processing Systems; 2017. p. 4588–4599.
  60. 60. Sato RC. Disease management with ARIMA model in time series. Einstein (Sao Paulo). 2013;11(1):128–131.
  61. 61. Abdulali A, Rakhmatov R, Ogay T, Jeon S. Data-Driven Modeling and Rendering of Force Responses from Elastic Tool Deformation. Sensors. 2018;18(1):237.
  62. 62. Chevillon G, Hendry DF. Non-parametric direct multi-step estimation for forecasting economic processes. International Journal of Forecasting. 2005;21(2):201–218.
  63. 63. Taieb SB, Hyndman RJ. Recursive and direct multi-step forecasting: the best of both worlds. vol. 19. Department of Econometrics and Business Statistics, Monash University.; 2012.
  64. 64. de Jong TL, Dankelman J, van den Dobbelsteen JJ. Dataset on force measurements of needle insertions into two ex-vivo human livers. Data in brief. 2017;11:308–310. pmid:28721359
  65. 65. Martínez F, Frías MP, Pérez MD, Rivera AJ. A methodology for applying k-nearest neighbor to time series forecasting. Artificial Intelligence Review. 2017; p. 1–19.
  66. 66. Storms J, Chen K, Tilbury D. A shared control method for obstacle avoidance with mobile robots and its interaction with communication delay. The International Journal of Robotics Research. 2017;36(5-7):820–839.
  67. 67. van Gerwen DJ, Dankelman J, van den Dobbelsteen JJ. Needle–tissue interaction forces–A survey of experimental data. Medical Engineering & Physics. 2012;34(6):665–680.
  68. 68. Taieb SB, Hyndman RJ. Boosting multi-step autoregressive forecasts. In: ICML; 2014. p. 109–117.
  69. 69. Majewicz A, Siegel J, Stanley A, Okamura A. Evaluation of duty-cycled spinning algorithms for robotically-driven steerable needles. In: IEEE International Conference on Robotics and Automation; 2014.
  70. 70. Narayan M, Fey AM, Choti MA. Data-driven detection of adverse events in robotic needle steering. 2018 International Symposium on Medical Robotics (ISMR). 2018; p. 1–6.
  71. 71. Engh JA, Minhas DS, Kondziolka D, Riviere CN. Percutaneous intracerebral navigation by duty-cycled spinning of flexible bevel-tipped needles. Neurosurgery. 2010;67(4):1117–1123. pmid:20881576
  72. 72. Majewicz A, Siegel JJ, Stanley AA, Okamura AM. Design and evaluation of duty-cycling steering algorithms for robotically-driven steerable needles. In: 2014 IEEE International Conference on Robotics and Automation (ICRA). IEEE; 2014. p. 5883–5888.
  73. 73. Minhas DS, Engh JA, Fenske MM, Riviere CN. Modeling of Needle Steering via Duty-Cycled Spinning. In: 2007 29th Annual International Conference of the IEEE Engineering in Medicine and Biology Society; 2007. p. 2756–2759.
  74. 74. Mahvash M, Dupont PE. Fast needle insertion to minimize tissue deformation and damage. In: 2009 IEEE International Conference on Robotics and Automation. IEEE; 2009. p. 3097–3102.