Industrial production line analog simulation experiment method and system and medium
By initializing the simulation environment in the industrial production line simulation experiment method, loading the equipment model and production line layout, adding functional nodes and configuring, building flow charts and simulation programs, obtaining simulation data in real time and generating data analysis reports, evaluating production line performance and efficiency, and Adjusting configuration information or program statements based on the evaluation results solves the problems of complex operation and difficulty in real simulation of existing industrial simulation software, and achieving efficient production line optimization and risk avoidance.
Patent Information
- Application Number
- CN202411437232.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-02-14
AI Technical Summary
The existing industrial simulation software is complex in operation, difficult to achieve real simulation results, and it is impossible to discover potential problems and bottlenecks in advance, resulting in economic losses.
Provide an experimental method for simulation of industrial production line, which can generate production line layout information by initializing the simulation environment, loading the equipment model and production line layout; adding functional nodes and configuring the equipment model, building flow charts and simulation programs, obtaining simulation data in real time and generating Data analysis reports, evaluate production line performance and efficiency, and adjust configuration information or program statements based on evaluation results.
A highly flexible and user-friendly industrial production line simulation platform is realized, which can test and optimize production line configuration without affecting actual production, improve production efficiency and reduce costs, discover potential problems and bottlenecks in advance, avoid risks, and reduce production line adjustment belts economic losses.
Smart Images

Figure CN119439903A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of software simulation technology, and in particular to an industrial production line simulation experiment method, system and medium. Background Art
[0002] Industrial simulation software is an indispensable part of the smart manufacturing ecosystem. It provides strong support for smart manufacturing by creating a virtual environment to simulate and analyze the production process. Through industrial simulation software, simulation can be used in the early stage of production line construction to identify potential problems in the early stage of production line development, reduce the need for physical prototypes, shorten production line adjustment time, and reduce R&D costs. In addition, it also supports the continuous improvement of the production process, maximizing production efficiency and minimizing operating costs through real-time data collection and analysis. Traditional industrial simulation software is complex to operate and requires a lot of PLC programming to achieve production line simulation; although some process simulation software is simple to operate, it cannot achieve real simulation effects, it is difficult to achieve real simulation of the actual production line, and it is difficult to obtain effective data, and the simulation accuracy is poor. In addition, the existing industrial simulation methods cannot detect potential problems and bottlenecks in advance, help users avoid risks, and cause certain economic losses. For the above problems, effective technical solutions are urgently needed. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide an industrial production line simulation experiment method, system and medium, which helps users test and optimize production line configuration without affecting actual production by providing a highly flexible, user-friendly and accurate industrial production line simulation platform, thereby improving production efficiency and reducing costs.
[0004] The present application also provides an industrial production line simulation experiment method, including:
[0005] Initialize the simulation environment, load the equipment model and production line layout based on the simulation environment, and generate production line layout information;
[0006] Add the required function nodes to the device model, configure each function node, and obtain configuration information;
[0007] Build a flow chart based on functional nodes and matching configuration information to display the logic information of the production line and the material flow path information;
[0008] Execute simulation programs based on functional nodes and logic information, obtain simulation data in real time, and generate simulation results and data analysis reports based on simulation data;
[0009] The performance and efficiency of the production line are evaluated based on the data analysis report to obtain the evaluation results, and the configuration information or program statements of the production line are adjusted based on the evaluation results to generate a complete simulation report.
[0010] Optionally, in the industrial production line simulation experiment method described in the embodiment of the present application, initializing the simulation environment, loading the equipment model and the production line layout based on the simulation environment, and generating the production line layout information specifically includes:
[0011] After the system is started, it first performs initialization operations and loads the necessary simulation engine, database and user interface;
[0012] Obtain simulation scenarios and build simulation environments based on the simulation scenarios;
[0013] Load the device model based on the simulation environment, perform lightweight processing on the device model, and add simulation scenarios. The device model includes user-defined models or standard models selected from the system library;
[0014] The production line layout is loaded based on the simulation environment to generate production line layout information. The production line layout includes multiple production line equipment, and the production line equipment includes workstations, conveyor belts and robots.
[0015] Optionally, in the industrial production line simulation experiment method described in the embodiment of the present application, required function nodes are added to the equipment model, and each function node is configured to obtain configuration information, which specifically includes:
[0016] Obtain type and function information of industrial equipment;
[0017] Generate different types of equipment nodes based on the type information of industrial equipment, where the equipment nodes include: feeding equipment, conveyor line, processing equipment, storage equipment and unloading equipment;
[0018] Generate corresponding functional nodes based on the functional information of industrial equipment, where the functional nodes include transportation nodes, feeding nodes, caching nodes, processing nodes and unloading nodes;
[0019] Specific parameters are set for each functional node, and each functional node is configured based on the specific parameters to obtain configuration information, wherein the specific parameters include the processing time, capacity limit and failure rate of the node.
[0020] Optionally, in the industrial production line simulation experiment method described in the embodiment of the present application, a flow chart is constructed based on the functional nodes and the matching configuration information to display the logic information and material flow path information of the production line, specifically including:
[0021] Obtain the flow relationship in the process nodes, establish the graph relationship, and simulate the production and transportation functions of the production line through the flow of materials between nodes;
[0022] Based on the graph relationship and the material flow between nodes, a corresponding flowchart is constructed. Based on the flowchart, the layout information of all equipment nodes of the production line is analyzed to obtain logical information.
[0023] Based on the transportation nodes, the movement of materials on the production line is simulated, and the materials are transported from one point to another. By simulating different means of transportation, the material flow path information is generated.
[0024] Optionally, in the industrial production line simulation experiment method described in the embodiment of the present application, additional program statement nodes may be added, specific control logic may be written, logic information may be obtained, the simulation program may be executed according to the function nodes and logic information, and simulation data may be obtained in real time, and simulation results and data analysis reports may be generated based on the simulation data, specifically including:
[0025] Build programming language and logic control statements based on PLC programming environment to generate control logic;
[0026] Based on the control logic, a simulation program is executed on the functional nodes according to the flow relationship, and the operation information of the production line is simulated based on the simulation program; wherein the operation information of the production line includes the flow information of materials, the start and stop information of equipment, and the generation information of production data;
[0027] Acquire simulation data in real time based on the operation information of the production line, analyze the production efficiency information, equipment utilization information and material inventory level information of the production line based on the simulation data, and generate visual reports and charts;
[0028] The simulation results and data analysis report are obtained by integrating visualization reports and charts.
[0029] Optionally, in the industrial production line simulation experiment method described in the embodiment of the present application, generating simulation results and data analysis reports according to simulation data specifically includes:
[0030] Evaluate the performance and efficiency of the production line based on the simulation results and data analysis report to obtain the evaluation results;
[0031] Compare the evaluation results with the set evaluation condition information to obtain the evaluation deviation rate;
[0032] Determine whether the evaluation deviation rate is greater than or equal to a set evaluation deviation rate threshold;
[0033] If it is greater than or equal to, then generate correction information, adjust the production line configuration or program statement according to the correction information, and repeat the simulation, data collection, analysis and evaluation process until the simulation result of the set evaluation condition information is achieved;
[0034] If it is less than, a detailed simulation report is generated, which includes statistical data information, chart information and optimization suggestion information of key indicators, saves the current configuration information, and archives the simulation report.
[0035] In a second aspect, an embodiment of the present application provides an industrial production line simulation experiment system, the system comprising: a memory and a processor, the memory comprising a program of an industrial production line simulation experiment method, and the program of the industrial production line simulation experiment method is executed by the processor to implement the following steps:
[0036] Initialize the simulation environment, load the equipment model and production line layout based on the simulation environment, and generate production line layout information;
[0037] Add the required function nodes to the device model, configure each function node, and obtain configuration information;
[0038] Build a flow chart based on functional nodes and matching configuration information to display the logic information of the production line and the material flow path information;
[0039] Execute simulation programs based on functional nodes and logic information, obtain simulation data in real time, and generate simulation results and data analysis reports based on simulation data;
[0040] The performance and efficiency of the production line are evaluated based on the data analysis report to obtain the evaluation results, and the configuration information or program statements of the production line are adjusted based on the evaluation results to generate a complete simulation report.
[0041] Optionally, in the industrial production line simulation experiment system described in the embodiment of the present application, initializing the simulation environment, loading the equipment model and the production line layout based on the simulation environment, and generating the production line layout information specifically includes:
[0042] After the system is started, it first performs initialization operations and loads the necessary simulation engine, database and user interface;
[0043] Obtain simulation scenarios and build simulation environments based on the simulation scenarios;
[0044] Load the device model based on the simulation environment, perform lightweight processing on the device model, and add simulation scenarios. The device model includes user-defined models or standard models selected from the system library;
[0045] The production line layout is loaded based on the simulation environment to generate production line layout information. The production line layout includes multiple production line equipment, and the production line equipment includes workstations, conveyor belts and robots.
[0046] Optionally, in the industrial production line simulation experiment system described in the embodiment of the present application, required function nodes are added to the equipment model, and each function node is configured to obtain configuration information, which specifically includes:
[0047] Obtain type and function information of industrial equipment;
[0048] Generate different types of equipment nodes based on the type information of industrial equipment, where the equipment nodes include: feeding equipment, conveyor line, processing equipment, storage equipment and unloading equipment;
[0049] Generate corresponding functional nodes based on the functional information of industrial equipment, where the functional nodes include transportation nodes, feeding nodes, caching nodes, processing nodes and unloading nodes;
[0050] Specific parameters are set for each functional node, and each functional node is configured based on the specific parameters to obtain configuration information, wherein the specific parameters include the processing time, capacity limit and failure rate of the node.
[0051] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, which includes an industrial production line simulation experiment method program. When the industrial production line simulation experiment method program is executed by a processor, the steps of the industrial production line simulation experiment method as described in any one of the above items are implemented.
[0052] As can be seen from the above, an industrial production line simulation experiment method, system and medium provided in the embodiment of the present application initializes the simulation environment, loads the equipment model and production line layout based on the simulation environment, and generates production line layout information; adds the required functional nodes to the equipment model, configures each functional node, and obtains configuration information; constructs a flow chart based on the functional nodes and matching configuration information to display the logical information and material flow path information of the production line; can additionally add program statement nodes, write specific control logic, obtain logical information, execute the simulation program according to the functional nodes and logical information, and obtain simulation data in real time; generates simulation results and data analysis reports based on the simulation data, evaluates the performance and efficiency of the production line, obtains evaluation results, adjusts the configuration information or program statements of the production line based on the evaluation results, and generates a complete simulation report; the present invention simplifies the user operation process, and conducts simulation experiments before actually putting it into production, which can discover potential problems and bottlenecks in advance, help users avoid risks, and reduce economic losses caused by production line adjustments. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0054] Figure 1 A flowchart of an industrial production line simulation experiment method provided in an embodiment of the present application;
[0055] Figure 2 A flow chart of a method for obtaining production line layout information of an industrial production line simulation experiment method provided in an embodiment of the present application;
[0056] Figure 3 A flow chart of a method for obtaining configuration information of an industrial production line simulation experiment method provided in an embodiment of the present application;
[0057] Figure 4 A block diagram of an industrial production line simulation experiment system provided in an embodiment of the present application;
[0058] Figure 5 A schematic diagram of a simulation environment for an industrial production line simulation experiment system provided in an embodiment of the present application;
[0059] Figure 6 A schematic diagram of the flow relationships in the process nodes of the industrial production line simulation experiment system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0060] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0061] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0062] Please refer to Figure 1 , Figure 1 This is a flow chart of an industrial production line simulation experiment method in some embodiments of the present application. The industrial production line simulation experiment method is used in a terminal device, and the industrial production line simulation experiment method includes the following steps:
[0063] S101, initializing the simulation environment, loading the equipment model and production line layout based on the simulation environment, and generating production line layout information;
[0064] S102, adding required function nodes to the device model, configuring each function node, and obtaining configuration information;
[0065] S103, constructing a flow chart based on the functional nodes and the matching configuration information to display the logic information of the production line and the material flow path information;
[0066] S104, executing a simulation program based on the functional nodes and logic information, acquiring simulation data in real time, and generating simulation results and a data analysis report based on the simulation data;
[0067] S105, evaluating the performance and efficiency of the production line based on the data analysis report to obtain an evaluation result, adjusting the configuration information or program statements of the production line based on the evaluation result, and generating a complete simulation report.
[0068] It should be noted that through production line simulation, users can test different production line configurations and process optimization solutions without affecting actual production, so as to predict their effects before implementation, effectively improve production efficiency and reduce trial and error costs. Through simulation methods, enterprises can test and optimize production lines without adding additional physical equipment, thereby saving hardware investment and operating costs. According to the detailed parameters and programming control instructions entered by the user, each link of the production line can be accurately simulated, including material flow, equipment status and production efficiency, etc., to provide users with highly realistic simulation results.
[0069] Please refer to Figure 2 , Figure 2 This is a flow chart of a method for obtaining production line layout information of an industrial production line simulation experiment method in some embodiments of the present application. According to an embodiment of the present invention, the simulation environment is initialized, the equipment model and production line layout are loaded based on the simulation environment, and the production line layout information is generated, specifically including:
[0070] S201, after the system is started, it first performs initialization operations and loads the necessary simulation engine, database and user interface;
[0071] S202, obtaining a simulation scenario, and building a simulation environment based on the simulation scenario;
[0072] S203, loading a device model based on a simulation environment, performing lightweight processing on the device model, and adding a simulation scenario, wherein the device model includes a user-defined model or a standard model selected from a system library;
[0073] S204, loading the production line layout based on the simulation environment, generating production line layout information, the production line layout includes a plurality of production line equipment, the production line equipment includes workstations, conveyor belts and robots.
[0074] It should be noted that the model can be a 3D model imported by the user or a model representation in the software's own asset library, which is used to represent the actual production line equipment in the simulation environment. The model is lightweight and can be simulated in the simulation with high performance.
[0075] Please refer to Figure 3 , Figure 3 This is a flow chart of a configuration information acquisition method of an industrial production line simulation experiment method in some embodiments of the present application. According to an embodiment of the present invention, the required functional nodes are added to the device model, and each functional node is configured to obtain configuration information, which specifically includes:
[0076] S301, obtaining type information and function information of industrial equipment;
[0077] S302, generating different types of equipment nodes based on the type information of the industrial equipment, wherein the equipment nodes include: feeding equipment, conveying line, processing equipment, storage equipment and unloading equipment;
[0078] S303, generating corresponding functional nodes based on the functional information of the industrial equipment, wherein the functional nodes include a transportation node, a feeding node, a caching node, a processing node, and a material unloading node;
[0079] S304, each functional node is set with specific parameters, and each functional node is configured based on the specific parameters to obtain configuration information, wherein the specific parameters include the processing time, capacity limit and failure rate of the node.
[0080] It should be noted that the transportation node simulates the movement of materials on the production line. Specifically, it transports materials from one point to another. By simulating different means of transportation, various types of motion simulation can be realized, such as belt lines, lifting mechanisms, rotating mechanisms, three-axis module grasping, six-axis robot grasping material movement and other motion modes; the feeding node simulates the supply process of raw materials, and can set the loading interval, material change time and other data that affect the production rhythm; the cache node simulates the temporary storage link in the production line; the processing node simulates the process of processing or handling materials. After processing the production time, the raw materials can be transformed into another product. During the production process, the utilization rate and yield rate of the processing can also be set to obtain a more realistic effect; the unloading node simulates the collection and output of finished products.
[0081] Specifically, the parameter settings of the functional nodes include that each functional node can set specific parameters, such as processing time, capacity, speed, utilization rate, yield rate, etc., to simulate the performance of the equipment in actual production.
[0082] Take the utilization rate as an example: take 24 hours as a unit, calculate the number of failures within 24 hours according to the set average failure time, and then calculate the maintenance time according to the number and the average maintenance time. Then subtract the maintenance time and the material replacement time, and the remaining is the effective working time. The formula is as follows:
[0083] RepairTime=MTTR×24 / MTBF
[0084] That is, maintenance time = average repair time * 24 / mean time between failures;
[0085] TotalTime=RepairTime+ChangeTime
[0086] That is, total time = maintenance time + average daily material replacement time;
[0087] UtilizationRatio=1-(TotalTime / 24)
[0088] That is, utilization rate = 1-total time / 24;
[0089] The function construction of the processing node includes simulating the process of processing or handling materials. After the processing of production time, the raw materials can be transformed into another product. During the production process, the processing utilization rate and yield rate can also be set to obtain a more realistic effect. The operation process is as follows:
[0090] When material change is required or the machine is shut down at full capacity:
[0091] IsStop change=WorkTime>ChangeTime,
[0092] That is, whether it is in the state of material change shutdown = working time > material change time;
[0093] IsStop Utilization =WorkTime>UtilizationRatio×timeSpan;
[0094] That is, whether it is in the state of downtime = working time > utilization rate * time span;
[0095] When enough raw materials are obtained, the processing process begins:
[0096] IsFinished process =WorkTime>ProcessTime;
[0097] That is, whether the process is completed = working time > processing time;
[0098] After processing is completed, the product is created and moved to the outfeed point of the equipment.
[0099] According to an embodiment of the present invention, a flow chart is constructed based on the function nodes and the matching configuration information to display the logic information of the production line and the material flow path information, specifically including:
[0100] Obtain the flow relationship in the process nodes, establish the graph relationship and the material flow between the nodes, and simulate the production and transportation functions of the production line;
[0101] Based on the graph relationship and the material flow between nodes, a corresponding flowchart is constructed. Based on the flowchart, the layout information of all equipment nodes of the production line is analyzed to obtain logical information.
[0102] Based on the transportation nodes, the movement of materials on the production line is simulated, and the materials are transported from one point to another. By simulating different means of transportation, the material flow path information is generated.
[0103] It should be noted that for the movement of materials on the equipment node, it is necessary to consider the movement of multiple path points and the collision blocking between multiple materials. The material movement operation process is as follows:
[0104] Traverse the materials that have entered the node but have not yet reached the execution point and calculate the current speed. The formula is as follows:
[0105] Speed product =Min(Speed cur +accSpeed×Time delta ,Speed max );
[0106] That is, material speed = minimum value (current speed + acceleration * time difference, set speed);
[0107] According to the path point where the material is currently located, calculate the current moving direction. The formula is as follows:
[0108] Vec=(Pos next -Pos cur ).Normalized
[0109] That is, the moving direction = the normalized vector of (the coordinates of the next path point - the coordinates of the current path point);
[0110] Calculate the position to move to:
[0111] Distance move =Speed product ×Time delta ×Vec;
[0112] That is, moving vector = material speed * time interval * moving direction;
[0113] Pos target =Pos cur +Distance move ;
[0114] That is, target coordinates = current coordinates + moving vector;
[0115] Check whether the target location is occupied and build a bounding box at the target point. The formula is as follows:
[0116] Obb target =CreateObb(Pos target ,Size product ,Rotation product );
[0117] That is, the target point bounding box is a bounding box of the material size and material rotation created at the target point;
[0118] Check the target position bounding box for obstruction by other materials on the current node. The formula is as follows:
[0119] CanMove = IntersectsObb(Obb products[i] ,Obb target );
[0120] That is, the bounding box of all materials on the current node is tested for intersection with the bounding box of the target point;
[0121] Similarly, check the collision between the target position bounding box and the material on the downstream node.
[0122] Check whether the material has reached the next path point. The formula is as follows:
[0123] Distance next =Vector3.Distance(Pos cur ,Pos next );
[0124] That is, the distance to the next path point = the distance between the current point and the next point;
[0125] IsReach=Distance move >Distance next ;
[0126] That is, when the moving distance is greater than the distance to the next point, the material reaches the next path point;
[0127] If it arrives, the material will be moved to the target point and the excess will be calculated into the movement of the next path point to avoid accumulation of calculation errors.
[0128] Product pos =Pos next ;
[0129] That is, set the material position to the next path point;
[0130] Product pos +=(Distance move -Distance next )×Vec next ;
[0131] The material position then increases by the excess distance in the next moving direction;
[0132] If not reached, move the material's position and then start the calculation from the initial step.
[0133] Product pos =Pos target ,
[0134] That is, set the material position to the target point.
[0135] According to an embodiment of the present invention, generating simulation results and a data analysis report based on simulation data specifically includes:
[0136] Build programming language and logic control statements based on PLC programming environment to generate control logic;
[0137] Based on the control logic, a simulation program is executed on the functional nodes according to the flow relationship, and the operation information of the production line is simulated based on the simulation program; wherein the operation information of the production line includes the flow information of materials, the start and stop information of equipment, and the generation information of production data;
[0138] Acquire simulation data in real time based on the operation information of the production line, analyze the production efficiency information, equipment utilization information and material inventory level information of the production line based on the simulation data, and generate visual reports and charts;
[0139] The simulation results and data analysis report are obtained by integrating visualization reports and charts.
[0140] It should be noted that by recording the relevant data on the nodes and materials and obtaining a simulation report, and by statistics and analysis of the key indicators, the designers and owners of the production lines can carry out targeted optimization and modification of the production lines.
[0141] Furthermore, additional program statements can be added and specific control logic can be written to achieve refined control over the simulation, start the simulation according to the functional nodes and flow relationships, obtain simulation data in real time, and generate simulation results and data analysis reports based on the simulation data.
[0142] Specifically, the program statement node is optional and only needs to be added and configured if a refined action simulation of the simulation performance is required.
[0143] Through the configuration of general function nodes and equipment beats, the process simulation can be completed, the simulation data can be obtained in real time, and a data analysis report can be generated.
[0144] According to an embodiment of the present invention, the performance and efficiency of the production line are evaluated based on the data analysis report to obtain an evaluation result, and the configuration information or program statements of the production line are adjusted based on the evaluation result to generate a complete simulation report, which specifically includes:
[0145] Evaluate the performance and efficiency of the production line based on the simulation results and data analysis report to obtain the evaluation results;
[0146] Compare the evaluation results with the set evaluation condition information to obtain the evaluation deviation rate;
[0147] Determine whether the evaluation deviation rate is greater than or equal to the set evaluation deviation rate threshold;
[0148] If it is greater than or equal to, then generate correction information, adjust the production line configuration or program statement according to the correction information, and repeat the simulation, data collection, analysis and evaluation process until the simulation result of the set evaluation condition information is achieved;
[0149] If it is less than, a detailed simulation report is generated, which includes statistical data information, chart information and optimization suggestion information of key indicators, saves the current configuration information, and archives the simulation report.
[0150] It should be noted that users evaluate the performance and efficiency of the production line based on simulation results and data analysis reports, identify areas that need improvement, such as production bottlenecks, equipment failures, material shortages, etc., and make corresponding adjustments.
[0151] In addition, users can save the current simulation configuration and results for future reference or further analysis. The simulation results and reports can be exported into multiple formats, such as PDF, Excel, etc., to facilitate user sharing and use. Users can provide developers with feedback on system performance, user experience and functional requirements through the feedback mechanism provided by the system. The development team continuously improves system functions and adds new device models and simulation algorithms based on user feedback.
[0152] According to an embodiment of the present invention, the transport node simulates the movement of materials on the production line, and further includes:
[0153] Define the transportation route on the equipment model or extract the route based on the relationship between upstream and downstream equipment. The steps are as follows:
[0154] If there is a model path point definition, use the path point directly. The calculation formula is as follows:
[0155] PathPose = portHandler.GetPortsPoints(), that is, obtain the path points preset in the device port configuration;
[0156] If the model has a corresponding transport area definition, use the transport area to construct the bounding box. The calculation formula is as follows:
[0157] area = conveyorBelt.GetTransferArea(), that is, get the conveying area defined by the transfer area;
[0158] obb=new AABB(area.center,area.size),
[0159] That is, using the obtained region center and region length, width and height parameters, create a new axis-aligned bounding box;
[0160] Extract the center point of the top surface of the bounding box and the midpoints of the four sides. The calculation formula is as follows:
[0161] Pos centerO =Pos obbCenter +Vector3 offset ,
[0162] That is, the offset center point position = the center point of the bounding box + the preset offset value;
[0163] Pos center =Pos centerO +Vector3(0,obb.Size.y×0.5f,0);
[0164] That is, the center point of the top surface = the offset center point + the three-dimensional vector created using half the height of the bounding box;
[0165] Pos1=Pos centerO +Vector3(obb.Size.x×0.5f,obb.Size.y×0.5f,0)
[0166] That is, path point 1 = offset center point + 3D vector created using half of the bounding box's length in the X direction and half of its height in the Y direction;
[0167] Pos2=Pos centerO +Vector3(-obb.Size.x×0.5f,obb.Size.y×0.5f,0)
[0168] That is, path point 2 = offset center point + 3D vector created using bounding box - half of the length in the X direction and half of the height in the Y direction;
[0169] Pos3=Pos centerO +Vector3(0,obb.Size.y×0.5f,-obb.Size.z×0.5f)
[0170] That is, path point 3 = offset center point + 3D vector created using half of the height in the Y direction and half of the length in the Z direction of the bounding box;
[0171] Pos4=Pos centerO +Vector3(0,obb.Size.y×0.5f,obb.Size.z×0.5f)
[0172] That is, path point 4 = offset center point + 3D vector created using half of the height in the Y direction and half of the length in the Z direction of the bounding box;
[0173] According to the relationship between upstream and downstream devices, extract the points closer to the upstream device and the points closer to the downstream device as the endpoints of the path, and find the point closest to the Node. The calculation formula is as follows:
[0174]
[0175] That is, point number = traverse all path points and use the square of the vector difference between the path point and the Node point position to calculate the minimum value;
[0176] if:
[0177] if index = 1 or 2;
[0178] pose1=Pos1,pose2=Pos2;
[0179] That is, if the minimum point is between the first two points, set P1 to Pos1 and P2 to Pos2;
[0180] if index = 3 or 4;
[0181] pose1=Pos3,pose2=Pos4,
[0182] That is, if the minimum point is among the last two points, set P1 to Pos3 and P2 to Pos4;
[0183] The starting point and the end point are distinguished according to the distance from the Node. The calculation formula is as follows:
[0184] if Vector3.Distance(node.Position,pose1.Position)
[0185] >Vector3.Distance(node.Position,pose2.Position)
[0186] That is, the distance between the target point Node and P1 is compared with the distance between P2. If it is greater,
[0187] Swap(pose1,pose2)
[0188] That is, swap P1 and P2.
[0189] Furthermore, the cache node simulates the temporary storage of materials in the production line. After entering the storage, it occupies the node capacity and is output to the downstream node after meeting certain conditions. After the product is moved into the unloading node for storage or packaging, it is regarded as being removed from the production line and data statistics are performed.
[0190] Please refer to Figure 4-Figure 6 As shown, in a second aspect, an embodiment of the present application provides an industrial production line simulation experiment system, the system comprising: a memory and a processor, the memory comprising a program of an industrial production line simulation experiment method, and when the program of the industrial production line simulation experiment method is executed by the processor, the following steps are implemented:
[0191] Initialize the simulation environment, load the equipment model and production line layout based on the simulation environment, and generate production line layout information;
[0192] Add the required function nodes to the device model, configure each function node, and obtain configuration information;
[0193] Build a flow chart based on functional nodes and matching configuration information to display the logic information of the production line and the material flow path information;
[0194] You can add additional program statement nodes and write specific control logic to control the simulation. You can execute the simulation program based on the function nodes and logic information, obtain simulation data in real time, and generate simulation results and data analysis reports based on the simulation data.
[0195] The performance and efficiency of the production line are evaluated based on the data analysis report to obtain the evaluation results, and the configuration information or program statements of the production line are adjusted based on the evaluation results to generate a complete simulation report.
[0196] It should be noted that through production line simulation, users can test different production line configurations and process optimization solutions without affecting actual production, so as to predict their effects before implementation, effectively improve production efficiency and reduce trial and error costs. Through simulation methods, enterprises can test and optimize production lines without adding additional physical equipment, thereby saving hardware investment and operating costs. According to the detailed parameters and programming control instructions entered by the user, each link of the production line can be accurately simulated, including material flow, equipment status and production efficiency, etc., to provide users with highly realistic simulation results.
[0197] According to an embodiment of the present invention, initializing a simulation environment, loading a device model and a production line layout based on the simulation environment, and generating production line layout information specifically includes:
[0198] After the system is started, it first performs initialization operations and loads the necessary simulation engine, database and user interface;
[0199] Obtain simulation scenarios and build simulation environments based on the simulation scenarios;
[0200] Load the device model based on the simulation environment, perform lightweight processing on the device model, and add simulation scenarios. The device model includes user-defined models or standard models selected from the system library;
[0201] The production line layout is loaded based on the simulation environment to generate production line layout information. The production line layout includes multiple production line equipment, and the production line equipment includes workstations, conveyor belts and robots.
[0202] It should be noted that the model can be a 3D model imported by the user or a model representation in the software's own asset library, which is used to represent the actual production line equipment in the simulation environment. The model is lightweight and can be simulated in the simulation with high performance.
[0203] According to an embodiment of the present invention, required function nodes are added to the device model, and each function node is configured to obtain configuration information, which specifically includes:
[0204] Obtain type and function information of industrial equipment;
[0205] Generate different types of equipment nodes based on the type information of industrial equipment, where the equipment nodes include: feeding equipment, conveyor line, processing equipment, storage equipment and unloading equipment;
[0206] Generate corresponding functional nodes based on the functional information of industrial equipment, where the functional nodes include transportation nodes, feeding nodes, caching nodes, processing nodes and unloading nodes;
[0207] Specific parameters are set for each functional node, and each functional node is configured based on the specific parameters to obtain configuration information, wherein the specific parameters include the processing time, capacity limit and failure rate of the node.
[0208] It should be noted that the transportation node simulates the movement of materials on the production line. Specifically, it transports materials from one point to another. By simulating different means of transportation, various types of motion simulation can be realized, such as belt lines, lifting mechanisms, rotating mechanisms, three-axis module grasping, six-axis robot grasping material movement and other motion modes; the feeding node simulates the supply process of raw materials, and can set the loading interval, material change time and other data that affect the production rhythm; the cache node simulates the temporary storage link in the production line; the processing node simulates the process of processing or handling materials. After processing the production time, the raw materials can be transformed into another product. During the production process, the utilization rate and yield rate of the processing can also be set to obtain a more realistic effect; the unloading node simulates the collection and output of finished products.
[0209] Specifically, the parameter settings of the functional nodes include that each functional node can set specific parameters, such as processing time, capacity, speed, utilization rate, yield rate, etc., to simulate the performance of the equipment in actual production.
[0210] Take the utilization rate as an example: take 24 hours as a unit, calculate the number of failures within 24 hours according to the set average failure time, and then calculate the maintenance time according to the number and the average maintenance time. Then subtract the maintenance time and the material replacement time, and the remaining is the effective working time. The formula is as follows:
[0211] RepairTime=MTTR×24 / MTBF
[0212] TotalTime=RepairTime+ChangeTime
[0213] UtilizationRatio=1-(TotalTime / 24)
[0214] The function construction of the processing node includes simulating the process of processing or handling materials. After the processing of production time, the raw materials can be transformed into another product. During the production process, the processing utilization rate and yield rate can also be set to obtain a more realistic effect. The operation process is as follows:
[0215] When material change is required or the machine is shut down at full capacity:
[0216] IsStop change =WorkTime>ChangeTime;
[0217] IsStop Utilization =WorkTime>UtilizationRatio×timeSpan;
[0218] When enough raw materials are obtained, the processing process begins:
[0219] IsFinished process =WorkTime>ProcessTime;
[0220] After processing is completed, the product is created and moved to the outfeed point of the equipment.
[0221] According to an embodiment of the present invention, a flow chart is constructed based on the function nodes and the matching configuration information to display the logic information of the production line and the material flow path information, specifically including:
[0222] Obtain the flow relationship in the process nodes, establish the graph relationship and the material flow between the nodes, and simulate the production and transportation functions of the production line;
[0223] Based on the graph relationship and the material flow between nodes, a corresponding flowchart is constructed. Based on the flowchart, the layout information of all equipment nodes of the production line is analyzed to obtain logical information.
[0224] Based on the transportation nodes, the movement of materials on the production line is simulated, and the materials are transported from one point to another. By simulating different means of transportation, the material flow path information is generated.
[0225] It should be noted that for the movement of materials on the equipment node, it is necessary to consider the movement of multiple path points and the collision blocking between multiple materials. The material movement operation process is as follows:
[0226] Traverse the materials that have entered the node but have not yet reached the execution point and calculate the current speed. The formula is as follows:
[0227] Speed product=Min(Speed cur +accSpeed×Time delta ,Speed max );
[0228] According to the path point where the material is currently located, calculate the current moving direction. The formula is as follows:
[0229] Vec=(Pos next -Pos cur ).Normalized
[0230] Calculate the position to move to:
[0231] Distance move =Speed product ×Time delta ×Vec;
[0232] Pos target =Pos cur +Distance move ;
[0233] Check whether the target location is occupied and build a bounding box at the target point. The formula is as follows:
[0234] Obb target =CreateObb(Pos target ,Size product ,Rotation product );
[0235] Check the target position bounding box for obstruction by other materials on the current node. The formula is as follows:
[0236] CanMove = IntersectsObb(Obb products[i] ,Obb target );
[0237] Similarly, check the collision between the target position bounding box and the material on the downstream node.
[0238] Check whether the material has reached the next path point. The formula is as follows:
[0239] Distance next =Vector3.Distance(Pos cur ,Pos next );
[0240] IsReach=Distance move >Distance next ;
[0241] If it arrives, the material will be moved to the target point and the excess will be calculated into the movement of the next path point to avoid accumulation of calculation errors.
[0242] Product pos =Pos next ;
[0243] Product pos +=(Distance move -Distance next )×Vec next ;
[0244] If not reached, move the material's position and then start the calculation from the initial step.
[0245] Product pos =Pos target .
[0246] According to an embodiment of the present invention, additional program statement nodes can be added, specific control logic can be written, logic information can be obtained, simulation programs can be executed according to function nodes and logic information, simulation data can be obtained in real time, and simulation results and data analysis reports can be generated based on the simulation data, specifically including:
[0247] Build programming language and logic control statements based on PLC programming environment to generate control logic;
[0248] Based on the control logic, a simulation program is executed on the functional nodes according to the flow relationship, and the operation information of the production line is simulated based on the simulation program; wherein the operation information of the production line includes the flow information of materials, the start and stop information of equipment, and the generation information of production data;
[0249] Acquire simulation data in real time based on the operation information of the production line, analyze the production efficiency information, equipment utilization information and material inventory level information of the production line based on the simulation data, and generate visual reports and charts;
[0250] The simulation results and data analysis report are obtained by integrating visualization reports and charts.
[0251] It should be noted that by recording the relevant data on the nodes and materials and obtaining a simulation report, and by statistics and analysis of the key indicators, the designers and owners of the production lines can carry out targeted optimization and modification of the production lines.
[0252] According to an embodiment of the present invention, the performance and efficiency of the production line are evaluated based on the data analysis report to obtain an evaluation result, and the configuration information or program statements of the production line are adjusted based on the evaluation result to generate a complete simulation report, which specifically includes:
[0253] Evaluate the performance and efficiency of the production line based on the simulation results and data analysis report to obtain the evaluation results;
[0254] Compare the evaluation results with the set evaluation condition information to obtain the evaluation deviation rate;
[0255] Determine whether the evaluation deviation rate is greater than or equal to the set evaluation deviation rate threshold;
[0256] If it is greater than or equal to, then generate correction information, adjust the production line configuration or program statement according to the correction information, and repeat the simulation, data collection, analysis and evaluation process until the simulation result of the set evaluation condition information is achieved;
[0257] If it is less than, a detailed simulation report is generated, which includes statistical data information, chart information and optimization suggestion information of key indicators, saves the current configuration information, and archives the simulation report.
[0258] It should be noted that users evaluate the performance and efficiency of the production line based on simulation results and data analysis reports, identify areas that need improvement, such as production bottlenecks, equipment failures, material shortages, etc., and make corresponding adjustments.
[0259] In addition, users can save the current simulation configuration and results for future reference or further analysis. The simulation results and reports can be exported into multiple formats, such as PDF, Excel, etc., to facilitate user sharing and use. Users can provide developers with feedback on system performance, user experience and functional requirements through the feedback mechanism provided by the system. The development team continuously improves system functions and adds new device models and simulation algorithms based on user feedback.
[0260] According to an embodiment of the present invention, the transport node simulates the movement of materials on the production line, and further includes:
[0261] Define the transportation route on the equipment model or extract the route based on the relationship between upstream and downstream equipment. The steps are as follows:
[0262] If there is a model path point definition, use the path point directly. The calculation formula is as follows:
[0263] PathPose=portHandler.GetPortsPoints();
[0264] If the model has a corresponding transport area definition, use the transport area to construct the bounding box. The calculation formula is as follows:
[0265] area=conveyorBelt.GetTransferArea();
[0266] obb=new AABB(area.center,area.size);
[0267] Extract the center point of the top surface of the bounding box and the midpoints of the four sides. The calculation formula is as follows:
[0268] Pos centerO =Pos obbCenter +Vector3 offset ;
[0269] Pos center =Pos centerO +Vector3(0,obb.Size.y×0.5f,0);
[0270] Pos1=Pos centerO +Vector3(obb.Size.x×0.5f,obb.Size.y×0.5f,0)
[0271] Pos2=Pos centerO +Vector3(-obb.Size.x×0.5f,obb.Size.y×0.5f,0)
[0272] Pos3=Pos centerO +Vector3(0,obb.Size.y×0.5f,-obb.Size.z×0.5f)
[0273] Pos4=Pos centerO +Vector3(0,obb.Size.y×0.5f,obb.Size.z×0.5f)
[0274] According to the relationship between upstream and downstream devices, extract the points closer to the upstream device and the points closer to the downstream device as the endpoints of the path, and find the point closest to the Node. The calculation formula is as follows:
[0275]
[0276] if:
[0277] if index = 1 or 2;
[0278] pose1=Pos1,pose2=Pos2;
[0279] if index = 3 or 4;
[0280] pose1=Pos3,pose2=Pos4;
[0281] The starting point and the end point are distinguished according to the distance from the Node. The calculation formula is as follows:
[0282] if Vector3.Distance(node.Position,pose1.Position)
[0283] >Vector3.Distance(node.Position,pose2.Position)
[0284] Swap(pose1,pose2).
[0285] Furthermore, the cache node simulates the temporary storage of materials in the production line. After entering the storage, it occupies the node capacity and is output to the downstream node after meeting certain conditions. After the product is moved into the unloading node for storage or packaging, it is regarded as being removed from the production line and data statistics are performed.
[0286] In summary, the present invention uses process nodes to abstract the functions of industrial equipment, reconstructs the industrial production line in the software through various types of functional nodes, and collects corresponding data in simulation, so as to obtain an optimization plan after data analysis. Through different types of process nodes, it not only includes attention to the rhythm and efficiency of production equipment, but also simulates the fine movements of the equipment through imperative programming, while effectively reducing the performance requirements of large-scale production line equipment simulation.
[0287] The third aspect of the present invention provides a computer-readable storage medium, which includes an industrial production line simulation experiment method program. When the industrial production line simulation experiment method program is executed by a processor, the steps of the industrial production line simulation experiment method as described above are implemented.
[0288] The present invention discloses an industrial production line simulation experiment method, system and medium, which initializes the simulation environment, loads the equipment model and the production line layout based on the simulation environment, and generates the production line layout information; adds the required functional nodes to the equipment model, configures each functional node, and obtains the configuration information; constructs a flow chart based on the functional nodes and the matching configuration information, and displays the logical information and material flow path information of the production line; can add program statement nodes additionally, write specific control logic, obtain logical information, execute the simulation program according to the functional nodes and the logical information, and obtain simulation data in real time; generates simulation results and data analysis reports based on the simulation data, evaluates the performance and efficiency of the production line, obtains the evaluation results, adjusts the configuration information or program statements of the production line based on the evaluation results, and generates a complete simulation report; the present invention simplifies the user operation process, and performs simulation experiments before actually putting it into production, which can discover potential problems and bottlenecks in advance, help users avoid risks, and reduce economic losses caused by production line adjustments.
[0289] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0290] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0291] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0292] Those skilled in the art can understand that: all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, and other media that can store program codes.
[0293] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
Claims
1. An industrial production line simulation experiment method, characterized in that: include: Initialize the simulation environment, load the equipment model and production line layout based on the simulation environment, and generate production line layout information; Add the required function nodes to the device model, configure each function node, and obtain configuration information; Build a flow chart based on functional nodes and matching configuration information to display the logic information of the production line and the material flow path information; Execute simulation programs based on functional nodes and logic information, obtain simulation data in real time, and generate simulation results and data analysis reports based on simulation data; The performance and efficiency of the production line are evaluated based on the data analysis report to obtain the evaluation results, and the configuration information or program statements of the production line are adjusted based on the evaluation results to generate a complete simulation report.
2. The industrial production line simulation experiment method according to claim 1 is characterized in that: Initialize the simulation environment, load the equipment model and production line layout based on the simulation environment, and generate production line layout information, including: After the system is started, it first performs initialization operations and loads the necessary simulation engine, database and user interface; Obtain simulation scenarios and build simulation environments based on the simulation scenarios; Load the device model based on the simulation environment, perform lightweight processing on the device model, and add simulation scenarios. The device model includes user-defined models or standard models selected from the system library; The production line layout is loaded based on the simulation environment to generate production line layout information. The production line layout includes multiple production line equipment, and the production line equipment includes workstations, conveyor belts and robots.
3. The industrial production line simulation experiment method according to claim 2 is characterized in that: Add the required function nodes to the device model, configure each function node, and obtain configuration information, including: Obtain type and function information of industrial equipment; Generate different types of equipment nodes based on the type information of industrial equipment, where the equipment nodes include: feeding equipment, conveyor line, processing equipment, storage equipment and unloading equipment; Generate corresponding functional nodes based on the functional information of industrial equipment, where the functional nodes include transportation nodes, feeding nodes, caching nodes, processing nodes and unloading nodes; Specific parameters are set for each functional node, and each functional node is configured based on the specific parameters to obtain configuration information, wherein the specific parameters include the processing time, capacity limit and failure rate of the node.
4. The industrial production line simulation experiment method according to claim 3 is characterized in that: Build a flow chart based on the function nodes and matching configuration information to display the logic information of the production line and the material flow path information, including: Obtain the flow relationship in the process nodes, establish the graph relationship, and simulate the production and transportation functions of the production line through the flow of materials between nodes; Based on the graph relationship and the material flow between nodes, a corresponding flowchart is constructed. Based on the flowchart, the layout information of all equipment nodes of the production line is analyzed to obtain logical information. Based on the transportation nodes, the movement of materials on the production line is simulated, and the materials are transported from one point to another. By simulating different means of transportation, the material flow path information is generated.
5. The industrial production line simulation experiment method according to claim 4 is characterized in that: Also includes: You can add additional program statement nodes to write specific control logic to control the simulation; Build programming language and logic control statements based on PLC programming environment to generate control logic; Execute simulation program on functional nodes according to flow relationship based on control logic; The operation information of the production line is simulated based on the simulation program; wherein the operation information of the production line includes the flow information of materials, the start and stop information of equipment, and the generation information of production data.
6. The industrial production line simulation experiment method according to claim 4 is characterized in that: The steps to generate simulation results and data analysis reports include: Start simulation according to functional nodes and flow relationships and obtain simulation data in real time; Analyze production efficiency information, equipment utilization information and material inventory level information of the production line based on simulation data, and generate visual reports and charts; The simulation results and data analysis report are obtained by integrating visualization reports and charts.
7. An industrial production line simulation experiment system, characterized in that: The system includes: a memory and a processor, wherein the memory includes a program of an industrial production line simulation experiment method, and when the program of the industrial production line simulation experiment method is executed by the processor, the following steps are implemented: Initialize the simulation environment, load the equipment model and production line layout based on the simulation environment, and generate production line layout information; Add the required function nodes to the device model, configure each function node, and obtain configuration information; Build a flow chart based on functional nodes and matching configuration information to display the logic information of the production line and the material flow path information; Execute simulation programs based on functional nodes and logic information, obtain simulation data in real time, and generate simulation results and data analysis reports based on simulation data; The performance and efficiency of the production line are evaluated based on the data analysis report to obtain the evaluation results, and the configuration information or program statements of the production line are adjusted based on the evaluation results to generate a complete simulation report.
8. The industrial production line simulation experiment system according to claim 7 is characterized in that: Initialize the simulation environment, load the equipment model and production line layout based on the simulation environment, and generate production line layout information, including: After the system is started, it first performs initialization operations and loads the necessary simulation engine, database and user interface; Obtain simulation scenarios and build simulation environments based on the simulation scenarios; Load the device model based on the simulation environment, perform lightweight processing on the device model, and add simulation scenarios. The device model includes user-defined models or standard models selected from the system library; The production line layout is loaded based on the simulation environment to generate production line layout information. The production line layout includes multiple production line equipment, and the production line equipment includes workstations, conveyor belts and robots.
9. The industrial production line simulation experiment system according to claim 8 is characterized in that: Add the required function nodes to the device model, configure each function node, and obtain configuration information, including: Obtain type and function information of industrial equipment; Generate different types of equipment nodes based on the type information of industrial equipment, where the equipment nodes include: feeding equipment, conveyor line, processing equipment, storage equipment and unloading equipment; Generate corresponding functional nodes based on the functional information of industrial equipment, where the functional nodes include transportation nodes, feeding nodes, caching nodes, processing nodes and unloading nodes; Specific parameters are set for each functional node, and each functional node is configured based on the specific parameters to obtain configuration information, wherein the specific parameters include the processing time, capacity limit and failure rate of the node.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes an industrial production line simulation experiment method program. When the industrial production line simulation experiment method program is executed by a processor, the steps of the industrial production line simulation experiment method as described in any one of claims 1 to 6 are implemented.