Abstract
The increasing deployment of collaborative robots in industrial manufacturing environments has enabled close human–robot collaboration, making rapid and reliable collision detection essential for worker safety. This paper presents a learning-based framework for real-time detection and classification of hard and soft collisions using stacked Gated Recurrent Unit (GRU) networks. A two-stage pipeline is introduced, in which collision detection and collision type classification are performed sequentially using separate models, and its performance is validated through extensive experiments on a collision dataset collected from a six-joint collaborative robot executing random point-to-point motions. Without requiring joint torque sensors, unmodeled joint friction is implicitly compensated through learning for both detection and classification. Compared to our previous work, the proposed method achieves improved detection performance, and its robustness is further demonstrated through systematic generalization experiments under simulated dynamic model uncertainties. In addition, the classification model accurately distinguishes between hard and soft collisions, providing a basis for differentiated post-collision reaction strategies. Overall, the proposed sensorless collision detection and classification framework provides a practical and cost-effective solution for real-world industrial human–robot collaboration.
1. Introduction
Industrial manufacturing environments are changing rapidly with the increasing deployment of collaborative robots, enabling effective human–robot collaboration. Unlike traditional industrial robots that operate in strict separation from humans, collaborative robots are designed to share the same workspace and interact with human workers—both physically and non-physically—through various forms of human–robot interaction [1,2,3].
These changes have enabled more flexible and adaptive production processes, but worker safety must be rigorously addressed; minimizing worker injury risk while maintaining production efficiency is essential for adopting collaborative robots. Because collaborative robots operate in shared workspaces with human workers, physical contact—whether intentional or accidental—is inevitable, increasing the likelihood of unexpected collisions. Rapid detection, accurate classification, and appropriate reaction to collisions are therefore critical for reducing the risk of human injury, minimizing production downtime, and preventing secondary damage.
Collision detection methods can be generally categorized into two approaches based on their reliance on the robot’s dynamic model: model-free and model-based. Model-free methods typically require external sensors such as tactile surface sensors [4,5,6] or three-axis accelerometers [7,8,9] attached to the robot (thereby increasing system complexity and cost). While tactile surface sensors offer high sensitivity for detecting and localizing collisions, their practical implementation poses significant challenges. These sensors must be installed across the entire robot surface to ensure full coverage, and they often degrade under repeated impacts, making them unreliable for long-term industrial use. Three-axis accelerometers can effectively detect hard collisions characterized by sharp impacts, but they exhibit fundamental limitations in detecting soft collisions involving gradually increasing forces, such as pushing or clamping.
Due to these limitations, model-based methods are more widely adopted and are generally regarded as the standard in practice [10,11,12,13,14]. These approaches utilize joint torque measurements in conjunction with an accurate robot dynamic model. The underlying principle is to compute the external joint torque induced by collision forces and compare it against a set of threshold values predetermined for each joint to determine whether a collision has occurred. While joint torque can be directly measured using joint torque sensors, many collaborative robots are not equipped with them due to their high cost, and installing such sensors afterward is in many cases impractical. Consequently, joint torque is often estimated using motor current sensors, which are already integrated into standard robotic systems. The most well-known and widely used model-based method for estimating external torque from motor current is the momentum observer (MOB) [10,15]. This method offers significant advantages, including eliminating the need for external sensors and providing consistent estimation sensitivity regardless of the robot’s configuration.
However, as noted above, the MOB approach requires accurate knowledge of the robot’s dynamic model parameters. This requirement presents substantial practical challenges, particularly in modeling joint frictional torque , which is difficult due to its nonlinear characteristics and its sensitivity to payload variations and temperature changes. Even when friction is carefully identified using sophisticated modeling techniques, numerous unmodeled dynamic effects (e.g., elasticity, backlash) remain problematic. Furthermore, setting detection thresholds for each joint (i.e., using multiple thresholds) makes adjusting detection sensitivity cumbersome and unintuitive.
In response to these modeling challenges, recent research has explored learning-based methods for collision detection. Rather than explicitly modeling joint friction and other complex dynamic effects, these approaches train neural networks using actual collision data collected from robot operations. Heo et al. [16] employed a one-dimensional convolutional neural network (1-D CNN) that takes 11 inputs per joint, including joint position, velocity, position error, velocity error, and estimated external torque, to detect collisions. Their method outputs a binary collision index, thereby eliminating the need for detection thresholds, but its validation was limited to repetitive motion cycles, which restricts its generalizability to diverse robot motions. Sharkawy et al. [17] proposed a neural network that estimates for each joint without requiring the dynamic model, using joint position error and velocity as inputs. Collision detection was then performed by comparing the estimated external torque with predefined thresholds. Their experiments assumed planar horizontal motions in which gravitational effects could be neglected, restricting the practical applicability of the method. In another study [18], the authors extended their method to spatial motions by utilizing joint torque sensors. While this approach operates in three-dimensional space with joints moving from to , the experiments were still conducted under limited three-joint motions. A common limitation of these early studies [16,17,18] is that they were evaluated only on a narrow range of robot motions, making them impractical for real industrial use where complex, high-degree-of-freedom motions are routine.
Recent approaches (including our previous works) have focused on compensating for dynamic model errors and friction modeling through deep learning, enabling collision detection during general robot operations including random motions. Lim et al. [19] proposed a residual learning method based on a long short-term memory (LSTM) network that models the uncertainty in MOB outputs, including friction and dynamic modeling error, allowing for the estimation of pure external torque without relying on an accurate dynamic model. Their method was demonstrated under random motions using a two-joint vertical test platform. The authors also introduced a modularized neural network that takes joint measurements including MOB output and joint velocity as inputs to predict the binary collision index [20]. Joint velocity was included so that the network could internally learn the nonlinear joint friction. While they conducted extensive experiments on dataset size, input feature combinations, and transfer learning, the method exhibits performance degradation when the payload reaches 5 kg, producing false alarms. Zhang et al. [21] employed a backpropagation neural network trained with joint position, velocity, acceleration, and motor current as inputs to improve external torque estimation accuracy in the presence of dynamic model uncertainties, with validation performed on a single-joint test platform. Niu et al. [22] applied continuous wavelet transform to joint measurements to generate multiple time–frequency representations, which were then used as inputs to a CNN with a sigmoid output layer to estimate collision probability. The proposed model can be trained with limited collision data and generalizes well to random robot motions. Collision detection was demonstrated under hard collisions applied to a manipulator composed of two variable stiffness actuators.
In our previous works [23,24], we developed learning-based collision detection methods that use (i.e., estimated external joint torque contaminated by unmodeled friction) captured over a sliding time window as network input. In [23], supervised learning methods—a support vector machine (SVM) and a 1-D CNN—were trained using both collision and collision-free data, whereas in [24], unsupervised anomaly detection algorithms—a one-class SVM and an autoencoder—were employed as an alternative approach that eliminates the need for collision data during training, albeit with a slight reduction in detection performance. All methods detected a wide range of hard and soft collisions with high accuracy during random six-joint motions, effectively compensating for the unmodeled friction.
However, several limitations remained, leaving room for further improvement. First, even for the supervised methods that showed better detection performance, the methods failed to detect one or two collisions when false positives (false alarms) were suppressed to zero. In addition, a lower detection delay (the elapsed time from collision onset to detection) is always preferred. Second, for learning-based methods, generalization to unseen situations is an important factor to consider. Although our previous models successfully generalized to various robot motions, we did not explicitly investigate their robustness to small perturbations in the dynamic parameters (i.e., model uncertainties). Finally, our previous studies did not distinguish between hard and soft collisions (i.e., classify collision types). Collision classification would enable the robot to execute appropriate reactions depending on the collision type. For example, in the case of a hard collision, the robot could immediately stop to prevent secondary damage, whereas in a soft collision such as clamping, it could switch to a compliant mode, allowing the worker to safely push the robot away.
In this paper, we present an improved learning-based framework for real-time detection and classification of hard and soft collisions in collaborative robots, employing stacked Gated Recurrent Unit (GRU) networks. A two-stage pipeline is introduced, in which collision detection and collision classification are executed sequentially using separate models, each augmented with an output filter. The detection and classification performance is validated through extensive experiments on a collision dataset collected from a six-joint collaborative robot executing random point-to-point motions under three different payload conditions. The technical contributions of the proposed method are summarized as follows:
- 1.
- Without requiring additional sensors such as joint torque sensors, unmodeled joint friction is implicitly compensated through learning for both collision detection and classification.
- 2.
- The proposed detection model achieves improved performance in terms of detection speed and reliability compared to the previously developed 1-D CNN-based method, with particularly notable improvements for soft collisions.
- 3.
- The robustness of the detection model is further validated through systematic generalization experiments under simulated dynamic model uncertainties, demonstrating its suitability for practical deployment under uncertain operating conditions.
- 4.
- The proposed classification model accurately distinguishes between hard and soft collisions, and the effect of the output filter parameter on classification performance is systematically analyzed.
The proposed method relies on internal proprioceptive sensing (commonly referred to as sensorless approaches in the literature [15,25,26]), where motor current measurements inherently available in the robot are used to estimate external joint torque via an MOB. Here, sensorless indicates that no additional external sensors (e.g., force/torque sensors, tactile sensors, or accelerometers) are required.
The remainder of this paper is organized as follows. Section 2 describes the robot collision dataset, including MOB formulation and collision scenarios. Section 3 provides details of the proposed learning-based method for collision detection and classification, and its performance is evaluated and discussed in Section 4. Finally, Section 5 concludes the paper.
2. Robot Collision Data
2.1. Robot Platform
The robot collision data used in this study were collected in our previous work [23] using a six-joint collaborative robot, M0609 (Doosan Robotics), designed for safe human–robot interaction in industrial environments where unintended collisions with humans or surrounding structures may occur. Owing to its specifications—six joints, 6 kg payload capacity, and 0.1 mm repeatability—this robot provides a representative platform for evaluating collision detection and classification methods under conditions comparable to real industrial applications.
2.2. Monitoring Signal
The monitoring signal used as the network input is the same as in our previous studies: estimated from robot dynamics using an MOB. The dynamics of an n-joint open-chain manipulator can be expressed as
where respectively denote joint position, velocity, and acceleration, is the symmetric positive-definite mass matrix, is the Coriolis matrix, is the gravity vector, represents the joint frictional torque, is the motor torque calculated as from the measured motor current and diagonal gain matrix , and denotes the external joint torque caused by collisions.
The generalized momentum of the robot is defined as , and its time derivative can be written as
where the passivity property of robot dynamics
and the robot dynamics (1) are used [27].
As shown in Figure 1, a simplified MOB that omits the joint friction term—to avoid explicit friction modeling, which is challenging due to its highly nonlinear characteristics—is employed to estimate the external torque. Using the notation , the MOB dynamics is formulated as
where is the positive-definite diagonal MOB gain matrix. All elements of were set to 150. The MOB output is then
with and . The terms , , and denote the nominal model parameters, and under ideal conditions in which these parameters exactly match their true values, the dynamic relation between r and results in
This implies that the output r of the simplified MOB acts as a filtered estimate of . Although r contains both external and frictional components, we later experimentally show that our learning-based method effectively compensates for the unmodeled friction, allowing for accurate detection and classification of hard and soft collisions.
Figure 1.
Simplified MOB that omits the joint friction term.
2.3. Collision Scenarios
The collision scenarios of the dataset were designed to encompass situations that the robot may encounter in various working environments. For robot motion, the robot followed random six-joint point-to-point trajectories. During operation, three payload conditions were considered by attaching different masses to the end-effector: 0 kg (no payload), 3.3 kg, and 5 kg. While the robot was moving or stationary, hard and soft collisions were applied randomly to links 2–6 using a handheld tool integrated with a force-sensitive resistor. In collision-free cases, the robot operated freely without any external interactions. The three scenarios are summarized as follows.
- 1.
- Hard collisions: sharp impact collisions produced by quickly striking the robot; typical duration is 10–100 ms.
- 2.
- Soft collisions: pushing-type collisions produced by slowly pressing the robot; typical duration is 100–700 ms.
- 3.
- Collision-free: the robot executes motions with no contact.
Further details, including demonstrations of the data collection process for each scenario, are provided in [23,24].
2.4. Test Data for Performance Evaluation
The test data for evaluating the collision detection and classification performance are summarized in Table 1 (number of collisions and execution time), where the dataset comprises all three scenarios considered in our study: hard collisions, soft collisions, and collision-free operation. The hard and soft collision data contain 578 hard collision events and 209 soft collision events respectively (787 in total), while the collision-free data consist of 62.4 min of free motion with no collision events. Figure 2 shows the distributions of collision links, peak forces, and durations, which together demonstrate the diversity of the test collisions in terms of location, intensity, and duration. In addition, due to the repeated application of collisions under random motions and configurations, the collisions effectively cover a wide range of force directions.
Table 1.
Test data for collision detection and classification performance evaluation.
Figure 2.
Distributions of (a) collision links, (b) peak collision forces, and (c) collision durations of the test collisions. The vertical axis represents the number of collisions.
3. Learning-Based Models for Collision Detection and Classification
3.1. GRU and Stacked GRU
In this study, we use the GRU [28] illustrated in Figure 3a as the temporal modeling backbone. GRUs are a variant of recurrent neural networks (RNNs) designed to capture sequential dependencies in time-series data while alleviating the vanishing gradient problem of standard RNNs. A GRU cell consists of two gates: the update gate and the reset gate. The update gate determines how much of the previous hidden state should be retained (i.e., determines the mixing ratio of past and current information), while the reset gate controls how much past information should be discarded. LSTM networks were originally introduced to address the same vanishing gradient issue [29], using three separate gates (input, forget, output). By consolidating these three gates into two, the GRU achieves a simpler architecture that is more computationally efficient and provides better generalization capability while still maintaining the ability to learn long-term dependencies.
Figure 3.
(a) A GRU cell consists of the reset gate (blue) and the update gate (yellow). The GRU output at time t is . (b) A two-layer stacked GRU architecture. The result of the first GRU layer (lower layer) is the input to the second layer (upper layer).
To further enhance the representation capability, we adopt the stacked GRU architecture, in which multiple GRU layers are arranged sequentially—in our case, the two-layer architecture illustrated in Figure 3b. This hierarchical structure enables the lower layer to capture short-term fluctuations in the input sequence, while the higher layer integrates these features to model more complex, long-term dependencies. By leveraging this architecture, the model can effectively discriminate subtle temporal patterns associated with different collision events.
3.2. Network Input Construction
The monitoring signal estimated by the MOB at each time step (1 ms) is captured over a sliding time window of size , sampled at a sampling interval of , and transformed to construct the network input. In the window-capturing step, as illustrated in Figure 4, the segment of within the range , i.e.,
is extracted at time t. The sliding window moves with a stride of during training data collection, whereas real-time collision detection performs window extraction at every time step to generate a continuous stream of input segments.
Figure 4.
Extraction of monitoring signal over a sliding time window of size .
When extracting training data from the collision (hard and soft) datasets, only those whose true collision index at the window head indicates a collision event (), i.e., the most recent sample has entered the collision zone, are selected. For the collision-free dataset, on the other hand, all window segments are included since the true collision index is always . After the extraction, is downsampled at the sampling interval to obtain , as illustrated in Figure 5. This results in samples per window. can be written as
where the jth column represents the sampled monitoring signal of joint j within the sliding window. In this study, we set ms for window extraction and ms for sampling, yielding and . The extracted and sampled matrix is then used as input to each network (detection and classification) after applying the network-specific transformations described in the following sections.
Figure 5.
Downsampling of the extracted at sampling interval .
3.2.1. Training Data for Detection Learning
Since the magnitude of the estimated external joint torque is the primary indicator for detecting collisions, we take the absolute value of :
Each element of the non-negative matrix is then normalized using min-max normalization:
where denotes the element of , and is computed independently for each joint from the absolute monitoring signal over the entire training dataset (hard, soft, collision-free). After these transformations, the network input for collision detection is constructed.
During training data collection, the sliding window moves with a stride of ms, generating samples by applying the sampling and transformation procedures to the extracted signal. This yields a total of 796,646 training samples: 7018 hard collision samples, 40,967 soft collision samples, and 748,661 collision-free samples. For collision detection, the labeling scheme merges hard and soft collisions into a single collision class. Each sample is assigned a binary true label : collision samples (both hard and soft) are labeled , while collision-free samples are labeled . The collected pairs
are used for training the network, while during real-time collision detection, only is provided as input to predict the collision index (i.e., collision occurrence).
3.2.2. Training Data for Classification Learning
Input design for the collision classification model begins with the same matrix obtained by applying the sliding window extraction and sampling processes employed in the detection model. Since the classification model must distinguish the subtle temporal characteristics of the two collision types, undergoes an additional preprocessing step to amplify these distinctions.
The first row of corresponds to the earliest observation within the window, , and the last row is the most recent (final) observation . The key distinction between hard and soft collisions lies in their temporal profiles: hard collisions exhibit a rapid increase in the monitoring signal, while soft collisions show a more gradual rise. To better capture these differences, we apply a deviation operation along the time axis. We compute the deviation relative to the final observation by subtracting each preceding sample from the last observation:
Each row of represents the difference between a past observation and the final observation, therefore capturing the temporal changes throughout the collision event.
To enhance the separability of collision types and suppress torque directional dependency, we square elementwise: . This (1) removes sign information, highlighting only the magnitude of change, and (2) amplifies the disparity between hard and soft collisions, as the sharper transitions in hard collisions become more pronounced after squaring. Subsequently, min-max normalization [Equation (11)] is applied to the squared in the same manner, except that the maximum values for each joint are computed over the collision training dataset (hard, soft). This produces the network input for collision classification , which effectively encodes the temporal profiles of the two collision types.
For training data collection, the sliding window moves with a stride of ms throughout the collision dataset, generating a total of 239,976 training samples: 35,100 hard collision samples and 204,876 soft collision samples. Each sample is assigned a true class label based on the collision type: for hard collisions and for soft collisions. The collected pairs
are then used to train the collision classification network. For real-time collision classification, which is triggered only when a collision is detected by the collision detection network, only is provided as input to determine the type of the detected collision. The detailed operation flow of real-time detection and classification is described in Section 3.5.
3.3. Network Architecture and Training
3.3.1. Collision Detection Model
After the collision detection model is trained, it receives the preprocessed input matrix —which is constructed through the sliding window extraction, downsampling, and transformation procedures described in Section 3.2.1—at every time step and outputs a binary label indicating whether the current robot state corresponds to a collision event () or a collision-free state ().
The detection network employs the stacked GRU architecture, as detailed in Table 2. The network consists of two sequential unidirectional GRU layers with 128 and 64 hidden units, respectively. Both GRU layers return the full output sequence, therefore preserving temporal information across all time steps. A global mean pooling operation is then applied along the temporal dimension to aggregate the sequential features into a fixed-length representation. The classification head comprises three fully connected (FC) blocks, each consisting of an FC layer followed by Batch Normalization and Leaky ReLU activation (). Dropout regularization is applied after each layer to prevent overfitting.
Table 2.
Architecture of the proposed collision detection network. The batch size b is 2048 during training and 1 during real-time inference.
The model is trained using the Binary Cross-Entropy loss and the Adam optimizer for 200 epochs, with a batch size of 2048 and an initial learning rate of 0.001. The training dataset consisting of 796,646 samples (47,985 collision and 748,661 collision-free) is split into training and validation sets with an 8:2 ratio. To suppress false positives caused by transient noise and enhance detection reliability, a continuous filter is applied to the model outputs, with details provided in Section 3.4.1.
3.3.2. Collision Classification Model
Once a collision is detected, the collision classification model subsequently determines whether it is a hard collision or a soft collision. The preprocessed matrix constructed by following the procedures described in Section 3.2.2 is provided as the network input, and the model outputs a binary classification result: hard collision (class 1) or soft collision (class 2).
The classification network adopts the same stacked GRU architecture as the detection network, as shown in Table 3. The only structural difference lies in the input dimension: the input layer receives an input of shape instead of , reflecting the reduced temporal dimension resulting from the deviation operation. The subsequent layers—two GRU layers, global mean pooling, three FC blocks, and the output layer—remain identical to those of the detection model.
Table 3.
Architecture of the proposed collision classification network. The batch size b is 2048 during training and 1 during real-time inference.
The model is trained using the Binary Cross-Entropy loss and the Adam optimizer for 200 epochs, with a batch size of 2048 and an initial learning rate of 0.001. The training dataset comprising 239,976 collision samples (35,100 hard and 204,876 soft) is split into training and validation sets with an 8:2 ratio. To reduce momentary prediction errors and improve classification stability, a temporal majority filter is applied before classification confirmation; its design and operation are described in Section 3.4.2.
3.4. Output Filtering Methods
3.4.1. Continuous Filter for Collision Detection
The output of the collision detection network may become temporarily unstable due to transient disturbances such as measurement noise or tremors, potentially leading to false positives (false alarms) during collision-free motion. To suppress such false positives and therefore maintain productivity, we apply a simple output filtering technique. Specifically, we employ a continuous filter [23] that requires the collision detection model to predict collision () continuously for a minimum duration of ms before confirming an actual collision event. This temporal consistency requirement effectively eliminates false positives caused by instantaneous spike-like noise or brief sensor anomalies, enhancing the robustness of the detection model. The filter parameter represents the minimum continuous duration required for collision confirmation, introducing a minimum detection delay of ms. The parameter can be adjusted according to application requirements (e.g., safety versus productivity) and the acceptable trade-off between detection delay and false-positive reduction.
3.4.2. Temporal Majority Filter for Collision Classification
To improve the accuracy of the collision classification model, we apply a temporal majority filter [30] before classification confirmation. Once a collision has been detected by the detection model, the classification model continuously outputs type predictions for the detected collision over a specified window of duration ms. The predictions are collected throughout the window, after which a majority voting mechanism is applied; the class (hard or soft) that appears most frequently is selected as the final collision type. This temporal aggregation approach mitigates the impact of momentary misclassifications (especially those occurring at collision onset) and yields a more reliable classification result. The filter parameter controls the length of the voting window, which in turn imposes a fixed decision latency of ms, and can be tuned to balance the classification accuracy between hard and soft collisions.
3.5. Operation Flow of Collision Handling
Figure 6 illustrates the overall operation flow of the proposed collision handling pipeline, which consists of sequential detection and classification stages executed in real time during robot operation.
Figure 6.
Schematic diagram of the real-time collision detection and classification pipeline. The system estimates the monitoring signal from joint measurements and the robot dynamic model, detects collisions using constructed from , and upon collision detection, performs collision classification with , also constructed from .
- 1.
- The system continuously estimates the monitoring signal at every time step. The signal is the output of the simplified MOB that omits the joint friction term, providing a filtered estimate of .
- 2.
- The acquired is pushed into the sliding time window of size ms, which is implemented as a buffer storing the recent history of the monitoring signal (i.e., ). After downsampling at sampling interval ms, producing , the collision detection network input is constructed.
- 3.
- With the input matrix , the detection network outputs a binary prediction: true or false. To eliminate transient false positives, a continuous filter of duration ms is applied, confirming a collision only when the prediction remains true throughout the entire ms period.
- 4.
- If the filtered detection result indicates no collision, the robot continues its normal operation while monitoring collisions. If a collision is confirmed, the collision type classification stage is initiated and the detection stage is temporarily disabled.
- 5.
- Following collision detection, the system continues to estimate and updates the sliding window and the downsampled matrix . For classification, is obtained based on the temporal deviation operation and the subsequent preprocessing steps.
- 6.
- The collision classification network takes as input and outputs a collision type prediction: hard or soft. These predictions are collected over the ms voting window, and the majority class is selected as the final classification result.
Depending on the operational context and the level of responsiveness required, the proposed collision handling pipeline can be used in two ways. If only collision detection is required, the detection stage alone is sufficient. In this mode, the robot would perform a single predefined safety action (e.g., an emergency stop) whenever a collision is detected. If collision type information is needed to enable more diverse reaction strategies, the full pipeline can be employed. This modular separation of detection and classification (1) provides users with the flexibility to choose the functionality appropriate for their application and (2) contributes to real-time performance by avoiding simultaneous execution of the two networks. Furthermore, additional collision handling modules (e.g., localization) can be added to the pipeline if required by the application. Despite these advantages, the current sequential design may fail to detect collisions that occur during the classification stage (as collision detection is temporarily disabled), particularly in scenarios involving repeated collisions within short time intervals (i.e., overlapping collisions). This operational constraint suggests the need for an integrated design that enables simultaneous detection and classification.
4. Performance Evaluation and Discussion
We verify the performance of the proposed collision detection and classification methods using the test data summarized in Table 1, which consist of 578 hard collisions, 209 soft collisions, and 62.4 minutes of collision-free motion. An event-based evaluation framework is adopted, where the priority is to identify collision events rather than focusing on sample-level classification results (i.e., model outputs at each time step).
For detection performance evaluation, we measure the average detection delay (aDD) and the number of detection failures (DFs) over the 787 test collisions, and count the number of false positives (FPs) during the 62.4-minute collision-free test motion. As discussed in Section 3.4.1, detection performance varies with the length of the continuous filter: increasing reduces FPs while increasing aDD, whereas smaller values of lead to faster detection at the cost of increased false alarms. Since aDD/DFs and FPs exhibit a trade-off relationship, we follow the same evaluation procedure as in our previous works by setting to the minimum value that results in zero FPs (i.e., the most sensitive setting without false alarms), after which aDD and DFs are measured. The minimum value of can be automatically determined from a sufficiently representative period of collision-free motion, without requiring manual tuning. While the detection performance evaluation validates compensation for unmodeled friction, we further analyze the robustness of the proposed detection model to dynamic model uncertainty, i.e., its generalization capability under simulated dynamic model errors.
For classification performance evaluation, we assess the classification accuracy of each collision type (i.e., count the number of misclassifications). We analyze the effect of the filter parameter (see Section 3.4.2) on the classification accuracy of each collision type and discuss the corresponding tuning strategy for .
4.1. Detection Performance Evaluation
4.1.1. Performance Comparison with Baseline
The objective of this section is to evaluate the fundamental performance of the proposed detection method and to verify its capability to detect collisions while effectively compensating for unmodeled friction and dynamic model uncertainties through collision data learning. As shown in Table 4, the proposed stacked GRU-based detection model is benchmarked against the 1-D CNN-based baseline developed in our previous work [23] to demonstrate the improved detection performance and the effectiveness of the proposed GRU-based architecture. To eliminate all FPs, continuous filters with ms and ms are applied to the proposed method and the baseline respectively.
Table 4.
Collision detection performance of the proposed method and the baseline.
The proposed method outperforms the baseline in both detection speed (aDD) and reliability (DFs). Despite utilizing heavier output filtering than the baseline, the stacked GRU model achieves zero DFs across all test collisions and attains a lower aDD of 11.3 ms for hard collisions and 13.5 ms for soft collisions. Figure 7 shows two example detection results, one hard collision and one soft collision, under no-payload condition. The detection delays are 8 ms and 6 ms respectively, where this latency arises from the propagation delay of the collision impact through the robot links, the inference delay caused by model prediction errors (not the network computation time), and the fixed delay of imposed by the continuous filter.
Figure 7.
Detection results for (a) a hard collision and (b) a soft collision, both with no payload attached. Red stars denote the model predictions at each time step and the blue dashed line indicates the time at which the collision is detected after continuous filtering ( ms). The detection delays from collision onset to detection are 8 ms and 6 ms respectively.
The superior performance of the stacked GRU, particularly for soft collisions, can be explained by its enhanced ability to model long-term temporal dependencies compared to the 1-D CNN. While the 1-D CNN extracts features based on local temporal patterns within a fixed-size receptive field, the recurrent architecture of the GRU enables more effective modeling of the temporal evolution of the monitoring signal. This distinction is especially important for soft collisions, which are characterized by a gradual increase in the external torque. The gating mechanism and internal hidden state of the GRU allow for robust tracking of these gradually increasing temporal patterns in the presence of unmodeled friction. As a result, the proposed model captures the transition from free motion to soft collision more rapidly and accurately than the CNN-based approach, which lacks explicit recurrent memory for modeling long-term temporal dependencies.
4.1.2. Generalization to Dynamic Model Uncertainties
While the robot dynamic model provides the basis for estimating the external joint torque, its practical application often involves discrepancies between the model parameters and the actual physical system. Such parametric uncertainty can arise from multiple factors, including (1) discrepancies between the CAD model and the actual robot, such as variations in mass, center of mass, and inertia matrices, (2) unmodeled dynamic elements, such as internal cables and motor rotor inertia, and (3) gradual changes due to wear and tear of robot components over time.
Although the detection performance presented in the previous section already indicates the robustness of the proposed detection model to unmodeled friction, we further validate its generalization capability to dynamic model uncertainties by explicitly evaluating detection performance under simulated parameter errors introduced by perturbations to M, C, and g. The effects of changes in C and g are jointly considered through the combined term . The mass matrix M is varied within % to reflect typical inertial parameter and payload uncertainties, while larger perturbations of % are applied to to account for the higher sensitivity of C and g to velocity-dependent effects and center of mass uncertainties. The monitoring signal is recomputed using the perturbed parameters to reflect the model uncertainties, resulting in less accurate estimates of . Without retraining or fine-tuning (i.e., additional adaptation), the previously trained detection network outputs collision index predictions using the recomputed monitoring signal as input. For each case, the continuous filter size is adjusted to suppress all FPs before measuring aDD and DFs. Perturbation conditions under which zero FPs cannot be achieved or multiple DFs occur are regarded as generalization failures.
Table 5 summarizes the detection performance at the boundary cases of the perturbation ranges where generalization is maintained. While achieving zero FPs with adjusted (increased) continuous filter duration ranging from 6 ms to 8 ms, the detection model maintains zero DFs within these ranges. Although a slight increase in aDD is observed after model perturbation, the proposed method still exhibits a detection delay comparable to the 1-D CNN-based baseline for hard collisions and achieves an approximately 10 ms smaller delay for soft collisions. The detection model fails to generalize in some perturbation ranges, where zero FPs cannot be achieved with adjusted continuous filter duration (DFs remain zero). The method fails to generalize when C and g are decreased by more than 10% under a 10% increase in M, and by more than 5% under a 10% decrease in M. In contrast, when C and g are increased, generalization is maintained across all tested perturbation ranges.
Table 5.
Detection results under dynamic parameter errors introduced by perturbations to M, C, and g. All FPs are suppressed (i.e., zero FPs) prior to measuring aDD and DFs.
The observed asymmetric generalization behavior can be attributed to the differing effects of modeling errors on the monitoring signal . Errors in the mass matrix primarily produce small transient deviations in during joint acceleration and deceleration, whereas errors in the Coriolis and gravity terms typically generate larger sustained offsets throughout the motion, resulting in persistent disturbances in the network input. As a result, the detection model is more sensitive to perturbations in C and g than to errors in M (i.e., errors in C and g dominate the generalization performance). Negative perturbations of C and g tend to induce deviations in that amplify its magnitude (i.e., overestimation of ), while positive perturbations exhibit the opposite tendency. Consequently, the detection model demonstrates stronger generalization robustness under positive perturbations.
Nevertheless, the proposed detection model maintains reliable performance over a fairly wide range of model perturbations with minimal parameter tuning. In particular, only the continuous filter duration requires adjustment, which can be automatically determined from a sufficiently long period of collision-free motion. These results indicate that the model has successfully learned generalizable physical features of collision events, demonstrating the practical significance of the proposed detection method for industrial collaborative robots that may be subject to dynamic uncertainties.
4.2. Classification Performance Evaluation
We now evaluate the performance of the collision classification model, which determines the type (hard or soft) of collisions that have been detected by the preceding detection model, under conditions with unmodeled friction. Since the detection model produces no FPs, all events identified as collisions correspond to true collisions; therefore, a two-class classification setting is sufficient, excluding collision-free cases. Classification performance is assessed in terms of class-wise accuracy for hard and soft collisions across different majority filter sizes .
Figure 8 shows two example classification results, one hard collision and one soft collision. Once a collision is detected by the detection model (blue dashed line), the classification model outputs collision type predictions (red stars) over time steps (green line), after which majority filtering is applied to determine the type of the detected collision event. In the above case, with set to 55 ms, 43 hard-type and 12 soft-type predictions are collected within the majority filter window, resulting in a hard-type classification. The bottom case is classified as a soft collision following the same procedure with ms. In both cases, misclassifications are observed in the early stage since increases upon collision and may exhibit similar initial rising patterns for different collision types in some cases. Due to these early misclassifications, as is increased from 1 (i.e., no filtering), the hard, soft, and overall classification accuracies initially improve, and a stable classification accuracy is obtained for ms. Table 6 shows the classification accuracies as is further increased from 55 ms. The classification accuracy for hard collisions, which reaches its highest value of 98.4% at ms, begins to degrade as increases. In contrast, soft collisions are better classified with larger values of , achieving 100% accuracy at ms. An overall accuracy of 98.2% is observed at ms, representing a balanced classification performance.
Figure 8.
Classification results for (a) a hard collision and (b) a soft collision, both with no payload attached. Blue dashed line indicates the time at which the collision is detected by the detection model, red stars denote the classification model predictions at each time step (1: hard, 2: soft), and green line indicates the time at which the collision is classified after majority filtering ( ms and ms respectively).
Table 6.
Collision classification results for different majority filter sizes ().
The degradation of hard collision classification performance is attributed to the transient nature of hard impacts (i.e., their shorter duration). The classification model may continue producing collision type predictions even after the brief impact has ended and the subsequent propagated joint signals have subsided (i.e., during a collision-free state), leading to unreliable predictions at later stages [see Figure 8a]. These late misclassifications undermine the majority voting process and reduce the classification accuracy for hard collisions as increases. From an operational perspective, can be strategically tuned based on task-specific priorities: a shorter (e.g., 55 ms) is recommended for environments where transient impacts must be prioritized, while a longer (e.g., 79 ms) is preferable for applications requiring accurate identification of static contact scenarios. Throughout this range, the classification model consistently achieves high overall accuracy exceeding 97.5%. To further enhance usability by eliminating manual tuning, future work could explore an adaptive tuning method that automatically adjusts based on the context of the task or the operating environment.
4.3. Real-Time Inference
The proposed collision detection and classification models are optimized for real-time inference (i.e., computation time below 1 ms) on an RTX 3060 GPU. The key optimization techniques employed include: (1) FP16 mixed-precision inference to leverage Tensor Cores and reduce memory footprint; (2) JIT compilation to fuse operators and minimize kernel launch overhead; (3) CUDA streams with non-blocking data transfers to overlap kernel execution; and (4) an optimized inference engine that reuses input buffers to minimize memory allocation overhead. An average inference time of 0.461 ms is measured for the detection model and 0.448 ms for the classification model. Both models sustain a throughput of approximately 2.2 kHz, ensuring real-time performance for continuous inference applications.
5. Conclusions
In this paper, we presented a learning-based framework for real-time detection and classification of hard and soft collisions in collaborative robots without joint torque sensors. By leveraging a simplified MOB that omits the joint friction term and directly learning from the estimated monitoring signal , the proposed method eliminates the need for additional sensors (e.g., joint torque sensors or external sensors) and explicit joint friction modeling while remaining suitable for practical industrial deployment in human–robot collaboration. A two-stage pipeline based on stacked GRU networks was introduced, in which collision detection and collision type classification are executed sequentially. The detection and classification performance was experimentally validated on a six-joint collaborative robot executing random point-to-point motions under three different payload conditions.
The detection model demonstrated robust and reliable real-time performance across diverse operating conditions, achieving zero FPs during 62.4 minutes of collision-free operation and zero DFs over 787 collision events. Compared to the 1-D CNN-based baseline [23], the proposed method achieved lower aDD—11.3 ms for hard collisions and 13.5 ms for soft collisions—with particularly notable improvements for soft collisions, highlighting the effectiveness of the GRU architecture in capturing gradually evolving collision dynamics under unmodeled friction. The robustness of the proposed detection model was further validated through systematic generalization experiments under simulated dynamic model uncertainties. Without retraining, reliable detection performance was maintained (i.e., the detection model successfully generalized) under perturbations in the mass matrix and Coriolis-gravity terms, requiring only minor adjustment of the continuous filter size to suppress FPs. This generalization capability is particularly significant for practical deployment, where industrial collaborative robots may be subject to uncertain or unmodeled dynamic effects. In such environments, avoiding repeated model identification or retraining is critical for maintaining safety and productivity during long-term operation.
Upon collision detection, the proposed classification model accurately distinguished between hard and soft collisions in real time, with overall accuracy consistently exceeding 97.5% across a range of output filter sizes . The effect of the filter size was analyzed, and a corresponding tuning strategy was discussed—shorter for prioritizing hard collisions and longer when accurate identification of soft collisions is required. This classification capability has the potential to support differentiated post-collision reaction strategies, which are important for safe and flexible human–robot collaboration.
Overall, the proposed sensorless collision detection and classification framework provides a practical and cost-effective solution for real-world industrial environments through careful design of network inputs, temporal filtering strategies, and optimized network architectures. While the current binary classification (hard and soft) is effective for safety response selection, further study is needed to determine whether specific subtypes of soft collisions can be distinguished based on the temporal features of the monitoring signal and how such distinctions can improve post-collision reaction strategies. Moreover, we plan to investigate how to distinguish accidental collisions from intentional contacts (e.g., hand-guiding or cooperative manipulation), which may exhibit signal patterns similar to collisions. Finally, to ensure practical deployment, we aim to develop domain adaptation and transfer learning methods that enable the framework to generalize across different robot platforms, unseen payloads, and diverse human–robot collaborative tasks.
Author Contributions
Conceptualization, J.H.L., M.H. and K.M.P.; methodology, J.H.L., M.H. and K.M.P.; software, J.H.L.; validation, J.H.L.; formal analysis, J.H.L. and M.H.; investigation, J.H.L. and M.H.; resources, K.M.P.; data curation, J.H.L., M.H. and K.M.P.; writing—original draft preparation, J.H.L.; writing—review and editing, J.H.L., M.H. and K.M.P.; visualization, J.H.L. and K.M.P.; supervision, K.M.P.; project administration, K.M.P.; funding acquisition, K.M.P. All authors have read and agreed to the published version of the manuscript.
Funding
This work was supported in part by the Institute of Information & Communications Technology Planning & Evaluation (IITP)-ICAN (ICT Challenge and Advanced Network of HRD) grant (IITP-2026-RS-2024-00436528, 50%) and in part by the National Research Foundation of Korea (NRF) grant (RS-2024-00457702, 50%), both funded by the Korea government (Ministry of Science and ICT).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The datasets presented in this article are not publicly available due to confidentiality agreements with the company.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Dhanda, M.; Rogers, B.A.; Hall, S.; Dekoninck, E.; Dhokia, V. Reviewing human-robot collaboration in manufacturing: Opportunities and challenges in the context of industry 5.0. Robot. Comput.-Integr. Manuf. 2025, 93, 102937. [Google Scholar]
- Giallanza, A.; La Scalia, G.; Micale, R.; La Fata, C.M. Occupational health and safety issues in human-robot collaboration: State of the art and open challenges. Saf. Sci. 2024, 169, 106313. [Google Scholar] [CrossRef] [Scilit]
- Robla-Gómez, S.; Becerra, V.M.; Llata, J.R.; Gonzalez-Sarabia, E.; Torre-Ferrero, C.; Perez-Oria, J. Working together: A review on safe human-robot collaboration in industrial environments. IEEE Access 2017, 5, 26754–26773. [Google Scholar] [CrossRef] [Scilit]
- Pang, G.; Yang, G.; Heng, W.; Ye, Z.; Huang, X.; Yang, H.Y.; Pang, Z. CoboSkin: Soft robot skin with variable stiffness for safer human–robot collaboration. IEEE Trans. Ind. Electron. 2020, 68, 3303–3314. [Google Scholar]
- Ye, Z.; Pang, G.; Xu, K.; Hou, Z.; Lyu, H.; Shen, Y.; Yang, G. Soft robot skin with conformal adaptability for on-body tactile perception of collaborative robots. IEEE Robot. Autom. Lett. 2022, 7, 5127–5134. [Google Scholar] [CrossRef] [Scilit]
- Ji, S.; Shin, J.; Yoon, J.; Lim, K.H.; Sim, G.D.; Lee, Y.S.; Kim, D.H.; Cho, H.; Park, J. Three-dimensional skin-type triboelectric nanogenerator for detection of two-axis robotic-arm collision. Nano Energy 2022, 97, 107225. [Google Scholar]
- Wisanuvej, P.; Liu, J.; Chen, C.M.; Yang, G.Z. Blind collision detection and obstacle characterisation using a compliant robotic arm. In Proceedings of the 2014 IEEE International Conference on Robotics and Automation (ICRA); IEEE: Piscataway, NJ, USA, 2014; pp. 2249–2254. [Google Scholar]
- Min, F.; Wang, G.; Liu, N. Collision detection and identification on robot manipulators based on vibration analysis. Sensors 2019, 19, 1080. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Sandykbayeva, D.; Kappassov, Z.; Orazbayev, B. Vibrotouch: Active tactile sensor for contact detection and force sensing via vibrations. Sensors 2022, 22, 6456. [Google Scholar] [CrossRef] [Scilit]
- Haddadin, S.; De Luca, A.; Albu-Schäffer, A. Robot collisions: A survey on detection, isolation, and identification. IEEE Trans. Robot. 2017, 33, 1292–1312. [Google Scholar] [CrossRef] [Scilit]
- Garofalo, G.; Mansfeld, N.; Jankowski, J.; Ott, C. Sliding mode momentum observers for estimation of external torques and joint acceleration. In Proceedings of the 2019 International Conference on Robotics and Automation (ICRA); IEEE: Piscataway, NJ, USA, 2019; pp. 6117–6123. [Google Scholar]
- Birjandi, S.A.B.; Kühn, J.; Haddadin, S. Observer-extended direct method for collision monitoring in robot manipulators using proprioception and imu sensing. IEEE Robot. Autom. Lett. 2020, 5, 954–961. [Google Scholar] [CrossRef] [Scilit]
- Cong, Y.; Du, H.; Chen, W.; Zhu, W.; Wen, G. A Lyapunov-Based Step-by-Step Sliding-Mode Observer Algorithm with Application to Joint Torque Estimation of Robot Manipulators. IEEE Trans. Ind. Inform. 2024, 21, 2451–2460. [Google Scholar] [CrossRef] [Scilit]
- Shen, T.; Liu, X.; Dong, Y.; Yang, L.; Yuan, Y. Switched Momentum Dynamics Identification for Robot Collision Detection. IEEE Trans. Ind. Inform. 2024, 20, 11252–11261. [Google Scholar] [CrossRef] [Scilit]
- De Luca, A.; Mattone, R. Sensorless robot collision detection and hybrid force/motion control. In Proceedings of the 2005 IEEE International Conference on Robotics and Automation; IEEE: Piscataway, NJ, USA, 2005; pp. 999–1004. [Google Scholar]
- Heo, Y.J.; Kim, D.; Lee, W.; Kim, H.; Park, J.; Chung, W.K. Collision detection for industrial collaborative robots: A deep learning approach. IEEE Robot. Autom. Lett. 2019, 4, 740–746. [Google Scholar] [CrossRef] [Scilit]
- Sharkawy, A.N.; Koustoumpardis, P.N.; Aspragathos, N. Neural network design for manipulator collision detection based only on the joint position sensors. Robotica 2020, 38, 1737–1755. [Google Scholar] [CrossRef] [Scilit]
- Sharkawy, A.N.; Koustoumpardis, P.N.; Aspragathos, N. Human–robot collisions detection for safe human–robot interaction using one multi-input–output neural network. Soft Comput. 2020, 24, 6687–6719. [Google Scholar] [CrossRef] [Scilit]
- Lim, D.; Kim, D.; Park, J. Momentum observer-based collision detection using LSTM for model uncertainty learning. In Proceedings of the 2021 IEEE International Conference on Robotics and Automation (ICRA); IEEE: Piscataway, NJ, USA, 2021; pp. 4516–4522. [Google Scholar]
- Kim, D.; Lim, D.; Park, J. Transferable collision detection learning for collaborative manipulator using versatile modularized neural network. IEEE Trans. Robot. 2022, 38, 2426–2445. [Google Scholar] [CrossRef] [Scilit]
- Zhang, T.; Li, H.; Shi, Y.; Wang, L.; Zhang, X.; Zhang, J.; Wu, H. A novel joint external torque estimate model of the lightweight robot’s joint based on a BP neural network. Robotica 2025, 43, 1027–1042. [Google Scholar] [CrossRef] [Scilit]
- Niu, Z.; Hassan, T.; Boushaki, M.N.; Werghi, N.; Hussain, I. Continuous Wavelet Network for Efficient and Transferable Collision Detection in Collaborative Robots. IEEE Trans. Syst. Man Cybern. Syst. 2024, 55, 2046–2061. [Google Scholar] [CrossRef] [Scilit]
- Park, K.M.; Kim, J.; Park, J.; Park, F.C. Learning-based real-time detection of robot collisions without joint torque sensors. IEEE Robot. Autom. Lett. 2021, 6, 103–110. [Google Scholar] [CrossRef] [Scilit]
- Park, K.M.; Park, Y.; Yoon, S.; Park, F.C. Collision detection for robot manipulators using unsupervised anomaly detection algorithms. IEEE/ASME Trans. Mechatron. 2022, 27, 2841–2851. [Google Scholar] [CrossRef] [Scilit]
- Lee, S.D.; Kim, M.C.; Song, J.B. Sensorless collision detection for safe human-robot collaboration. In Proceedings of the 2015 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS); IEEE: Piscataway, NJ, USA, 2015; pp. 2392–2397. [Google Scholar]
- Kim, J. Collision detection and reaction for a collaborative robot with sensorless admittance control. Mechatronics 2022, 84, 102811. [Google Scholar] [CrossRef] [Scilit]
- Lynch, K.M.; Park, F.C. Modern Robotics; Cambridge University Press: Cambridge, UK, 2017. [Google Scholar]
- Cho, K.; Van Merriënboer, B.; Gulcehre, C.; Bahdanau, D.; Bougares, F.; Schwenk, H.; Bengio, Y. Learning phrase representations using RNN encoder-decoder for statistical machine translation. arXiv 2014, arXiv:1406.1078. [Google Scholar] [CrossRef] [Scilit]
- Bengio, Y.; Simard, P.; Frasconi, P. Learning long-term dependencies with gradient descent is difficult. IEEE Trans. Neural Netw. 1994, 5, 157–166. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Shih, H.c.; Stow, D.A.; Weeks, J.R.; Coulter, L.L. Determining the type and starting time of land cover and land use change in southern Ghana based on discrete analysis of dense Landsat image time series. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2015, 9, 2064–2073. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.







