A laser coding system for gas pipelines
By combining the information module, coding module, data addition library, material analysis module and environmental analysis module, laser coding parameters are generated, which solves the problem of reduced accuracy caused by differences in gas pipeline materials and environment, and achieves high-precision laser coding.
Patent Information
- Application Number
- CN202211643086.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-20
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2042-12-20
AI Technical Summary
The existing laser coding system has reduced accuracy when controlling gas pipelines due to differences in materials and environments, making it difficult to meet high-precision requirements.
It combines information module, coding module, data adding library, material analysis module, environmental analysis module and comprehensive analysis module to generate laser coding parameters through material and environmental analysis to achieve intelligent correction control.
It improves the accuracy of laser coding, reduces the uncertainty caused by manual adjustment, and ensures high-precision QR code printing.
Smart Images

Figure CN116174912B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of laser coding, in particular to a laser coding system for gas pipelines. Background Art
[0002] Laser coding machines usually include a control system, a laser, and a galvanometer. The control system can be composed of an industrial computer and a control board (to implement basic control instructions); it can also be an embedded control system that combines the control board and the industrial computer (with its own processor to handle related human-machine interfaces and complex data processing). The control system controls the intensity and pulse interval of the laser through pulse width modulation signals and gate signals, thereby controlling the light intensity and light pattern of the laser beam. It is necessary to adjust the corresponding control parameters according to various actual conditions, such as material and environment. However, directly controlling all the same materials according to the same control parameters will result in large errors, because there are certain differences in the production and processing of gas pipelines of the same material from different manufacturers, different production processes, production environments, etc., which will lead to a corresponding decrease in accuracy, which is not conducive to laser coding with higher precision requirements. Therefore, the present invention provides a laser coding system for gas pipelines. Summary of the Invention
[0003] In order to solve the problems existing in the above-mentioned solution, the present invention provides a laser coding system for gas pipelines.
[0004] The purpose of the present invention can be achieved through the following technical solutions:
[0005] A laser coding system for gas pipelines includes an information module and a coding module. The information module is used to edit the QR code information corresponding to various gas pipelines according to the manufacturer's needs; the coding module is used to print the corresponding QR code on the gas pipeline according to the corresponding control information; the system also includes a data addition library, a material analysis module, an environmental analysis module, a comprehensive analysis module, and a control module.
[0006] The data addition library is used to add gas pipeline material data and store the collated information; the material analysis module is used to analyze the collated information corresponding to various gas pipelines stored in the data addition library to obtain material analysis values; the environmental analysis module is used to analyze the environment at the laser coding location to obtain environmental analysis values;
[0007] The comprehensive analysis module is used to comprehensively analyze the material analysis value and the environmental analysis value to generate corresponding laser coding parameters, obtain the current environmental analysis value and the material analysis value corresponding to the gas pipeline that needs to be laser coded, convert the environmental analysis value and the material analysis value into comprehensive analysis coordinates, analyze the obtained comprehensive analysis coordinates, obtain laser coding parameters, and send the obtained laser coding parameters to the control module;
[0008] The control module is used to control laser coding. When it is detected that laser coding is required, it obtains the corresponding QR code information and laser coding parameters, and sends the obtained QR code information and laser coding parameters to the coding module. The coding module adjusts the parameters according to the received laser coding parameters, and prints the QR code on the gas pipeline after the adjustment.
[0009] Furthermore, the working method of the data adding library includes:
[0010] Obtain the gas pipeline information uploaded by the manufacturer, review the obtained gas pipeline information, obtain the corresponding sorted information, and store the obtained sorted information in the data addition library.
[0011] Furthermore, the method for reviewing the obtained gas pipeline information includes:
[0012] Set up a corresponding information verification template, establish a corresponding information verification model based on the information verification template, verify the obtained gas pipeline information through the established information verification model, and obtain corresponding verification results. The verification results include sorting information, verification success or verification failure. When the verification fails, the corresponding verification failure information is generated, and the verification failure information and sorting information are sent to the corresponding staff, who perform corresponding data supplementation based on the sorting information.
[0013] Furthermore, the working method of the material analysis module includes:
[0014] Identify the newly added sorting information, analyze the identified sorting information, obtain the corresponding material correction coefficient, identify the gas pipeline material corresponding to the sorting information, match the corresponding material standard value according to the obtained gas pipeline material, and calculate the corresponding material analysis value according to the obtained material correction coefficient and material standard value.
[0015] Furthermore, the method of matching the corresponding material standard value according to the obtained gas pipeline material includes:
[0016] Obtain the available gas pipeline materials, set a material standard value for each gas pipeline material, and integrate the set material standard values to establish a material matching table;
[0017] Obtain the gas pipeline material that needs to be matched, input the obtained gas pipeline material into the material matching table for matching, and obtain the corresponding material standard value.
[0018] Furthermore, a method for calculating a corresponding material analysis value based on the obtained material correction coefficient and material standard value includes:
[0019] The material correction coefficient is marked as α, and the material standard value is marked as CBZ, according to the formula CF = (1-α) × CBZ.
[0020] Furthermore, the working method of the environment analysis module includes:
[0021] Collect environmental data according to preset environmental collection items, obtain environmental analysis data, analyze the obtained environmental analysis data, and obtain corresponding environmental analysis values.
[0022] Furthermore, the method for analyzing the obtained environmental analysis data includes:
[0023] Set the standard data interval corresponding to each environmental collection item, set the standard environmental value and environmental item weight coefficient corresponding to each environmental collection item, identify the environmental collection item data that exceeds the standard data interval in the environmental analysis data, analyze the corresponding change value, and calculate the corresponding environmental analysis value based on the obtained standard environmental value, environmental item weight coefficient and change value.
[0024] Furthermore, the method for calculating the corresponding environmental analysis value according to the obtained standard environmental value, environmental item weight coefficient and change value includes:
[0025] The environmental collection item is marked as i, where i = 1, 2, ..., n, and n is a positive integer; the standard environmental value, environmental item weight coefficient and change value corresponding to each environmental collection item are marked as HBZi, βi and HBDi respectively. According to the formula Calculate the corresponding environmental analysis value.
[0026] Compared with the existing technology, the beneficial effects of the present invention are: through the mutual cooperation between the information module, the coding module, the data addition library, the material analysis module, the environmental analysis module, the comprehensive analysis module and the control module, the intelligent correction of the control parameters according to the actual situation of the gas pipeline produced by the manufacturer is realized, the accuracy of the laser coding is improved, and the manual adjustment of the control parameters based on one's own work experience is avoided, which has a greater uncertainty and experience level. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0028] Figure 1 This is a principle block diagram of the present invention. DETAILED DESCRIPTION
[0029] The technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0030] like Figure 1 As shown, a laser coding system for gas pipelines includes an information module, a coding module, a data addition library, a material analysis module, an environmental analysis module, a comprehensive analysis module and a control module;
[0031] The information module is used to edit the QR code information corresponding to various gas pipelines according to the manufacturer's needs.
[0032] The coding module is used to print the corresponding QR code on the gas pipeline according to the corresponding control information.
[0033] The information module and the coding module are both built-in modules in the existing laser coding system, so they are not described in detail in this application.
[0034] The data addition library is used to add and store gas pipeline material data, and the specific method includes:
[0035] Obtain the gas pipeline information uploaded by the manufacturer, including model, specification, size, material, component, production process and other information; review the obtained gas pipeline information, obtain the corresponding sorting information, and store the obtained sorting information in the data addition library.
[0036] Methods for reviewing the obtained gas pipeline information include:
[0037] A corresponding information verification template is set and manually set according to the data required to be included; a corresponding information verification model is established based on the information verification template. The information verification model is used to verify the gas pipeline information, determine whether it includes the information required by the information verification template, and output corresponding sorting information according to the information verification template. In the case of unqualified verification, the sorting information has missing items, and corresponding supplementary information is generated based on the missing data. The specific information verification model is established based on a CNN network or a DNN network, and a corresponding training set is manually set for training. The information verification model is verified after successful training. Since neural networks are existing technologies in this field, the specific establishment and training process will not be described in detail; the obtained gas pipeline information is verified by the established information verification model to obtain a corresponding verification result. The verification result includes sorting information, verification success or verification failure. That is, regardless of whether the verification succeeds or fails, sorting information will be output. When the verification fails, corresponding verification failure information is generated, and the verification failure information and sorting information are sent to the corresponding staff. The staff supplements the data accordingly based on the sorting information until the review is successful.
[0038] The material analysis module is used to analyze the collated information corresponding to various gas pipelines stored in the data addition library. The specific method includes:
[0039] Identify newly added collation information, that is, collation information that has not been analyzed; analyze the identified collation information to obtain the corresponding material correction coefficient, identify the gas pipeline material corresponding to the collation information, match the corresponding material standard value according to the obtained gas pipeline material, and calculate the corresponding material analysis value according to the obtained material correction coefficient and material standard value.
[0040] The identified sorting information is analyzed, that is, based on the actual information of the gas pipeline in the sorting information, the difference between the material of the gas pipeline of the manufacturer's processing worker and the gas pipeline of the corresponding standard material is analyzed, and the corresponding material correction coefficient is set according to the possible impact of the corresponding difference on the laser coding; because different manufacturers produce and process gas pipelines, due to differences in production technology, production equipment, component ratio, pipe color, etc., gas pipelines of the same material may also have certain differences, which in turn has a certain impact on laser coding. After all, QR codes still need to have a high coding accuracy. By performing material correction, the adjustment accuracy of subsequent laser coding parameters can be improved; specifically, a corresponding material analysis model can be established based on a CNN network or a DNN network, and the corresponding training set can be set manually for training. The material analysis model after successful training is analyzed to obtain the material correction coefficient corresponding to each sorting information.
[0041] Methods for matching corresponding material standard values according to the obtained gas pipeline material include:
[0042] Obtain the available gas pipeline materials, which refer to those currently available on the market; set a material standard value for each gas pipeline material through discussion by an expert group, and integrate the set material standard values to establish a material matching table;
[0043] Obtain the gas pipeline material that needs to be matched, input the obtained gas pipeline material into the material matching table for matching, and obtain the corresponding material standard value.
[0044] Methods for calculating corresponding material analysis values based on the obtained material correction coefficient and material standard value include:
[0045] The material correction coefficient is marked as α, and the material standard value is marked as CBZ, according to the formula CF = (1-α) × CBZ.
[0046] The environment analysis module is used to analyze the environment at the laser coding location. The specific method includes:
[0047] Collect environmental data according to preset environmental collection items, obtain environmental analysis data, analyze the obtained environmental analysis data, and obtain corresponding environmental analysis values.
[0048] Environmental data is collected according to the preset environmental collection items. The preset environmental collection items are based on the manual setting of environmental factors that have an impact on laser coding, such as possible temperature, humidity, light, etc., and the collection and conversion method of the corresponding data of each environmental collection item is set, that is, non-numerical data is converted into numerical data. The corresponding conversion method can be set manually for conversion, and then the environmental analysis data can be obtained.
[0049] Methods for analyzing the obtained environmental analysis data include:
[0050] Set the standard data interval corresponding to each environmental collection item. The standard data interval is set manually according to the degree of influence on laser coding. The interval corresponding to each environmental collection item under normal environment and whether it affects laser coding are set. That is, within the standard data interval, the environmental data will not affect the corresponding environmental standard value; set the standard environmental value and environmental item weight coefficient corresponding to each environmental collection item. The environmental standard value and environmental item weight coefficient are both set manually according to the corresponding standard data interval. The corresponding definition is performed manually, and the change of the environmental standard value of each environmental collection item when the standard data interval is exceeded is set according to the definition process, so as to facilitate the subsequent setting of the corresponding training set; identify the environmental collection item data corresponding to the standard data interval in the environmental analysis data, analyze the corresponding change value, and calculate the corresponding environmental analysis value based on the obtained standard environmental value, environmental item weight coefficient and change value.
[0051] The method for analyzing the corresponding change value includes: establishing a corresponding environmental analysis model based on a CNN network or a DNN network, which is used to analyze the environmental data that exceeds the standard and convert it into the corresponding change value. The conversion is performed according to the standard environmental value, and the corresponding training set is set manually for training. The environmental analysis model after successful training is used for analysis to obtain the corresponding change value.
[0052] The method for calculating the corresponding environmental analysis value based on the obtained standard environmental value, environmental item weight coefficient and change value includes:
[0053] The environmental collection item is marked as i, where i = 1, 2, ..., n, and n is a positive integer; the standard environmental value, environmental item weight coefficient and change value corresponding to each environmental collection item are marked as HBZi, βi and HBDi respectively, and the change value is zero for those that do not exceed the standard; according to the formula Calculate the corresponding environmental analysis value.
[0054] The comprehensive analysis module is used to comprehensively analyze laser coding parameters, and the specific method includes:
[0055] Obtain the current environmental analysis value and the material analysis value corresponding to the gas pipeline that needs to be laser coded, and convert the environmental analysis value and the material analysis value into comprehensive analysis coordinates. For example, if the environmental analysis value and the material analysis value are 1 and 2, the comprehensive analysis coordinates are (1, 2). Analyze the obtained comprehensive analysis coordinates to obtain laser coding parameters, and send the obtained laser coding parameters to the control module.
[0056] Analyze the obtained comprehensive analysis coordinates, simulate possible comprehensive analysis coordinates based on a large amount of relevant historical data, manually set corresponding laser coding parameters for each comprehensive analysis coordinate, integrate them into a training set, establish a corresponding parameter analysis model based on the CNN network or DNN network, train with the established training set, and analyze with the parameter analysis model after successful training to obtain the corresponding laser coding parameters.
[0057] The control module is used to control laser coding. When it is detected that laser coding is required, it is determined that laser coding is required through existing methods; the corresponding QR code information and laser coding parameters are obtained, and the obtained QR code information and laser coding parameters are sent to the coding module. The coding module adjusts the parameters according to the received laser coding parameters, and prints the QR code on the gas pipeline after the adjustment.
[0058] The above formulas are all calculated by removing dimensions and taking their numerical values. The formula is a formula that is closest to the actual situation obtained by collecting a large amount of data and performing software simulation. The preset parameters and preset thresholds in the formula are set by technicians in this field according to actual conditions or obtained by simulating a large amount of data.
[0059] The above embodiments are only used to illustrate the technical method of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A laser coding system for gas pipelines, comprising an information module and a coding module. The information module is used to edit the QR code information corresponding to various gas pipelines according to the manufacturer's needs; the coding module is used to print the corresponding QR code on the gas pipeline according to the corresponding control information; characterized in that: It also includes data addition library, material analysis module, environmental analysis module, comprehensive analysis module and control module; The data addition library is used to add gas pipeline material data and store the collated information; the material analysis module is used to analyze the collated information corresponding to various gas pipelines stored in the data addition library to obtain material analysis values; the environmental analysis module is used to analyze the environment at the laser coding location to obtain environmental analysis values; The comprehensive analysis module is used to comprehensively analyze the material analysis value and the environmental analysis value to generate corresponding laser coding parameters, obtain the current environmental analysis value and the material analysis value corresponding to the gas pipeline that needs to be laser coded, convert the environmental analysis value and the material analysis value into comprehensive analysis coordinates, analyze the obtained comprehensive analysis coordinates, obtain laser coding parameters, and send the obtained laser coding parameters to the control module; The control module is used to control laser coding. When it is detected that laser coding is required, the control module obtains the corresponding QR code information and laser coding parameters, and sends the obtained QR code information and laser coding parameters to the coding module. The coding module adjusts the parameters according to the received laser coding parameters, and prints the QR code on the gas pipeline after the adjustment. The working methods of the environmental analysis module include: Collect environmental data according to preset environmental collection items to obtain environmental analysis data, analyze the obtained environmental analysis data, and obtain corresponding environmental analysis values; Methods for analyzing the obtained environmental analysis data include: Set the standard data interval corresponding to each environmental collection item, set the standard environmental value and environmental item weight coefficient corresponding to each environmental collection item, identify the environmental collection item data corresponding to the standard data interval that exceeds the environmental analysis data, analyze the corresponding change value, and calculate the corresponding environmental analysis value based on the obtained standard environmental value, environmental item weight coefficient and change value; The method for calculating the corresponding environmental analysis value based on the obtained standard environmental value, environmental item weight coefficient and change value includes: The environmental collection item is marked as i, where i=1, 2, ..., n, and n is a positive integer; the standard environmental value, environmental item weight coefficient, and change value corresponding to each environmental collection item are marked as HBZi, βi, and HBDi, respectively. According to the formula Calculate the corresponding environmental analysis value; The working methods of the material analysis module include: Identify the newly added collation information, analyze the identified collation information, obtain the corresponding material correction coefficient, identify the gas pipeline material corresponding to the collation information, match the corresponding material standard value according to the obtained gas pipeline material, and calculate the corresponding material analysis value according to the obtained material correction coefficient and material standard value; Methods for matching corresponding material standard values according to the obtained gas pipeline material include: Obtain the available gas pipeline materials, set a material standard value for each gas pipeline material, and integrate the set material standard values to establish a material matching table; Obtain the gas pipeline material that needs to be matched, input the obtained gas pipeline material into the material matching table for matching, and obtain the corresponding material standard value; Methods for calculating corresponding material analysis values based on the obtained material correction coefficient and material standard value include: The material correction coefficient is marked as α, and the material standard value is marked as CBZ, according to the formula CF=(1-α)×CBZ.
2. A laser marking system for gas pipelines according to claim 1, characterized in that: The working methods of the data addition library include: Obtain the gas pipeline information uploaded by the manufacturer, review the obtained gas pipeline information, obtain the corresponding sorted information, and store the obtained sorted information in the data addition library.
3. A laser marking system for gas pipelines according to claim 2, characterized in that: Methods for reviewing the obtained gas pipeline information include: Set up a corresponding information verification template, establish a corresponding information verification model based on the information verification template, verify the obtained gas pipeline information through the established information verification model, and obtain corresponding verification results. The verification results include sorting information, verification success or verification failure. When the verification fails, the corresponding verification failure information is generated, and the verification failure information and sorting information are sent to the corresponding staff, who perform corresponding data supplementation based on the sorting information.