A virtual simulation test method and system for controlling the production rhythm of an extrusion production line on demand
Through the Petri network virtual simulation model, the dynamic characteristics of the extruded production line were analyzed and the production orders were adjusted, which solved the problem of inefficient production in the existing technology, achieved more efficient production and work efficiency, and reduced costs and risks.
Patent Information
- Application Number
- CN202211728437.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2042-12-29
AI Technical Summary
The existing technology cannot effectively adjust the production orders of the extruded production line, resulting in low production efficiency, and relying on manual adjustments leads to high cost and time costs, making it difficult to cope with dynamically changing market demand.
The dynamic characteristics of the extrusion production line are constructed using the Petri network virtual simulation model. By obtaining real-time order data and working condition data for simulation analysis, the optimal order production order is generated and the operation of production equipment is controlled, and virtual simulation test is realized to adjust production orders.
It improves the production efficiency and work efficiency of the extruded production line, reduces the testing cost and risks, truly reflects the actual situation of the production line, and can adjust orders in a timely manner to meet market demand.
Smart Images

Figure CN115933573B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of production rhythm virtual simulation, and more specifically, to a virtual simulation test method and system for an extrusion production line whose production rhythm can be controlled as required. Background Art
[0002] The intensified global competition in the manufacturing industry has put forward higher requirements for the market responsiveness of the manufacturing system. The production model of the traditional manufacturing industry cannot guarantee high production efficiency while also being fast and flexible. In the current trend of orders tending to be small, customized and multi-batch, the extrusion production line requires that the production process can be adjusted in time according to order requirements in order to adapt to the personalized needs of the market.
[0003] However, the existing methods of adjusting orders mostly rely on manual adjustments, which have high labor and time costs and often have little effect. In addition, extrusion production is a dynamic development process, and production orders will be updated in real time. With the increase in order batches, staff's human interference with the extrusion production line, and emergencies that may be encountered during equipment operation, it is a difficult task to find the optimal production scheduling method by simply adjusting production orders manually. Summary of the invention
[0004] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a virtual simulation test method and system for an extrusion production line whose production rhythm can be controlled on demand, which can more effectively simulate the dynamic characteristics of production resources on the extrusion production line during operation, and adjust the production orders in the absence of physical objects and verify the effects of the adjusted orders, which can truly reflect the actual situation of the extrusion production line, improve the production efficiency of the entire extrusion production line, and improve work efficiency.
[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0006] A virtual simulation test method for an extrusion production line whose production rhythm can be controlled on demand is provided, comprising the following steps:
[0007] S1. Construct a Petri net virtual simulation model based on the extrusion production line;
[0008] S2. Obtain real-time order data of production tasks, and then transmit it to the Petri net virtual simulation model for analysis to obtain the optimal order scheduling sequence;
[0009] S3. Obtain the operating data of each production equipment on the extrusion production line, and then transmit it to the Petri net virtual simulation model for simulation test analysis, and generate instructions according to the optimal order scheduling sequence and send them to each production equipment on the extrusion production line to control the operation of each production equipment.
[0010] Further, in step S1, the Petri net virtual simulation model is composed of multiple sub-networks, one sub-network is composed of raw materials, processes, equipment library and products, wherein the equipment library is used to represent multiple production equipment on the extrusion production line, and each production equipment flows in its corresponding process; the raw materials are used to represent input means of production; the products are used to represent output means of production;
[0011] In the sub-network, the equipment library provides production equipment, which is delivered to the process for processing together with the raw materials through production resources. After the processing is completed, the production equipment returns to the equipment library and outputs the product.
[0012] Furthermore, the process is represented by a library and a pair of transitions; wherein: the library is used to represent each process and related states on the extrusion production line; the transition is used to indicate that it may be triggered only when all prerequisite states are completed; in the process, the equipment library provides production equipment, and the raw materials are transferred to the library together with the raw materials through a transition, and then through another transition, the production equipment returns to the equipment library, and the product is output from another transition.
[0013] Furthermore, the library includes a plurality of tokens, and the tokens are used to represent resources on the extrusion production line; wherein the resources on the extrusion production line include production equipment and raw materials.
[0014] Furthermore, the upper limit of the number of resources contained in the library is:
[0015] M(p i )=k,k∈N,
[0016] In the formula, p i represents the i-th place, M(p i ) represents the number of tokens in the i-th place using the capacity function, and k represents the number of tokens in the place;
[0017] In the Petri net virtual simulation model, there are several transitions with occurrence rights. If one of the transitions is triggered, resources flow between places, the number of tokens in the place changes, and a new identifier is obtained. For transition t, if the place capacity in the precondition set of transition t is greater than or equal to 1, it means that the current identifier has the occurrence right, transition t is triggered, and the identifier becomes a new identifier.
[0018] for Satisfies the following relationship:
[0019]
[0020] In the formula, M represents the current identifier, Indicates the new logo, · t, t · They represent the predecessor condition set and the successor condition set of the transition event t respectively;
[0021] Among them, the rule for triggering the transition is: an event has the right to occur if and only if each of its preconditions is met but each of its subsequent conditions is not met; the occurrence of the event makes each of its preconditions disappear and each of its subsequent conditions become met.
[0022] Further, in step S2, the start time and end time of production of the jth process of the i+1th batch order can be expressed as:
[0023]
[0024]
[0025] In the formula, (i=1,2,...,I;j=1,2,...,J) represents the end time of the jth process of the i-th batch, A i+1,j represents the production time of the jth process of the i+1th batch order, Δ j Represents the waiting time of the jth process; using the Petri net virtual simulation model to perform virtual simulation testing on real-time order data, the total production time can be obtained, and then all production times are sorted in ascending order to obtain the order sorting method with the shortest production period.
[0026] Furthermore, the production equipment includes a rod furnace, a mold heating furnace, an extruder, a cooling bed, a traction machine, a sawing machine and a straightening machine.
[0027] Furthermore, in step S3, the operating data of each production equipment on the extrusion production line includes the temperature of the rod furnace, the temperature of the mold heating furnace, the extrusion speed of the extruder, the cooling rate of the cooling bed, the rotation speed of the traction machine, the sawing frequency of the sawing machine, the straightening speed of the straightening machine, the mold change time of the straightening machine, the profile outlet temperature of the straightening machine and the operating time of each production equipment.
[0028] Furthermore, in step S1, the Petri net virtual simulation model is constructed on the MWorks platform in the industrial computer; in step S3, each production equipment obtains corresponding sensor data through the corresponding sensor, and stores it in the industrial computer in the form of an SQL database, and then inputs it into the Petri net virtual simulation model to obtain a digital twin model, and obtains virtual simulation working condition data through the digital twin model and stores it in the industrial computer.
[0029] The present invention also includes a computer system, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0030] Compared with the prior art, the present invention has the following beneficial effects:
[0031] The present invention provides a virtual simulation test method and system for an extrusion production line whose production rhythm can be controlled on demand. Through virtual simulation, the dependence on the real environment can be eliminated, and the test cost and test risk can be reduced. The test data comes from orders and sensors. The Petri net virtual simulation model can be used to more effectively simulate the dynamic characteristics of the extrusion production line during operation. By adjusting the production order and verifying the effect of the adjusted order, the production efficiency of the entire extrusion production line can be improved, the actual situation of the extrusion production line can be truly reflected, and the work efficiency can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a flow chart of a virtual simulation test method for an extrusion production line whose production rhythm can be controlled on demand according to the present invention;
[0033] Figure 2 A structural diagram of a sub-network of the Petri net virtual simulation model of the present invention;
[0034] Figure 3 This is a schematic diagram of the connection of a device for controlling the production rhythm of an extrusion production line on demand according to the present invention. DETAILED DESCRIPTION
[0035] The present invention is further described below in conjunction with specific implementation methods. The accompanying drawings are only used for exemplary descriptions and are only schematic diagrams, not actual drawings, and cannot be understood as limiting this patent; in order to better illustrate the embodiments of the present invention, some parts of the accompanying drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product; for those skilled in the art, it is understandable that some well-known structures and their descriptions in the accompanying drawings may be omitted.
[0036] The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right" and the like indicate directions or positional relationships based on the directions or positional relationships shown in the drawings, it is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction. Therefore, the terms describing the positional relationship in the drawings are only used for illustrative purposes and cannot be understood as limitations on this patent. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0037] Example 1
[0038] like Figure 1 The first embodiment of a virtual simulation test method for an extrusion production line whose production rhythm can be controlled on demand according to the present invention is shown, and includes the following steps:
[0039] S1. Construct a Petri net virtual simulation model based on the extrusion production line;
[0040] S2. Obtain the real-time order data of the production task, and then transmit it to the algorithm module in the Petri net virtual simulation model for analysis to obtain the optimal order scheduling sequence;
[0041] S3. Obtain the operating data of each production equipment on the extrusion production line, and then transmit it to the Petri net virtual simulation model for simulation test analysis, and generate instructions based on the optimal order scheduling sequence and send them to each production equipment on the extrusion production line to control the operation of each production equipment.
[0042] Virtual simulation can get rid of the dependence on the real environment and reduce testing costs and risks. The test data comes from orders and sensors. The Petri net virtual simulation model can more effectively simulate the dynamic characteristics of the extrusion production line during operation. By adjusting the production orders and verifying the effects of the adjusted orders, the production efficiency of the entire extrusion production line can be improved, truly reflecting the actual situation of the extrusion production line and improving work efficiency.
[0043] Example 2
[0044] This embodiment is similar to Embodiment 1, except that, in this embodiment, step S1 specifically includes: constructing a Petri net virtual simulation model on the MWorks platform in the industrial computer, where the MWorks platform is a scientific computing and system modeling and simulation platform based on the multi-domain unified modeling language modelica; wherein the Petri net virtual simulation model is composed of multiple sub-networks, such as Figure 2 As shown in the figure, a subnetwork consists of raw materials, processes, equipment libraries, and products. The equipment library is used to represent multiple production equipment on the extrusion production line, and each production equipment flows in its corresponding process; raw materials are used to represent input means of production; products are used to represent output means of production. In the subnetwork, the equipment library provides production equipment, which is transferred to the process for processing together with the raw materials through production resources. After processing, the production equipment returns to the equipment library and outputs the product.
[0045] like Figure 2As shown in the figure, the process is represented by a place and a pair of transitions; the place is used to represent each process and related states on the extrusion production line; the transition is used to indicate that it can only be triggered when all the prerequisite states are completed. In the process, the equipment library provides production equipment, which is transferred to the place together with the raw materials through a transition, and then through another transition, the production equipment returns to the equipment library and outputs the product.
[0046] Specifically, the library includes multiple tokens, and the tokens are used to represent the resources on the extrusion production line; the resources on the extrusion production line include production equipment and raw materials. In this embodiment, human resources represent the number of staff members, and the production equipment includes a rod furnace, a mold heating furnace, an extruder, a cooling bed, a traction machine, a sawing machine, and a straightening machine. It should be noted that in this embodiment, one process corresponds to the use of one production equipment; to complete an order, the raw materials need to be processed in different production equipment according to the process sequence, and the processing time required for each process can be basically determined according to the order task situation.
[0047] In this embodiment, the upper limit of the number of resources contained in the library is:
[0048] M(p i )=k,k∈N,
[0049] In the formula, p i represents the i-th place, M(p i ) represents the capacity function of the number of tokens contained in the i-th library, and k represents the number of tokens in the library. It should be noted that whether there are tokens in the library indicates the operating status of the production equipment, that is, whether production is in progress.
[0050] In the Petri net virtual simulation model, each transition has an occurrence right. If one of the transitions is triggered, resources flow between places, the number of tokens in the place changes, and a new identifier is obtained. For transition t, if the place capacity in the precondition set of transition t is greater than or equal to 1, it means that the current identifier has an occurrence right, transition t is triggered, and the identifier becomes a new identifier. Satisfies the following relationship:
[0051]
[0052] In the formula, M represents the current identifier, Indicates the new logo, · t, t · They represent the predecessor condition set and the successor condition set of transition event t respectively.
[0053] It should be noted that the rule for triggering a transition is: an event has the right to occur if and only if each of its preconditions is established but each of its successor conditions is not established; the occurrence of an event makes each of its preconditions disappear and each of its successor conditions become established. The triggering and identification of transitions are constantly changing in the Petri net virtual simulation model, which is the operation of the Petri net. It can show the production and processing process of production materials between different processes on the extrusion production line, and conduct virtual simulation tests based on the Mworks platform to visualize this process.
[0054] In this embodiment, step S2 specifically includes: the start time and end time of production of the jth process of the i+1th batch order can be expressed as:
[0055]
[0056]
[0057] In the formula, (i=1,2,...,I;j=1,2,...,J) represents the end time of the jth process of the i-th batch, A i+1,j represents the production time of the jth process of the i+1th batch order, Δ j Indicates the waiting time of the jth process. According to the sequence of each process, the processing time, start time, end time and waiting time data of each process are input into the Petri net virtual simulation model to obtain the total production time, and then all production times are sorted in ascending order to obtain the order sorting method with the shortest production period.
[0058] In this embodiment, step S3 specifically includes: collecting production data from sensors corresponding to each production equipment, and storing it in the industrial computer in the form of an SQL database, then using a UDP communication module to input the content stored in the SQL database into the Petri net virtual simulation model to obtain a digital twin model, and obtaining virtual simulation working condition data through the digital twin model, and storing it in the industrial computer; then, generating instructions according to the order with the shortest production period and sending them to each production equipment on the extrusion production line to control the operation of each production equipment.
[0059] Since the production equipment in this embodiment includes a rod furnace, a mold heating furnace, an extruder, a cooling bed, a traction machine, a sawing machine and a straightener, the operating data of each production equipment on the extrusion production line include the temperature of the rod furnace, the temperature of the mold heating furnace, the extrusion speed of the extruder, the cooling rate of the cooling bed, the rotation speed of the traction machine, the sawing frequency of the sawing machine, the straightening speed of the straightener, the mold change time of the straightener, the profile outlet temperature of the straightener and the operating time of each production equipment.
[0060] It should be noted that after the real-time order data is input into the Petri net virtual simulation model in real time, the real-time operating time of each production equipment can be simulated. The industrial computer transmits the digital signal of the Petri net virtual simulation model to the VR display device through the interface, and uses the VR display device to observe the real-time virtual operating status of each production equipment.
[0061] Virtual simulation testing is a tool that uses digital means to conduct testing. It simulates the production process of the extrusion production line, which can improve the production efficiency of the entire extrusion production line. It can also cover the entire life cycle of the production line's design and manufacturing, service monitoring, and operation and maintenance. It can more realistically reflect the actual situation of the production line in order to improve work efficiency and make better decisions. Virtual simulation gets rid of the dependence on the real environment, improves efficiency, and reduces testing costs and risks. Using the MWorks platform to build a Petri net virtual simulation model and an on-demand control device for the production rhythm of the extrusion production line can reveal the deployment and operation of the extrusion production line during the production process, and can visualize and control the production process in real time.
[0062] Example 3
[0063] The present invention also includes a computer system, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method described in embodiment 1 or 2 when executing the computer program.
[0064] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A virtual simulation test method for an extrusion production line whose production rhythm can be controlled on demand, characterized in that: The steps include: S1. Construct a Petri net virtual simulation model based on an extrusion production line; the Petri net virtual simulation model is composed of multiple sub-networks, one sub-network is composed of raw materials, processes, equipment library and products, wherein the equipment library is used to represent multiple production equipment on the extrusion production line, and each production equipment flows in its corresponding process; the raw materials are used to represent input means of production; the products are used to represent output means of production; in the sub-network, the equipment library provides production equipment, which is transferred to the process for processing together with the raw materials through production resources, and after processing, the production equipment returns to the equipment library and outputs products; S2. Obtain the real-time order data of the production task, and then transmit it to the Petri net virtual simulation model for analysis to obtain the optimal order scheduling sequence; wherein the start time and end time of the jth process of the i+1th batch order are respectively expressed as: In the formula, represents the end time of the jth process of the i-th batch, A i+1,j represents the production time of the jth process of the i+1th batch order, Δ j represents the waiting time of the jth process; the Petri net virtual simulation model is used to perform virtual simulation testing on real-time order data to obtain the total production time, and then all production times are sorted in ascending order to obtain the order sorting method with the shortest production period; S3. Obtain the operating data of each production equipment on the extrusion production line, and then transmit it to the Petri net virtual simulation model for simulation test analysis, and generate instructions according to the optimal order scheduling sequence and send them to each production equipment on the extrusion production line to control the operation of each production equipment; The process is represented by a place and a pair of transitions; wherein: the place is used to represent each process and related states on the extrusion production line; the transition is used to indicate that it may be triggered only when all prerequisite states are completed; in the process, the equipment library provides production equipment, and the raw materials are transferred to the place through a transition together with the raw materials, and then through another transition, the production equipment returns to the equipment library and outputs the product; the place includes multiple tokens, and the tokens are used to represent resources on the extrusion production line; wherein the resources on the extrusion production line include production equipment and raw materials; The upper limit of the number of resources contained in the library is: M(p i )=k,k∈N, In the formula, p i represents the i-th place, M(p i ) represents the number of tokens in the i-th place using the capacity function, and k represents the number of tokens in the place; In the Petri net virtual simulation model, there are several transitions with occurrence rights. If one of the transitions is triggered, resources flow between places, the number of tokens in the place changes, and a new identifier is obtained. For transition t, if the place capacity in the precondition set of transition t is greater than or equal to 1, it means that the current identifier has the occurrence right, transition t is triggered, and the identifier becomes a new identifier. Satisfies the following relationship: In the formula, M represents the current identifier, Indicates the new logo, * t, t * They represent the predecessor condition set and the successor condition set of the transition event t respectively; Among them, the rule for triggering the transition is: an event has the right to occur if and only if each of its preconditions is met but each of its subsequent conditions is not met; the occurrence of the event makes each of its preconditions disappear and each of its subsequent conditions become met.
2. The virtual simulation test method for an extrusion production line with on-demand controllable production rhythm according to claim 1 is characterized in that: The production equipment includes a rod furnace, a mold heating furnace, an extruder, a cooling bed, a traction machine, a sawing machine and a straightening machine.
3. The virtual simulation test method for the extrusion production line with on-demand controllable production rhythm according to claim 2 is characterized in that: In step S3, the operating data of each production equipment on the extrusion production line include the temperature of the rod furnace, the temperature of the mold heating furnace, the extrusion speed of the extruder, the cooling rate of the cooling bed, the rotation speed of the traction machine, the sawing frequency of the sawing machine, the straightening speed of the straightening machine, the mold change time of the straightening machine, the profile outlet temperature of the straightening machine and the operating time of each production equipment.
4. The virtual simulation test method for an extrusion production line with on-demand controllable production rhythm according to claim 3 is characterized in that: In step S1, the Petri net virtual simulation model is constructed on the MWorks platform in the industrial computer; in step S3, each production equipment obtains corresponding sensor data through the corresponding sensor, and stores it in the industrial computer in the form of an SQL database, and then inputs it into the Petri net virtual simulation model to obtain a digital twin model, and obtains virtual simulation working condition data through the digital twin model and stores it in the industrial computer.
5. A computer system comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Simulation optimization method used for ship carrying plan adjustment
CN106951621A
Method and system for performing virtual simulation on circuit breaker assembly production line
CN108549747A
Digital twinborn robot for breaker flexible assembling process
CN109719730A
Method for calibrating simulation model of production line, and device
WO2021056590A1
