A safety monitoring system and method based on intelligent mine construction site

By using GAN and LSTM networks in the mine smart construction site combined with smart safety helmets, identifying the location of construction machinery and personnel, predicting the movement path and providing early warning, the problem of insufficient security detection in the existing technology has been solved, and the construction has been significantly improved Safety and accident prevention capabilities.

CN118172732BActive Publication Date: 2024-11-01BEIJING NORTH STAR DIGITAL REMOTE SENSING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410450375.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-15
Publication Date
2024-11-01
Estimated Expiration
2044-04-15

AI Technical Summary

Technical Problem

The safety detection method of the existing mine smart construction site safety monitoring system is relatively single, making it difficult to detect more dangerous sources, and cannot effectively protect the personal safety of construction personnel.

Method used

Using security monitoring methods based on GAN network and LSTM network, by obtaining construction site images and mechanical status, identifying the location of construction machinery and personnel, combining intelligent safety helmets to obtain head attitude information, predict the movement path of construction personnel, and according to the mechanical working range and personnel location provide early warning and risk avoidance guidance.

Benefits of technology

It realizes rapid and accurate location identification and real-time safety management of the construction site, significantly reducing the incidence of accidents and improving construction safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118172732B_ABST
    Figure CN118172732B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of construction safety monitoring, and specifically is a safety monitoring system and method based on a smart mine site. In the method, an improved GAN network is built, a generator and a discriminator are determined, and the head posture information of the construction workers is obtained by using the smart safety helmets worn by the construction workers. The position information and head posture information of the construction workers are used as the input of the GAN network, and the hidden feature information of the construction workers is obtained by using the path generator LSTM network, and the dynamic changes of the construction workers' field of vision are captured, and the GAN network model is driven to predict the movement path of the construction workers; the predicted path of the construction workers is determined by the discriminator. The safety monitoring system provided by the present invention also includes a target detection and recognition module, a range recognition module, an early warning prediction module, and an early warning execution module. The present invention provides an efficient, intelligent, and safe monitoring system and method for the construction site of a mine site, which significantly improves the quality and safety of construction operations.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] Mining construction is an industry with a higher risk of accidents, so construction safety is the top priority in mining projects.

[0003] At present, with the rapid development of information technology, the construction of smart mine sites has also brought more auxiliary means to construction safety.

[0004] Therefore, safety monitoring technology based on smart mine sites is an important technical support for ensuring safe production in mines. By continuously introducing and integrating new technologies, future mine safety monitoring systems will be more intelligent and automated, and will be able to more effectively prevent and respond to mine safety accidents, providing a solid technical guarantee for the sustainable development of mining companies.

[0005] After searching by the inventor, a patent document with announcement number CN114677640A discloses a smart construction site safety monitoring system and method based on machine vision. The system includes a construction site data collection system and a safety behavior monitoring system. The construction site data collection system uses a video capture device to collect construction site video data; the safety behavior monitoring system executes a construction site safety algorithm based on the input video data to identify potential dangers; the safety behavior monitoring system includes: a target detection module, which is used to extract features from each frame of input image data and determine the detection frame position of the target; a target tracking module, which is used to track the target in the detection frame in real time and determine the path status; and a safety detection module, which analyzes the worker's behavior based on the target detection and target tracking algorithms to determine whether there is one or more of the following situations: not wearing a safety helmet or falling. The safety detection module also detects hidden dangers of fireworks.

[0006] However, in order to protect the personal safety of construction workers, the monitoring system of the above scheme monitors the behavior of construction workers through image monitoring or video monitoring. However, this safety monitoring method mainly performs safety detection on construction workers and their behavior. Its safety detection method is relatively single, and it is difficult to detect more danger sources, and it cannot better protect the personal safety of construction workers. Summary of the invention

[0007] The purpose of the embodiments of the present invention is to provide a safety monitoring system and method based on a smart mine site, aiming to solve the technical problems that the safety detection method of the existing monitoring system is relatively single, it is difficult to detect more danger sources, and it cannot better ensure the personal safety of construction workers.

[0008] To achieve the above object, the present invention provides the following technical solutions.

[0009] In a first aspect, in one embodiment of the present invention, a safety monitoring method based on a smart mine site is provided, the safety monitoring method comprising the following steps:

[0010] Obtain construction site images of the mine site, and use the detection model to identify the locations of construction machinery and construction personnel in the construction site images;

[0011] Obtain the construction status of the construction machinery based on the industrial computer and obtain the working range of the construction machinery;

[0012] Build an improved GAN network, determine the generator and discriminator, use the smart helmets worn by construction workers to obtain the head posture information of construction workers, use the location information and head posture information of construction workers as the input of the GAN network, use the path generator LSTM network to obtain the hidden feature information of construction workers, capture the dynamic changes of the construction workers' field of vision, and drive the GAN network model to predict the movement path of construction workers; use the discriminator to determine the predicted path of construction workers;

[0013] Based on the working range of the construction machinery, the current location of the construction workers and the predicted path of the construction workers, early warnings and risk avoidance guidance are provided to the construction workers.

[0014] Furthermore, the step of using the detection model to identify the positions of construction machinery and construction personnel in the construction site image includes:

[0015] Preprocess the construction site images and construct an image dataset containing the annotation information of various construction machines and construction workers. The annotation information includes the location labels and category labels of the construction machines and construction workers.

[0016] The Faster R-CNN target detection model is trained using an image dataset. The Faster R-CNN target detection model includes a basic CNN network and an RPN network. The CNN network is used to extract image features, and the RPN network is used to generate candidate regions for the target.

[0017] Use the trained Faster R-CNN target detection model to identify the locations of construction machinery and construction personnel in construction site images.

[0018] Furthermore, the steps of training the Faster R-CNN target detection model using the image dataset include:

[0019] Fix the parameters of the basic CNN network and use the image dataset to train the RPN network;

[0020] After the RPN network training is completed, the entire Faster R-CNN network, including the basic CNN and classifier, is trained with the labeled candidate regions, and the parameters of all layers are fine-tuned to minimize the loss function of the entire network, including classification loss and regression loss. The classification loss uses the cross entropy loss; the regression loss uses the smooth L1 loss.

[0021] Furthermore, the smoothed L1 loss is expressed as:

[0022]

[0023] Among them, q represents the difference between the predicted value and the true value;

[0024] When |q| is less than 1, the L2 square loss form is used to calculate the square of the coordinate difference;

[0025] When |q| is not less than 1, the L1 absolute value loss form is used to calculate the absolute difference between each coordinate of the bounding box and the true value.

[0026] Furthermore, in the steps of building an improved GAN network:

[0027] The generator consists of the first fully connected linear embedding μ. The encoder module in the generator contains a layer of 128 LSTM units. The decoder module uses two consecutive latent codes, noise vectors, and pooling vectors, and then decodes the predictions using 128 LSTM units in one and three fully connected layers.

[0028] The discriminator uses two LSTM-OE blocks and LSTM-PE blocks with two hidden layer sizes of 128 each to process the observation path and the prediction path. The output results are processed in parallel with two fully connected layers, and then they are connected to two independent fully connected blocks in the feed, two independent fully connected blocks soft classification module and reconstructor module;

[0029] During the training process of the GAN network, the following hyperparameter settings were used to train the GAN network: the minimum batch size was 64, the learning rate of the generator was 0.001, the learning rate of the discriminator was 0.0001, the momentum coefficient was 0.9, and the number of iterations was not less than 20,000;

[0030] Among them, in each iteration, the iteration speed is updated according to the current gradient and the previous speed. The iteration speed is used to update the weights of the GAN network. The update formula is as follows:

[0031]

[0032] θ t+1 =θ t +v t ;

[0033] Among them, v t represents the current iteration speed; σ represents the momentum coefficient; κ represents the learning rate; represents the gradient of the current iteration; θ represents the network parameters.

[0034] Furthermore, in the generator, the LSTM layer encodes the position feature vector at each moment to obtain the construction worker path feature encoding vector, where the calculation formula of the encoding process is expressed as:

[0035]

[0036]

[0037] in, represents the coordinate position of construction worker i at time t, φ represents a fully connected layer used to convert the coordinate position into a feature vector, represents the position feature vector; W ee represents the parameters of the fully connected layer φ; W encoder Represents the parameters of the encoder LSTM layer; Represents the construction workers’ historical path feature encoding vector.

[0038] Furthermore, in the generator, the hidden state at each moment uses a multilayer perceptron ξ to obtain the predicted coordinate position of the construction worker at moment t, where:

[0039] Decoder LSTM layer initial hidden state It is expressed as:

[0040]

[0041]

[0042] Among them, z represents a randomly distributed noise, η represents a multi-layer fully connected with ReLU, W η represents the weight of the fully connected band;

[0043] The LSTM layer encodes each moment, and the hidden state at each moment It is expressed as:

[0044]

[0045]

[0046] The predicted coordinate position is expressed as:

[0047]

[0048] Furthermore, in the process of building an improved GAN network, the loss function Loss used includes adversarial loss and L2 loss. The loss function Loss is expressed as:

[0049] L=maxL CGAN (G, D)+αL 12 (G);

[0050] Among them, α represents a balance coefficient; L CGAN Indicates resistance loss; L 12 represents L2 loss;

[0051] The adversarial loss is expressed as:

[0052] L CGAN (G, D)=∑[ln(D(Y,X))+ln(1-D(G(z,X)))];

[0053] The L2 loss is expressed as:

[0054]

[0055] Among them, Y represents the true value of the predicted path; Represents the predicted path.

[0056] Furthermore, according to the working range of the construction machinery, the current position of the construction personnel and the predicted path of the construction personnel, the steps of providing early warning and risk avoidance guidance to the construction personnel include:

[0057] Divide the working range of the construction machinery into a danger zone and an activation zone located outside the danger zone;

[0058] When a construction worker is currently in an activation zone or a danger zone, the construction worker's smart helmet is used to warn the construction worker and to remind the operator of the construction machinery;

[0059] When the predicted path of a construction worker shows that the construction worker will pass through an activation zone or a danger zone, the construction worker's smart safety helmet is used to provide an early warning to the construction worker.

[0060] In a second aspect, in another embodiment of the present invention, a safety monitoring system based on a mine smart site is also provided, the safety monitoring system comprising:

[0061] Target detection and recognition module: used to obtain the construction site image of the mine construction site, and use the detection model to identify the location of the construction machinery and construction personnel in the construction site image;

[0062] A range identification module is used to obtain the construction status of the construction machinery based on the industrial computer and obtain the working range of the construction machinery;

[0063] The early warning prediction module is used to build an improved GAN network, determine the generator and the discriminator, use the smart safety helmets worn by construction workers to obtain the head posture information of the construction workers, use the construction workers' position information and head posture information as the input of the GAN network, use the path generator LSTM network to obtain the hidden feature information of the construction workers, capture the dynamic changes of the construction workers' field of vision, and drive the GAN network model to predict the movement path of the construction workers; use the discriminator to determine the predicted path of the construction workers;

[0064] The early warning execution module is used to provide early warning and risk avoidance guidance to construction workers based on the working range of construction machinery, the current location of construction workers and the predicted path of construction workers.

[0065] Compared with the prior art, the safety monitoring system and method based on the mine smart site of the present invention has the following beneficial effects:

[0066] First, the present invention can quickly and accurately identify the location of construction machinery and construction personnel by acquiring images of the construction site and using the detection model, and the construction machinery status monitoring system based on the industrial computer can obtain the working range and status information of the machinery in real time;

[0067] Second, by building an improved GAN network and combining the head posture information and position information of the construction workers, the present invention can use the path generator LSTM network to conduct in-depth analysis and learning of the hidden characteristics of the construction workers, which can effectively predict the movement paths of the construction workers and provide decision support for the safety management of the construction site.

[0068] Third, the present invention uses smart helmets to capture the dynamic changes in the construction workers' field of vision, allowing the GAN network to more accurately simulate the construction workers' behavior patterns. This dynamic capture capability helps to better understand the construction workers' behavior habits and possible movement trends;

[0069] Fourth, the present invention combines the working range of the construction machinery, the current position of the construction personnel and the predicted path, and the system can provide real-time early warning and risk avoidance guidance to the construction personnel, which can significantly reduce the accident rate and protect the lives of the construction personnel.

[0070] In summary, the present invention provides an efficient, intelligent and safe monitoring system and method for mine construction sites, which significantly improves the quality and safety of construction operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0072] Figure 1This is a structural block diagram of a safety monitoring system based on a mine smart site according to the present invention;

[0073] Figure 2 This is a flow chart of a safety monitoring method based on a smart mine site according to the present invention;

[0074] Figure 3 It is a sub-flow chart of the safety monitoring method based on the intelligent mine construction site of the present invention;

[0075] Figure 4 It is another sub-flow chart of the safety monitoring method based on the intelligent mine construction site of the present invention;

[0076] Figure 5 It is another sub-flow chart of the safety monitoring method based on the intelligent mine construction site of the present invention;

[0077] Figure 6 The present invention provides a structural block diagram of a computer device. DETAILED DESCRIPTION

[0078] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0079] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0080] like Figure 1 As shown, in a preferred embodiment of the present invention, a safety monitoring system based on a mine smart site, the safety monitoring system comprises:

[0081] The target detection and recognition module 101 is used to obtain the construction site image of the mine construction site, and use the detection model to identify the location of the construction machinery and the construction personnel in the construction site image;

[0082] The range identification module 102 is used to obtain the construction status of the construction machinery based on the industrial computer and obtain the working range of the construction machinery;

[0083] The early warning prediction module 103 is used to build an improved GAN network, determine the generator and the discriminator, use the smart safety helmets worn by the construction workers to obtain the head posture information of the construction workers, use the location information and head posture information of the construction workers as the input of the GAN network, use the path generator LSTM network to obtain the hidden feature information of the construction workers, capture the dynamic changes of the construction workers' field of vision, and drive the GAN network model to predict the movement path of the construction workers; use the discriminator to determine the predicted path of the construction workers;

[0084] The early warning execution module 104 is used to provide early warning and risk avoidance guidance to the construction personnel based on the working range of the construction machinery, the current position of the construction personnel and the predicted path of the construction personnel.

[0085] The safety monitoring system of the present invention can quickly and accurately identify the positions of construction machinery and construction personnel by acquiring images of the construction site and using the detection model, and the construction machinery status monitoring system based on the industrial computer can obtain the working range and status information of the machinery in real time; further, by building an improved GAN network, combined with the head posture information and position information of the construction personnel, the path generator LSTM network can be used to conduct in-depth analysis and learning of the hidden characteristics of the construction personnel, and the movement path of the construction personnel can be effectively predicted. Combined with the working range of the construction machinery, the current position of the construction personnel and the predicted path, the system can provide real-time early warning and risk avoidance guidance to the construction personnel, which can significantly reduce the accident rate and protect the lives of the construction personnel.

[0086] like Figure 2 As shown, in another embodiment of the present invention, a safety monitoring method based on a mine smart site is provided, and the safety monitoring method includes the following steps:

[0087] Step S201: Acquire a construction site image of a mine construction site, and use a detection model to identify the positions of construction machinery and construction personnel in the construction site image;

[0088] In order to achieve safe monitoring of mine sites, it is crucial to obtain images of the construction site and identify the key elements therein. First, high-definition cameras need to be installed at various key locations on the mine site to monitor the construction site in real time. These cameras should have good resolution and the ability to adapt to various lighting conditions to ensure that clear images can be obtained in different time periods and weather conditions.

[0089] The collected image data needs to be transmitted to the central processing system in real time through a wired or wireless network. The images transmitted to the central processing system will be stored in the database for subsequent analysis and processing;

[0090] Before feeding the image into the detection model, some preprocessing operations are required, such as adjusting the image size, contrast enhancement, denoising, etc., to improve the recognition accuracy of the model.

[0091] Furthermore, the security monitoring method of the embodiment of the present invention further includes:

[0092] Step S202: obtaining the construction status of the construction machinery based on the industrial control computer to obtain the working range of the construction machinery;

[0093] Mining construction machinery is equipped with a variety of sensors, such as position sensors, speed sensors, load sensors, etc. These sensors can monitor the status and performance of the machinery in real time; by integrating these sensors with industrial computers, real-time data of the machinery can be collected.

[0094] Step S203: Build an improved GAN network, determine the generator and the discriminator, use the smart helmets worn by the construction workers to obtain the head posture information of the construction workers, use the location information and head posture information of the construction workers as the input of the GAN network, use the path generator LSTM network to obtain the hidden feature information of the construction workers, capture the dynamic changes of the construction workers' field of vision, and drive the GAN network model to predict the movement path of the construction workers; use the discriminator to determine the predicted path of the construction workers;

[0095] Step S204: Provide early warning and risk avoidance guidance to the construction workers based on the working range of the construction machinery, the current position of the construction workers and the predicted path of the construction workers.

[0096] In an embodiment of the present invention, a trajectory generator LSTM network is used to obtain hidden feature information of construction workers, and the dynamic changes of the construction workers' field of vision are captured to drive the neural network model to predict the movement path of the construction workers.

[0097] In some embodiments, the construction of the trajectory generator LSTM network: The trajectory generator LSTM (Long Short-Term Memory) network is a deep learning model that is particularly suitable for processing sequence data. In the scenario of construction worker trajectory prediction, the LSTM network can learn the movement patterns and behavior habits of construction workers from historical location data. Through training, LSTM can capture the behavioral characteristics of construction workers in different time periods and encode them into hidden state information;

[0098] In some embodiments, the hidden feature information is extracted: The hidden state information of the LSTM network contains the historical behavior characteristics of the construction workers, which are crucial for predicting future movement paths. Through the internal gating mechanism of the LSTM network, long-term dependencies can be effectively extracted from the sequence data and converted into hidden feature information. This information can then be used as the input of the neural network model to predict the next action of the construction workers.

[0099] In some embodiments, capturing dynamic changes in the visual field: Dynamic changes in the visual field of construction workers refer to changes in the visual focus and attention distribution of construction workers at the construction site over time. In order to capture these changes, a variety of sensor data can be used, such as video streams captured by cameras, posture information provided by wearable devices, etc. By analyzing these data, a model of the visual field of construction workers can be constructed, and its dynamic changes can be updated in real time.

[0100] In some embodiments, prediction of the neural network model: combining the hidden feature information of the construction workers and the dynamic changes in the field of vision, the neural network model can predict the movement path of the construction workers.

[0101] As time goes by and more data is accumulated, the trajectory generator LSTM network and neural network model can optimize its prediction performance through continuous learning. By constantly adjusting and optimizing model parameters, the system can better adapt to the complex environment of the construction site and improve the accuracy and reliability of the prediction.

[0102] Through the above steps, the present invention constructs a safety monitoring method based on a mine smart construction site, which provides strong technical support for the safety management and efficiency improvement of the construction site.

[0103] Further, such as Figure 3 As shown, in an embodiment of the present invention, the step of using the detection model to identify the positions of construction machinery and construction personnel in the construction site image includes:

[0104] Step S301: Preprocess the construction site image to construct an image dataset containing annotated information of various construction machines and construction workers, where the annotated information includes location labels and category labels of the construction machines and construction workers;

[0105] Step S302: using the image data set to train the Faster R-CNN target detection model, the Faster R-CNN target detection model includes a basic CNN network and an RPN network, the CNN network is used to extract image features, and the RPN network is used to generate candidate regions of the target;

[0106] Step S303: Use the trained Faster R-CNN target detection model to identify the locations of construction machinery and construction personnel in the construction site image.

[0107] like Figure 4 As shown, in an embodiment of the present invention, the steps of training the Faster R-CNN target detection model using an image dataset include:

[0108] Step S401: fix the parameters of the basic CNN network and use the image data set to train the RPN network;

[0109] Step S402: After the RPN network training is completed, the candidate regions with annotations are used to train the entire Faster R-CNN network, including the basic CNN and the classifier, and the parameters of all layers are fine-tuned to minimize the loss function of the entire network, including the classification loss and the regression loss. The classification loss adopts the cross entropy loss; the regression loss adopts the smooth L1 loss.

[0110] The smoothed L1 loss of the embodiment of the present invention is expressed as:

[0111]

[0112] Among them, q represents the difference between the predicted value and the true value;

[0113] When |q| is less than 1, the L2 square loss form is used to calculate the square of the coordinate difference;

[0114] When |q| is not less than 1, the L1 absolute value loss form is used to calculate the absolute difference between each coordinate of the bounding box and the true value.

[0115] Therefore, the present invention can quickly and accurately identify the locations of construction machinery and construction personnel by acquiring images of the construction site and using the detection model, and the construction machinery status monitoring system based on the industrial computer can obtain the working range and status information of the machinery in real time.

[0116] In an embodiment of the present invention, in the step of building an improved GAN network:

[0117] The generator consists of the first fully connected linear embedding μ. The encoder module in the generator contains a layer of 128 LSTM units. The decoder module uses two consecutive latent codes, noise vectors, and pooling vectors, and then decodes the predictions using 128 LSTM units in one and three fully connected layers.

[0118] The discriminator uses two LSTM-OE blocks and LSTM-PE blocks with two hidden layer sizes of 128 each to process the observation path and the prediction path. The output results are processed in parallel with two fully connected layers, and then they are connected to two independent fully connected blocks in the feed, two independent fully connected blocks soft classification module and reconstructor module;

[0119] During the training process of the GAN network, the following hyperparameter settings were used to train the GAN network: the minimum batch size was 64, the learning rate of the generator was 0.001, the learning rate of the discriminator was 0.0001, the momentum coefficient was 0.9, and the number of iterations was not less than 20,000;

[0120] Among them, in each iteration, the iteration speed is updated according to the current gradient and the previous speed. The iteration speed is used to update the weights of the GAN network. The update formula is as follows:

[0121]

[0122] θ t+1 =θ t +v t ;

[0123] Among them, v t represents the current iteration speed; σ represents the momentum coefficient; κ represents the learning rate; represents the gradient of the current iteration; θ represents the network parameters;

[0124] The choice of momentum coefficient has a great impact on the training process. If the momentum coefficient σ is too large, the model network may "ignore" the recent gradient, resulting in too slow updates; if the momentum coefficient σ is too small, the network may be too sensitive to small changes in the gradient, resulting in unstable training; preferably, the momentum coefficient σ of the embodiment of the present invention is set to 0.7-0.9.

[0125] Furthermore, in the generator, the LSTM layer encodes the position feature vector at each moment to obtain the construction worker path feature encoding vector, where the calculation formula of the encoding process is expressed as:

[0126]

[0127]

[0128] in, represents the coordinate position of construction worker i at time t, φ represents a fully connected layer used to convert the coordinate position into a feature vector, represents the position feature vector; W ee represents the parameters of the fully connected layer φ; W encoder Represents the parameters of the encoder LSTM layer; Represents the construction workers’ historical path feature encoding vector.

[0129] Furthermore, in the generator, the hidden state at each moment uses a multilayer perceptron ξ to obtain the predicted coordinate position of the construction worker at moment t, where:

[0130] The initial hidden state of the decoder LSTM layer is expressed as:

[0131]

[0132]

[0133] Where z represents a randomly distributed noise; η represents a multi-layer fully connected ReLU, W η represents the weight of the fully connected band;

[0134] The LSTM layer encodes each moment, and the hidden state at each moment It is expressed as:

[0135]

[0136]

[0137] The predicted coordinate position is expressed as:

[0138]

[0139] Among them, W ξ represents the weights of a multilayer perceptron.

[0140] Furthermore, in the process of building an improved GAN network, the loss function Loss used includes adversarial loss and L2 loss. The loss function Loss is expressed as:

[0141] L=maxL CGAN (G, D)+αL 12 (G);

[0142] Among them, α represents a balance coefficient; L CGAN Indicates resistance loss; L 12 represents L2 loss;

[0143] The adversarial loss is expressed as:

[0144] L CGAN (G, D)=∑[ln(D(Y,X))+ln(1-D(G(z,X)))];

[0145] The L2 loss is expressed as:

[0146]

[0147] Among them, Y represents the true value of the predicted path; Represents the predicted path.

[0148] By building an improved GAN network and combining the head posture information and position information of the construction workers, the present invention can use the path generator LSTM network to conduct in-depth analysis and learning of the hidden features of the construction workers, and can effectively predict the movement paths of the construction workers;

[0149] Furthermore, the present invention uses smart helmets to capture the dynamic changes in the construction workers' field of vision, so that the GAN network can more accurately simulate the construction workers' behavior patterns. This dynamic capture capability helps to better understand the construction workers' behavior habits and possible movement trends.

[0150] like Figure 5 As shown, in an embodiment of the present invention, the steps of providing early warning and risk avoidance guidance to construction personnel according to the working range of the construction machinery, the current position of the construction personnel and the predicted path of the construction personnel include:

[0151] Step S501: Divide the working range of the construction machinery into a danger zone and an activation zone located outside the danger zone;

[0152] Step S502: When the construction worker is currently in the activation zone or the danger zone, the construction worker is warned by the construction worker's smart helmet, and the operator of the construction machinery is reminded;

[0153] Step S453: When the predicted path of the construction worker shows that the construction worker will pass through the activation zone or the danger zone, the construction worker is given an early warning using the smart safety helmet of the construction worker.

[0154] The present invention combines the working range of the construction machinery, the current position of the construction personnel and the predicted path, and can provide real-time early warning and risk avoidance guidance to the construction personnel, which can significantly reduce the accident rate and protect the lives of the construction personnel.

[0155] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process and related instructions of the system described above can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0156] It should be noted that the above embodiment provides a safety monitoring system based on a smart mine site, and only uses the division of the above functional modules as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the modules or steps in the embodiments of the present invention can be decomposed or combined. For example, the modules in the above embodiments can be combined into one module, or further divided into multiple sub-modules to complete all or part of the functions described above. The names of the modules and steps involved in the embodiments of the present invention are only for distinguishing the modules or steps, and are not regarded as improper limitations of the present invention.

[0157] See also Figure 6 In yet another embodiment of the present invention, a computer device is provided, including:

[0158] at least one processor; and

[0159] a memory communicatively connected to at least one of the processors; wherein,

[0160] The memory stores instructions that can be executed by the processor, and the instructions are used to be executed by the processor to implement the above-mentioned safety monitoring method based on a smart mine site.

[0161] See also Figure 6 , a computer-readable storage medium of the fourth embodiment of the present invention stores computer instructions, and the computer instructions are used to be executed by the computer to implement the above-mentioned safety monitoring method based on a smart mine site.

[0162] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process and related instructions of the storage device and processing device described above can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0163] Those skilled in the art should be able to appreciate that the modules and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two, and the programs corresponding to the software modules and method steps can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium known in the technical field. In order to clearly illustrate the interchangeability of electronic hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in electronic hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0164] Reference below Figure 6 , which shows a schematic diagram of the structure of a computer system of a server for implementing the method, system, and device embodiments of the present application.

[0165] Figure 6 The server shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application. Figure 6 As shown, the computer system includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read only memory (ROM) 602 or a program loaded from a storage portion 608 to a random access memory (RAM) 603.

[0166] Various programs and data required for system operation are also stored in the RAM 603 . The CPU 601 , the ROM 602 , and the RAM 603 are connected to each other via a bus 604 .

[0167] An input / output (I / O) interface 605 is also connected to the bus 604 .

[0168] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed so that a computer program read therefrom is installed into the storage section 608 as needed.

[0169] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the method of the present application are executed. It should be noted that the above-mentioned computer-readable medium of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above.

[0170] More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, an apparatus or a device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, an apparatus or a device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0171] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

Claims

1. A safety monitoring method based on a smart mine site, characterized in that: The safety monitoring method comprises the following steps: Obtain construction site images of the mine site, and use the detection model to identify the locations of construction machinery and construction personnel in the construction site images; Obtain the construction status of the construction machinery based on the industrial computer and obtain the working range of the construction machinery; Build an improved GAN network, determine the generator and discriminator, use the smart helmets worn by construction workers to obtain the head posture information of construction workers, use the location information and head posture information of construction workers as the input of the GAN network, use the path generator LSTM network to obtain the hidden feature information of construction workers, capture the dynamic changes of the construction workers' field of vision, and drive the GAN network model to predict the movement path of construction workers; use the discriminator to determine the predicted path of construction workers; Provide early warning and risk avoidance guidance to construction workers based on the working range of construction machinery, the current location of construction workers, and the predicted path of construction workers; In the steps of building an improved GAN network: The generator consists of the first fully connected linear embedding µ. The encoder module in the generator contains one layer of 128 LSTM units. The decoder module uses two consecutive latent codes, noise vectors, and pooling vectors, and then decodes the predictions using 128 LSTM units in one and three fully connected layers. The discriminator uses two LSTM-OE blocks and LSTM-PE blocks with two hidden layer sizes of 128 each to process the observation path and the prediction path. The output results are processed in parallel with two fully connected layers, and then they are connected to two independent fully connected blocks in the feed. The two independent fully connected blocks include a soft classification module and a reconstructor module. During the training process of the GAN network, the following hyperparameter settings were used to train the GAN network: the minimum batch size was 64, the learning rate of the generator was 0.001, the learning rate of the discriminator was 0.0001, the momentum coefficient was 0.9, and the number of iterations was not less than 20,000; Among them, in each iteration, the iteration speed is updated according to the current gradient and the previous speed. The iteration speed is used to update the weights of the GAN network. The update formula is as follows: ; in, Indicates the current iteration speed; represents the momentum coefficient; represents the learning rate; Represents the gradient of the current iteration; Represents network parameters; In the generator, the LSTM layer encodes the position feature vector at each moment to obtain the construction worker path feature encoding vector, where the calculation formula of the encoding process is expressed as: ; ; in, represents the coordinate position of construction worker i at time t, represents a fully connected layer used to transform coordinate positions into feature vectors, represents the position feature vector; Represents the fully connected layer Parameters; Represents the parameters of the encoder LSTM layer; Represents the construction personnel's historical path feature coding vector; In the generator, the hidden state at each moment uses a multi-layer perceptron Get the predicted coordinate position of the construction worker at time t, where: The initial hidden state of the decoder LSTM layer is expressed as: ; ; The LSTM layer encodes each moment, and the hidden state at each moment It is expressed as: ; ; The predicted coordinate position is expressed as: ; In the process of building an improved GAN network, the loss function Loss used includes adversarial loss and L2 loss. The loss function Loss is expressed as: ; in, represents a balance coefficient; It means fighting against loss; represents L2 loss; The adversarial loss is expressed as: ; The L2 loss is expressed as: ; Among them, Y represents the true value of the predicted path; Represents the predicted path.

2. The safety monitoring method based on a mine smart site according to claim 1 is characterized in that: The steps of using the detection model to identify the positions of construction machinery and construction personnel in the construction site image include: Preprocess the construction site images and construct an image dataset containing the annotation information of various construction machines and construction workers. The annotation information includes the location labels and category labels of the construction machines and construction workers. The Faster R-CNN target detection model is trained using an image dataset. The Faster R-CNN target detection model includes a basic CNN network and an RPN network. The CNN network is used to extract image features, and the RPN network is used to generate candidate regions for the target. Use the trained Faster R-CNN target detection model to identify the locations of construction machinery and construction personnel in construction site images.

3. The safety monitoring method based on a smart mine site according to claim 2 is characterized in that: The steps to train the Faster R-CNN object detection model using an image dataset include: Fix the parameters of the basic CNN network and use the image dataset to train the RPN network; After the RPN network training is completed, the entire Faster R-CNN network, including the basic CNN and classifier, is trained with the labeled candidate regions, and the parameters of all layers are fine-tuned to minimize the loss function of the entire network, including classification loss and regression loss. The classification loss uses the cross entropy loss; the regression loss uses the smooth L1 loss.

4. The safety monitoring method based on a smart mine site according to claim 3 is characterized in that: The smoothed L1 loss is expressed as: (1); Among them, q represents the difference between the predicted value and the true value; when When it is less than 1, the L2 square loss form is used to calculate the square of the coordinate difference; when When it is not less than 1, the L1 absolute value loss form is used to calculate the absolute difference between each coordinate of the bounding box and the true value.

5. The safety monitoring method based on a mine smart site according to claim 4 is characterized in that: Based on the working range of the construction machinery, the current location of the construction personnel and the predicted path of the construction personnel, the steps for early warning and risk avoidance guidance for the construction personnel include: Divide the working range of the construction machinery into a danger zone and an activation zone located outside the danger zone; When a construction worker is currently in an activation zone or a danger zone, the construction worker's smart helmet is used to warn the construction worker and to remind the operator of the construction machinery; When the predicted path of a construction worker shows that the construction worker will pass through an activation zone or a danger zone, the construction worker's smart safety helmet is used to provide an early warning to the construction worker.

6. A system for implementing the safety monitoring method based on a smart mine site as claimed in any one of claims 1 to 5, characterized in that: The system includes: Target detection and recognition module: used to obtain the construction site image of the mine construction site, and use the detection model to identify the location of the construction machinery and construction personnel in the construction site image; A range identification module is used to obtain the construction status of the construction machinery based on the industrial computer and obtain the working range of the construction machinery; The early warning prediction module is used to build an improved GAN network, determine the generator and the discriminator, use the smart safety helmets worn by construction workers to obtain the head posture information of the construction workers, use the construction workers' position information and head posture information as the input of the GAN network, use the path generator LSTM network to obtain the hidden feature information of the construction workers, capture the dynamic changes of the construction workers' field of vision, and drive the GAN network model to predict the movement path of the construction workers; use the discriminator to determine the predicted path of the construction workers; The early warning execution module is used to provide early warning and risk avoidance guidance to construction workers based on the working range of construction machinery, the current location of construction workers and the predicted path of construction workers.