Design and Optimization of Smart Factory Control System Based on Digital Twin System Model

Aiming at the problems of irrational allocation of resources, low efficiency caused by unbalanced production line layout, and slow production line upgrade of the smart factory, this paper builds a real physical smart factory platform through the optimal control strategy and uses the GRAFCET algorithm to optimize the logistics scheduling during the actual system operation. The genetic algorithm is used to optimize the layout effect of the production line; the digital twin technology is used to provide predictive analysis technical support for the upgrading and reengineering of the production line. Through the analysis and comparison of the production capacity and equipment utilization of the physical smart factory and the virtual smart factory processing scheme, practice shows that the design of the digital twin system can effectively improve the effect and accuracy of the lean production method in the production process reorganization. Quantitative analysis of manufacturing industry provides powerful theoretical and technical support.


Introduction
As a topic of development and evolution, intelligent manufacturing has been an important topic in the field of industrial information research. In recent years, the research and practice of the concept of intelligent manufacturing are emerging. Intelligent manufacturing involves intelligent products, intelligent producing, intelligent services and other aspects and its optimization and integration. From the perspective of technical mechanism, although there are differences in these different aspects, they are essentially the same, that is the integration of "human-informationphysical system" [1]. e life cycle of a smart factory includes the planning, designing, construction, control, upgrading, and reengineering stages of the factory. Each stage faces different technical challenges. e personnel, equipment, logistics, processes, environment, and data in the factory must be connected and interact in different ways at different stages of the whole life cycle. erefore, different systems and models need to be used to realize the combination of information technology and management process [2,3]. Digital twin is driven by a new generation of information technology and intelligent manufacturing technology, which integrates multiattribute, multidimensional, and multiapplication simulation technology. Digital twin technology is used to describe and model the characteristic, behaviour, formation process, and performance of physical entities. At the same time, advanced sensors, industrial network, IoT, big data analysis, machine learning, and other technologies are used to realize and complete production process monitoring, forecasting, data mining, and other functions [4][5][6][7]. e digital twin can verify system performance in a semiphysical simulation and enables rapid fault location and troubleshooting. erefore, in manufacturing production, establishing a virtual version of the production environment, digitally depicting the entire manufacturing environment, and conducting equipment diagnosis, process simulation and other simulation predictions in the virtual digital space can effectively prevent serious consequences from on-site failures and production abnormalities. rough digital twin technology, not only can factory equipment be monitored for fault prediction and timely maintenance, but also remote control and remote maintenance can be achieved, greatly reducing operating costs and improving safety. For example, for large automated high-rise warehouse product service system, digital twin can build a three-dimensional virtual model of the warehouse through warehouse space data and facility data and simulate the movement of materials, personnel, and material handling equipment. Based on the size and number of entities stored in the warehouse as well as storage characteristics and other data, it provides data support for building the optimal warehouse planning layout and improving space utilization and operational efficiency. For example, the State Grid is also combined with the digital twin model. According to a large number of offline data information (such as plant, station, line, and unit information) and the line and unit power information collected in real time by the control strategy, the method of the operation mode model of the main station side of the security control system is given, so as to provide the power supply network regulators to control the operation status of the security control system and power grid in real time.
While studying the digital twin system of intelligent production line, this paper also synchronously combines the digital twin technology with artificial intelligence and applies it to the control system of aviation truss intelligent assembly in the way of double drive joint optimization. e digital twin model improves the stability and rapidity of the intelligent assembly control system, and artificial intelligence algorithm improves the accuracy of fault rate identification of truss connecting rod [8][9][10].
e current research results focus on the concept and value of digital twins. ere is a lack of research on digital twins in the life cycle of smart factories, as well as digital twin implementation methods and case studies. erefore, according to the needs of micro smart factory, this paper constructs a physical platform for a micro smart factory to verify the applicability and effect of digital twin through digital twin technology to realize intelligent information collection, intelligent operation control, intelligent management, and other functions. It provides theoretical and technical support for small intelligent manufacturing enterprises. e physical platform of the micro smart factory includes intelligent storage system, intelligent machining system, intelligent detecting system, intelligent flexible transmission system, intelligent dispatching system, and intelligent assembly system. e hardware composition of the whole system is as follows:

Hardware
(1) e intelligent storage system includes two threedimensional warehouses, stackers, touch screen, PLC control system, and RFID. (2) Intelligent machining system includes CNC machining center, industrial robot, touch screen, and RFID.
(3) Intelligent detecting system includes measuring instrument and industrial robot. (4) e intelligent assembly system includes industrial robot and dispenser. (5) Intelligent transmission system includes flexible conveying line, touch screen, AGV, and PLC control system. (6) Intelligent dispatching system includes industrial computer, interactive machine, server, MES dispatching platform, and digital twin platform. In the future, the individual needs and customized production requirements of customers will increase; the traditional mass production mode will not be able to meet customer needs. Customized production will be a major basic requirement of the future factory production model. e physical platform of the micro smart factory can realize user customization needs by uploading pictures [2,3].

Function 2: Parallel Production.
In response to the demand for parallel production in the production process of products, flexible parallel production can be realized, which improves production efficiency compared to serial production.

Function 3: Flexible Scheduling Control
(1) AGV Flexible Scheduling. e system has two AGVs, an AGV is used for receiving and delivering materials for intelligent warehousing. e MES system flexibly dispatches the AGVs to receive and deliver materials based on the order information and the real-time status. If two AGVs are on the same straight track, the system will intelligently determine the running track of the AGV from the tasks of its starting station and target station according to the running state of the AGVs, so as to ensure that they will not collide and run on the best path.
(2) Flexible Scheduling of Conveyor Line Entrance and Processing Line. e platform conveyor line has five entry ports, four processing exits, one inspection port, one assembly port, and one exit port, which can carry up to nine pallets. e conveyor line can realize flexible scheduling, RFID readers are arranged at both the entry and exit ports. RFID can provide auxiliary decision-making information for flexible scheduling. It is controlled by PLC and the communication with the scheduling system adopts the OPC protocol.
e system consists of two milling machines, two spare milling machines, two lathes, and two spare lathes. However, considering the economic benefits of the physical platform, two milling machines are temporarily used. Flexible scheduling can be implemented as scheduling decision information based on parameters such as milling process requirements, tool requirements, machine tool processing status, and machine tool service life. e scheduling of the milling machine can be specified by the technician or the system can be flexibly selected.

Function 4: Mixed-Flow Production.
e system design can carry out multiorder production at the same time, and mixed-flow production can be realized between different orders. e realization mechanism is that the flexible dispatch control system FMS adopts the state feedback mechanism.
e unit equipment feeds back status information in real time, and it makes process route according to order. All process tasks required by the order are temporarily stored in the task pool. If the equipment is idle, the corresponding process tasks in the task pool are intelligently selected and executed without caring about the order information. Mixed-flow production between different order tasks. During the processing, the RFID readers installed on key nodes and the ID tags in the pallets can write important information to or read information from the ID tags and provide auxiliary decision-making information for mixedflow production scheduling, which can greatly simplify scheduling control logic.

Function 5: Real-Time View of Order Status and
Product Traceability Can Be Realized. e system installs RFID readers on the equipment nodes and embeds ID tags in the pallets. It can write important information into the ID tag or read information from the ID tag in the process of processing, which can provide auxiliary decision information for mixed-flow production scheduling and greatly simplify the scheduling control logic. At the same time, the information can be stored in the server database synchronously. e real-time view of order status also provides data basis for follow-up product tracking.

2.3.
e Process of the Smart Factory Physical Platform. Physical platform of the micro smart factory is based on the case of seal processing and manufacturing, which mainly involves two major seal technological processes. One is the advanced manufacturing process, as shown in Figure 1. e other is the enterprise supply chain process, as shown in Figure 2. e organizational structure of the system is shown in Figure 3.

Topological Relations.
e topology of micro smart factory is shown in Figure 4. e micro smart factory system is mainly controlled by PLC and consists of three major production lines. ey are an automatic processing line, a production assembly line, and an automatic sorting line. Ethernet is the main communication mode, OPC is used between robots and PLC, and Zigbee communication is used in AGV scheduling. e physical platform of the micro smart factory is shown in Figure 5. As can be seen from Figure 5, the physical platform of the micro smart factory has advanced hardware equipment and perfect functions, covering an area of about 70 square meters, which can meet the standard requirements of intelligent manufacturing.

GRAFCET Algorithm and I/O Port Assignment
e intelligent storage system is composed of shelves, tunnel type stacking crane, in(out-) warehouse workbench, in(out-) automatic transportation, and operation control system to complete the storage and retrieval working. e management adopts computer and bar code technology. e intelligent storage system GRAFCET algorithm is shown in Figure 6.

Control of Flexible Transmission Line.
Conveying equipment is a mechanical structure that continuously conveys materials under friction drive. From the initial feeding point to the final unloading point, the material conveying process is formed. In the control system of the conveying equipment, the control system consists of Siemens S7-1200 PLC, industrial touch screen, RFID, and turntable. e flow of the conveying control system is shown in Figure 2. I/O distribution is shown in Table 1.

Machining Robot
Control. D652 IO control card is used inside the robot. e robot input signal is the signal from the external I/O card to the robot controller.
DI00-DI07 is configured as a group input signal process input. e value of this variable represents the sequence number of the subprogram to be run; DI12-DI15 is configured as a group input signal to station inputs. e value of this variable indicates that the walking mechanism reaches the station position and feeds back to the robot. DO08-DO11 is configured such that a group input signal goes to station output + 1. e value of this variable indicates that the traveling mechanism is informed to start moving to the station. Go to station output � 1 indicates that the walking mechanism returns to the origin. DO13 � 1 indicates that the traveling mechanism stops suddenly. DO14 � 1 indicates that the lathe fixture is on. 0 indicates that the lathe fixture is off. DO15 � 0 indicates the manipulator is open. DO15 � 1 indicates the manipulator is closed. e servo control circuit diagram of the machining robot is shown in Figure 7.

Assembling Robot Control.
e role of the assembly robot in the micro smart factory is to complete the dispensing work of the dispenser and the assembly tasks of the two or three materials. Circuit diagram of servo system of assembling robot is shown in Figure 8.

e Concept of Digital
Twin. Digital twin, using physical model, sensor update, operation history, and other data, integrates multidiscipline, multiphysical quantity, multiscale, multiprobability simulation process, and complete mapping in virtual space, thereby reflecting the full-life cycle of the corresponding physical equipment process. It can realize effective interaction between physical manufacturing and virtual manufacturing. For example, mechanical equipment running and the flow of employee, including data information such as time, tempo, and faults, can be directly used for the data input of the simulation model after programmed and automatic processing, and then key data information can be   obtained through the simulation model and is used for feedback planning decision or optimization in reality.

eoretical Basis of Design Process.
Taking into account the general requirements of the manufacturing industry in the planning work, this project designed the core of the digital twin for the factory planning stage, an efficiency verification analysis simulation model, which aims to achieve the following goals: (1) It can quickly build a simulation model for planning, using historical data including IoT data and factory data as a reference for simulation modeling.   Mathematical Problems in Engineering to small planning tasks such as production upgrading and transformation.
(4) It can also use simulation models to simulate the unstable situation of material supply and market demand.
e simulation of the planning problem only concerns the core indicators such as time and efficiency, average beat time, average performance in production cycle, mean time between failures, average recovery time of fault matrix, and amplitude of fluctuation interval of data. According to the big data of industry obtained by PLC or CNC, the main simulation data logic formula is calculated: , (T ∈ 24 hours, 60 minutes, 60 seconds).  Figure 4: Topological relations. Equation (1) shows how to calculate the performance of the processing station (machine). In the actual production line, a processing station can contain multiple possible processes. erefore, the performance calculation of the processing station (machine) will have two possible formulas. Which formula is used depends on the relationship between the processes. If multiple processes are in a serial relationship, the performance of the processing station depends on the  Mathematical Problems in Engineering total tact time of all its internal processes, and if multiple processes are in a parallel relationship, the performance of the processing station depends on the process with the largest tact time among all its internal process [1]. Mean time between failures (MTBF) is the predicted time interval between periodic failures of mechanical or electronic systems during normal operation of production equipment [1].
It is calculated by the arithmetic mean time between every two failures of the system, as shown in (3). In each observation or automatically collected data, the "downtime" is the instant when it fails; this time is greater than the last "on time" time, and the time difference between the two moments ("downtime" minus " power-on time") is the length of time the machine runs between two event moments. e MTBF of each production equipment is the total Equation (4) shows how to calculate the MTBF of the machine from the data of a specific workstation in a specific time period (for example, the time period between the fault sequence number from p to q). In planning type simulation problems, both machine downtime (machine error/maintenance) and abnormal intervals (for example, interruption caused by the operator) should be taken into account in the calculation of MTBF.

Mathematical Problems in Engineering
Equation (5) shows how to calculate the average recovery time MTTR. e average value calculated by MTTR and MTBF uses two sets of different time periods, and they are two completely complementary groups. ese just form the complete time period [1].
Equation (6) shows how to calculate the amplitude of the specified parameter based on a set of actual sequence data, so that the simulation result is as close as possible to the real factory environment [1].
Based on the above definitions and equations, it can help to calculate simulation variables as close to the real physical environment as possible for the planning scheme and design different planning schemes based on these simulation variables, and output simulation results of different scheme models through simulation to evaluate the key indicators in different planning schemes [11,12].

Rapid Reconfiguration Theory for Digital Twin-Driven Automated Manufacturing Systems
From the point of view of system control and optimization, manufacturing systems with high degree of automation generally have the disadvantage of poor flexibility; especially for customized products required by users, traditional automated manufacturing systems are difficult to achieve mass production efficiency for customized production because they cannot integrate information, equipment, and services in a timely manner. In the Industrial 4.0 intelligent manufacturing blueprint, the manufacturing plant must be highly flexible and allow a variety of changes in the production sequence to meet the needs of new personalized customized products. For example, industries with highfrequency changeover requirements (e.g., electronics manufacturing) require manufacturing systems that are highly flexible to accommodate change, and this paper shows an example of the refactoring of a digital twin model in a stamp assembly system. e whole assembly process includes four stages: smart storage, smart processing, smart assembly, visual measurement, and smart scheduling. e assembly line includes multiple production cells, each consisting of multiple parallel and sequential machines that collaborate to complete one operation. e digital twindriven rapid reconfiguration approach improves manufacturing system performance while minimizing reconfiguration costs and shortening product changeover cycles [13][14][15].
By analyzing the differences between the two products; deriving the content of changes to the current system at the system level (e.g., changing the layout configuration), control level (e.g., integrating a new software module), and equipment level (e.g., adding a new fixture); and combining process planning and execution control, the dual objectives of capacity rebalancing and reconfiguration cost are planned in a double layer to obtain the optimal reconfiguration solution, and the digital twin drives rapid system reconfiguration. We can achieve rapid reconfiguration with higher reusability and less time cost based on the open architecture system of machine tools and MES.

Open Architecture Machine Tool (OAMT).
Equipmentlevel reconfiguration capability is the basis for system manufacturing function reconfiguration. e machine tool in the small smart factory built in this paper is a machine tool composed of self-developed scalable and interchangeable modules. e

vision inspection and measurement instrument platform contains a set of internal and/or external interfaces defined by open standards under an open source
license. e basic functions of the AGV can be traced and dispatched, and the LiDAR module enables area map construction, which allows for optimal path planning.

IoT System.
e reconfiguration of manufacturing system of micro intelligence includes the reconfiguration of IoT (mainly including PLC, sensors, and robots) system, meeting the production technology update to expand functional requirements. e digital twin model consists of two parts: the nearphysical simulation module and the reconfiguration optimization module. e function of the near-physical simulation is to map various data of the physical manufacturing system and then input the data into the upper-level optimization model. e fast optimization model can be used to obtain optimization decision results, which can then be fed to the semiphysical simulation engine to verify the reconfiguration results. Among them, the reconfiguration optimization module contains a fast reconfiguration optimization algorithm containing multidimensional optimization variables and constraints, i.e., system-level two-level planning with upper-level capacity rebalancing and lower-level reconfiguration cost. e objective of the upper-level problem is to maximize the capacity and economic efficiency of the reconfiguration results, and the objective of the lower-level problem is to minimize machine movement cost and machine holding cost for reconfiguration. e reconfiguration prototype is shown in Figure 9.
is paper designed a digital twin simulation model for intelligent manufacturing production process planning, which can be synchronized with the real smart factory processing process.
In the physical entity of the micro smart factory, each unit on the same layer is coupled through material flow and energy flow, while in the digital twin system, the model is coupled through parameters. A part of the output of the previous unit is input as the operation parameter of the next unit, and the mapping result is generated by the actual operation state of the physical layer.
Outstanding advantages of digital twin software technology are as follows: (1) e physical micro smart factory platform can be combined with software to become an operating entity that adapts to the new automation environment, which can reduce the cost of the smart factory planning stage and the difficulty of developing management platform software. (2) e development focus on the digital twin is embodied in the visualization of functional analysis, modeling methods, and operating procedures. (3) Smart manufacturing technology and platform data storage and management are simplified, and data perception, processing, and analysis functions are more intelligent.
In short, the modeling function of the digital twin ensures that the dimensions of the digital model construction and the real physical structure are completely and accurately reflected. e construction of the digital system model of the digital twin micro smart factory is mainly carried out according to the control function of the controlled object and is developed by relying on the plant simulation of Siemens to realize the seamless connection between various intelligent devices [16,17]. e variables and parameters of the digital twin system are shown in Table 2. Finally, according to the simulation analysis, the model parameters are adjusted to keep it consistent with the work progress of the micro smart factory.

The Step of Building a Digital Twin Model
According to the above steps, the designed digital twin model is shown in Figure 10.

Scheme Design and Implementation
Obtain industrial data from the microphysical smart factory, download the industrial data, and calculate the corresponding simulation input data (including the overall output capacity of the micro smart factory production line, the load situation of a single station, the busyness of the transportation line, etc.). Within the specified production cycle, 10 days, the micro smart factory is working continuously for 240 hours and produces 2895 products for evaluation.
In order to establish a digital twin system with complete functions, a large number of accurate data are needed. e data of micro smart factory are collected by using programmable logic controller (PLC), CNC, sensor, machine vision, and other instruments [21][22][23].
e output data of the simulation will be used to calculate the overall performance indicators of the microphysical smart factory, such as the output capacity of the entire production line, station status information in the simulation cycle, and buffer and transportation line performance indicators, as well as robots, processing, maintenance, and information statistics of different working conditions such as production line transmission, AGV handling status, and material blocking. e material data source information is shown in Table 3. e detailed information of the ordered products can be seen, including material size, quality information, factory batch, product price, processing time, and factory batch.

Fault Diagnosis and Equipment Maintenance
Digital twin technology can reduce the difficulty of hardware system equipment diagnosis, improve the accuracy and reliability of diagnosis, and ensure the reliable operation of equipment. Figure 11 shows the statistical information of workers' efficiency. A1-A4 represent the statistical information of the work efficiency of four workers responsible for different tasks. A1-A3 represent the work tasks of safety supervisors in all aspects of the plant. A4 represent the tasks of technical maintenance of CNC machine. It can show the statistical information of workers' efficiency. A1-A4 represent the statistical information of the work efficiency of four workers responsible for different tasks. A1-A3 represent the work tasks of safety supervisors in all aspects of the plant. A4 represent the tasks of technical maintenance of CNC machine. It can be seen from Figure 11 that the proportion of A4 worker in the maintenance state is 23.56%. is correlation between workers' information statistics and equipment provides a theoretical basis for the safety production and performance evaluation of enterprises.   Process time processing Figure 12 shows the statistical information of resources. Among the seven workstations, station0 represents the shipment information of intelligent warehouse; station1 and station2 represent the information of two CNC machines in the intelligent processing process; station3 represents the information of intelligent measuring instrument; station4-station6 represent the second set of machining equipment in the multiorder state. e data information in the Fig is sampled at 30 second intervals. It can be seen that in the case of multiorder, the average utilization rate of each workstation is 21.1%, and the failure rate of station5 is 15.6%. It can be seen that the error rate of this CNC is high in operation, which provides a strong basis for the staff to provide information analysis, repair, and processing.

Key Technologies for the Digital Twin Drive
Digital transmission is an important technology to realize digital twin. Digital twin model is dynamic. Modeling and control are based on real-time uploaded sampling data, which has high requirements for information transmission and processing delay [8].
erefore, the intelligent production line discussed in this paper has high bandwidth, low time delay, safety, and reliability. e establishment process of bidirectional mapping relationship in the digital up drive manufacturing physical system of overall parallel control is as follows: (1) Overall planning and construction of the physical production line are according to the process design of the product. (2) Create process structure and virtual process route design through plant simulation, and create and import 3D models of products, machine tools, robots, and other hardware equipment in 3D software packages such as UG and CATIA. (3) Determine the equipment selection and quantity, determine the work contents of processing, assembly, and testing of each process, and formulate the single order production process (or multiorder production); plan the overall layout of the production line, ensure reasonable production scheduling conducive to energy conservation, and determine the overall movement form and movement path of each equipment. (4) e virtual production line with real machine tools, industrial robots, workpieces, and material units with the same real-time position, attitude, speed, and status information is formed, and the program code is written according to the task process  requirements and genetic algorithms are used for scheduling and path optimization. (5) Simulation and verification method: according to the process, the machine tools, robots, and logistics systems involved in the production process will be virtual trial run in order to realize the process of parts; get the layout of equipment placement, the logistics of the production line field, workers arrangement, station processing, fixture placement parts, simulate parts operation, robot automatic loading and unloading, and system movement; and present visualization in a unified three-dimensional form. (6) Configure the physical properties of various devices in the production line: set physical entity properties; configure mass parameters; set center of mass (conveyor is rigid body type, need to set center of mass), friction coefficient (coefficient of friction between conveyor and material transfer contact surface), production equipment failure rate parameters, robot and AGV handling time and trajectory, etc., and various configuration information.
(7) e PLC program is written as the simulation input for the virtual production line. e communication between the virtual production line and the actual PLC is realized through TCP/IP, fieldbus, OPC, or Ethernet. (8) e real data are collected in real time by PLC and data acquisition board, and the physical production line adopts OPC and Ethernet and other communication methods to read the real-time data, encapsulates the real-time data into a unified interface form, and inputs the real data into the virtual digital twin model with a unified data structure to realize the positive input mapping from the real data to the virtual model. e simulation process or result data generated by the virtual model are stored in XML. e simulation process or result data generated by the virtual model are stored in XML files and generate feedback information, thus establishing a negative feedback mapping.  control port information list of the dynamic model of the production line. Establish the communication channel between the production equipment and its virtual model through digital twin technology, so that the production equipment and the corresponding virtual model can interact in real time. Run the virtual dynamic model and the physical entity equipment of the production line at the same time to configure the production line test and intermodulation of the production line configuration. (10) RFID provides automatic and accurate object data capture, and the use of RFID technology provides the foundation for coordinating the decisions and operations of all parties involved in overall production planning, scheduling, execution, and control.

"Blockchain + Digital Twin" in the Flexible Job Shop Scheduling System Construction Ideas
"Blockchain + Manufacturing + Digital Twin" is the digital revolution under Industry 4.0. To achieve intelligence and customization in manufacturing production, it is necessary to master a large amount of data in addition to automated intelligent production technology, and blockchain technology can well act as the underlying technology of a credible, shared, and secure digital economy. In the supply chain management of manufacturing enterprises, blockchain technology can help manufacturing enterprises solve the problem of credibility in the production scheduling process.
In actual production, production scheduling requires real-time production and the presence of disturbing factors. e existing scheduling model is difficult to achieve realtime interaction between information space and physical space, which makes the data in information space and physical space lack fusion, and the emergence of digital twin with virtual reality mapping and interactive fusion features and blockchain technology with smart contracts provides a solution to the scheduling problem in smart manufacturing a new way of thinking.
During the construction and testing of the micro smart factory, this paper found that the combination of highprecision indoor positioning and digital twins can build a real-time production scheduling system, but this "real-time production scheduling system" also has a problem to be solved, that is, the problem of data authenticity. At this time, blockchain technology is needed to solve this technical problem. By confirming the right of IoT devices, each IoT device is a trust node. It ensures that the data collected by the real-time production scheduling system is true and reliable, so as to solve the problem of efficiency and trust of enterprise supply chain management [10,24,25]. erefore, having a digital twin on the blockchain can make the data more credible. Blockchain technology can not only permanently save information about the products produced, but also data about product transactions, which in turn allows users to obtain complete details about the product during the transaction process, and consumers can verify the production location, including historical records and the legality of the product. is helps to determine the authenticity and traceability of the product [26][27][28].

Conclusions
e physical platform of the micro smart factory studied in this paper is a mapping of real industrial production lines. According to the characteristics of intelligent manufacturing and flexible processing, the modeling of the digital twin factory is completed, which solves the complex and difficult problems of process industry modeling.
(1) According to the characteristics of flexible manufacturing and intelligent machining, the digital twin model interaction system is established. rough the real-time data collected by sensors, the information interaction between physical platform and virtual platform is realized, and the production efficiency, personnel configuration, and fault diagnosis in the process of machining are effectively fed back.
(2) Control strategy: the physical platform control system of micro smart factory has multicontrol strategies. In the digital twin system, the control strategy of each control unit is mainly realized by SIMTALK language, which has the same control strategy. (3) Simulation results: the model can realize not only the real-time and interactive processing of micro smart factory, but also the expansion unit for the upgrading and reengineering of micro smart factory designed.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e authors declare that there are no conflicts of interest regarding the publication of this paper.