Production line control system, method and electronic equipment for smart factory

Through the intelligent factory production line control system, the process node library and target controller are used to solve the problem of low configuration efficiency after production line transformation, the plug-and-play production line and the reuse of production line controllers is realized, and the production efficiency of smart factories is improved.

CN119758935APending Publication Date: 2025-04-04HIMIT (SHENZHEN) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510037213.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-09
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

After the production line is renovated, the configuration efficiency of the smart factory is low, resulting in a shortening of the production line operation time and affecting the overall production efficiency.

Method used

Design a production line control system for smart factories, including configuration center, access module, selection module and target controller. The node requirements of the process node are stored through the process node library, the access module obtains the process parameters of the production line node, selects the module to determine the production line requirements, and selects the target controller that meets the demand from the preset production line controller to build a software environment that meets the production line needs.

Benefits of technology

The plug-and-play production line and the reuse of production line controllers is realized, reducing the need for manual reconfiguration, improving the configuration efficiency of the production line, and thus improving the overall production efficiency of the smart factory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119758935A_ABST
    Figure CN119758935A_ABST
Patent Text Reader

Abstract

The present application relates to the field of smart factory technology, and discloses a production line control system, method and electronic device for smart factories. The application stores node requirements corresponding to different node parameters of process nodes through a configuration center. When the server is connected to the target production line, the production line requirements corresponding to the target production line are determined from the process node library according to the process parameters corresponding to the production line nodes in the target production line, and the target controller that meets the production line requirements is determined from the preset production line controller according to the production line requirements, so as to build a software environment that meets the production line requirements through the target controller, and control the production line nodes to execute the production process according to the process parameters based on the software environment, which not only realizes the plug-and-play of the target production line, but also realizes the reuse of the production line controller, so that the modified production line does not need to be manually reconfigured, which improves the configuration efficiency of the production line, and thus improves the production efficiency of the smart factory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart factories, and in particular to a production line control system, method and electronic equipment for smart factories. Background Art

[0002] With the rapid development of science and technology and the rise of intelligent manufacturing, smart factories have not only significantly improved product quality, but also greatly reduced production costs by introducing automated, intelligent and efficient production methods, injecting new vitality into industrial production and becoming a trend in modern industrial production. With the continuous changes in market demand and the continuous advancement of technology, in order to improve production efficiency, optimize resource allocation and reduce costs, factories need to shut down production lines and make corresponding modifications, for example, by introducing more advanced production equipment to improve production efficiency and product quality, by optimizing production processes to reduce waste and bottlenecks in production links, and by changing product transportation lines to adapt to the production needs of different products.

[0003] However, after the production line is transformed, it needs to be reconfigured, which not only involves the installation and debugging of the controller, but also includes key steps such as code development and version updates at the software level. The configuration process often takes a lot of time and effort, resulting in low production line configuration efficiency, which directly affects the operating time of the production line and thus reduces the production efficiency of the smart factory. Summary of the invention

[0004] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical elements or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0005] In view of the above-mentioned shortcomings of the prior art, the present application discloses a production line control system, method and electronic equipment for a smart factory to improve the configuration efficiency of the production line.

[0006] The present application discloses a production line control system for a smart factory, which is applied to a server side. The production line control system for a smart factory includes: a configuration center, which is provided with a process node library, and the process node library is used to store node requirements corresponding to process nodes at different node parameters; an access module, connected to a target production line, wherein the target production line is composed of production line nodes, and the production line nodes include at least a part of process nodes; the access module is configured to obtain the process parameters corresponding to the production line nodes; a selection module, which is configured to use the process node library to determine the production line requirements corresponding to the target production line according to the matching results between the process parameters and the node parameters, and determine the target controller that meets the production line requirements from the preset production line controllers according to the production line requirements; the target controller is configured to build a software environment that meets the production line requirements, so as to control the production line nodes to execute the production process according to the process parameters based on the software environment.

[0007] In one embodiment of the present application, the access module obtains the process parameters corresponding to the production line node in the following manner: in response to the server side connecting to the target production line, obtaining a network address table corresponding to the target production line, wherein the network address table includes a node network address corresponding to the production line node; performing a connectivity test and a security test on the target production line according to the network address table; if the target production line passes the connectivity test and the security test, data is collected on the production line node through the node network address to obtain the process parameters; if the target production line fails the connectivity test or the security test, disconnecting the connection between the server side and the target production line.

[0008] In one embodiment of the present application, the access module collects data from the production line node through the node network address to obtain process parameters in the following manner: obtaining the parameter structure to be collected corresponding to the production line node; establishing a form to be filled in according to the parameter structure to be collected, so as to receive user input data corresponding to the parameter structure to be collected through the form to be filled in; if the user input data includes fixed parameters, the fixed parameters are added to the process parameters; if the user input data includes interface call parameters, a call request is established according to the interface call parameters, and the interface call request is used to perform an interface call on the production line node according to the node network address, and the interface feedback data fed back by the production line node is added to the process parameters.

[0009] In one embodiment of the present application, the selection module uses the process node library to determine the production line demand corresponding to the target production line according to the matching result between the process parameters and the node parameters in the following manner: determining the target demand corresponding to the process node from the node requirements of the process node library according to the matching result between the process parameters and the node parameters; if the number of the process nodes is one, determining the target demand corresponding to the process node as the production line demand; if the number of the process nodes is multiple, comparing the target demands between different production line nodes to obtain a demand comparison result, and determining the production line demand from each target demand according to the demand comparison result, wherein the production line demand simultaneously satisfies the target demands corresponding to each of the production line nodes.

[0010] In one embodiment of the present application, the selection module determines a target controller that meets the production line requirements from the production line controller according to the production line requirements in the following manner: determining an alternative controller that meets the production line control requirements from the production line controller; if the number of the alternative controllers is one, determining the alternative controller as the target controller; if the number of the alternative controllers is multiple, calculating according to the controller parameters corresponding to each of the alternative controllers to obtain the capability scores corresponding to each of the alternative controllers, and determining the alternative controller with the lowest capability score as the target controller.

[0011] In one embodiment of the present application, the selection module calculates according to the controller parameters corresponding to each of the alternative controllers in the following manner to obtain a capability score corresponding to each of the alternative controllers: the controller parameters include index parameters corresponding to multiple controller indexes, wherein there is a correlation between the controller index and the production line demand; taking any controller index as the current index, determining a parameter upper limit value and a parameter lower limit value from each index parameter corresponding to the current index; calculating according to the parameter upper limit value and the parameter lower limit value to obtain an index reference value, and calculating the index parameters corresponding to the current index of any alternative controller according to the parameter lower limit value to obtain an actual value of the index corresponding to the current index of the alternative controller, so as to determine the index score of the alternative controller corresponding to the current index according to the index actual value and the index reference value; calculating according to the index score corresponding to each of the controller indexes of any alternative controller to obtain a capability score corresponding to the alternative controller.

[0012] In one embodiment of the present application, the target controller controls the production line node to execute the production process according to the process parameters in the following manner: the production line node is composed of process equipment; the equipment control protocol corresponding to the process equipment is obtained to establish a communication middleware according to the equipment control protocol; the process parameters corresponding to the production line node are parsed to extract the control parameters corresponding to the process equipment; the communication middleware generates a device control instruction with the control parameters according to the equipment control protocol, and sends the device control instruction to the process equipment.

[0013] In one embodiment of the present application, the production line control system for a smart factory also includes: the target controller is configured to collect execution parameters corresponding to the target production line when the target production line executes a production process, and send the process parameters and the execution parameters to the environment controller; the environment controller is configured to obtain a production environment model corresponding to the production line environment if the production line requirements include environmental requirements, wherein the production environment is provided with a target production line and an environmental adjustment device, and the production environment model is obtained by three-dimensional modeling of the production line environment; the process parameters and the execution parameters are passed into the production environment model to generate current environmental data; the current environmental data is input into a preset environmental prediction model to obtain an environmental prediction result, wherein the environmental prediction model is obtained through model training; the environmental requirements in the production line requirements are compared according to the model prediction results to generate environmental adjustment instructions corresponding to the environmental adjustment device according to the comparison results, wherein the environmental adjustment instructions are used to control the environmental adjustment device to perform environmental adjustment on the production line environment to meet the environmental requirements.

[0014] The present application discloses a production line control method for a smart factory, which is applied to a server side. The production line control method for a smart factory includes: pre-setting a process node library, wherein the process node library is used to store node requirements corresponding to process nodes at different node parameters; connecting to a target production line through a server side, and obtaining process parameters corresponding to production line nodes, wherein the target production line is composed of production line nodes, and the production line nodes include at least a part of process nodes; using the process node library to determine the production line requirements corresponding to the target production line according to the matching results between the process parameters and the node parameters, and determining a target controller that meets the production line requirements from preset production line controllers according to the production line requirements; constructing a software environment that meets the production line requirements through the target controller, so as to control the production line nodes to execute the production process according to the process parameters based on the software environment.

[0015] The present application discloses an electronic device, comprising: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the above method.

[0016] Beneficial effects of this application: By configuring the center to store the node requirements corresponding to different node parameters of the process nodes, when the server is connected to the target production line, the production line requirements corresponding to the target production line are determined from the process node library according to the process parameters corresponding to the production line nodes in the target production line, and the target controller that meets the production line requirements is determined from the preset production line controller according to the production line requirements, so as to build a software environment that meets the production line requirements through the target controller, and control the production line nodes to execute the production process according to the process parameters based on the software environment. In this way, the production line requirements of the target production line are determined through the pre-set process node library, and the target production line is controlled by the target controller that meets the production line requirements. This not only realizes the plug-and-play of the target production line, but also realizes the reuse of the production line controller, so that the modified production line does not need to be manually reconfigured, which improves the configuration efficiency of the production line, and then improves the production efficiency of the smart factory. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a structural diagram of a production line control system for a smart factory in an embodiment of the present application; Figure 2 It is a structural diagram of another production line control system for a smart factory in an embodiment of the present application; Figure 3 It is a schematic diagram of a process parameter collection process in an embodiment of the present application; Figure 4 is a schematic diagram of the structure of a target controller in an embodiment of the present application; Figure 5 It is a flow chart of an environmental adjustment method based on environmental requirements in an embodiment of the present application; Figure 6 It is a structural diagram of a system structure corresponding to a production line control system for a smart factory in an embodiment of the present application; Figure 7 It is a flowchart of a production line control method for a smart factory in an embodiment of the present invention; Figure 8 It is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0018] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and sub-samples in the embodiments can be combined with each other without conflict.

[0019] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0020] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0021] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0022] Unless otherwise stated, the term "plurality" means two or more.

[0023] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0024] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0025] Combination Figure 1 As shown, an embodiment of the present disclosure provides a production line control system for a smart factory, which is applied to a server side. The production line control system for a smart factory includes a configuration center 101, an access module 102, a selection module 103 and a target controller 104.

[0026] The configuration center 101 is provided with a process node library, and the process node library is used to store node requirements corresponding to different node parameters of process nodes.

[0027] The access module 102 is connected to a target production line, wherein the target production line is composed of production line nodes, and the production line nodes include at least a portion of process nodes.

[0028] The access module 102 is configured to obtain process parameters corresponding to the production line nodes.

[0029] The selection module 103 is configured to use the process node library to determine the production line requirements corresponding to the target production line according to the matching results between the process parameters and the node parameters, and determine the target controller that meets the production line requirements from the preset production line controllers according to the production line requirements.

[0030] The target controller 104 is configured to construct a software environment that meets the requirements of the production line, so as to control the production line nodes to execute the production process according to the process parameters based on the software environment.

[0031] The production line control system for a smart factory provided by the embodiment of the present disclosure is adopted. The node requirements corresponding to different node parameters of the process nodes are stored in the configuration center. When the server is connected to the target production line, the production line requirements corresponding to the target production line are determined from the process node library according to the process parameters corresponding to the production line nodes in the target production line, and the target controller that meets the production line requirements is determined from the preset production line controller according to the production line requirements, so as to build a software environment that meets the production line requirements through the target controller, and control the production line nodes to execute the production process according to the process parameters based on the software environment. In this way, the production line requirements of the target production line are determined through the pre-set process node library, and the target production line is controlled through the target controller that meets the production line requirements. This not only realizes the plug-and-play of the target production line, but also realizes the reuse of the production line controller, so that the modified production line does not need to be manually reconfigured, which improves the configuration efficiency of the production line, and thus improves the production efficiency of the smart factory.

[0032] Combination Figure 2 As shown, an embodiment of the present disclosure provides a production line control system for a smart factory, which is applied to a server side. The production line control system for a smart factory includes a configuration center 101, an access module 102, a selection module 103, a production line controller 105, and an environment controller 106.

[0033] The configuration center 101 is provided with a process node library, and the process node library is used to store node requirements corresponding to different node parameters of process nodes.

[0034] In some embodiments, the process node library is displayed to the user through a preset node display page; the user modifies the process nodes, node parameters, node requirements, etc. through the node display page.

[0035] In some embodiments, a process node is composed of one or more process equipment to implement a step in the process flow. For example, in the field of automobile production, the painting process is an important step in vehicle manufacturing. The process node corresponding to the painting process is composed of multiple process equipment such as electrophoretic coating equipment, mid-coat coating equipment, and topcoat coating equipment. Through the joint cooperation of these process equipment, the painting process of the automobile body is realized.

[0036] In some embodiments, the node parameters corresponding to the process node include equipment parameters and / or control parameters, wherein the equipment parameters include one or more of the equipment model, equipment system version, equipment firmware version, equipment control protocol, etc. of the process equipment, and the control parameters include one or more of the equipment status, starting method, motor speed, transportation direction, etc. of the process equipment.

[0037] In some embodiments, the node requirements corresponding to the process node include at least one of software requirements, hardware requirements and environmental requirements, wherein the software requirements include one or more of the controller computing power in the target controller, the built-in system environment, the built-in management tools, the software version corresponding to the management tools, etc., the hardware requirements include one or more of the number of controllers, the controller model, the interface type, the number of interfaces, etc. of the target controller, and the environmental requirements include ambient temperature, ambient humidity, light intensity, specific gas concentration, etc.

[0038] The access module 102 is connected to a target production line, wherein the target production line is composed of production line nodes, and the production line nodes include at least a portion of process nodes.

[0039] The access module 102 is configured to obtain process parameters corresponding to the production line nodes.

[0040] Optionally, the access module obtains the process parameters corresponding to the production line nodes in the following manner: in response to the server side connecting to the target production line, obtaining a network address table corresponding to the target production line, wherein the network address table includes a node network address corresponding to the production line node; performing a connectivity test and a security test on the target production line according to the network address table; if the target production line passes the connectivity test and the security test, data is collected on the production line node through the node network address to obtain the process parameters; if the target production line fails the connectivity test or the security test, the connection between the server side and the target production line is disconnected.

[0041] In some embodiments, whether it is a newly established production line or a modified production line, the process parameters corresponding to its production line nodes are managed through an access module; the process parameters corresponding to the target production line are displayed to the user through a preset production line display page; the user can modify the process parameters through the production line display page; if the user confirms the process parameters, the target controller is assigned to the target production line.

[0042] In some embodiments, connectivity testing is used to verify the connection status between network nodes to ensure that data between the server and the target production line can be transmitted correctly. For example, according to the network address table, the node network address corresponding to the production line node is used as the target address of the ping command, and the number of data packets, timeout time and other test parameters are set. The ping command is run on the server side, and the ICMP (Internet Control Message Protocol) echo request responded by the production line node is received to determine whether the network connection between the production line node and the server is smooth.

[0043] In some embodiments, the security test evaluates the network security protection capabilities of the target production line and whether it is an authorized production line. For example, a security test request is sent to a production line node in the target production line, triggering the production line node to feedback a security certificate. By verifying the security certificate, it is determined whether the production line node is an authorized node, thereby determining the security of the target production line.

[0044] Optionally, the access module collects data from the production line nodes through the node network address to obtain process parameters in the following manner: obtaining the parameter structure to be collected corresponding to the production line node; establishing a form to be filled in according to the parameter structure to be collected, so as to receive user input data corresponding to the parameter structure to be collected through the form to be filled in; if the user input data includes fixed parameters, the fixed parameters are added to the process parameters; if the user input data includes interface call parameters, a call request is established according to the interface call parameters, and the interface call request is used to make an interface call to the production line node according to the node network address, and the interface feedback data fed back by the production line node is added to the process parameters.

[0045] Combination Figure 3As shown, the parameter structure to be collected includes the correspondence between parameter type, parameter name and parameter value, wherein the parameter type includes a fixed type and an interface call type; the access module receives the user input data through the form to be filled in; if the user input data is a fixed parameter corresponding to the fixed type, the fixed parameter and the corresponding parameter name are stored as process parameters in the form of a key-value pair, wherein the fixed parameters include equipment model, equipment type, etc.; if the user input data is an interface call parameter corresponding to the interface call type, the interface call parameter is required to establish a call request to dynamically obtain the interface feedback data by calling the interface of the production line node, and store the interface feedback data and the corresponding parameter name as process parameters in the form of a key-value pair, wherein the interface feedback data includes the equipment firmware version, sensor data, etc.

[0046] The selection module 103 is configured to use the process node library to determine the production line requirements corresponding to the target production line according to the matching results between the process parameters and the node parameters, and determine the target controller that meets the production line requirements from the preset production line controllers according to the production line requirements.

[0047] Optionally, the selection module uses the process node library to determine the production line demand corresponding to the target production line according to the matching result between the process parameters and the node parameters in the following manner: determine the target demand corresponding to the process node from the node requirements of the process node library according to the matching result between the process parameters and the node parameters; if the number of process nodes is one, determine the target demand corresponding to the process node as the production line demand; if the number of process nodes is multiple, compare the target demands between different production line nodes to obtain the demand comparison result, and determine the production line demand from each target demand according to the demand comparison result, wherein the production line demand simultaneously satisfies the target demand corresponding to each production line node.

[0048] In some embodiments, if there are multiple process nodes, the highest demand among the target demands is used as the production line demand. For example, the process nodes include process node A and process node B, the target demand for process node A includes that the controller memory of the target controller is at least 8GB, and the target demand for process node B includes that the controller memory of the target controller is at least 4GB. Then the production line demand includes that the controller memory of the target controller is at least 8GB to meet the target demands of process node A and process node B at the same time.

[0049] Optionally, the selection module determines a target controller that meets the production line requirements from the production line controllers according to the production line requirements in the following manner: determining an alternative controller that meets the production line control requirements from the production line controllers; if the number of alternative controllers is one, determining the alternative controller as the target controller; if the number of alternative controllers is multiple, calculating according to the controller parameters corresponding to each alternative controller, obtaining the capability scores corresponding to each alternative controller, and determining the alternative controller with the lowest capability score as the target controller.

[0050] In some embodiments, if there are multiple alternative controllers, since each alternative controller meets the production line requirements, a controller with a lower capability score is selected from the alternative controllers as the target controller. This not only improves the cost-effectiveness of the controller in managing the production line, but also avoids the situation where the production line connected later cannot select a suitable target controller due to overly high production line requirements, thereby maximizing the controller reuse effect.

[0051] Optionally, the selection module calculates according to the controller parameters corresponding to each alternative controller in the following manner to obtain the capability score corresponding to each alternative controller: the controller parameters include index parameters corresponding to multiple controller indices, wherein there is a correlation between the controller index and the production line demand; taking any controller index as the current index, and determining the parameter upper limit value and the parameter lower limit value from the index parameters corresponding to the current index; calculating according to the parameter upper limit value and the parameter lower limit value to obtain the index reference value, and calculating the index parameters corresponding to the current index of any alternative controller according to the parameter lower limit value to obtain the actual value of the index corresponding to the current index of the alternative controller, so as to determine the index score corresponding to the current index of the alternative controller according to the index actual value and the index reference value; calculating according to the index score corresponding to each controller index of any alternative controller to obtain the capability score corresponding to the alternative controller.

[0052] In some embodiments, controller indicators include controller computing power, built-in system version date, firmware version date, number of controller interfaces, etc.

[0053] In some embodiments, the indicator score of the current controller corresponding to the current indicator is determined by the following formula: Formula (1) In formula (1), the current indicator is The controller index of the order. The current controller is Alternative controllers in order, is the indicator score of the current controller corresponding to the current indicator, is the parameter index corresponding to the current index of the current controller, is the lower limit of the parameter corresponding to the current indicator, It is the upper limit value of the parameter corresponding to the current indicator.

[0054] In some embodiments, the candidate controllers include controller A, controller B, and controller C, and the current indicator is the number of controller interfaces, where the number of controller interfaces of controller A is 16, the number of controller interfaces of controller B is 8, and the number of controller interfaces of controller C is 32; according to the number of controllers, the upper limit value of the parameter is determined to be 32, and the lower limit value of the parameter is 8, then the reference value of the indicator is determined according to the upper limit value and the lower limit value of the parameter At the same time, according to the lower limit of the parameter, the controller A, controller B and controller C are calculated respectively, and the actual value of the indicator corresponding to controller A is , the actual value of the indicator corresponding to controller B is , the actual value of the indicator corresponding to controller C is ; According to the reference value and actual value of the indicator, the indicator score of controller A in the number of controller interfaces is The controller B scores in the number of controller interfaces. The controller C scores in the number of controller interfaces. point.

[0055] Optionally, the selection module is configured to reconfigure the target controller corresponding to the target production line as a production line controller if the target production line is in an offline state.

[0056] In some embodiments, if the target production line is offline, it means that the target production line has been dismantled or is under renovation. In this case, the target controller corresponding to the target production line is reconfigured as a production line controller for use by the newly connected target production line, thereby realizing the automatic reuse of the production line controller, which not only improves the efficiency of controller use but also reduces the cost of the controller.

[0057] The production line controller 105 includes target controllers 104 corresponding to each target production line.

[0058] The target controller 104 is configured to construct a software environment that meets the requirements of the production line, so as to control the production line nodes to execute the production process according to the process parameters based on the software environment.

[0059] Optionally, the target controller controls the production line nodes to execute the production process according to the process parameters in the following manner: the production line nodes are composed of process equipment; the equipment control protocol corresponding to the process equipment is obtained to establish a communication middleware according to the equipment control protocol; the process parameters corresponding to the production line nodes are parsed to extract the control parameters corresponding to the process equipment; the equipment control instructions with control parameters are generated through the communication middleware according to the equipment control protocol, and the equipment control instructions are sent to the process equipment.

[0060] Combination Figure 4 As shown, since the equipment control protocols between different process equipment are different, the equipment communication middleware is installed in the target controller according to the equipment control protocol, and the process parameters corresponding to the production line nodes are parsed to extract the control parameters corresponding to each process equipment, and the control parameters are sent to the corresponding communication middleware, so that the equipment control instructions are generated by the communication middleware in the format of the equipment control protocol to realize the control of the process equipment.

[0061] Optionally, the target controller is configured to collect execution parameters corresponding to the target production line when the target production line executes the production process, and send the process parameters and execution parameters to the environment controller.

[0062] Optionally, the target controller is configured to update the software environment if the target production line is in a production suspension state.

[0063] In some embodiments, if the target production line is in a production suspension state, it is considered that the target production line does not need to be modified, but the production process is re-executed within a preset time period. Therefore, the target production line does not need to replace the target controller, but only needs to update the software environment in the target controller.

[0064] The environmental controller 106 is configured to obtain a production environment model corresponding to the production line environment if the production line requirements include environmental requirements, wherein the production environment is provided with a target production line and environmental adjustment equipment, and the production environment model is obtained by three-dimensional modeling of the production line environment; pass process parameters and execution parameters into the production environment model to generate current environmental data; input the current environmental data into a preset environmental prediction model to obtain an environmental prediction result, wherein the environmental prediction model is obtained through model training; compare the environmental requirements in the production line requirements according to the model prediction results, and generate environmental adjustment instructions corresponding to the environmental adjustment equipment according to the comparison results, wherein the environmental adjustment instructions are used to control the environmental adjustment equipment to perform environmental adjustment on the production line environment to meet the environmental requirements.

[0065] Combination Figure 5 As shown, the embodiment of the present disclosure provides an environment adjustment method based on environmental requirements, including: Step S501, if the production line node executes the production process according to the process parameters, the target controller collects the execution parameters of the target production line; Step S502, the target controller sends process parameters and execution parameters to the environment controller; Step S503, the user terminal constructs a production environment model using 3D modeling software according to the actual layout and equipment configuration of the production line environment; Step S504, the user terminal sends the production environment model to the environment controller; Step S505, the environment controller transfers the process parameters and execution parameters to the production environment model to generate current environment data; Step S506, the environment controller inputs the current environment data into a preset environment prediction model to obtain an environment prediction result; wherein, an environmental parameter sequence is obtained, and training samples and their corresponding sample labels are extracted from the environmental parameter sequence, so as to perform model training through the training samples with the sample labels to obtain an environmental prediction model, wherein the environmental parameter sequence includes a plurality of time nodes arranged in chronological order, and the time nodes store a production environment model with process parameters, execution parameters and environmental parameters; Step S507, the environment controller compares the environment requirements in the production line requirements according to the model prediction results, so as to generate an environment adjustment instruction corresponding to the environment adjustment device according to the comparison results; Among them, environmental requirements include ambient temperature, ambient humidity, light intensity, specific gas concentration, etc.; Step S508, the environment controller sends an environment adjustment instruction to the environment adjustment device; Step S509, the environment adjustment device executes the environment adjustment instruction; Among them, the environmental conditioning equipment includes one or more of air conditioners, humidifiers, dehumidifiers, dust collectors, etc.

[0066] Combination Figure 6 As shown, an embodiment of the present disclosure provides a system architecture corresponding to a production line control system for a smart factory, including a server side and a user side, wherein the server side includes a configuration center 101, an access module 102, a selection module 103, a production line controller 105, and an environment controller 106, and the user side includes a target production line 107 and an environment adjustment device 108.

[0067] The production line control system for a smart factory provided by the embodiment of the present disclosure is adopted. By configuring the center to store the node requirements corresponding to different node parameters of the process nodes, when the server is connected to the target production line, the production line requirements corresponding to the target production line are determined from the process node library according to the process parameters corresponding to the production line nodes in the target production line, and the target controller that meets the production line requirements is determined from the preset production line controller according to the production line requirements, so as to build a software environment that meets the production line requirements through the target controller, and control the production line nodes to execute the production process according to the process parameters based on the software environment, which has the following advantages: First, the production line requirements of the target production line are determined through the pre-set process node library, and then the target production line is controlled by the target controller that meets the production line requirements. This not only realizes the plug-and-play of the target production line, but also realizes the reuse of the production line controller, so that there is no need to manually reconfigure the transformed production line, which improves the configuration efficiency of the production line and thus improves the production efficiency of the smart factory; Second, in the process of data collection of production line nodes, different collection strategies are executed through the identified fixed parameters and interface call parameters, thereby realizing automated collection; Third, when there are multiple candidate controllers, the capability scores of the candidate controllers are calculated based on the controller parameters corresponding to the candidate controllers, and the candidate controller with the lowest capability score is determined as the target controller. Since each candidate controller has met the production line requirements, the controller with the lowest capability score is selected from the candidate controllers as the target controller, which not only improves the cost-effectiveness of the controller in managing the production line, but also avoids the subsequent production line from being unable to select a suitable target controller due to the high production line requirements, thereby maximizing the controller reuse effect. Fourth, establish communication middleware for each process equipment according to the equipment management protocol, so that the process parameters can be circulated in the target controller in a unified format, reducing code development, and when controlling the process equipment, send equipment control instructions in the format of the equipment control protocol to achieve control of the process equipment; Fifth, the process parameters of the target production line are controlled through the target controller, and the production environment of the target production line is uniformly controlled through the environmental controller, the production line environment is automatically adjusted, and the automation and integration of the target production line management are realized, thereby improving production efficiency and product quality.

[0068] Combination Figure 7 As shown, the embodiment of the present disclosure provides a production line control method for a smart factory, which is applied to a server side. The production line control method for a smart factory includes: Step S701, pre-setting a process node library; Among them, the process node library is used to store the node requirements corresponding to different node parameters of the process nodes; Step S702, connecting to the target production line through the server, and obtaining the process parameters corresponding to the production line nodes; Wherein, the target production line is composed of production line nodes, and the production line nodes include at least a part of process nodes; Step S703, using the process node library to determine the production line requirements corresponding to the target production line according to the matching results between the process parameters and the node parameters, and determining the target controller that meets the production line requirements from the preset production line controllers according to the production line requirements; Step S704, constructing a software environment that meets the production line requirements through the target controller, so as to control the production line nodes to execute the production process according to the process parameters based on the software environment.

[0069] The production line control method for a smart factory provided by the embodiment of the present disclosure is adopted. The node requirements corresponding to different node parameters of the process nodes are stored in the configuration center. When the server is connected to the target production line, the production line requirements corresponding to the target production line are determined from the process node library according to the process parameters corresponding to the production line nodes in the target production line, and the target controller that meets the production line requirements is determined from the preset production line controller according to the production line requirements, so as to build a software environment that meets the production line requirements through the target controller, and control the production line nodes to execute the production process according to the process parameters based on the software environment. In this way, the production line requirements of the target production line are determined through the pre-set process node library, and the target production line is controlled through the target controller that meets the production line requirements. This not only realizes the plug-and-play of the target production line, but also realizes the reuse of the production line controller, so that the modified production line does not need to be manually reconfigured, which improves the configuration efficiency of the production line, and thus improves the production efficiency of the smart factory.

[0070] An embodiment of the present disclosure further provides an electronic device, including: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the above method.

[0071] Figure 8 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 8 The computer system 800 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0072] like Figure 8 As shown, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 802 or the program loaded from the storage part 808 to the random access memory (RAM) 803, such as executing the method in the above embodiment. Various programs and data required for system operation are also stored in the random access memory 803. The central processing unit 801, the read-only memory 802 and the random access memory 803 are connected to each other through a bus 804. The input / output (I / O) interface 805 is also connected to the bus 804.

[0073] The following components are connected to the input / output interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the input / output interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed so that a computer program read therefrom is installed into the storage section 808 as needed.

[0074] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 809, and / or installed from a removable medium 811. When the computer program is executed by a central processing unit (CPU) 801, various functions defined in the system of the present application are executed.

[0075] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operations may vary. Parts and sub-samples of some embodiments may be included in or replace parts and sub-samples of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated sub-samples, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other sub-samples, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method or device including the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0076] Those skilled 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 may depend on the specific application and design constraints of the technical solution. Technicians 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 the embodiments of the present disclosure. Technicians can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0077] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some sub-samples can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0078] The flowchart and block diagram in the accompanying drawings show the possible architecture, functions and operations of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A production line control system for a smart factory, characterized in that: Applied to the server side, the production line control system for the smart factory includes: The configuration center is provided with a process node library, and the process node library is used to store node requirements corresponding to different node parameters of the process nodes; An access module connected to a target production line, wherein the target production line is composed of production line nodes, and the production line nodes include at least a portion of process nodes; the access module is configured to obtain process parameters corresponding to the production line nodes; A selection module is configured to determine a production line requirement corresponding to the target production line according to a matching result between the process parameters and the node parameters using the process node library, and determine a target controller that meets the production line requirement from preset production line controllers according to the production line requirement; The target controller is configured to construct a software environment that meets the requirements of the production line, so as to control the production line nodes to execute the production process according to the process parameters based on the software environment.

2. The production line control system for a smart factory according to claim 1, characterized in that: The access module obtains the process parameters corresponding to the production line node in the following manner: In response to the server end connecting to the target production line, obtaining a network address table corresponding to the target production line, wherein the network address table includes a node network address corresponding to the production line node; Performing connectivity test and security test on the target production line according to the network address table; If the target production line passes the connectivity test and the safety test, data is collected on the production line nodes through the node network address to obtain process parameters; If the target production line fails the connectivity test or the security test, the connection between the server and the target production line is disconnected.

3. The production line control system for a smart factory according to claim 2, characterized in that: The access module collects data from the production line nodes through the node network address to obtain process parameters in the following manner: Obtain the parameter structure to be collected corresponding to the production line node; Establishing a form to be filled in according to the parameter structure to be collected, so as to receive user input data corresponding to the parameter structure to be collected through the form to be filled in; If the user input data includes fixed parameters, adding the fixed parameters to the process parameters; If the user input data includes interface call parameters, a call request is established based on the interface call parameters, and the interface call request is used to perform an interface call on the production line node according to the node network address, and the interface feedback data fed back by the production line node is added to the process parameters.

4. The production line control system for a smart factory according to claim 1, characterized in that: The selection module determines the production line requirement corresponding to the target production line according to the matching result between the process parameters and the node parameters by using the process node library in the following manner: Determine the target demand corresponding to the process node from the node demands of the process node library according to the matching result between the process parameter and the node parameter; If the number of the process nodes is one, the target demand corresponding to the process node is determined as the production line demand; If there are multiple process nodes, the target demands between different production line nodes are compared to obtain a demand comparison result, and the production line demand is determined from each target demand based on the demand comparison result, wherein the production line demand simultaneously satisfies the target demands corresponding to each production line node.

5. The production line control system for a smart factory according to claim 1, characterized in that: The selection module determines a target controller that meets the production line requirements from the production line controllers according to the production line requirements in the following manner: Determine an alternative controller that meets the production line control requirements from the production line controllers; If the number of the candidate controller is one, determining the candidate controller as the target controller; If there are multiple candidate controllers, calculations are performed based on controller parameters corresponding to each of the candidate controllers to obtain capability scores corresponding to each of the candidate controllers, and the candidate controller with the lowest capability score is determined as the target controller.

6. The production line control system for a smart factory according to claim 5, characterized in that: The selection module calculates the capability scores of the candidate controllers according to the controller parameters corresponding to the candidate controllers in the following manner: The controller parameters include indicator parameters corresponding to a plurality of controller indicators, wherein there is a correlation between the controller indicators and the production line requirements; Taking any controller index as the current index, determining the parameter upper limit value and the parameter lower limit value from each index parameter corresponding to the current index; Calculate according to the upper limit value of the parameter and the lower limit value of the parameter to obtain an index reference value, and calculate the index parameter corresponding to the current index of any alternative controller according to the lower limit value of the parameter to obtain the actual value of the index corresponding to the current index of the alternative controller, so as to determine the index score of the alternative controller corresponding to the current index according to the actual value of the index and the index reference value; The capability score corresponding to each of the controller indicators of any candidate controller is calculated based on the indicator score corresponding to each of the controller indicators to obtain the capability score corresponding to the candidate controller.

7. The production line control system for a smart factory according to claim 1, characterized in that: The target controller controls the production line nodes to execute the production process according to the process parameters in the following manner: The production line nodes are composed of process equipment; Acquire a device control protocol corresponding to the process equipment to establish a communication middleware according to the device control protocol; By parsing the process parameters corresponding to the production line nodes, control parameters corresponding to the process equipment are extracted; A device control instruction with the control parameters is generated by the communication middleware according to the device control protocol, and the device control instruction is sent to the process equipment.

8. The production line control system for a smart factory according to claim 1, characterized in that: The production line control system for the smart factory also includes: The target controller is configured to collect execution parameters corresponding to the target production line when the target production line executes a production process, and send the process parameters and the execution parameters to the environment controller; The environmental controller is configured to obtain a production environment model corresponding to the production line environment if the production line requirements include environmental requirements, wherein the production environment is provided with a target production line and an environmental adjustment device, and the production environment model is obtained by performing three-dimensional modeling on the production line environment; pass the process parameters and the execution parameters into the production environment model to generate current environmental data; input the current environmental data into a preset environmental prediction model to obtain an environmental prediction result, wherein the environmental prediction model is obtained through model training; compare the environmental requirements in the production line requirements according to the model prediction results to generate an environmental adjustment instruction corresponding to the environmental adjustment device according to the comparison result, wherein the environmental adjustment instruction is used to control the environmental adjustment device to perform environmental adjustment on the production line environment to meet the environmental requirements.

9. A production line control method for a smart factory, characterized in that: Applied to the server side, the production line control method for a smart factory includes: Pre-setting a process node library, the process node library is used to store node requirements corresponding to different node parameters of the process nodes; Connecting to a target production line through a server, and obtaining process parameters corresponding to production line nodes, wherein the target production line is composed of the production line nodes, and the production line nodes include at least a part of process nodes; Determine the production line requirement corresponding to the target production line according to the matching result between the process parameters and the node parameters by using the process node library, and determine the target controller that meets the production line requirement from the preset production line controllers according to the production line requirement; A software environment that meets the requirements of the production line is constructed through the target controller, so as to control the production line nodes to execute the production process according to the process parameters based on the software environment.

10. An electronic device, characterized in that: include: Processor and memory; The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the production line control method for a smart factory as described in claim 9.