A 3D simulation system and method for a hub workshop driven by real-time data
Through the real-time data-driven three-dimensional simulation system, the problem of poor real-time monitoring and simulation models in the hub workshop is solved, real-time monitoring and offline optimization with the simulation results consistent with the actual, and the accuracy and flexibility of production evaluation are improved.
Patent Information
- Application Number
- CN202111331950.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-11
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2041-11-11
AI Technical Summary
The real-time monitoring threshold of the hub workshop is high and the model is poor. The workshop status is not considered at the beginning of the real-time simulation, and the lack of combination of real-time simulation and offline simulation results lead to a large deviation from the actual situation, making it impossible to accurately predict the order completion period and optimize production.
A three-dimensional simulation system driven by real-time data is adopted, including a data transmission module, a real-time database and a simulation model framework. Through the data mapping mechanism, real-time production logistics data is converted into strings, initialized the simulation model, and switched to offline simulation state during the real-time simulation process. The simulation model is built using Plant Simulation software to realize the parsing and driving of real-time data.
The simulation results are consistent with the actual situation of the wheel hub workshop, and can monitor the equipment status and order completion period in real time, provide high flexibility and low threshold simulation model reuse, support offline simulation optimization, and improve the accuracy of production evaluation and optimization.
Smart Images

Figure CN114169139B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical fields of computer simulation and system integration, and more specifically, relates to a three-dimensional simulation system and method for a hub workshop driven by real-time data. Background Art
[0002] The production stage is the most important part of an enterprise's production operation. Especially in a highly competitive environment, it is crucial to complete the processing and manufacturing of products before the product delivery date. Due to factors such as untimely detection of equipment failures in the hub workshop and delays in processing order products, the phenomenon of order delivery delays is quite common. Moreover, there are problems in the hub workshop such as low machine utilization rate, serious accumulation of work-in-progress, and unreasonable production scheduling. Therefore, a method is needed to timely grasp the operation status of the hub production workshop and the order completion status, and predict the completion time of a batch of orders based on the current workshop status.
[0003] Traditional methods often use two-dimensional forms such as icons and line charts to reflect the machine status and order completion status information. However, this method provides less information and is not intuitive, and cannot continuously monitor a specific product or key equipment, failing to meet the real-time management requirements of workshop managers and restricting the development of workshop intelligence. Not only that, traditional simulation models operate based on the default initial workshop state and predefined simulation logic. As time goes by, due to the randomness of the hub workshop system and the difference between the predefined simulation logic and reality, the prediction of order completion time and other simulation results often deviate significantly from the actual situation. In contrast, real-time data-driven simulation, which runs based on real-time transmitted data, can ensure the consistency between the simulation model and the real system. It can not only online monitor the order completion status and equipment status in real time, but also predict the order completion time based on the current hub workshop status. After the simulation is completed, it can also evaluate and optimize the hub workshop according to data such as equipment utilization rate and changes in the number of work-in-progress obtained from the simulation.
[0004] Other existing methods use Unity3D and Demo3D to build 3D models and perform 3D monitoring of the hub workshop based on real-time data such as MES and PLC. They can monitor the status of materials, equipment, etc. in the workshop, focusing on displaying the attribute data of the equipment but lacking the monitoring of production logistics. This method has the disadvantages of high implementation threshold, poor model reusability, and difficult implementation. Moreover, it cannot perform offline simulation to estimate the completion date of orders and is not applicable to the real-time monitoring and production logistics optimization of the hub workshop. In addition, existing data-driven simulation technologies often do not consider the status of work-in-progress, equipment availability, etc. in the hub workshop at the beginning of the simulation or use the default status, and the simulation process does not fully conform to the actual situation of the workshop, so it cannot accurately perform real-time simulation of the workshop. Therefore, the hub workshop needs a 3D simulation system that can easily implement real-time data-driven, with the initial simulation state consistent with the actual state of the hub workshop, and can also switch to the offline simulation state to quickly simulate and predict the order completion date and obtain other simulation data. The real-time simulation and offline simulation can be switched, so as to perform real-time management and evaluation optimization of the hub workshop. Summary of the Invention
[0005] In view of the above defects or improvement requirements of the prior art, the present invention provides a 3D simulation system and method for a hub workshop driven by real-time data, aiming to perform online and offline simulations of the hub workshop in real time and accurately.
[0006] To achieve the above object, according to one aspect of the present invention, there is provided a 3D simulation system for a hub workshop driven by real-time data, including:
[0007] A data transmission module, configured to receive real-time production logistics data of the workshop and convert it into a string according to a data mapping mechanism;
[0008] A real-time database, configured to store the string output by the real-time data transmission module;
[0009] A simulation model framework, configured to, at the initial simulation moment, initialize according to the data in the real-time database, create simulation objects not included in the simulation model or modify the attributes of existing simulation objects according to the attribute data; during the real-time simulation process, implement real-time simulation by parsing the data in the real-time database; wherein, the simulation model can switch from real-time simulation to offline simulation state, read the offline simulation modeling data of the real-time database, establish the offline simulation material flow logic and control logic, and implement the offline simulation of the hub workshop with the current workshop state and production logistics logic.
[0010] Further, the implementation process of the data mapping mechanism is as follows:
[0011] Map each production element in the hub workshop to a simulation element;
[0012] Use the form of characters as the codes for simulation element classes: different characters represent different simulation element classes;
[0013] Establish event and action libraries for each simulation element class respectively, and assign unique characters as codes to events and actions;
[0014] Mark the serial numbers for the objects belonging to the same simulation element class.
[0015] Furthermore, the real-time database includes a simulation element table and a dynamic event table;
[0016] The simulation element table is used to store the status information of each simulation element class in the workshop; different simulation element classes correspond to different simulation element tables;
[0017] The dynamic event table is used to store the events, actions and corresponding timestamps that occur in the workshop.
[0018] Furthermore, the data transmission module includes a real-time data input unit and a real-time data output unit;
[0019] The real-time data input unit is used to convert the real-time production logistics data collected into events or actions of simulation elements through a data mapping mechanism, store them in the dynamic event table of the real-time database, and modify the data in the corresponding simulation element table of the real-time database;
[0020] The real-time data output unit is used to read the real-time data in the real-time database and send it to the simulation model.
[0021] Furthermore, the simulation model framework includes a simulation element class library, a communication port, a model generator, a real-time data parser and a simulation clock unit;
[0022] The simulation element class library is used to provide the geometric models of simulation elements and the control logic used in offline simulation;
[0023] The communication port is used to receive the data in the simulation element table and the dynamic event table in the real-time database;
[0024] The model generator is used to create a simulation model according to the data in the simulation element table in the real-time database at the initial moment of simulation;
[0025] The real-time data parser is used to parse the data in the dynamic event table in the real-time database during the real-time simulation process and drive the operation of the simulation model;
[0026] The simulation clock unit is used to drive the continuous operation of the real-time simulation, ensuring that the simulation time is consistent with the physical time flow rate and uninterrupted.
[0027] Furthermore, the simulation model framework is constructed using Plant Simulation simulation software.
[0028] According to another aspect of the present invention, there is provided a three-dimensional simulation method for a wheel hub workshop based on the above system, including:
[0029] S1. At the initial moment of simulation, the real-time data transmission unit reads the data in each simulation element table in the real-time database, combines the data into a string and sends it to the simulation model framework. The model generator of the simulation model framework creates corresponding simulation elements according to the received data to initialize the simulation model;
[0030] S2. During the real-time simulation process, the real-time data transmission unit reads the data in the dynamic event table in the real-time database, and sends the data to the simulation model in the form of a string. The simulation model parses the real-time data according to the data mapping mechanism and runs according to the parsing result.
[0031] Generally speaking, compared with the prior art by the above technical solutions conceived by the present invention, the following beneficial effects can be achieved.
[0032] (1) In the present invention, the workshop state is initialized according to the information in each simulation element table at the initial moment of real-time simulation, and the real-time simulation result is consistent with the actual situation of the wheel hub workshop; the offline simulation takes the current workshop state as the initial state, and the simulation result is more in line with the actual situation; in the process of real-time simulation of the present invention, it can be switched to offline simulation, taking the current workshop state as the initial condition, to obtain data such as the completion date of the order, the accumulation of work-in-process, and the equipment utilization rate, which is convenient for evaluating and optimizing the wheel hub workshop.
[0033] (2) The data mapping mechanism proposed by the present invention can map the real-time data collected by the Internet of Things or other enterprise information sources into a string for storage, and can be flexibly adjusted according to the different specific simulation elements in the wheel hub workshop, with a low implementation threshold and good flexibility.
[0034] (3) The simulation model is created by the simulation framework according to the data in the simulation element table. When the workshop layout changes or equipment is added or removed, only the corresponding data in the simulation element table needs to be modified to generate a new model. Therefore, the reusability of the simulation model is high. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is the architecture diagram of a three-dimensional simulation system for a wheel hub workshop driven by real-time data provided by the present invention.
[0036] Figure 2 is the modeling step of the three-dimensional simulation model in a three-dimensional simulation system for a wheel hub workshop driven by real-time data provided by the present invention.
[0037] Figure 3It is an implementation method of the real-time data transmission unit in a three-dimensional simulation system of a hub workshop driven by real-time data provided by the present invention.
[0038] Figure 4 It is a statistical information diagram of the processing equipment in the hub workshop obtained after implementing a three-dimensional simulation method of a hub workshop driven by real-time data provided by the present invention.
[0039] Figure 5 It is an information diagram of the accumulation of work-in-process in the buffer area of the hub workshop obtained after implementing a three-dimensional simulation method of a hub workshop driven by real-time data provided by the present invention. Specific implementation manner
[0040] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0041] The present invention provides a three-dimensional simulation method and system for a hub workshop driven by real-time data, mainly solving the following problems:
[0042] The real-time monitoring threshold of the hub workshop is high and the model reusability is poor;
[0043] At the initial moment of real-time simulation, the work-in-process, equipment availability and other workshop states of the hub workshop are not considered, and the simulation process does not fully conform to the actual situation of the workshop, so the workshop cannot be accurately simulated in real time;
[0044] The combination of real-time simulation and offline simulation is lacking;
[0045] The present invention is based on the following premise: a SCADA (Supervisory Control And Data Acquisition) system or sensor with real-time data of simulation elements such as acquisition equipment, AGV (Automatic Guided Vehicle), materials, etc., and can convert the acquired real-time data into a string according to the real-time data mapping mechanism and store it in the dynamic event table of the real-time database. Among them, the real-time data adopts an event-driven acquisition method, and events or actions that change the workshop state are acquired according to simulation requirements, such as the start of an AGV, the movement of materials, the start of equipment processing, etc.
[0046] Please refer to Figure 1 , the real-time data-driven hub workshop simulation system provided by the present invention includes a real-time data mapping mechanism, a real-time database, a simulation model framework, and a data transmission module.
[0047] The real-time data mapping mechanism converts the real-time production logistics data collected into a predefined code for storage. And the real-time data parser of the simulation model parses the real-time data according to the real-time data mapping mechanism to drive the operation of the simulation model. First, analyze the production logistics logic of the hub workshop, determine the mapping relationship between workshop elements and simulation elements, and use characters as the codes for simulation element classes, with different characters representing different simulation element classes. Then, establish different event and action libraries for each workshop simulation element, and assign a unique character as the code for each event and action, which is convenient for adding a timestamp and the code of the object of action during data collection, converting it into a string and storing it in the dynamic event table, and modifying the attribute data of the corresponding simulation element table. The code of the object of action is represented by the simulation element class code + object serial number, where the object serial number refers to the serial number of the object in the class, and the object serial numbers in a class are existent and unique. The Socket module of PlantSimulation can only accept data types such as strings and arrays, and does not support XML and JSON data formats. Therefore, building a real-time data mapping mechanism facilitates storage and transmission in the form of strings.
[0048] Processing equipment, manipulators, and materials are common simulation elements. The real-time data of processing equipment includes but is not limited to starting work, stopping work, fault occurrence, fault stopping, setting start, and setting end. The real-time data of manipulators includes but is not limited to fault occurrence, fault end, starting movement, stopping movement, and movement mode. The real-time data of materials includes but is not limited to material creation, material movement, and material termination. For example, use the event code of "timestamp + object of action code + event type code" to represent that a specified object of action has occurred a specified event at a specified moment, and use the action code of "timestamp + object of action code + action type code + duration" to represent that a specified object of action has occurred a specified action at a specified moment. "c,1,1" means that the sub-object with the class code of "c" and the serial number of 1 has occurred the event with the code of "1".
[0049] The real-time database is built with MySQL and includes a simulation element table and a dynamic event table. The simulation element table mainly stores the status attribute information of workshop simulation elements, and the dynamic event table mainly stores the real-time data of the workshop. Each simulation element class has a different simulation element table for storing the status information of workshop simulation elements. For example, the simulation element table of a machine tool may contain attribute data such as ID, class name, name, coordinates, processing time, predecessor object, successor object, etc., and the simulation element table of materials may contain attribute data such as ID, class name, name, location, size, etc. When the simulation starts, the simulation model framework initializes according to each simulation element table, creates simulation objects not included in the simulation model, or modifies the attributes of existing simulation objects according to the attribute data; the dynamic event table stores the events, actions and corresponding timestamps that occur in the workshop to continuously drive the operation of the 3D simulation model. Generally, it contains two columns. The first column is used to store the occurrence time of the event or action, and the second column is used to store the string encoding of the event or action that occurs.
[0050] Please refer to Figure 2 , the simulation model framework is used to create a simulation model during initialization and implement real-time data-driven simulation and offline simulation. Taking PlantSimulation as an example of 3D simulation software, the construction steps of the simulation model framework are as follows:
[0051] A1, Create objects such as the floor, walls, signs, RGV tracks, etc. of the hub workshop in a drag-and-drop manner, which are complex and not easy to establish a simulation class library, and assign sensors and offline control logic to the RGV track.
[0052] A2, Establish a simulation element class library, import the geometric models of simulation elements and perform lightweight processing, establish corresponding kinematic pairs, postures and action scripts, and set offline control logic in the corresponding equipment class library. When the real-time simulation switches to offline simulation, this offline control logic will be triggered to execute, including performing corresponding initialization operations according to the current object state, running logic consistent with the actual workshop, etc. For example, if the simulation manipulator has just finished unloading, but switches to offline simulation, the simulation manipulator will not receive the instruction to rotate to the idle state. At this time, it is necessary to use internal simulation instructions to make it rotate to the idle state. Another example is that there is a workpiece being processed in a certain simulation device, but the simulation switches to offline simulation. Then, the material needs to be removed from the simulation device after the remaining processing time. This function is realized by the offline control logic.
[0053] A3, Build a simulation clock unit, which includes a Source, a Drain and the connection line between the two. Set the material generation quantity of the Source to "infinite", which ensures that even if the simulation model does not receive real-time data within a certain period of time, there are still simulation events to continue driving the simulation clock to run instead of stopping the simulation clock, ensuring the consistency between simulation time and physical time.
[0054] A4. Build a model generator and a real-time data parser. The model generator builds simulation object models or changes object attribute values according to the received simulation element table data at the initial moment of simulation. It can be written using a Switch statement, parsing the data according to the column attribute meanings of the simulation element table and performing creation or attribute value change operations for different device types. The real-time data parser parses the received real-time simulation data during the simulation process and drives the simulation model to run. It can be written using a Switch statement. First, it determines the target of the real-time data signal and processes and parses the real-time data signal for different targets. For example, for "c,1,0" in the dynamic event table, "c" represents the AGV class, "1" represents the object with the serial number 1 in the AGV class, and "0" represents the event that the AGV class stops moving. Then the real-time data parser determines the Switch branch statement to be executed according to "c", and then determines the specific AGV as "AGV1" based on "c" and "1", and will execute the statement "AGV1.stopped := true" to make AGV1 stop moving.
[0055] A5. Establish a Socket communication module, determine the IP address and port, and build a callback function. It is written in SimTalk language and calls the model generator or the real-time data parser according to different received data types.
[0056] The data transmission module is used to store and convert the real-time production logistics data of the workshop, and read and send the real-time data to the simulation model framework. The data transmission module includes a real-time data input unit and a real-time data output unit. The real-time data input unit converts the real-time data collected by the SCADA system or sensors into a predefined code according to the real-time data mapping mechanism and stores it in the dynamic event table of the real-time database, and modifies the data in the corresponding simulation element table. The real-time data output unit reads the data in each simulation element table at the start of the simulation, concatenates the data into a string, and sends it to the simulation model framework through the Socket interface. The model generator of the simulation model framework builds a model or initializes it according to the data to obtain a 3D simulation model, then continues to read the real-time data in the dynamic event table and send it to the 3D simulation model through the Socket. The real-time data parser of the 3D simulation model parses the real-time simulation data and drives the model to run according to the parsing results.
[0057] Please refer to Figure 3 , the working mode of the real-time data output unit of the present invention is as follows:
[0058] B1. Record the start time of real-time simulation, determine the real-time data reading interval, which can generally be set to 0.5 s. Read the data in the entire simulation element table, splice the row data into a string using a delimiter, and then splice the different row data into a total string using another delimiter and send it to the simulation model framework. The simulation model framework initializes and models based on the data to form a 3D simulation model. The delimiter can be selected from ",", "#", "%", etc. For example, using "," as the row data connector and "#" as the delimiter between different rows, then "%1,k,buffer1,13.5*-3*0,30,0%2,k,buffer2,19*-5.5*0,30,0" represents the splicing of two row data, which are "1,k,buffer1,13.5*-3*0,30,0" and "2,k,buffer2,19*-5.5*0,30,0" respectively.
[0059] B2. After the physical time advances by a real-time data reading interval, read all the real-time data within this time period from the dynamic event table, splice the different row data into a string using a delimiter and send it to the 3D simulation model. For example, using "#" as the delimiter for connecting row data, then "#b,1,2,3,5#b,1,11#c,1,1" indicates that three real-time events occurred within this real-time data reading interval, which are "b,1,2,3,5", "b,1,11", and "c,1,1" respectively.
[0060] B3. Repeat B2 until the physical time reaches the predetermined cut-off time or the simulation stops.
[0061] The offline simulation logic includes the material flow logic and the control logic, which are used to ensure that the offline simulation model is consistent with the actual wheel hub workshop in terms of material flow and other logic controls. Establishing the offline simulation material flow logic is to automatically create the corresponding connection lines according to the predecessor and successor object names in the simulation element table. When switching from real-time simulation to offline simulation, the model generator automatically creates the connection lines between simulation objects according to the predecessor and successor data in the simulation element table to implement the material flow logic. Establishing the control logic is to activate the relevant control logics such as AGV, manipulator, and material movement in the offline simulation state, and add the initialization logic for switching from real-time simulation to offline simulation. Relevant Methods can be created in advance in the simulation framework as control logics, with an if-else statement built in. When the simulation model is in real-time simulation, the Return statement is executed, and the main body of the Method does not execute. Only when the simulation model is in offline simulation, the main body statement of the Method's logic control is executed.
[0062] The present invention also provides a 3D simulation method for a wheel hub workshop driven by real-time data, which specifically includes the following steps:
[0063] (1) At the initial moment of simulation, the real-time data transmission unit reads the data in each simulation element table in the MySQL real-time database, combines the data into a string and sends it to the simulation model framework through Socket. The model generator of the simulation model framework creates corresponding simulation elements according to the received data to initialize the simulation model. For example, when the simulation model framework receives "1,k,buffer1,13.5*-3*0,30,0", it calls the model generator for parsing, and checks the meaning of the columns in the buffer table. Here, 1 represents the row number, k represents the encoding of the buffer class, buffer1 represents the name of the object, 13.5*-3*0,30 represents the three-dimensional coordinates of the object, 30 represents the buffer capacity, and 0 represents that the outlet adopts the first-in-first-out control logic. First, it checks whether there is an object named buffer1 in the framework. If not, it creates one and then assigns values to its attributes.
[0064] (2) The real-time data transmission unit reads the data in the dynamic event table in the MySQL real-time database, and sends the data to the simulation model in the form of a string through Socket. The simulation model parses the real-time data according to the virtual-real mapping mechanism and runs according to the parsing result. For example, for the real-time data "m,1,1", it means that the first instance object of the class encoded as m has occurred the first event. The first digit m represents the CNC1 class, the second digit 1 represents its first sub-object, and the combination of the first two digits can uniquely determine the simulation object. The third digit 1 represents the first event of this class (object).
[0065] The following further elaborates on the present invention with a specific embodiment.
[0066] In a certain hub processing workshop, according to the simulation requirements, the determined simulation elements are a movable manipulator, a fixed manipulator, a conveyor belt, four different processing devices (two for each of the four processes), and four buffers. The steps and implementation methods for constructing a three-dimensional simulation system driven by real-time data are as follows:
[0067] S1. Establish a real-time data mapping mechanism. Please refer to Table 1. For different simulation elements, respectively determine the class code, class name, and specific event / action code. Adding the action object code to the event / action code gives the event / action encoding. In the event / action encoding, the delimiter ",", is only used for separation. The first character represents the class name, the second character represents the serial number of the object in the class, the third character represents the specific event or action, and the fourth and subsequent characters are further explanations of the event or action. For example, "m,1,1" means that the first object of the CNC1 class has occurred the event of the machine starting to process. "d,1,1,10" means that the first object of the fixed_robot class needs 10 s to rotate to the idle state.
[0068] Table 1
[0069]
[0070] S2. Use MySQL as the real-time database to construct various simulation element tables and dynamic event tables. The simulation element tables are used to record the attribute values and current states of various simulation elements. Different types of simulation elements need to record different attribute data, so multiple different simulation element tables need to be designed. For example, the CNC machine tool CNC1 includes the following columns: ID, class name, name, three-dimensional coordinates, processing time, setting time, predecessor object, and successor object. The mobile manipulator includes the following columns: ID, class name, name, attitude, location object, and translation speed. The dynamic event table contains two columns. The first column is the timestamp, and the second column is the real-time data code. One row of data represents that a specified event or action occurs at a specified moment.
[0071] S3. Establish the simulation model framework of the hub production workshop. First, drag the workshop floor and the RGV track to the model framework and specify the sensors and offline control logic. Then import the geometric models of the simulation elements for lightweight processing and establish the corresponding kinematic pairs, attitudes, and action scripts, etc., and add offline logic control, which can be written using if-else statements. Only when the judgment condition is met, that is, when the simulation is an offline simulation, the control logic will be executed. Furthermore, construct the simulation clock unit, drag a Source, a Drain, and the connection between them, and set the material generation quantity of the Source to -1. Then construct the model generator and the real-time data parser, which are written using the Switch statement. The model generator parses the data according to the column attribute meanings of the simulation element table and performs object creation or attribute copying operations. The real-time data parser parses the real-time data according to the real-time data mapping mechanism and drives the simulation objects to move, change attribute values, etc. Finally, establish the Socket communication module and the callback function, and call the model generator or the real-time data parser according to different data types.
[0072] S4. Construct the real-time data transmission unit. Write the real-time data transmission unit using Python, import the database reading package and the Socket package, and use the While statement to implement the function of reading data from the dynamic event table at a specified interval. The adopted real-time data reading interval is 50 ms, and the real-time simulation stop time is 140 s.
[0073] Please refer to Figure 4 、 Figure 5, The real-time data input unit continuously receives real-time data from real-time data sources such as SCADA, and converts it into corresponding codes according to the real-time data mapping mechanism and stores them in the dynamic event table. During actual simulation operation, first, the data in each simulation element table is transmitted to the simulation model framework for initialization to obtain a 3D simulation model, including creating simulation elements and assigning attribute values. At this time, the state of the simulation model is consistent with the actual situation of the hub workshop. Then, according to the determined real-time data reading interval, all real-time data with time stamps meeting the conditions is read, combined into a string, and sent to the 3D simulation model. After receiving the data, the 3D simulation model calls the real-time data parser for parsing and runs according to the parsing results. When the simulation ends, data such as equipment utilization rate can be viewed using charts. It is also possible to switch to the offline simulation state during the simulation process. At this time, the 3D simulation model uses the current workshop state as the initial condition and runs according to the offline simulation operation logic. If the simulation speed is accelerated, data such as the completion date of orders, in-process product accumulation, and equipment utilization rate can be quickly obtained, facilitating the evaluation and optimization of the hub workshop. The machine utilization rates of the second process and the fourth process are relatively high and there is in-process product accumulation in the buffer area. The equipment of the second process and the fourth process should be optimized to improve the bottleneck.
[0074] Those skilled in the art can easily understand that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A three-dimensional simulation system for a hub workshop driven by real-time data, characterized in that including: A data transmission module, configured to receive real-time production logistics data of the workshop and convert it into a string according to a data mapping mechanism; A real-time database, configured to store the string output by the real-time data transmission module; A simulation model framework, configured to, at the initial moment of simulation, initialize according to the data in the real-time database, create simulation objects not included in the simulation model, or modify the attributes of existing simulation objects according to the attribute data; During the real-time simulation process, real-time simulation is achieved by parsing the data in the real-time database; wherein, the simulation model can switch from real-time simulation to offline simulation state, read the offline simulation modeling data of the real-time database, establish the offline simulation material flow logic and control logic, and implement the offline simulation of the hub workshop with the current workshop state and production logistics logic; wherein, the offline simulation material flow logic and control logic are used to ensure that the offline simulation model is consistent with the actual hub workshop in terms of material flow and other logic controls.
2. The three-dimensional simulation system of a hub workshop driven by real-time data according to claim 1, characterized in that The implementation process of the data mapping mechanism is as follows: Map each production element of the hub workshop to a simulation element; Adopt the form of characters as the code names of simulation element classes: use different characters to represent different simulation element classes; Establish an event and action library for each simulation element class respectively, and assign a unique character as the code name for the event and action; Mark the serial numbers for the objects belonging to the same simulation element class.
3. A three-dimensional simulation system for a hub workshop driven by real-time data according to claim 2, characterized in that The real-time database includes a simulation element table and a dynamic event table; The simulation element table is configured to store the status information of each simulation element class in the workshop; different simulation element classes correspond to different simulation element tables; The dynamic event table is configured to store the events, actions and corresponding timestamps that occur in the workshop.
4. A three-dimensional simulation system for a wheel hub workshop driven by real-time data according to claim 3, characterized in that, The data transmission module includes a real-time data input unit and a real-time data output unit; The real-time data input unit is configured to convert the collected real-time production logistics data into events or actions of simulation elements through the data mapping mechanism, store them in the dynamic event table of the real-time database, and modify the data in the simulation element table of the corresponding real-time database; The real-time data output unit is configured to read the real-time data in the real-time database and send it to the simulation model.
5. A three-dimensional simulation system for a hub workshop driven by real-time data according to claim 4, characterized in that The simulation model framework includes a simulation element class library, a communication port, a model generator, a real-time data parser and a simulation clock unit; The simulation element class library is configured to provide the geometric model of the simulation element and the control logic used during offline simulation; The communication port is configured to receive the data of the simulation element table and the dynamic event table in the real-time database; The model generator is configured to create a simulation model according to the data in the simulation element table of the real-time database at the initial moment of simulation; The real-time data parser is configured to parse the data in the dynamic event table of the real-time database and drive the operation of the simulation model during the real-time simulation process; The simulation clock unit is configured to drive the continuous operation of the real-time simulation, ensuring that the simulation time is consistent with the physical time flow rate and uninterrupted.
6. A three-dimensional simulation system for a wheel hub workshop driven by real-time data according to claim 5, characterized in that The simulation model framework is constructed using Plant Simulation simulation software.
7. A three-dimensional simulation method for a wheel hub workshop based on the system according to any one of claims 1-6, characterized in that, including: S1. At the initial moment of simulation, the real-time data transmission unit reads the data in each simulation element table in the real-time database, combines the data into a string and sends it to the simulation model framework. The model generator of the simulation model framework creates corresponding simulation elements according to the received data to initialize the simulation model; S2. During the real-time simulation process, the real-time data transmission unit reads the data in the dynamic event table in the real-time database, and sends the data to the simulation model in the form of a string. The simulation model parses the real-time data according to the data mapping mechanism and runs according to the parsing result.
Citation Information
Patent Citations
Production logistics intelligent distribution AGV system based on cloud-station-point architecture, and application thereof
CN107705045A
Intelligent workshop parallel control method and system
CN107861478A