You are currently viewing a new version of our website. To view the old version click .
Robotics
  • Article
  • Open Access

10 November 2025

Adaptive Gaussian Mixture Models-Based Anomaly Detection for Under-Constrained Cable-Driven Parallel Robots

,
,
,
,
and
1
Department of Automation and Systems Engineering, Universidade de Vigo, 36310 Vigo, Spain
2
Department of Communication and Information Technologies, Technical University of Cartagena Member of European University of Technology EUT+, 30202 Cartagena, Spain
*
Author to whom correspondence should be addressed.
This article belongs to the Section AI in Robotics

Abstract

Cable-driven parallel robots (CDPRs) are increasingly used for load manipulation tasks involving predefined toolpaths with intermediate stops. At each stop, where the platform maintains a fixed pose, and the motors keep the cables under tension, the system must evaluate whether it is safe to proceed by detecting anomalies that could compromise performance (e.g., wind gusts or cable impacts). This paper investigates whether anomalies can be detected using only motor torque data, without additional sensors. It introduces an adaptive unsupervised outlier detection algorithm based on Gaussian Mixture Models (GMMs) to identify anomalies from torque signals. The method starts with a brief calibration period—just a few seconds—during which a GMM is fit on known anomaly-free data. Real-time torque measurements are then evaluated using the Mahalanobis distance from the GMM, with statistically derived thresholds triggering anomaly flags. Model parameters are periodically updated using the latest segments identified as anomaly-free to adapt to changing conditions. Validation includes 14 long-duration test sessions simulating varied wind intensities. The proposed method achieves a 100% true positive rate and 95.4% average true negative rate, with 1-second detection latency. Comparative evaluation against power threshold and non-adaptive GMM methods indicates higher robustness to drift and environmental variation.

1. Introduction

Cable-driven parallel robots (CDPRs) are robotic systems where the end-effector’s position and orientation are controlled by adjusting the length of multiple cables, offering advantages in cost, performance, and adaptability []. Their structure, composed of cables and winches, enables larger workspaces and higher payload capacities compared to anthropomorphic robots []. Unlike other parallel robots like Delta or Stewart platforms, CDPRs are also more reconfigurable and capable of complex motions, making them ideal for applications that require extended workspaces and high load capacities [,].
However, their reliance on cables introduces a key limitation: cables can only operate under tension, not compression. As a result, stability depends on the specific setup of the systems. For instance, an eight-cable setup (four upper and four lower) provides precise control and robustness, while a four-cable configuration, though suitable for larger workspaces, is under-constrained and more prone to oscillations in the end-effector [].
Research has explored CDPR applications in diverse fields such as 3D printing [], rehabilitation [], storage and retrieval systems [], sports tracking devices [], precision agriculture [] and load manipulation [,]. Despite the aforementioned advantages, their industrial adoption remains limited [,]. The main barriers to widespread implementation are the scarcity of commercial solutions, with only a few available, such as RBOT9 and CRANEBOT [,], and challenges in meeting the industrial safety and operational standards required for seamless integration with industrial controllers.
Enhancing the safety could significantly boost CDPR adoption, but research has mainly focused on cable breakage and collisions. These kinds of solutions include adding passive auxiliary cables with clamping devices for redundancy [] to reconfigurable architectures that actively relocate cable anchor points for task recovery after a cable failure [,], collision-management techniques that address external impacts with humans or the environment [], and internal self-interference [].
In addition, as stated, under-constrained CDPRs are more sensitive to external forces like wind, causing lateral disturbances that impact static positioning in pick-and-place tasks []. Accurate endpoint positioning is crucial, while trajectory errors during motion are more tolerable. Deviations of the end-effector due to external factors like wind or unintended operator contact are anomalies that do not lead to the expected and safe behavior []. These anomalies can compromise the grip quality or degrade outcomes in applications like laser inspection. Therefore, detecting these anomalies is the first step toward implementing actions to mitigate them.
Although machine learning, especially deep learning, has improved anomaly detection [,,], many existing approaches remain highly specialized and still depend on extensive domain knowledge for effective deployment. Traditional methods like k-Nearest Neighbor, Decision Trees, or Discriminant Analysis have been applied to detect cable breakage or sensor failures in CDPRs [], and Neural Networks have identified deviations from standard toolpaths []. Deep reinforcement learning has also been applied to improve position estimation in CDPRs under model uncertainty []. Despite recent advances, CDPRs still lack practical anomaly detection strategies that can learn on the fly, without pre-labeled anomalies, and remain robust to wind gusts.
We present an approach to detect unintended end-effector movements by analyzing anomalies in cable tensions without requiring additional external sensors or detailed environmental information. Our study focuses on conditions in which motion control maintains the robot’s pose while the motors remain powered and the motor brakes are switched off. These conditions occur, for instance, when the manipulator remains at rest while performing a picking or placing operation with its tool, as in typical pick-and-place tasks. We investigate whether disturbances from wind or other external forces can be detected solely through motor torque measurements based on servo amplifier current consumption. In this way, any detected anomalies can prompt the postponement of subsequent operations until the anomaly is resolved. This approach enhances safety and provides redundancy for critical decisions. From an implementation perspective, cable tension is inferred directly from motor torques, avoiding the extra hardware, wiring, and calibration effort required by cable-mounted load cells as proposed in []. Moreover, in this operating regime, the system is effectively static; therefore, we can treat cable-tension observations—estimated from motor torques—as samples from a stationary distribution and model this density with a Gaussian Mixture Model (GMM) —see details in Section 4.2. Compared with kernel or deep density estimators, a GMM captures multimodality with few parameters, yields interpretable likelihood-based anomaly scores, and retrains quickly with data-driven model order—advantages we examine empirically in Section 5.1.
The rest of this paper is organized as follows. Section 2 theoretically describes the stability of a CDPR. Section 3 details the experimental setup used and analyzes the stability conditions that allow the application of the anomaly detection method described in Section 4 for under-constrained CDPRs. Section 5 presents the results obtained from the various rounds of experiments. Finally, Section 6 summarizes the conclusions. All sources and CSV data files that support the findings of this study are openly available in the Data Availability section at the end of this article.

2. Static Stability of Under-Constrained Cable-Driven Parallel Robots

A mandatory condition to apply the outlier detection within our scope is verifying that the operating point is stable. Otherwise, an external perturbation may drive the system to new operation equilibria, making static-density models like GMM ill-posed: likelihood changes may confound genuine external anomalies with self-adjustments of the CDPR. In contrast, under a stable operating point, the nominal distribution is stationary (or at least slow-paced changing); so, deviations in likelihood can be attributed to external disturbances rather than internal readjustments, enabling consistent thresholds and low false positives/negatives.
Stability describes the response of a mechanical system to a disturbance and is a fundamental property in the design and operation of CDPRs, particularly for under-constrained systems like our four-cable experimental system (see Section 3), where gravity significantly influences performance []. A configuration is considered stable when a slight change in the cable forces does not permanently displace the platform or prevent it from returning to its original position once the disturbance disappears. Previous research has addressed the stability of CDPRs through analytical methods that involve the use of Lagrange multipliers and the computation of the Hessian matrix, as in [,], respectively. Specifically, following these works, stability is assured when the reduced Hessian ( H r ) is positive definite.
We define an equilibrium configuration as any pose in which the cable forces exactly counter-balance the external load (only gravity on the platform’s center of mass is considered) so that the resultant force and moment on the platform are both zero. When, in addition, the platform is at rest, the configuration becomes a static equilibrium. This study focuses exclusively on such static equilibrium and examines whether the CDPR remain stable under infinitesimal tension perturbations, a property hereafter referred to as static stability.
The CDPR model consists of a mobile platform connected to the base by n inelastic massless cables, as shown in Figure 1. O xyz represents the system’s coordinate frame, and P xyz is the mobile coordinate frame of the platform. The position of the platform is defined by the position vector p and the rotation matrix R, parameterized by Euler angles ε = [ φ , ψ , θ ] T , with generalized coordinates q = [ p T , ε T ] T . B i denotes the distal anchor points where the cables originate, while A i represent the proximal anchor points where the cables attach to the mobile platform. The i-th cable is represented by vector l i (Equation (1)).
l i = B i A i = b i p r i = b i p R a i
Figure 1. Closed loop diagram of a cable in a CDPR.
To simplify the model, we neglect the influence of pulley transmission on platform accelerations, cable tensions, and workspace boundaries. This assumption is supported by prior studies showing that omitting pulley effects reduces the workspace volume by approximately 1% when pulley radii are around 2.5% of the robot’s shortest edge []. Although pulley kinematics may temporarily amplify platform acceleration by up to 50% in worst-case scenarios [], such transient effects are typically mitigated by the inner control loops of the drives and do not significantly impact the steady-state behavior under analysis.
Using the notation introduced by [], the static stability condition reads
i = 1 n τ i l i $ i + Q $ e = 0 , τ i 0 , i = 1 , , n ,
where ( τ i / l i ) $ i is the force applied to the i-th cable, and Q $ e is the external wrench.
Under this static stability assumption, friction dissipates kinetic energy, leading the platform to a state of equilibrium over time. This result stems from the Lagrangian function L , which relates the kinetic and potential energy to the system’s kinematics and dynamics. Following the criterion in [], the reduced Hessian H r of L must be positive definite for the equilibrium defined in Equation (2). Its expression is
H r = N p T H p N p
H p = i = 1 n τ i l i I r ˜ i r ˜ i 1 2 r ˜ i p ˜ r ˜ i b ˜ i + p ˜ r ˜ i b ˜ i r ˜ i
J p = l 1 T ( r 1 × l 1 ) T l n T ( r n × l n ) T ,
where N p denotes the kernel (or null space) of the homomorphism J p (Equation (5)) and r ˜ is the skew-symmetric matrix of dimension n. This methodology will be used in Section 3 to validate the static stability of the CDPR in the pose of the experiment.

3. Experimental Setup

An experimental setup was designed to evaluate the anomaly-detection system (detailed in Section 4) through controlled experiments in which disturbances simulate external forces and environmental interference similar to those in actual facilities. The setup, shown in Figure 2a, consists of a 4-cable CDPR and a fan with four adjustable strength levels (0 for off to 3 for maximum) to simulate external outliers (item 4 in Figure 2a). A tri-color beacon (item 6 in Figure 2a) provides visual feedback of the current fan setting in the recorded images, as shown in the center of Figure 2b.
Figure 2. Experimental setup for CDPR testing under wind disturbances. (a) Photograph of the experiment. (b) Capture of the video recorded during the tests with the timestamp data.
The mechanical prototype of the CDPR comprised several components. The dimensions of the structure are 860 × 1420 (length and width, respectively) at a height of 1600 mm and it utilizes aluminum profiles with a 40 × 40 mm cross section. At the extreme ends of this structure are the polyurethane pulleys with a 25 mm radius. The cables are made of Dyneema SK75 with a diameter of 1.5 mm, while the winches, fabricated from PLA material, have a radius of 45 mm. The aluminum end-effector measures 66 × 114 × 18 mm and weighs 0.30 kg. To increase its effective surface area and enhance its exposure to airflow, a 195 × 195 × 1 mm aluminum sheet is attached as a “sail”, adding 0.12 kg. In addition, a 1.00 kg weight is suspended from the platform to ensure sufficient cable tension, and the coupling components between these elements contribute an additional 0.17 kg. Overall, the end-effector assembly has a total mass of 1.59 kg.
Inside the controller, kinematics, trajectory generation, and control structures are implemented in Structured Text (IEC 61131-3 []) under the TwinCAT 3 runtime [], with motor control compliant with PLCopen Motion Control standards []. Torque and position data are forwarded over EtherCAT to a digital I/O card and then to four EL7211 servo drives. Each servo drive powers an AM8112 servomotor that reels the cables onto the winch (item 3 in Figure 2a).
The signal-and-data flow, used for the operation of the CDPR, is detailed in the architecture diagram of Figure 3. A script running on a PC launches each trial, issues starting commands to the Beckhoff CX5130 industrial controller (item 2 in Figure 2a), and receives a continuous stream of internal variables (cable tensions, platform position, and timestamps). The script also opens a data file for the incoming motor torque stream and starts recording video footage from the Intel RealSense depth camera (item 1 in Figure 2a). Both video and data file are timestamped for synchronization purposes. A view from the recorded video is provided in Figure 2b.
Figure 3. Signal schematic and component interaction for data acquisition and control of the CDPR under external disturbances.

Study of Static Stability for the 4-Cable CDPR

The stability study presented next for our CDPR is intended to confirm that the anomaly-detection system can be applied to this model.
The geometric configuration used in Equations (4) and (5) is defined by the distal anchor points B 1 = [ 0.71 , 0.43 , 1.60 ] T , B 2 = [ 0.71 , 0.43 , 1.60 ] T , B 3 = [ 0.71 , 0.43 , 1.60 ] T , and B 4 = [ 0.71 , 0.43 , 1.60 ] T m, together with the proximal anchor points on the platform A 1 = [ 0.06 , 0.03 , 0 ] T , A 2 = [ 0.06 , 0.03 , 0 ] T , A 3 = [ 0.06 , 0.03 , 0 ] T , and A 4 = [ 0.06 , 0.03 , 0 ] T m. The position and orientation of the end-effector are p = [ 0 0 0.70 ] T m and ε = [ 0 0 0 ] T rad, respectively. The cable vectors l i are l 1 = [ 0.65 0.40 0.90 ] T , l 2 = [ 0.65 0.40 0.90 ] T , l 3 = [ 0.65 0.40 0.90 ] T , and l 4 = [ 0.65 0.40 0.90 ] T m. All cables have a length of 1.18 m. The cable tensions are τ = [ 15.89 11.19 15.20 12.57 ] N. All these data are obtained directly from the prototype, under the conditions of the experiments in Section 5. Evaluating H r in Equation (3) leads to
H r = N p T H p N p = 2.15 0.15 0.15 0.91 .
Since H r is symmetric and has positive eigenvalues (2.17 and 0.89), it is positive definite, confirming that the CDPR is statically stable at the pose q ( p , ε ) . Consequently, any small external disturbance produces only a temporary displacement: restoring forces bring the platform back to its equilibrium position as kinetic energy dissipates.
In addition to this experimental pose, three additional static configurations were evaluated within the workspace of the original prototype during the preliminary testing stage. These configurations were selected to represent different regions of the reachable volume, including non-symmetric postures. The corresponding cable lengths, cable tensions, and the projected stiffness matrix H r were computed for each case using data directly measured on the prototype. The numerical values are reported in Table 1. In all tests, H r resulted positive definite, confirming stable static equilibrium consistent with the theoretical stability analysis presented in Section 2.
In conclusion, an outlier discriminator should theoretically be able to identify anomalies, since the CDPR is in a statically stable condition. Since the additional tested poses were also confirmed to be statically stable, we selected the pose (p = [ 0 0 0.7 ] T m) for the experiments in Section 5. The next section provides a detailed explanation of the anomaly detection algorithm developed in this study.
Table 1. Static stability measurements of the CDPR in three experimental positions. The table reports the cable lengths, cable tensions, the projected stiffness matrix H r , and the corresponding eigenvalues.
Table 1. Static stability measurements of the CDPR in three experimental positions. The table reports the cable lengths, cable tensions, the projected stiffness matrix H r , and the corresponding eigenvalues.
Position (X,Y,Z) [m]Cable Lengths l [m]Cable Tensions τ [N] H r Eigenvalues
(0.02, −0.14, 0.73)(1.10, 1.08, 1.24, 1.25)(17.64, 15.93, 14.87, 8.82) 2.27 0.17 0.17 0.91 (2.29, 0.89)
(−0.05, −0.01, 0.82)(1.07, 1.11, 1.11, 1.08)(22.09, 6.70, 19.14, 10.21) 2.39 0.53 0.53 0.98 (2.56, 0.81)
(0.11, 0.12, 0.62)(1.35, 1.28, 1.15, 1.22)(9.62, 14.18, 19.50, 10.64) 1.99 0.04 0.04 0.88 (1.99, 0.88)

4. Anomaly Detection

The general goal of this research is to detect anomalies using the available CDPR state information. As discussed in Section 2, the state in an under-constrained CDPR comprises cable lengths and motor torques. When the platform is at rest, cable lengths define the position of the end-effector, but external forces can still alter the state of the CDPR without altering the lengths, instead modifying only the cable tensions. Consequently, our algorithm relies solely on motor torque data.
An initial approach to anomaly detection could be setting a threshold for the instantaneous detected power. However, this would underperform due to the noisy nature of the data. For example, in Figure 4, the moving-average 2-norm of the torque vector at each time instant is shown for two trials. The first one (Figure 4a) consisted of 10 h without wind gusts (anomalies), followed by 2 h with wind gusts every 10 min. The second one (Figure 4b) consisted of 12 h during which there were 10 min wind gust anomalies every 10 min.
Figure 4. Relative power series for two experiments: (a) rest and gust cycle test; (b) gust test.
As can be seen, the anomalies can be hidden within the noise of the signal itself (Figure 4b). Even when more discernible, they may still fall below the detection threshold determined during calibration (Figure 4a), due to temporal drift and the small offset from the regular signal. This drift in the data is not attributable to a stability problem but to external changes such as temperature variations. Notably, these drifts are smooth over time, suggesting that it should be possible to detect and adapt to them.
Based on these observations, it is desirable to use a method that is less affected by noise, achieves a greater level of distinction when an outlier occurs, and is capable of correcting the model in the presence of temporal drifts. To this end, we have proposed a model based on the distance between new data and the CDPR model under stable conditions, using a multivariate GMM. The main stages in the operation of our algorithm are shown in Figure 5 and summarized as follows:
  • Data acquisition. At the beginning of an operation with the CDPR, baseline data are gathered while the platform is at rest and are used to calibrate the model for subsequent idle periods.
  • Model generation. A multivariate GMM is fit to the calibration data.
  • Anomaly detection. New data are compared against the GMM model using the Mahalanobis distance to the cluster centroids. When this distance exceeds the threshold, an anomaly is declared.
  • Model update. To handle observed data drifts, we update our model if a significant deviation from the data is found but it is still below the threshold.
Figure 5. Model overview showing the main stages and the procedures involved in the data processing.
The next subsections describe these steps in depth.

4.1. Data Acquisition

Torque data are read sequentially from each of the n motors at each sampling instant j as an n-dimensional tuple τ j . At each processing step, these data are grouped into sets of M samples. That is, at processing instant j, the data x j are comprised of x j = { τ j , , τ j + M 1 } ; thus, x j is ( n × M ) dimensional.
The first C points { x 1 , , x C } are used for calibration. They correspond to the data recorded during the idle period at the beginning of the experimental session, after the motors have reached their steady temperature regime.

4.2. Model Generation

Given the C calibration points and setting the number of clusters to K, the GMM model parameters (means μ k and covariances Σ k , for k = 1 , , K ) are fitted using the well-known Expectation-Maximization (EM) algorithm (e.g., see [], Sect. 9.2.2) implemented in Python (version 3.7.9) using the scikit-learn library (version 0.23.2) through the GaussianMixture class. The number of clusters K is selected as the one minimizing the Bayesian Information Criterion (BIC) for the model fit, which is commonly used in models aimed at anomaly detection (see [], Sects. 1.3 and 4.4.1).

4.3. Anomaly Detection

Once the model is fit, we can compute the distance from a new point x to the GMM model using the Mahalanobis distance. This is a common measure of the novelty of a point versus a (multi-)clustered dataset, which we assume to exist since the conditions are deemed as statically stable during the calibration phase (as studied in Section 3). Similar approaches for the analysis of outliers in data series have been successfully applied in other domains [,,]. In a multi-clustered framework, the distance to the k-th cluster centroid is
d k ( x ) = ( x μ k ) T k 1 ( x μ k ) 1 2 ;
thus, the distance from point x to the GMM is defined as the distance to the nearest cluster:
d ( x ) = min k = 1 , , K d k ( x ) .
Once the distance criterion is defined, we can establish a threshold value for new data as the maximum distance reached during the calibration period, i.e.,
d th = max j = 1 , , C M d ( x j ) .
During data processing, the distance to new points is evaluated, and if it exceeds the established threshold d th the region is considered as an outlier. To avoid false positives and areas where the anomaly is detected intermittently, moving-average distances are obtained over a sliding window of size S and compared to the threshold. Increasing S provides a more reliable criterion for declaring anomalies and avoiding false positives, although the detection of true positives may be slightly delayed. A balanced value for S is around 100 samples, which allows detection in approximately 1 s (for a data rate of 100 samples/s), suitable for real-time CDPR operation. All scripts used for the implementation of the outlier detector in the CDPR setup are accessible via GitHub at: https://github.com/javiervales/cdpr (accessed on 4 November 2025).

4.4. Model Update

During the experimental phase, data drift was observed in torque measurements in many of the long running tests. As previously mentioned, this may be due to external variations like temperature or humidity, as well as internal effects related to the motors. For example, this drift is clearly noticeable in Figure 6a and can cause, as it does in that case, normal regions to be erroneously treated as anomalies. Such misclassifications can be seen in the intermediate subplot of Figure 6a.
Figure 6. Relative power series and Mahalanobis distances for experiments (expanding Figure 4). (a) Experiment #12. (b) Experiment #4 (see Table 2).
To avoid this problem, we introduced the following change: the algorithm recalculates the GMM model when the mean distance of the sliding window of new points exceeds ( 1 γ ) × 100 % of the threshold but is less than 100% of it, being γ a model hyperparameter with a nominal value of 0.25 . A distance in this range is strong evidence that the GMM model has changed slightly and should be readapted. The model is updated with the last C anomaly-free registered samples. The output of this method is shown in the bottom subfigures of Figure 6. Now, it correctly detects the zones with outliers through drift correction. The instances when there has been a model update are indicated with red inverted triangular marks in Figure 6.

5. Experimental Results and Discussion

During the tests, the CDPR remained in a stable position with consistent airflow always impacting it from the same direction when an anomaly takes place. The end-effector position was fixed at coordinates (0, 0, 700) mm. It is important to note that all tests were conducted only after the motors reached a stable operating temperature. The experiments were carried out in a laboratory testbed with the temperature and humidity controlled at approximately 20 oC and 75%, respectively. For each test, motor torques (as proxies for cable tensions) are timestamped and saved at a rate of 100 samples/s.
The tests conducted are as follows:
  • Gust test (Type 1): The fan alternated between being off and operating at the selected wind strength for a given period of time (usually 10 min). These tests established a baseline for the anomaly detection algorithm, enabling it to accurately classify the presence or absence of wind.
  • Rest and gust cycle test (Type 2): Following a prolonged resting period (fan off) of several hours, the system underwent 2 h of short gust sessions with 10 min on–off cycles. These tests evaluated the algorithm’s ability to handle motor torque drifts, defined as the gradual variation in delivered torque that arises when the motor current changes over time.
  • Random wind disturbance test (Type 3): After an initial resting period, variable disturbances were applied, varying in strength (levels 0 to 3) and duration (1 to 20 min). These tests are aimed to assess the algorithm’s ability to detect outliers under dynamic wind conditions.
This section describes the results obtained from applying the anomaly detection method in the experimental testbeds. The primary objectives of the experimental phase were threefold:
  • Validate improved strategies for anomaly detection.
  • Study the phenomenon of temporal drift and how it affects anomaly detection.
  • Establish parameterizations that provide robustness in decision-making while allowing the algorithms to operate in real time. A target detection time of 1 s has been considered.
A total of 14 experiments were performed. Table 2 summarizes the configuration and results of each experiment, and Figure 6 showcases the results for three different methods:
  • Power method: a threshold procedure applied to the moving average of the torque power signal; as in the distance method, the threshold is determined as the maximum obtained during the calibration phase.
  • Distance method without GMM updates: the distance method described in the previous section, applied without updating the GMM.
  • Distance method with GMM updates: the same distance method, but with GMM model updates incorporated.
Table 2. Percentage of true positives (TP) and true negatives (TN). Tests last 12 h unless noted.
Table 2. Percentage of true positives (TP) and true negatives (TN). Tests last 12 h unless noted.
Power MethodDistance Method
(No Updates)
Distance Method
(Updates)
TestDescriptionTP [%]TN [%]TP [%]TN [%]TP [%]TN [%]
#1Type 1. 10/20 1 min on/off cycles, wind strength 30.099.710098.610098.6
#2Steady conditions, no anomalies1005.010015.1100100
#3Type 2. 10/20 min on/off cycles in the last 2 h, wind strength 10.098.810072.310099.5
#4Type 1. 10/20 min on/off cycle, wind strength 295.34.810058.310097.9
#5Type 1. 1/2 h on/off cycle, wind strength 171.424.310017.1100100
#6Type 1. 1/2 h on/off cycle, wind strength 332.217.110036.910099.4
#7Type 3. 6 h test, variable wind strength in the last 5 h58.111.810081.210092.9
#8Type 3. 45 min test, anomalies in the last 15 min, wind strength 30.090.0100100100100
#9Type 1. 10/20 min on/off cycle, wind strength 14.795.210085.2100100
#10Type 2. 2 h test, 10/20 min on/off cycle in the last hour, wind strength 124.272.810096.3100100
#11Type 2. 10 h test, 10/20 min on/off cycle in the last 2 h, wind strength 127.368.11000.210099.7
#12Type 2. 10/20 min on/off cycle in the last 2 h, wind strength 31.599.210018.710099.4
#13Type 3. 20 h test, variable strength anomalies in the last 10 h0.059.910023.710076.0
#14Type 3. 3 h test, 20/30 min anomalies, alternate wind strengths 1 and 30.095.510050.010072.7
Average29.660.210053.810095.4
1 Format A/B: anomaly duration (A) and total period (B: wind + rest).
In all cases, the moving average is computed over the last S = 100 samples to meet the target detection time. For each of these methods, the percentages of true positives (TP) and true negatives (TN) are calculated: a TP occurs when an anomaly is correctly detected during the period when the fan is on; a TN occurs when no anomalies are detected during the period when the fan is off. These percentages are obtained by dividing the total time correctly classified as anomalous or non-anomalous by the actual total time with true anomalies (fan on) or without anomalies (fan off), respectively. Additionally, a guard period of 30 s is considered when the fan is turned off, since the CDPR should gradually return to the resting state. During this guard period, the detector’s output is not included in the TP and TN statistics, as the system may produce ambiguous results while settling. For safety reasons, the system must never run in hazardous conditions. Every anomaly has to be identified, even if this means accepting a small number of false positives (occasionally flagging normal situations as anomalies).
The experimental results demonstrate that the proposed distance method with GMM updates obtains consistent results across all experiments. Specifically, it achieved 100% TP rates across all tests, effectively detecting all anomalies. It also reached very high TN rates, with an average of 95.4%, indicating a low rate of false positives during normal operation. In contrast, the power threshold method showed poor performance, with an average TP rate of 29.6%. Regarding TN, the power and the distance model without updates only achieve rates in the order of 50%, due to their inability to correct from operational drifts, making them unreliable for practical anomaly detection purposes.
Figure 7 shows the results of the “method with GMM updates” on four additional experiments (#6, #7, #9, and #14). More specifically:
  • Figure 7a shows the results of the experiment #6 in which the CDPR alternates between one-hour rest and one-hour steady wind periods. During each calm period (e.g., at 3 h, 5 h, and 9 h), the method is updated and corrects the drift. This figure also shows how the algorithm detects all anomalies above the threshold (yellow bands) and switches back to normal classification almost as soon as the anomaly ends, with a TN rate of 99.4%. The few false positives (0.6% of the samples) appear during the wind-to-rest transition.
  • Figure 7b shows the system under winds of varying intensity, as reflected by the variations in the relative distance signal. Although the signal fluctuates, it remains above the threshold; so, the detector correctly identifies the whole period as anomalous. At about 3.5 h, the wind stops, but the algorithm waits for a minimum settling time before it considers the system back to normal; so, this brief interval is still labeled anomalous even when the distance suggests that it could be a nominal state. Additionally, there is a false positive at around 4.25 h, probably caused by the alterations in the model calculation. For safety reasons, the system flags an anomaly, and once the model is correctly updated, it returns to identifying the true negatives accurately.
  • In Figure 7c, all anomaly regions are correctly detected (100% TP). When compared to the distance values in Figure 6, a direct correlation between wind intensity and increasing distance is observed, which supports the expected behavior of the system.
  • In the test shown in Figure 7d, the algorithm perfectly identifies all outlier regions. However, because stability problems arise around 1.5 h, the model does not reach steady state until 1.64 h, which slightly delays accurate classification of the nominal states. This represents the most challenging scenario tested, yet the system still meets the required specifications. It successfully identifies all anomalous events and maintains an acceptable accuracy in detecting nominal conditions (Table 2). The delay in returning to normal classification is attributed to the temporary instability introduced by external winds, which delays model adjustments.
Figure 7. Moving average Mahalanobis distance (model with updates) for experiments. (a) Experiment #6, (b) Experiment #7, (c) Experiment #9, (d) Experiment #14. For additional information, see Table 2.
As an example of anomaly detection, Figure 8 illustrates the motion of the load when an anomaly was detected in test file #14. This anomaly was caused by a maximum-level (3) wind gust. Although the CDPR robot attempts to compensate for wind-induced motion, a slight displacement of the payload remains perceptible (highlighted by the left and right arrows in the figure to facilitate identification of the movement). In other anomaly examples, the oscillatory movements are less visually evident due to the CDPR’s rapid compensation, yet they are still readily detected by our proposed algorithm through the resulting changes in the torques.
Figure 8. Example of detected anomaly.

5.1. GMM Model Evaluation

This subsection presents an empirical evaluation of the chosen GMM methodology, covering the sensitivity to hyperparameters, calibration window, components, and fitting statistics.

5.1.1. Hyperparameter Study

First, the effect of the model’s configuration hyperparameters was investigated. Modifications were tested on the model updating threshold 1 γ . The tests did not show significant variations when setting this parameter between 0.5 and 0.95 . Regarding the hyperparameter M, which controls the dimensionality of the model and was set at M = 5 by default, various tests were conducted with values of M from 1 to 20. The results were mostly satisfactory across the entire range of values, although very low values result in a reduced distance dynamic range, which may, in rare occasions, lead to misclassifications. Conversely, when the dimensionality is too high, the model becomes unstable, and constant updates are necessary, which could affect the computational performance, as shown in Figure 9.
Figure 9. Effect of the model hyperparameter M on the outcome of experiment #9 (see Table 2).

5.1.2. Calibration Data

We evaluated calibration durations from 10 to 120 s and observed no material differences in the final outcomes. All experiments in Table 2 use a 10 s calibration window at a sampling rate of 100 Hz, yielding C = 1000 samples. As discussed in Section 4.1, these are grouped into M-sample multivariate data without gaps, producing C M training vectors (995 when M = 5). In the adaptive algorithm, each GMM fit uses the most recent C samples (10 s) that have been accepted as nominal (i.e., non-anomalous).

5.1.3. GMM Fitting Statistics

Across GMM fittings, the selected number of components was K = 1 in about 79.4% of cases, K = 2 in 13.7%, and K = 3 in 6.9%, indicating that a small number of components suffices in practice. The BIC information criterion used for component selection (see Section 4.2) is used solely to rank model orders for a given dataset; lower values indicate a better fit–complexity trade-off for that dataset and are not intended for comparison across datasets with different sizes or feature scales, which may happen in the context of CDPRs.
Finally, the average fitting time was 0.11 s (median 0.10 s) in a single-threaded implementation running on an Apple Mac mini M1. No engineering optimizations (e.g., multi-threaded execution or a native C++ implementation) were employed here, and such optimizations could further reduce training times in production environments, though even without these optimizations the algorithm is able to operate in real time.

6. Conclusions

In this paper, we presented an unsupervised anomaly detection algorithm for CDPRs while the platform is at rest, relying solely on motor-torque measurements and requiring no extra sensors. This anomaly detection is particularly relevant for CDPR operating modes in which the end-effector must hold a fixed pose while the motor torque remains active, as is commonly demanded during industrial operations and grip/release steps in pick-and-place tasks. The study presented in this article focuses on the phases immediately prior to performing the precision pick or place operations, with the tool in a static position, either alone or carrying the load, respectively. Both load conditions must be considered during the algorithm design. The proposed method does not automatically adapt to changes in payload; instead, it can be calibrated for any specific load condition, provided that the system operates at a static equilibrium point. When the payload is modified, a short calibration stage (on the order of 10 s) can be carried out to establish the corresponding nominal reference baseline. This ensures that the reference model accurately reflects the current operating condition, while deviations from it can still be reliably identified as anomalies.
The experimental results demonstrated that the proposed “method with GMM updates” efficiently detects anomalies and adapts to temporal drifts, maintaining high sensitivity while minimizing false positives. When compared to the relative power method and the GMM method without updates, our method consistently outperformed both in the face of drift and changing environments, all without requiring any labeled anomaly data. Across fourteen experiments the proposed method achieved an average 100% detection rate and correctly classified 95.4% of normal conditions, with every anomaly detected in one second.
These results indicate that the system will never operate under anomalous conditions, at the cost of accepting a small number of false positives. These false positives correspond to periods in which the machine remains idle without a clear cause (see Figure 7d around the 1.5 h mark), which can be interpreted as a loss of productivity. Nevertheless, introducing a redundant safety mechanism based on an additional detection method could help mitigate the impact of these idle periods, while still ensuring that the system never operates during an anomaly. In this context, the method presented in this work may also be considered as an additional redundant layer for anomaly detection, with redundancy being one of the fundamental principles of industrial safety [].
Its simplicity and minimal parameter tuning make it well-suited for real-time applications, providing a practical solution to enhance the safety of CDPR operations. Future work will focus on extending the algorithm to other operational phases of CDPRs.

Author Contributions

Conceptualization, J.G. and J.V.; methodology, J.G., J.V. and D.S.-M.; software, J.V. and J.R.-A.; validation, J.V., D.S.-M. and E.R.; formal analysis, J.G. and J.V.; investigation, J.G., J.V., D.S.-M. and E.R.; resources, J.G.; data curation, J.G., J.V. and E.R.; writing—original draft preparation, J.G., J.V., D.S.-M. and E.R.; writing—review and editing, J.G., J.V., D.S.-M., P.L.-M. and J.R.-A.; visualization, P.L.-M. and J.R.-A.; supervision, J.G. and J.V. All authors have read and agreed to the published version of the manuscript.

Funding

This research was partly funded by the VirtualR3 project, as part of the EMIL project (HORIZON-CL4-2021-HUMAN-01-06, EMIL Grant Agreement No 101070533).

Data Availability Statement

All sources and csv datafiles are available at GitHub: https://github.com/javiervales/cdpr (accessed on 4 November 2025).

Acknowledgments

Diego Silva-Muñiz is grateful to the Universidade de Vigo for his postdoctoral orientation grant (00VI 131H 6410211-2023).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Wang, R.; Li, J.; Li, Y. A Review on Design, Modeling and Control Technology of Cable-Driven Parallel Robots. Robotics 2025, 14, 116. [Google Scholar] [CrossRef]
  2. Martín-Parra, A.; Muñoz, J.; Moya-Fernández, F.; Rodríguez-Rosa, D.; Juárez-Pérez, S.; Monje, C.A. Novel Position Control for Ensuring Feasible Tension Distribution of Cable-Driven Parallel Manipulators. In Dynamics and Aerodynamics of Cables; Gattulli, V., Lepidi, M., Martinelli, L., Eds.; Springer Nature Switzerland: Cham, Switzerland, 2024; Volume 399, pp. 19–29. [Google Scholar] [CrossRef]
  3. Boby, R.A.; Maloletov, A.; Klimchik, A. Measurement of End-effector Pose Errors and the Cable Profile of Cable-Driven Robot Using Monocular Camera. J. Intell. Robot. Syst. 2021, 103, 32. [Google Scholar] [CrossRef]
  4. Izard, J.B.; Gouttefarde, M. On the Cable Actuation of End-Effector Degrees of Freedom in Cable-Driven Parallel Robots. In Cable-Driven Parallel Robots; Caro, S., Pott, A., Bruckmann, T., Eds.; Springer Nature Switzerland: Cham, Switzerland, 2023; Volume 132, pp. 134–145. [Google Scholar] [CrossRef]
  5. Korayem, M.H.; Yousefzadeh, M.; Beyranvand, B. Dynamics and Control of a 6-Dof Cable-driven Parallel Robot with Visco-elastic Cables in Presence of Measurement Noise. J. Intell. Robot. Syst. 2017, 88, 73–95. [Google Scholar] [CrossRef]
  6. Qian, S.; Jiang, X.; Qian, P.; Zi, B.; Zhu, W. Calibration of Static Errors and Compensation of Dynamic Errors for Cable-driven Parallel 3D Printer. J. Intell. Robot. Syst. 2024, 110, 31. [Google Scholar] [CrossRef]
  7. Huo, Y.; Khan, M.N.; Shao, Z.F.; Pan, Y. Development of a Novel Cable-Driven Parallel Robot for Full-Cycle Ankle Rehabilitation. Mechatronics 2024, 101, 103210. [Google Scholar] [CrossRef]
  8. Bruckmann, T.; Lalo, W.; Nguyen, K.; Salah, B. Development of a Storage Retrieval Machine for High Racks Using a Wire Robot. In Proceedings of the Volume 4: 36th Mechanisms and Robotics Conference, Parts A and B, Chicago, IL, USA, 12–15 August 2012; pp. 771–780. [Google Scholar] [CrossRef]
  9. Ghanatian, M.; Hairi Yazdi, M.R.; Tale Masouleh, M. Experimental Study on Controlling Suspended Cable-Driven Parallel Robots for Autonomous Video-Capturing of Football Games and Obtaining the Statistics of the Games. Mechatronics 2023, 95, 103058. [Google Scholar] [CrossRef]
  10. García-Vanegas, A.; García-Bonilla, M.J.; Forero, M.G.; Castillo-García, F.J.; Gonzalez-Rodriguez, A. AgroCableBot: Reconfigurable Cable-Driven Parallel Robot for Greenhouse or Urban Farming Automation. Robotics 2023, 12, 165. [Google Scholar] [CrossRef]
  11. Culla, D.; Gorrotxategi, J.; Rodríguez, M.; Izard, J.B.; Hervé, P.E.; Cañada, J. Full Production Plant Automation in Industry Using Cable Robotics with High Load Capacities and Position Accuracy. In ROBOT 2017: Third Iberian Robotics Conference; Ollero, A., Sanfeliu, A., Montano, L., Lau, N., Cardeira, C., Eds.; Springer International Publishing: Cham, Switzerland, 2018; Volume 694, pp. 3–14. [Google Scholar] [CrossRef]
  12. Kim, M.C.; Choi, H.; Piao, J.; Kim, E.s.; Park, J.O.; Kim, C.S. Remotely Manipulated Peg-in-Hole Task Conducted by Cable-Driven Parallel Robots. IEEE/ASME Trans. Mechatronics 2022, 27, 3953–3963. [Google Scholar] [CrossRef]
  13. Métillon, M.; Charron, C.; Subrin, K.; Caro, S. Performance and Interaction Quality Variations of a Collaborative Cable-Driven Parallel Robot. Mechatronics 2022, 86, 102839. [Google Scholar] [CrossRef]
  14. Boumann, R.; Bruckmann, T. Development of Emergency Strategies for Cable-Driven Parallel Robots after a Cable Break. In Cable-Driven Parallel Robots; Pott, A., Bruckmann, T., Eds.; Springer International Publishing: Cham, Switzerland, 2019; Volume 74, pp. 269–280. [Google Scholar] [CrossRef]
  15. RBOT9 Automation. The ROCAP. Available online: https://rbot9.com/ (accessed on 24 February 2025).
  16. TECNALIA. CRANEBOT: Cable Robotics for Handling and Assembly|Activos. Available online: https://www.tecnalia.com/ (accessed on 11 October 2024).
  17. Caro, S.; Merlet, J.P. Failure Analysis of a Collaborative 4-1 Cable-Driven Parallel Robot. In New Trends in Mechanism and Machine Science; Pisla, D., Corves, B., Vaida, C., Eds.; Springer International Publishing: Cham, Switzerland, 2020; Volume 89, pp. 440–447. [Google Scholar] [CrossRef]
  18. Raman, A.; Walker, I.; Krovi, V.; Schmid, M. A Failure Identification and Recovery Framework for a Planar Reconfigurable Cable Driven Parallel Robot. IFAC-PapersOnLine 2022, 55, 369–375. [Google Scholar] [CrossRef]
  19. Boschetti, G.; Minto, R.; Trevisani, A. Experimental Investigation of a Cable Robot Recovery Strategy. Robotics 2021, 10, 35. [Google Scholar] [CrossRef]
  20. Rousseau, T.; Chevallereau, C.; Caro, S. Human-Cable Collision Detection with a Cable-Driven Parallel Robot. Mechatronics 2022, 86, 102850. [Google Scholar] [CrossRef]
  21. Blanchet, L.; Merlet, J.P. Interference Detection for Cable-Driven Parallel Robots (CDPRs). In Proceedings of the 2014 IEEE/ASME International Conference on Advanced Intelligent Mechatronics, Besacon, France, 8–11 July 2014; pp. 1413–1418. [Google Scholar] [CrossRef]
  22. Hussein, H.; Santos, J.C.; Gouttefarde, M. Geometric Optimization of a Large Scale CDPR Operating on a Building Facade. In Proceedings of the 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Madrid, Spain, 1–5 October 2018; pp. 5117–5124. [Google Scholar] [CrossRef]
  23. Taghavi, M.; Heredia, H.; Iturralde, K.; Halvorsen, H.; Bock, T. Development of a Modular End Effector for the Installation of Curtain Walls with Cable-Robots. J. Facade Des. Eng. 2018, 6, 1–8. [Google Scholar] [CrossRef]
  24. Choi, K.; Yi, J.; Park, C.; Yoon, S. Deep Learning for Anomaly Detection in Time-Series Data: Review, Analysis, and Guidelines. IEEE Access 2021, 9, 120043–120065. [Google Scholar] [CrossRef]
  25. Pang, G.; Shen, C.; Cao, L.; Hengel, A.V.D. Deep Learning for Anomaly Detection: A Review. ACM Comput. Surv. 2021, 54, 1–38. [Google Scholar] [CrossRef]
  26. Jin, M.J.; Kang, C.G. Anomaly Detection with Transformer for a Railway Vehicle Air Compressor. Int. J. Control. Autom. Syst. 2024, 22, 2644–2657. [Google Scholar] [CrossRef]
  27. Bettega, J.; Piva, G.; Richiedei, D.; Trevisani, A. Load Torque Estimation for Cable Failure Detection in Cable-Driven Parallel Robots: A Machine Learning Approach. Multibody Syst. Dyn. 2024, 64, 485–513. [Google Scholar] [CrossRef]
  28. Jabbari Asl, H.; Janabi-Sharifi, F. Adaptive Neural Network Control of Cable-Driven Parallel Robots with Input Saturation. Eng. Appl. Artif. Intell. 2017, 65, 252–260. [Google Scholar] [CrossRef]
  29. Chen, H.; Kim, M.C.; Ko, Y.; Kim, C.S. Compensated Motion and Position Estimation of a Cable-driven Parallel Robot Based on Deep Reinforcement Learning. Int. J. Control. Autom. Syst. 2023, 21, 3507–3518. [Google Scholar] [CrossRef]
  30. Gao, H.; Chevallereau, C.; Caro, S. Detection and Management of Human-Cable Collision in Cable-Driven Parallel Robots. IEEE Robot. Autom. Lett. 2024, 9, 11698–11705. [Google Scholar] [CrossRef]
  31. Pott, A. Cable-Driven Parallel Robots: Theory and Application; Springer International Publishing: Cham, Switzerland, 2018; Volume 120. [Google Scholar] [CrossRef]
  32. Carricato, M.; Merlet, J.P. Geometrico-Static Analysis of Under-Constrained Cable-Driven Parallel Robots. In Advances in Robot Kinematics: Motion in Man and Machine; Lenarcic, J., Stanisic, M.M., Eds.; Springer: Dordrecht, The Netherlands, 2010; pp. 309–319. [Google Scholar] [CrossRef]
  33. Abbasnejad, G.; Carricato, M. Direct Geometrico-static Problem of Underconstrained Cable-Driven Parallel Robots with n Cables. IEEE Trans. Robot. 2015, 31, 468–478. [Google Scholar] [CrossRef]
  34. Pott, A. Influence of Pulley Kinematics on Cable-Driven Parallel Robots. In Latest Advances in Robot Kinematics; Lenarcic, J., Husty, M., Eds.; Springer: Dordrecht, The Netherlands, 2012; pp. 197–204. [Google Scholar] [CrossRef]
  35. Ida, E.; Bruckmann, T.; Carricato, M. Rest-to-Rest Trajectory Planning for Underactuated Cable-Driven Parallel Robots. IEEE Trans. Robot. 2019, 35, 1338–1351. [Google Scholar] [CrossRef]
  36. IEC 61131-3:2013; Programmable Controllers—Part 3: Programming Languages. IEC: Geneva, Switzerland, 2013.
  37. Beckhoff Automation GmbH & Co. KG. TwinCAT|Automation Software. Available online: https://www.beckhoff.com/es-es/products/automation/twincat/ (accessed on 4 November 2025).
  38. PLCopen. Function Blocks for Motion Control: Part 4 –Coordinated Motion; PLCopen: Gorinchem, The Netherlands, 2008. [Google Scholar]
  39. Bishop, C.M. Pattern Recognition and Machine Learning; Information Science and Statistics; Springer: New York, NY, USA, 2006. [Google Scholar]
  40. Vales-Alonso, J.; González-Castaño, F.J.; López-Matencio, P.; Gil-Castiñeira, F. A Nonsupervised Learning Approach for Automatic Characterization of Short-Distance Boxing Training. IEEE Trans. Syst. Man Cybern. Syst. 2023, 53, 7038–7052. [Google Scholar] [CrossRef]
  41. Zheng, J.; Li, Z.; Xu, T.; Song, R. An Electromyographic-Based Control Using Gaussian Mixture Model on an Upper-Limb Cable-Driven Rehabilitation Robot. Adv. Intell. Syst. 2025, 7, 2400505. [Google Scholar] [CrossRef]
  42. Belkhouche, F. Robust Calibration of MEMS Accelerometers in the Presence of Outliers. IEEE Sens. J. 2022, 22, 9500–9508. [Google Scholar] [CrossRef]
  43. ISO 13849-1:2023; Safety of Machinery. Safety-Related Parts of Control Systems. Part 1: General Principles for Design. International Organization for Standardization: Geneva, Switzerland, 2023.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.