A photovoltaic power plant intelligent monitoring method and device
By adopting intelligent monitoring methods in photovoltaic power plants, using pre-trained detection models and self-knowledge distillation technology to automatically detect the safety behavior of construction workers and environmental safety, it solves the problems of low efficiency and high cost of traditional manual supervision methods, and achieves high efficiency Safety hazard monitoring and warning system.
Patent Information
- Application Number
- CN202410764003.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-06-14
AI Technical Summary
The traditional manual supervision method is difficult to detect safety hazards in photovoltaic power plants in a timely manner, is costly and inefficient, and cannot effectively monitor the safety behavior of construction workers and environmental safety.
Using the intelligent monitoring method of photovoltaic power plants, by obtaining monitoring images, performing slice-assisted inference and using pre-trained detection models for detection, the safety behavior of workers and environmental safety detection results are obtained, and alarm information is automatically determined. The method includes a target detection network, a neck network and a head module, combined with self-knowledge distillation technology to improve detection accuracy and efficiency.
It realizes automated monitoring of safety hazards, reduces manual supervision costs, improves monitoring efficiency and safety, and can detect and issue alarm information in a timely manner to ensure the safety of photovoltaic power plants.
Smart Images

Figure CN118365475B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial safety detection, and in particular to an intelligent monitoring method and device for a photovoltaic power plant. Background Art
[0002] In industrial production and construction, safety has always been an eternal theme. The behavioral safety standards of workers, equipment safety, and environmental safety monitoring are all key areas that need to be monitored in industrial scenarios. For example, standardizing the wearing of work clothes can provide construction workers with certain protection when dangerous accidents occur, effectively reducing the injuries suffered by construction workers. Real-time monitoring of equipment operating status and environmental safety can also provide early warnings to prevent accidents. However, construction workers often fail to wear work clothes in a standardized manner, which poses a huge safety hazard. Traditional manual supervision methods usually require the arrangement of special staff to monitor construction workers, equipment operating status, and environmental safety in factories, construction sites, and other environments in real time through camera images. This method is costly and inefficient, and it is difficult to detect safety hazards in photovoltaic power plants in a timely manner and issue warnings in a timely manner. Summary of the invention
[0003] The present invention provides a method and device for intelligent monitoring of a photovoltaic power plant, which makes up for the deficiency of manual prevention, realizes intelligent monitoring of potential safety hazards in a photovoltaic power plant, and improves monitoring efficiency and the safety of the photovoltaic power plant.
[0004] In a first aspect, the present invention provides a photovoltaic power plant intelligent monitoring method, comprising:
[0005] Obtain monitoring images of photovoltaic power plants;
[0006] Performing slice-assisted reasoning on the monitoring image to obtain a slice image;
[0007] Using a pre-trained detection model to detect the slice image, and obtain a detection result; the detection result includes a worker safety behavior detection result and an environmental safety detection result;
[0008] According to the detection result, alarm information is determined.
[0009] Optionally, the pre-trained detection model adopts a target detection network, and the target detection network includes: a backbone network, a neck network and a head module;
[0010] The backbone network includes a space-to-depth layer, a point convolution layer, a first re-parameterized convolution module, a first convolution layer, a second re-parameterized convolution module, a second convolution layer, a hole re-parameterized convolution module, a third convolution layer, a third re-parameterized convolution module and a spatial pyramid pooling layer;
[0011] The neck network includes a first upsampling layer, a first connection layer, a fourth parameterized convolution module, a second upsampling layer, a second connection layer, a fifth parameterized convolution module, a fourth convolution layer, a third connection layer, a sixth parameterized convolution module, a fifth convolution layer, a fourth connection layer, and a seventh parameterized convolution module;
[0012] The head module includes a first detection layer, a second detection layer, and a third detection layer.
[0013] Optionally, in the backbone network, the slice image is input into the space-to-depth layer, and a first feature image is obtained through a point convolution layer; the first feature image is sequentially passed through a first reparameterized convolution module, a first convolution layer, and a second reparameterized convolution module to obtain a second feature image; the second feature image is passed through a second convolution layer and a hole reparameterized convolution module to obtain a third feature image; the third feature image is passed through a third convolution layer, a third reparameterized convolution module, and a spatial pyramid pooling layer to obtain a fourth feature image;
[0014] In the neck network, the fourth feature image is input into the first connection layer together with the third feature image after passing through the first upsampling layer to obtain a first fused feature map; the first fused feature map is input into the fourth reparameterized convolution module, the second upsampling layer, and the second feature image is sequentially input into the second connection layer and the fifth reparameterized convolution module to obtain a first output image; the first output image is input into the fourth convolution layer, and then input into the third connection layer and the sixth reparameterized convolution module together with the image output by the fourth reparameterized convolution module to output a second output image; the second output image is input into the fifth convolution layer, and then input into the fourth connection layer and the seventh reparameterized convolution module together with the fourth feature image to output a third output image;
[0015] In the head module, the first detection layer, the second detection layer and the third detection layer are used to analyze and cluster the first output image, the second output image and the third output image respectively.
[0016] Optionally, it also includes:
[0017] The target detection network is subjected to self-knowledge distillation to obtain a first network; wherein, self-knowledge distillation is introduced into the target detection network, an EMA model is used as a teacher network, and the target detection network is used as a student network, and the teacher network guides the student network to perform accuracy recovery and adjustment to obtain the first network.
[0018] Optionally, the detecting the slice image using a pre-trained detection model to obtain a detection result includes:
[0019] The slice image is detected by using a pre-trained first detection model to obtain a helmet wearing detection result; wherein the first detection model is obtained by training at least two groups of first sample sets, each group of first sample sets includes a first sample image as an input and a detection result of wearing a helmet included in the first sample image as an output;
[0020] The slice image is detected by using a pre-trained second detection model to obtain a work clothes detection result; wherein the worker safety behavior detection result includes the safety helmet wearing detection result and the work clothes detection result; the second detection model is obtained by training at least two groups of second sample sets, each group of second sample sets includes a second sample image as input and a detection result of the work clothes worn in the second sample image as output;
[0021] The slice image is detected using a pre-trained third detection model to obtain the environmental safety detection result; wherein the third detection model is obtained by training at least two groups of third sample sets, each group of third sample sets includes a third sample image as input and a detection result of abnormal intrusion into the photovoltaic power plant included in the third sample image as output.
[0022] Optionally, determining the alarm information according to the detection result includes:
[0023] Determining the detection results including unsafe behaviors of staff and / or environmental abnormalities as abnormal results;
[0024] According to the abnormal result, a false alarm picture library matching the monitoring image where the abnormal result is located is obtained; wherein the monitoring image has the same detection result as the false alarm picture library;
[0025] Determine whether the similarity between the monitoring image and the false alarm image in the false alarm image library is greater than a preset threshold;
[0026] When the judgment result is yes, the monitoring image is stored in the false alarm image library, and the warning information of the monitoring image is determined to be safe;
[0027] When the judgment result is no, the alarm information is determined according to the abnormal result.
[0028] Optionally, determining the alarm information according to the detection result includes:
[0029] Determining a target time for acquiring the surveillance image;
[0030] Determine the target task at the target time according to the preset task schedule;
[0031] Determine the temperature value of the equipment in the monitoring image at the target time and the number of designated operators required for the target task;
[0032] Determining a temperature detection result according to the temperature value and a preset temperature threshold;
[0033] Determine the compliance item detection result according to the actual number of people in the monitoring image and the designated number of people;
[0034] The risk level of the alarm information is determined according to the temperature detection result, the compliance item detection result and the detection result; wherein different risk levels correspond to different solutions.
[0035] In a second aspect, the present invention provides an intelligent monitoring device for a photovoltaic power plant, comprising:
[0036] An acquisition module is used to obtain monitoring images of the photovoltaic power plant;
[0037] A slicing module, used for performing slicing-assisted reasoning on the monitoring image to obtain a slicing image;
[0038] The detection module is used to detect the slice image using a pre-trained detection model to obtain a detection result; the detection result includes a staff safety behavior detection result and an environmental safety detection result; and according to the detection result, an alarm message is determined.
[0039] In a third aspect, an embodiment of the present invention further provides a computing device, comprising a memory and a target processor, wherein the memory stores a computer program, and when the target processor executes the computer program, the method described in any first aspect of this specification is implemented.
[0040] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute the method described in any first aspect of this specification.
[0041] In a fifth aspect, an embodiment of the present invention further provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the steps of the method described in any first aspect of this specification.
[0042] The present invention provides a method and device for intelligent monitoring of photovoltaic power plants. The method acquires monitoring images of photovoltaic power plants, performs slice-assisted reasoning on the monitoring images, and then uses a pre-trained detection model to detect the slice images obtained, thereby obtaining the detection results of staff safety behavior and environmental safety, and then determining the corresponding alarm information based on these detection results. In this way, the present invention does not need to arrange special staff to monitor the monitoring images in real time, and can automatically obtain the safety hazards of photovoltaic power plants based on the monitoring images and issue alarm information, which makes up for the shortcomings of manual prevention and improves the monitoring efficiency and safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 It is a flow chart of a photovoltaic power plant intelligent monitoring method provided by one embodiment of the present invention;
[0045] Figure 2 is a structural framework diagram of a target detection network provided by an embodiment of the present invention;
[0046] Figure 3 is a hardware architecture diagram of a computing device provided by an embodiment of the present invention;
[0047] Figure 4 It is a structural schematic diagram of an intelligent monitoring device for a photovoltaic power plant provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0049] like Figure 1 As shown, an embodiment of the present invention provides a photovoltaic power plant intelligent monitoring method, the method comprising:
[0050] Step 100, obtaining a monitoring image of a photovoltaic power plant;
[0051] Step 102, performing slice-assisted reasoning on the monitoring image to obtain a slice image;
[0052] Step 104, using a pre-trained detection model to detect the slice image to obtain a detection result; the detection result includes a worker safety behavior detection result and an environmental safety detection result;
[0053] Step 106: Determine warning information based on the detection result.
[0054] In the present invention, by acquiring monitoring images of a photovoltaic power plant, the slice images obtained after slice-assisted reasoning of the monitoring images are detected using a pre-trained detection model, thereby obtaining the detection results of the safety behavior of the staff and the environmental safety detection results, and then the corresponding alarm information can be determined according to these detection results. In this way, the present invention does not need to arrange special staff to monitor the monitoring images in real time, and can automatically obtain the safety hazards of the photovoltaic power plant based on the monitoring images and issue alarm information, which makes up for the shortcomings of manual prevention and improves the monitoring efficiency and safety.
[0055] For step 100, to obtain monitoring images of the photovoltaic power plant, image data acquisition modules such as monitoring cameras and monitoring recorders can be used. The image data acquisition module can include a network ball camera, a network machine gun, a thermal imaging temperature measurement ball camera, an explosion-proof machine gun, and a hard disk recorder, which are used to obtain images or video data that need to be analyzed. It is set up in the area that needs to be monitored on site. The outdoor monitoring camera uses an all-weather protective cover for waterproofing and anti-corrosion protection to ensure that the system operates stably and reliably for a long time.
[0056] It should be noted that after acquiring the surveillance image, fill light processing and resizing processing are also performed on the surveillance image to improve the image quality and the detection capability of the detection model.
[0057] During model training, the size of the image will affect the detection effect of the model. For example, for the same image, a model trained with high resolution will be easier to identify small targets than a model trained with low resolution. However, increasing the image size will greatly increase the training cost. In order to solve the problem of detecting small targets and improve the limit detection distance of the model, in step 102, the monitoring image is sliced to assist in reasoning and obtain a slice image. Specifically, the monitoring image is sliced according to the training size of the pre-trained detection model, and each sliding window has a fixed ratio of overlap to obtain multiple slice images. Each slice image is separately reasoned, and the detection result is restored to the original monitoring image.
[0058] In a preferred embodiment, Figure 2 As shown, the pre-trained detection model adopts a target detection network, and the target detection network includes: a backbone network, a neck network and a head module;
[0059] The backbone network includes a space-to-depth layer, a point convolution layer, a first re-parameterized convolution module, a first convolution layer, a second re-parameterized convolution module, a second convolution layer, a hole re-parameterized convolution module, a third convolution layer, a third re-parameterized convolution module and a spatial pyramid pooling layer;
[0060] The neck network includes a first upsampling layer, a first connection layer, a fourth parameterized convolution module, a second upsampling layer, a second connection layer, a fifth parameterized convolution module, a fourth convolution layer, a third connection layer, a sixth parameterized convolution module, a fifth convolution layer, a fourth connection layer, and a seventh parameterized convolution module;
[0061] The head module includes a first detection layer, a second detection layer, and a third detection layer.
[0062] In the present invention, in order to reduce the loss of image information in the early stage of model calculation, a space-to-depth layer is introduced in the backbone network, and four times downsampling is performed quickly through dimensional transformation, which can effectively reduce the loss of shallow information, and the module can effectively reduce the number of parameters, calculation amount, and video memory occupancy of this part, and speed up the forward and backward propagation. However, the sampling multiple of the space-to-depth layer will limit the number of channels of the final output tensor, which will cause it to not be perfectly embedded in any model. Therefore, in order to increase its versatility and increase the interaction between channels, a point convolution layer is added after the space-to-depth layer, thereby solving the above problems, realizing the output of dynamic channels, and mixing the features between channels.
[0063] In the present invention, the backbone network adopts a reparameterized convolution module to increase the feature extraction capability, and uses a hollow reparameterized convolution module instead of a super-large kernel convolution, which uses fewer computing resources and fewer parameters, and effectively improves the receptive field of the detection model.
[0064] In a more preferred embodiment, Figure 2 As shown, in the backbone network, the slice image is input into the space-to-depth layer SpaceToDepth, and the first feature image is obtained through the point convolution layer Conv 32C 1×1; the first feature image is sequentially passed through the first reparameterized convolution module RepC3, the first convolution layer Conv s2 and the second reparameterized convolution module RepC3 to obtain the second feature image; the second feature image is passed through the second convolution layer Conv s2 and the hole reparameterized convolution module UniRepC3 to obtain the third feature image; the third feature image is passed through the third convolution layer Conv s2, the third reparameterized convolution module RepC3 and the spatial pyramid pooling layer SPPF to obtain the fourth feature image;
[0065] In the neck network, the fourth feature image is input into the first connection layer ConCat together with the third feature image after passing through the first upsampling layer UpSample to obtain a first fused feature map; the first fused feature map is input into the fourth reparameterized convolution module RepC3, the second upsampling layer UpSample and the second feature image are sequentially input into the second connection layer ConCat and the fifth reparameterized convolution module RepC3 to obtain a first output image; the first output image is input into the fourth convolution layer Conv s2 and then input into the third connection layer ConCat and the sixth reparameterized convolution module RepC3 together with the image output by the fourth reparameterized convolution module RepC3 to output a second output image; the second output image is input into the fifth convolution layer Conv s2 and then input into the fourth connection layer ConCat and the seventh reparameterized convolution module RepC3 together with the fourth feature image to output a third output image;
[0066] In the head module, the first detection layer, the second detection layer and the third detection layer are used to analyze and cluster the first output image, the second output image and the third output image respectively.
[0067] In the present invention, feature maps with different sizes are extracted through the backbone network of the target detection network, the feature information of the slice image is strengthened, and then the feature maps are further fused and spliced in the neck network, and output images with different sizes are obtained, which retains the feature information of the monitoring image as much as possible, while improving the diversity and robustness of the target detection network. The detection layer then analyzes and clusters the output images, reducing the model's missed detection and false detection rates of targets in complex backgrounds, enhancing the generalization ability of the model, and improving the accuracy of the detection results.
[0068] In a preferred embodiment, the target detection network also includes: performing self-knowledge distillation on the target detection network to obtain a first network; wherein self-knowledge distillation is introduced into the target detection network, the EMA model is used as the teacher network, and the target detection network is used as the student network, and the teacher network guides the student network to perform accuracy recovery and adjustment to obtain the first network.
[0069] The existing conventional distillation scheme requires pre-training of a teacher model with a large number of parameters and good results, which not only places higher requirements on hardware resources, but also has a greater time cost. Secondly, when this teacher model with a large number of parameters is jointly trained with the student model, it also occupies video memory resources and increases training consumption. Due to the different parameter magnitudes of the teacher model and the student model, it is also necessary to specify multiple hyperparameters to adjust the effect of distillation, and the hyperparameters in different scenarios are difficult to reuse.
[0070] In the present invention, the target detection network is self-distilled and the EMA (Exponential Moving Average) model is used as the teacher network. Compared with the large parameter model, 1) the EMA model itself has participated in the training task, and the model itself will not increase the additional video memory consumption; 2) the EMA model is smoother and more stable than the student network, and is more robust to the noise of the data set; 3) the EMA model and the student network have the same structure and parameter quantity, and the fitting speed during distillation is faster.
[0071] With respect to step 104, the detection of the slice image using the pre-trained detection model to obtain the detection result includes:
[0072] The slice image is detected by using a pre-trained first detection model to obtain a helmet wearing detection result; wherein the first detection model is obtained by training at least two groups of first sample sets, each group of first sample sets includes a first sample image as an input and a detection result of wearing a helmet included in the first sample image as an output;
[0073] The slice image is detected by using a pre-trained second detection model to obtain a work clothes detection result; wherein the worker safety behavior detection result includes the safety helmet wearing detection result and the work clothes detection result; the second detection model is obtained by training at least two groups of second sample sets, each group of second sample sets includes a second sample image as input and a detection result of the work clothes worn in the second sample image as output;
[0074] The slice image is detected using a pre-trained third detection model to obtain the environmental safety detection result; wherein the third detection model is obtained by training at least two groups of third sample sets, each group of third sample sets includes a third sample image as input and a detection result of abnormal intrusion into the photovoltaic power plant included in the third sample image as output.
[0075] It should be noted that the detection results of wearing a helmet include wearing a helmet and not wearing a helmet; the detection results of wearing work clothes include wearing work clothes and not wearing work clothes; the detection results of abnormal intrusion in the photovoltaic power plant include abnormal intrusion and no abnormal intrusion, where abnormal intrusion can be perimeter intrusion such as animal intrusion and child intrusion, and illegal intrusion can be personnel entering a specific area. The first detection model, the second detection model, and the third detection model are all trained using the above target detection network.
[0076] Specifically, in step 104, for each monitoring image, target detection is performed on each slice image included therein to obtain detection results of the target to be detected at multiple different positions, and the NMS non-maximum suppression algorithm is used to filter the detection results at overlapping positions, and only the most likely detection result is retained at the same position, that is, the detection result of the monitoring image at that position is obtained.
[0077] In step 106, determining the warning information according to the detection result includes:
[0078] Determining the detection results including unsafe behaviors of staff and / or environmental abnormalities as abnormal results;
[0079] According to the abnormal result, a false alarm picture library matching the monitoring image where the abnormal result is located is obtained; wherein the monitoring image has the same detection result as the false alarm picture library;
[0080] Determine whether the similarity between the surveillance image and the false alarm image in the false alarm image library is greater than a preset threshold;
[0081] When the judgment result is yes, the monitoring image is stored in the false alarm image library, and the warning information of the monitoring image is determined to be safe;
[0082] When the judgment result is no, the alarm information is determined according to the abnormal result.
[0083] It should be noted that unsafe behaviors of workers include not wearing safety helmets or work clothes. Environmental abnormalities include abnormal intrusions. Alarm information is used to indicate to users that abnormal results have occurred, so that users can determine the corresponding solutions based on the abnormal results.
[0084] In the present invention, after obtaining the abnormal result, it also includes re-verification of the abnormal result. By comparing the monitoring image including the abnormal result with the false alarm picture in the false alarm picture library to which it belongs, it is determined whether the abnormal result is a false alarm. This can avoid false alarms that affect the monitoring results or issue false alarm information that hinders the operation of the photovoltaic power plant and even causes panic, thereby further improving the accuracy of the alarm.
[0085] Specifically, different false alarm image libraries have different detection results, that is, different false alarm information. For example, false alarm images with false alarm information of not wearing a helmet are included in the first false alarm image library, false alarm images with false alarm information of not wearing work clothes are included in the second false alarm image library, and false alarm images with false alarm information of abnormal environment are included in the third false alarm image library.
[0086] In a preferred embodiment, determining the warning information according to the detection result in step 106 includes:
[0087] Determining a target time for acquiring the surveillance image;
[0088] Determine the target task at the target time according to the preset task schedule;
[0089] Determine the temperature value of the equipment in the monitoring image at the target time and the number of designated operators required for the target task;
[0090] Determining a temperature detection result according to the temperature value and a preset temperature threshold;
[0091] Determine the compliance item detection result according to the actual number of people in the monitoring image and the designated number of people;
[0092] The risk level of the alarm information is determined according to the temperature detection result, the compliance item detection result and the detection result; wherein different risk levels correspond to different solutions.
[0093] It should be noted that different target tasks require different designated operators. For example, some high-risk tasks are prohibited from being operated by a single person and require three designated operators. The temperature value of the equipment includes but is not limited to that collected by an infrared temperature detector or sensor.
[0094] In the present invention, the equipment temperature in the photovoltaic power plant, the actual number of workers for the target task, the safety behavior detection results of the staff, and the environmental safety detection results are comprehensively considered to determine the risk level of the alarm information at the current target time, so that the risk level division is more scientific, and the user experience is improved. At the same time, all unsafe behaviors in the current photovoltaic power plant can be more fully grasped, and different risk level alarm information can be issued for different safety hazards, which is of significant help to the operation and maintenance of the photovoltaic power station.
[0095] In a more preferred embodiment, determining the risk level of the warning information according to the temperature detection result, the compliance item detection result and the detection result includes:
[0096] Obtaining the current work clothes from the work clothes detection result;
[0097] Determine a work uniform verification result according to the current work uniform and the target work uniform;
[0098] Determine the risk score of the warning information according to the temperature value, the preset temperature threshold, the actual number of people, the designated number of people, the helmet wearing test results, the work clothes verification results, and the environmental safety test results;
[0099] Determining the risk level according to the risk score;
[0100] The risk score is determined by the following formula:
[0101]
[0102] in, M Score the risk; T i is the temperature value of the i-th device, and n is the total number of devices; T max is the preset temperature threshold; α 1 is the weight value corresponding to the compliance item detection result, p For the actual number of people, p e To specify the number of people working, α 2 is the weight value corresponding to the helmet wearing detection result, m 2 is the score of the helmet wearing test result, α 3 is the weight value corresponding to the work uniform verification result, m 3 The score of the work uniform verification result, α 4 is the weight value corresponding to the environmental safety detection result, m 4 is the score of the environmental safety test result; a is a constant and a positive integer. α 1+ α 2+ α 3+ α 4=1.
[0103] It should be noted that m 2 , m 4 The value of is 0 or 1. m 3 The value of is 0, 0.5 or 1. m 2 =0, no helmet is worn; m 2 =1, it means wearing a safety helmet. m 3 =0, no work clothes are worn; m 3 =0.5, the person is wearing work clothes but not the target work clothes; m 3 =1, the target work clothes are worn. m 4 =0, there is abnormal intrusion; m 4=1, there is no abnormal intrusion. The higher the risk score, the higher the risk level, the higher and more urgent the safety hazard in the photovoltaic power plant, and the more urgent it is to be maintained by maintenance personnel. Specifically, the risk level corresponding to the risk score can be set by the user according to the actual application scenario and needs. It should be noted that the total number of devices can be the total number of devices in the photovoltaic power plant in the target detection area that need to pay special attention to the temperature, or the total number of all devices, or the total number of devices included in the monitoring image.
[0104] In the present invention, the temperature value of the device is considered separately, and when the temperature value of the device far exceeds the preset temperature threshold, a higher risk level can be issued so that emergency maintenance can be carried out in time for the current situation.
[0105] like Figure 3 , Figure 4 As shown, an embodiment of the present invention provides an intelligent monitoring device for a photovoltaic power plant. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware. From the hardware level, Figure 3 As shown in FIG. 1 , a hardware architecture diagram of a computing device in which a photovoltaic power plant intelligent monitoring device is provided in an embodiment of the present invention is provided. Figure 3 In addition to the processor, memory, network interface, and non-volatile memory shown in the figure, the computing device in which the device is located in the embodiment may also generally include other hardware, such as a forwarding chip responsible for processing messages, etc. Taking software implementation as an example, Figure 4 As shown, as a device in a logical sense, the CPU of the computing device in which it is located reads the corresponding computer program in the non-volatile memory into the memory and runs it. This embodiment provides an intelligent monitoring device for a photovoltaic power plant, which includes:
[0106] The acquisition module 400 is used to obtain monitoring images of the photovoltaic power plant;
[0107] The slicing module 402 is used to perform slicing-assisted reasoning on the monitoring image to obtain a slicing image;
[0108] The detection module 404 is used to detect the slice image using a pre-trained detection model to obtain a detection result; the detection result includes a worker safety behavior detection result and an environmental safety detection result; and according to the detection result, the alarm information is determined.
[0109] In some specific implementations, the acquisition module 400 may be used to execute the above step 100 , the slicing module 402 may be used to execute the above step 102 , and the detection module 404 may be used to execute the above steps 104 and 106 .
[0110] In one embodiment of the present invention, the pre-trained detection model uses a target detection network, which includes: a backbone network, a neck network, and a head module;
[0111] The backbone network includes a space-to-depth layer, a point convolution layer, a first re-parameterized convolution module, a first convolution layer, a second re-parameterized convolution module, a second convolution layer, a hole re-parameterized convolution module, a third convolution layer, a third re-parameterized convolution module, and a spatial pyramid pooling layer;
[0112] The neck network includes a first upsampling layer, a first connection layer, a fourth parameterized convolution module, a second upsampling layer, a second connection layer, a fifth parameterized convolution module, a fourth convolution layer, a third connection layer, a sixth parameterized convolution module, a fifth convolution layer, a fourth connection layer, and a seventh parameterized convolution module;
[0113] The head module includes a first detection layer, a second detection layer, and a third detection layer.
[0114] In one embodiment of the present invention, in the backbone network, the slice image is input into the space-to-depth layer, and the first feature image is obtained through the point convolution layer; the first feature image is sequentially passed through the first reparameterized convolution module, the first convolution layer and the second reparameterized convolution module to obtain the second feature image; the second feature image is passed through the second convolution layer and the hole reparameterized convolution module to obtain the third feature image; the third feature image is passed through the third convolution layer, the third reparameterized convolution module and the spatial pyramid pooling layer to obtain the fourth feature image;
[0115] In the neck network, the fourth feature image is input into the first connection layer together with the third feature image after passing through the first upsampling layer to obtain a first fused feature map; the first fused feature map is input into the fourth reparameterized convolution module, the second upsampling layer, and the second feature image is sequentially input into the second connection layer and the fifth reparameterized convolution module to obtain a first output image; the first output image is input into the fourth convolution layer together with the image output by the fourth reparameterized convolution module and the third connection layer and the sixth reparameterized convolution module to output a second output image; the second output image is input into the fifth convolution layer together with the fourth feature image and the fourth connection layer and the seventh reparameterized convolution module to output a third output image;
[0116] In the head module, the first detection layer, the second detection layer and the third detection layer are used to analyze and cluster the first output image, the second output image and the third output image respectively.
[0117] In one embodiment of the present invention, it also includes:
[0118] The target detection network is subjected to self-knowledge distillation to obtain a first network; wherein, self-knowledge distillation is introduced into the target detection network, the EMA model is used as the teacher network, and the target detection network is used as the student network, and the teacher network guides the student network to perform accuracy recovery and adjustment to obtain the first network.
[0119] In one embodiment of the present invention, the detection module 404 is further configured to perform the following operations:
[0120] The slice image is detected by using a pre-trained first detection model to obtain a helmet wearing detection result; wherein the first detection model is obtained by training at least two groups of first sample sets, each group of first sample sets includes a first sample image as an input and a detection result of wearing a helmet included in the first sample image as an output;
[0121] The slice image is detected by using a pre-trained second detection model to obtain a work clothes detection result; wherein the worker safety behavior detection result includes a safety helmet wearing detection result and a work clothes detection result; the second detection model is obtained by training at least two groups of second sample sets, each group of second sample sets includes a second sample image as an input and a detection result of the work clothes worn included in the second sample image as an output;
[0122] The slice image is detected using a pre-trained third detection model to obtain an environmental safety detection result; wherein the third detection model is trained by at least two groups of third sample sets, each group of third sample sets includes a third sample image as input and a detection result of abnormal intrusion into the photovoltaic power plant included in the third sample image as output.
[0123] In one embodiment of the present invention, the detection module 404 is further used to perform the following operations: determining the detection results including unsafe behaviors of staff and / or environmental abnormalities as abnormal results;
[0124] According to the abnormal result, a false alarm image library matching the monitoring image where the abnormal result is located is obtained; wherein the monitoring image has the same detection result as the false alarm image library;
[0125] Determine whether the similarity between the monitoring image and the false alarm image in the false alarm image library is greater than a preset threshold;
[0126] When the judgment result is yes, the monitoring image is stored in the false alarm image library, and the alarm information of the monitoring image is determined to be safe;
[0127] If the result is negative, execute:
[0128] S1: Determine the target time for acquiring the surveillance image;
[0129] S2: Determine the target task at the target time according to the preset task schedule;
[0130] S3: Determine the temperature value of the equipment in the monitoring image at the target time and the number of designated operators required for the target task;
[0131] S4: Determine the temperature detection result according to the temperature value and the preset temperature threshold;
[0132] S5: Determine the compliance item detection result based on the actual number of people in the monitoring image and the number of designated operators;
[0133] S6: Determine the risk level of the alarm information based on the temperature detection result, the compliance item detection result and the detection result; different risk levels correspond to different solutions.
[0134] In one embodiment of the present invention, the detection module 404 is further configured to perform the following operations:
[0135] Get the current work clothes from the work clothes detection results;
[0136] Determine the work uniform verification results based on the current work uniform and the target work uniform;
[0137] Determine the risk score of the alarm information based on the temperature value, preset temperature threshold, actual number of people, designated number of workers, helmet wearing test results, work clothes verification results, and environmental safety test results;
[0138] Determine the risk level based on the risk score;
[0139] The risk score is determined by the following formula:
[0140]
[0141] in, M Score the risk; T i is the temperature value of the i-th device, and n is the total number of devices; T max is the preset temperature threshold; α 1 is the weight value corresponding to the compliance item detection result, p For the actual number of people, p e To specify the number of people working, α 2 is the weight value corresponding to the helmet wearing detection result, m 2 is the score of the helmet wearing test result, α 3 is the weight value corresponding to the work uniform verification result, m 3 The score of the work uniform verification result, α4 is the weight value corresponding to the environmental safety detection result, m 4 is the score of the environmental safety test result; a is a constant and a positive integer. α 1+ α 2+ α 3+ α 4=1.
[0142] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on an intelligent monitoring device for a photovoltaic power plant. In other embodiments of the present invention, an intelligent monitoring device for a photovoltaic power plant may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0143] The information interaction, execution process and other contents between the modules in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention. For the specific contents, please refer to the description in the embodiment of the method of the present invention, and no further description is given here.
[0144] An embodiment of the present invention further provides a computing device, including a memory and a target processor, wherein a computer program is stored in the memory, and when the target processor executes the computer program, a photovoltaic power plant intelligent monitoring method in any embodiment of the present invention is implemented.
[0145] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes a photovoltaic power plant intelligent monitoring method in any embodiment of the present invention.
[0146] An embodiment of the present application also provides a computer program product, which includes a computer program. A processor of a computer device reads the computer program from a computer-readable storage medium, and the processor executes the computer program, so that the computer device executes a photovoltaic power plant intelligent monitoring method described in any of the above embodiments.
[0147] Specifically, a system or device equipped with a storage medium can be provided, on which software program code that implements the functions of any of the above-mentioned embodiments is stored, and a computer (or CPU or MPU) of the system or device can be enabled to read and execute the program code stored in the storage medium.
[0148] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
[0149] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer via a communication network.
[0150] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling the operating system on the computer to complete part or all of the actual operations based on the instructions of the program code.
[0151] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.
[0152] It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical factors in the process, method, article or device including the elements.
[0153] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various media that can store program codes.
[0154] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A photovoltaic power plant intelligent monitoring method, characterized in that: include: Obtain monitoring images of photovoltaic power plants; Performing slice-assisted reasoning on the monitoring image to obtain a slice image; Using a pre-trained detection model to detect the slice image, and obtain a detection result; the detection result includes a worker safety behavior detection result and an environmental safety detection result; Determine warning information according to the detection result; The pre-trained detection model adopts a target detection network, and the target detection network includes: a backbone network, a neck network and a head module; The backbone network includes a space-to-depth layer, a point convolution layer, a first re-parameterized convolution module, a first convolution layer, a second re-parameterized convolution module, a second convolution layer, a hole re-parameterized convolution module, a third convolution layer, a third re-parameterized convolution module and a spatial pyramid pooling layer; The neck network includes a first upsampling layer, a first connection layer, a fourth parameterized convolution module, a second upsampling layer, a second connection layer, a fifth parameterized convolution module, a fourth convolution layer, a third connection layer, a sixth parameterized convolution module, a fifth convolution layer, a fourth connection layer, and a seventh parameterized convolution module; The head module includes a first detection layer, a second detection layer, and a third detection layer; In the backbone network, the slice image is input into the space-to-depth layer, and a first feature image is obtained through a point convolution layer; the first feature image is sequentially passed through a first reparameterized convolution module, a first convolution layer, and a second reparameterized convolution module to obtain a second feature image; the second feature image is passed through a second convolution layer and a hole reparameterized convolution module to obtain a third feature image; the third feature image is passed through a third convolution layer, a third reparameterized convolution module, and a spatial pyramid pooling layer to obtain a fourth feature image; In the neck network, the fourth feature image is input into the first connection layer together with the third feature image after passing through the first upsampling layer to obtain a first fused feature map; the first fused feature map is input into the fourth reparameterized convolution module, the second upsampling layer, and the second feature image is sequentially input into the second connection layer and the fifth reparameterized convolution module to obtain a first output image; the first output image is input into the fourth convolution layer, and then input into the third connection layer and the sixth reparameterized convolution module together with the image output by the fourth reparameterized convolution module to output a second output image; the second output image is input into the fifth convolution layer, and then input into the fourth connection layer and the seventh reparameterized convolution module together with the fourth feature image to output a third output image; In the head module, the first detection layer, the second detection layer and the third detection layer are used to analyze and cluster the first output image, the second output image and the third output image respectively.
2. The method according to claim 1, characterized in that: Also includes: The target detection network is subjected to self-knowledge distillation to obtain a first network; wherein, self-knowledge distillation is introduced into the target detection network, an EMA model is used as a teacher network, and the target detection network is used as a student network, and the teacher network guides the student network to perform accuracy recovery and adjustment to obtain the first network.
3. The method according to claim 1, characterized in that The detecting the slice image using the pre-trained detection model to obtain the detection result includes: The slice image is detected by using a pre-trained first detection model to obtain a helmet wearing detection result; wherein the first detection model is obtained by training at least two groups of first sample sets, each group of first sample sets includes a first sample image as an input and a detection result of wearing a helmet included in the first sample image as an output; The slice image is detected by using a pre-trained second detection model to obtain a work clothes detection result; wherein the worker safety behavior detection result includes the safety helmet wearing detection result and the work clothes detection result; the second detection model is obtained by training at least two groups of second sample sets, each group of second sample sets includes a second sample image as input and a detection result of the work clothes worn in the second sample image as output; The slice image is detected using a pre-trained third detection model to obtain the environmental safety detection result; wherein the third detection model is obtained by training at least two groups of third sample sets, each group of third sample sets includes a third sample image as input and a detection result of abnormal intrusion into the photovoltaic power plant included in the third sample image as output.
4. The method according to claim 1, characterized in that: The step of determining the alarm information according to the detection result includes: Determining the detection results including unsafe behaviors of staff and / or environmental abnormalities as abnormal results; According to the abnormal result, a false alarm picture library matching the monitoring image where the abnormal result is located is obtained; wherein the monitoring image has the same detection result as the false alarm picture library; Determine whether the similarity between the monitoring image and the false alarm image in the false alarm image library is greater than a preset threshold; When the judgment result is yes, the monitoring image is stored in the false alarm image library, and the warning information of the monitoring image is determined to be safe; When the judgment result is no, the alarm information is determined according to the abnormal result.
5. The method according to claim 1, characterized in that The step of determining the alarm information according to the detection result includes: Determining a target time for acquiring the surveillance image; Determine the target task at the target time according to the preset task schedule; Determine the temperature value of the equipment in the monitoring image at the target time and the number of designated operators required for the target task; Determining a temperature detection result according to the temperature value and a preset temperature threshold; Determine the compliance item detection result according to the actual number of people in the monitoring image and the designated number of people; The risk level of the alarm information is determined according to the temperature detection result, the compliance item detection result and the detection result; wherein different risk levels correspond to different solutions.
6. An intelligent monitoring device for a photovoltaic power plant, used to execute the intelligent monitoring method for a photovoltaic power plant according to any one of claims 1 to 5, characterized in that: include: An acquisition module is used to obtain monitoring images of the photovoltaic power plant; A slicing module, used for performing slicing-assisted reasoning on the monitoring image to obtain a slicing image; The detection module is used to detect the slice image using a pre-trained detection model to obtain a detection result; the detection result includes a staff safety behavior detection result and an environmental safety detection result; and according to the detection result, an alarm message is determined.
7. A computing device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Transformer substation personnel safety helmet wearing detection method and system
CN114998830A
Intelligent power plant small target detection method and system based on YOLOv5
CN115471794A
Safety helmet detection and identification method
CN116152546A
Deep-learning-based pedestrian detection method, system and apparatus, and storage medium
WO2020164270A1
Imminent precipitation forecast method and apparatus
WO2023103587A1
