Crane safety analysis method based on computer vision and fuzzy control

By combining computer vision and fuzzy control to analyze the safety of tower crane lifting, the problem of low efficiency of manual inspection during tower crane lifting is solved. This enables intelligent safety management and risk assessment of the tower crane lifting site, thereby improving the safety and management efficiency of the construction site.

CN117557959BActive Publication Date: 2026-11-24SOUTH CHINA UNIV OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311557208.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-21
Publication Date
2026-11-24
Estimated Expiration
2043-11-21

AI Technical Summary

Technical Problem

Existing technologies rely on manual inspections for safety management during tower crane lifting, which is inefficient and makes it difficult to achieve precise management. Existing intelligent systems are inadequate in complex scenarios and fail to meet actual needs.

Method used

Computer vision technology is used to acquire video images of the hoisting site. Image description algorithms based on spatial attention mechanism and beam search strategy are used to extract scene semantic information. Fuzzy control is combined for risk assessment and alarm. Faster R-CNN and LSTM networks are used for target detection and semantic description. A dedicated keyword matching rule base is constructed for risk assessment.

Benefits of technology

It enables intelligent safety management of tower crane lifting sites, improves the comprehensive perception and accurate analysis of safety conditions, provides reliable risk assessment and management suggestions, and enhances the management efficiency and safety of construction sites.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117557959B_ABST
    Figure CN117557959B_ABST
Patent Text Reader

Abstract

This invention discloses a safety analysis method for tower crane hoisting based on computer vision and fuzzy control, including perception and transmission, processing and analysis, decision-making and early warning, image semantic description, and fuzzy rule control. The safety analysis method involves a front-end perception and transmission module collecting visual data information of the hoisting scene, analyzing and processing this visual data information, making decisions and providing early warnings based on the analyzed information, and responding to information. The method also pre-establishes an image training library stored in a database server to provide the analysis data required for processing, and adds attention mechanisms and bundle search strategies to improve the performance of the image description algorithm. Simultaneously, fuzzy inference effectively handles the uncertainty of scene semantic information, solving the difficulty of quantifying risk assessment in construction scenarios, and realizing the function of monitoring and early warning of construction worker safety behavior in tower crane hoisting scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of computer vision perception and fuzzy control technology, specifically to a tower crane hoisting safety analysis method based on computer vision and fuzzy control. Background Technology

[0002] Construction sites, especially during tower crane hoisting operations, present numerous safety hazards due to the highly complex working environment, making them a high-risk aspect of the construction process. Currently, safety management at construction sites remains relatively outdated and rudimentary, relying primarily on manual inspections and visual checks. This approach consumes significant manpower and time while failing to achieve effective management.

[0003] The rapid development of ICT technologies such as computer vision and artificial intelligence has provided a new perspective for solving this problem. Utilizing these advanced technologies, combined with abundant data and algorithmic resources, can not only improve the accuracy of safety supervision but also help enterprises better manage and optimize resources, thereby improving overall construction efficiency. However, current research and applications are mostly single-point developments with relatively low levels of intelligence. Existing models or systems are still insufficient when handling complex scenarios and fail to meet the actual needs of current tower crane safety management. Summary of the Invention

[0004] The purpose of this invention is to overcome the above-mentioned deficiencies in the prior art and provide a tower crane hoisting safety analysis method based on computer vision and fuzzy control.

[0005] The objective of this invention can be achieved by adopting the following technical solutions:

[0006] A tower crane hoisting safety analysis method based on computer vision and fuzzy control, the tower crane hoisting safety analysis method includes the following steps:

[0007] S1. Collect large-scale construction visual data in advance, including 15 categories of targets such as people, materials, machines and site layout, and label different categories of targets to establish a semantic description training library.

[0008] S2. Construction long-range cameras and monitoring cameras collect real-time video images of construction workers operating at the hoisting site;

[0009] S3. Based on the video image information collected by the construction long-range camera and the monitoring camera, the scene semantic information in the video image information is extracted by an image description algorithm based on the encoder-decoder structure of spatial attention mechanism and bundle search strategy.

[0010] S4. Display the worker's work process and the semantic description results of the worker's work process on the LED display screen; and extract the work status risk value and environmental status risk value of the scenario represented by the semantic description from the semantic description results.

[0011] S5. Perform fuzzification and fuzzy reasoning on the risk values ​​of the operation status and the environmental status, and defuzzify the fuzzy reasoning results to determine the risk level of the tower crane hoisting scenario to be analyzed and output the judgment of the safety status; when the risk level exceeds the set threshold, the audio equipment issues an alarm message; at the same time, the safety status information of the operation process is recorded in real time.

[0012] Furthermore, step S1 is performed as follows:

[0013] S1.1 Acquire image data of hoisting scenes at construction sites using drones, handheld monocular cameras, and hook visualization devices; drones provide a high-altitude overhead view, handheld cameras handle low-altitude and hard-to-reach areas, and hook visualization devices are used to monitor the hoisting process in real time; this combination can solve the data acquisition quality problems caused by motion blur and limited angles, ensuring comprehensive and high-quality image data acquisition, and providing a more reliable foundation for subsequent data processing and analysis.

[0014] S1.2 Clean the data by deleting duplicate, ambiguous, and non-target data, and number the cleaned data. This avoids the presence of duplicate, ambiguous, and non-target data in the dataset, which could negatively impact model training and performance. At the same time, numbering the cleaned dataset ensures data uniqueness and establishes a clear identifier for the dataset.

[0015] S1.3. Use software such as Labelimg to annotate visual data, create a semantic description dataset in JSON format, and establish a semantic description training library. This annotation process needs to ensure efficiency and accuracy, providing high-quality data with semantic information for the establishment of the training library. Through effective annotation, the model can better understand image content, improving the performance of subsequent semantic description tasks.

[0016] Furthermore, step S3 is as follows:

[0017] S3.1. Use the Faster R-CNN object detection model to detect the input image, and use non-maximum suppression on the output. Targets with a confidence score greater than 0.3 are then selected from the output. The spatial location of the target corresponds to the feature map of the last convolutional layer of ResNet-101.

[0018] S3.2. Perform average pooling on the feature map of the last convolutional layer of ResNet-101 to generate a global feature vector of the image. The image feature vector corresponding to the target in the image is used as the input of the spatial attention mechanism model.

[0019] S3.3 Spatial Attention Mechanism Model: Based on the input spatial feature vector {V1, V2, ..., V...} n The hidden state h of the LSTM network in the decoder at the previous time step. t-1 The attention score for each spatial location is calculated, and then normalized using the Softmax function to generate the weights α of the selected feature vector and name attribute vector at the current time step. ij ;

[0020] e ij =f att (V j h t-1 (1)

[0021]

[0022] In the formula, e ij For attention score, f att () is the function for calculating attention score, V j h is the feature vector corresponding to the j-th target. t-1 Let α be the hidden state of the LSTM network at the previous time step. ij Here, N represents the normalized attention weights, and N is the number of targets.

[0023] By introducing an attention mechanism, the model can dynamically focus on different spatial locations in sequence modeling tasks, improve its ability to perceive key information, reduce interference from redundant information, and adapt to feature weights for different targets, thereby optimizing model performance.

[0024] S3.4, The weight α of the feature vector selected at the current time based on the current weight. ij Obtain the visual context information z at the current moment t ;

[0025]

[0026] In the formula, z t For visual context information, N is the number of targets, and V is the number of targets. j Let N be the feature vector corresponding to the j-th target, and N be the number of targets.

[0027] S3.5. The initial values ​​of the cell state and hidden state of the LSTM network are obtained by calculating the global features V of the image through two independent multilayer perceptrons.

[0028] c0 = finit,c (V) (4)

[0029] h0 = f init,h (V) (5)

[0030] In the formula, c0 is the initial cell unit state, h0 is the initial hidden state, V is the global image feature, and f init,c and f init,h These represent two independent multilayer perceptrons used to process the global image features V.

[0031] S3.7, convert the output y from the previous time step. t-1 The hidden state h from the previous moment t-1 and visual context information z i The input is used as the input to the decoder LSTM, and the hidden state h at the current time step can be calculated. t .

[0032] h t =LSTM(y t-1 h t-1 , z t (6)

[0033] In the formula, h i y is the hidden state at the current moment. i-1 h represents the output from the previous time step. i-1 The hidden state of z from the previous moment t This provides the visual context information for the current moment.

[0034] S3.8 The probability distribution of the currently output word can be obtained by using the Softmax function from the current hidden state, visual context information, and the output of the previous time step.

[0035] P(y t |h t , z t y t-1 ;E)=softmax(E·[h t , z ti y t-1 (7)

[0036] In the formula, P() represents the currently output word y. t The probability distribution of y t h represents the output at the current moment. t To be in a hidden state, z t For visual context information, y t-1 The output of the previous time step is given, E is the randomly initialized learning parameters, represents the weight matrix of the linear layer, and softmax() normalizes the vector, converting it into a probability distribution.

[0037] S3.9 After obtaining the score of each word in the output, use the bundle search strategy to optimize and improve the word selection process at each time step, and finally output the semantic description result of the image.

[0038]

[0039] In the formula, argmax represents the optimal output sequence at the current time. yt To select the output that maximizes the total score from all candidate sequences, B is the width of the beam search, representing the number of candidate sequences considered. h represents the output at the current moment. t To be in a hidden state, z t For visual context information, y t-1 The output of the previous time step is E, which is the randomly initialized learning parameter, representing the weight matrix of the linear layer.

[0040] Using a beam search strategy can optimize the output sequence selection process in image semantic description generation tasks, improve the accuracy and diversity of generated sentences, enhance the model's adaptability to different scenarios, avoid local optima, and provide flexibility between computational resources and performance requirements.

[0041] S3.10. Use the cross-entropy loss function for training, given manually labeled descriptions y. t Let θ represent the parameters in the model, and the expression for the cross-entropy loss function Loss(θ) is:

[0042]

[0043] In the formula, T represents the length of the sequence, and W is the size of the output vocabulary. h represents the output at the current moment. t To be in a hidden state, z t For visual context information, y t-1 The output of the previous time step is E, which is the randomly initialized learning parameter, representing the weight matrix of the linear layer.

[0044] To prevent overfitting and accelerate model convergence, save the optimal model weight file obtained from the final training parameters. This weight file can then be directly used in subsequent model operations.

[0045] Furthermore, step S4 is as follows:

[0046] S4.1 Construct a dedicated keyword matching rule library: Based on on-site construction experience, construct a dedicated keyword matching rule library, organize the collected safety professional terms and keywords in the hoisting process into a list, and save them in a file according to the degree of danger, frequency of occurrence, and importance;

[0047] S4.2 Subjective assessment based on expert experience assigns a hazard score to each safety term and keyword;

[0048] S4.3 By reading the file and loading the corresponding scoring rules, the input semantic description results are matched with keywords, the weight of the scoring rule corresponding to the matched keywords is calculated, and the scores are accumulated to obtain the job status risk value w and the environmental status risk value m in the interval [0, 100].

[0049] The present invention has the following advantages and effects compared with the prior art:

[0050] (1) The tower crane hoisting safety analysis method based on computer vision and fuzzy control disclosed in this invention first uses computer vision technology to perceive visual information at the hoisting site, and then uses fuzzy control to analyze the safety status of construction workers. This method, by combining computer vision and fuzzy control, improves the comprehensive perception of the safety status at the hoisting site and the accurate analysis of the safety status of construction workers.

[0051] (2) This invention uses Faster R-CNN as the encoder to extract the image feature vector corresponding to the target in the image, and uses it as the input of spatial attention to guide the generation of word sequences. After obtaining the score of each word in the output, the beam search strategy is used to optimize and improve the word selection process at each time step, thereby improving the accuracy and coherence of the model in generating word sequences and enhancing the semantic expression ability of the model.

[0052] (3) Based on the experience and knowledge of construction safety management personnel, this invention formulates fuzzy rules for the classification of construction risk assessment levels. The fault tolerance and reliability of the fuzzy reasoning system can effectively handle the uncertainty of scene semantic information. At the same time, through fuzzy reasoning, the detection and quantitative assessment of construction scene risks are realized, providing on-site management personnel with information prompts for management, so that management personnel can carry out management and allocation. Attached Figure Description

[0053] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0054] Figure 1 This is a flowchart of a tower crane hoisting safety analysis method based on computer vision and fuzzy control disclosed in this invention;

[0055] Figure 2 This is a structural diagram of the tower crane hoisting safety analysis system disclosed in this invention;

[0056] Figure 3 This is a schematic diagram of the early warning display of the tower crane hoisting safety analysis method disclosed in this invention via an LED display screen. Detailed Implementation

[0057] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0058] Example

[0059] like Figure 1 , Figure 2 , Figure 3 As shown, this embodiment discloses a tower crane lifting safety analysis method based on computer vision and fuzzy control. This method is applied to a tower crane lifting safety analysis system, which includes a perception and transmission module, a processing and analysis module, a decision-making and early warning module, an image semantic description visual database, and a fuzzy rule database. The front-end perception and transmission module, processing and analysis module, and decision-making and early warning module are sequentially connected. The processing and analysis module, the visual database, and the rule database together constitute the core control system. Figure 2 As shown, the perception and transmission module includes a camera 1 (including a construction long-range camera and a monitoring camera) and a power adapter 2. The field of view of the construction long-range camera is aimed at the worker's working area 3, and the construction long-range camera is connected to the workstation of the processing and analysis module through a signal transmission line 4. The monitoring camera is installed above the tower crane hoisting area, and the field of view of the monitoring camera should cover all directions of the worker's activity range. The construction long-range camera is a Hikvision 4MP full-color dome camera, and the power adapter is connected to a PC / ONE S. The processing and analysis module is specifically a high-performance computer workstation 5, which is connected to the visual database, the fuzzy control rule base, and the decision-making and early warning module. The decision-making and early warning module includes an LED display screen 6 and an audio device 7. The LED display screen is a CSD-P6-SMD3535 with dual backup power lines and a resolution of 1080P or higher. This embodiment includes a set of construction long-range cameras, two LED display screens, and an audio device. The LED screens display the video information acquired on site and the safety status information analyzed by the processing and analysis module, such as... Figure 3 As shown.

[0060] Before implementing the safety analysis method, a visual information training database for different types of workers on site was developed. During implementation, cameras collect information about workers at the hoisting site and transmit it to the workstation for image processing and analysis via signal transmission lines. The video information processing program in the workstation uses image description algorithms to identify scene risks. While identifying the work actions, it records the worker's safety status information. The identified safety status information is then transmitted to the intelligent monitoring terminal display device for intelligent response to the worker's safety status.

[0061] A tower crane hoisting safety analysis method based on computer vision and fuzzy control includes the following steps:

[0062] S1. Collect large-scale construction visual data in advance, including 15 categories of targets with four elements: people, materials, machines, and site layout. Label the data and establish a semantic description training library.

[0063] In this embodiment, step S1 is performed as follows:

[0064] S1.1 Acquire hoisting scene image data on actual construction sites using drones, handheld monocular cameras, and hook visualization devices.

[0065] S1.2 Clean the data, delete duplicate data, delete fuzzy data, delete non-target data, and number them.

[0066] S1.3. Use software such as labelimg to annotate visual data, create a semantic description dataset in JSON format, and establish a semantic description database.

[0067] In this embodiment, for the hoisting scene image dataset {I,C}, I represents a hoisting scene image, and C represents the corresponding descriptive statement. The descriptive statement follows the basic language paradigm of "quantifier + subject-verb-object + attributive + adverbial". The subject mainly includes the main entities directly related to the safety of the tower crane hoisting site, namely "workers and hooks"; the object mainly includes objects indirectly related to the site, such as steel bars and scaffolding; the predicate mainly contains verbs that indicate the interaction between the main elements and the objects on site; the quantifier is mainly used to describe the quantitative relationship attributes of the main entities; the attributive includes descriptions of whether the workers are wearing safety helmets and whether the load is being hoisted; the adverbial part indicates the location attributes related to the site, such as the distance between the workers and the hooks and loads, and whether the workers are working on scaffolding.

[0068] S2, the construction long-range camera and the monitoring camera collect video images of construction workers operating at the hoisting site in real time, and transmit them to the workstation of the video information processing module via the information transmission line.

[0069] S3. The analysis and processing program on the workstation obtains the semantic description results of the video images based on the video image information transmitted back from the camera through an encoder-decoder structure based on spatial attention mechanism and bundle search strategy.

[0070] In this embodiment, step S3 is performed as follows:

[0071] S3.1. Use the Faster R-CNN object detection model to detect the input image, and use non-maximum suppression on the output. Targets with a confidence score greater than 0.3 are then selected from the output. The spatial location of the target corresponds to the feature map of the last convolutional layer of ResNet-101.

[0072] S3.2. Perform average pooling on the feature map of the last convolutional layer of ResNet-101 to generate a global feature vector of the image. The image feature vector corresponding to the target in the image is used as the input of the attention mechanism model.

[0073] S3.3 Attention Mechanism Model: Based on the input spatial feature vector {V1, V2, ..., V...} n The hidden state h of the LSTM network in the decoder at the previous time step. t-1 The attention score for each spatial location is calculated, and then normalized using the Softmax function to generate the weights α of the selected feature vector and name attribute vector at the current time step. ij .

[0074] e ij =f att (V j h t-1 (1)

[0075]

[0076] In the formula, e ij For attention score, f att () is the function for calculating attention score, V j h is the feature vector corresponding to the j-th target. t-1 Let α be the hidden state of the LSTM network at the previous time step. ij Here, N represents the normalized attention weights, and N is the number of targets.

[0077] S3.4, The weight α of the feature vector selected at the current time based on the current weight. ij Obtain the visual context information z at the current moment t .

[0078]

[0079] In the formula, z tFor visual context information, N is the number of targets, and V is the number of targets. j Let N be the feature vector corresponding to the j-th target, and N be the number of targets.

[0080] S3.5. The initial values ​​of the cell state and hidden state of the LSTM network are obtained by calculating the global features V of the image through two independent multilayer perceptrons.

[0081] c0 = f init,c (V) (4)

[0082] h0 = f init,h (V) (5)

[0083] In the formula, c0 is the initial cell unit state, h0 is the initial hidden state, V is the global image feature, and f init,c and f init,h These represent two independent multilayer perceptrons used to process the global image features V.

[0084] S3.7, convert the output y from the previous time step. t-1 The hidden state h from the previous moment t-1 and visual context information z i The input is used as the input to the decoder LSTM, and the hidden state h at the current time step can be calculated. t .

[0085] h t =LSTM(y t-1 h t-1 , z t (6)

[0086] In the formula, h i y is the hidden state at the current moment. i-1 h represents the output from the previous time step. i-1 The hidden state of z from the previous moment t This provides the visual context information for the current moment.

[0087] S3.8 The probability distribution of the currently output word can be obtained by using the Softmax function from the current hidden state, visual context information, and the output of the previous time step.

[0088] P(y t |h t , z t y t-1 ;E)=softmax(E·[h t , z ti y t-1 (7)

[0089] In the formula, P() represents the currently output word y.t The probability distribution of y t h represents the output at the current moment. t To be in a hidden state, z t For visual context information, y t-1 The output of the previous time step is given, E is the randomly initialized learning parameters, represents the weight matrix of the linear layer, and softmax() normalizes the vector, converting it into a probability distribution.

[0090] S3.9 After obtaining the score of each word in the output, use the bundle search strategy to optimize and improve the word selection process at each time step, and finally output the semantic description result of the image.

[0091]

[0092] In the formula, Let be the optimal output sequence at the current time step, and argmaxyt be the output sequence selected from all candidate sequences that maximizes the total score. B is the width of the beam search, representing the number of candidate sequences considered. h represents the output at the current moment. t To be in a hidden state, z t For visual context information, y t-1 The output of the previous time step is E, which is the randomly initialized learning parameter, representing the weight matrix of the linear layer.

[0093] S3.10. Use the cross-entropy loss function for training, given manually labeled descriptions y. t Let θ represent the parameters in the model, and the expression for the cross-entropy loss function Loss(θ) is:

[0094]

[0095] In the formula, T represents the length of the sequence, and W is the size of the output vocabulary. h represents the output at the current moment. t To be in a hidden state, z t For visual context information, y t-1 The output of the previous time step is E, which is the randomly initialized learning parameter, representing the weight matrix of the linear layer.

[0096] To prevent overfitting and accelerate model convergence, save the optimal model weight file obtained from the final training parameters. This weight file can then be directly used in subsequent model operations.

[0097] S4. Display the worker's work process and the semantic description results of the worker's work process on the LED display screen; and extract the work status risk value and environmental status risk value of the scenario represented by the semantic description from the semantic description results.

[0098] In this embodiment, step S4 is performed as follows:

[0099] S4.1 Construct a dedicated keyword matching rule library. This embodiment constructs a dedicated keyword matching rule library based on on-site construction experience. The collected safety professional terms and keywords during hoisting are organized into a list and sorted by factors such as hazard, frequency of occurrence, and importance, and saved in a file.

[0100] S4.2 Subjective assessment based on expert experience assigns a hazard score to each safety term and keyword.

[0101] S4.3 loads the corresponding scoring rules by reading the file, performs keyword matching on the input semantic description results, calculates the weight of the scoring rule corresponding to the matched keywords, and accumulates the scores to obtain the job status risk value w and environmental status risk value m in the interval [0,100].

[0102] S5. Perform fuzzification and fuzzy reasoning on the risk values ​​of the operation status and the environmental status, and defuzzify the fuzzy reasoning results to determine the risk level of the tower crane hoisting scenario to be analyzed and output the judgment of the safety status; when the risk level exceeds the set threshold, the audio equipment issues an alarm message; at the same time, the safety status information of the operation process is recorded in real time.

[0103] In this embodiment, step S5 is specifically performed as follows:

[0104] S5.1 Input the job status risk value w and the environmental status risk value m, and calculate the membership degree of the fuzzy subset of risk values ​​w and m using trigonometric functions.

[0105] In this example, the fuzzy subset of the job status risk value is defined as {low, medium, high}, the fuzzy subset of the environmental status risk value is defined as {low, medium, high}, and the fuzzy subset of the safety level is defined as {very low, low, medium, high, very high}. The membership functions of both the job status risk value and the environmental status risk value are set as trigonometric functions to define the membership relationship between numerical variables and linguistic variables, as shown in equations (10) and (11):

[0106]

[0107]

[0108] In the formula, w is the operational risk value, m is the environmental risk value, ν(w) is the triangular membership function of the operational risk value, and ν(m) is the triangular membership function of the environmental risk value. 低 (w) is the triangular membership function for low job status risk value, ν 中 (w) is the triangular membership function of the risk value of the operational status in V.高 (m) is the triangular membership function for high operational risk values, V 低 (m) is the triangular membership function for low environmental state risk value, ν 中 (m) is the trigonometric membership function in the risk value, ν 高 (m) is the triangular membership function with high environmental state risk value, and a and b are the maximum and minimum values ​​of the input indicator variable, respectively. We take a = 50 and b = 100.

[0109] S5.2 Establishing Fuzzy Rules. Based on expert experience, the rules are designed in an "IF-THEN" format based on antecedents and consequents, creating a fuzzy rule base. Based on relevant regulations and the on-site management experience of construction personnel, this invention directly establishes the antecedent and consequent rule base corresponding to the membership function in the fuzzy inference engine, as shown below. The safety level inference rule base R for the scenario is as follows:

[0110] If w is low and m is low, then the security level is very low;

[0111] If w is low and m is medium, then the security level is medium.

[0112] If w is low and m is high, then the security level is high;

[0113] If w is medium and m is low, then the security level is low;

[0114] If w is medium and m is medium, then the security level is medium.

[0115] If w is medium and m is high, then the security level is high;

[0116] If w is high and m is low, then the security level is medium.

[0117] If w is high and m is medium, then the security level is high;

[0118] If w is high and m is high, then the security level is very high;

[0119] For deblurring, the triangular membership function of the security level S is used as shown in formula (12):

[0120]

[0121] In the formula, S represents the safety level, μ(S) is the trigonometric membership function of the safety level, and μ 很低 (S) represents a very low security level trigonometric membership function, μ 低 (S) is the trigonometric membership function for low security levels, μ 中 (S) is the trigonometric membership function of the safety level, μ 高(S) is the trigonometric membership function for high security levels, μ 很高 (S) is a trigonometric membership function with a very high security level;

[0122] S5.3. Input the membership degrees of risk values ​​w and m, and use the Mamdani inference method to reason about the fuzzy relations to obtain the general inference U. * The total output of Mamdani inference is shown in equation (13):

[0123]

[0124] In the formula, A * Represents the fuzzy set of the input, () T R represents transpose. j The transpose represents the consequent of the j-th rule in the fuzzy rule base. This represents the minimum value operation. U * It refers to the fuzzy intersection set of the input fuzzy set and the rule, representing the degree of matching between the rule and the input.

[0125] S5.4, Input General Inference U * The precise value S* of the output safety level of the fuzzy control strategy is calculated by the centroid method. The centroid of the region enclosed by the membership function μ(S) curve and the horizontal axis is taken as the final output value of the fuzzy control. The defuzzifier formula can be expressed as formula (14):

[0126]

[0127] In the formula, μ(S) is the triangular membership function of the security level, S represents the security level, and S* is the precise value of the final output security level.

[0128] In summary, this embodiment proposes a tower crane hoisting safety analysis method based on computer vision and fuzzy control. This method overcomes the shortcomings of existing technologies, such as the low return on investment of manual video surveillance, the inability to intelligently and efficiently utilize information data from existing monitoring systems, and the lack of intelligent monitoring of the specific labor behaviors of construction workers at tower crane hoisting sites. It can intelligently identify the specific safety status of construction workers and record related risk information, providing reliable and accurate management reference suggestions for on-site managers. This achieves intelligent and refined construction site management and improves the level of on-site personnel management.

[0129] The above embodiments are preferred embodiments of the present invention, but the embodiments of the present invention are not limited to the above embodiments. Any changes, modifications, substitutions, combinations, or simplifications made without departing from the spirit and principle of the present invention shall be considered equivalent substitutions and shall be included within the protection scope of the present invention.

Claims

1. A tower crane hoisting safety analysis method based on computer vision and fuzzy control, characterized in that, The tower crane hoisting safety analysis method includes the following steps: S1. Collect large-scale construction visual data in advance, including 15 categories of targets such as people, materials, machines and site layout, and label different categories of targets to establish a semantic description training library. S2. Construction long-range cameras and monitoring cameras collect real-time video images of construction workers operating at the hoisting site; S3. Based on the video image information collected by the construction long-range camera and the monitoring camera, the semantic description results of the video images are obtained through an encoder-decoder based on a spatial attention mechanism and a bundle search strategy. The process is as follows: S3.

1. Use the Faster R-CNN object detection model to detect the input image. The output uses non-maximum suppression and filters targets based on confidence. The spatial location of the target corresponds to the feature map of the last convolutional layer of ResNet-101. S3.

2. Perform average pooling on the feature map of the last convolutional layer of ResNet-101 to generate a global feature vector of the image. The image feature vector corresponding to the target in the image is used as the input of the attention mechanism model. S3.3 Attention Mechanism Model: Based on the input spatial feature vector {V1, V2, ..., V...} n The hidden state h of the LSTM network in the decoder at the previous time step. t-1 Calculate the attention score for each spatial location, and normalize it using the Softmax function to generate the weights of the selected feature vector and name attribute vector at the current time step. ; S3.4 Weights of the feature vector selected at the current time based on the current weights. Obtain the visual context information at the current moment ; S3.5, Global features of the image The initial values ​​of the cell state and hidden state of the LSTM network are calculated using two independent multilayer perceptrons. S3.6 Based on the visual context information input at the current moment, the initial values ​​of the cell state and hidden state of the LSTM network are calculated by two independent multilayer perceptrons for the global features of the image. S3.7, Based on the output of the previous moment The hidden state of the previous moment and visual context Calculate the hidden state at the current time step. ; S3.

8. The probability distribution of the currently output word is obtained by using the Softmax function based on the current hidden state, visual context information, and the output of the previous time step. S3.9 After obtaining the score of each word in the output, use the bundle search strategy to optimize and improve the word selection process at each time step; S3.

10. Use the cross-entropy loss function for training, and save the final trained model weight file with the best parameters for use. S4. Display the worker's work process and the semantic description results of the worker's work process on the LED display screen; and extract the work status risk value and environmental status risk value of the scenario represented by the semantic description from the semantic description results. S5. Perform fuzzification and fuzzy reasoning on the risk values ​​of the operation status and the environmental status, and defuzzify the fuzzy reasoning results to determine the risk level of the tower crane hoisting scenario to be analyzed and output the judgment of the safety status; when the risk level exceeds the set threshold, the audio equipment issues an alarm message; at the same time, the safety status information of the operation process is recorded in real time.

2. The tower crane hoisting safety analysis method based on computer vision and fuzzy control according to claim 1, characterized in that, The process of step S1 is as follows: S1.1 Acquire image data of hoisting scenes at construction sites using drones, handheld monocular cameras, and hook visualization devices; S1.2 Clean the data, delete duplicate data, delete ambiguous data, delete non-target data, and number the cleaned data; S1.

3. Label the visual data, create a semantic description dataset in JSON format, and establish a semantic description training library.

3. The tower crane hoisting safety analysis method based on computer vision and fuzzy control according to claim 1, characterized in that, In step S3.1, targets with a confidence level greater than 0.3 are selected.

4. The tower crane hoisting safety analysis method based on computer vision and fuzzy control according to claim 1, characterized in that, The Faster R-CNN object detection model provides spatial attention for detection. The name attribute of the target is inferred from the image feature information corresponding to the target, which includes the target name attribute information.

5. The tower crane hoisting safety analysis method based on computer vision and fuzzy control according to claim 1, characterized in that, The process of step S4 is as follows: S4.1 Construct a dedicated keyword matching rule library: Based on on-site construction experience, construct a dedicated keyword matching rule library, organize the collected safety professional terms and keywords in the hoisting process into a list, and save them in a file according to the degree of danger, frequency of occurrence, and importance; S4.2 Subjective assessment based on expert experience assigns a hazard score to each safety term and keyword; S4.3 By reading the file and loading the corresponding scoring rules, the input semantic description results are matched with keywords, the weight of the scoring rule corresponding to the matched keywords is calculated, and the scores are accumulated to obtain the job status risk value w and the environmental status risk value m in the interval [0,100].

6. The tower crane hoisting safety analysis method based on computer vision and fuzzy control according to claim 5, characterized in that, The process of step S5 is as follows: S5.1 Input the job status risk value w and the environmental status risk value m, and calculate the membership degree of the fuzzy subset of risk values ​​w and m using trigonometric functions; The fuzzy subset of the job status risk value is defined as {low, medium, high}, the fuzzy subset of the environmental status risk value is defined as {low, medium, high}, and the fuzzy subset of the safety level is defined as {very low, low, medium, high, very high}. The membership function of the job status risk value and the environmental status risk value is set as a triangular function, and the membership relationship between numerical variables and linguistic variables is defined through the triangular function. S5.2 Establishing Fuzzy Rules: Based on relevant regulations and the on-site management experience of construction personnel, the following antecedent and consequent rule bases corresponding to the membership functions are directly established in the fuzzy inference engine: The safety level inference rule base R for the scenario is as follows: If w is low and m is low, then the security level is very low; If w is low and m is medium, then the security level is medium. If w is low and m is high, then the security level is high; If w is medium and m is low, then the security level is low; If w is medium and m is medium, then the security level is medium. If w is medium and m is high, then the security level is high; If w is high and m is low, then the security level is medium. If w is high and m is medium, then the security level is high; If w is high and m is high, then the security level is very high; For deblurring, the triangular membership function for security level S is used as follows, with the formula as follows: In the formula, S represents the security level. For the triangular membership function of the safety level, ( The trigonometric membership function has a very low safety level. ( () represents a low-level trigonometric membership function. (S) is the trigonometric membership function of the safety level. ( () represents a high-level trigonometric membership function. ( () is a trigonometric membership function with a very high safety level; S5.

3. Input the membership degrees of the job status risk value w and the environmental status risk value m, reason about the fuzzy relationship, and obtain the general inference. The formula is as follows: In the formula, Represents the fuzzy set of input. Represents transpose. The transpose represents the consequent of the j-th rule in the fuzzy rule base, and the symbol " " represents the smaller value operation. It refers to the fuzzy intersection set of the input fuzzy set and the rule, representing the degree of matching between the rule and the input; S4.5, Input General Conclusion The precise value S* of the output safety level of the fuzzy control strategy is calculated using the center-of-gravity method, and the membership function is then... The centroid of the region enclosed by the curve and the horizontal axis is used as the final output value of the fuzzy control, and the calculation formula is as follows: In the formula, S is the triangular membership function for the security level, where S represents the security level and S* is the precise value of the final output security level.

Citation Information

Patent Citations

  • Power transmission and transformation scene description automatic generation method fusing global information and local information

    CN111325323A

  • Deep learning-based airport apron video semantic retrieval method and retrieval system

    CN114064971A