A panoramic monitoring device for GIS equipment installation
Install panoramic monitoring devices through GIS equipment and use dust-proof sheds, environmental monitoring modules and video monitoring modules to achieve automated and intelligent environmental monitoring and adjustment, solving the problems of human errors and environmental monitoring limitations in the GIS equipment installation process, and improving Improve installation efficiency and safety, and reduce operating costs.
Patent Information
- Application Number
- CN202410182635.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-19
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-02-19
AI Technical Summary
Human errors and environmental monitoring limitations exist during the installation of GIS equipment, resulting in equipment performance degradation and security risks. Traditional installation relies on manual operations and is inefficient.
Design a panoramic monitoring device for GIS equipment installation, including a dust-proof shed, environmental monitoring module, video monitoring module and control module. Through automated and intelligent monitoring and adjustment, it provides a closed construction environment and real-time monitoring of temperature, humidity, cleanliness and images. Data is used to generate environmental adjustment instructions and reduce manual intervention.
Optimize the construction environment, improve installation efficiency and safety, reduce the need for manual adjustment, enhance construction transparency and traceability, and reduce maintenance and operating costs.
Smart Images

Figure CN118042080B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of GIS equipment installation, and in particular to a panoramic monitoring device for GIS equipment installation. Background Art
[0002] In power systems, GIS equipment (gas insulated switchgear) is widely used in various high-voltage switchgear applications due to its high reliability and small footprint. These devices have strict requirements on environmental conditions during design and installation, because unsuitable environmental conditions may cause equipment performance degradation and may even cause serious safety problems. For example, excessive humidity may affect insulation performance, while dust particles may cause electrical contact problems.
[0003] Traditionally, the installation process of GIS equipment mainly relies on manual operation and supervision by on-site staff, which makes the installation process susceptible to human errors and has certain limitations in environmental monitoring and engineering quality management.
[0004] Therefore, a new equipment installation panoramic monitoring device needs to be developed urgently. Summary of the invention
[0005] The present application provides a panoramic monitoring device for GIS equipment installation to improve the construction efficiency and installation quality of GIS equipment installation.
[0006] The GIS equipment installation panoramic monitoring device provided in this application includes:
[0007] Dust-proof shed, used to provide a closed construction environment for GIS equipment installation;
[0008] An environmental monitoring module, used to monitor environmental data in a closed construction environment, wherein the environmental data includes temperature, humidity and cleanliness;
[0009] Video monitoring module, used to collect image data of GIS equipment;
[0010] The control module includes an analyzing unit, a determining unit, a generating unit and a sending unit; wherein the analyzing unit is used to process the image provided by the video monitoring module to obtain the category information of the GIS equipment; the determining unit is used to determine the purification level in the closed construction environment according to the category information; the generating unit is used to analyze the environmental data provided by the environmental monitoring module, generate the environmental adjustment instruction of the purification device according to the analysis result of the environmental data and the determined purification level, and send the environmental adjustment instruction to the purification device; the sending unit is used to send the image data collected by the video monitoring module to the remote monitoring terminal in real time.
[0011] Furthermore, the dustproof tent includes a transparent top structure to allow natural light to enter, thereby reducing dependence on artificial lighting and providing sufficient light for video surveillance.
[0012] Furthermore, the material of the dustproof shed is subjected to anti-static surface treatment to reduce the adsorption of dust particles and reduce electrostatic interference that may be generated during equipment installation.
[0013] Furthermore, the environment monitoring module includes a sensor for detecting sound levels to monitor the noise level in the closed construction environment and adjust the audio acquisition sensitivity of the video monitoring module according to the detected noise level.
[0014] Furthermore, the analysis unit is specifically used to perform image preprocessing on the original GIS device image collected by the video monitoring module to reduce the influence of noise and uneven illumination; wherein the image preprocessing includes:
[0015] Applying combined filtering to the original GIS device image, the combined filtering includes first applying a median filter to remove salt and pepper noise in the image, and then applying a Gaussian filter to smooth the image to reduce strong pixel changes in the image;
[0016] The image data after the combined filtering process is divided into multiple small areas, and histogram equalization is performed separately in each area to improve the contrast of images taken under uneven lighting conditions;
[0017] Edge detection is performed on the image after histogram equalization processing to identify the main edges in the image, and additional Gaussian blur processing is applied outside the edge area, while the original Gaussian blur processing effect is maintained in the edge area to retain the edge details of the image; the image after Gaussian blur processing is used as pre-processed image data for subsequent processing steps.
[0018] Furthermore, the analysis unit is also used to extract features from the preprocessed image data to obtain feature data; specifically including:
[0019] Using the Sobel operator to perform edge detection on the preprocessed image data to obtain detected data;
[0020] Using a convolutional neural network to perform feature extraction on the preprocessed image data to obtain first feature data;
[0021] The detected data and the first characteristic data are spliced to obtain characteristic data.
[0022] Furthermore, the convolutional neural network includes:
[0023] An input layer for receiving image data having a specific input shape;
[0024] The first convolutional layer is connected to the input layer and includes 64 convolution kernels of size 3×3 and stride 1;
[0025] The second convolutional layer is connected to the first convolutional layer and includes 128 convolutional kernels of size 3×3 and stride 1;
[0026] The third convolutional layer is connected to the second convolutional layer and includes 256 convolution kernels of size 3×3 and stride 1;
[0027] A flattening layer, connected to the third convolutional layer, for converting the output of the third convolutional layer into a one-dimensional array;
[0028] A dense layer, connected to the flattened layer, comprising 512 neurons;
[0029] The output layer is connected to the dense layer and is used for multi-category output.
[0030] Furthermore, the analysis unit is also used to input the feature data into a trained support vector machine classifier to obtain category information of the GIS device.
[0031] Furthermore, the support vector machine classifier adopts the kernel function , as shown in Formula 1 below:
[0032] ;
[0033] in, Represents the input vector and support vector The square of the Euclidean distance between them; It is a geometric correlation function for GIS device images, as shown in the following formula 2:
[0034] ;
[0035] in, is the total number of edge pixels in the GIS device image; and The input vectors are and support vector In the The intensity value of edge pixels; and are two positive parameters that control the importance of nonlinear mapping and geometric properties in high-dimensional feature space.
[0036] The beneficial technical effects of this application mainly include: (1) Optimizing the construction environment: The dustproof shed provides a controlled and clean construction environment, reducing the potential impact of dust and other pollutants on equipment performance. The environmental monitoring module can monitor temperature, humidity and cleanliness in real time, further ensuring the appropriate environmental conditions during the equipment installation process. (2) Improving work efficiency: Through the intelligent analysis and automatic adjustment of the control module, the equipment installation process is more efficient and the need for manual adjustment is reduced. Automated environmental adjustment instructions ensure that the construction environment is always in the best condition, thereby speeding up the installation progress. (3) Enhancing safety: The closed construction environment and continuous environmental monitoring reduce the risk of operators being exposed to harmful conditions and improve the safety of the construction process. (4) Remote monitoring and management: The sending unit allows real-time transmission of video data to the remote monitoring terminal, enabling project managers to remotely supervise the installation process, enhancing the transparency and traceability of project management. (5) Reducing maintenance and operating costs: By promptly discovering and solving problems during the installation process, potential future maintenance costs are reduced. At the same time, automated environmental adjustment and monitoring reduce dependence on human resources, further reducing operating costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a schematic diagram of a panoramic monitoring device installed on a GIS device provided in the first embodiment of the present application. DETAILED DESCRIPTION
[0038] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.
[0039] The first embodiment of the present application provides a panoramic monitoring device for GIS equipment installation. Figure 1 , which is a schematic diagram of the first embodiment of the present application. Figure 1 A first embodiment of the present application provides a panoramic monitoring device for installing a GIS device for detailed description.
[0040] The system includes a dustproof booth 101 , an environment monitoring module 102 , a video monitoring module 103 and a control module 104 .
[0041] The dustproof shed 101 is used to provide a closed construction environment for GIS equipment installation. In the panoramic monitoring device for GIS equipment installation provided in this embodiment, the dustproof shed 101 plays a vital role. The dustproof shed is designed to provide a closed construction environment for GIS equipment installation, ensuring that the equipment is protected from dust and other environmental factors during the construction process.
[0042] First of all, the material selection of the dustproof shed is crucial. It is usually made of high-strength, corrosion-resistant materials to ensure long-term stability and durability. These materials can not only withstand harsh environmental conditions, but also effectively prevent the intrusion of dust and particles.
[0043] In terms of the shed structure design, the dustproof shed adopts a modular design, which is easy to transport and quickly assemble on site. The internal space is spacious enough to accommodate GIS equipment of various sizes and their installation staff. The transparent observation window is designed to monitor the internal situation while ensuring sufficient light in the shed.
[0044] In terms of sealing, each joint and entrance of the dustproof shed can adopt high-standard sealing technology. These sealing technologies include but are not limited to airtight doors and adjustable fan inlets and outlets to ensure that a certain positive pressure is maintained in the shed to prevent the infiltration of outside air and dust.
[0045] In addition, the dustproof booth also takes into account the safety and comfort of the workers. For example, it may include emergency exits, non-slip floors and appropriate lighting facilities to ensure the safety and efficiency of workers when installing GIS equipment.
[0046] Finally, in order to adapt to different working environments and customer needs, the design of dustproof sheds usually has a certain degree of flexibility and customizability. For example, its size, shape and internal layout can be adjusted according to specific project needs.
[0047] In this embodiment, the dustproof tent includes a transparent top structure to allow natural light to enter, thereby reducing dependence on artificial lighting and providing sufficient light for video surveillance.
[0048] The main purpose of this design is to allow natural light into the studio, thereby reducing the reliance on artificial lighting, while providing enough light for video surveillance.
[0049] The design of the transparent top takes many aspects into consideration. First, the material used should not only be light-transmissive, but also have a certain strength and weather resistance to withstand daily environmental influences such as wind, rain, and UV exposure. Second, the material should also have UV protection properties to prevent potential damage to equipment or operators from excessive UV exposure.
[0050] By introducing natural light, this transparent top structure helps create a more comfortable and natural working environment. For the video surveillance modules, natural light provides better light conditions, which helps improve image quality. Under natural light, the image is clearer and the color reproduction is higher, which helps to more accurately capture and analyze the details in the installation process.
[0051] The transparent top structure design makes the panoramic monitoring device installed on GIS equipment not only more efficient in function, but also more user-friendly in use. This design takes into account practicality and comfort, and also helps to improve the environmental friendliness and sustainability of the entire installation process.
[0052] In this embodiment, the material of the dustproof shed includes an anti-static surface treatment to reduce the adsorption of dust particles and reduce static interference that may be generated during equipment installation.
[0053] The material of the dustproof shed has been treated with an anti-static surface. This special treatment is essential to ensure that the installation environment of the GIS equipment remains clean and minimizes electrostatic interference.
[0054] When selecting materials for building dustproof shelters, it is important not only to consider their mechanical strength and durability, but also to pay special attention to their antistatic properties. Ideal materials should have a low surface resistance so that static charges can be effectively dissipated. Common antistatic treatment methods include coating with a conductive layer, using antistatic agents, or integrating conductive fibers into the material. These treatments can make it less likely for static electricity to accumulate on the surface of the material, thereby reducing the adsorption of dust particles in the air.
[0055] Static charge is one of the main reasons for dust particle adsorption. By using anti-static treated materials, dust particles are less likely to adhere to the surface of the shed, which helps maintain a high cleanliness installation environment. Even with anti-static treatment, regular cleaning of the dustproof shed is still necessary to ensure long-term good dustproof effect.
[0056] When installing sensitive GIS equipment, static interference may cause equipment damage or data misreading. Using anti-static materials can reduce this risk and protect equipment from static interference. In addition to using anti-static materials, other measures can be taken, such as using static floor mats, static wrist straps, etc., to further reduce the impact of static electricity on the installation process.
[0057] In summary, the dustproof shed 101 is a key component of the panoramic monitoring device for GIS equipment installation. Through advanced design and technology, it provides a clean, safe and controllable working environment for the installation of GIS equipment.
[0058] The environment monitoring module 102 is used to monitor the environmental data in the closed construction environment, wherein the environmental data includes temperature, humidity and cleanliness.
[0059] The role of the environmental monitoring module 102 in the installation of a panoramic monitoring device for GIS equipment is extremely critical. The environmental monitoring module 102 uses a variety of precision sensors that work together to monitor and record key parameters of the GIS equipment installation environment. Specifically, they include:
[0060] (1) Temperature sensor: used to monitor the temperature in the dustproof shed in real time. These sensors are usually distributed in different locations in the shed to ensure the uniformity and accuracy of temperature in the entire area.
[0061] (2) Humidity sensor: used to measure the relative humidity in the greenhouse, which is particularly important for preventing GIS equipment from being damaged due to excessively high or low humidity.
[0062] (3) Air quality sensor: This type of sensor can detect the concentration of dust and particles in the air to ensure the cleanliness of the air in the greenhouse, which is crucial for the installation of GIS equipment.
[0063] The environmental monitoring module 102 may also integrate a data processing system to analyze the collected data in real time and identify any environmental changes that may affect the quality of GIS equipment installation. In addition, the environmental monitoring module also has wireless or wired communication capabilities, which can transmit monitoring data to the control module or remote monitoring terminal in real time for real-time monitoring and rapid response.
[0064] In this embodiment, the environment monitoring module includes a sensor for detecting sound levels to monitor the noise level in the closed construction environment and adjust the audio acquisition sensitivity of the video monitoring module according to the detected noise level.
[0065] The environmental monitoring module integrates sensors for detecting sound levels. The main function of these sensors is to monitor the noise level within the closed construction environment. In addition, the system can adjust the audio acquisition sensitivity of the video monitoring module according to the detected noise level.
[0066] (1) Sound level detection:
[0067] In order to effectively monitor the noise level in the environment, sound level sensors are deployed at key locations in the dustproof shed. These sensors can capture sounds from different directions and sources, including construction noise, equipment operation noise, etc.
[0068] The sensor continuously monitors the sound level in the environment and transmits the data to the control module in real time. This allows the system to instantly understand the noise conditions of the construction environment.
[0069] (2) Adjust the audio acquisition sensitivity:
[0070] The control module automatically adjusts the audio acquisition equipment in the video surveillance module based on the noise data captured by the sensor. For example, when the noise level in the environment increases, the system may reduce the sensitivity of the microphone to reduce noise interference and optimize audio quality.
[0071] This adjustment is based on preset thresholds or algorithms to ensure that the audio capture can capture necessary sound information without over-amplifying background noise.
[0072] (3) System integration:
[0073] This sound level monitoring and adjustment mechanism is tightly integrated with the video surveillance module. By coordinating the acquisition of video and audio, the system can provide more comprehensive and high-quality monitoring data.
[0074] The monitored sound level data is not only used for real-time adjustments, but can also be recorded for subsequent analysis, such as evaluating the noise pollution level of the construction environment, or for improving future construction plans and processes.
[0075] (4) User interface and feedback:
[0076] Operators can view real-time sound level data through the user interface and manually adjust audio acquisition settings if necessary.
[0077] The system can also provide operators with feedback on current noise levels so they can take appropriate action, such as changing construction methods or using noise reduction equipment.
[0078] By integrating sensors for detecting sound levels and adjusting the sensitivity of audio collection based on monitoring data, GIS equipment equipped with panoramic monitoring devices can more effectively cope with noise challenges in construction environments, ensure the quality of monitoring data, and provide valuable environmental information to construction teams. This intelligent and automated sound monitoring and adjustment mechanism improves the adaptability and practicality of the monitoring system.
[0079] The video monitoring module 103 is used to collect image data of GIS equipment.
[0080] The video monitoring module 103 plays a key role in the panoramic monitoring device for GIS equipment installation, and is specifically responsible for collecting image data of the GIS equipment and its installation environment. This module is equipped with high-definition cameras and is arranged in multiple corners and key locations within the dustproof shed to ensure that panoramic images of the equipment are captured from all angles. These cameras can not only capture images in real time, but also maintain clear image quality under various lighting conditions. The collected image data is sent to the control module for analysis, which includes identifying the type of GIS equipment, detecting potential problems during installation, and evaluating the suitability of the installation environment. In addition, the video monitoring module can also send image data to the remote monitoring terminal in real time, allowing the monitoring team to remotely track the progress and quality of the installation.
[0081] The control module 104 includes an analyzing unit, a determining unit, a generating unit and a sending unit; wherein the analyzing unit is used to process the image provided by the video monitoring module to obtain the category information of the GIS equipment; the determining unit is used to determine the purification level in the closed construction environment according to the category information; the generating unit is used to analyze the environmental data provided by the environmental monitoring module, generate environmental adjustment instructions for the purification device according to the analysis results of the environmental data and the determined purification level, and send the environmental adjustment instructions to the purification device; the sending unit is used to send the image data collected by the video monitoring module to the remote monitoring terminal in real time.
[0082] The control module 104 is the brain of the panoramic monitoring device installed in the GIS equipment, and is mainly responsible for processing and analyzing data from the environmental monitoring module 102 and the video monitoring module 103. This module has a strong data processing capability and can quickly analyze environmental data such as temperature, humidity and cleanliness, as well as video image data, identify the type of GIS equipment and monitor its installation process. Based on this data, the control module can determine the purification level in the closed construction environment, generate corresponding environmental adjustment instructions, and automatically adjust the purification device to maintain the optimal installation conditions. In addition, the control module is also responsible for sending real-time video data to the remote monitoring terminal to achieve remote monitoring and management.
[0083] In this embodiment, the analysis unit is specifically used to perform image preprocessing on the original GIS device image collected by the video monitoring module 103 to reduce the influence of noise and uneven illumination; wherein the image preprocessing includes:
[0084] Applying combined filtering to the original GIS device image, the combined filtering includes first applying a median filter to remove salt and pepper noise in the image, and then applying a Gaussian filter to smooth the image to reduce strong pixel changes in the image;
[0085] The image data after the combined filtering process is divided into multiple small areas, and histogram equalization is performed separately in each area to improve the contrast of images taken under uneven lighting conditions;
[0086] Edge detection is performed on the image after histogram equalization processing to identify the main edges in the image, and additional Gaussian blur processing is applied outside the edge area, while the original Gaussian blur processing effect is maintained in the edge area to retain the edge details of the image; the image after Gaussian blur processing is used as pre-processed image data for subsequent processing steps.
[0087] In this embodiment, the image preprocessing input is the original GIS device image data collected from the video monitoring module 103. These data may contain various noises, uneven lighting and contrast issues, all of which may affect the subsequent image analysis process. The output of the image preprocessing step is an optimized image that retains the necessary detail information while reducing the effects of noise and uneven lighting, thereby providing clearer and more accurate image data for feature extraction and device category classification.
[0088] Image preprocessing includes:
[0089] (1) Noise removal:
[0090] First, a combined filtering algorithm is implemented that combines the properties of the median filter and the Gaussian filter.
[0091] The median filter is very effective in removing salt and pepper noise from an image, while the Gaussian filter can smooth an image and reduce strong variations between pixels.
[0092] In practice, a median filter is applied first, and then a Gaussian filter is applied to the result.
[0093] (2) Contrast enhancement:
[0094] Adaptive histogram equalization method is used to enhance image contrast.
[0095] Compared with traditional histogram equalization, the adaptive method can apply different equalization strategies in different image regions, which is particularly effective for processing images taken in environments with uneven lighting.
[0096] This step can be implemented by dividing the image into multiple small regions, performing histogram equalization on each region separately, and then combining the regions together.
[0097] (3) Edge information retention:
[0098] In the process of noise removal and contrast enhancement, it is very important to preserve edge information, because this information is crucial for subsequent feature extraction.
[0099] This can be achieved by adding an edge detection mechanism to the filtering process. For example, when applying a Gaussian filter, you can first use an edge detection algorithm (such as Canny edge detection) to identify the main edges of the image, and then apply stronger smoothing in non-edge areas and reduce the smoothing effect in edge areas to preserve edge details.
[0100] The reference code for image preprocessing is as follows:
[0101] import cv2
[0102] import numpy as np
[0103] # Read the image
[0104] image = cv2.imread('path_to_your_image.jpg')
[0105] # Apply median filter
[0106] median_filtered = cv2.medianBlur(image, 5) # 5 is the filter size
[0107] # Apply Gaussian filter
[0108] gaussian_filtered = cv2.GaussianBlur(median_filtered, (5, 5), 0)
[0109] def adaptive_histogram_equalization(image):
[0110] # Create a CLAHE object
[0111] clahe = cv2.createCLAHE(clipLimit=2.0, tileGridSize=(8, 8))
[0112] # If the image is in color, convert it to grayscale
[0113] if len(image.shape) == 3:
[0114] gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
[0115] else:
[0116] gray = image
[0117] # Apply CLAHE
[0118] equalized = clahe.apply(gray)
[0119] return equalized
[0120] # Apply adaptive histogram equalization
[0121] contrast_enhanced = adaptive_histogram_equalization(gaussian_filtered)
[0122] # Edge Detection
[0123] edges = cv2.Canny(contrast_enhanced, 100, 200)
[0124] # Create a mask with 1 in the edge area and 0 in the rest
[0125] mask = cv2.bitwise_not(edges) # Invert the edge image to create a mask
[0126] # Apply a stronger Gaussian blur to non-edge areas
[0127] blurred = cv2.GaussianBlur(contrast_enhanced, (9, 9), 0)
[0128] # Combine the original and blurred images using a mask, applying blur only in non-edge areas
[0129] final_image = cv2.bitwise_and(blurred, blurred, mask=mask)
[0130] final_image += cv2.bitwise_and(contrast_enhanced, contrast_enhanced,mask=edges)
[0131] The analysis unit is also used to extract features from the preprocessed image data to obtain feature data; specifically including:
[0132] Using the Sobel operator to perform edge detection on the preprocessed image data to obtain detected data;
[0133] Using a convolutional neural network to perform feature extraction on the preprocessed image data to obtain first feature data;
[0134] The detected data and the first characteristic data are spliced to obtain characteristic data.
[0135] The input of Sobel edge detection is the preprocessed image data. This image is first converted to grayscale because the Sobel operator is applied on a single-channel image. In practical applications, the input image is usually in color (i.e., it has three color channels, RGB), so it must first be converted to a grayscale image. This step is necessary because edge detection focuses on the brightness changes of the image, not the color information.
[0136] The output of Sobel edge detection is a grayscale image representing the edge strength of the image. This output is calculated by applying the derivatives of the Sobel operator in the horizontal and vertical directions to the input grayscale image. Specifically, the output is the Euclidean distance (i.e., the two-norm) of the edge detection results in the horizontal direction (sobelx) and the vertical direction (sobely). This method can capture the edges in the image, whether they are horizontal, vertical, or diagonal.
[0137] The reference implementation code for Sobel edge detection is as follows:
[0138] import cv2
[0139] import numpy as np
[0140] def sobel_edge_detection(image):
[0141] # Convert the image to grayscale
[0142] gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
[0143] # Calculate Sobel edge detection in the X and Y directions
[0144] sobelx = cv2.Sobel(gray, cv2.CV_64F, 1, 0, ksize=5)
[0145] sobely = cv2.Sobel(gray, cv2.CV_64F, 0, 1, ksize=5)
[0146] # Combine edges in both directions
[0147] combined_sobel = np.sqrt(np.square(sobelx) + np.square(sobely))
[0148] return combined_sobel
[0149] Then, an improved convolutional neural network (CNN) model can be used to extract complex features from the preprocessed image. This requires first building and training a CNN model, and then using the intermediate layers of the model to extract features.
[0150] Assuming that there is already a trained improved CNN model, here is an example of how to extract features from the intermediate layers:
[0151] from keras.models import Model
[0152] def extract_features_cnn(model, image):
[0153] # Assume that model is a trained CNN model
[0154] #Select the CNN middle layer as the feature extraction layer
[0155] feature_extractor = Model(inputs=model.inputs, outputs=model.get_layer('feature_layer').output)
[0156] # Preprocess the image to fit the CNN input
[0157] image_processed = preprocess_image_for_cnn(image) # This function needs to be implemented according to the requirements of CNN
[0158] # Extract features
[0159] features = feature_extractor.predict(image_processed)
[0160] return features
[0161] def preprocess_image_for_cnn(image):
[0162] # This should include the preprocessing steps required for CNN, such as scaling, cropping, normalization, etc.
[0163] The following is the specific generation reference code for improving the CNN model:
[0164] from keras.models import Model
[0165] from keras.layers import Input, Conv2D, Activation, MaxPooling2D,Flatten, Dense, Dropout, BatchNormalization
[0166] def create_custom_cnn(input_shape, num_classes):
[0167] # Input layer
[0168] inputs = Input(shape=input_shape)
[0169] # First convolution layer
[0170] x = Conv2D(64, (3, 3), padding='same')(inputs)
[0171] x = Activation('relu')(x)
[0172] x = BatchNormalization()(x)
[0173] # Second convolution layer
[0174] x = Conv2D(128, (3, 3), padding='same')(x)
[0175] x = Activation('relu')(x)
[0176] x = BatchNormalization()(x) # Add batch normalization
[0177] x = MaxPooling2D(pool_size=(2, 2))(x)
[0178] x = Dropout(0.3)(x)
[0179] # The third convolution layer (feature extraction layer)
[0180] x = Conv2D(256, (3, 3), padding='same', name='feature_layer')(x) #Add feature extraction layer and name it 'feature_layer'
[0181] x = Activation('relu')(x)
[0182] x = BatchNormalization()(x) # Add batch normalization
[0183] x = MaxPooling2D(pool_size=(2, 2))(x)
[0184] x = Dropout(0.4)(x)
[0185] # Flatten layers
[0186] x = Flatten()(x)
[0187] # Dense layers
[0188] x = Dense(512, activation='relu')(x)
[0189] x = Dropout(0.5)(x)
[0190] # Output layer
[0191] outputs = Dense(num_classes, activation='softmax')(x)
[0192] model = Model(inputs=inputs, outputs=outputs)
[0193] return model
[0194] The third convolutional layer is named feature_layer.
[0195] The improved CNN model provided in the above reference code includes:
[0196] an input layer configured to receive image data having a specific input shape;
[0197] The first convolutional layer contains 64 convolution kernels of size 3×3 and stride 1, followed by a ReLU activation function and a batch normalization layer;
[0198] The second convolutional layer contains 128 3×3 kernels with a stride of 1, followed by a ReLU activation function, a batch normalization layer, a 2×2 max pooling layer, and a dropout layer with a dropout rate of 0.3;
[0199] The third convolutional layer, named feature_layer, contains 256 3×3 kernels with a stride of 1 and padding of 'same', followed by a ReLU activation function, a batch normalization layer, a 2x2 max pooling layer, and a dropout layer with a dropout rate of 0.4;
[0200] A Flatten layer configured to convert the output of the third convolutional layer into a one-dimensional array;
[0201] A dense layer with 512 neurons and ReLU activation function, followed by a dropout layer with a dropout rate of 0.5;
[0202] An output layer containing the same number of neurons as the number of categories and applying the softmax activation function for multi-category classification.
[0203] The third convolutional layer is used as a feature extraction layer to extract features from the input image for subsequent analysis.
[0204] The improved CNN model stabilizes the internal feature representation after each convolutional layer through a batch normalization layer to improve the stability of the training process and the convergence speed of the model.
[0205] The following is a detailed description of the process of training an improved CNN model for feature extraction purposes. This training process is slightly different from the standard image classification CNN model because the focus is on extracting meaningful features rather than just classification.
[0206] 1. Data preparation and preprocessing:
[0207] As with building any CNN model, you first need to collect and prepare an image dataset suitable for GIS equipment. This step includes:
[0208] Data collection: Collect different types of GIS equipment images.
[0209] Data labeling: Classify and label the images, that is, each image corresponds to a category label.
[0210] Data preprocessing: This includes resizing the image, normalizing pixel values, possible data augmentation (such as rotation, scaling, color adjustment), etc.
[0211] 2. CNN model design:
[0212] For feature extraction, a CNN model needs to be designed. The improved CNN model provided above can be used. In the example of the improved CNN model, for feature extraction, the third convolutional layer is used as the "feature extraction layer", and the output of this layer will be used as the feature vector.
[0213] 3. Loss function and optimizer:
[0214] Loss function: The cross entropy loss function is usually used.
[0215] Optimizer: You can use Adam, SGD, etc.
[0216] 4. Model training:
[0217] The labeled dataset is used to train the model. The focus is on letting CNN learn how to extract useful features from images, which can be used to distinguish different GIS devices.
[0218] The training process includes forward propagation, loss calculation, backpropagation, and weight update.
[0219] 5. Selection of feature extraction layer:
[0220] During the training process, special attention is paid to the output of the layer designed as the "feature extraction layer". The output of this layer should contain information useful for distinguishing different categories of GIS equipment. After training is completed, features can be extracted through this layer.
[0221] In this embodiment, the analysis unit is further used to input the feature data into a trained support vector machine classifier to obtain category information of the GIS device.
[0222] The training process of the support vector machine (SVM) classifier can be roughly divided into the following steps:
[0223] 1. Data preparation:
[0224] First, you need to prepare a training dataset containing GIS equipment images and their corresponding category labels. This dataset should contain multiple different categories of GIS equipment images, and each image has a label indicating which category it belongs to.
[0225] 2. Feature extraction:
[0226] For each image in the training dataset, the image preprocessing steps described above (such as combined filtering, histogram equalization, and Gaussian blur processing) are applied, and then features are extracted using the Sobel operator and a convolutional neural network (CNN). For the features extracted by CNN, the output of an intermediate layer of CNN is usually used.
[0227] 3. Feature stitching:
[0228] The features extracted by Sobel operator and CNN are concatenated to form a comprehensive feature vector, which will be used as the input of SVM classifier.
[0229] 4. SVM classifier training:
[0230] The SVM classifier is trained using the above feature vectors and the corresponding class labels. The training process includes selecting a suitable kernel function (such as linear, polynomial, radial basis function, etc.), setting parameters (such as C, gamma, etc.), and using training data to train the classifier.
[0231] 5. Model evaluation and optimization:
[0232] To evaluate the performance of the SVM classifier, you can use cross-validation to check its performance on different subsets. Based on the evaluation results, adjust the parameters until a satisfactory classification accuracy is achieved.
[0233] Here is an example code for SVM training using Python and the scikit-learn library:
[0234] from sklearn import svm
[0235] from sklearn.model_selection import train_test_split
[0236] from sklearn.metrics import accuracy_score
[0237] # Assume that X represents feature data and y represents the corresponding category label
[0238] X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)
[0239] # Create an SVM classifier instance
[0240] clf = svm.SVC(kernel='rbf', C=1.0, gamma=0.01)
[0241] # Train the classifier
[0242] clf.fit(X_train, y_train)
[0243] # Evaluate the classifier on the test set
[0244] y_pred = clf.predict(X_test)
[0245] accuracy = accuracy_score(y_test, y_pred)
[0246] print(f"Classification Accuracy: {accuracy}")
[0247] In this code, `X` is the concatenated feature data, and `y` is the corresponding class label. The SVM classifier uses the radial basis function (RBF) kernel, and the parameters `C` and `gamma` are adjusted according to the characteristics of the dataset. The classifier is trained on the training set and its accuracy is evaluated on the test set.
[0248] In this way, the SVM classifier can learn how to distinguish different categories of GIS equipment based on the features extracted from the image, providing accurate equipment category information for the panoramic monitoring device.
[0249] In this embodiment, the support vector machine classifier adopts the kernel function , as shown in Formula 1 below:
[0250] ;
[0251] in, Represents the input vector and support vector The square of the Euclidean distance between them; It is a geometric correlation function for GIS device images, as shown in the following formula 2:
[0252] ;
[0253] in, is the total number of edge pixels in the GIS device image; and The input vectors are and support vector In the The intensity value of edge pixels; and are two positive parameters that control the importance of nonlinear mapping and geometric properties in high-dimensional feature space.
[0254] The support vector machine (SVM) classifier provided in this embodiment adopts a special kernel function This kernel function combines the traditional radial basis function (RBF) with a custom geometric correlation function to improve the classifier's ability to process GIS device images. The following is a detailed analysis of this kernel function and its components.
[0255] The full form of the kernel function is as follows:
[0256] ;
[0257] This function consists of two parts: the radial basis kernel part and the geometric correlation function part.
[0258] 1. Radial basis core part:
[0259] ;
[0260] Represents the input vector and support vector The square of the Euclidean distance between them. The specific calculation method is the sum of the squares of the corresponding element differences:
[0261] ;
[0262] in, is the dimension of the vector.
[0263] is a positive parameter used to adjust the width of the kernel function and affect the distribution of the classifier in the feature space. Make the kernel function more concentrated and smaller Make the kernel function more dispersed.
[0264] 2. Geometric correlation function part:
[0265] ;
[0266] It is a geometric correlation function, specially designed for GIS equipment images. Its calculation formula is:
[0267] ;
[0268] In this formula: is the total number of edge pixels in the image.
[0269] and The input vectors are and support vector In the The intensity value of the edge pixels.
[0270] This formula measures the similarity of two vectors at edge pixels. If the intensity values of two vectors at edge locations are close, is close to 1 otherwise it is close to 0.
[0271] is another positive parameter used to adjust the importance of the geometric correlation function in the kernel function. and It can be obtained based on experimental data or directly through expert knowledge.
[0272] The entire kernel function By combining the traditional radial basis kernel and the geometric correlation function designed for GIS device images, the SVM classifier can process GIS device image data more effectively. The radial basis kernel is responsible for capturing the nonlinear relationship in the feature space, while the geometric correlation function is specifically used to emphasize the edge information in GIS device images. This combination enables the classifier to maintain sensitivity to data distribution while considering the geometric characteristics of the image, thereby achieving higher classification accuracy when processing GIS device images.
[0273] Get the total number of edge pixels The steps include:
[0274] 1. Edge detection: First, edge detection is required for the image data from the GIS device. This is usually achieved by applying algorithms such as the Sobel operator, Canny edge detector, etc. These algorithms detect edges in the image by identifying significant changes in pixel intensity.
[0275] 2. Pixel counting: The edge detection algorithm generates a new image (or part of an image) in which the location of the edge is usually represented by bright spots (or specific colors). By counting the number of these bright spots, the total number of edge pixels can be obtained. .
[0276] 3. Threshold Application: In some cases, it may be necessary to set a threshold to determine which pixels should be considered edges. This can help remove noise or unimportant edges.
[0277] Get the intensity value of edge pixels and The steps include:
[0278] 1. and Represent the input vector and support vector respectively, which are usually obtained by feature extraction of the original image. After edge detection, the vector and The elements in will correspond to the intensity values at the edge pixels.
[0279] 2. Intensity value extraction: For each edge pixel, extract the intensity value of its corresponding position in the original image. These values can be grayscale, brightness, or in more complex representations, may include information about color channels.
[0280] 3. Vector index: in calculation When, index Used to traverse edge pixels. For each ,from and Extract the intensity value of the corresponding position, that is, and .
[0281] The following is an example using A reference implementation of a support vector machine classifier using the Python programming language and the popular machine learning library Scikit-learn.
[0282] import numpy as np
[0283] from sklearn.svm import SVC
[0284] # Define the geometric correlation function G(v, u)
[0285] def geometric_association_function(v, u, M):
[0286] return np.sum([1 - np.abs(v_k - u_k) / max(v_k, u_k) for v_k, u_kin zip(v, u)]) / M
[0287] # Define custom kernel function K(v, u)
[0288] def custom_kernel_function(X, Y, gamma, rho, M):
[0289] # Calculate the square of the Euclidean distance D(v, u)
[0290] def euclidean_distance_squared(x, y):
[0291] return np.sum((x - y) 2)
[0292] # Calculate kernel function
[0293] kernel_matrix = np.zeros((X.shape[0], Y.shape[0]))
[0294] for i, v in enumerate(X):
[0295] for j, u in enumerate(Y):
[0296] D_vu = euclidean_distance_squared(v, u)
[0297] G_vu = geometric_association_function(v, u, M)
[0298] kernel_matrix[i, j] = np.exp(-gamma D_vu) (1 + rho G_vu)
[0299] return kernel_matrix
[0300] # Kernel function parameters
[0301] gamma = 0.1 # Example parameter, should be adjusted according to actual situation
[0302] rho = 0.5 # Example parameter, should be adjusted according to actual situation
[0303] M = 100 # Assume that the total number of edge pixels is 100. The actual number should be calculated based on the image data.
[0304] # Create an SVM classifier instance using a custom kernel function
[0305] svm_classifier = SVC(kernel=lambda X, Y: custom_kernel_function(X, Y,gamma, rho, M))
[0306] In the above code, the geometric association function geometric_association_function is first defined, which calculates the geometric similarity based on the intensity values of the input vector and the support vector at the edge pixels. Then, the custom kernel function custom_kernel_function is defined, which combines the square of the Euclidean distance and the geometric association function to calculate the kernel matrix.
[0307] Next, create an instance of the SVM classifier using the SVC class and pass the custom kernel function to the classifier. In this example, gamma and rho are the parameters of the kernel function, which need to be adjusted according to the actual situation. M is the total number of edge pixels, which should also be calculated based on the specific image data.
[0308] Please note that this implementation is a basic example, and actual applications may require further adjustments and optimizations of the kernel function to suit specific GIS device image data and classification tasks.
[0309] The determination unit needs to receive the GIS equipment category information from the analysis unit. This information is obtained by analyzing the image data collected by the video monitoring module. The determination unit converts the category information of the GIS equipment into the corresponding purification level according to the pre-defined mapping relationship table. This mapping table is set according to the different environmental purification requirements of different equipment.
[0310] In the installation of panoramic monitoring devices on GIS equipment, the main responsibility of the generation unit is to analyze the environmental data provided by the environmental monitoring module and generate environmental adjustment instructions for the purification device based on the analysis results and the predetermined purification level.
[0311] (1) Analyze environmental data:
[0312] The generation unit first needs to receive the real-time environmental data provided by the environmental monitoring module. These data usually include indicators such as temperature, humidity, cleanliness, etc., reflecting the current status of the GIS equipment installation environment.
[0313] Next, the received data is processed as necessary, which may include data cleaning (such as filtering outliers), data conversion (such as unit conversion), data aggregation (such as calculating averages or trends), etc.
[0314] The processed data is then analyzed to identify any environmental changes or trends that require attention. For example, temperature and humidity data may be analyzed to determine if there are excessive highs or lows, or cleanliness data may be analyzed to detect changes in air quality.
[0315] (2) Generate adjustment instructions:
[0316] The generation unit also needs to consider the purification level. Different GIS equipment types may require different levels of environmental purification. For example, some high-precision equipment may require a higher level of air purification.
[0317] Based on the analysis results of environmental data and the purification level, specific adjustment instructions are generated. These instructions may include adjusting the operating intensity of the air filter, changing the air conditioner set temperature, adjusting the humidity controller, etc.
[0318] When generating adjustment instructions, the priority and safety of operations should be considered. For example, for detected abnormal environmental parameters, priority should be given to situations that may affect equipment installation or operator safety.
[0319] (3) Instructions issued:
[0320] Determine the communication protocol with the purification device. The generation unit needs to send instructions in a format that the purification device can understand.
[0321] Sending adjustment instructions to the purification unit. This may involve direct communication with the purification unit or indirect control through a central control system.
[0322] After sending the instruction, the generation unit may need to receive a confirmation response from the purification device to ensure that the instruction has been correctly received and executed. In addition, based on the feedback from the purification device, the generation unit may also need to make subsequent adjustments.
[0323] Through the above steps, the generation unit can ensure that the GIS equipment installation environment is always maintained in the best state. This not only helps to improve the quality and efficiency of equipment installation, but also helps to protect the safety of equipment and operators. In addition, the automation and intelligence of the process greatly improves the efficiency and accuracy of environmental management.
[0324] A purification device generally refers to a device used to improve or maintain specific environmental conditions. Its purpose is to remove unwanted components in the environment, such as pollutants, particles, chemicals, bacteria, etc., so as to achieve specific cleanliness or safety standards. In this embodiment, the purification device may include the following types:
[0325] Air purification unit: used to remove dust, particles, harmful gases, bacteria, etc. in the air to maintain the cleanliness of the air. This is especially important for the installation of precision equipment that requires a high cleanliness environment.
[0326] Temperature control unit: used to maintain a stable temperature environment. For example, an air conditioning system can keep the environment within an ideal temperature range to prevent equipment from being damaged due to excessively high or low temperatures.
[0327] Humidity control unit: Used to regulate the amount of humidity in the air. This includes humidifiers and dehumidifiers, which prevent the environment from being too dry or too humid, which is critical to the performance and life of certain equipment.
[0328] Cleanliness monitoring equipment: used to monitor the cleanliness level in the environment in real time, such as particle counters, to ensure that the environment meets specific cleanliness standards.
[0329] Chemical Filtration Systems: These devices are used to filter and purify the air from chemical contaminants, particularly in environments where harmful chemicals may be present.
[0330] In the scenario where panoramic monitoring devices are installed on GIS equipment, the role of the purification device is to ensure that the equipment installation and operating environment meets the necessary standards of cleanliness, temperature, humidity, etc., so as to ensure the normal installation and operation of the equipment and prevent damage or performance degradation caused by environmental factors. Through the integration of intelligent control systems, these purification devices can automatically adjust according to real-time monitored environmental data to achieve the optimization of environmental conditions.
[0331] In this embodiment, the sending unit is responsible for transmitting the image data collected by the video monitoring module to the remote monitoring terminal in real time. The following is a detailed implementation description of the sending unit:
[0332] The main function of the sending unit is to ensure that the image data collected by the video surveillance module can be accurately, efficiently and securely sent to the remote monitoring end for real-time monitoring and analysis. This includes data collection, processing, encoding, transmission and reception confirmation.
[0333] Implementation steps:
[0334] 1. Data collection and preprocessing:
[0335] 1. Data collection: The sending unit first receives the real-time collected image data from the video surveillance module.
[0336] 2. Format conversion: Convert the image data format as needed to ensure compatibility between the data and the remote monitoring end.
[0337] 3. Data compression: compress image data to reduce the bandwidth required for transmission and improve transmission efficiency.
[0338] (II) Data encoding and transmission:
[0339] 1. Data encoding: Encode the processed image data for easy transmission over the network. This may include selecting appropriate encoding protocols and standards.
[0340] 2. Transmission protocol selection: Select a suitable network transmission protocol, such as TCP / IP, UDP, etc., to ensure the reliability or real-time performance of data transmission according to the requirements of the actual application scenario.
[0341] 3. Security measures: Apply necessary security measures, such as data encryption and identity authentication, to protect the security and privacy of data during transmission.
[0342] (III) Interaction of remote monitoring terminal:
[0343] 1. Send confirmation: After the data is successfully transmitted to the remote monitoring end, wait for and receive the transmission confirmation signal.
[0344] 2. Error handling: If errors or data loss occur during the transmission process, the corresponding error handling and data retransmission mechanism will be executed.
[0345] 3. Real-time update: Ensure that the data received by the remote monitoring end is the latest to achieve the purpose of real-time monitoring.
[0346] (IV) System integration and testing:
[0347] 1. System integration: Integrate the sending unit with the video surveillance module and other components of the remote monitoring end (such as data processing unit, user interface, etc.) to ensure the coordinated work of the entire system.
[0348] 2. Performance test: Perform performance test on the sending unit to ensure that it can work stably under different network conditions.
[0349] 3. User interface: Provide a user-friendly interface to facilitate monitoring personnel to view image data at the remote monitoring end.
[0350] Through the above steps, the sending unit can effectively transmit the image data collected by the video monitoring module to the remote monitoring end in real time and safely, providing reliable technical support for the installation and monitoring of GIS equipment.
[0351] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.
Claims
1. A panoramic monitoring device installed on GIS equipment, It is characterized in that include: Dust-proof shed, used to provide a closed construction environment for GIS equipment installation; An environmental monitoring module, used to monitor environmental data in a closed construction environment, wherein the environmental data includes temperature, humidity and cleanliness; Video monitoring module, used to collect image data of GIS equipment; The control module includes an analyzing unit, a determining unit, a generating unit and a sending unit; wherein the analyzing unit is used to process the image provided by the video monitoring module to obtain the category information of the GIS equipment; the determining unit is used to determine the purification level in the closed construction environment according to the category information; the generating unit is used to analyze the environmental data provided by the environmental monitoring module, generate the environmental adjustment instruction of the purification device according to the analysis result of the environmental data and the determined purification level, and send the environmental adjustment instruction to the purification device; the sending unit is used to send the image data collected by the video monitoring module to the remote monitoring terminal in real time.
2. The GIS equipment installation panoramic monitoring device according to claim 1, It is characterized in that The dust shelter includes a transparent top structure to allow natural light to enter, thereby reducing reliance on artificial lighting and providing sufficient light for video surveillance.
3. The GIS equipment installation panoramic monitoring device according to claim 1, It is characterized in that The material of the dustproof shed is subjected to anti-static surface treatment to reduce the adsorption of dust particles and reduce electrostatic interference that may be generated during equipment installation.
4. The GIS equipment installation panoramic monitoring device according to claim 1, It is characterized in that The environment monitoring module includes a sensor for detecting sound levels to monitor the noise level in the closed construction environment and adjust the audio acquisition sensitivity of the video monitoring module according to the detected noise level.
5. The panoramic monitoring device for GIS equipment installation according to claim 1, It is characterized in that The analysis unit is specifically used to perform image preprocessing on the original GIS device image collected by the video monitoring module to reduce the influence of noise and uneven illumination; wherein the image preprocessing includes: Applying combined filtering to the original GIS device image, the combined filtering includes first applying a median filter to remove salt and pepper noise in the image, and then applying a Gaussian filter to smooth the image to reduce strong pixel changes in the image; The image data after the combined filtering process is divided into multiple small areas, and histogram equalization is performed separately in each area to improve the contrast of images taken under uneven lighting conditions; Edge detection is performed on the image after histogram equalization processing to identify the main edges in the image, and additional Gaussian blur processing is applied outside the edge area, while the original Gaussian blur processing effect is maintained in the edge area to retain the edge details of the image; the image after Gaussian blur processing is used as pre-processed image data for subsequent processing steps.
6. The GIS equipment installation panoramic monitoring device according to claim 5, It is characterized in that The analysis unit is also used to extract features from the preprocessed image data to obtain feature data; Specifically include: Using the Sobel operator to perform edge detection on the preprocessed image data to obtain detected data; Using a convolutional neural network to perform feature extraction on the preprocessed image data to obtain first feature data; The detected data and the first characteristic data are spliced to obtain characteristic data.
7. The GIS equipment installation panoramic monitoring device according to claim 6, It is characterized in that The convolutional neural network comprises: An input layer for receiving image data having a specific input shape; The first convolutional layer is connected to the input layer and includes 64 convolution kernels of size 3×3 and stride 1; The second convolutional layer is connected to the first convolutional layer and includes 128 convolutional kernels of size 3×3 and stride 1; The third convolutional layer is connected to the second convolutional layer and includes 256 convolution kernels of size 3×3 and stride 1; A flattening layer, connected to the third convolutional layer, for converting the output of the third convolutional layer into a one-dimensional array; A dense layer, connected to the flattened layer, comprising 512 neurons; The output layer is connected to the dense layer and is used for multi-category output.
8. The panoramic monitoring device for GIS equipment installation according to claim 6, It is characterized in that The analysis unit is also used to input the feature data into a trained support vector machine classifier to obtain category information of the GIS equipment.
9. The GIS equipment installation panoramic monitoring device according to claim 8, It is characterized in that The support vector machine classifier uses the kernel function , as shown in Formula 1 below: ; in, Represents the input vector and support vector The square of the Euclidean distance between them; It is a geometric correlation function for GIS device images, as shown in the following formula 2: ; in, is the total number of edge pixels in the GIS device image; and The input vectors are and support vector In the The intensity value of edge pixels; and are two positive parameters that control the importance of nonlinear mapping and geometric properties in high-dimensional feature space.
