A library file generation method and system for a gypsum board production line control system
By analyzing the historical control logs, building the mapping relationship between single requirements and single equipment of the gypsum board production line, generating self-organized library files and custom setting, solving the problem of repeated settings of device variables, and realizing the simplified design and reusability of library files , reduces workload.
Patent Information
- Application Number
- CN202111440230.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2041-11-30
AI Technical Summary
In the existing gypsum board production line control system, each device needs to add and connect multiple variables, and the settings of each picture attribute are highly repetitive, resulting in a large workload.
By analyzing the historical control logs, the mapping relationship between single requirements and single devices of user control habits is constructed, the self-organized library files are generated, and the user-defined settings are converted into self-use library files that can be directly applied, and the library file control production line is directly called.
Simplifies the design process, reduces repetitive workload, improves the reusability of library files, and reduces design time.
Smart Images

Figure CN114140076B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of gypsum board production, and in particular to a library file generation method and system for a gypsum board production line control system. Background Art
[0002] In the upper control system SCADA (HMI), it is necessary to display the operation, readiness, fault and other status of the equipment. The existing system displays each status separately, and each device is set up separately, which results in a lot of repetitive work. A modular programming method is urgently needed to simplify the design and save design time.
[0003] At present, everyone's practice is to add multiple device pictures on the screen, each device picture is connected to related variables, corresponding to the corresponding status, each device needs to be added multiple times and connected to multiple variables, and the properties of each picture also need to be set multiple times, which is highly repetitive and labor-intensive. Summary of the invention
[0004] The purpose of the present invention is to provide a library file generation method and system for a gypsum board production line control system to solve the technical problems in the prior art that each device needs to add and connect variables multiple times, and the attributes of each picture also need to be set multiple times, which is highly repetitive and labor-intensive.
[0005] In order to solve the above technical problems, the present invention specifically provides the following technical solutions:
[0006] A method for generating a library file of a gypsum board production line control system comprises the following steps:
[0007] Step S1, analyzing the mapping relationship between a single demand and a single device that characterizes the user control habits in the gypsum board production line based on the historical control log, and constructing a self-organizing library file according to the integration requirements of the production project to be started based on the mapping relationship between the single demand and the single device, wherein the self-organizing library file is an executable library file integrated by multiple single devices that realize the integration requirements;
[0008] Step S2: The user customizes the working properties of multiple single devices in the self-organizing library file, so that the self-organizing library file is converted into a self-use library file that can be directly applied to the production project to be started;
[0009] Step S3, establishing a mapping relationship between the self-use library file and the production project to be started, and based on the mapping relationship between the self-use library file and the production project to be started, directly calling the self-use library file to control the gypsum board production line to execute the processing and production of the production project to be started.
[0010] As a preferred solution of the present invention, the mapping relationship between a single demand and a single device that characterizes the control habits of a user in a gypsum board production line is analyzed based on the historical control log, including:
[0011] The historical production projects in the historical control log and all the historical production equipment used for the historical production projects on the gypsum board production line are respectively subjected to demand disassembly and component disassembly. The demand disassembly is used to disassemble the entire integrated demand of the historical production project into multiple single demands, and the component disassembly is used to disassemble all the production equipment into multiple single equipment to correspond to the multiple single demands of the historical production project;
[0012] The single demand and the single device are constructed as a mapping tuple <single demand, single device>, and a mapping model representing the mapping relationship between the single demand and the single device is constructed based on the mapping tuple using a linear network. The function expression of the mapping model is:
[0013] F = line(M);
[0014] In the formula, F represents a single demand, M represents a single device, and line represents a linear network;
[0015] All mapping tuples <single demand, single device> are used as training samples, wherein the single demand is used as the output item of the mapping model, and the single device is used as the input item of the mapping model. The training samples are brought into the mapping model for model training to obtain the mapping relationship between the single demand and the single device.
[0016] As a preferred solution of the present invention, the self-organizing library file integrating multiple single devices is constructed according to the integration requirements of the production project to be started based on the mapping relationship between the single requirements and the single devices, including:
[0017] Integrate multiple single devices corresponding to the historical production project into an executable library file as a self-organizing library file of the historical production project;
[0018] Calculate the matching degree of the integration requirements of the production project to be started and the integration requirements of all historical production projects respectively, so as to obtain the highest matching degree between the production project to be started and the historical production projects, wherein the matching degree represents the consistency degree between the integration requirements of the production project to be started and the integration requirements of all historical production projects respectively;
[0019] A high matching threshold, a middle matching threshold and a low matching threshold are set, and the highest matching degree is compared with the high matching threshold, the middle matching threshold and the low matching threshold, wherein:
[0020] When the highest matching degree is higher than or equal to the high matching threshold, the self-organizing library file of the historical production project corresponding to the highest matching degree is used as the self-organizing library file of the production project to be started;
[0021] When the highest matching degree is lower than the high matching threshold and higher than or equal to the medium matching threshold, the single requirement item that is inconsistent between the integration requirement of the production project to be started and the integration requirement of the historical production project corresponding to the highest matching degree is obtained through a mapping model as a single equipment item as a replacement item, and the single equipment item corresponding to the inconsistent single requirement item in the self-organizing library file of the historical production project corresponding to the highest matching degree is replaced with the replacement item, and the obtained self-organizing library file is used as the self-organizing library file of the production project to be started;
[0022] When the highest matching degree is lower than the medium matching threshold and higher than or equal to the low matching threshold, the integrated requirements of the production project to be started are decomposed into multiple single requirements, and the multiple single requirements are used to obtain multiple single devices through a mapping model, and then the multiple single devices are integrated into an executable library file as a self-organizing library file for the production project to be started.
[0023] As a preferred solution of the present invention, the step of calculating the matching degree between the integration requirements of the production project to be started and the integration requirements of all historical production projects respectively includes:
[0024] Quantifying the requirement texts of the integration requirement of the production project to be started and the integration requirement of the historical production project into TF vectors, and measuring the Euclidean distance between the TF vectors of the integration requirement of the production project to be started and the integration requirement of the historical production project;
[0025] Based on the Euclidean distance of the TF vector, the matching degree of the integration requirements of the production project to be started and the integration requirements of all historical production projects is calculated respectively, and the calculation formula of the matching degree is:
[0026]
[0027] In the formula, p i It is characterized by the matching degree between the integration requirements of the production project to be started and the integration requirements of the i-th historical production project, B, A i They are respectively represented as the integrated demand of the production project to be started and the TF vector of the integrated demand of the i-th historical production project, i is a measurement constant with no substantial meaning, and T is the transposition symbol;
[0028] The maximum matching degree is screened out from the matching degrees of the integration requirements of the production project to be started and the integration requirements of all historical production projects to serve as the highest matching degree between the production project to be started and the historical production projects.
[0029] As a preferred solution of the present invention, the inconsistent single requirement items in the integration requirements of the to-be-started production project and the integration requirements of the historical production project corresponding to the highest matching degree are obtained through a mapping model as a single equipment item as a replacement item, including:
[0030] The demand text of the integrated demand of the production project to be started is divided into the demand texts of multiple single demands by using a word segmentation algorithm, and the demand text of the integrated demand of the historical production project is divided into the demand texts of multiple single demands by using a word segmentation algorithm;
[0031] Quantify the demand text of each single demand of the production project to be started and the demand text of each single demand of the historical production project into TF vectors in turn;
[0032] Based on the Euclidean distance of the TF vector, the single demand matching degree of the single demand of the production project to be started is calculated with the single demand of all historical production projects respectively. The calculation formula of the single demand matching degree is:
[0033]
[0034] In the formula, p j,k It is represented as the single demand matching degree between the jth single demand in the production project to be started and the kth single demand in the historical production project corresponding to the highest matching degree, b j 、a max,k They are respectively represented as the TF vectors of the jth single demand in the production project to be started and the kth single demand in the historical production project corresponding to the highest matching degree, j and k are measurement constants with no substantial meaning, and T is the transposition symbol;
[0035] The minimum single demand matching degree of the jth single demand in the production project to be started is screened out from the single demand matching degrees of all single demands in the historical production project corresponding to the jth single demand in the production project to be started and the highest matching degree, and the minimum single demand matching degree is compared with the high matching threshold, wherein,
[0036] When the minimum single demand matching degree is lower than the high matching threshold, the jth single demand in the production project to be started is determined as an inconsistent single demand item between the integrated demand of the production project to be started and the integrated demand of the historical production project corresponding to the highest matching degree;
[0037] When the minimum single demand matching degree is higher than or equal to the high matching threshold, the jth single demand in the production project to be started is determined to be a single demand item that is consistent between the integrated demand of the production project to be started and the integrated demand of the historical production project corresponding to the highest matching degree.
[0038] As a preferred solution of the present invention, the user customizes the working attributes of multiple single devices in the self-organizing library file, including:
[0039] According to the integration requirements of the production project to be started, dynamic attributes are added to a single device in the self-organizing library file to achieve dynamic attribute association between the device image and the device data bit;
[0040] The interface data is uniformly set for all single devices in the self-organizing library file to avoid duplication of settings for multiple states of each single device.
[0041] As a preferred solution of the present invention, the establishment of a mapping relationship between the self-use library file and the production project to be started includes:
[0042] The production project to be started and the self-use library file are constructed as a mapping tuple <production project to be started, self-use library file>, and the mapping tuple is encapsulated into a call database representing the mapping relationship between the self-use library file and the production project to be started.
[0043] As a preferred solution of the present invention, the method of directly calling the self-use library file based on the mapping relationship between the self-use library file and the production project to be started controls the gypsum board production line to execute the processing and production of the production project to be started, comprises:
[0044] The production project to be started submitted by the user is used as a search item, and a search is performed in the call database, wherein:
[0045] When the production project to be started is retrieved in the calling database, the self-use library corresponding to the production project to be started in the calling database is called;
[0046] When the production project to be started is not retrieved in the calling database, steps S1 and S2 are executed to obtain the self-use library file of the production project to be started.
[0047] As a preferred solution of the present invention, the present invention provides a generation system according to the library file generation method of the gypsum board production line control system, comprising:
[0048] A demand analysis unit, used for analyzing the mapping relationship between a single demand and a single device representing the user control habits in the gypsum board production line based on the historical control log, and building a self-organizing library file according to the integration requirements of the production project to be started based on the mapping relationship between the single demand and the single device;
[0049] A library file interaction unit, used for a user to customize the working properties of multiple single devices in a self-organizing library file, so that the self-organizing library file is converted into a self-use library file that can be directly applied to the production project to be started;
[0050] The execution application unit is used to establish a mapping relationship between the self-use library file and the production project to be started, and based on the mapping relationship between the self-use library file and the production project to be started, directly call the self-use library file to control the gypsum board production line to execute the processing and production of the production project to be started.
[0051] As a preferred solution of the present invention, the library file interaction unit is composed of an interaction panel to enable the user to manually set the operation on the interaction panel and feed back the setting result of the user on the interaction panel to the execution application unit.
[0052] Compared with the prior art, the present invention has the following beneficial effects:
[0053] The present invention analyzes the mapping relationship between a single demand and a single device that characterizes the user control habits in a gypsum board production line based on historical control logs, and constructs a self-organizing library file based on the mapping relationship between the single demand and the single device according to the integration requirements of the production project to be started. After the user's customized settings, a self-use library file that can be directly applied to the production project to be started is obtained. The module mode of the library file simplifies the tedious and repetitive work in the design process and reduces the workload. At the same time, the self-organizing library file of the production project to be started is constructed based on the self-organizing library file of the historical production project, which increases reusability and further reduces the workload. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.
[0055] Figure 1 A flow chart of a library file generation method provided by an embodiment of the present invention;
[0056] Figure 2 A structural block diagram of a generation system provided by an embodiment of the present invention;
[0057] Figure 3 A schematic diagram of a self-use library file provided in an embodiment of the present invention.
[0058] The numbers in the figure represent the following:
[0059] 1-Requirement analysis unit; 2-Library file interaction unit; 3-Execution application unit. DETAILED DESCRIPTION
[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] like Figure 1-3As shown, the present invention provides a library file generation method for a gypsum board production line control system, comprising the following steps:
[0062] Step S1, analyzing the mapping relationship between a single demand and a single device that characterizes the user control habits in the gypsum board production line based on the historical control log, and constructing a self-organizing library file according to the integration requirements of the production project to be started based on the mapping relationship between the single demand and the single device, the self-organizing library file is an executable library file integrated by multiple single devices that realize the integration requirements;
[0063] Each enterprise user may have his or her own production operation style when carrying out project production through the gypsum board production line to constitute the company's gypsum board product characteristics. Therefore, the control habits of enterprise users are identified and analyzed through historical control logs, and then the integration requirements of the production project to be started are analyzed based on the mapping relationship between the single requirement and the single device that characterizes the user's control habits. All equipment involved in the production project to be started are obtained, and these equipment are integrated and packaged in the same executable library file. The library file is directly presented to the user for the user to call to execute the production of the production project to be started. The user does not need to analyze the equipment required for the production project to be started, and search for the equipment that represents these equipment one by one in the control system, and add and connect multiple variables for the working properties of the equipment one by one, which is highly repetitive and labor-intensive.
[0064] This embodiment provides a method for constructing a self-organizing library file, which can realize automatic construction of an executable library file and apply it to a production project to be started. The specific steps are as follows:
[0065] Based on the historical control log, the mapping relationship between single demand and single equipment that represents the user's control habits in the gypsum board production line is analyzed, including:
[0066] Demand disassembly and component disassembly are performed on the historical production projects in the historical control log and all the historical production equipment used for the historical production projects on the gypsum board production line. Demand disassembly is used to disassemble the entire integrated demand of the historical production project into multiple single demands. Component disassembly is used to disassemble all the production equipment into multiple single equipment to correspond to the multiple single demands of the historical production project.
[0067] The single demand and the single device are constructed as a mapping tuple <single demand, single device>, and a mapping model that represents the mapping relationship between the single demand and the single device is constructed based on the mapping tuple using a linear network. The function expression of the mapping model is:
[0068] F = line(M);
[0069] In the formula, F represents a single demand, M represents a single device, and line represents a linear network;
[0070] All mapping tuples <single demand, single device> are used as training samples, where the single demand is the output item of the mapping model and the single device is the input item of the mapping model. The training samples are brought into the mapping model for model training to obtain the mapping relationship between the single demand and the single device.
[0071] For example, a historical production project is gypsum board assembly. The single requirements involved in this historical production project include: transmission, assembly, etc. Therefore, the single equipment corresponding to these single requirements include: conveyor belts and assembly machines, etc., which can form a mapping tuple <transmission, conveyor belt>, <assembly, assembly machine>, etc.
[0072] Based on the mapping relationship between single requirements and single equipment, a self-organizing library file integrating multiple single equipment is constructed according to the integration requirements of the production project to be started, including:
[0073] Integrate multiple single devices corresponding to historical production projects into an executable library file as a self-organizing library file of the historical production project. When gypsum board assembly is a historical production project, the self-organizing library file includes devices such as conveyor belts and assembly machines;
[0074] The integration requirements of the production project to be started are respectively matched with the integration requirements of all historical production projects to obtain the highest matching degree between the production project to be started and the historical production projects. The matching degree represents the consistency degree between the integration requirements of the production project to be started and the integration requirements of all historical production projects. Therefore, the highest matching degree corresponds to the highest consistency degree between the production project to be started and the historical production projects.
[0075] Set a high matching threshold, a middle matching threshold, and a low matching threshold, and compare the highest matching degree with the high matching threshold, the middle matching threshold, and the low matching threshold, where:
[0076] When the highest matching degree is higher than or equal to the high matching threshold, it indicates that the production project to be started corresponding to the highest matching degree can be regarded as completely consistent with the historical production project, and the self-organizing library file of the historical production project can be directly used as the self-organizing library file of the production project to be started, thereby enhancing the reusability of the self-organizing library file of the historical production project. Then, the self-organizing library file of the historical production project corresponding to the highest matching degree is used as the self-organizing library file of the production project to be started;
[0077] When the highest matching degree is lower than the high matching threshold and higher than or equal to the medium matching threshold, it indicates that the production project to be started corresponding to the highest matching degree is partially consistent with the historical production project, and partial replacement can be performed on the basis of the self-organizing library file of the historical production project to obtain the self-organizing library file of the production project to be started, so as to enhance the reusability of the self-organizing library file of the historical production project. Then, the single equipment item that is inconsistent in the integration requirements of the production project to be started and the integration requirements of the historical production project corresponding to the highest matching degree is obtained through a mapping model as a replacement item, and the single equipment item corresponding to the inconsistent single requirement item in the self-organizing library file of the historical production project corresponding to the highest matching degree is replaced with the replacement item, and the obtained self-organizing library file is used as the self-organizing library file of the production project to be started;
[0078] When the highest matching degree is lower than the medium matching threshold and higher than or equal to the low matching threshold, it indicates that the production project to be started corresponding to the highest matching degree is completely inconsistent with the historical production project. In this case, the integration requirements of the production project to be started are decomposed into multiple single requirements, and multiple single requirements are used to obtain multiple single devices through a mapping model. The multiple single devices are then integrated into an executable library file as a self-organizing library file for the production project to be started.
[0079] Calculate the matching degree between the integration requirements of the production project to be started and the integration requirements of all historical production projects, including:
[0080] Quantify the requirement texts of the integration requirements of the production project to be launched and the integration requirements of the historical production projects into TF vectors, and measure the Euclidean distance between the TF vectors of the integration requirements of the production project to be launched and the integration requirements of the historical production projects;
[0081] Based on the Euclidean distance of the TF vector, the matching degree of the integration requirements of the production project to be started and the integration requirements of all historical production projects is calculated. The matching degree calculation formula is:
[0082]
[0083] In the formula, p i It is characterized by the matching degree between the integration requirements of the production project to be started and the integration requirements of the i-th historical production project, B, A i They are respectively represented as the integrated demand of the production project to be started and the TF vector of the integrated demand of the i-th historical production project, i is a measurement constant with no substantial meaning, and T is the transposition symbol;
[0084] The maximum matching degree is screened out from the matching degrees of the integration requirements of the production project to be started and the integration requirements of all historical production projects to serve as the highest matching degree between the production project to be started and the historical production projects.
[0085] The inconsistent single requirement items in the integration requirements of the production project to be started and the integration requirements of the historical production project with the highest matching degree are mapped into single equipment items as replacement items through the mapping model, including:
[0086] The requirement text of the integrated requirement of the production project to be started is divided into the requirement texts of multiple single requirements by using a word segmentation algorithm, and the requirement text of the integrated requirement of the historical production project is divided into the requirement texts of multiple single requirements by using a word segmentation algorithm;
[0087] Quantify the demand text of each single demand of the production project to be started and the demand text of each single demand of the historical production project into TF vectors in turn;
[0088] Based on the Euclidean distance of the TF vector, the single demand matching degree of the single demand of the production project to be started is calculated with the single demand of all historical production projects. The calculation formula of the single demand matching degree is:
[0089]
[0090] In the formula, p j,k It is represented as the single demand matching degree between the jth single demand in the production project to be started and the kth single demand in the historical production project with the highest matching degree, b j 、a max,k They are respectively represented as the jth single demand in the production project to be started and the TF vector of the kth single demand in the historical production project corresponding to the highest matching degree. j and k are measurement constants with no substantial meaning, and T is the transposition symbol.
[0091] The minimum single demand matching degree of the jth single demand in the production project to be started is selected from the single demand matching degrees of all single demands in the historical production project corresponding to the jth single demand in the production project to be started and the minimum single demand matching degree is compared with the high matching threshold, wherein,
[0092] When the minimum single demand matching degree is lower than the high matching threshold, the jth single demand in the production project to be started is determined as the inconsistent single demand item in the integrated demand of the production project to be started and the integrated demand of the historical production project corresponding to the highest matching degree;
[0093] When the minimum single demand matching degree is higher than or equal to the high matching threshold, the jth single demand in the production project to be started is determined to be a single demand item that is consistent with the integrated demand of the production project to be started and the integrated demand of the historical production project corresponding to the highest matching degree.
[0094] For example, the production project to be started is gypsum board slicing, the single demand is transmission and slicing, and the single equipment is conveyor belt and slicer. If it is found through calculation that the historical project with the highest matching degree with gypsum board slicing is gypsum board assembly, then when calculating the inconsistent single demand items between the single demand for gypsum board slicing and the single demand for gypsum board assembly, the inconsistent single demand items are slicing and assembly. Then, the single equipment slicer corresponding to the slicing will replace the assembly machine in the self-organizing library file of the gypsum board assembly to obtain a new self-organizing library file, and the new self-organizing library file will be used as the self-organizing library file for gypsum board slicing.
[0095] Step S2: The user customizes the working properties of multiple single devices in the self-organizing library file, so that the self-organizing library file is converted into a self-use library file that can be directly applied to the production project to be started;
[0096] After completing the self-organizing library file, the user is also required to set the working properties of a single device, such as the speed and direction of the conveyor belt in gypsum board slicing, the slicing length and frequency of the slicer, and other device data, and adjust the position of the device image in the library file to control the operating logic of each device in the self-organizing library file. The conveyor belt is located in front of the slicer to transfer the gypsum board to the slicer for slicing operations. The specific steps for setting and associating such device data bits are as follows:
[0097] Users can customize the working properties of multiple single devices in the self-organizing library file, including:
[0098] According to the integration requirements of the production project to be started, dynamic attributes are added to a single device in the self-organizing library file to achieve dynamic attribute association between the device image and the device data bit;
[0099] The interface data is uniformly set for all single devices in the self-organizing library file to avoid duplication of settings for multiple states of each single device.
[0100] Step S3, establishing a mapping relationship between the self-use library file and the production project to be started, and based on the mapping relationship between the self-use library file and the production project to be started, directly calling the self-use library file to control the gypsum board production line to execute the processing and production of the production project to be started.
[0101] Establish the mapping relationship between the self-use library files and the production projects to be started, including:
[0102] The production project to be started and the self-use library file are constructed as a mapping tuple <production project to be started, self-use library file>, and the mapping tuple is encapsulated as a call database representing the mapping relationship between the self-use library file and the production project to be started.
[0103] Based on the mapping relationship between the self-use library file and the production project to be started, the self-use library file is directly called to control the gypsum board production line to execute the processing and production of the production project to be started, including:
[0104] The production project to be started submitted by the user is used as the search item, and the search is performed in the calling database, where:
[0105] When the production project to be started is retrieved in the calling database, the self-use library corresponding to the production project to be started in the calling database is called;
[0106] When the production project to be started is not retrieved in the calling database, steps S1 and S2 are executed to obtain the self-use library file of the production project to be started.
[0107] like Figure 2 As shown, based on the library file generation method of the gypsum board production line control system, the present invention provides a generation system, including:
[0108] The demand analysis unit 1 is used to analyze the mapping relationship between a single demand and a single device representing the user control habits in the gypsum board production line based on the historical control log, and to construct a self-organizing library file according to the integration requirements of the production project to be started based on the mapping relationship between the single demand and the single device;
[0109] The library file interaction unit 2 is used for the user to customize the working properties of multiple single devices in the self-organizing library file, so that the self-organizing library file is converted into a self-use library file that can be directly applied to the production project to be started;
[0110] The execution application unit 3 is used to establish a mapping relationship between the self-use library file and the production project to be started, and based on the mapping relationship between the self-use library file and the production project to be started, directly call the self-use library file to control the gypsum board production line to execute the processing and production of the production project to be started.
[0111] The library file interaction unit is composed of an interaction panel to enable the user to manually set operations on the interaction panel and to feed back the setting results of the user on the interaction panel to the execution application unit.
[0112] The present invention analyzes the mapping relationship between single demand and single device that characterizes the user control habits in the gypsum board production line based on historical control logs, and constructs a self-organizing library file based on the mapping relationship between the single demand and the single device according to the integration requirements of the production project to be started. After the user's customized settings, a self-use library file that can be directly applied to the production project to be started is obtained. The module mode of the library file simplifies the tedious and repetitive work in the design process and reduces the workload. At the same time, the self-organizing library file of the production project to be started is constructed based on the self-organizing library file of the historical production project, which increases reusability and further reduces the workload.
[0113] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.
Claims
1. A library file generation method for a gypsum board production line control system, characterized in that: The following steps are involved: Step S1, analyzing the mapping relationship between a single demand and a single device that characterizes the user control habits in the gypsum board production line based on the historical control log, and constructing a self-organizing library file according to the integration requirements of the production project to be started based on the mapping relationship between the single demand and the single device, wherein the self-organizing library file is an executable library file integrated by multiple single devices that realize the integration requirements; Step S2: The user customizes the working properties of multiple single devices in the self-organizing library file, so that the self-organizing library file is converted into a self-use library file that can be directly applied to the production project to be started; Step S3, establishing a mapping relationship between the self-use library file and the production project to be started, and directly calling the self-use library file based on the mapping relationship between the self-use library file and the production project to be started to control the gypsum board production line to execute the processing and production of the production project to be started; The self-organizing library file integrating multiple single devices is constructed based on the mapping relationship between the single demand and the single device according to the integration requirements of the production project to be started, including: Integrate multiple single devices corresponding to the historical production project into an executable library file as a self-organizing library file of the historical production project; Calculate the matching degree of the integration requirements of the production project to be started and the integration requirements of all historical production projects respectively, so as to obtain the highest matching degree between the production project to be started and the historical production projects, wherein the matching degree represents the consistency degree between the integration requirements of the production project to be started and the integration requirements of all historical production projects respectively; A high matching threshold, a middle matching threshold and a low matching threshold are set, and the highest matching degree is compared with the high matching threshold, the middle matching threshold and the low matching threshold, wherein: When the highest matching degree is higher than or equal to the high matching threshold, the self-organizing library file of the historical production project corresponding to the highest matching degree is used as the self-organizing library file of the production project to be started; When the highest matching degree is lower than the high matching threshold and higher than or equal to the medium matching threshold, the single requirement item that is inconsistent between the integration requirement of the production project to be started and the integration requirement of the historical production project corresponding to the highest matching degree is obtained through a mapping model as a single equipment item as a replacement item, and the single equipment item corresponding to the inconsistent single requirement item in the self-organizing library file of the historical production project corresponding to the highest matching degree is replaced with the replacement item, and the obtained self-organizing library file is used as the self-organizing library file of the production project to be started; When the highest matching degree is lower than the medium matching threshold and higher than or equal to the low matching threshold, the integrated requirements of the production project to be started are decomposed into multiple single requirements, and multiple single requirements are used to obtain multiple single devices through a mapping model, and then the multiple single devices are integrated into an executable library file as a self-organizing library file of the production project to be started; The inconsistent single requirement items in the integration requirements of the production project to be started and the integration requirements of the historical production project with the highest matching degree are mapped into single equipment items as replacement items through the mapping model, including: The requirement text of the integrated requirement of the production project to be started is divided into the requirement texts of multiple single requirements by using a word segmentation algorithm, and the requirement text of the integrated requirement of the historical production project is divided into the requirement texts of multiple single requirements by using a word segmentation algorithm; Quantify the demand text of each single demand of the production project to be started and the demand text of each single demand of the historical production project into TF vectors in turn; Based on the Euclidean distance of the TF vector, the single demand matching degree of the single demand of the production project to be started is calculated with the single demand of all historical production projects. The calculation formula of the single demand matching degree is: ; In the formula, It is represented as the single demand matching degree between the jth single demand in the production project to be started and the kth single demand in the historical production project with the highest matching degree. , They are respectively represented as the jth single demand in the production project to be started and the TF vector of the kth single demand in the historical production project with the highest matching degree. j and k are measurement constants with no substantial meaning, and T is the transposition symbol. The minimum single demand matching degree of the jth single demand in the production project to be started is selected from the single demand matching degrees of all single demands in the historical production project corresponding to the jth single demand in the production project to be started and the minimum single demand matching degree is compared with the high matching threshold, wherein, When the minimum single demand matching degree is lower than the high matching threshold, the jth single demand in the production project to be started is determined as the inconsistent single demand item in the integrated demand of the production project to be started and the integrated demand of the historical production project corresponding to the highest matching degree; When the minimum single demand matching degree is higher than or equal to the high matching threshold, the jth single demand in the production project to be started is determined to be a single demand item that is consistent with the integrated demand of the production project to be started and the integrated demand of the historical production project corresponding to the highest matching degree.
2. The method for generating a library file of a gypsum board production line control system according to claim 1, characterized in that: The mapping relationship between a single demand and a single device representing the control habits of a user in a gypsum board production line is analyzed based on the historical control log, including: The historical production projects in the historical control log and all the historical production equipment used for the historical production projects on the gypsum board production line are respectively subjected to demand disassembly and component disassembly. The demand disassembly is used to disassemble the entire integrated demand of the historical production project into multiple single demands, and the component disassembly is used to disassemble all the production equipment into multiple single equipment to correspond to the multiple single demands of the historical production project; The single demand and the single device are constructed as a mapping tuple <single demand, single device>, and a mapping model representing the mapping relationship between the single demand and the single device is constructed based on the mapping tuple using a linear network. The function expression of the mapping model is: ; In the formula, F represents a single demand, M represents a single device, and line represents a linear network; All mapping tuples <single demand, single device> are used as training samples, wherein the single demand is used as the output item of the mapping model, and the single device is used as the input item of the mapping model. The training samples are brought into the mapping model for model training to obtain the mapping relationship between the single demand and the single device.
3. The library file generation method of a gypsum board production line control system according to claim 2 is characterized in that: The step of calculating the matching degree between the integration requirements of the production project to be started and the integration requirements of all historical production projects includes: Quantifying the requirement texts of the integration requirement of the production project to be started and the integration requirement of the historical production project into TF vectors, and measuring the Euclidean distance between the TF vectors of the integration requirement of the production project to be started and the integration requirement of the historical production project; Based on the Euclidean distance of the TF vector, the matching degree of the integration requirements of the production project to be started and the integration requirements of all historical production projects is calculated respectively, and the calculation formula of the matching degree is: ; In the formula, It is characterized by the matching degree between the integration requirements of the production project to be started and the integration requirements of the i-th historical production project. , They are respectively represented as the integrated demand of the production project to be started and the TF vector of the integrated demand of the i-th historical production project, i is a measurement constant with no substantial meaning, and T is the transposition symbol; The maximum matching degree is screened out from the matching degrees of the integration requirements of the production project to be started and the integration requirements of all historical production projects to serve as the highest matching degree between the production project to be started and the historical production projects.
4. The method for generating a library file of a gypsum board production line control system according to claim 1, characterized in that: The user customizes the working attributes of multiple single devices in the self-organizing library file, including: According to the integration requirements of the production project to be started, dynamic attributes are added to a single device in the self-organizing library file to achieve dynamic attribute association between the device image and the device data bit; The interface data is uniformly set for all single devices in the self-organizing library file to avoid duplication of settings for multiple states of each single device.
5. The method for generating a library file of a gypsum board production line control system according to claim 4, characterized in that: The step of establishing a mapping relationship between the self-use library file and the production project to be started includes: The production project to be started and the self-use library file are constructed as a mapping tuple <production project to be started, self-use library file>, and the mapping tuple is encapsulated into a call database representing the mapping relationship between the self-use library file and the production project to be started.
6. The method for generating a library file of a gypsum board production line control system according to claim 5, characterized in that: The method of directly calling the self-use library file based on the mapping relationship between the self-use library file and the production project to be started to control the gypsum board production line to execute the processing and production of the production project to be started includes: Based on the production project to be started submitted by the user as the search item, a search is performed in the calling database, wherein: When the production project to be started is retrieved in the calling database, the self-use library corresponding to the production project to be started in the calling database is called; When the production project to be started is not retrieved in the calling database, steps S1 and S2 are executed to obtain the self-use library file of the production project to be started.
7. A system for generating a library file of a gypsum board production line control system according to any one of claims 1 to 6, characterized in that: include: A demand analysis unit, used for analyzing the mapping relationship between a single demand and a single device representing the user control habits in the gypsum board production line based on the historical control log, and building a self-organizing library file according to the integration requirements of the production project to be started based on the mapping relationship between the single demand and the single device; A library file interaction unit, used for a user to customize the working properties of multiple single devices in a self-organizing library file, so that the self-organizing library file is converted into a self-use library file that can be directly applied to the production project to be started; The execution application unit is used to establish a mapping relationship between the self-use library file and the production project to be started, and based on the mapping relationship between the self-use library file and the production project to be started, directly call the self-use library file to control the gypsum board production line to execute the processing and production of the production project to be started.
8. A generation system according to claim 7, characterized in that: The library file interaction unit is composed of an interaction panel to enable the user to manually set the operation on the interaction panel and to feed back the setting result of the user on the interaction panel to the execution application unit.
