Next Article in Journal
Local Search Heuristic for the Two-Echelon Capacitated Vehicle Routing Problem in Educational Decision Support Systems
Previous Article in Journal
On the Estimation of Logistic Models with Banking Data Using Particle Swarm Optimization
Previous Article in Special Issue
Algorithmic Implementation of Visually Guided Interceptive Actions: Harmonic Ratios and Stimulation Invariants
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Automated Evaluation Method for Risk Behaviors of Quay Crane Operators at Ports Using Virtual Reality

1
Institute of Logistics Science and Engineering, Shanghai Maritime University, Shanghai 201306, China
2
Institute of Telecommunications, ISCTE-University Institute of Lisbon, 1649-026 Lisbon, Portugal
3
College of Logistics Engineering, Shanghai Maritime University, Shanghai 201306, China
4
College of Higher Technical, Shanghai Maritime University, Shanghai 200136, China
5
Shanghai SMU Vision Smart Technology Co., Ltd, Shanghai 201306, China
*
Authors to whom correspondence should be addressed.
Algorithms 2024, 17(11), 508; https://doi.org/10.3390/a17110508
Submission received: 24 September 2024 / Revised: 22 October 2024 / Accepted: 25 October 2024 / Published: 5 November 2024
(This article belongs to the Special Issue Algorithms for Virtual and Augmented Environments)

Abstract

:
Currently, the operational risk assessment of quay crane operators at ports relies on manual evaluations based on experience, but this method lacks objectivity and fairness. As port throughput continues to grow, the port accident rate has also increased, making it crucial to scientifically evaluate the risk behaviors of operators and improve their safety awareness. This paper proposes an automated evaluation method based on a Deep Q-Network (DQN) to assess the risk behaviors of quay crane operators in virtual scenarios. A risk simulation module has been added to the existing automated quay crane remote operation simulation system to simulate potential risks during operations. Based on the collected data, a DQN-based benchmark model reflecting the operational behaviors and decision-making processes of skilled operators has been developed. This model enables a quantitative evaluation of operators’ behaviors, ensuring the objectivity and accuracy of the assessment process. The experimental results show that, compared with traditional manual scoring methods, the proposed method is more stable and objective, effectively reducing subjective biases and providing a reliable alternative to conventional manual evaluations. Additionally, this method enhances operators’ safety awareness and their ability to handle risks, helping them identify and avoid risks during actual operations, thereby ensuring both operational safety and efficiency.

1. Introduction

Container handling is a core aspect of port operations, requiring precise handling and strong safety awareness from operators, which directly impacts the successful delivery of goods. However, the frequent use of heavy machinery at container terminals often leads to accidents, resulting in severe economic losses, injuries, and even fatalities [1]. Since absolute safety cannot be guaranteed in these operations, and given the significant risks involved, safety training is particularly crucial. One of the main causes of frequent accidents is improper handling by operators. Traditional port operator training relies on real equipment operation and experience-based guidance, which is costly and risky. Moreover, it cannot comprehensively simulate various emergency situations or recreate accident scenarios, thus limiting the effectiveness and scope of training. Researching and developing effective safety training methods and techniques to improve operators’ safety awareness and precision can reduce the frequency and severity of accidents, as well as significantly lower economic losses and personal injuries.
Traditional port operator training relies on real equipment operation and experience-based guidance to develop the skills necessary for crane operation. However, this method is costly and risky. On-site crane operation training often unavoidably hinders normal construction processes and exposes novice operators to danger, as even a minor mistake can lead to serious incidents, such as injuries, delays, and budget overruns [2].
The advent of virtual reality (VR) technology has effectively replaced the traditional hands-on training model by offering a realistic experience while reducing costs and risks [3,4]. VR-based safety training not only provides a comprehensive and long-lasting platform to develop perceptual experiences and cognitive abilities in solving problems and making decisions under complex and stressful situations but also eliminates real-time exposure to danger or environmental conditions [5]. In crane training, VR technology is often used to train operators [2,6].
Lin et al. [7] demonstrated the use of 4D-BIM technology to create real-time augmented reality (AR) visualizations for crane operations, thereby optimizing both operational safety and efficiency. Fang and Teizer [8] designed a multi-user virtual 3D training environment to improve teamwork between crane operators and ground personnel. Juang J. R. et al. [9] developed a crane simulator named SimCrane 3D, which applies kinesthetic feedback and stereoscopic vision to the virtual crane simulator to enhance operator training. B. Patrão and P. Menezes [10] proposed an immersive virtual reality simulator that uses a stereoscopic head-mounted display to deliver visual and auditory stimuli, thereby training tower crane operators. Noda Y et al. [11] researched a training system that allows operators to safely and effectively master the operation of electric overhead cranes while suppressing load sway. Additionally, a distributed virtual reality bridge crane simulator system based on a 3D engine has been developed [12].
Although many existing virtual crane training systems can develop operators’ practical skills, they mainly focus on enhancing performance and lack the simulation of potential accidents during operations. These systems also do not include the design of corresponding risk simulation modules, which makes them ineffective in enhancing operators’ safety risk awareness. Since container handling at container terminals is one of the most accident-prone activities in port operations, enhancing drivers’ risk awareness and providing comprehensive training for port operators is particularly important.
Safety risk assessment is a crucial part of safety management and an essential component of safety system engineering [13]. Safety risk assessments mainly focus on areas such as coal mining [14], subway stations [15], construction sites [16], and ports [17,18,19,20,21,22,23]. In the context of ports, researchers have primarily studied loading and unloading operations, port equipment, and dangerous goods. For instance, Chen-Yu Lin et al. [18] developed a novel region-specific risk assessment model for container ports. This model divides the container port into four areas—the loading and unloading area, internal transportation area, storage area, and gate area—based on the container transport process. By combining Failure Mode and Effect Analysis (FMEA) with a quantitative risk analysis model, it assesses the risk of accidents in each segment of the process. Alyami H. et al. [19] proposed an advanced FMEA method based on a fuzzy rule-based Bayesian network (FRBN) to evaluate the severity of hazardous events (HEs) at container terminals. Sunaryo and Hamka [20] developed a risk assessment model for container ports using hazard identification, risk assessment, and fault tree analysis methods. Y.L. Yang et al. [21] analyzed the risk factors affecting safe loading and unloading operations, their causal relationships, and interconnections. They used the Decision-Making Trial and Evaluation Laboratory (DEMATEL) method to evaluate the core risk factors for container handling operations at Taiwan’s Kaohsiung Port. Other methods include safety assessment models for dangerous goods within the port [22,23].
In maritime navigation, various types of risk assessments are employed. Previous studies on quantitative risk analysis of maritime navigation have utilized different methods for risk evaluation, each with distinct applications, such as event trees (ETs), fault trees (FTs) [24], Bayesian networks (BNs) [25,26], and the Analytic Hierarchy Process (AHP) [27,28]. ETs and FTs are particularly useful for analyzing the causal effects of specific risks and are easy to understand. However, they rely heavily on historical data and can become extremely time-consuming as the number of factors increases. BNs, on the other hand, are quantitative tools applied to maritime traffic modeling and have indeed extended into the field of maritime traffic safety. While BNs allow for the integration of data with expert knowledge and are suitable for complex systems with probabilistic uncertainties, their complexity and the difficulty in determining expert probabilities can present challenges [29]. A summary and analysis of the literature are presented in Table 1.
Currently, few risk assessment methods directly target quay crane operators at container ports, and they mostly focus on real operating scenarios, with limited research on risk assessment in virtual environments. Therefore, this paper proposes an automated evaluation method for the risk behaviors of quay crane operators at ports. Building upon the existing automated quay crane remote operation simulator, a risk simulation module is designed, and a Deep Q-Network (DQN) model is constructed to learn the operational methods and specifications of skilled operators. This model, trained using a large amount of simulated operational data, accurately reflects the operational behaviors and decision-making processes of skilled operators. Based on this model, a method for evaluating operators’ risk behaviors is proposed. Through interaction with the baseline model, the system can simulate various operational scenarios, monitor and evaluate operators’ behaviors in real time, and provide an objective and effective assessment of their risk behaviors.

2. Risk Simulation Module Design

In container port operations, improper handling by drivers can lead to severe property damage and casualties, making the standardization of driver operations and the evaluation of operational risks crucial. To ensure the scientific rigor and effectiveness of operational training and risk assessment methods for remote quay crane operators at ports, this study adds a risk simulation module to the existing automated quay crane remote operation intelligent simulation system. Figure 1 shows the original automated quay crane remote operation simulator, which comprises a model physics engine module, a model motion control module, and a remote crane monitoring system data management module. This simulator not only accurately replicates the real operational scenarios of automated quay cranes but also enables the training of novice operators’ operational capabilities [30].
The risk simulation module is developed based on one of the most significant risks that remote quay crane operators face during operations—collisions. It identifies and collects key data that could lead to collision risks during operations. These data help determine which operational methods and strategies employed by drivers are effective and safe. Therefore, in the automated quay crane remote operation simulator, this study uses the simulator’s sensor system to capture environmental information and record key data at every time point during the skilled drivers’ operations, including actions, speed, position, and the safety distance between the crane and the operational target. The specific data recorded are listed in Table 2, and Figure 2 illustrates the parameters corresponding to Table 2. The physical quantities recorded in this study are classified into constants, control variables, and passive measurements. Control variables are those that the driver can manually control via the joystick, while passive measurements are the variables measured by the system during the driver’s operation. All variables in this study use the International System of Units (SI), and the ranges of other variables are specified in Equations (10) and (11).
These data help identify the potential risks that drivers may encounter under different operational conditions. For example, the speed of the trolley enables drivers to learn how to control it in various operating environments, particularly when approaching obstacles and target positions, to avoid collisions. The swinging angle and speed of the load are used to train drivers on their sensitivity to the swinging angle and how to effectively control the swinging speed, thereby improving their skills in maintaining load stability. The position of the spreader allows drivers to grasp the real-time location of the spreader, enhancing their spatial awareness of both the spreader and the surrounding environment, thus avoiding collisions. The relative distance between the load and the target position trains drivers to accurately judge and operate toward the target, reducing the risk of collisions caused by errors in distance judgment. The relative distance between the container and the truck pallet helps drivers precisely control the load position during loading and unloading, preventing collisions between the container and the pallet. The relative distance between the left and right sides of the load’s operational path along the side of the ship and obstacles is intended to train drivers to operate in complex environments, improving their perception and avoidance of obstacles on both sides. The relative distance between the load and obstacles is designed to keep drivers vigilant about the distance between the load and obstacles during operations, thereby avoiding collisions. The relative distance between the load and the top of the target container helps drivers accurately control the height of the load, preventing collisions with the top of the target container and avoiding container collapse.

3. Baseline Model Design Based on a DQN

This study uses the DQN algorithm to establish a baseline model for the operational behaviors of skilled quay crane operators. The DQN is a value-based deep reinforcement learning (DRL) method that combines deep neural networks with the Q-learning algorithm to train an agent (in this case, the simulated port operator) to make optimal decisions in a specific environment.

3.1. State Space

The state space represents the relevant characteristics of the port operation environment and is typically used as input information for DRL. In this model, the input state information is collected from the virtual operation simulator’s sensors, including data on the position and speed between the spreader and the container. The specific state information includes the following: the load mass m, wire rope length l, wire rope lifting speed v l , trolley speed v c , swing angle of the spreader φ , swing speed of the load v s , swing angular velocity ω s , time taken to perform each operation t, spreader position d p , trolley position d c , relative distance between the load and the target position d 1 , relative distance between the container and the truck pallet d 2 , relative distance between the operational path along the ship’s side and obstacles on both sides d 3 , relative distance between the load and obstacles d 4 , and relative distance between the load and the top of the target container d 5 , totaling 15 states.
The final state space is defined as s = m , l , v l , v c , φ , v s , ω s , t , d p , d c , d 1 , d 2 , d 3 , d 4 d 5 , which can represent the status of the spreader at any given moment in the environment.

3.2. Reward Function

In the process of learning and training the operational model of skilled drivers, the design of the reward function plays a crucial role, as it determines the effect and efficiency of the neural network’s training. The reward function serves as an indicator to evaluate the effectiveness and safety of the operator’s actions with a results-oriented approach. The reward function in this study is designed as a combination of operational safety, operational efficiency, and load stability.

3.2.1. Operational Safety

In terms of safety, the spreader needs to avoid collisions with obstacles and successfully complete the lifting task. This paper sets up different safety rewards according to the actual operating conditions and increases the danger zone near the obstacles so that the spreader can avoid obstacles to reach the target point more quickly.
If the spreader collides with an obstacle, the driver receives a significant penalty to strongly discourage dangerous operations. At each time step, if no collision occurs, a small positive reward is given to the driver, encouraging them to cover as much distance as possible without collisions. The specific design is as follows:
r safe = + 100 , When the spreader collides + 0.01 , other
The danger zone is defined as the area where the spreader (whether unloaded or loaded) approaches an obstacle but has not yet collided with it. To help the spreader quickly move away from obstacles, the penalty around obstacles is intensified. However, to avoid trapping the spreader in local situations, the penalties in the danger zone should not be too concentrated and need to be adjusted according to the distance from the nearest obstacle. The reward function for the safety distance is designed as follows:
r distance = + 5 , d 4 2 m + 10 d 4 0.5 , 0.5 m d 4 2 m 20 , d 4 < 0.5 m
where r d i s t a n c e is the distance between the container and the obstacle at time t. The value of the safety distance is set based on the safety regulations of remote-controlled quay crane operations and the average operating values of skilled drivers.
The overall operational safety reward function is given by
R safe = r safe + r distance

3.2.2. Operational Efficiency

In terms of operational efficiency, the objective of the efficiency reward is to encourage the model to complete tasks as quickly as possible while maintaining safety and accuracy. Therefore, the efficiency reward function consists of time efficiency, operational accuracy, and safety rewards.
The time efficiency reward is designed based on the time required to complete an operation. For every 5 s reduction in operational time, a reward of (+1) point is given. The specific design is as follows:
R e f f i c i e n c y = max 0 , T t a r g e t T a c t u a l 5
where T target is the target operational time for completing a loading or unloading task and T actual is the actual time taken to complete the operation.
Operational accuracy rewards are designed based on the distance between the ideal deviation of container placement and the actual deviation during the actual operation to encourage high accuracy upon completion of the task, and are designed as follows:
r p r e c i s i o n = K p r e c i s i o n · e λ ( d t a r g e t d a c t u a l )
where K precision is the reward coefficient for accuracy, λ controls the rate of the reward decay, d target is the actual deviation distance from the target position, and d actual is the ideal deviation for placing the container.
To prevent compromising safety while pursuing efficiency, a safety reward is also set:
r safety = K safety , i f t h e r e a r e n o s e c u r i t y v i o l a t i o n s + 0 , o t h e r
where K safety is the safety reward coefficient, and its range of values is [0,1].
The total operational efficiency reward is given by
R efficiency = r time + r precision + r safety

3.2.3. Load Stability

When moving the spreader and container, the load’s maximum swing angle is measured to assess the operational smoothness. A smaller swing angle indicates better load stability. The reward function for load stability is designed as follows.
R stability = + 15 , φ a + 10 , a < φ b 15 , φ > b
According to the site environmental conditions and the actual operation of the driver, the values of a and b in the above formula are a = 8 and b = 20 , which are more in line with real site conditions and operational safety requirements. Let the weights of operational safety, operational efficiency, and load stability be ω safe , ω efficiency , and ω stability , respectively. The final design of the reward function is expressed as
R = ω s a f e · R s a f e t y + ω e f f i c i e n c y · R e f f i c i e n c y + ω s t a b i l i t y · R s t a b i l i t y

3.3. Network Design

In this study, the DQN network model for driver operations is structured as shown in Figure 3. The input layer takes the current state of the spreader in the simulator as input. The loss function is set to the Mean Squared Error (MSE) loss, and the activation function used is the ReLU function. The optimizer is the Adam optimizer, which ensures stable training. The weights of the neural network are initialized using the Xavier initialization method, which helps mitigate the issues of vanishing and exploding gradients by keeping the variance of each layer’s output close to one. The evaluation network and the target network have the same structure, both using the network structure shown in Figure 3, but their update frequencies differ. The evaluation network is updated at every step, while the target network is updated only after a certain period, meaning that the parameters of the evaluation network are periodically copied to the target network.

3.4. Model Training and Learning Process

The DQN-based skilled driver training model consists of the following stages: First, before training and learning, it is essential to correctly design the environmental states, skilled operator actions, action strategies, and reward functions. Next, the model learns to obtain a strategy that maximizes future rewards through interaction and continuously adjusts the value function to achieve the optimal strategy. Finally, after the training and learning process is completed, the optimal control strategy can be derived based on state information. Novice drivers can then use this model to learn the operational methods of skilled drivers, guiding them to safely and efficiently complete the entire loading and unloading process of containers.
Figure 4 shows a flowchart of the model training using the DQN algorithm based on skilled driver data. First, the sensor system is used to collect environmental information from the simulated port operation scenario. Then, the current environmental state information of the port operation scene is input into the evaluation network, which outputs the Q-values of each action in the action space. Based on the policy, an action a is selected, and the spreader executes it to obtain a reward r, transitioning the spreader to a new state s t + 1 . The current state s t , action a, next state s t + 1 , and reward are stored as historical experience information in the experience replay pool.
At each time step, a random sample of data is selected from the experience pool to train the evaluation network, allowing it to approximate the optimal action value. Finally, the DQN loss function is computed by combining the Q-values of the evaluation network and the target network, and the network parameters are updated using historical experience data. When the evaluation network has been sufficiently trained, its weights will approximate the optimal parameters. Additionally, the evaluation network periodically copies its parameters to the target network every N time steps to reduce the correlation between the two networks.

4. Evaluation Method Design for Driver Risk Behaviors

In this section, the trained baseline model is used to evaluate the basic skills and operational safety risk behaviors of novice drivers in the remote operation of quay container cranes. Novice drivers interact with the trained baseline model, comparing their operational behaviors with the model’s expected behaviors to assess their capabilities and risk behaviors.

4.1. Operational Difference Measurement

To quantify the disparity between the operation sequences of novice drivers and the optimal ones recommended by the benchmark model, this paper assesses whether the novice drivers’ operations can effectively maneuver the vehicle to reach the desired state stably and rapidly by comparing the differences between the state transitions resulting from their operations and those suggested by the model. The Euclidean distance is employed to compare the distances between the actual state transitions and the expected ones.
The Euclidean distance is a method for calculating the straight-line distance between two points in a multi-dimensional space. In this context, it can be used to measure the difference between the state achieved by the novice operator’s actions, denoted as S i n o v i c e , and the expected state derived from the model’s optimal actions, denoted as S i m o d e l . Each state consists of multiple dimensions, such as position, speed, and other variables. The Euclidean distance between the novice operator’s state and the model’s optimal state is given by
d = i = 1 n ( S i m o d e l S i n o v i c e ) 2
In formula (10), the Euclidean distance is used to measure the differences between state vectors. Each state vector consists of multiple dimensions, with each dimension representing a different variable x i (e.g., position or speed). To avoid certain variables dominating the distance calculation due to their larger ranges, all variables (i.e., each dimension x i in the state vector) are normalized before the distance calculation. This normalization ensures that all variables contribute equally to the distance metric, regardless of their original scales. For each dimension x i in the state vector, the normalization process adjusts the variable to the range [ 0 , 1 ] . The normalization for a variable x i with a range of [ a , b ] is given by
x i , norm = x i a b a
This normalization ensures that all dimensions are scaled equally, preventing variables with larger ranges from disproportionately affecting the distance metric. If the variables are not normalized, variables with larger ranges may dominate the calculation, leading to biased results that do not accurately reflect the true differences in the state vectors.

4.2. Safety Evaluation Indicators

In the remote control quay crane operation simulator, it is very important to establish safety evaluation indices, which can help evaluate the operational safety of novice drivers and guide training and improvement. Based on the operational standards followed by quay crane operators and the qualitative manual evaluation criteria, this paper quantifies the safety evaluation indicators. Manual scoring often relies on experiential judgment to assess operators’ risk behaviors, such as visually estimating whether the operating distance is within the safe range, which typically results in considerable deviation. By establishing these safety evaluation indicators, risk behaviors can be quantified, enabling a comprehensive evaluation of novice operators’ operational safety and providing targeted improvement measures accordingly. The specific safety evaluation indicators are described below.

4.2.1. Number of Approaches to Obstacles

The number of times the spreader’s distance from the obstacle is below the safe distance during operation is counted, reflecting the operator’s ability to maintain a safe distance between the equipment and the obstacle.
This paper sets a safe distance d s a f e . Every time the distance between the spreader and the obstacle d a c t u a l < d s a f e , the count increases, and the total number of such occurrences during the entire operation is recorded.

4.2.2. Speed Control Consistency

Speed control consistency is evaluated by calculating the standard deviation of the speed changes of the trolley and the spreader, reflecting the driver’s ability to maintain consistent and smooth speed control. For a series of recorded speed values ( v 1 , v 2 , , v n ) , the average speed v ¯ is calculated as
v ¯ = 1 n m = 1 n v m
where n is the total number of recorded speed values, and v m represents the speed at the m t h recorded moment. The standard deviation of speed changes σ is then calculated as
σ = 1 n 1 m = 1 n ( v m v ¯ ) 2
A smaller standard deviation indicates better consistency in speed control.

4.2.3. Operational Accuracy

Operational accuracy assesses the novice driver’s ability to perform specific tasks (e.g., short-distance movement, long-distance movement, and alignment of the spreader and container). The Euclidean distance is used to calculate the deviation between the target point and the actual stopping point to measure the accuracy of these specific operations.
Let the target point be p a c t u a l and the actual stopping point be p a c t u a l . The difference in operational accuracy can be expressed as
d a c c u r a c y = ( p a c t u a l x p t a r g e t x ) 2 + ( p a c t u a l y p t a r g e t y ) 2
Here, p a c t u a l x and p a c t u a l y are the horizontal and vertical coordinates of the actual stopping point, while p t a r g e t x and p t a r g e t y are the horizontal and vertical coordinates of the target point. d a c c u r a c y represents the difference in operational accuracy, where a smaller d a c c u r a c y value indicates higher operational accuracy.

4.2.4. Emergency Response Time

The emergency response time measures the driver’s reaction time in the event of sudden incidents (e.g., container tilting during lifting). Sensors record the exact moment when an emergency occurs and the moment when the driver initiates a response. The average emergency response time for a novice driver is calculated as
T r e s p o n s e = 1 N j = 1 N ( t r e s p o n s e , j t e v e n t , j )
where t r e s p o n s e , j is the time when the driver responds to the j-th event, t e v e n t , j is the time when the j-th emergency occurs, and N is the total number of events.

4.2.5. Load Stability

Load stability is assessed by measuring the swing angle of the load during movement. A smaller swing angle indicates better stability.
From the recorded position data, the spreader position d p ( x , y , z ) and the trolley position d c ( x c , y c , z c ) are identified. Let the swing angle of the load be φ and define the unit vector d v ( 0 , 0 , 1 ) pointing vertically downward. The difference vector between the two positions d is then
d = d p d c = ( x x c , y y c , z z c )
The swing angle φ is then computed as
φ = cos 1 d · d v | d | | d v | × 180 π = cos 1 ( z z c ) ( x x c ) 2 + ( y y c ) 2 + ( z z c ) 2 × 180 π
φ f i n a l = φ , if y y c < 0 φ , if y y c 0
In the formula, d is the length of the position difference vector between the spreader and the trolley, and 180 π is the factor used to convert radians to degrees. Equation (18) adjusts the sign of the angle based on the sign of the y component of the difference vector d to ensure the correct direction of the final angle. If y y c 0 , it indicates that the spreader is in front of the trolley (relative to the negative y-axis), and the angle is taken as positive; otherwise, it is negative.

5. Experiment

5.1. Preparation and Experimental Content

This experiment was categorized into a control group and an experimental group. The control group used the traditional manual scoring evaluation method, while the experimental group used the evaluation method proposed in this paper. The operational risk behaviors of 10 novice drivers who had undergone benchmark model training were evaluated and scored using the two different evaluation methods. The average score obtained was the average of the scores obtained by these 10 people after multiple operational evaluations. In addition, the average scores obtained for the same driver when evaluated using the two different methods were compared, i.e., the average scores of the same driver in the control group and the experimental group. Furthermore, the members of the control group and the experimental group were all male, aged between 18 and 27, and had no experience in crane operation. Among them, 70% had no experience using virtual reality, 20% had operated in virtual reality 1–3 times, and 10% had operated in virtual reality 4–6 times. All the drivers participating in this experiment received basic induction training, the main content of which included theoretical knowledge of pre-operation, in-operation, and post-operation procedures; theoretical knowledge of stable operation of the lifting gear; accident cases; and various rules and regulations. Subsequently, they all underwent a 10-day training course.
In the control group, the operational safety risk behaviors of novice drivers during the remote operation of the shore-based container crane were scored using the traditional manual scoring method. In the experimental group, the operational safety risk behaviors of novice drivers were evaluated by employing the trained reference model. The novice drivers interacted with the trained reference model by comparing their operational behaviors with the expected behaviors of the model, and their operational safety risk behaviors were thereby evaluated. The specific evaluation content was derived from the actual assessment content for the remote operation of the shore-based container crane workers at the port. The specific evaluation content and scoring criteria are presented in Table 3.
The operating system used in this experiment was Ubuntu 20.04, with 16 GB of memory, an Intel Xeon Gold 5218 CPU, an NVIDIA GeForce GTX 1080 GPU, TensorFlow 1.4 as the deep learning framework, and Python 3.5 as the programming language. The specific parameter settings for the DQN benchmark model are shown in Table 4.

5.2. Experimental Results and Analysis

In this experiment, there were a total of 10 drivers, numbered 1, 2, , 10, with a total score of 100 points. A score of 70 points indicated that the driver had adequate operational safety risk awareness. The results were analyzed and compared using three descriptive statistical methods: (1) mean (M), (2) standard deviation (SD), and (3) coefficient of variation (CV). Table 3 presents the evaluation results of the operational safety risk behaviors of the 10 drivers under different scoring methods.
From Table 5 and Table 6, it can be observed that the mean scores of the control group and the experimental group for the same driver were relatively close, and all drivers participating in the experiment passed the operational safety risk awareness test. However, in terms of the statistically significant standard deviation and coefficient of variation of the two groups, the evaluation method based on the reference model adopted by the experimental group was more objective and stable than the traditional manual scoring method followed by the control group and was less susceptible to human subjective judgment. Particularly, for Drivers 1, 3, 6, 8, 9, and 10, when the mean scores in the control group were relatively close to those in the experimental group, the standard deviation and coefficient of variation differed significantly, indicating the instability of manual scoring and its susceptibility to influence.
Figure 5 and Figure 6 show the distribution of scores for Drivers 1 and 6. In both figures, (a) are box plots and (b) are line graphs. From these figures, it can be seen that, compared to the control group, the score distribution in the experimental group was more concentrated. The score fluctuations for most drivers in the experimental group were smaller, while the score fluctuations in the control group were larger, demonstrating greater dispersion. Compared to the control group, although the final results for the novice drivers were the same, the evaluation method based on the reference model was more stable and objective than the traditional manual scoring method and better reflected the deficiencies of the novice drivers during the scoring process.

6. Discussion

With the improvement of automation levels in ports and the growth of cargo volumes, the requirements for drivers’ operational skills and safety awareness are also increasing. However, traditional training methods not only have high costs and risks but also exhibit problems of unstable training effects and insufficient coverage. This study innovates based on this and proposes an automated evaluation method utilizing virtual reality and the DQN model. This method not only effectively reduces training costs and risks but also improves drivers’ abilities to deal with complex environments and sudden events.
The experimental results of this study show that the automated evaluation method based on the DQN model has higher objectivity and consistency in evaluating operational risk behaviors. The standard deviation and coefficient of variation of the experimental group are significantly lower than those of the control group, indicating that the system can effectively reduce the fluctuations caused by subjective human judgments. This consistency is particularly important for port operations, as the operating environment in ports is complex and variable. A highly stable evaluation method can more accurately reflect drivers’ operational abilities, reduce accidents, and improve overall operational efficiency.
Although only 10 operators participated in our experiment, the scores presented are the averages of multiple evaluations, ensuring the validity of the experimental results for verifying this method. In the future, we will consider incorporating more safety risk factors related to quay crane operations and recruiting more participants to further enhance the accuracy of the risk behavior assessment for operators from multiple perspectives.

7. Conclusions

This paper first designs a risk simulation module based on the existing automated quay crane remote operation simulator. This module can simulate potential risks in various real operating scenarios, filling the gap in the current simulator’s capability to model driver operational risks. A DQN-based baseline model is then constructed to learn the operational methods and standards of skilled drivers. This model accurately reflects the operational behaviors and decision-making processes of experienced drivers. Based on this baseline model, an automated evaluation method for drivers’ risk behaviors is proposed. Novice drivers interact with the model to simulate various operational scenarios, allowing the system to monitor and assess their behaviors in real time and score their risk-related actions. This approach not only makes the evaluation process more objective and scientific but also enhances the drivers’ safety risk awareness, thereby reducing errors and accidents during actual operations.
Currently, this experiment has been authorized at only one terminal, resulting in a relatively small sample size limited to the drivers of a single port. Future research can expand to more ports and broader areas to validate the applicability of the model across different operational environments. Additionally, this study can be enhanced by incorporating more sensor data, such as drivers’ physiological states (e.g., fatigue levels and attention levels), to improve the accuracy of the evaluation from multiple dimensions. This will contribute to establishing a more comprehensive port safety evaluation system, providing new perspectives and practical guidelines for the development of the industry.

Author Contributions

Conceptualization, M.H. and Y.Z.; writing—original draft preparation, M.H.; writing—review and editing, M.H. and Y.Z.; software, Y.Z. and M.H.; data curation, Y.L.; writing—review and editing, Y.S.; supervision, Y.S.; project administration, C.M.; funding acquisition, C.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the National Natural Science Foundation of China (No. 52472435), the Science and Technology Commission of Shanghai Municipality (No. 22ZR1427700), the Science and Education Program of Shanghai Municipality (No. B2023003), and the China Construction Machinery Society (No. CCMS-ETRP2023005).

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

Author Yang Shen and Chao Mi own stocks in Shanghai SMU Vision Smart Technology Ltd, Co. Shanghai SMU Vision Smart Technology Ltd, Co agreed to provide the our data to support this study. Shanghai SMU Vision Smart Technology Ltd, Co has no conflict of interest with this study.

References

  1. Liu, C.I.; Jula, H.; Ioannou, P.A. Design, simulation, and evaluation of automated container terminals. IEEE Trans. Intell. Transp. Syst. 2002, 3, 12–26. [Google Scholar] [CrossRef]
  2. Song, H.; Kim, T.; Kim, J.; Ahn, D.; Kang, Y. Effectiveness of VR crane training with head-mounted display: Double mediation of presence and perceived usefulness. Autom. Constr. 2021, 122, 103506. [Google Scholar] [CrossRef]
  3. Getuli, V.; Capone, P.; Bruttini, A.; Isaac, S. BIM-based immersive Virtual Reality for construction workspace planning: A safety-oriented approach. Autom. Constr. 2020, 114, 103160. [Google Scholar] [CrossRef]
  4. Zhang, Y.; Liu, H.; Kang, S.C.; Al-Hussein, M. Virtual reality applications for the built environment: Research trends and opportunities. Autom. Constr. 2020, 118, 103311. [Google Scholar] [CrossRef]
  5. Hajiseyedjavadi, F.; Zhang, T.; Agrawal, R.; Knodler, M.; Fisher, D.; Samuel, S. Effectiveness of visual warnings on young drivers hazard anticipation and hazard mitigation abilities. Accid. Anal. Prev. 2018, 116, 41–52. [Google Scholar] [CrossRef] [PubMed]
  6. He, F.; Ong, S.K.; Nee, A.Y. An integrated mobile augmented reality digital twin monitoring system. Computers 2021, 10, 99. [Google Scholar] [CrossRef]
  7. Lin, Z.; Petzold, F.; Hsieh, S.H. 4D-BIM based real time augmented reality navigation system for tower crane operation. In Proceedings of the Construction Research Congress 2020, Tempe, Arizona, 8–10 March 2020; pp. 828–836. [Google Scholar]
  8. Fang, Y.; Teizer, J. A multi-user virtual 3D training environment to advance collaboration among crane operator and ground personnel in blind lifts. In Computing in Civil and Building Engineering (2014); American Society of Civil Engineers (ASCE): Orlando, FL, USA, 2014; pp. 2071–2078. [Google Scholar]
  9. Juang, J.R.; Hung, W.H.; Kang, S.C. SimCrane 3D+: A crane simulator with kinesthetic and stereoscopic vision. Adv. Eng. Informatics 2013, 27, 506–518. [Google Scholar] [CrossRef]
  10. Patrao, B.; Menezes, P. An immersive system for the training of tower crane operators. In Proceedings of the 2013 2nd Experiment@ International Conference (exp. at’13), Coimbra, Portugal, 18–20 September 2013; IEEE: Piscataway Township, NJ, USA, 2013; pp. 158–159. [Google Scholar]
  11. Noda, Y.; Hoshi, R.; Kaneshige, A. Training simulator for acquiring operational skill to operate overhead traveling crane while suppressing load sway. Shock Vib. 2019, 2019, 3060457. [Google Scholar] [CrossRef]
  12. Dong, H.; Zou, S.; Chen, D.; Xu, H. Research and development of distributed bridge crane training system based on virtual reality. In Proceedings of the 2009 Second International Conference on Intelligent Computation Technology and Automation, Zhangjiajie, China, 10–11 October 2009; IEEE: Piscataway Township, NJ, USA, 2009; Volume 1, pp. 670–673. [Google Scholar]
  13. Ju, W.; Wu, J.; Kang, Q.; Jiang, J.; Xing, Z. A method based on the theories of game and extension cloud for risk assessment of construction safety: A case study considering disaster-inducing factors in the construction process. J. Build. Eng. 2022, 62, 105317. [Google Scholar] [CrossRef]
  14. Mutlu, M.; Cetin, N.C.; Onder, S. A Novel Risk Assessment Approach for Open-Cast Coal Mines Using Hybrid MCDM Models with Interval Type-2 Fuzzy Sets: A Case Study in Türkiye. Systems 2024, 12, 267. [Google Scholar] [CrossRef]
  15. Wang, Z.; Chen, C. Fuzzy comprehensive Bayesian network-based safety risk assessment for metro construction projects. Tunn. Undergr. Space Technol. 2017, 70, 330–342. [Google Scholar] [CrossRef]
  16. Machfudiyanto, R.A.; Rachmawati, T.S.N.; Laksono, N.B.; Soltani, M.; Park, C. Development of Construction Safety Dashboard Based on Four-Dimensional Building Information Modeling for Fall Prevention: Case Study of Stadium Roof Works. Buildings 2024, 14, 2882. [Google Scholar] [CrossRef]
  17. Khorram, S. A novel approach for ports’ container terminals’ risk management based on formal safety assessment: FAHP-entropy measure—VIKOR model. Nat. Hazards 2020, 103, 1671–1707. [Google Scholar] [CrossRef]
  18. Lin, C.Y.; Hwang, M.J.; Yen, T.H. Research on Risk Assessment of Container Operation Process in Ports Considering Functional Areas. J. Mar. Sci. Technol. 2023, 31, 11. [Google Scholar] [CrossRef]
  19. Alyami, H.; Lee, P.T.W.; Yang, Z.; Riahi, R.; Bonsall, S.; Wang, J. An advanced risk analysis approach for container port safety evaluation. Marit. Policy Manag. 2014, 41, 634–650. [Google Scholar] [CrossRef]
  20. Sunaryo; Hamka, M.A. Safety risks assessment on container terminal using hazard identification and risk assessment and fault tree analysis methods. Procedia Eng. 2017, 194, 307–314. [Google Scholar] [CrossRef]
  21. Yang, Y.L.; Ding, J.F.; Chiu, C.C.; Shyu, W.H.; Tseng, W.J.; Chou, M.T. Core risk factors influencing safe handling operations for container terminals at Kaohsiung port. Proc. Inst. Mech. Eng. Part M J. Eng. Marit. Environ. 2016, 230, 444–453. [Google Scholar] [CrossRef]
  22. Tseng, P.H.; Pilcher, N. A Safety Assessment Model for Handling Dangerous Goods in Port Operations: The Key Role of Detection Capability. J. Mar. Sci. Eng. 2023, 11, 1704. [Google Scholar] [CrossRef]
  23. Eski, Ö.; Tavacioglu, L. A combined method for determining the contributing factors to chemical spills in port areas during maritime dangerous cargo transport. J. Appl. Sci. Eng. 2022, 26, 883–893. [Google Scholar]
  24. Fowler, T.G.; Sørgård, E. Modeling ship transportation risk. Risk Anal. 2000, 20, 225–244. [Google Scholar] [CrossRef]
  25. Goerlandt, F.; Montewka, J. A framework for risk analysis of maritime transportation systems: A case study for oil spill from tankers in a ship–ship collision. Saf. Sci. 2015, 76, 42–66. [Google Scholar] [CrossRef]
  26. Szwed, P.; Van Dorp, J.R.; Merrick, J.R.; Mazzuchi, T.A.; Singh, A. A Bayesian paired comparison approach for relative accident probability assessment with covariate information. Eur. J. Oper. Res. 2006, 169, 157–177. [Google Scholar] [CrossRef]
  27. Pak, J.Y.; Yeo, G.T.; Oh, S.W.; Yang, Z. Port safety evaluation from a captain’s perspective: The Korean experience. Saf. Sci. 2015, 72, 172–181. [Google Scholar] [CrossRef]
  28. Arslan, O.; Turan, O. Analytical investigation of marine casualties at the Strait of Istanbul with SWOT–AHP method. Marit. Policy Manag. 2009, 36, 131–145. [Google Scholar] [CrossRef]
  29. Hänninen, M. Bayesian networks for maritime traffic accident prevention: Benefits and challenges. Accid. Anal. Prev. 2014, 73, 305–312. [Google Scholar] [CrossRef]
  30. He, M.; Zhang, Y.; Shen, Y.; Mi, C. Research on Architecture of Intelligent Simulation System for Automatic Quay Crane Training Based on Embedded Digital Twin Technology. In Proceedings of the International Conference on Advances in Construction Machinery and Vehicle Engineering, Shanghai, China, 13–16 October 2023; Springer: Berlin/Heidelberg, Germany, 2023; pp. 1081–1089. [Google Scholar]
Figure 1. Automated quay crane remote operation simulator.
Figure 1. Automated quay crane remote operation simulator.
Algorithms 17 00508 g001
Figure 2. Diagram corresponding to the parameters in Table 1. (a) is the schematic diagram of control parameters, (b) is the schematic diagram of constant and control parameters, (c,d) are the schematic diagram of passive measurement parameters.
Figure 2. Diagram corresponding to the parameters in Table 1. (a) is the schematic diagram of control parameters, (b) is the schematic diagram of constant and control parameters, (c,d) are the schematic diagram of passive measurement parameters.
Algorithms 17 00508 g002aAlgorithms 17 00508 g002b
Figure 3. DQN driver operation model network structure.
Figure 3. DQN driver operation model network structure.
Algorithms 17 00508 g003
Figure 4. DQN model training flowchart.
Figure 4. DQN model training flowchart.
Algorithms 17 00508 g004
Figure 5. Score distribution chart for Driver 1. (a) is the box plot for Driver 1 in the experimental and control groups shows the central tendency and dispersion of the driver’s scores; (b) is the line chart for Driver 1 in the experimental and control groups illustrates the stability of the driver’s scores through the fluctuation range of the line.
Figure 5. Score distribution chart for Driver 1. (a) is the box plot for Driver 1 in the experimental and control groups shows the central tendency and dispersion of the driver’s scores; (b) is the line chart for Driver 1 in the experimental and control groups illustrates the stability of the driver’s scores through the fluctuation range of the line.
Algorithms 17 00508 g005
Figure 6. Score distribution chart for Driver 6. (a) is the box plot for Driver 6 in the experimental and control groups shows the central tendency and dispersion of the driver’s scores; (b) is the line chart for Driver 6 in the experimental and control groups illustrates the stability of the driver’s scores through the fluctuation range of the line.
Figure 6. Score distribution chart for Driver 6. (a) is the box plot for Driver 6 in the experimental and control groups shows the central tendency and dispersion of the driver’s scores; (b) is the line chart for Driver 6 in the experimental and control groups illustrates the stability of the driver’s scores through the fluctuation range of the line.
Algorithms 17 00508 g006
Table 1. Literature summary and analysis.
Table 1. Literature summary and analysis.
ClassificationLiteratureLiterature Analysis
Application of Virtual Reality Technology in Crane TrainingHe, F. et al. [6], Lin et al. [7], Fang and Teizer [8], Juang, J. R. et al. [9], B. Patrão and P. Menezes [10], Noda, Y. et al. [11], Dong, H. et al. [12]These studies mainly focus on improving operational skills but lack the simulation of potential accidents that may occur during operations. Additionally, they do not include corresponding risk simulation modules, making these systems ineffective in improving operators’ safety risk awareness.
Application Domains of Safety
Risk Assessment
Coal mining [14], subway stations [15], construction sites [16], container
ports [17,18,19,20], port loading and unloading operations [21], dangerous goods [22,23]
Current risk assessment methods primarily focus on evaluating container port and quay crane operations in real operational settings, with limited application in virtual environments.
Maritime navigation at ports [24,25,26,27,28,29]Fault trees (FTs) and event trees (ETs) rely on historical data, and as the number of factors increases, they become extremely time-consuming. Bayesian networks (BNs) combine historical data with expert knowledge, but their complexity and the probabilistic nature of expert judgments present challenges. The Analytic Hierarchy Process (AHP) introduces subjective assumptions when assigning weights to individual factors but does not account for the interdependent relationships between the various structural elements.
Table 2. Calculation parameters.
Table 2. Calculation parameters.
SymbolPhysical QuantityParameter Type
mload massconstant
llength of wire ropecontrol variable
v l wire rope lifting speedcontrol variable
v c trolley speedcontrol variable
φ swing angle of the load (angle between the wire rope and the vertical direction)control variable
v s swing speed of the loadcontrol variable
ω s swing angular velocity of the loadcontrol variable
ttime to execute each operationpassive measurement
d p spreader positionpassive measurement
d c trolley positionpassive measurement
d 1 relative distance between the load and the target positionpassive measurement
d 2 relative distance between the container and the truck palletpassive measurement
d 3 relative distance between the left and right sides of the operational path along the ship’s side and obstaclespassive measurement
d 4 relative distance between the load and obstaclespassive measurement
d 5 relative distance between the load and the top of the target containerpassive measurement
Table 3. Scoring Criteria.
Table 3. Scoring Criteria.
ItemsSpecific RequirementsDeduction CriteriaScores
Pre-operation and Post-operationBefore the operation, check that each monitoring display is normal and give a confirmation command. Sound the horn before starting and after ending.If the driver fails to verbally confirm the display status before starting the main control and fails to sound the horn at the start and end of the operation, 5 points will be deducted for each failure.
During Operation1. During the alignment practice of the sea and landside girders, there should be no obvious swaying of the lifting gear.1. If there is obvious swaying of the lifting gear when loading or unloading empty or loaded containers, 10 points will be deducted.
2. Place the 20-foot container on the designated operation lane on the wharf.2. If the designated container is not placed on the designated operation lane on the wharf, 5 points will be deducted.
3. Use the spreader guide plates properly during operations.3. If the guide plate is used for loading and immediately retracted, 5 points will be deducted. If the guide plate is not retracted after the lifting hook is raised and the operation is completed, 5 points will be deducted for each occurrence.
4. When lowering the container onto the truck, slow down and stop the spreader 20–25 cm above the pallet.4. If the guide plate is not retracted after placing the container, 5 points will be deducted.
5. When lowering the spreader above the container, slow down and stop 20–25 cm above the container top.5. If the lifting gear is not stopped and not slowed down when the container is lowered toward the truck pallet when it has descended 20–25 cm from the pallet, 5 points will be deducted for not stopping and 5 points for not slowing down.
Computer-Based English Fault AlertsIdentify the alerts from the computer, accurately report faults, and provide a detailed fault history.If the driver fails to report faults accurately, in a timely manner, and in detail, 10 points will be deducted.
Negative Items1. Violation of safety operating procedures resulting in equipment accidents.If a collision occurs or there is a violation of safety operating procedures resulting in equipment accidents, 100 points will be deducted.
2. A severe collision occurs, causing the container to shift.100 points will be deducted for each occurrence.
Total Score
Table 4. DQN benchmark model training parameters settings.
Table 4. DQN benchmark model training parameters settings.
ParameterValue
Episodes20,000
ϵ 0.9
ϵ decay0.9995
γ 0.9
Learning Rate0.0001
Replay Buffer40,000
Batch Size32
Table 5. Operational safety risk awareness evaluation results for the same driver using different scoring methods.
Table 5. Operational safety risk awareness evaluation results for the same driver using different scoring methods.
Group12345
MSDMSDMSDMSDMSD
Experimental group861.3177.123.6476.385.1878.754.8991.754.53
Control group84.759.1972.124.0277.758.8380.387.3987.626.61
Group678910
MSDMSDMSDMSDMSD
Experimental group87.634.1772.122.9582.753.1187.133.1878.384.87
Control group85.259.9872.123.8085.127.7586.5010.0779.008.54
Table 6. Comparison of coefficient of variation results.
Table 6. Comparison of coefficient of variation results.
Group12345678910
Experimental group0.0150.0470.0680.0620.0490.0480.0410.0380.0370.062
Control group0.1080.0550.1140.0920.0750.1170.0530.0910.1160.108
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.

Share and Cite

MDPI and ACS Style

He, M.; Zhang, Y.; Liu, Y.; Shen, Y.; Mi, C. Automated Evaluation Method for Risk Behaviors of Quay Crane Operators at Ports Using Virtual Reality. Algorithms 2024, 17, 508. https://doi.org/10.3390/a17110508

AMA Style

He M, Zhang Y, Liu Y, Shen Y, Mi C. Automated Evaluation Method for Risk Behaviors of Quay Crane Operators at Ports Using Virtual Reality. Algorithms. 2024; 17(11):508. https://doi.org/10.3390/a17110508

Chicago/Turabian Style

He, Mengjie, Yujie Zhang, Yi Liu, Yang Shen, and Chao Mi. 2024. "Automated Evaluation Method for Risk Behaviors of Quay Crane Operators at Ports Using Virtual Reality" Algorithms 17, no. 11: 508. https://doi.org/10.3390/a17110508

APA Style

He, M., Zhang, Y., Liu, Y., Shen, Y., & Mi, C. (2024). Automated Evaluation Method for Risk Behaviors of Quay Crane Operators at Ports Using Virtual Reality. Algorithms, 17(11), 508. https://doi.org/10.3390/a17110508

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop