Industrial gas cylinder filling monitoring method and device, terminal equipment and storage medium
By performing image recognition and defect detection of industrial gas cylinders, combined with real-time monitoring parameters, the problems of low monitoring efficiency and poor safety of industrial gas cylinder filling operations in the existing technology are solved, and automated monitoring and efficient and safe filling process are realized. .
Patent Information
- Application Number
- CN202510012738.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2045-01-06
AI Technical Summary
In the prior art, the monitoring of industrial gas cylinder filling operations cannot be separated from manual operation, and the quality problems and types of filling gases cannot be effectively identified, resulting in low monitoring efficiency, high error rate and poor safety.
By obtaining the image information and filling time information of industrial gas cylinders, image recognition processing is performed to obtain bottle body texture information, color information and label information, defect detection and gas type recognition are performed, and safety monitoring is carried out in combination with real-time monitoring parameters.
Automatic monitoring of industrial gas cylinder filling operations is realized, the efficiency, accuracy and safety of filling operations are improved, and the quality of gas cylinders is qualified and the accuracy of gas filling is ensured.
Smart Images

Figure CN119412607A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing technology, and in particular relates to an industrial gas cylinder filling monitoring method, device, terminal equipment and storage medium. Background Art
[0002] Industrial gas cylinders are special containers for storing compressed or liquefied gases and are widely used in the industrial field. They are usually made of high-strength alloy steel or composite materials, have good pressure resistance, safety and reliability, and play an important role in many industries such as metal processing, chemical industry and medical treatment. There are various classifications of industrial gas cylinders. According to the properties and uses of the gas, they can be divided into oxygen cylinders, nitrogen cylinders, hydrogen cylinders, acetylene cylinders, etc. In the filling operation of industrial gas cylinders, due to the flammable, explosive, toxic and other properties of the filling medium, and the filling process has the characteristics of repeated filling of gas cylinders, non-fixed operators and real-time changes in filling environmental conditions, real-time monitoring is required during the filling process of industrial gas cylinders to avoid the occurrence of dangerous accidents.
[0003] In the prior art, the tracking and management of the gas cylinder filling process is usually carried out by manually scanning a special barcode on the outside of the gas cylinder, and entering the information carried in the barcode into the management system for statistics of the filled gas cylinder information; or by obtaining video information of the filling process, and manually comparing the filling operator information and gas cylinder information in the video information through the background to prevent operators from privately replacing gas cylinders for illegal filling for personal gain.
[0004] However, in the prior art, the information of the gas cylinders and the filling operator is manually collected and compared before the gas cylinder filling operation. During the filling operation, the filling operator observes the abnormal conditions of the filling environment, and it is impossible to determine whether the quality of the gas cylinder can be used for filling. This reduces the monitoring efficiency of the filling process and makes it difficult to ensure the accuracy and safety of gas filling for industrial gas cylinders. Summary of the invention
[0005] In view of this, the embodiments of the present application provide an industrial gas cylinder filling monitoring method, device, terminal equipment and storage medium, aiming to solve the problems in the prior art that the monitoring of industrial gas cylinder filling operations cannot be separated from manual operation, and the quality problems of industrial gas cylinders and the types of filling gases are not identified, resulting in low monitoring efficiency of the industrial gas cylinder filling process, high filling error rate and poor safety of the filling process.
[0006] A first aspect of an embodiment of the present application provides an industrial gas cylinder filling monitoring method, comprising: Obtain image information and filling time information of industrial gas cylinders; The industrial gas cylinder image information is identified and processed to obtain the bottle body texture information, bottle body color information and gas cylinder label information; the bottle body color information corresponds to the standard filling gas type information one by one; the gas cylinder label information carries the gas cylinder identification information, the gas type information to be filled and the gas cylinder scrapping time information; Performing defect detection on the bottle body texture information to generate cylinder surface defect confirmation information; When the difference between the filling time information and the gas cylinder scrapping time information is greater than a preset time difference threshold, and when the gas type information to be filled is consistent with the standard filling gas type information, the identification information of the gas cylinder to be filled is obtained according to the gas cylinder surface defect confirmation information and the gas cylinder identification information; The industrial gas cylinders are monitored and processed according to the gas cylinder filling monitoring parameter information received in real time, the identification information of the gas cylinder to be filled and the preset gas cylinder filling parameter threshold information.
[0007] A second aspect of an embodiment of the present application provides an industrial gas cylinder filling process monitoring device, comprising: An information acquisition module is used to obtain image information and filling time information of industrial gas cylinders; An image information recognition module is used to recognize and process the image information of the industrial gas cylinder to obtain bottle body texture information, bottle body color information and cylinder label information; the bottle body color information corresponds to the standard filling gas type information one by one; the cylinder label information carries the cylinder identification information, the type of gas to be filled and the cylinder scrapping time information; A bottle body texture information defect detection module is used to perform defect detection on the bottle body texture information and generate cylinder surface defect confirmation information; a gas cylinder identification information generation module for obtaining the identification information of the gas cylinder to be filled according to the gas cylinder surface defect confirmation information and the gas cylinder identification information when the difference between the filling time information and the gas cylinder scrapping time information is greater than a preset time difference threshold and when the gas type information to be filled is consistent with the standard filling gas type information; and The industrial gas cylinder monitoring and processing module is used to monitor and process the industrial gas cylinder according to the real-time received gas cylinder filling monitoring parameter information, the identification information of the gas cylinder to be filled and the preset gas cylinder filling parameter threshold information.
[0008] A third aspect of an embodiment of the present application provides a terminal device, which includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, it implements the steps of the industrial gas cylinder filling monitoring method as described in any one of the first aspects above.
[0009] The fourth aspect of an embodiment of the present application provides a computer-readable storage medium, comprising: storing a computer program, characterized in that when the computer program is executed by a processor, the steps of the industrial gas cylinder filling monitoring method as described in any one of the above-mentioned first aspects are implemented.
[0010] Compared with the prior art, the embodiments of the present application have the following beneficial effects: before the gas cylinder is filled with gas, the bottle body texture information, bottle body color information, gas type information to be filled and gas cylinder scrapping time information contained in the industrial gas cylinder image are automatically identified, and the bottle body texture information is subjected to defect detection to automatically screen out industrial gas cylinders with undercuts, misaligned edges, weld nodules, pits, surface pores and surface cracks on the bottle body, and then the industrial gas cylinder is automatically judged whether it has reached the conditions for scrapping according to the current filling time information and the gas cylinder scrapping time information, so as to ensure that the industrial gas cylinder used for gas filling is of qualified quality, and at the same time, by judging the consistency between the gas type to be filled and the standard filling gas type, the incorrect filling of the gas is avoided, resulting in the situation that the filling gas type cannot be accurately determined by the bottle body color. During the filling process, the filling monitoring parameters sent by each sensor are received to automatically monitor the safety of the filling process, thereby realizing automatic monitoring of the industrial gas cylinder filling operation, thereby improving the efficiency, accuracy and safety of the industrial gas cylinder filling operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0012] Figure 1 This is a schematic diagram of the implementation process of the industrial gas cylinder filling monitoring method provided in Example 1 of the present application; Figure 2 This is a schematic diagram of the implementation process of the industrial gas cylinder filling monitoring method provided in Example 2 of the present application; Figure 3 It is a schematic diagram of the implementation flow of the industrial gas cylinder filling monitoring method provided in Example 3 of the present application; Figure 4 This is a schematic diagram of the implementation flow of the industrial gas cylinder filling monitoring method provided in Example 4 of the present application; Figure 5 This is a schematic diagram of the implementation process of the industrial gas cylinder filling monitoring method provided in Example 5 of the present application; Figure 6 This is a schematic diagram of the implementation flow of the industrial gas cylinder filling monitoring method provided in Example 6 of the present application; Figure 7This is a schematic diagram of the implementation process of the industrial gas cylinder filling monitoring method provided in Example 7 of the present application; Figure 8 It is a structural schematic diagram of an industrial gas cylinder filling process monitoring device provided in an embodiment of the present application; Fig. 9 It is a schematic diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0013] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0014] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.
[0015] Figure 1 The following is a flowchart of the method for monitoring the filling of industrial gas cylinders provided in the first embodiment of the present application, which is described in detail as follows: Step S101, obtaining industrial gas cylinder image information and filling time information.
[0016] In this embodiment, the image information of the industrial gas cylinder can be obtained by taking a camera installed at the industrial gas cylinder filling operation site. It can be understood that the image of the industrial gas cylinder can be an image of the gas cylinder to be filled, which is taken by the camera at the filling operation site before the gas cylinder starts to be filled. The filling time information can refer to the start time of the gas filling operation, which can be the time point when the image of the gas cylinder is taken before filling, including year, month, and day information, and can also include hour, minute, and second information.
[0017] Step S102, the industrial gas cylinder image information is identified and processed to obtain bottle body texture information, bottle body color information and cylinder label information; the bottle body color information corresponds one-to-one to the standard filling gas type information; the cylinder label information carries the cylinder identification information, the type of gas to be filled and the cylinder scrapping time information.
[0018] In this embodiment, the recognition and processing of the industrial gas cylinder image information can be performed by image processing or image segmentation to separate the bottle surface image information and the gas cylinder label information from the industrial gas cylinder image information, and then the texture and color recognition and processing of the bottle surface image information are performed to obtain the bottle texture information and the bottle color information. The bottle texture information can be the pattern shape on the bottle surface. The gas cylinder label information can be a label on the industrial gas cylinder, or a label attached to the valve of the industrial gas cylinder. It can be understood that the bottle color of the industrial gas cylinder corresponds to a specific type of filling gas. For example, if the bottle color is black, it indicates that the industrial gas cylinder is an acetylene cylinder; for example, if the bottle color is green, it indicates that the industrial gas cylinder is an oxygen cylinder; for example, if the bottle color is lavender, it indicates that the industrial gas cylinder is a hydrogen cylinder. Therefore, when filling the industrial gas cylinder with gas, it is necessary to strictly fill a specific type of gas according to the bottle color. The name of this specific type of gas can be called standard filling gas type information, which is used to determine whether it is consistent with the type of gas to be filled before filling. The gas cylinder scrapping time information may be set when the gas cylinder leaves the factory, and is used to indicate the service life of the gas cylinder. When the gas cylinder scrapping time is reached, the gas cylinder needs to be scrapped. It is understandable that industrial gas cylinders usually involve repeated filling, and the gas cylinders that are about to be filled are likely to be mixed with gas cylinders that are very close to the scrapping time.
[0019] Step S103, performing defect detection on the bottle body texture information to generate cylinder surface defect confirmation information.
[0020] In this embodiment, the bottle body texture information may be presented in the form of an image, and the defect detection method may be to process the image of the bottle body texture information, thereby identifying the defects such as undercut, misalignment, weld bumps, pits, surface pores and surface cracks contained in the bottle body texture information. When it is identified that the bottle body surface of the gas cylinder has defects, the surface defect confirmation information of the gas cylinder is generated according to the specific conditions of the defects, which is used to characterize the defects of the industrial gas cylinder, so as to screen out the gas cylinder with defects, and avoid filling gas into the defective gas cylinder and causing adverse accidents.
[0021] Step S104, determine whether the difference between the filling time information and the gas cylinder scrapping time information is greater than a preset time difference threshold; if so, when the gas type information to be filled is consistent with the standard filling gas type information, obtain the identification information of the gas cylinder to be filled according to the gas cylinder surface defect confirmation information and the gas cylinder identification information; if not, the industrial gas cylinder corresponding to the filling time information is scrapped.
[0022] In this embodiment, the preset time difference threshold can be set manually to avoid the gas cylinder reaching the scrapping time immediately after filling. It can be understood that when the filling time is after the scrapping time of the gas cylinder, the difference between the filling time information and the scrapping time information of the gas cylinder is calculated, and the difference between the filling time information and the scrapping time information of the gas cylinder is compared with the time difference threshold to determine whether the usable period of the industrial gas cylinder has reached the scrapping period or is about to reach the scrapping period. When the difference between the filling time information and the scrapping time information of the gas cylinder is greater than the preset time difference threshold, it is determined that the industrial gas cylinder does not have the problem of being scrapped, so it is necessary to determine whether the gas to be filled displayed in the label information of the gas cylinder is consistent with the standard filling gas corresponding to the color of the bottle body, so as to avoid the wrong filling of the gas type of the industrial gas cylinder. Only when the service life of the gas cylinder is far from reaching the scrapping period and the gas to be filled displayed in the label information of the gas cylinder is consistent with the standard filling gas corresponding to the color of the bottle body, the gas cylinder is filled. When it is detected that the gas to be filled displayed in the label information of the gas cylinder is inconsistent with the standard filling gas corresponding to the color of the bottle body, the gas cylinder will be recycled for subsequent modification of the label information to facilitate reuse before the scrapping deadline. When the filling time is before the scrapping time of the gas cylinder, the industrial gas cylinder corresponding to the scrapping time of the gas cylinder will be directly scrapped.
[0023] Step S105 , monitoring and processing the industrial gas cylinders according to the gas cylinder filling monitoring parameter information received in real time, the identification information of the gas cylinder to be filled and the preset gas cylinder filling parameter threshold information.
[0024] In this embodiment, the gas cylinder filling monitoring parameter information may be collected and sent through sensors at the filling operation site. The gas cylinder filling monitoring parameter information may be the gas pressure information inside the bottle, the filling pipeline temperature information, the filling pipeline air pressure information, the gas filling speed information, and the like. The preset gas cylinder filling parameter threshold information may be manually set, and may be the gas pressure threshold inside the bottle, the filling pipeline temperature threshold, the filling pipeline air pressure threshold, the gas filling speed threshold, and the like. When the gas cylinder filling monitoring parameter information is greater than or less than the preset gas cylinder filling parameter threshold information, it indicates that an abnormality has occurred in the filling process, and the working state of the filling equipment needs to be adjusted in time to avoid the occurrence of adverse accidents.
[0025] The industrial gas cylinder filling monitoring method provided in the embodiment of the present application first automatically identifies the bottle body texture information, bottle body color information, gas type information to be filled and cylinder scrapping time information contained in the industrial gas cylinder image, and automatically screens out industrial gas cylinders with biting edges, misaligned edges, weld nodules, pits, surface pores and surface cracks on the bottle body by performing defect detection on the bottle body texture information, and then judges whether the industrial gas cylinder meets the conditions for scrapping according to the current filling time information and the cylinder scrapping time information, so as to ensure the quality of the industrial gas cylinder used for gas filling. At the same time, by judging the consistency between the gas type to be filled and the standard filling gas type, the incorrect filling of the gas can be avoided, resulting in the situation that the filling gas type cannot be accurately determined by the bottle body color. During the filling process, the filling monitoring parameters sent by each sensor are received to monitor the safety of the filling process, thereby improving the efficiency, accuracy and safety of the industrial gas cylinder filling operation.
[0026] Figure 2 The flowchart of the industrial gas cylinder filling monitoring method provided in the second embodiment of the present application is shown. The difference between the second embodiment and the first embodiment is that the step S102 specifically includes: Step S201, randomly generate the center point of the initial gas cylinder surface information class and the center point of the initial label information class.
[0027] In this embodiment, the center point of the initial gas cylinder surface information class and the center point of the initial label information class are randomly generated by a computer and used to analyze the gas cylinder image to perform a preliminary classification of the pixels in the gas cylinder image, thereby separating the gas cylinder surface information and the label information. It can be understood that the label information of the industrial gas cylinder can be on the bottle body or outside the bottle body.
[0028] Step S202: performing pixel sampling processing on the industrial gas cylinder image information according to preset pixel sampling interval information to obtain a plurality of gas cylinder image pixel sample points.
[0029] In this embodiment, the preset pixel sampling interval information can be manually set to indicate that sampling is performed once every several pixels to avoid selecting every pixel of the image and reduce the complexity of calculation. The sampled pixel points are the pixel sample points of the gas cylinder image.
[0030] Step S203, respectively calculating the Euclidean distance values between a plurality of the gas cylinder image pixel sample points and the center point of the initial gas cylinder surface information class and the center point of the initial label information class, and generating an initial gas cylinder surface information membership matrix and an initial label information membership matrix.
[0031] In this embodiment, the Euclidean distance value between the gas cylinder image pixel sample point and the center point of the initial gas cylinder surface information class is calculated to obtain the gas cylinder surface membership, and multiple gas cylinder surface memberships are output in the form of a matrix to obtain the initial gas cylinder surface information membership matrix. The Euclidean distance value between the gas cylinder image pixel sample point and the center point of the initial label information class is calculated to obtain the gas cylinder label membership, and multiple gas cylinder label memberships are output in the form of a matrix to obtain the initial label information membership matrix.
[0032] Step S204, extracting the maximum value element of the initial gas cylinder surface information membership matrix, and taking the gas cylinder image pixel sample point corresponding to the maximum value element of the initial gas cylinder surface information membership matrix as the center point of the intermediate gas cylinder surface information class.
[0033] In this embodiment, the maximum value of all elements in the initial gas cylinder surface information membership matrix is extracted, and the gas cylinder image pixel sample point corresponding to the maximum value is used as the new class center point. This new class center point can be called the intermediate gas cylinder surface information class center point, so as to reclassify the gas cylinder image pixel sample points to avoid inaccurate classification caused by random factors in the initial classification, thereby accurately separating the gas cylinder surface information from the gas cylinder image.
[0034] Step S205, extracting the maximum value element of the initial label information membership matrix, and taking the gas cylinder image pixel sample point corresponding to the maximum value element of the initial label information membership matrix as the center point of the intermediate label information class.
[0035] In this embodiment, the maximum value of all elements in the initial label information membership matrix is extracted, and the gas cylinder image pixel sample point corresponding to the maximum value is used as the new class center point. This new class center point can be used as the intermediate label information class center point to reclassify the gas cylinder image pixel sample points, avoid inaccurate classification caused by random factors in the initial classification, and accurately separate the label information from the gas cylinder image.
[0036] Step S206, obtaining bottle body texture information, bottle body color information and gas cylinder label information according to the gas cylinder image pixel sample points, the middle gas cylinder surface information class center point and the middle label information class center point.
[0037] In this embodiment, the Euclidean distances between the gas cylinder image pixel sample points and the intermediate gas cylinder surface information class center point and the intermediate label information class center point can be recalculated to obtain the intermediate gas cylinder surface information membership and the intermediate label information membership, thereby dividing the gas cylinder image pixel sample points by the intermediate gas cylinder surface information membership and the intermediate label information membership to obtain the bottle body surface information and the gas cylinder label information. The bottle body surface information can be further processed by high-resolution reconstruction to obtain the bottle body texture information, or by color recognition to obtain the bottle body color information.
[0038] The industrial gas cylinder filling monitoring method provided in the embodiment of the present application classifies the gas cylinder image pixel sample points through randomly generated initial gas cylinder surface information class center points and initial label information class center points, and quantifies the membership of each gas cylinder image pixel sample point by respectively calculating the logical distance between each gas cylinder image pixel sample point and the initial gas cylinder surface information class center point and the initial label information class center point, thereby avoiding image segmentation errors caused by slight occlusion, thereby improving the accuracy of image segmentation, facilitating the accurate extraction of gas cylinder surface information and label information in industrial gas cylinder image information, which is used for subsequent accurate judgment of the quality and service life of the gas cylinder, so as to improve the safety and reliability of gas cylinder filling work.
[0039] Figure 3 The flowchart of the industrial gas cylinder filling monitoring method provided in the third embodiment of the present application is shown. The difference between the third embodiment and the second embodiment is that the step S206 specifically includes: Step S301, determine whether the center point of the intermediate gas cylinder surface information class and the center point of the intermediate label information class are respectively the same as the center point of the initial gas cylinder surface information class and the center point of the initial label information class. If so, proceed to step S302; if not, proceed to step S312.
[0040] In this embodiment, when the center point of the intermediate gas cylinder surface information class is the same as the center point of the initial gas cylinder surface information class, and the center point of the intermediate label information class is the same as the center point of the initial label information class, it means that the classification calculation for the gas cylinder image pixel sample points has achieved convergence, and the current calculation result is the global optimal solution for the classification calculation, and there is no need to perform further classification calculation on the gas cylinder image pixel sample points. When the center point of the intermediate gas cylinder surface information class is different from the center point of the initial gas cylinder surface information class, or the center point of the intermediate label information class is different from the center point of the initial label information class, it means that the classification calculation for the gas cylinder image pixel sample points has not achieved convergence, and the current calculation result is not the global optimal solution for the classification calculation, and further classification calculation is required for the gas cylinder image pixel sample points.
[0041] Step S302: taking the center point of the intermediate gas cylinder surface information class and the center point of the intermediate label information class as the center point of the target gas cylinder surface information class and the center point of the target label information class respectively.
[0042] In this embodiment, when the center point of the intermediate gas cylinder surface information class is the same as the center point of the initial gas cylinder surface information class, and the center point of the intermediate label information class is the same as the center point of the initial label information class, it means that the classification calculation of the gas cylinder image pixel sample point has achieved convergence, and the center point of the intermediate gas cylinder surface information class and the center point of the intermediate label information class at this time are respectively used as the center point of the target gas cylinder surface information class and the center point of the target label information class, which are used to directly classify the gas cylinder image pixel sample points. It can be understood that, for example, when the logical distance between a gas cylinder image pixel sample point and the target gas cylinder surface information class center point is much smaller than the logical distance between the gas cylinder image pixel sample point and the target label information class center point, it means that the gas cylinder image pixel sample point belongs to the pixel point of the gas cylinder surface information and can be used to synthesize the gas cylinder surface information.
[0043] Step S303, calculating the Euclidean distances between the plurality of gas cylinder image pixel sample points and the center point of the target gas cylinder surface information class, and obtaining the membership values of the plurality of gas cylinder surface pixel sample points.
[0044] In this embodiment, the Euclidean distances between all gas cylinder image pixel sample points and the center point of the target gas cylinder surface information class are calculated respectively, and the calculated Euclidean distances are used as the membership values of the gas cylinder surface pixel sample points, which are used to determine whether the gas cylinder image pixel sample points can be used as pixel points of the gas cylinder surface information, so as to be used to synthesize the gas cylinder surface information.
[0045] Step S304, determining whether the gas cylinder surface pixel sample point membership value is less than or equal to a preset gas cylinder surface pixel sample point membership threshold value, if so, proceeding to step S305; if not, determining the gas cylinder image pixel sample point corresponding to the gas cylinder surface pixel sample point membership value as a non-gas cylinder surface information pixel point.
[0046] In this embodiment, when the membership value of the gas cylinder surface pixel sample point is less than or equal to the preset gas cylinder surface pixel sample point membership threshold, it means that the gas cylinder image pixel sample point corresponding to the gas cylinder surface pixel sample point membership value can be used as the pixel point of the gas cylinder surface information and can be used to synthesize the gas cylinder surface information. When the gas cylinder surface pixel sample point membership value is greater than the preset gas cylinder surface pixel sample point membership threshold, it means that the gas cylinder image pixel sample point corresponding to the gas cylinder surface pixel sample point membership value cannot be used as the pixel point of the gas cylinder surface information, so the gas cylinder image pixel sample point corresponding to the gas cylinder surface pixel sample point membership value is determined as a non-gas cylinder surface information pixel point and cannot be used to synthesize the gas cylinder surface information.
[0047] Step S305: determining the gas cylinder image pixel sample point corresponding to the gas cylinder surface pixel sample point membership value as the gas cylinder surface information pixel point.
[0048] In this embodiment, the gas cylinder image pixel sample points corresponding to the gas cylinder surface pixel sample point membership values can be used as gas cylinder surface information pixel points and can be used to synthesize gas cylinder surface information.
[0049] Step S306: Generate the surface information of the gas cylinder according to the pixel points of the surface information of the gas cylinder.
[0050] In this embodiment, the surface information of the gas cylinder may be generated by directly splicing the pixels of the surface information of the gas cylinder, or by interpolating and splicing the pixels of the surface information of the gas cylinder.
[0051] Step S307, identifying and analyzing the surface information of the gas cylinder to obtain the bottle body texture information and the bottle body color information.
[0052] In this embodiment, the cylinder surface information may be reconstructed at high resolution to obtain the cylinder body texture information, or the cylinder body color information may be obtained by calculating the RGB value of the cylinder surface information.
[0053] Step S308, calculating the Euclidean distances between the plurality of gas cylinder image pixel sample points and the center point of the target label information class, and obtaining the membership values of the plurality of label information pixel sample points.
[0054] In this embodiment, the Euclidean distances between all gas cylinder image pixel sample points and the center point of the target label information class are calculated respectively, and the calculated Euclidean distances are used as the membership values of the label information pixel sample points to determine whether the gas cylinder image pixel sample points can be used as pixel points of the label information for synthesizing the gas cylinder label information.
[0055] Step S309, determining whether the label information pixel sample point membership value is less than or equal to a preset label information pixel sample point membership threshold, if so, proceeding to step S310; if not, determining the gas cylinder image pixel sample point corresponding to the label information pixel sample point membership value as a non-gas cylinder label pixel point.
[0056] In this embodiment, when the membership value of the gas cylinder surface pixel sample point is less than or equal to the preset label information pixel sample point membership threshold, it means that the gas cylinder image pixel sample point corresponding to the gas cylinder surface pixel sample point membership value can be used as the pixel point of the label information and can be used to synthesize the label information. When the gas cylinder surface pixel sample point membership value is greater than the preset label information pixel sample point membership threshold, it means that the gas cylinder image pixel sample point corresponding to the gas cylinder surface pixel sample point membership value cannot be used as the pixel point of the label information, so the gas cylinder image pixel sample point corresponding to the gas cylinder surface pixel sample point membership value is determined as a non-gas cylinder label information pixel point and cannot be used to synthesize the gas cylinder label information.
[0057] Step S310: determining the gas cylinder image pixel sample point corresponding to the label information pixel sample point membership value as the gas cylinder label pixel point.
[0058] In this embodiment, the gas cylinder image pixel sample points corresponding to the label information pixel sample point membership values can be used as gas cylinder label pixels and can be used to synthesize gas cylinder label information.
[0059] Step S311, obtaining the gas cylinder label information according to the gas cylinder label pixel points.
[0060] In this embodiment, the gas cylinder label information may be generated by directly splicing the gas cylinder label pixels, or by interpolating and splicing the gas cylinder label pixels.
[0061] Step S312, taking the center point of the intermediate gas cylinder surface information class and the center point of the intermediate label information class as the center point of the initial gas cylinder surface information class and the center point of the initial label information class, and returning to step S203.
[0062] In this embodiment, when the center point of the intermediate gas cylinder surface information class is different from the center point of the initial gas cylinder surface information class, or the center point of the intermediate label information class is different from the center point of the initial label information class, it means that the classification calculation of the gas cylinder image pixel sample points has not achieved convergence, and the current calculation result is not the optimal solution for the classification calculation. Therefore, the center point of the intermediate gas cylinder surface information class and the center point of the intermediate label information class are adjusted for re-classification until the center point of the intermediate gas cylinder surface information class and the center point of the intermediate label information class no longer change.
[0063] The industrial gas cylinder filling monitoring method provided in the embodiment of the present application calculates the Euclidean distance between the gas cylinder image pixel sample points and the center points of the intermediate gas cylinder surface information class and the intermediate label information class respectively, so as to quantify the membership of the gas cylinder image pixel sample points, so as to accurately classify the gas cylinder image pixel sample points. When the classification calculation fails to converge, the center points of the intermediate gas cylinder surface information class and the intermediate label information class are adjusted so that the calculation results approach the global optimal solution, thereby ensuring the accurate extraction and separation of the gas cylinder surface information, and effectively improving the accuracy of gas cylinder quality detection and wrong gas type filling detection through gas cylinder surface information, thereby ensuring the safety and effectiveness of gas cylinder filling.
[0064] Figure 4 The flowchart of the industrial gas cylinder filling monitoring method provided in the fourth embodiment of the present application is shown. The difference between the fourth embodiment and the first embodiment is that the step S103 specifically includes: Step S401, generating a plurality of anchor frame pixel information according to the bottle body texture information, a preset anchor frame width and a preset anchor frame height.
[0065] In this embodiment, the preset anchor frame width and the preset anchor frame height can be manually set. The bottle body texture information can be presented in the form of an image composed of multiple pixels. Multiple anchor frames are formed in the bottle body texture information, and the height and width of the anchor frames can be dynamically changed to extract local pixels of the bottle body texture information, and the extracted pixels are the anchor frame pixel information.
[0066] Step S402, calculating the similarity between the pixel information of multiple anchor frames to obtain the anchor frame pixel matching degree.
[0067] In this embodiment, the cosine similarity may be used, and the calculated cosine similarity is used as the anchor frame pixel matching degree to characterize the overlap degree of pixel information of multiple anchor frames.
[0068] Step S403, determining whether the anchor frame pixel matching degree is less than or equal to a preset matching degree threshold, if so, proceeding to step S404; if not, not using the multiple anchor frame pixel information corresponding to the anchor frame pixel matching degree as bottle body texture pixel feature class information.
[0069] In this embodiment, when the anchor frame pixel matching degree is less than or equal to the preset matching degree threshold, it means that the logical distance of multiple anchor frame pixel information is small, and it can be analyzed and calculated as pixel points of the same type of bottle body texture pixel feature information. When the anchor frame pixel matching degree is greater than the preset matching degree threshold, it means that the logical distance of multiple anchor frame pixel information is large, and it cannot be analyzed and calculated as pixel points of the same type of bottle body texture pixel feature information.
[0070] Step S404: using the plurality of anchor frame pixel information corresponding to the anchor frame pixel matching degree as bottle body texture pixel feature class information.
[0071] In this embodiment, the logical distances of the pixel information of the multiple anchor frames are relatively small, and they can be analyzed and calculated as pixel points of the same type of bottle body texture pixel feature information.
[0072] Step S405, obtaining a bottle body texture feature representation information graph according to the bottle body texture pixel feature class information and a preset feature representation function.
[0073] In this embodiment, the preset feature characterization function may be artificially set, and the bottle body texture pixel feature information may be convolved with the feature characterization function, and the calculation result may be output in the form of a matrix, that is, outputting a bottle body texture feature representation information graph.
[0074] Step S406, generating cylinder surface defect confirmation information according to the bottle body texture feature representation information graph, a preset first coefficient matrix, a preset second coefficient matrix, a preset spatial displacement variable matrix, and a preset spatial mapping function.
[0075] In this embodiment, the preset first coefficient matrix, the preset second coefficient matrix, the preset spatial displacement variable matrix and the preset spatial mapping function can all be set manually. Among them, the first coefficient matrix and the second coefficient matrix are used to quantify the importance of multiple bottle body texture features. It can be understood that in order to avoid the omission of important features of the bottle body texture, multiple coefficient matrices are set for quantification to ensure that as many important features as possible can be considered to improve the detection accuracy of surface defects of gas cylinders. The spatial mapping function is used to map the important features of the bottle body texture from the linear space to the nonlinear space, so that the important features can be fully considered and analyzed. The spatial displacement variable matrix is used to characterize the displacement of important features in the nonlinear space, and is used to enhance the connection between important features in the nonlinear space, so as to improve the adequacy and accuracy of the analysis of important features.
[0076] The industrial gas cylinder filling monitoring method provided in the embodiment of the present application generates an anchor frame to segment different information in the bottle body texture information to obtain anchor frame pixel information, locks the segmented anchor frame pixel information by calculating the anchor frame pixel matching degree, performs feature extraction operation on the locked pixels through a feature characterization function, quantizes the important features of the extracted pixel features through a coefficient matrix, projects the quantized important features into a nonlinear space through a spatial mapping function to enhance the expression of important pixel features, and enhances the connection and distinction between important features through a spatial displacement variable matrix, thereby improving the recognition accuracy of the bottle body texture information, avoiding false detection of the surface information of the industrial gas cylinder, ensuring that the quality of the industrial gas cylinder being filled with gas meets the standards, and improving the safety and reliability of the gas cylinder filling operation.
[0077] Figure 5 The flowchart of the industrial gas cylinder filling monitoring method provided in the fifth embodiment of the present application is shown. The difference between the fifth embodiment and the fourth embodiment is that the step S405 specifically includes: Step S501, performing a convolution operation on the bottle body texture pixel feature class information and a preset first feature representation function to generate a plurality of initial bottle body texture feature information maps.
[0078] In this embodiment, the preset first feature characterization function may be manually set. It is understandable that the result of the convolution operation may be output in the form of a matrix, and the output result after the convolution operation of the bottle body texture pixel feature class information and the first feature characterization function may be an initial bottle body texture feature information map.
[0079] Step S502 , respectively extracting extreme value elements of a plurality of the initial bottle body texture feature information graphs to generate a first intermediate bottle body texture feature information graph.
[0080] In this embodiment, extreme elements of the initial bottle body texture feature information map are extracted to compress the initial bottle body texture feature information map. The result of the compression process is a first intermediate bottle body texture feature information map, which is used to reduce the amount of calculation while ensuring that the bottle body texture features are fully considered in subsequent calculations to reduce the calculation complexity.
[0081] Step S503: performing a convolution operation on the first intermediate bottle body texture feature information graph and a preset second feature representation function to generate a plurality of second intermediate bottle body texture feature information graphs.
[0082] In this embodiment, the preset second feature characterization function may be manually set. It is understandable that the result of the convolution operation may be output in the form of a matrix, and the output result after the convolution operation of the first intermediate bottle body texture feature information map and the second feature characterization function may be the second intermediate bottle body texture feature information map.
[0083] Step S504: extracting the extreme value elements of the plurality of second intermediate bottle body texture feature information graphs respectively to generate a target bottle body texture feature information graph.
[0084] In this embodiment, the extreme value elements of the second intermediate bottle body texture feature information map are extracted to perform compression processing on the bottle body texture feature information map again. The result after compression processing is the target bottle body texture feature information map, which is used to reduce the amount of calculation while ensuring that the bottle body texture features are fully considered in subsequent calculations, thereby reducing the calculation complexity.
[0085] Step S505 , normalizing the target bottle body texture feature information map to obtain a bottle body texture feature representation information map.
[0086] In this embodiment, the normalization process may use a Z-Score function or a tangent hyperbolic function to avoid errors in identifying the bottle body texture due to a value exceeding a specific dimension during the calculation process.
[0087] The industrial gas cylinder filling monitoring method provided in the embodiment of the present application performs multiple convolution operations and compression processing on the feature characterization function and the bottle body texture pixel information. While fully extracting the bottle body texture features, it reduces the computational complexity and improves the calculation convergence speed, thereby improving the recognition accuracy and efficiency of the bottle body information and ensuring the quality reliability of the gas cylinders used for gas filling.
[0088] Figure 6 The flowchart of the industrial gas cylinder filling monitoring method provided in the sixth embodiment of the present application is shown. The difference between the sixth embodiment and the fourth embodiment is that the step S406 specifically includes: Step S601, performing an inner product operation on the bottle body texture feature representation information graph and a preset first coefficient matrix to obtain a first bottle body texture feature variable matrix.
[0089] In this embodiment, the preset first coefficient matrix can be manually set. By performing an inner product operation on the bottle body texture feature representation information graph and the first coefficient matrix, the difference between all bottle body texture features is increased, and the expression effect of important features in the bottle body texture features is highlighted. The inner product operation result is the first bottle body texture feature variable matrix.
[0090] Step S602: performing an inner product operation on the first bottle body texture feature variable matrix and a preset second coefficient matrix to obtain a second bottle body texture feature variable matrix.
[0091] In this embodiment, the preset second coefficient matrix can be manually set. By performing an inner product operation on the first bottle body texture feature variable matrix and the second coefficient matrix, the difference between all bottle body texture features is further increased, and the expression effect of important features in the bottle body texture features is further highlighted. The result of the inner product operation is the second bottle body texture feature variable matrix.
[0092] Step S603, obtaining bottle body texture feature spatial displacement variables according to the second bottle body texture feature variable matrix and a preset spatial displacement variable matrix.
[0093] In this embodiment, the second bottle body texture feature variable matrix and each element of the spatial displacement variable matrix may be added together, and the result of the addition calculation is the bottle body texture feature spatial displacement variable.
[0094] Step S604: generating a bottle body texture spatial mapping feature map according to the bottle body texture feature spatial displacement variable and a preset spatial mapping function.
[0095] In this embodiment, the preset space mapping function may be a Sigmoid function, and the bottle body texture feature space displacement variable may be used as the independent variable of the space mapping function, and the function value calculated is the bottle body texture space mapping feature map.
[0096] Step S605, calculating a matching probability value between the bottle body texture space mapping feature map and a preset standard bottle body texture space mapping feature map.
[0097] In this embodiment, the preset standard bottle body texture space mapping feature map can be obtained by collecting a large number of bottle body defect images and summarizing them for determining whether the bottle body texture has defects. The matching probability value can be a recall rate.
[0098] Step S606, determining whether the matching probability value is not less than a preset matching probability threshold, if so, proceeding to step S607; if not, generating cylinder surface texture normal confirmation information based on the bottle body texture pixel feature information.
[0099] In this embodiment, when the matching probability value is not less than the preset matching probability threshold, it indicates that the bottle body texture pixel has a high probability of showing a defect of the bottle body, and the cylinder surface defect confirmation information is generated to indicate that the cylinder cannot be used for gas filling. When the matching probability value is less than the preset matching probability threshold, it indicates that the bottle body texture pixel has a high probability of showing that the bottle body has no defects, and the cylinder surface texture normal confirmation information is generated, indicating that the cylinder can be used for normal gas filling.
[0100] Step S607: Generate cylinder surface defect confirmation information based on the bottle body texture pixel feature information.
[0101] In this embodiment, specific defect information displayed by the bottle body texture pixels can be determined through the matching probability values of the bottle body texture pixel feature class information and multiple standard bottle body texture space mapping feature maps, and the specific defect information can be used to generate gas cylinder surface defect confirmation information to characterize that the gas cylinder surface has defects and cannot be used for gas filling.
[0102] The industrial gas cylinder filling monitoring method provided in the embodiment of the present application performs multiple inner product calculations on the bottle body texture feature representation information through multiple coefficient matrices, thereby increasing the gap between different bottle body texture features, making important bottle body texture features fully prominent, and being able to fully consider the existence of important features in the calculation process of nonlinear space. Therefore, even the image features of very subtle bottle body defects can increase the distance from the normal image features of the bottle body in the calculation, effectively reducing the probability of missed detection of bottle body defects, thereby improving the recognition accuracy of bottle body texture information, ensuring that the bottle body of the industrial gas cylinder used for gas filling has no defects, so as to ensure the safety of gas filling work and the stability and reliability of the gas cylinder use process.
[0103] Figure 7 The flowchart of the industrial gas cylinder filling monitoring method provided by the seventh embodiment of the present application is shown. The difference between the seventh embodiment and the first embodiment is that: the gas cylinder filling monitoring parameter information includes the pressure information inside the bottle and the temperature information of the filling pipeline; the pressure information inside the bottle corresponds to the identification information of the gas cylinder to be filled one by one; the preset gas cylinder filling parameter threshold information includes the preset pressure threshold information inside the bottle, the preset first filling pipeline temperature threshold information and the preset second filling pipeline temperature threshold information; The step S105 specifically includes: Step S701, determine whether the filling pipe temperature information is greater than the preset first filling pipe temperature threshold information; if so, proceed to step S702; if not, proceed to step S705.
[0104] In this embodiment, the preset first filling pipeline temperature threshold information can be manually set. When the filling pipeline temperature information is less than the preset first filling pipeline temperature threshold information, it indicates that the current filling pipeline temperature is too low, and the gas cylinder filling work needs to be stopped in time to avoid abnormal filling caused by gas liquefaction in the pipeline.
[0105] Step S702, determining whether the filling pipe temperature information is less than a preset second filling pipe temperature threshold information; if so, proceeding to step S703; if not, proceeding to step S705.
[0106] In this embodiment, the preset second filling pipe temperature threshold information can be manually set. It can be understood that the first filling pipe temperature threshold information is less than the second filling pipe temperature threshold information. When the filling pipe temperature information is greater than the preset second filling pipe temperature threshold information, it means that the current filling pipe temperature is too high, and the gas cylinder filling work needs to be stopped in time, otherwise the gas cylinder body is prone to bursting. When the filling pipe temperature information is greater than the preset first filling pipe temperature threshold information, and the filling pipe temperature information is less than the preset second filling pipe temperature threshold information, it means that the current filling pipe temperature is within the normal range, and it is necessary to determine whether the pressure information in the bottle is normal.
[0107] Step S703, determining whether the bottle pressure information is greater than or equal to a preset bottle pressure threshold information; if so, proceeding to step S704; if not, proceeding to step S705.
[0108] In this embodiment, the preset bottle pressure threshold information can be manually set. When the bottle pressure information is less than the preset bottle pressure threshold information, it means that the current bottle pressure is within the normal range, and the filling of the gas cylinder can continue. When the bottle pressure information is greater than or equal to the preset bottle pressure threshold information, it means that the current bottle pressure is too high, and the filling of the gas cylinder needs to be stopped in time, otherwise the gas cylinder is likely to explode.
[0109] Step S704, determining the identification information of the gas cylinder to be filled corresponding to the internal pressure information of the gas cylinder, and stopping filling the industrial gas cylinder corresponding to the identification information of the gas cylinder to be filled.
[0110] In this embodiment, when the pressure information inside the bottle is greater than or equal to the preset pressure threshold information inside the bottle, it means that the current pressure inside the bottle is too high, and the filling of the industrial gas cylinder corresponding to the pressure information inside the bottle needs to be stopped in time, otherwise the gas cylinder is likely to explode.
[0111] Step S705, stop filling each industrial gas cylinder.
[0112] In this embodiment, when the filling pipeline temperature information is greater than the preset second filling pipeline temperature threshold information, it means that the current filling pipeline temperature is too high and all gas cylinder filling operations need to be stopped in time, otherwise the gas cylinder body is likely to explode.
[0113] The industrial gas cylinder filling monitoring method provided in the embodiment of the present application detects and manages the safety of the filling process by receiving real-time information on the pressure inside the bottle and the temperature of the filling pipe during the filling process. When the temperature of the filling pipe is too low, the filling of all industrial gas cylinders is stopped in time to avoid the gasification of the gas filled into the cylinder. When the temperature of the filling pipe is too high or the pressure inside the bottle is too high, the filling operation of the industrial gas cylinder is stopped to avoid the rupture of the cylinder during the filling operation, thereby avoiding the occurrence of industrial accidents, reducing the risk of loss in the gas cylinder filling operation, and effectively improving the safety of the gas cylinder filling process.
[0114] Corresponding to the method of the above embodiment, Figure 8 A structural block diagram of an industrial gas cylinder filling process monitoring device provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown. Figure 8 The exemplary industrial gas cylinder filling process monitoring device may be an execution subject of the industrial gas cylinder filling monitoring method provided in the aforementioned first embodiment.
[0115] Reference Figure 8 , the industrial gas cylinder filling process monitoring device includes: Information acquisition module 810, used to acquire industrial gas cylinder image information and filling time information; The image information recognition module 820 is used to recognize and process the industrial gas cylinder image information to obtain the bottle body texture information, bottle body color information and cylinder label information; the bottle body color information corresponds to the standard filling gas type information one by one; the cylinder label information carries the cylinder identification information, the type of gas to be filled and the cylinder scrapping time information; The bottle body texture information defect detection module 830 is used to perform defect detection on the bottle body texture information and generate cylinder surface defect confirmation information; The gas cylinder identification information generating module 840 is used to obtain the identification information of the gas cylinder to be filled according to the gas cylinder surface defect confirmation information and the gas cylinder identification information when the difference between the filling time information and the gas cylinder scrapping time information is greater than a preset time difference threshold and when the gas type information to be filled is consistent with the standard filling gas type information; and The industrial gas cylinder monitoring and processing module 850 is used to monitor and process the industrial gas cylinder according to the gas cylinder filling monitoring parameter information received in real time, the identification information of the gas cylinder to be filled and the preset gas cylinder filling parameter threshold information.
[0116] The process of each module in the industrial gas cylinder filling process monitoring device provided in the embodiment of the present application realizing its own function can be specifically referred to the aforementioned Figure 1 The description of the first embodiment is not repeated here.
[0117] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0118] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0119] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0120] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0121] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish descriptions, and cannot be understood as indicating or suggesting relative importance. It should also be understood that although the terms "first", "second", etc. are used to describe various elements in some embodiments of the present application in the text, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, the first table can be named as the second table, and similarly, the second table can be named as the first table without departing from the scope of the various described embodiments. The first table and the second table are both tables, but they are not the same table.
[0122] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0123] The industrial gas cylinder filling monitoring method provided in the embodiment of the present application can be applied to terminal devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc. The embodiment of the present application does not impose any restrictions on the specific type of terminal devices.
[0124] For example, the terminal device can be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a vehicle networking terminal, a computer, a laptop computer, a handheld communication device, a handheld computing device, a satellite wireless device, a wireless modem card, a TV set top box (STB), a customer premises equipment (CPE) and / or other devices for communicating on a wireless system and a next-generation communication system, such as a mobile terminal in a 5G network or a mobile terminal in a future evolved Public Land Mobile Network (PLMN) network, etc.
[0125] As an example but not limitation, when the terminal device is a wearable device, the wearable device can also be a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not just hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0126] Fig. 9 Schematic diagram of the structure of a terminal device provided by an embodiment of the present application. Fig. 9 As shown, the terminal device 9 of this embodiment includes: at least one processor 90 ( Fig. 9 Only one is shown in the figure), a memory 91, wherein the memory 91 stores a computer program 92 that can be run on the processor 90. When the processor 90 executes the computer program 92, the steps in the above-mentioned industrial gas cylinder filling monitoring method embodiments are implemented, such as Figure 1 Alternatively, when the processor 90 executes the computer program 92, the functions of each module / unit in the above-mentioned device embodiments are realized, for example, Figure 8 Functions of modules 810 to 850 are shown.
[0127] The terminal device 9 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor 90 and a memory 91. Those skilled in the art will appreciate that Fig. 9 It is only an example of the terminal device 9 and does not constitute a limitation on the terminal device 9. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include an input sending device, a network access device, a bus, etc.
[0128] The processor 90 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0129] In some embodiments, the memory 91 may be an internal storage unit of the terminal device 9, such as a hard disk or memory of the terminal device 9. The memory 91 may also be an external storage device of the terminal device 9, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 9. Further, the memory 91 may also include both an internal storage unit of the terminal device 9 and an external storage device. The memory 91 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 91 may also be used to temporarily store data that has been sent or is to be sent.
[0130] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0131] An embodiment of the present application also provides a terminal device, which includes at least one memory, at least one processor, and a computer program stored in the at least one memory and executable on the at least one processor, wherein when the processor executes the computer program, the terminal device implements the steps in any of the above-mentioned method embodiments.
[0132] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0133] An embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0134] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0135] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0136] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0137] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0138] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for monitoring filling of industrial gas cylinders, characterized in that: include: Obtain image information and filling time information of industrial gas cylinders; The industrial gas cylinder image information is identified and processed to obtain the bottle body texture information, bottle body color information and gas cylinder label information; the bottle body color information corresponds to the standard filling gas type information one by one; the gas cylinder label information carries the gas cylinder identification information, the gas type information to be filled and the gas cylinder scrapping time information; Performing defect detection on the bottle body texture information to generate cylinder surface defect confirmation information; When the difference between the filling time information and the gas cylinder scrapping time information is greater than a preset time difference threshold, and when the gas type information to be filled is consistent with the standard filling gas type information, the identification information of the gas cylinder to be filled is obtained according to the gas cylinder surface defect confirmation information and the gas cylinder identification information; The industrial gas cylinders are monitored and processed according to the gas cylinder filling monitoring parameter information received in real time, the identification information of the gas cylinder to be filled and the preset gas cylinder filling parameter threshold information.
2. The industrial gas cylinder filling monitoring method according to claim 1, characterized in that: The step of identifying and processing the industrial gas cylinder image information to obtain bottle body texture information, bottle body color information and gas cylinder label information specifically includes: Randomly generate the center point of the initial gas cylinder surface information class and the center point of the initial label information class; According to preset pixel sampling interval information, pixel sampling processing is performed on the industrial gas cylinder image information to obtain a plurality of gas cylinder image pixel sample points; Respectively calculating the Euclidean distance values between a plurality of the gas cylinder image pixel sample points and the center point of the initial gas cylinder surface information class and the center point of the initial label information class, and generating an initial gas cylinder surface information membership matrix and an initial label information membership matrix; Extracting the maximum value element of the initial gas cylinder surface information membership matrix, and taking the gas cylinder image pixel sample point corresponding to the maximum value element of the initial gas cylinder surface information membership matrix as the center point of the intermediate gas cylinder surface information class; Extracting the maximum value element of the initial label information membership matrix, and taking the gas cylinder image pixel sample point corresponding to the maximum value element of the initial label information membership matrix as the center point of the intermediate label information class; According to the gas cylinder image pixel sample points, the center point of the intermediate gas cylinder surface information class and the center point of the intermediate label information class, the bottle body texture information, the bottle body color information and the gas cylinder label information are obtained.
3. The industrial gas cylinder filling monitoring method according to claim 2, characterized in that: The step of obtaining the bottle body texture information, the bottle body color information and the gas cylinder label information according to the gas cylinder image pixel sample points, the intermediate gas cylinder surface information class center point and the intermediate label information class center point specifically includes: Determine whether the center point of the intermediate gas cylinder surface information class and the center point of the intermediate label information class are respectively the same as the center point of the initial gas cylinder surface information class and the center point of the initial label information class; If yes, the center point of the intermediate gas cylinder surface information class and the center point of the intermediate label information class are used as the center point of the target gas cylinder surface information class and the center point of the target label information class respectively; Calculating the Euclidean distances between a plurality of gas cylinder image pixel sample points and a center point of the target gas cylinder surface information class to obtain membership values of a plurality of gas cylinder surface pixel sample points; When the membership value of the gas cylinder surface pixel sample point is less than or equal to a preset gas cylinder surface pixel sample point membership threshold, the gas cylinder image pixel sample point corresponding to the gas cylinder surface pixel sample point membership value is determined as the gas cylinder surface information pixel point; Generate the surface information of the gas cylinder according to the pixel points of the surface information of the gas cylinder; Identify and analyze the surface information of the gas cylinder to obtain the texture information and color information of the cylinder; Calculating the Euclidean distances between a plurality of the gas cylinder image pixel sample points and the target label information class center point to obtain a plurality of label information pixel sample point membership values; When the label information pixel sample point membership value is less than or equal to a preset label information pixel sample point membership threshold, the gas cylinder image pixel sample point corresponding to the label information pixel sample point membership value is determined as the gas cylinder label pixel point; Obtaining gas cylinder label information according to the gas cylinder label pixel points; If not, the center point of the intermediate gas cylinder surface information class and the center point of the intermediate label information class are used as the center point of the initial gas cylinder surface information class and the center point of the initial label information class, and the process returns to the step of respectively calculating the Euclidean distance values between a plurality of gas cylinder image pixel sample points and the center point of the initial gas cylinder surface information class and the center point of the initial label information class to generate an initial gas cylinder surface information membership matrix and an initial label information membership matrix.
4. The industrial gas cylinder filling monitoring method according to claim 1, characterized in that: The step of performing defect detection on the bottle body texture information to generate cylinder surface defect confirmation information specifically includes: Generate multiple anchor frame pixel information according to the bottle body texture information, a preset anchor frame width, and a preset anchor frame height; Calculate the similarity between multiple anchor frame pixel information to obtain the anchor frame pixel matching degree; When the anchor frame pixel matching degree is less than or equal to a preset matching degree threshold, multiple anchor frame pixel information corresponding to the anchor frame pixel matching degree is used as bottle body texture pixel feature class information; According to the bottle body texture pixel feature class information and a preset feature characterization function, a bottle body texture feature representation information graph is obtained; Gas cylinder surface defect confirmation information is generated according to the bottle body texture feature representation information graph, a preset first coefficient matrix, a preset second coefficient matrix, a preset spatial displacement variable matrix, and a preset spatial mapping function.
5. The industrial gas cylinder filling monitoring method according to claim 4, characterized in that: The step of obtaining a bottle body texture feature representation information graph according to the bottle body texture pixel feature class information and a preset feature characterization function specifically includes: Performing a convolution operation on the bottle body texture pixel feature information and a preset first feature representation function to generate a plurality of initial bottle body texture feature information maps; Extracting the extreme value elements of the plurality of initial bottle body texture feature information maps respectively to generate a first intermediate bottle body texture feature information map; Performing a convolution operation on the first intermediate bottle body texture feature information graph and a preset second feature representation function to generate a plurality of second intermediate bottle body texture feature information graphs; Extracting the extreme value elements of the plurality of second intermediate bottle body texture feature information maps respectively to generate a target bottle body texture feature information map; The target bottle body texture feature information map is normalized to obtain a bottle body texture feature representation information map.
6. The industrial gas cylinder filling monitoring method according to claim 4, characterized in that: The step of generating the cylinder surface defect confirmation information according to the bottle body texture feature representation information graph, the preset first coefficient matrix, the preset second coefficient matrix, the preset spatial displacement variable matrix and the preset spatial mapping function specifically includes: Perform an inner product operation on the bottle body texture feature representation information graph and a preset first coefficient matrix to obtain a first bottle body texture feature variable matrix; Performing an inner product operation on the first bottle body texture feature variable matrix and a preset second coefficient matrix to obtain a second bottle body texture feature variable matrix; Obtaining bottle body texture feature spatial displacement variables according to the second bottle body texture feature variable matrix and a preset spatial displacement variable matrix; Generate a bottle body texture spatial mapping feature map according to the bottle body texture feature spatial displacement variable and a preset spatial mapping function; Calculating a matching probability value between the bottle body texture space mapping feature map and a preset standard bottle body texture space mapping feature map; When the matching probability value is not less than a preset matching probability threshold, the cylinder surface defect confirmation information is generated according to the bottle body texture pixel feature information.
7. The industrial gas cylinder filling monitoring method according to claim 1, characterized in that: The gas cylinder filling monitoring parameter information includes the pressure information inside the bottle and the temperature information of the filling pipeline; the pressure information inside the bottle corresponds one-to-one with the identification information of the gas cylinder to be filled; The preset gas cylinder filling parameter threshold information includes preset cylinder internal pressure threshold information, preset first filling pipeline temperature threshold information and preset second filling pipeline temperature threshold information; The step of monitoring and processing the industrial gas cylinder according to the gas cylinder filling monitoring parameter information received in real time, the identification information of the gas cylinder to be filled and the preset gas cylinder filling parameter threshold information specifically includes: When the filling pipe temperature information is greater than a preset first filling pipe temperature threshold information, determining whether the filling pipe temperature information is less than a preset second filling pipe temperature threshold information; If yes, when the bottle pressure information is greater than or equal to the preset bottle pressure threshold information, determine the identification information of the gas cylinder to be filled corresponding to the bottle pressure information, and stop filling the industrial gas cylinder corresponding to the identification information of the gas cylinder to be filled; If not, stop filling each industrial gas cylinder.
8. An industrial gas cylinder filling process monitoring device, characterized in that: include: An information acquisition module is used to obtain image information and filling time information of industrial gas cylinders; An image information recognition module is used to recognize and process the image information of the industrial gas cylinder to obtain bottle body texture information, bottle body color information and cylinder label information; the bottle body color information corresponds to the standard filling gas type information one by one; the cylinder label information carries the cylinder identification information, the type of gas to be filled and the cylinder scrapping time information; A bottle body texture information defect detection module is used to perform defect detection on the bottle body texture information and generate cylinder surface defect confirmation information; A gas cylinder identification information generation module for obtaining the identification information of the gas cylinder to be filled according to the gas cylinder surface defect confirmation information and the gas cylinder identification information when the difference between the filling time information and the gas cylinder scrapping time information is greater than a preset time difference threshold and when the gas type information to be filled is consistent with the standard filling gas type information; as well as The industrial gas cylinder monitoring and processing module is used to monitor and process the industrial gas cylinder according to the real-time received gas cylinder filling monitoring parameter information, the identification information of the gas cylinder to be filled and the preset gas cylinder filling parameter threshold information.
9. A terminal device, characterized in that: The terminal device includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and 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 storing a computer program, 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
Superpixel segmentation method based on fuzzy theory
CN103353987A
Mixed gas preparation method
CN108031314A
Intelligent control method and system for automatic optical detection of apparent defects and medium
CN116188475A
Liquefied gas bottle monitoring method, system and equipment
CN117515414A
Metal surface online defect detection system based on deep learning of YOLO7
CN118154562A