Design and Research of Intelligent Safety Monitoring Robot for Coal Mine Shaft Construction

/is study analyzes the main causes of accidents in the period of coal mine shaft construction and the shortage of the existing safety monitoring technology, puts forward the intelligent safety monitoring robot technology based on shaft construction, and deeply investigates the functions that the safety monitoring robot should have. Besides, the research objective of intelligent safety monitoring robot for shaft construction is pointed out, and the research is carried out from such aspects as the robot body structure, walking mechanism, adsorption mechanism, control, communication, intelligent sensing, hazard source recognition, recognition of explosive detonators, and software platform development. As well, this study designs the technical device of intelligent safety monitoring robot for shaft construction, defines the characteristics of this technology, expounds the important significance of studying this technology, and indicates the development trend of this technology.


Introduction
With the increasing social demand for coal and constant improvement of mining capacity, the increasing depth of mining is an inevitable trend of mining [1]. e coal resources in China are predicted to be 1844.048 billion tons in the vertical depth of 1000 m, among which the reliable coal resources are 916.910 billion tons, accounting for 40.5% of the predicted total amount. ere are 1340.375 billion tons of coal resources in the buried depth of 1000-1500 m, among which the reliable coal resources are 667.691 billion tons, accounting for 29.4% of the predicted total amount. ere are 1367.681 billion tons of coal resources in the buried depth of 1500-2000 m, among which the reliable coal resources are 329.229 billion tons, accounting for 30.1% of the predicted total amount. With the exploitation of deep coal resources, the depth of coal mine shafts [2] is keeping breaking records, and higher requirements are put forward for coal mine construction, especially deep shaft construction [3]. Due to the coupling action of temperature and pressure on deep rocks, coupled with the rock characteristics of strata, complex stratification, and joint structure, the shaft construction is faced with a variety of disasters such as water damage, gas, lifting, transportation, and falling [4,5]. If the borehole blasting method is used in the construction process [6], a large number of dust particles and harmful gases such as carbon dioxide will be produced. If they are not eliminated in time, they will seriously harm the physical and mental health of the construction workers. Meanwhile, when the concentrations of dust and methane reach a certain level, it is easy to cause explosion, fire, and other accidents, threatening the life safety of construction workers [7,8]. In addition, due to the small space of the shaft, coupled with serious dust and fog, small visibility, and large quantities of cables and equipment, there are many potential safety hazards. If the inspection is not timely enough, it will seriously endanger the life safety of the workers [9,10].
Accidents often happen suddenly and unpredictably during shaft construction and usually cause serious consequences [11]. Figure 1 shows the accident statistics of an enterprise.
With the increase in the depth of shaft construction, the difficulty of shaft safety inspection is also increasing. Seeing from information science, risks derive from the backward safety monitoring means [12,13], the nontimely collection of underground dangerous rock environment information, the imperfect information analysis and processing, and the insufficient information sharing and utilization. us, intelligent safety monitoring of shaft construction is a problem to be solved urgently [14,15]. Due to the closed and dispersed safety information of new shafts, it is difficult to obtain complete and detailed real-time information for more effective monitoring and intervention in advance in the construction and production of mines [16,17]. Hence, in order to realize the safety and efficiency of shaft construction, the key is to improve the intelligent and unmanned shaft safety monitoring and information collection [18,19]. erefore, it is urgent to study the intelligent safety monitoring robot technology and equipment of shaft construction to replace current manual safety monitoring and inspection.
In recent years, the intelligent inspection robot for mine construction, which combines coal mine safety monitoring and robot technology, has been widely used in the field of underground safety inspection [20]. e inspection robot can carry out long-time safety inspection according to the scheduled inspection tasks [21], collect a lot of real and accurate monitoring data in the process of inspection, and immediately transmit the data to the background data platform via the private underground wireless network [22,23]. Meanwhile, the comprehensive analysis and calculation of multiple data are conducted according to the software algorithm designed in advance, and the threshold values are compared for a sound-light alarm [24,25]. Based on the advancement and intelligence of the intelligent inspection robot for mine construction, studying the robot automation system more suitable for underground safety inspection conforms to the development requirements of intelligent mine. e wall-climbing robot can walk on the vertical facade. Because it can move freely on the wall with fewer barriers, the wall-climbing robot has received more and more attention in the engineering field [26]. e wall-climbing robot can enable people to get rid of dangerous jobs and easily complete high-altitude operations that are difficult for human beings to complete, so it is widely applied in building surface cleaning, tank crack inspection, fire rescue, ship rust removal, and other fields [27][28][29][30][31][32][33]. e key technologies of the wall-climbing robot mainly focus on the adsorption ability and movement ability [34]. How to solve the obstruction effect of its gravity on wall-climbing movement? [35,36]. Researchers around the world have tried all sorts of things, such as magnetic adsorption, negative pressure adsorption, electrostatic adsorption, and climbing adsorption. Each technology has its advantages and disadvantages and should be selected according to the working environment and specific needs. Similar to the ground-walking robot, the wall-climbing robot mostly moves with foot-type, wheeltype, crawler-type, and mixed mobile platforms [37,38]. It just moves under the adsorption capacity that counteracts gravity, and there are higher requirements for the motion system control design [39][40][41][42][43][44].
is study innovatively applies the robot system available for shaft wall walking and monitoring to the safety inspection of coal mine shaft construction by adopting negative pressure adsorption technology. rough process control and algorithm design, the system can realize the robot adsorption and the dynamic balance of power requirements for walking, the fusion calculation of multidimensional and multisensor data, and the comprehensive judgment of the overall safety level. e hazard source identification system and the incomplete explosives identification system can substitute manual detection in dangerous locations where personnel can hardly reach. A robot whole-process function design is performed, which is verified to be feasible by experiments. In the harsh and complex environment during the shaft construction period, the wallclimbing robot can replace manpower to implement intelligent inspection and improve the inspection efficiency. In case of hazardous events, it can replace manpower for inspection to reduce the probability of casualties.

Analysis on Safety Monitoring Function of Intelligent Safety Monitoring Robot for Shaft Construction
e working conditions of shaft excavation, especially blasting, are very bad. According to the particularity and safety requirements of shaft blasting operation, the safety monitoring robot should have the following safety monitoring functions: (1) Ventilation and gas: safety regulations require that local ventilators shall not be stopped without authorization. In case of a sudden stop, personnel shall withdraw to a safe place in front of the local ventilator in time. en, the electrician, the inspector, and the local ventilator worker shall be on the scene at the same time for manual power transmission. After confirming safety, personnel can enter the workplace. According to this requirement, the safety monitoring robot must have the function of gas and wind speed monitoring. (2) Comprehensive dust prevention: the working face roadway must be washed regularly and should be kept wet so that dust does not fly when walking. e   (4) Blasting management: during blasting, a warning range must be set, and no one is allowed in the warning range. e hidden dangers discovered must be treated before others can be allowed to work. us, the safety monitoring robot should also have the function of dust, carbon monoxide detection, carbon dioxide detection, miss-fire explosive recognition, and sound and light warning. (5) Water control: in the event of the increase in water from the showerhead, red on the wall, water on the wall, air cooling, and fog on the shaft, it is required to immediately stop working, withdraw the personnel, and report to the superior department for orders. e robot should have the function of shaft wall seepage recognition and monitoring. (6) Electromechanical management: the "power failure and supply" system shall be strictly implemented. According to this requirement, the robot should have the function of information integration with the power supply system to realize the auxiliary power off and transmission management. (7) e robot software platform should have the function of system integration. e software platform can have the data and information integration function of lifting system, power supply system, ventilation system, and monitoring system, which is convenient for analysis and comprehensive evaluation so as to realize effective and full coverage of safety monitoring.
In conclusion, the safety monitoring robot should have the function of environmental dust monitoring, toxic gas monitoring, safety patrol inspection, hazard source recognition, integration and linkage with other system information, forecast, and alarm in the coal mine shaft construction process.

Research Objective of Intelligent Safety Monitoring Robot for Shaft Construction
In current robot studies, the wall-climbing robot technology is changing quickly, and its application fields are gradually expanding. For example, the wall-climbing robot is used to clean the glass outside the building, maintain containers, and check safety. In some fields, the wall-climbing robot has been able to do some heavy and dangerous work instead of humans. is study aims to study the intelligent wallclimbing shaft safety monitoring robot. e robot can crawl on the surface of the shaft wall and is responsible for safety monitoring and inspection during the construction period of the shaft. e robot has a modular design and can be adsorbed on the surface of the shaft wall, with a special walking mechanism. e robot can crawl and patrol independently on the shaft wall, realize the shaft survey under the remote control of beyond human visual distance, and have the functions of local autonomous navigation and electronic map construction. At ordinary times, the robot can inspect the safety state of the shaft wall, the airflow velocity in the shaft, and the dust content in the shaft. e intelligent sensor can monitor methane, carbon monoxide, and other toxic and harmful gases and wirelessly transmit monitoring data and construction site images to the ground. e robot is designed with a sound and light alarm device. Based on intelligent video and multisensor information integration technology, the robot can intelligently identify miss-fire, shaft wall deformation, shaft wall water seepage, and other dangerous sources and give timely warning.
e robot provides the site basis for operators to judge the site situation and make the decision of the operation task, which can effectively guarantee the safety of operators and improve the efficiency of shaft construction.

Design of Intelligent Safety Monitoring Robot for Shaft Construction
Based on the environmental characteristics of shaft construction and the needs of shaft construction safety inspection, it is necessary to conduct in-depth research and design of the robot body structure, walking mechanism, adsorption mechanism, control mechanism, intelligent sensing components, communication mode, and software platform.

Robot Body Structure.
ere are more than ten kinds of harmful gases in coal mines, including methane, carbon dioxide, carbon monoxide, hydrogen sulfide, sulfur dioxide, nitrogen dioxide, ammonia gas, hydrogen gas, radon gas, and nitrogen gas. e shaft is a channel between the coal mine and the outside. Due to the particularity of the coal mine shaft environment, there is a combustible explosive gas, and the electrical equipment in the shaft shall meet the safety design requirements of mining products and meet relevant provisions of the national standard GB3836. e load of the wall-climbing robot directly affects its reliable adsorption on the shaft wall, and the large load requires a large adsorption force. Meanwhile, the design difficulty of the adsorption device also increases. Hence, the key to robot design is an effective reduction of the weight of the robot. In order to adapt to the space of the coal mine shaft, the robot structure should be designed as compact as possible. In order to meet the requirements of explosion suppression and reduce the weight of the robot, the intelligent safety monitoring robot for coal mine shaft construction adopts the design of explosion suppression and intrinsic safety. e

Advances in Civil Engineering
shell is made of stainless steel, which not only is corrosionresistant but also can increase the strength of the robot and improve its impact resistance capability. e internal structure components are made of light materials such as carbon fiber, which can effectively reduce the weight of the robot. e robot body is mainly composed of actuating shaft, driving wheel, ball bearing, driving motor, transmitting antenna, communication device, image acquisition device, tripod head, control device, intelligent sensing device, negative pressure adsorption device, and shell, as shown in Figure 2.
e bottom structure of the robot is shown in Figure 3, and it is composed of a driving wheel, driving motor, adsorption disc, and mechanisms related to robot walking.

Design of Walking Mechanism of the Robot.
e safety monitoring robot needs to crawl and move freely on the surface of the shaft, so it is necessary to study and design the walking mechanism of the robot so as to achieve flexible control. According to the driving theory principle of the automobile, the intelligent safety monitoring robot for shaft construction has the four-wheel driving mode, and the four wheels are separately and differentially driven by the motor. e robot is driven by four DC servo systems to provide the required torque and torque. Such structure has the following advantages: firstly, the control mode is easy to achieve. As long as the speed of the driving motor is controlled respectively, the walking path of the robot can be controlled. Secondly, zero-radius turning can be achieved, and the flexibility of the robot in the process of curve walking is improved. Besides, the carrying capacity and the running speed of the robot can be increased. Due to the limitations of working conditions on the overall structure size of the robot, the reducer is integrated into the motor, and the high-speed output shaft of the motor is connected to the input shaft of the reducer. Besides, the output shaft of the reducer is connected to the driving wheel. As shown in Figure 4, the walking mechanism consists of the motor, reducer, and walking wheel. e fitting and connection are designed reasonably, and the omnidirectional movement adaptability of the walking mechanism on the rough shaft surface is studied so that it can move flexibly while bearing the weight and load of the robot. e walking wheels are made of cast steel. To improve the adhesion property, a rubber ring is designed on the surface of the traveling cast steel wheel. To meet the special requirements of the explosion environment in the coal mine shaft, and prevent static electricity generated by friction between the rubber ring and the shaft surface, the rubber ring is made of flame-retardant and antistatic material to prevent spark caused by friction and static electricity from detonating combustible and explosive gases in the shaft so that the robot can work reliably in the explosive gas environment of coal mine shafts.

Adsorption Mechanism of the Robot.
e wall-climbing robot is a special purpose robot, and the most significant characteristic that distinguishes the robot from other robots is that the robot can overcome the earth gravity and has the ability to remain stationary and move flexibly on the inclined, vertical, or inverted wall surface. At present, the adsorption methods of the wall-climbing robot mainly include magnetic adsorption, negative pressure adsorption, and propeller push. In recent years, gel adsorption, dry adsorption in imitation of gecko feet, wet adsorption in imitation of snail, grasping like rock climbing, and burr grasping have appeared. Magnetic adsorption includes permanent magnet adsorption and electromagnetic adsorption. For such adsorption methods, the robot is only  suitable for adsorption on the surface of magnetic materials such as steel and iron. e low vacuum negative pressure adsorption is to draw out the air in the negative pressure chamber of the adsorption device by the rotation of the fan to generate negative pressure for adsorption. Although the wall surface has strong adaptability, it also has the defects of high noise and large size. In the high vacuum negative pressure adsorption, a vacuum pump is used to form a certain vacuum degree in the vacuum sucker. Its advantages are low noise and small size, but there are high requirements for wall surface smoothness and air permeability. e principle of propeller push is to utilize the inward thrust generated by the propeller rotation to attach the robot on the wall through reasonably designing the angle of the propeller, but there are also the disadvantages of high noise and restricted application scenarios. e negative pressure adsorption robot has a wide range of application, free from the restriction of adsorption wall surface materials, and the low negative pressure and vacuum adsorption method has the advantages of strong wall adaptability and flexible movement, so the wall-climbing robot with low negative pressure and vacuum adsorption has been widely used.
At present, low vacuum adsorption technology is applied in a narrow range of industrial robots. It requires a high degree of working surface smoothness. e research on the sealing and friction of the adsorption mechanism cannot meet the requirements in complicated working environments. With the deficiencies in the dynamic control and electric energy distribution of walking mechanism and suction adjustment, it is designed with a single function and is able to fulfill relatively simple tasks. It also lacks powerful fusion computing power for multisensor data transmission.
ese shortcomings have limited the application of low vacuum adsorption technology in industrial robots.
Because the coal mine shaft is deep and the surface of the shaft wall is rough, the working safety of the robot is of great importance. e robot should overcome gravity and be able to attach safely to the surface of the shaft wall. e intelligent safety monitoring robot can be stationary and move flexibly on the wall surface with a certain incline. e bearing capacity of the adsorption mechanism is the primary problem to be considered, and the study of the negative pressure adsorption mechanism is the key to the wall-climbing robot. By analyzing the deficiencies of existing low vacuum adsorption technology, the reliability technologies of low vacuum adsorption system, such as negative pressure generation technology, automatic negative pressure holding technology, and command handshake technology, are studied. By studying the principle of new sealing technology, a sealing mechanism with a good sealing effect and small friction resistance is designed to ensure that the robot can reliably adsorb on the surface of the shaft and improve the mobility and flexibility of the robot. e stress of the safety monitoring robot is analyzed. When the safety monitoring robot works on the shaft wall, the safety force of any posture on the inner wall of the shaft is analyzed. For simplification, the shaft wall surface is simplified as a plane, and only the stress state of the safety monitoring robot with strict upward linear motion is analyzed. When the wall-climbing robot moves upward in a straight line with angle θ at the vertical direction on the vertical plane, the force is shown in Figure 5.
According to D'Alembert's virtual work principle and force equilibrium relationship, the force equation of the linear motion of the safety monitoring robot with any posture on the vertical wall is as follows: where M is robot mass; G is the force of gravity on the robot; F m is the friction of driving wheel of the wall-climbing robot; F f is the friction of the wall on the sealing skirt; N i is the pressure of the wall acting on each walking wheel; F p is the equivalent resultant force on the robot body due to adsorption caused by internal and external pressure difference; L is the distance from robot center of gravity to the front and rear wheels; B is space between the two front (rear) wheels, L > B; H is the distance between the center of gravity of the robot and the wall; a is the accelerated speed of the robot; and u 1 is the coefficient of friction between the wheel and the wall, and the friction of the moving wheel provides the driving force for the robot, F f � u 1 F pl . Friction coefficients are usually measured by the angle of friction: set one of two objects as a slope and let the other object slide down the slope while gradually reducing the angle of dip angle θ until the object can slide down at a constant speed. Next, μ � tan θ can be obtained according to the formula mg sin θ � μmg cos θ.
If the negative pressure adsorption force generated on the sealing skirt is set as 1/4 of the negative pressure adsorption force of the robot body, the minimum negative pressure adsorption force on the robot body that meets the robot motion condition is where u 2 is the friction coefficient between the sealing skirt and the wall.
When the robot is moving, 4 wheels are required to contact with the wall; that is, the condition N i > 0 must be met. en, the minimum negative pressure adsorption force is at least us, the negative pressure adsorption force acting on the robot body must meet the requirements of the above two formulas, namely, e negative pressure of the adsorption system of the wall-climbing robot is required to be at least where S a is the effective adsorption area of the robot. e minimum safe working negative pressure curve of the wall-climbing robot in the state of motion is shown in Figure 6. e area represented by the vertical line was the safe adsorption and negative pressure working area of the robot, and the lower bound of the area represented the minimum negative pressure curve satisfying the safety of the robot. It can be seen that when the robot moved, the negative pressure adsorption condition was related to the attitude angle of robot, and the expression is Δp � 11204.38(cos θ + 0.2), 0 < θ < 0.44, Δp � 11130, 0.44 < θ < 1.57.
Compared with the glass curtain wall and outer wall of buildings, the curvature of the shaft wall surface is small and the roughness is large, so it is very difficult to design the negative pressure adsorption equipment. Hence, the wallclimbing robot with low negative pressure and vacuum adsorption is designed. Its principle is that the rotary fan is used to draw out the air in the negative pressure chamber to generate negative pressure for wall adsorption. e negative pressure adsorption used in the design is achieved as follows: the radial-flow centrifugal fan which rotates at a high speed (25,000 r/min above) is used to draw out the air in the adsorption chamber of the wall-climbing robot to form negative pressure. Compared with the vacuum pump, the flow rate of the fan is much greater at the same power. Although the flow of the tube-axial fan is larger than that of the radial-flow fan, the vacuum of negative pressure cannot meet the requirements of the wall-climbing robot. When the fan works normally, air flows in through the sealing skirt where the robot contacts with the shaft wall and discharges from the fan. e maximum vacuum of negative pressure is about 45 kPa, and the common working negative pressure is 10-30 kPa. Some small wall-climbing robots can work under the negative pressure of about 2-5 kPa. rough the research of robot noise reduction technology, the noise can be reduced to below 80 dB. e robot can crawl over the rough surface of the shaft wall (the inclination of the reverse angle shall not be less than −10°, and the minimum operating gap shall not be lower than 20 mm). e negative pressure adsorption mechanism is composed of a sealing ring, adsorption disc, air outlet, set bolt, adsorption motor, impeller, adsorption mechanism shell sensor, and camera. e negative pressure adsorption mechanism of an intelligent safety monitoring robot for shaft construction is shown in Figure 7.
Under different inlet conditions for the centrifugal fan, the comparison curve between the input voltage of the driving motor of the centrifugal fan, the output power, and output negative pressure of the negative pressure generator is shown in Figure 8, where the red curve indicates the test data when the air inlet was fully opened, while the blue curve indicates the test data when the air inlet was fully closed.  Advances in Civil Engineering With the increase of the input voltage of the driving motor of the centrifugal fan, the power consumption of the negative pressure generator, and the difference between negative pressure inside and outside the negative pressure chamber grew accordingly. Under the same input voltage, the negative pressure generator needed to consume more power when the inlet of the glass rotameter was fully opened. If the sealing effect of the robot can be improved and the air leakage can be further reduced, the power consumed by the fan can be decreased dramatically. As far as the robot was concerned, its working time was obviously prolonged when carrying the same power supply. e product of the flow rate and negative pressure of the negative pressure generator, divided by the power consumption of the driving motor, was the efficiency of the negative pressure generator. e efficiency of the negative pressure generator of the wall-climbing robot during the variation of air leakage flow was analyzed, and the results are shown in Figure 9(a). When the wall-climbing robot ran on different walls, due to different roughness of the wall surfaces, the leakage flow of the sealing mechanism changed. e negative pressure generated by the negative pressure generator at different flow rates is displayed in Figure 9(b).
It can be seen from Figure 9(a) that when the flow rate of the negative pressure generator was greater than 30 m 3 /hour and less than 75 m 3 /hour, its efficiency was close to or greater than 90%, and the fan showed high efficiency as a whole, which was beneficial to the reduction of noise radiation of the wall-climbing robot.
As shown in Figure 9(b), within a large variation range of flow rate, the negative pressure output by the negative pressure generator showed straight flow rate-negative pressure features. When the robot encountered a change in the wall crack, the air leakage of the sealing mechanism changed, but the centrifugal fan can still output stable negative pressure, which offered a guarantee for the stable adsorption of the wall-climbing robot and satisfied the robot's requirements of safe adsorption.

Robot Control and Drive Design.
e robot control module is the drive control and function control parts of the robot, which can implement automatic crawling, probe scanning movement, and its control. e master control module is responsible for the coordination and external interaction of such modules as human-computer interaction display, sensor acquisition, visual processing, drive control, and communication modules in the whole system. As shown in Figure 10, the module consists of a master control embedded control unit, master control embedded processing unit, and wireless data transmission module. e design of a portable handheld control box greatly reduces the operation difficulty and can display the site images and sound in real time. e remote control handle can control the movement of the robot. e robot also has a remote control function, which is operated by the operator with the computer at the ground control center. e robot can patrol by itself according to the set planning route. Aiming at the operating characteristics of the intelligent safety monitoring robot for shaft construction, the mainstream technology of existing wall-climbing robots and separate study on the motion system control and the adsorption system control as two independent parts are changed, and the two are combined for research to achieve the optional reliable control of the motion system and the adsorption system. e driving motor of the robot is a brushless DC servo motor, with the advantages of small motor size, lightweight, large output force, quick response, high speed, small inertia, smooth rotation, stable moment, and intelligence. Besides, its electronic commutation mode is flexible, including square wave commutation or sine wave commutation. e motor also has the characteristics of no need of replacing the carbon brush, maintenance-free, high efficiency, low operating temperature, low noise, low electromagnetic radiation, and long life, which is applicable to the coal mine shaft environment.    Advances in Civil Engineering To implement the autonomous walking patrol of the robot, it is necessary to design the robot servo motor control system and position determination module. e servo controller is a controller used to control the servo motor, and its function is similar to that of the frequency converter on the ordinary AC motor. e servo controller is an important part of the servo system, and it is mainly used in the highprecision position control system. Generally, the servo motor is controlled by position, speed, and torque to implement the precise positioning of the transmission system. e servo driver is designed to adopt the mainstream digital signal processor (DSP) as the control core, which can realize a complex optimization control algorithm and give consideration of the digitalization, networking, and intelligence at the same time. e driving circuit of the power device is designed with the intelligent power control module (IPM) as the core, and the control circuit function and high power electronic switching device are integrated into the IPM. It has input isolation, energy consumption braking, overtemperature, overvoltage, over current protection, intelligent fault diagnosis, and other functions. e soft starting circuit is also designed in the main circuit to reduce the impact of the motor starting process on the driver. e power driving unit first rectifies through the full-bridge rectifier circuit to get the corresponding direct current and then drives the servo motor through the conversion of the PWM inverter frequency. Since the precision of open-loop control cannot well meet the requirements of the robot, the most fundamental method is to adopt the closed-loop control mode in order to improve the control precision of the servo drive. In other words, there is not only a precursor control channel but also a feedback channel to detect the output. e deviation signal is obtained after the comparison between the instruction signal and the feedback signal to form the closed-loop control system with the deviation control.
e motion control algorithm of the safety monitoring robot walking along the shaft is the key to the robot design. e control algorithm can ensure that the robot runs smoothly along the set walking path, reaches the expected posture and patrol speed, and can adapt to the strong electromagnetic interference environment in the shaft. e control function is mainly implemented by the feedback of the position loop, speed loop, and current loop of the robot motion control system. e so-called loop refers to providing feedback to the processing link for the enhancement of system stability and performance. e speed loop is established based on the current loop, and the position loop is established based on the speed loop and the current loop. e input of the position loop specifically refers to the external pulse, which is processed by smoothing filtering and electronic calculation as the setting of the "position loop." e setting and the pulse signal feedback from the encoder, after calculation by the deviation counter and the PID adjustment at the position loop, are output. Together with the feedforward signal given by the position, they are input to the speed loop. en, the difference after the comparison between the input value and the "speed loop feedback" value in the speed loop is input to the current loop as the value after PID adjustment. e difference after the comparison between the input value and the "current loop feedback" value in the current loop is output to the motor as the value after PID adjustment. e "output of current loop" is the phase current of the motor at each phase. Asynchronous sampling is used to design the position loop and speed loop. e sampling cycle of the position loop is set to T 1 � 5 ms and that of the speed loop is set to T 2 � 128 μs. e current loop is designed to select the parameters of the power control module reasonably. Generally, the adjustment of the position loop is to control different algorithms of the curvilinear motion of the mobile robot. Kanayama proposed a simple and effective control algorithm based on the kinematics model of the mobile robot, which can guarantee stable trajectory tracking characteristics.
e correct and practical design of the path walking control algorithm of the safety monitoring robot is reflected in the asymptotic convergence of the robot walking track to the planned inspection path, posture, and speed, which are consistent with the planning requirements. (x, y, θ) T in the Cartesian coordinate system represents the actual posture of the robot. (x, y, θ) T is the error between the actual posture (x, y, θ) T of the robot and the planned posture (x r , y r , θ r ) T . v and w are the translational and rotational speeds of the robot during walking, and they are the planned speed. e objective of the control algorithm is to seek the feed control rate U � (u 1 + u 2 ) T so that for any initial posture and speed error, the robot has the following under the control algorithm: When the robot tracks the track of the planned route, the error equation is described as e stable control algorithm is designed as follows: where v 0 Formula (11) shows the control algorithm proposed by Kanayama directly considering the kinematics model of the robot, where translational velocity v and rotational velocity w of the robot are control variables, and K X , K Y, and K θ are bounded parameters: where λ ≥ 0 is dynamic convergence gain: Based on the above formulas, the control algorithm is a function of the state variable (X, Y, θ, v, w) T . Since it is based on the dynamics model of the robot and the algorithm is the feedback control of moment, (u 1 , u 2 ) T � (v, w) T . Under the action of control algorithm (10), the five-dimensional state variable (X, Y, θ, v, w) T of the mobile robot asymptotically converges to (ε 1 , ε 2 , ε 3 , v r , w r ) T , where ε 1 , ε 2, and ε 3 are small enough. In other words, when the algorithm of formula (10) is used to control the safety monitoring robot to walk along the planned route, the position error between the actual running track of the safety monitoring robot and the planned route will converge to a small enough value, and the actual walking speed of the safety monitoring robot can also reach the planned speed set when walking according to the planned route.

Robot Communication Design.
e robot communication system is an important means for the robot to implement information exchange. In the aspect of robot communication design, with the increasing complexity of information processing, different robot communication methods are selected according to the needs of the working environment and different application fields. It is necessary to study the communication technology and method of the safety monitoring robot for coal mine shaft according to the structural characteristics of the shaft. Due to the narrow and long space of the shaft and the large depth of the coal mine shaft, the traditional wired communication method has some shortcomings, such as the inability to match the robot and the difficulty in laying cables in the shaft. Hence, the optimal scheme is to adopt the wireless communication method and study the wireless coverage technology of coal mine shafts. In order to ensure the real-time transmission of robot data and control signals, the wireless network coverage technology for coal mine shaft construction period based on 5G is studied. e system is composed of 5G core network, 5G base station controller, 5G base station, and 5G industrial router. e wireless base station for 5G communication is set at an appropriate position in the shaft to realize 5G signal coverage of the shaft. 5G industrial module is designed and installed on the robot body to realize realtime control and high-speed data transmission of the robot. As the core component of 5G network connection for industrial products, 5G industrial module encapsulates 5G baseband chips, RF, storage, power management, and other hardware together and provides standard hardware and software interfaces to lower the threshold for industry users. e encapsulated modules also reduce the overall cost of the system. e use environment of industrial modules is complex and harsh. 5G industrial modules are required not only to have high speed and low delay but also to be high and low temperature resistant, more reliable, and safer. ey also should have the ability of network-oriented evolution to protect the equipment. e industrial module is designed to adopt the Huawei Balong HM5000-31 chip, and the core components include master chip, PMU, and RF devices, so it is applicable to the safety monitoring rotor for shafts. NSA/SA dual mode is supported, and different 5G mode networks can be connected flexibly according to actual needs. 5G SA 5G SA and 2G/3G/4G/5G compatibility are supported for direct synchronization of 5G network coverage. e download rate is as high as 2 Gbps, and the upload rate is as high as 230 Mbps, meeting the high bandwidth requirements of shaft safety inspection. e operating temperature range is −40°C-85°C, and high-reliability devices and unique industrial designs are adopted to adapt to the complex environment of coal mine shafts. e dual safety mechanism of TrustZone supported by the microkernel can ensure the safety monitoring robot works safely and reliably. With the high-performance application processor, its computing power is up to 14400DMPIS, and 18 types of hardware interfaces can fully meet the needs of industrial equipment interface.

Intelligent Sensing System Design of the Robot.
e selection of robot sensors depends on the working needs and application characteristics of the robot. For the complexity of the environment in the period of shaft construction, especially the diversity of gas components in the shaft environment, it is necessary to study the monitoring and sensing technology of the shaft environment. e curves of shaft sinking speed and methane concentration are shown in Figure 11.
Firstly, it is necessary to study the sensing technology suitable for the environment of the coal mine shaft, develop intelligent sensors, develop a wind sensor for real-time monitoring of shaft wind speed, develop a methane sensor to monitor methane gas concentrations in the shaft environment, develop a carbon monoxide sensor to monitor carbon monoxide gas concentrations in the shaft environment, develop a dust sensor to monitor dust concentration in the shaft, and develop a smoke sensor to monitor the construction environment after blasting. In addition, the data acquisition device can communicate with the sensor in real time to collect and receive the data information of the sensor and achieve collection and monitoring of shaft environment information. Different weight grades are distributed to the data collected by different sensors and different locations according to safety prewarning needs and data importance degree. Fusion calculation and result evaluation of several monitoring data is performed using a fuzzy comprehensive evaluation model. By doing so, it makes up for the deficiency that one-sided data cannot fully reflect the mine safety level, thereby realizing accurate monitoring and objective evaluation of the overall safety of the whole mine shaft area. e structure of the data acquisition device is shown in Figure 12. Moreover, to achieve autonomous walking and obstacle avoidance of the robot, the robot also should be equipped with IMU posture sensor, laser radar obstacle avoidance sensor, ultrasonic ranging obstacle avoidance sensor, and depth camera sensor. e sensor acquisition module uses STM32F407 SCM as the core of the module acquisition, conducts communication and data acquisition with various sensors through different interfaces, and packs and uploads the data to the master control and communication module after summarization.
is design is easy to expand and reduce the pressure of the master control module.

Design of Hazard Source Recognition System.
e sensing system is the most important part of the interaction of the intelligent robot with the human and external environment. Due to the complex environment of the shaft construction period, it is difficult for production and operation personnel to inspect. Due to blasting, external force, and groundwater, the safety monitoring problem for shafts stands out, which is sudden and unpredictable. In case of any abnormal condition, relevant personnel cannot be notified in time, which may easily cause safety accidents. Hence, the intelligent safety monitoring robot for coal mine shaft construction shall have the ability of visual recognition of hidden dangers. Visual recognition technology, also known as image recognition technology, can replace manpower to realize image recognition and classification by means of digital image processing and computer high-performance computing. By using visual recognition technology, image content can be quickly recognized through image collection, preprocessing, feature collection, classification decision-making, and other functions. An actual on-site condition can be accurately judged. By providing standardized supporting data, together with the automatic control system, it can execute a specific operation according to the set program. e visual recognition unit of the intelligent safety monitoring robot system is based on TCP/IP and SIP protocols. e advanced digital signal processing technique can implement video data acquisition (developing video capture device and recognition technology). It has intelligent analysis (able to distinguish abnormal situations and faults of shafts) function. e intelligent software platform can be linked with the intelligent broadcasting system to broadcast safety warning information so that safety supervision personnel can grasp the state of the shaft in time. e professional video capture device can overcome the interference of video recognition caused by shaft lighting limit, lack of color information, and similar target and background. e system applies video enhancement algorithm and intelligent video recognition technology, which can detect the abnormal state information of "man-machine-environment" from the video image of a dangerous area, automatically capture and track the abnormal point, discover in time and intelligently identify shaft wall fracture, water seepage, and other dangerous sources, as well as empty roof operation and other violations, and give timely warning. It can also be integrated with other shaft monitoring systems to identify potential safety hazards such as structural stress change of shaft wall and shaft wall deformation and provide the site basis for technical personnel to evaluate the safety state of the shaft and make the decision of shaft construction, which can effectively guarantee the safety of shaft construction and improve the efficiency of shaft construction. As well, the system can intelligently judge and track autonomously the abnormal position and give early warning in time. e functions of the hazard source recognition module are shown in Figure 13.

Design of Miss-Fire Explosive Recognition
System. In coal mine shaft construction, blasting construction is a common working mode. In the process of blasting construction, due to the quality of the explosive, the quality of the detonator, the damage of the gun wire, the bad contact of the gun wire, and other reasons, individual explosive detonators fail. e miss-fire explosives remain in the muck. In the muck cleaning and transportation process, explosives may explode due to the impact of external forces.
ere is an unpredictable risk of explosion, and this can also cause casualties and property damage. Miss-fire explosive detection is a difficulty of current blasting operation. Manual detection has the disadvantage of high risk and low recognition rate. e automatic recognition device for missfire explosive can be carried by the robot to ensure the speed and reliability of information reading. e wireless communication technology and flexible label coding identification technology can be used to reliably identify the miss-fire detonator and explosive, which greatly improves the detection rate of miss-fire explosives. e recognition work does not require manual interference, and automatic recognition and warning can be implemented. After blasting, the robot can detect the miss-fire explosive and safe state of the operating plane. After confirming the safety, workers can enter the construction site. Such practice greatly safeguards the safety of operating personnel and reduces accidents. e intelligent recognition device of miss-fire detonators and miss-fire explosives in shaft construction can accurately recognize miss-fire detonators and miss-fire explosives in the blasting construction during the coal mine blasting period. e intelligent recognition device of miss-fire detonators and miss-fire explosives in shaft construction is mainly composed of a portable recognition host of miss-fire detonators and miss-fire explosives and flexible recognition label. As shown in Figure 14, the portable recognition host of miss-fire detonators and miss-fire explosives mainly consists of shell, data interface, sound alarm device, alarm module, portable device, LED display module, light alarm device, communication module, antenna, control panel, mainboard, and battery module. e flexible recognition label is composed of a flexible pastable body, chip mainboard, and external identification. e wireless communication technology and flexible label coding recognition technology are applied in the intelligent recognition device of miss-fire detonators and missfire explosives in shaft construction. A passive electronic radio frequency tag with frequency hopping operating mode is designed, which has a very strong antijamming capability. With more accurate and faster recognition capacity, the noncontact reading mode is realized, and the distance can reach more than 10 m. e device can read the information of multiple explosives and detonators at the same time, with ultralow power consumption. e size and weight decrease effectively, and the device can be arranged flexibly and safely.
e speed and reliability of information reading can be ensured, and the position and quantity of miss-fire detonators and explosives can be accurately and reliably identified. e plane position of detonator monitoring is shown in Figure 15.
Prior to blasting, each detonator and each explosive cartridge are fixed on the passive flexible recognition label, and coding and position setting are conducted. e portable recognition host of miss-fire detonators and explosives and the flexible recognition label can keep wireless real-time communication and receive and send state information data. After shaft blasting, the portable recognition host of missfire detonators and explosives can be carried by the safety monitoring robot or safety monitoring personnel to accurately distinguish miss-fire detonators and miss-fire explosives.

Design of Robot Software Platform
e robot software platform can support all functions of the robot, and its development quality concerns the success or failure of robot research. For the problems of high specificity, low developability, and high upgrade cost of robot control software, the general control software platform scheme is proposed. e general robot software platform can display the video pictures sent back by the robot in real time, display hazardous gas data collected by the robot, alarm for abnormal data, and analyze, store, share, and print data. Besides, the platform has the function of remote control and remote parameter setting for the robot, which can assist the robot in implementing intelligent decision-making and provide technical support for safety managers to make correct decisions. e platform has the following functions: making and issuing robot inspection plan, implementing 24 h patrol of the robot, remote parameter setting, remote control of robot, robot real-time state monitoring, processing and display of shaft information collected by the robot, robot state display, visual intelligent identification of hazard sources in shaft construction, intelligent warning, data storage, relevant system data access, and report printing. e real-time data of working face distance, wind speed, and dust concentration are shown in Figure 16.
Considering the platform development, visualization requirements, interface, and communication requirements, compared with Windows operating system, the Linux visualization engine (Unity) is difficult to deploy and maintain. In addition, it is necessary to convert to C++, and some functions of C# cannot be implemented. Moreover, it is also difficult to maintain the network, serial port, and other peripheral sensing nodes under Linux. Hence, Windows 10 is chosen as the operating system. Unity (version no. 2018.4.8f1) is chosen as the standard for the master software interface development platform.
is version is a long-supported version of Unity (LTS), which is beneficial to subsequent maintenance. Compared with the development platform based on graphics components such as QT, Unity has such advantages as saving development cost, being based on    components and frame, high rendering performance, advanced light effect particle system, and extensibility.

Conclusion
is study discusses the design and research of intelligent safety monitoring robot during the construction of coal mine shaft from the perspective of practical application. e research project can effectively reduce all kinds of accidents during the construction of the coal mine shaft. e organic combination with the equipment and personnel management system better plays the role of the safety monitoring robot, guarantees work safety in the period of shaft construction, improves shaft construction efficiency, reduces personnel and property loss, and saves human resource cost. Because the intelligent safety monitoring robot technology for coal mine shaft construction has no successful precedent for reference, this study has certain technical limitations. e robot's functions and performance indexes still remain to be improved and perfected. e research of coal mine safety monitoring robot just starts. As national coal mines become intelligent and the unmanned strategy is gradually advanced, the coal mine safety monitoring robot will play a greater role in the field of coal mine safety inspection, and the technical development of coal mine safety monitoring robot will change quickly. With the promotion and application of safety monitoring robot in the shaft construction period, safety hazards can be found in time and faults can be cleared. Meanwhile, safety guarantee capability in the shaft construction period can improve, and safety accidents in the shaft construction period will certainly be reduced. erefore, the smooth implementation of coal mine construction is guaranteed.

Data Availability
No data were used to support this study.  14 Advances in Civil Engineering