Nuclear power material loss detection method and system based on neural network

By applying an automated detection method based on neural networks in nuclear power plants, the problem of difficulty in quickly and accurately identifying nuclear material losses in nuclear power plants is solved, efficient material monitoring and security threat response are achieved, and long-term and stable operation of nuclear power plants is ensured.

CN119048968APending Publication Date: 2024-11-29华能霞浦核电有限公司

Patent Information

Application Number
CN202410862925.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The methods used in the prior art to detect nuclear material losses or leakage in nuclear power plants rely on manual monitoring, which are prone to missed and false alarms, and are slow to respond, making it difficult to quickly and accurately identify and deal with potential threats.

Method used

Using a neural network-based method, the neural network model is optimized through video image preprocessing and data set training, the prediction bounding box is extracted and screened, nuclear power material loss strategies are generated, automated and intelligent material detection is realized, and dependence on manual monitoring is reduced.

Benefits of technology

It has improved the automation level and response speed of nuclear power plant material monitoring, significantly improved the predictive and responsive ability to abnormal behaviors, effectively prevented and reduced the illegal transfer or loss of nuclear materials, and ensured the safe operation of nuclear power plants and public safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119048968A_ABST
    Figure CN119048968A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of nuclear power station safety monitoring, in particular to a nuclear power material loss detection method and system based on a neural network. The system collects and preprocesses a video image of a nuclear power station, carries out data set training, and optimizes a neural network model; using the optimized neural network model to extract and screen a prediction bounding box, outputting a material detection result, and generating a nuclear power material loss strategy; and the performance of the test model in nuclear power material detection is verified through simulation. By using an advanced neural network algorithm, the system can realize highly automatic monitoring, and human errors and operation cost are reduced. The real-time response capability of the system provides powerful technical support for nuclear power security, so that any potential security threat can be quickly identified and effectively managed. Through continuous monitoring and intelligent analysis, the management capability and response speed of the nuclear power station to internal security threats are greatly improved, and a guarantee is provided for long-term stable operation of the nuclear power station.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of nuclear power plant safety monitoring, and in particular to a method and system for detecting nuclear power material loss based on a neural network. Background Art

[0002] The goal of nuclear material accounting is to determine accurately and as quickly as possible whether material has been diverted or lost (e.g., leaked or stolen) in order to minimize the threat to the environment and the public. Although some progress has been made in this area, controls to prevent the leakage, theft, or other loss of radioactive material remain a concern. In addition, the leakage of radioactive material into the environment has the potential to adversely affect the well-being of the world's people and poses a clear and present danger to national and international security. Therefore, any method that can quickly and accurately detect loss or diversion will make a significant contribution to nuclear safeguards and public safety.

[0003] The nuclear material accounting procedure and the estimation problem of related parameter values ​​are unique applications of outlier detection to critical societal issues. Previously, joint estimation procedures, data bounds, polynomial smoothing, and neural networks have been successfully tested on traditional industrial process control data sets with known process disturbances. In this invention, we propose an enhanced application of a neural network-based method in nuclear material accounting and any process control problem. The method of the invention can create a training data set from an actual data set of any size, which can effectively monitor and prevent the loss or abnormal movement of materials in nuclear power plants, and enhance the safety management of nuclear power plants. Summary of the invention

[0004] In view of the above problems existing in the prior art, the present invention is proposed.

[0005] Therefore, the present invention provides a method for detecting nuclear power material loss based on a neural network, which can solve the problems that traditional methods rely on manual monitoring or simple systems, are prone to missed reports and false alarms, and have delays in processing and response speeds. The neural network can self-learn and adjust, thereby improving the level of process automation and intelligence.

[0006] To solve the above technical problems, the present invention provides the following technical solutions: a method for detecting nuclear power material loss based on a neural network, comprising: the system collects and preprocesses video images of the nuclear power plant, performs data set training, and optimizes the neural network model; uses the optimized neural network model to extract and filter prediction bounding boxes, output material detection results, and generate a nuclear power material loss strategy; and verifies the performance of the test model in nuclear power material detection through simulation.

[0007] As a preferred solution of the method for detecting nuclear power material loss based on a neural network described in the present invention, the preprocessing includes the system taking the sample video images collected in advance inside the nuclear power plant as a data set and performing image preprocessing;

[0008] The image preprocessing includes receiving a real-time video stream from a nuclear power plant monitoring system with an abnormal loss detection head, selecting image frames from the video stream for analysis, and applying an image noise reduction algorithm to remove random noise in the image to improve the accuracy of the processing;

[0009] The image denoising algorithm is implemented using Gaussian blur, and the formula is expressed as:

[0010] I′=I*G(a,b,σ)

[0011]

[0012] Where I is the original input image, I′ is the output image after denoising, G(x,y,σ) is the Gaussian kernel, σ is the standard deviation, e is the base of the natural logarithm, and (a,b) are the horizontal and vertical coordinates from the center of the kernel;

[0013] The initial neural network consists of a backbone network, a material identification detection head and an abnormal loss detection head. The weight parameters of the material identification detection head and the abnormal loss detection head are updated and the data set is trained. The updated weight parameters are selected and saved in the initial neural network model to obtain the optimized neural network model.

[0014] As a preferred solution of the method for detecting nuclear power material loss based on neural network described in the present invention, the data set training includes three stages, namely, the backbone network training stage, the material identification detection head training stage and the abnormal loss detection head training stage;

[0015] The monitoring system pre-collects sample video images in the nuclear power plant as a data set, extracts frames from the sample video images to mark the location and category of nuclear power materials, and divides them into training set, verification set and test set after marking. The training set is input into the neural network model for training and weight parameters are adjusted;

[0016] When the backbone network is trained, the system incorporates the backbone network, the material identification detection head, the abnormal loss detection head and related data sets into the training, and obtains a backbone network that is suitable for both the material identification detection head and the abnormal loss detection head;

[0017] When the material recognition detection head is being trained, the system will freeze the weight parameters of the backbone network and the abnormal loss detection head, and only update the weight parameters of the material recognition detection head, and use the material recognition data set for training;

[0018] When the abnormal loss detection head is being trained, the system freezes the weight parameters of the backbone network and the material identification detection head, and only updates the weights of the abnormal loss detection head, and only uses the abnormal loss data set for training;

[0019] After the three training stages are completed in sequence, the weight parameters trained on the test set are selected and saved into the neural network model to obtain the optimized neural network model.

[0020] As a preferred solution of the method for detecting nuclear power material loss based on a neural network described in the present invention, the backbone network training uses a cross entropy loss function to extract core features in the image, and the formula is expressed as follows:

[0021]

[0022] Among them, f(x i ; θ) is the backbone network, N is the total number of samples in the batch, i is the sample index, C is the total number of feature recognition categories, c is the feature recognition category index, y i,c is the category indicator, f(x i ;θ) c is the probability that the model predicts that sample i belongs to class c, log is the logarithmic function, θ is the backbone network parameter, and L is the loss function;

[0023] The material recognition detection head training uses the cross entropy loss function, considering the recognition and classification of nuclear power materials, the output f(x i ) is used as the input of the material detection and recognition detection head. Only the material recognition detection head parameter φ is trained, while the parameter θ remains unchanged. The cross entropy loss function formula is expressed as:

[0024]

[0025] Among them, g(f(x i );φ) is the material identification detection head, M is the total number of material categories;

[0026] The abnormal loss detection head training uses a binary cross entropy loss function to identify material loss or leakage. The parameters of the backbone network and material detection are frozen. The formula is expressed as:

[0027]

[0028] Among them, ψ is the abnormal loss detection head parameter, y i is the sample abnormal loss indicator, h(f(x i ), ψ is the probability that the anomaly loss detection head predicts that sample i has an anomaly.

[0029] As a preferred solution of the nuclear power material loss detection method based on neural network described in the present invention, wherein: the output detection result is obtained by inputting the pre-processed image data into the optimized neural network model, and outputting the result through the material recognition detection head and the abnormal loss detection head respectively;

[0030] Obtain the matrix output by the material identification and detection task head in the neural network model, decode the matrix, filter the predicted bounding boxes according to the category confidence, and remove the predicted bounding boxes whose category confidence is lower than the confidence threshold;

[0031] After the initial category screening, continue to screen the decoded prediction bounding boxes. During the initial iterative screening, all prediction bounding boxes are sorted in descending order according to the category confidence values ​​of multiple prediction bounding boxes, and the prediction bounding box with the highest confidence is selected as the initial prediction bounding box of the current material target. The IOU value of the overlap between the prediction bounding box of the current material target and other prediction bounding boxes is calculated;

[0032] If IOU>θ, the predicted bounding box is excluded;

[0033] If IOU ≤ θ, the predicted bounding box is retained as the result;

[0034] Among them, θ is the preset standard threshold;

[0035] Call the retained result, repeat the iterative steps until all predicted bounding boxes are processed and cleared, output the predicted bounding box of the current material target, parse the bounding box information of the target predicted bounding box in the current input image, obtain the image boundary of the input image, and crop and delete the predicted bounding boxes that exceed the image boundary of the input image;

[0036] After the initial category screening, overlapping screening and bounding box screening and trimming, the remaining target prediction bounding box is output as the final material recognition detection result, and a target material image containing a prediction bounding box is obtained. Each prediction bounding box includes the location of the prediction bounding box, the category label and the category confidence.

[0037] As a preferred solution of the nuclear power material loss detection method based on neural network described in the present invention, wherein: the generation of nuclear power material loss strategy includes obtaining a filtered prediction boundary box from the material identification detection head, the abnormal loss detection head obtains the location information of each material in the nuclear power plant through the prediction boundary box, and continuously monitors the materials, and in the monitoring system of the nuclear power plant, key areas are set, and the key areas include the nuclear reactor core area, the high-radioactive material storage area and the safety monitoring area;

[0038] Use sliding window technology to analyze the frames in each window and track the changes in the bounding box of each material. The system will continuously record the movement of materials in key areas and set risk thresholds for illegal movement of materials in consecutive frames. If the movement or position exceeds the threshold, the system will trigger an alarm of different colors, and the alarm color represents the level of risk.

[0039] If the risk detected is S-level, the system will issue a red alarm and a nuclear alarm, automatically notify the security management personnel to initiate emergency safety measures, and send special personnel to conduct on-site inspections. The system will automatically lock the relevant areas, prohibit all unauthorized access, automatically adjust the surveillance cameras, conduct real-time video monitoring of the areas where abnormalities occur, record all activities, report the situation to the site management and relevant security officials, and initiate the crisis management process;

[0040] If the risk detected is level A, the system will issue a yellow alarm, record the event and conduct regular reviews to determine the risk level, increase patrol frequency in medium-risk areas, strengthen monitoring through cameras or security personnel, and regularly conduct risk assessments in medium-risk areas to determine the effectiveness of security measures and whether adjustments are needed;

[0041] If the risk detected is Class B, the system will issue a green alert, maintain a standard monitoring level, conduct regular security inspections, record all Class B risk alerts, and conduct data analysis to identify security loopholes or areas that need improvement. Regular training on employee security awareness and preventive measures will be conducted to ensure that all employees can identify and report potential security issues;

[0042] The S-level risks include the movement of materials involving nuclear reaction areas, control systems and radioactive materials, any unauthorized access or abnormal movement of materials;

[0043] The A-level risks include the movement of critical infrastructure materials related to power and cooling systems;

[0044] The B-level risk materials include the movement of materials in conventional areas.

[0045] As a preferred solution of the method for detecting nuclear power material loss based on a neural network described in the present invention, wherein: the simulation verification includes a verification set evaluation and a test set test;

[0046] The validation set evaluation includes performing the same preprocessing on the validation set data as on the training set to ensure that the data format is consistent with that during training, running the model on the validation set, recording the model's predicted output for each sample, adjusting the model's hyperparameters based on performance feedback on the validation set, adjusting the learning rate, changing the network structure, and adjusting the regularization strength, monitoring the performance indicators of the validation set, stopping training when the performance does not improve for several consecutive training cycles to avoid overfitting, and integrating the results and findings of the validation set evaluation into the model's training and development process to ensure continuous improvement and optimization of the model;

[0047] The test set test includes using a test set that is different from the training set and the validation set to ensure that the data distribution of the test set is consistent with the actual application scenario, and recording and analyzing the performance of the model on the test set in detail, the accuracy, recall and F1 score values. The system provides a performance report, adjusts and optimizes the model based on the performance report, and continuously monitors the performance after the model is deployed to ensure that the model can adapt to environmental and operational changes.

[0048] Another object of the present invention is to provide a nuclear power material loss detection system based on a neural network, solve the loopholes in the safety monitoring of nuclear power plants, improve the accuracy and response speed of material loss detection, reduce the reliance on manual monitoring, and improve the efficiency of nuclear power safety management through automated and intelligent processing. The method of the present invention not only improves the automation level of nuclear power plant material monitoring, but also significantly improves the ability to predict and respond to abnormal behavior through continuous data monitoring and real-time analysis, and can effectively prevent and reduce the illegal transfer or loss of nuclear materials, and ensure the safe operation of nuclear power plants and public safety.

[0049] As a preferred solution of the nuclear power material loss detection system based on neural network described in the present invention, it includes: a preprocessing and model training module, a strategy analysis module and a simulation verification module;

[0050] The preprocessing and model training module collects video image data inside the nuclear power plant, performs preprocessing, ensures the quality and consistency of input data, and optimizes the neural network model by updating weight parameters and data set training;

[0051] The strategy analysis module uses the optimized neural network model to extract and filter the prediction bounding box, output the material detection results, and generate the nuclear power material loss strategy;

[0052] The simulation verification module uses the verification set and the test set to evaluate the optimized model, and verifies the performance of the model in nuclear power material detection through simulation verification.

[0053] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and wherein when the processor executes the computer program, the processor implements the steps of any one of the methods for detecting nuclear power material loss based on a neural network.

[0054] A computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of any one of the methods for detecting nuclear power material loss based on a neural network are implemented.

[0055] Beneficial effects of the present invention: By utilizing advanced neural network algorithms, the system can achieve highly automated monitoring, reducing human errors and operating costs. The system's real-time response capability provides strong technical support for nuclear power safety, enabling any potential security threats to be quickly identified and effectively managed. Through continuous monitoring and intelligent analysis, the present invention can sound an alarm at the early stage of abnormal material movement, greatly improving the nuclear power plant's management capabilities and response speed to internal security threats, thereby providing a guarantee for the long-term stable operation of the nuclear power plant. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0057] Figure 1 A flowchart of a method for detecting nuclear power material loss based on a neural network is provided for one embodiment of the present invention.

[0058] Figure 2 A neural network model diagram of a neural network-based nuclear power material loss detection method provided for one embodiment of the present invention.

[0059] Figure 3 A module diagram of a nuclear power material loss detection system based on a neural network is provided for one embodiment of the present invention. DETAILED DESCRIPTION

[0060] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0061] Example 1

[0062] Reference Figure 1 and Figure 2 , which is the first embodiment of the present invention, provides a method for detecting nuclear power material loss based on a neural network, comprising:

[0063] S1: The system collects and preprocesses video images of the nuclear power plant, performs data set training, and optimizes the neural network model.

[0064] It should be noted that the preprocessing includes the system using the sample video images of the interior of the nuclear power plant collected in advance as a data set to perform image preprocessing;

[0065] The image preprocessing includes receiving a real-time video stream from a nuclear power plant monitoring system with an abnormal loss detection head, selecting image frames from the video stream for analysis, wherein the video stream image is an RGB image or a black-and-white image, and applying an image denoising algorithm to remove random noise in the image to improve the accuracy of the processing;

[0066] The image denoising algorithm is implemented using Gaussian blur, and the formula is expressed as:

[0067] I′=I*G(a,b,σ)

[0068]

[0069] Where I is the original input image, I′ is the output image after denoising, G(x,y,σ) is the Gaussian kernel, σ is the standard deviation, e is the base of the natural logarithm, and (a,b) are the horizontal and vertical coordinates from the center of the kernel;

[0070] like Figure 2 As shown, the initial neural network consists of a backbone network, a material identification detection head and an abnormal loss detection head. The PyTorch deep learning framework is used to construct a neural network model including 1 backbone network and 2 task heads. The neural network model adopted in the embodiment of the present invention can greatly save the consumption of the neural network, which is of great significance in the real-time detection system at the edge.

[0071] PyTorch is an open source Python machine learning library that provides powerful GPU acceleration support and a flexible programming model based on dynamic computational graphs, making the model design and debugging process more intuitive and faster. Its underlying layer, like the Torch framework, provides a Python interface and is a Python-first deep learning framework.

[0072] The weight parameters of the material identification detection head and the abnormal loss detection head are updated and the data set is trained. The updated weight parameters are selected and saved in the initial neural network model to obtain the optimized neural network model.

[0073] It should be noted that the data set training includes three stages, namely the backbone network training stage, the material recognition detection head training stage and the abnormal loss detection head training stage;

[0074] The monitoring system pre-collects sample video images in the nuclear power plant as a data set, extracts frames from the sample video images to mark the location and category of nuclear power materials, and divides them into training set, verification set and test set after marking. The training set is input into the neural network model for training and weight parameters are adjusted;

[0075] When designing a neural network model, all weight parameters are initialized first, where the backbone network uses pre-trained weights and other weights are initialized with random small values. The network inputs training samples and performs a forward propagation process to calculate the predicted output. The loss function is calculated to evaluate the accuracy of the prediction, and the gradient of the loss function for each weight parameter is determined through the back-propagation algorithm.

[0076] Using these gradients, combined with the learning rate, the weights are updated in the direction of the maximum gradient according to the gradient descent method to optimize the network performance. This process is iterated, and new samples are selected to continue training until the model training is completed, and the final values ​​of all weight parameters are determined. This method ensures that the network can effectively adjust its parameters to minimize the total loss during training.

[0077] When the backbone network is trained, the system incorporates the backbone network, the material identification detection head, the abnormal loss detection head and related data sets into the training, and obtains a backbone network that is suitable for both the material identification detection head and the abnormal loss detection head;

[0078] When the material recognition detection head is being trained, the system will freeze the weight parameters of the backbone network and the abnormal loss detection head, and only update the weight parameters of the material recognition detection head, and use the material recognition data set for training;

[0079] When the abnormal loss detection head is being trained, the system freezes the weight parameters of the backbone network and the material identification detection head, and only updates the weights of the abnormal loss detection head, and only uses the abnormal loss data set for training;

[0080] When initializing all weight parameters, use the pre-trained model as the initial weight, and then initialize each task head according to the multi-task learning framework structure. Adjust the learning rate of different layers according to the specific situation to better adapt to the feature learning requirements of different tasks. During the training process, tune the model according to the evaluation results of the model to ensure that the model can achieve good results.

[0081] After the three training stages are completed in sequence, the weight parameters trained on the test set are selected and saved into the neural network model to obtain the optimized neural network model.

[0082] Furthermore, the backbone network training uses a cross entropy loss function to extract the core features in the image, which is expressed as follows:

[0083]

[0084] Among them, f(x i ; θ) is the backbone network, N is the total number of samples in the batch, i is the sample index, C is the total number of feature recognition categories, c is the feature recognition category index, y i,c is the category indicator, f(x i ;θ) c is the probability that the model predicts that sample i belongs to class c, log is the logarithmic function, θ is the backbone network parameter, and L is the loss function;

[0085] The material recognition detection head training uses the cross entropy loss function, considering the recognition and classification of nuclear power materials, the output f(x i ) is used as the input of the material detection and recognition detection head. Only the material recognition detection head parameter φ is trained, while the parameter θ remains unchanged. The cross entropy loss function formula is expressed as:

[0086]

[0087] Among them, g(f(x i );φ) is the material identification detection head, M is the total number of material categories;

[0088] The abnormal loss detection head training uses a binary cross entropy loss function to identify material loss or leakage. The parameters of the backbone network and material detection are frozen. The formula is expressed as:

[0089]

[0090] Among them, ψ is the abnormal loss detection head parameter, y i is the sample abnormal loss indicator, h(f(x i ), ψ is the probability that the anomaly loss detection head predicts that sample i has an anomaly.

[0091] S2: Use the optimized neural network model to extract and filter the predicted bounding boxes, output the material detection results, and generate a nuclear power material loss strategy.

[0092] It should be noted that the output detection results are obtained by inputting the preprocessed image data into the optimized neural network model, and outputting the results through the material recognition detection head and the abnormal loss detection head respectively;

[0093] Obtain the matrix output by the material identification and detection task head in the neural network model, decode the matrix, filter the predicted bounding boxes according to the category confidence, and remove the predicted bounding boxes whose category confidence is lower than the confidence threshold;

[0094] After the initial category screening, continue to screen the decoded prediction bounding boxes. During the initial iterative screening, all prediction bounding boxes are sorted in descending order according to the category confidence values ​​of multiple prediction bounding boxes, and the prediction bounding box with the highest confidence is selected as the initial prediction bounding box of the current material target. The IOU value of the overlap between the prediction bounding box of the current material target and other prediction bounding boxes is calculated;

[0095] If IOU>θ, the predicted bounding box is excluded;

[0096] If IOU ≤ θ, the predicted bounding box is retained as the result;

[0097] Here, θ is the preset standard threshold, usually 0.5.

[0098] In the tasks of material identification and abnormal loss detection, category confidence is used to determine the confidence level that the object in each predicted bounding box belongs to a specific category. Specifically, category confidence consists of two parts:

[0099] Object confidence includes the probability that the current predicted bounding box belongs to the foreground (the probability that the current predicted bounding box belongs to the foreground), that is, the confidence that the model predicts that the bounding box does contain any object;

[0100] The class probability includes the probability that the object belongs to each specific class based on the confirmation that there is an object within the bounding box.

[0101] Therefore, the class confidence can be calculated as the product of these two factors: object confidence multiplied by the probability that the object in the bounding box belongs to a specific class. For example, if the confidence that there is an object in a bounding box is 0.8, and the probability that the object belongs to the "nuclear material" class is 0.75, then the class confidence that the bounding box is identified as "nuclear material" is 0.8×0.75=0.6.

[0102] In an embodiment, this metric helps the system decide whether to accept or exclude a specific detection result. Usually, a threshold is set, and only when the category confidence is higher than this threshold, the detection result is considered valid, so as to be used for further processing or as the final output result, which helps to reduce the false positive rate and improve the overall accuracy and reliability of the detection system.

[0103] Call the retained result, repeat the iterative steps until all predicted bounding boxes are processed and cleared, output the predicted bounding box of the current material target, parse the bounding box information of the target predicted bounding box in the current input image, obtain the image boundary of the input image, and crop and delete the predicted bounding boxes that exceed the image boundary of the input image;

[0104] After the initial category screening, overlapping screening and bounding box screening and trimming, the remaining target prediction bounding box is output as the final material recognition detection result, and a target material image containing a prediction bounding box is obtained. Each prediction bounding box includes the location of the prediction bounding box, the category label and the category confidence.

[0105] It should be noted that the strategy for generating nuclear power material loss includes obtaining a screened prediction boundary box from a material identification detection head, and the abnormal loss detection head obtains the location information of each material in the nuclear power plant through the prediction boundary box, and continuously monitors the materials. In the monitoring system of the nuclear power plant, key areas are set, and the key areas include the core area of ​​the nuclear reactor, the storage area of ​​highly radioactive materials, and the safety monitoring area;

[0106] Use sliding window technology to analyze the frames in each window and track the changes in the bounding box of each material. The system will continuously record the movement of materials in key areas and set risk thresholds for illegal movement of materials in consecutive frames. If the movement or position exceeds the threshold, the system will trigger an alarm of different colors, and the alarm color represents the level of risk.

[0107] There are at least two methods to identify and judge the location of each target material by using the predicted bounding box where the material is located:

[0108] Method 1: Perform position detection based on the predicted bounding box position of the material and the boundary line of the key area to determine whether each material is within the key area.

[0109] Method 2: The status of the material is determined by calculating whether any position point within the predicted bounding box of the material is within the boundary of the key area.

[0110] The above method is used to determine: obtain the position information of the predicted bounding box of the material, including the coordinates of the bottom center point of the bounding box, obtain the coordinates of the boundary line of the key area, and convert them into a straight line equation to calculate whether the bottom center point of the predicted bounding box of the material is within the boundary line of the key area.

[0111] If the bottom center point is within the boundary line, the material is considered to be in the critical area; otherwise, the material is considered not to be in the critical area.

[0112] The position status of the material in each frame is continuously recorded to determine whether there is any movement or position change exceeding the risk threshold in consecutive frames. If the movement or position change of the material exceeds the preset threshold within the set number of consecutive frames, it is marked as material movement.

[0113] After the above method 2 is used to judge: obtain the coordinates of all vertices in the predicted bounding box of the material, obtain the coordinates of the boundary line of the key area, and convert them into a straight line equation, and calculate whether any point of all vertices in the predicted bounding box of the material is within the boundary line of the key area. If any point is within the boundary line, the material is considered to be within the key area; otherwise, the material is considered not to be within the key area.

[0114] The position status of the material in each frame is continuously recorded to determine whether there is any movement or position change exceeding the risk threshold in consecutive frames. If the movement or position change of the material exceeds the preset threshold within the set number of consecutive frames, it is marked as material movement.

[0115] If the risk detected is S-level, the system will issue a red alarm and a nuclear alarm, automatically notify the security management personnel to initiate emergency safety measures, and send special personnel to conduct on-site inspections. The system will automatically lock the relevant areas, prohibit all unauthorized access, automatically adjust the surveillance cameras, conduct real-time video monitoring of the areas where abnormalities occur, record all activities, report the situation to the site management and relevant security officials, and initiate the crisis management process;

[0116] If the risk detected is level A, the system will issue a yellow alarm, record the event and conduct regular reviews to determine the risk level, increase patrol frequency in medium-risk areas, strengthen monitoring through cameras or security personnel, and regularly conduct risk assessments in medium-risk areas to determine the effectiveness of security measures and whether adjustments are needed;

[0117] If the risk detected is Class B, the system will issue a green alert, maintain a standard monitoring level, conduct regular security inspections, record all Class B risk alerts, and conduct data analysis to identify security loopholes or areas that need improvement. Regular training on employee security awareness and preventive measures will be conducted to ensure that all employees can identify and report potential security issues;

[0118] The S-level risks include the movement of materials involving nuclear reaction areas, control systems and radioactive materials, any unauthorized access or abnormal movement of materials;

[0119] The Class A risks include the movement of critical infrastructure materials related to the power system and cooling system, such as transformers, generators, circuit breakers and other power transmission and distribution related equipment of the power system, and cooling pumps, heat exchangers and other equipment of the cooling system.

[0120] The Class B risk materials include the movement of materials in conventional areas, such as materials in administrative office areas, office equipment, furniture, computers, stationery and cleaning tools, etc.

[0121] S3: Verify the performance of the test model in nuclear power material testing through simulation.

[0122] It should be noted that the simulation verification includes verification set evaluation and test set testing;

[0123] Validation set evaluation is a key step to ensure model performance and accuracy. It involves taking the data collected from the nuclear power plant scenario and subjecting it to the same preprocessing steps as the training set to ensure the consistency and quality of the input data. The preprocessed data is used to run the optimized model on the validation set and collect the model's prediction results for each sample. By recording the model's output in detail and comparing it with the actual label, key performance indicators such as accuracy, recall, and F1 score are calculated. Based on the feedback from these performance indicators, the model is refined by adjusting the model's hyperparameters such as learning rate, network structure, and regularization strength. During this process, special attention is paid to monitoring performance changes to prevent overfitting. When the model performance on the validation set no longer improves over several consecutive training cycles, training should be stopped.

[0124] The test set test includes using a test set that is different from the training set and the validation set to ensure that the data distribution of the test set is consistent with the actual application scenario, recording and analyzing the performance of the model on the test set in detail, and conducting in-depth analysis to ensure that each performance indicator such as accuracy, recall, and F1 score meets the expected standards. The system will generate a comprehensive performance report that outlines the strengths and weaknesses of the model and provides optimization suggestions based on actual data. After the model is deployed, its performance will be continuously monitored to adjust and adapt to environmental and operational changes in a timely manner to ensure that the model maintains optimal performance in the long term. This series of measures ensures the reliability and effectiveness of the model in the real world, thereby playing a key role in the safety monitoring of nuclear power plants.

[0125] Example 2

[0126] The second embodiment of the present invention provides a method for detecting nuclear power material loss based on a neural network. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through experiments.

[0127] In the same scenario, data testing is performed using our technical solution and traditional technical solution, as shown in Figure 1.

[0128] Table 1. Data comparison table

[0129] Network structure Learning Rate Batch size Optimizer Accuracy Recall Accuracy F1 score CNN Basic 0.01 32 SGD 85.20% 83.10% 86.70% 84.90% ResNet50 0.01 32 Adam 90.50% 88.70% 89.60% 89.10% The present invention 0.001 64 Adam 91.30% 89.90% 90.20% 90.00%

[0130] As can be seen from Table 1, using the basic CNN structure, the standard learning rate 0.01 and the batch size 32, and the more complex ResNet50 structure, keeping the same learning rate and batch size, the accuracy rates are 85.2% and 90.5%, and the F1 scores are 84.9% and 89.6%, respectively.

[0131] Our technical solution uses a learning rate of 0.001 and a batch size of 64. Compared with the other two network structures, the accuracy is improved by 5.3% and 0.8%, respectively, indicating that these configurations are better at identifying the status of nuclear power plant materials, whether normal or abnormal, while traditional methods are not sufficient to process complex image data due to their simple networks;

[0132] Our solution showed a high accuracy rate of 89.9%, which means that when the model predicts that the material is in a loss state, the prediction is usually accurate, while the traditional solution may result in more false positives;

[0133] The F1 score is the harmonic average of precision and recall, and is an indicator of the balance between model accuracy and sensitivity. The high F1 score of our technical solution indicates that the model maintains a low false alarm rate while accurately identifying the true class.

[0134] Low learning rate and large batch size help the model approach the optimal solution more smoothly and reduce oscillations during training, thereby improving performance.

[0135] In summary, the neural network structure and adjusted parameters (large batch, low learning rate) of our technical solution performed best in terms of accuracy, precision and F1 score, and is the optimal configuration for nuclear power material loss detection. This configuration can effectively reduce false alarms while ensuring high sensitivity, and is suitable for real-time monitoring and anomaly detection of nuclear power plant materials. Although other configurations also performed well, there is still room for improvement in some aspects such as false alarm processing and sensitivity balance.

[0136] Example 3

[0137] The third embodiment of the present invention is different from the first two embodiments in that:

[0138] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0139] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0140] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0141] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0142] Example 4

[0143] refer to Figure 3 , which is the fourth embodiment of the present invention, this embodiment provides a nuclear power material loss detection system based on neural network, characterized by: comprising a preprocessing and model training module, a strategy analysis module and a simulation verification module;

[0144] The preprocessing and model training module collects video image data inside the nuclear power plant, performs preprocessing, ensures the quality and consistency of input data, and optimizes the neural network model by updating weight parameters and data set training;

[0145] The strategy analysis module uses the optimized neural network model to extract and filter the prediction bounding box, output the material detection results, and generate the nuclear power material loss strategy;

[0146] The simulation verification module uses the verification set and the test set to evaluate the optimized model, and verifies the performance of the model in nuclear power material detection through simulation verification.

[0147] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for detecting nuclear power material loss based on a neural network, characterized in that: include, The system collects and preprocesses video images of nuclear power plants, trains data sets, and optimizes neural network models; Use the optimized neural network model to extract and filter the predicted bounding boxes, output the material detection results, and generate the nuclear power material loss strategy; The performance of the test model in nuclear power material detection is verified through simulation.

2. A method for detecting nuclear power material loss based on a neural network as claimed in claim 1, characterized in that: The preprocessing includes the system using the sample video images of the interior of the nuclear power plant collected in advance as a data set to perform image preprocessing; The image preprocessing includes receiving a real-time video stream from a nuclear power plant monitoring system with an abnormal loss detection head, selecting image frames from the video stream for analysis, and applying an image noise reduction algorithm to remove random noise in the image to improve the accuracy of the processing; The image denoising algorithm is implemented using Gaussian blur, and the formula is expressed as: I′=I*G(a,b,σ) Where I is the original input image, I′ is the output image after denoising, G(x,y,σ) is the Gaussian kernel, σ is the standard deviation, e is the base of the natural logarithm, and (a,b) are the horizontal and vertical coordinates from the center of the kernel; The initial neural network consists of a backbone network, a material identification detection head and an abnormal loss detection head. The weight parameters of the material identification detection head and the abnormal loss detection head are updated and the data set is trained. The updated weight parameters are selected and saved in the initial neural network model to obtain the optimized neural network model.

3. A method for detecting nuclear power material loss based on a neural network as claimed in claim 2, characterized in that: The data set training includes three stages, namely, the backbone network training stage, the material recognition detection head training stage, and the abnormal loss detection head training stage; The monitoring system pre-collects sample video images in the nuclear power plant as a data set, extracts frames from the sample video images to mark the location and category of nuclear power materials, and divides them into training set, verification set and test set after marking. The training set is input into the neural network model for training and weight parameters are adjusted; When the backbone network is trained, the system incorporates the backbone network, the material identification detection head, the abnormal loss detection head and related data sets into the training, and obtains a backbone network that is suitable for both the material identification detection head and the abnormal loss detection head; When the material recognition detection head is being trained, the system will freeze the weight parameters of the backbone network and the abnormal loss detection head, and only update the weight parameters of the material recognition detection head, and use the material recognition data set for training; When the abnormal loss detection head is being trained, the system freezes the weight parameters of the backbone network and the material identification detection head, and only updates the weights of the abnormal loss detection head, and only uses the abnormal loss data set for training; After the three training stages are completed in sequence, the weight parameters trained on the test set are selected and saved into the neural network model to obtain the optimized neural network model.

4. A method for detecting nuclear power material loss based on a neural network as claimed in claim 3, characterized in that: The backbone network training uses the cross entropy loss function to extract the core features in the image, and the formula is expressed as: Among them, f(x i ; θ) is the backbone network, N is the total number of samples in the batch, i is the sample index, C is the total number of feature recognition categories, c is the feature recognition category index, y i,c is the category indicator, f(x i ;θ) c is the probability that the model predicts that sample i belongs to class c, log is the logarithmic function, θ is the backbone network parameter, and L is the loss function; The material recognition detection head training uses the cross entropy loss function, considering the recognition and classification of nuclear power materials, the output f(x i ) is used as the input of the material detection and recognition detection head. Only the material recognition detection head parameter φ is trained, while the parameter θ remains unchanged. The cross entropy loss function formula is expressed as: Among them, g(f(x i );φ) is the material identification detection head, M is the total number of material categories; The abnormal loss detection head training uses a binary cross entropy loss function to identify material loss or leakage. The parameters of the backbone network and material detection are frozen. The formula is expressed as: Among them, ψ is the abnormal loss detection head parameter, y i is the sample abnormal loss indicator, h(f(x i );ψ) is the probability that the abnormal loss detection head predicts that sample i has an abnormality.

5. A method for detecting nuclear power material loss based on a neural network as claimed in claim 4, characterized in that: The output detection results are obtained by inputting the pre-processed image data into the optimized neural network model, and outputting the results through the material recognition detection head and the abnormal loss detection head respectively; Obtain the matrix output by the material identification and detection task head in the neural network model, decode the matrix, filter the predicted bounding boxes according to the category confidence, and remove the predicted bounding boxes whose category confidence is lower than the confidence threshold; After the initial category screening, continue to screen the decoded prediction bounding boxes. During the initial iterative screening, all prediction bounding boxes are sorted in descending order according to the category confidence values ​​of multiple prediction bounding boxes, and the prediction bounding box with the highest confidence is selected as the initial prediction bounding box of the current material target. The IOU value of the overlap between the prediction bounding box of the current material target and other prediction bounding boxes is calculated; If IOU>θ, the predicted bounding box is excluded; If IOU ≤ θ, the predicted bounding box is retained as the result; Among them, θ is the preset standard threshold; Call the retained result, repeat the iterative steps until all predicted bounding boxes are processed and cleared, output the predicted bounding box of the current material target, parse the bounding box information of the target predicted bounding box in the current input image, obtain the image boundary of the input image, and crop and delete the predicted bounding boxes that exceed the image boundary of the input image; After the initial category screening, overlapping screening and bounding box screening and trimming, the remaining target prediction bounding box is output as the final material recognition detection result, and a target material image containing a prediction bounding box is obtained. Each prediction bounding box includes the location of the prediction bounding box, the category label and the category confidence.

6. A method for detecting nuclear power material loss based on a neural network as claimed in claim 5, characterized in that: The strategy for generating nuclear power material loss includes obtaining a predicted bounding box after screening from a material identification detection head, and the abnormal loss detection head obtains the location information of each material in the nuclear power plant through the predicted bounding box, and continuously monitors the materials. In the monitoring system of the nuclear power plant, key areas are set, and the key areas include the core area of ​​the nuclear reactor, the storage area of ​​highly radioactive materials, and the safety monitoring area; Use sliding window technology to analyze the frames in each window and track the changes in the bounding box of each material. The system will continuously record the movement of materials in key areas and set risk thresholds for illegal movement of materials in consecutive frames. If the movement or position exceeds the threshold, the system will trigger an alarm of different colors, and the alarm color represents the level of risk. If the risk detected is S-level, the system will issue a red alarm and a nuclear alarm, automatically notify the security management personnel to initiate emergency safety measures, and send special personnel to conduct on-site inspections. The system will automatically lock the relevant areas, prohibit all unauthorized access, automatically adjust the surveillance cameras, conduct real-time video monitoring of the areas where abnormalities occur, record all activities, report the situation to the site management and relevant security officials, and initiate the crisis management process; If the risk detected is level A, the system will issue a yellow alarm, record the event and conduct regular reviews to determine the risk level, increase patrol frequency in medium-risk areas, strengthen monitoring through cameras or security personnel, and regularly conduct risk assessments in medium-risk areas to determine the effectiveness of security measures and whether adjustments are needed; If the risk detected is Class B, the system will issue a green alert, maintain a standard monitoring level, conduct regular security inspections, record all Class B risk alerts, and conduct data analysis to identify security loopholes or areas that need improvement. Regular training on employee security awareness and preventive measures will be conducted to ensure that all employees can identify and report potential security issues; The S-level risks include the movement of materials involving nuclear reaction areas, control systems and radioactive materials, any unauthorized access or abnormal movement of materials; The A-level risks include the movement of critical infrastructure materials related to power and cooling systems; The B-level risk materials include the movement of materials in conventional areas.

7. A method for detecting nuclear power material loss based on a neural network as claimed in claim 6, characterized in that: The simulation verification includes verification set evaluation and test set testing; The validation set evaluation includes performing the same preprocessing on the validation set data as on the training set to ensure that the data format is consistent with that during training, running the model on the validation set, recording the model's predicted output for each sample, adjusting the model's hyperparameters based on performance feedback on the validation set, adjusting the learning rate, changing the network structure, and adjusting the regularization strength, monitoring the performance indicators of the validation set, stopping training when the performance does not improve for several consecutive training cycles to avoid overfitting, and integrating the results and findings of the validation set evaluation into the model's training and development process to ensure continuous improvement and optimization of the model; The test set test includes using a test set that is different from the training set and the validation set to ensure that the data distribution of the test set is consistent with the actual application scenario, and recording and analyzing the performance of the model on the test set in detail, the accuracy, recall and F1 score values. The system provides a performance report, adjusts and optimizes the model based on the performance report, and continuously monitors the performance after the model is deployed to ensure that the model can adapt to environmental and operational changes.

8. A system based on the method for detecting nuclear power material loss based on a neural network according to any one of claims 1 to 7, characterized in that: Includes preprocessing and model training modules, strategy analysis modules and simulation verification modules; The preprocessing and model training module collects video image data inside the nuclear power plant, performs preprocessing, ensures the quality and consistency of input data, and optimizes the neural network model by updating weight parameters and data set training; The strategy analysis module uses the optimized neural network model to extract and filter the prediction bounding box, output the material detection results, and generate the nuclear power material loss strategy; The simulation verification module uses the verification set and the test set to evaluate the optimized model, and verifies the performance of the model in nuclear power material detection through simulation verification.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Oil field video intelligent security event detection method and system based on neural network

    CN113191274A

  • Rail fastener abnormity identification method and system based on deep learning

    CN114612833A

  • Two-stage distribution line defect detection method based on multi-scale sliding window

    CN116883391A

  • Real-time risk identification method for substation near-electricity operation site

    CN117523437A

  • Biological attack detection model training method and device and electronic equipment

    CN117576788A

Cited By

  • QUIC specific feature and graph structure-based few-sample incremental website fingerprint identification method and system, medium and program product

    CN119788393A

  • Monocular human body distance measurement method and system based on AI depth and segmentation model

    CN120339296A

  • Audio and video analysis method based on noise label learning

    CN121682445A

  • An audio and video parsing method based on noise label learning

    CN121682445B