**2. Design method of production line**

#### **2.1 Traditional design method of the production line**

For traditional design method of the production line, it is necessary to provide such information as product type, production output, processes and other system properties to select processing equipments, logistics equipments and various auxiliary equipments, etc. And then, the layout of these devices need to take considerable combined with the structural characteristics of workshop space, and the space between the devices to ensure the maintenance of those devices and safely. The traditional design method includes: determining the cycle time through the layout of entire production; confirming the number of processing equipment with all the processes, synchronizing the processes, assigning the required number of operators, choosing logistics mode, designing the layout and drawing a standard plan charts, and so on. The traditional design method has those shortcomings as following(FAN Xiumin et al.2001; Shao Li et al.,2000):


#### **2.2 Virtual design of production line**

Virtual design technology is a visualized design method of the production line to establish a visual modelling which can simulate a real production line in the virtual environment. It can

production line design, but these methods cannot model for the design process of the whole production line, and cannot complete dynamic analysis of production lines. Because of varieties and quantities of the piston are constantly changing, the above method is difficult to effectively and proactively verify the running condition of piston production lines.

As the part supplier of automobile assembly, piston companies also face the same problems, for example, Shandong Binzhou Bohai Piston Co., Ltd. has more than 70 piston production lines to manufacture those pistons such as car, motorcycle, marine, air compressors, chillers, engineering machinery and agricultural machinery pistons. Those size ranges from Ф30 mm to Ф350mm. However, due to the changing market and customized demand, the annual piston species is up to 800 kinds, some piston production line can change the product twice per month, some even more than five, and the production batch is ranging from small to mass. So it is difficult to quickly make the production planning under those demands with the traditional production line design methods. Therefore, it needs the advancing manufacturing technologies and methods to respond quickly to market changes and

As for production activities in production lines, it often faces the adjustment of design, and the well-designed production line can reduce operating and maintenance costs, improve

For traditional design method of the production line, it is necessary to provide such information as product type, production output, processes and other system properties to select processing equipments, logistics equipments and various auxiliary equipments, etc. And then, the layout of these devices need to take considerable combined with the structural characteristics of workshop space, and the space between the devices to ensure the maintenance of those devices and safely. The traditional design method includes: determining the cycle time through the layout of entire production; confirming the number of processing equipment with all the processes, synchronizing the processes, assigning the required number of operators, choosing logistics mode, designing the layout and drawing a standard plan charts, and so on. The traditional design method has those shortcomings as

4. Difficult to reflect the operational status of the various parts of the system early in the

5. Poor to predicate the bottleneck accuracy based on theoretical calculations and easy to

Virtual design technology is a visualized design method of the production line to establish a visual modelling which can simulate a real production line in the virtual environment. It can

equipment capacity factor and the efficiency of the system.

**2.1 Traditional design method of the production line** 

following(FAN Xiumin et al.2001; Shao Li et al.,2000):

2. Lack of dynamic characteristics description.

3. Not visually display.

waste the resources.

**2.2 Virtual design of production line** 

design;

1. Too complex and design results depending on the experts strongly.

**2. Design method of production line** 

customized production.

provide the model and analysis tool to rapidly design the piston production and improve the design rationality in the end(Shao Li et al.,2000).

Production lines involve multiple objects and actions with discrete, random, complexity, hierarchy and so on. Modelling for production lines is the foundation of virtual design. The traditional simulation model mainly focused on the design of algorithms that can be accepted by the computer, resulting in a variety of simulation algorithms and simulation software (Zhao Ji et al.,2000; S B.Yoo et al.,1994; H.T. Papadopolous& C. Heavey, J. Browne.,1993; Zhang Longxiang,2007). From the 1980s, due to high-level language for computer compiling, structured simulation modelling has been a great progress. Chan and Chan(F.T.S. Chan&H.K. Chan,2004) presented a review of discrete event simulation (DES) applications in scheduling for flexible manufacturing systems (FMS). Ashworth and Carley (M.J. Ashworth&K.M. Carley,2007) had conducted a review that addresses organizational theory and modelling using agent-based simulation (ABS) and system dynamics (SD).Shafer and Smunt(S.M. Shafer&T.L. Smunt,2004), Smith(J.S. Smith,2003), Baines and Harrison(T.S. Baines& D.K. Harrison,1999) targeted the larger domain of operations management and applied the simulation to it. However, most reviews limited themselves to either a single technique (DES or SD) or a single application area where more than one technique is used. However, because the interactivity of the structural simulation modelling is poor, it has not been widely application. With the developing object-oriented technology, object-oriented simulation modelling has been rapidly developed. Object-oriented modelling techniques (OMT) is a software environment applying classes, objects, inheritance, packages, collections, messaging, polymorphism and other concepts, which emphasizes the concept of the problem domain map directly to objects or the interface definition between objects, applies the modelling, analysis and maintenance of the realistic entity, so that the built model is easy to reflect the real objects, and makes the constructed model with re-configurability, reusability and maintainability. And it is easy to expand and upgrade and can reduce the complexity of systems analysis and development costs significantly. Many different OMT methods have been advanced, such as OMT / Rumbaugh, OSA / Embley, OOD / Booch et al (Zhang Longxiang,2007; Par Klingstam& Per Gullander ,1999; Dirk Rantzau et al.,1999).

But when these models are used for dynamic performance analysis on the production line, the modelling is more complex and difficult to describe the dynamic characteristics of the production line quickly and easily, which has greater limitations. QUEST is a virtual integrated development environment applied to queue simulation analysis in Deneb company, which is proper to simulate and analyse the accuracy of the technological process and productivity, in order to improve the design, reduce risk and cost, and make the planned production line meet the design requirements early in the design and implementation, before investing real facilities. Combining the advantages of the QUEST virtual simulation development environment and unified modelling language (UML), this paper presents the simulation, analysis and modelling methods of Virtual Design of Piston Production Line (VD-PPL) to analyse the static and dynamic characteristics of the piston production line.

#### **3. Virtual design of Piston Production Line (PPL)**

#### **3.1 The frame of VD-PPL**

Due to the characteristics such as multi-objectives optimization, strong resources correlation, large randomness etc., based on system theory and hierarchical design methodology, VD-

Virtual Design of Piston Production Line 5

message passing mechanism. For example, when the simulation of production lines is running, machine tools, buffers area, cutting tools, measuring tools and other objects will

As it is known, object modeling of piston production line contains three parts: the description of object relations, object behavior and object interaction, which join together to achieve mapping modeling from reality to virtual simulation environment of the piston

In the simulation environment, make the object model reflect the physical entity of the real

The logical model contains static logic model and dynamic logic models. Among these, the static logic description the modeling for internal properties of the piston production line, structure and behavior and so on, which reflect the static properties of all objects and

The dynamic logical is used to describe the dynamics behaviors and dynamic interactions on the piston production line, and to achieve the description of its dynamic characteristics by adding the simulation clock, event controller and other simulation-driving mechanisms, which can reproduce the running condition of description of piston production line to get

In QUEST, it is applied the model description with the object-oriented techniques, which can make the model reusable and modifiable. But its object model is mainly used for the simulation, and the description of the static object model is not more comprehensive than other object-oriented methods which can be difficult to fully describe the hierarchy and

UML is one of the modeling language based on Booch, OOSE methods and a variety of OMT methods, which is the product of the unified and standardization of modeling approach. It is proper for all stages of system development, and can establish the static structure and dynamic behavior model of the system. UML is a graphical modeling

Describe the functions of the system from the viewpoint of the user, and point out the

Include the class diagrams, object diagrams and package diagrams. The class diagram is used to describe the static structure of class in the system, object diagram is a case of class

diagram, and package diagram is used to describe the system hierarchy.

production line. Therefore, the VD-PPL modeling process is defined as follows:

interact with each other and the dynamic behaviors will appear.

1. Establish the physical model of VD-PPL

2. Establish the logical model of VD-PPL

relationships of the piston production line.

the simulation results of piston production line.

static characteristics of restructuring piston production lines.

**3.2.2 VD-PPL analysis method** 

language, which includes five categories:

1. Case figure

2. Static figure

operator of all the functions.

piston production line.

PPL theoretical model is divided into five levels: Support, Management, Transaction, Simulation and Decision level levels. Design features and contents about of all levels are shown in Figure 3.1.

Fig. 3.1. Virtual simulation design frame of reconstructing piston production line

#### **3.2 Object-oriented VD-PPL modeling and simulation analysis**

Object-oriented technology is a design method focusing on the concept organization model of real-world mode, which is used with the entity to describe. With object-oriented method, it creates a basic resource library in the complex manufacturing environment of production line, and carries out the analysis and modeling for this library, which cannot only establish a unified framework to describe, design and complete system, but also can better reflect the hierarchy relation between various entities, and establish simulation model to reflect the real production environment. Based on manufacturing environment of production lines, for the piston production line modeling, it is used object-oriented modeling techniques.

#### **3.2.1 Object modelling of Piston Production Line**

Modeling for the piston production line not only needs to build three-dimensional geometry of physical entities in a virtual environment, but also needs to define the hierarchy relationships and interactions containing a variety of resource objects. For example, when designing manufacturing processes, it is necessary to define the relationship about of the process and the objects such as machine tools, process parameters, tools and other objects. However this relationship is static without dynamic behavior. Among the above objects, for the machine tools, it has the loading, manufacturing processes, unloading the workplace and other object behaviors (Methods of operation), and interact with other objects by the

PPL theoretical model is divided into five levels: Support, Management, Transaction, Simulation and Decision level levels. Design features and contents about of all levels are

Fig. 3.1. Virtual simulation design frame of reconstructing piston production line

piston production line modeling, it is used object-oriented modeling techniques.

Object-oriented technology is a design method focusing on the concept organization model of real-world mode, which is used with the entity to describe. With object-oriented method, it creates a basic resource library in the complex manufacturing environment of production line, and carries out the analysis and modeling for this library, which cannot only establish a unified framework to describe, design and complete system, but also can better reflect the hierarchy relation between various entities, and establish simulation model to reflect the real production environment. Based on manufacturing environment of production lines, for the

Modeling for the piston production line not only needs to build three-dimensional geometry of physical entities in a virtual environment, but also needs to define the hierarchy relationships and interactions containing a variety of resource objects. For example, when designing manufacturing processes, it is necessary to define the relationship about of the process and the objects such as machine tools, process parameters, tools and other objects. However this relationship is static without dynamic behavior. Among the above objects, for the machine tools, it has the loading, manufacturing processes, unloading the workplace and other object behaviors (Methods of operation), and interact with other objects by the

**3.2 Object-oriented VD-PPL modeling and simulation analysis** 

**3.2.1 Object modelling of Piston Production Line** 

shown in Figure 3.1.

message passing mechanism. For example, when the simulation of production lines is running, machine tools, buffers area, cutting tools, measuring tools and other objects will interact with each other and the dynamic behaviors will appear.

As it is known, object modeling of piston production line contains three parts: the description of object relations, object behavior and object interaction, which join together to achieve mapping modeling from reality to virtual simulation environment of the piston production line. Therefore, the VD-PPL modeling process is defined as follows:

1. Establish the physical model of VD-PPL

In the simulation environment, make the object model reflect the physical entity of the real piston production line.

2. Establish the logical model of VD-PPL

The logical model contains static logic model and dynamic logic models. Among these, the static logic description the modeling for internal properties of the piston production line, structure and behavior and so on, which reflect the static properties of all objects and relationships of the piston production line.

The dynamic logical is used to describe the dynamics behaviors and dynamic interactions on the piston production line, and to achieve the description of its dynamic characteristics by adding the simulation clock, event controller and other simulation-driving mechanisms, which can reproduce the running condition of description of piston production line to get the simulation results of piston production line.

#### **3.2.2 VD-PPL analysis method**

In QUEST, it is applied the model description with the object-oriented techniques, which can make the model reusable and modifiable. But its object model is mainly used for the simulation, and the description of the static object model is not more comprehensive than other object-oriented methods which can be difficult to fully describe the hierarchy and static characteristics of restructuring piston production lines.

UML is one of the modeling language based on Booch, OOSE methods and a variety of OMT methods, which is the product of the unified and standardization of modeling approach. It is proper for all stages of system development, and can establish the static structure and dynamic behavior model of the system. UML is a graphical modeling language, which includes five categories:

1. Case figure

Describe the functions of the system from the viewpoint of the user, and point out the operator of all the functions.

2. Static figure

Include the class diagrams, object diagrams and package diagrams. The class diagram is used to describe the static structure of class in the system, object diagram is a case of class diagram, and package diagram is used to describe the system hierarchy.

Virtual Design of Piston Production Line 7

physical model is the foundation of layout design of piston production line and visual simulation. The virtual physical model is divided into virtual static characteristics modeling and dynamic characteristics modeling. Virtual static characteristics modeling includes customization of all the objects on the production line and the description of the relationship between objects, and virtual dynamic model describes the dynamic behavior of the object itself and of interactions between objects. VD-PPL simulation modeling focuses on

In VD-PPL modeling process, the contents are established by QUEST as follows: 1) the virtual physical model mapping corresponding to physical entities of the piston production lines; 2). the virtual logical model of VD-RPPL object relationship and object behaviors. Piston production lines describe object definition of the resources, object association and the

For UML modeling methods, the class object is an abstract for some public, private or protective properties and the corresponding behaviors. According to the common features of restructuring piston production line, all the piston production lines can be defined abstractly as a production line class. The production line class can be consider as the base class of VD-PPL modeling, the properties of production line class include the identification of production line, names of production line, maximum machining diameter of piston, minimum machining diameter of piston, and behaviors of the production line class includes getting the costs of production line, accessing the actual production cycle and availability calculation and so on. Fig.3.3 is UML class diagram between the base class of piston

Production line class

establishing the virtual logical model of the production line piston.

**3.3 Static properties modeling of Piston Production Line object** 

static structure abstracting and other processes with UML.

production lines and production lines class.



+Getting the costs of production line: double + Getting the actual production cycle: double

+Getting the quantity of manufacturing products: int

Fig. 3.3. UML classes diagram of piston production lines class

+Name of production line: char +Model of production line: char





+Getting constructing time: double +Availability calculation: double

+Utilization calculation: double

+Actual cycle: double


+Layout ID: int


#### 3. Behavior diagram

Describe the dynamic model and the interactions of composition objects in the system, including state diagrams and activity diagrams. State diagram is used to describe all possible states of the objects and transfer conditions of the incident state, usually the state diagram is supplement of the class diagram; activity diagram is used to describe the activities and the constraint relationship between activities meeting the requirements of cases, which can be easily expressed in parallel activities.

4. Interactive diagram

Both sequence diagrams and collaboration diagrams are used to describe the interactions between objects. Sequence diagram is used to show the dynamic cooperative relationship between objects, and collaboration diagram emphasizes collaborative relationships between objects.

5. Implementation diagram

It is used to describe the features of the system, including component diagrams and configuration diagram.

Although the use of UML modeling method can well describe the object relations of VD-PPL, the modeling process is complex and model implementation is more time-consuming and difficult when UML is used to describe the complicated and discrete object behaviors and interactive relationship, because of the characteristics of random, discrete and others. QUEST simulation platform based on virtual manufacturing technology, not only supports the physical modeling of resource objects with better virtual visual interface, but also fully supports the simulation of object-oriented discrete/continuous events, which can be the important tools of the simulation and analysis of the production process. Combining the advantages of QUEST and UML, the paper proposed VD-PPL simulation modeling method, as shown in Fig.3.2.

Fig. 3.2. VD-PPL simulation and modeling method based on QUEST+UML

In Fig.3.2, VD-PPL simulation modeling can be divided into two parts: the virtual physical modeling and virtual logical modeling. Virtual physical model is visual appearance of the logical model in a virtual environment, and it focuses on describing the three-dimensional geometry corresponding to the physical entity of the real production line. Therefore, virtual

Describe the dynamic model and the interactions of composition objects in the system, including state diagrams and activity diagrams. State diagram is used to describe all possible states of the objects and transfer conditions of the incident state, usually the state diagram is supplement of the class diagram; activity diagram is used to describe the activities and the constraint relationship between activities meeting the requirements of

Both sequence diagrams and collaboration diagrams are used to describe the interactions between objects. Sequence diagram is used to show the dynamic cooperative relationship between objects, and collaboration diagram emphasizes collaborative relationships between

It is used to describe the features of the system, including component diagrams and

Although the use of UML modeling method can well describe the object relations of VD-PPL, the modeling process is complex and model implementation is more time-consuming and difficult when UML is used to describe the complicated and discrete object behaviors and interactive relationship, because of the characteristics of random, discrete and others. QUEST simulation platform based on virtual manufacturing technology, not only supports the physical modeling of resource objects with better virtual visual interface, but also fully supports the simulation of object-oriented discrete/continuous events, which can be the important tools of the simulation and analysis of the production process. Combining the advantages of QUEST and UML, the paper proposed VD-PPL simulation modeling method,

Dynamic characteristics modeling

Physical model mapping Logic model

QUEST UML

Logic model

Abstract and simulation of object relations and behavior

Object definition,object relationship and static structure abstracting

mapping

Dynamic characteristics modeling

In Fig.3.2, VD-PPL simulation modeling can be divided into two parts: the virtual physical modeling and virtual logical modeling. Virtual physical model is visual appearance of the logical model in a virtual environment, and it focuses on describing the three-dimensional geometry corresponding to the physical entity of the real production line. Therefore, virtual

cases, which can be easily expressed in parallel activities.

Physical model

Model of virtual piston production line

Model of virtual piston production line

Fig. 3.2. VD-PPL simulation and modeling method based on QUEST+UML

Real piston production line

3. Behavior diagram

4. Interactive diagram

5. Implementation diagram

configuration diagram.

as shown in Fig.3.2.

objects.

physical model is the foundation of layout design of piston production line and visual simulation. The virtual physical model is divided into virtual static characteristics modeling and dynamic characteristics modeling. Virtual static characteristics modeling includes customization of all the objects on the production line and the description of the relationship between objects, and virtual dynamic model describes the dynamic behavior of the object itself and of interactions between objects. VD-PPL simulation modeling focuses on establishing the virtual logical model of the production line piston.

In VD-PPL modeling process, the contents are established by QUEST as follows: 1) the virtual physical model mapping corresponding to physical entities of the piston production lines; 2). the virtual logical model of VD-RPPL object relationship and object behaviors. Piston production lines describe object definition of the resources, object association and the static structure abstracting and other processes with UML.

#### **3.3 Static properties modeling of Piston Production Line object**

For UML modeling methods, the class object is an abstract for some public, private or protective properties and the corresponding behaviors. According to the common features of restructuring piston production line, all the piston production lines can be defined abstractly as a production line class. The production line class can be consider as the base class of VD-PPL modeling, the properties of production line class include the identification of production line, names of production line, maximum machining diameter of piston, minimum machining diameter of piston, and behaviors of the production line class includes getting the costs of production line, accessing the actual production cycle and availability calculation and so on. Fig.3.3 is UML class diagram between the base class of piston production lines and production lines class.


Fig. 3.3. UML classes diagram of piston production lines class

Virtual Design of Piston Production Line 9

(Source, Sink, Buffer, etc.). Workers (Labor) who complete the transportation and storage of materials can also be treated as abstract logistics equipment. Logistics equipment class is used to describe the properties and methods of equipment and workers that implement the transportation function of the work piece and materials, and it is also used to describe the reconfiguring time, cost, utilization, work piece delivery time of logistics equipment in the process of reorganization objects. According to the definition mode of processing equipment class, the attributes of the logistics equipment class can also be divided into physical, process, functional and state attributes. Especially, the physical attribute includes equipment number, name, size, cost, geometry, size, color and so on. The process attribute includes utilization, delivery times, reconstructing time, delivery speed, acceleration/deceleration, etc. the functional attribute includes the maximum specifications and length of work pieces or materials, the maximum transportation quantities of the work pieces, the maximum work piece capacity and so on. UML class diagram of the logistics equipment is shown in Fig.3.5 (b). AGV, convey, robot and

Auxiliary equipment is mainly service as the measure and other works to make sure the processes are completed smoothly and accuracy. The auxiliary equipment class is the abstract of such equipment, and its attributes includes device identification, name, size, cost, measure items, measure accuracy, measure time, reconfiguring time and so on; Its behavioral approach is: to get the cost of auxiliary equipment, the reconfiguring time of auxiliary equipment and the measuring time of auxiliary equipment so on. UML class diagram of measure equipment class is shown in Fig.3.5 (c). According to the different measure items, measuring device, roughness measurement, sensor type, and other classes

Logistics equipments class

auxiliary equipments class



+Getting the quantity of manufacturing

+Name of measuring tools: char -No. of measuring tools :int -Specification - Measure accuracy +Measuring ability:char -Quantity: int -Single detecting time:double

+Name of production line: char +Model of production line: char


products:int

+Utilization calculation: double

+Max. transportation capacity of parts:int +Transportation speed: double +Acceleration: double +Name of production line: char +Model of production line: char



+Getting the costs of production line: double + Getting the actual production cycle: double +Getting constructing time: double +Availability calculation: double

+Utilization calculation: double

+Getting the quantity of manufacturing

a) manufacturing equipment class b) Logistics equipments class c) Detecting auxiliary equipments class

+Name: char -No. :long -Quantity: int -Description: char -Cost: double -Reconstructing time: double


products:int

storage classes are derived from logistics equipment class

are derived from the auxiliary equipment class.

3. Auxiliary equipment class

manufacturing equipment class



+Getting the costs of production line: double + Getting the actual production cycle: double +Getting constructing time: double +Availability calculation: double +Getting the quantity of manufacturing

Fig. 3.5. Auxiliary equipment classes

+Utilization calculation: double

+Name: char -No. :long -Quantity: int -Description: char -Productivity:double -ID:int

products:int

+Name of production line: char +Model of production line: char

#### **3.3.1 VD-PPL static hierarchical relationship**

According to the hierarchical relationships of a piston production line, that physical equipment, process technology, logic control and simulation supporting classes are derived from the production line class. The physical equipment class is corresponding to production entities in the reality, such as processing equipments, logistics equipments and so on. No entity is correspond with the process technology class in the real production line, such as Cycle Process, Load Process, Unload Process, production planning and tasks and other process contents. The logic control class is used to describe the logical relationships between objects, such as AGV control logic, labor control logic, conveyor control logic. The simulation supporting class is applied for describing the interaction process time of production line simulation, events, and data performance statistics and other simulation supporting objects. According to the relationship between base classes and derived classes, the static hierarchy of various objects in VD-PPL design process, as shown in Fig.3.4.

Fig. 3.4. Static hierarchy of piston production line objects

#### **3.3.2 Physics equipment**

Attributes of the physics equipment class is divided into physics, processes, function and status attributes. Physical attributes define the static property of resources, such as identity, name, geometry, size, color, accuracy, etc.; Process attributes define the actions completed by relative motion or action of two or more resources, such as utilization, cycle time and so on; Functional attributes define series of a higher level of functional units processes formed by the combination series of processes, on behalf of the ability of resources; State attributes is used to define whether the resource is in using, waiting, idle state or the state of repair, to guide the dynamic dispatch of production resources. The manufacturing equipment class, logistics equipment class, accessory equipment classes are derived from physical equipment class according to their hierarchy.

1. Manufacturing equipment class

Processes equipment mainly refers to the equipment that can complete one or more process technology. The physical attributes of manufacturing equipment include equipment identification, equipment specifications, failure rate, repair rate, etc., and its process attribute also includes equipment utilization, etc.; it is shown in Fig.3. 5(a).

2. Logistics equipment class

Logistics equipment class is responsible for transportation and the storage of the work piece and materials between logistics equipment, such as AGV, conveyor, robot, storage devices

According to the hierarchical relationships of a piston production line, that physical equipment, process technology, logic control and simulation supporting classes are derived from the production line class. The physical equipment class is corresponding to production entities in the reality, such as processing equipments, logistics equipments and so on. No entity is correspond with the process technology class in the real production line, such as Cycle Process, Load Process, Unload Process, production planning and tasks and other process contents. The logic control class is used to describe the logical relationships between objects, such as AGV control logic, labor control logic, conveyor control logic. The simulation supporting class is applied for describing the interaction process time of production line simulation, events, and data performance statistics and other simulation supporting objects. According to the relationship between base classes and derived classes,

the static hierarchy of various objects in VD-PPL design process, as shown in Fig.3.4.

Attributes of the physics equipment class is divided into physics, processes, function and status attributes. Physical attributes define the static property of resources, such as identity, name, geometry, size, color, accuracy, etc.; Process attributes define the actions completed by relative motion or action of two or more resources, such as utilization, cycle time and so on; Functional attributes define series of a higher level of functional units processes formed by the combination series of processes, on behalf of the ability of resources; State attributes is used to define whether the resource is in using, waiting, idle state or the state of repair, to guide the dynamic dispatch of production resources. The manufacturing equipment class, logistics equipment class, accessory equipment classes are derived from physical equipment

Processes equipment mainly refers to the equipment that can complete one or more process technology. The physical attributes of manufacturing equipment include equipment identification, equipment specifications, failure rate, repair rate, etc., and its process

Logistics equipment class is responsible for transportation and the storage of the work piece and materials between logistics equipment, such as AGV, conveyor, robot, storage devices

attribute also includes equipment utilization, etc.; it is shown in Fig.3. 5(a).

**3.3.1 VD-PPL static hierarchical relationship** 

Fig. 3.4. Static hierarchy of piston production line objects

**3.3.2 Physics equipment** 

class according to their hierarchy. 1. Manufacturing equipment class

2. Logistics equipment class

(Source, Sink, Buffer, etc.). Workers (Labor) who complete the transportation and storage of materials can also be treated as abstract logistics equipment. Logistics equipment class is used to describe the properties and methods of equipment and workers that implement the transportation function of the work piece and materials, and it is also used to describe the reconfiguring time, cost, utilization, work piece delivery time of logistics equipment in the process of reorganization objects. According to the definition mode of processing equipment class, the attributes of the logistics equipment class can also be divided into physical, process, functional and state attributes. Especially, the physical attribute includes equipment number, name, size, cost, geometry, size, color and so on. The process attribute includes utilization, delivery times, reconstructing time, delivery speed, acceleration/deceleration, etc. the functional attribute includes the maximum specifications and length of work pieces or materials, the maximum transportation quantities of the work pieces, the maximum work piece capacity and so on. UML class diagram of the logistics equipment is shown in Fig.3.5 (b). AGV, convey, robot and storage classes are derived from logistics equipment class

3. Auxiliary equipment class

Auxiliary equipment is mainly service as the measure and other works to make sure the processes are completed smoothly and accuracy. The auxiliary equipment class is the abstract of such equipment, and its attributes includes device identification, name, size, cost, measure items, measure accuracy, measure time, reconfiguring time and so on; Its behavioral approach is: to get the cost of auxiliary equipment, the reconfiguring time of auxiliary equipment and the measuring time of auxiliary equipment so on. UML class diagram of measure equipment class is shown in Fig.3.5 (c). According to the different measure items, measuring device, roughness measurement, sensor type, and other classes are derived from the auxiliary equipment class.


a) manufacturing equipment class b) Logistics equipments class c) Detecting auxiliary equipments class

Fig. 3.5. Auxiliary equipment classes

Virtual Design of Piston Production Line 11

control class contain the controller ID the number of control objects, logical calculation priority. Those behavioral methods include the definition of initialization logic, processing logic, part routing logic, resource selection logic and other selecting modes. The meanings of the logical models are shown in Table 3.1, and the logical hierarchy relationship of the

Initial Logic Control production resource completes the decision-making

Part Rout Logic Control work piece complete the decision-making of routing way from one object to another. Request Selection Logic Control the decision-making of resource selecting behavior

\* Queue Logic Deal with the sequence of work piece when routing from

Processing logic is used to define the sequence of processing objects, proportion relations of process objects handling. Routing logic is primarily used to define the model of bottom

Buffer object to other production resources.

Control production resource complete the decision-making of loading process class, recycling processing technology class,

process initialization.

unloading process

with process technology.

objects of the work piece. Queuing logic is mainly used to define queuing methods.

Fig. 3.8. UML class diagram of equipment logic and AGV/Labor controller logic

control class is shown in Fig. 3.7.

\* Queue Logic is only used for Buffer. Table 3.1 VD-PPL logic definition

Fig. 3.7. Hierarchy diagram of logic control class

Process Logic

Logic mode Meaning

#### **3.3.3 Processes class**

In order to describe the processes during the piston manufacturing, the process class is acted as base class of VD-PPL process modeling, and those attributes include ID, names, process technology contents; its behavioral approaches are: working hours calculating, efficiency calculating and process, production planning, production scheduling classes and so on can be derived from the process class.

Attributes of the process class contain process ID, name, content, process priority, the number of work piece, number of workers, number of AGV and equipment, average cycle time and distribution of cycle processing time. Those behavioral approaches include defining the work piece priority, logical sequence of process, equipment selecting, working hours calculating, auxiliary process arranging, and so on. According to the classification of process technology, the process class is divided into the initial running process, loading process, recycling processing technology, unloading process, maintenance process classes etc. UML model of process technology class is shown in Fig.3.6 (a).

Attributes of the production scheduling class include ID, name, description of production arrangements, the number of shifts, shifting time, stopping time. Those behavioral approaches contain shift schedule, the calculation of expected stopping time of single work piece, needed equipment between arrange the associated shifts and so on. UML model of the production scheduling class is shown in Fig.3.6 (b).

Attributes of production planning class contain ID, name, and content, description of production plan, production, delivery date, and cost. Those behavioral methods include production cycle calculating UML model of production planning class is shown in Fig.3.6 (c).

Attributes of the process parameters class include ID, names, spindle speed, horizontalfeeding speed, vertical-feeding rate, cutting depth. Its behavioral methods contain machine tools selecting, tools selecting and measuring tools selecting, and so on, they are shown in Fig. 3.6 (d).

Fig. 3.6. UML class diagram of process technology derived class

#### **3.3.4 Logic control class**

Logic control is activity on the selection and scheduling functions of production resources, and logic control class is used to be an abstract description of interaction decision-making behavior between the different resource objects in a specific time. Attributes of the logic

In order to describe the processes during the piston manufacturing, the process class is acted as base class of VD-PPL process modeling, and those attributes include ID, names, process technology contents; its behavioral approaches are: working hours calculating, efficiency calculating and process, production planning, production scheduling classes and so on can

Attributes of the process class contain process ID, name, content, process priority, the number of work piece, number of workers, number of AGV and equipment, average cycle time and distribution of cycle processing time. Those behavioral approaches include defining the work piece priority, logical sequence of process, equipment selecting, working hours calculating, auxiliary process arranging, and so on. According to the classification of process technology, the process class is divided into the initial running process, loading process, recycling processing technology, unloading process, maintenance process classes

Attributes of the production scheduling class include ID, name, description of production arrangements, the number of shifts, shifting time, stopping time. Those behavioral approaches contain shift schedule, the calculation of expected stopping time of single work piece, needed equipment between arrange the associated shifts and so on. UML model of

Attributes of production planning class contain ID, name, and content, description of production plan, production, delivery date, and cost. Those behavioral methods include production cycle calculating UML model of production planning class is shown in Fig.3.6 (c). Attributes of the process parameters class include ID, names, spindle speed, horizontalfeeding speed, vertical-feeding rate, cutting depth. Its behavioral methods contain machine tools selecting, tools selecting and measuring tools selecting, and so on, they are shown in

Logic control is activity on the selection and scheduling functions of production resources, and logic control class is used to be an abstract description of interaction decision-making behavior between the different resource objects in a specific time. Attributes of the logic

etc. UML model of process technology class is shown in Fig.3.6 (a).

the production scheduling class is shown in Fig.3.6 (b).

Fig. 3.6. UML class diagram of process technology derived class

**3.3.3 Processes class** 

Fig. 3.6 (d).

**3.3.4 Logic control class** 

be derived from the process class.

control class contain the controller ID the number of control objects, logical calculation priority. Those behavioral methods include the definition of initialization logic, processing logic, part routing logic, resource selection logic and other selecting modes. The meanings of the logical models are shown in Table 3.1, and the logical hierarchy relationship of the control class is shown in Fig. 3.7.


\* Queue Logic is only used for Buffer.

Table 3.1 VD-PPL logic definition

Processing logic is used to define the sequence of processing objects, proportion relations of process objects handling. Routing logic is primarily used to define the model of bottom objects of the work piece. Queuing logic is mainly used to define queuing methods.

Fig. 3.7. Hierarchy diagram of logic control class


Fig. 3.8. UML class diagram of equipment logic and AGV/Labor controller logic

Virtual Design of Piston Production Line 13

Apply object-oriented modeling method to establish the dynamic model piston production line to simulate and model effectively for dynamic characteristics of piston production line.

Before establishing the virtual dynamics model of the piston production line, it is necessary

The behavior model of the state changes of all the objects is established based on the object behavior and messaging mechanism with the UML state diagram. Figure3.9 describes UML state diagram of the state changes in the process of the piston machining tool, in which, ""is the state of the machine in the process of machining the piston. "T" is the interactive

**3.4.1 Object dynamic model based on UML+QUEST** 

Fig. 3.9. UML state diagram of machine tool when piston is processed

model of PPL is established, and the modeling steps are shown in Fig.3.11.

of labor controller, labor, buffer, and machine tool objects.

1. Establishing the physical model

The object relations, behavioral control, object interaction model are established with UML sequence and collaboration diagrams to fully describe the association relationship of various objects during piston processing. Figure.3.10 describes UML sequence interaction diagrams

After analyzing the interaction behavior of dynamic models, in QUEST, virtual dynamic

The virtual physical model is the basic task of VD-PPL. The physical model is an abstract description of a real model of the piston production line in a virtual environment. According to the geometry, establish the virtual physical model of the resource objects with threedimensional geometric modeling functions (or other 3D solid modeling software,

to analyze the object of the piston as follows:

relationship of states changes.

The equipment logical device is mainly used in loading the work piece, processing the work piece and unloading the work piece, and the equipment need complete judgment and decision-making. Its UML class diagram is described in Fig.3.8 (a). AGV / Labor control logic means that AGV / Labor controller sends logic instructions to AGV / Labor when the production resources (such as equipment) is set on AGV / Labor , and its UML model is shown in Fig. 3.8 (b).

The piston product line also includes other logic, such as: Initial Logic, Request Input Logic, Part Input Logic, Request Selection Logic, etc.

#### **3.3.5 System interaction class**

System interaction class provides function and mechanism of the virtual simulation, and it used to the abstraction supported by dynamic simulation model, including time management, event table handling, creation and elimination of object, generation of random number, data collection and processing of statistics objects, etc., which does not correspond to physical entities in the real production line. Event class, time, etc. is derived from it.

Attributes of event class includes ID, names, events, object identity for demanded resources, corresponding process identifies, the type of events, and occurred time of the event.

Attributes of time class contain ID, names, events, active objects, passive objects, happening time, time to maintain the global simulation, record and order the events recorded according to the event points, determining the next earliest occurrence of future events and happening time and advance simulation clock and so on.

#### **3.4 Dynamic properties modeling**

The piston production line is a typical discrete event system. There have been many discrete event systems about dynamics modeling and analysis methods. It contains three types of modeling-logic level, algebra-level and performance level at least. An analysis method of the logic level includes finite automation /formal language method, Petri Net methods and so on. Petri Net methods began to be used for manufacturing system modeling from the early 1980s, which can analyze and describe the dynamic behavior of manufacturing systems well. But, with the system parameters increasing, Petri Net modeling and analysis become more and more difficult. Algebraic methods contain max/min algebra and finite recursion. Min/max algebra applies algebraic methods as a tool to establish the state equation of the time of the incident, according to the running relationship of the system, and then get the processing cycle, utilization and other parameters of the system by eigenvalue analysis. But with the parameters increasing, the state equation will bring out the dimension explosion, solvability variation, and analytical ability weakening. Performance levels contain: queuing network, perturbation analysis, and simulation modeling approach. Queuing theory is generally used for the qualitative analysis of system; perturbation analysis method will generate dynamic disturbance because parameters on the production line is much more, which is more difficult to describe the system dynamic process with tables and dynamic equations. The piston production lines often have uncertain activities, and also affected by constraints of internal/external objects of the system. And these objects are often affected by some other uncertain activities, leading that the variable state of the piston production line presents uncertainties, which will take the larger difficulties for analysis and modeling.

The equipment logical device is mainly used in loading the work piece, processing the work piece and unloading the work piece, and the equipment need complete judgment and decision-making. Its UML class diagram is described in Fig.3.8 (a). AGV / Labor control logic means that AGV / Labor controller sends logic instructions to AGV / Labor when the production resources (such as equipment) is set on AGV / Labor , and its UML model is

The piston product line also includes other logic, such as: Initial Logic, Request Input Logic,

System interaction class provides function and mechanism of the virtual simulation, and it used to the abstraction supported by dynamic simulation model, including time management, event table handling, creation and elimination of object, generation of random number, data collection and processing of statistics objects, etc., which does not correspond to physical entities in the real production line. Event class, time, etc. is derived from it.

Attributes of event class includes ID, names, events, object identity for demanded resources,

Attributes of time class contain ID, names, events, active objects, passive objects, happening time, time to maintain the global simulation, record and order the events recorded according to the event points, determining the next earliest occurrence of future events and

The piston production line is a typical discrete event system. There have been many discrete event systems about dynamics modeling and analysis methods. It contains three types of modeling-logic level, algebra-level and performance level at least. An analysis method of the logic level includes finite automation /formal language method, Petri Net methods and so on. Petri Net methods began to be used for manufacturing system modeling from the early 1980s, which can analyze and describe the dynamic behavior of manufacturing systems well. But, with the system parameters increasing, Petri Net modeling and analysis become more and more difficult. Algebraic methods contain max/min algebra and finite recursion. Min/max algebra applies algebraic methods as a tool to establish the state equation of the time of the incident, according to the running relationship of the system, and then get the processing cycle, utilization and other parameters of the system by eigenvalue analysis. But with the parameters increasing, the state equation will bring out the dimension explosion, solvability variation, and analytical ability weakening. Performance levels contain: queuing network, perturbation analysis, and simulation modeling approach. Queuing theory is generally used for the qualitative analysis of system; perturbation analysis method will generate dynamic disturbance because parameters on the production line is much more, which is more difficult to describe the system dynamic process with tables and dynamic equations. The piston production lines often have uncertain activities, and also affected by constraints of internal/external objects of the system. And these objects are often affected by some other uncertain activities, leading that the variable state of the piston production line presents uncertainties, which will take the larger difficulties for analysis and modeling.

corresponding process identifies, the type of events, and occurred time of the event.

shown in Fig. 3.8 (b).

Part Input Logic, Request Selection Logic, etc.

happening time and advance simulation clock and so on.

**3.3.5 System interaction class** 

**3.4 Dynamic properties modeling** 

Apply object-oriented modeling method to establish the dynamic model piston production line to simulate and model effectively for dynamic characteristics of piston production line.

## **3.4.1 Object dynamic model based on UML+QUEST**

Before establishing the virtual dynamics model of the piston production line, it is necessary to analyze the object of the piston as follows:

The behavior model of the state changes of all the objects is established based on the object behavior and messaging mechanism with the UML state diagram. Figure3.9 describes UML state diagram of the state changes in the process of the piston machining tool, in which, ""is the state of the machine in the process of machining the piston. "T" is the interactive relationship of states changes.

Fig. 3.9. UML state diagram of machine tool when piston is processed

The object relations, behavioral control, object interaction model are established with UML sequence and collaboration diagrams to fully describe the association relationship of various objects during piston processing. Figure.3.10 describes UML sequence interaction diagrams of labor controller, labor, buffer, and machine tool objects.

After analyzing the interaction behavior of dynamic models, in QUEST, virtual dynamic model of PPL is established, and the modeling steps are shown in Fig.3.11.

1. Establishing the physical model

The virtual physical model is the basic task of VD-PPL. The physical model is an abstract description of a real model of the piston production line in a virtual environment. According to the geometry, establish the virtual physical model of the resource objects with threedimensional geometric modeling functions (or other 3D solid modeling software,

Virtual Design of Piston Production Line 15

transferring to the QUEST integrated environment through the graphical interface). Virtual

2. According to geometry, shape and size of the equipment, establish the virtual physical model library, which can make the physical model with the function of the

3. According to the physical entity of the resource object, layout the piston production line

Abstracting from the virtual physical model to virtual logical model, it needs to complete

1. Complete the abstract definition and description for the attributes and behaviors of virtual physical model. On the one hand, these attributes are used to simulate, on the other hand, are applied with equipment management and reconfiguration of objects. 2. Define the virtual process model associated with the virtual physical model to make the established resource objects with relationship, make the object model with dynamic behaviors, and achieve the function of virtual machining simulation during the

3. Define the virtual control logic model associated with the virtual physical model. So that the established model can describe the logic relationship of all the behaviors of objects and make the dynamic behavior of the model occur orderly and circularly. After finished these steps above, the production line physical model can be changed into the virtual logic model. The virtual model with the process and the logic can be used as visual simulation and dynamically analyze the piston manufacturing process supported by the

For the piston production line, there are a variety of objects which are interacted and affected with each other. If the piston production line is virtually simulated, the behaviors of individual object need to be united in the same the simulation clock (simulation time) range, and determine simulation strategies and pushing methods of simulation clock to complete the analysis of the dynamic model. VD-PPL simulation strategies are established based on the advantages of an integrated event scheduling method, activity description method, process interaction method and other simulation strategies. Simulation strategy flow is

Changing of the VD-PPL simulation clock time is depended on the simulation step, and

1. It can be a fixed step (The step of controlling simulation speed is fixed), or variable step (Promote the event behaviors, and the simulation clock is pushed forward to the

2. Because the changing of the object 's state is random, the step of simulation clock is

3. Between two adjacent events, the simulation clock can overcome these "inactive" period. It can be pushed from the first to the next happening time of event activities occurs.

happening point of event directly, the simulation step is variable).

1. Make sure all modules of the equipment of the piston production line.

reconfiguration and reuse in QUEST environment.

physical model is established as follows:

2. Establishing virtual logic model of VD-PPL

production process of piston machining.

system simulation strategy and simulation clock.

**3.4.2 System simulation strategies of VD-PPL** 

simulation time step has the following attributes:

will be carried out.

the following tasks:

shown in Fig.3.12.

random too.

Fig. 3.10. UML sequence interaction diagram of all the objects in the piston conveying

Fig. 3.11. Steps of building virtual dynamic model

Fig. 3.10. UML sequence interaction diagram of all the objects in the piston conveying

Fig. 3.11. Steps of building virtual dynamic model

transferring to the QUEST integrated environment through the graphical interface). Virtual physical model is established as follows:


Abstracting from the virtual physical model to virtual logical model, it needs to complete the following tasks:


After finished these steps above, the production line physical model can be changed into the virtual logic model. The virtual model with the process and the logic can be used as visual simulation and dynamically analyze the piston manufacturing process supported by the system simulation strategy and simulation clock.

#### **3.4.2 System simulation strategies of VD-PPL**

For the piston production line, there are a variety of objects which are interacted and affected with each other. If the piston production line is virtually simulated, the behaviors of individual object need to be united in the same the simulation clock (simulation time) range, and determine simulation strategies and pushing methods of simulation clock to complete the analysis of the dynamic model. VD-PPL simulation strategies are established based on the advantages of an integrated event scheduling method, activity description method, process interaction method and other simulation strategies. Simulation strategy flow is shown in Fig.3.12.

Changing of the VD-PPL simulation clock time is depended on the simulation step, and simulation time step has the following attributes:


Virtual Design of Piston Production Line 17

Virtual design procedure of the piston production line is shown in Fig.3.13. Process planning and production planning are the basis for the design process. Under the virtual model of the production line, the virtual layout planning is easy to be built, and if set the simulation clock in the virtual environment, it could get some simulation results which can be used to diagnose

By analyzing the status of an existing production line and design requirements, complete the virtual modeling, layout, simulation analysis and diagnosis of this line, and thus re-

The line is affiliated to artificial lines, process routing is : finish turning of the spigot rough boring of pin hole finish turning of cylindrical, rough finish and finish turning of the groove of iron hoop finish turning the groove of aluminum hoopsemi-finish boring of pin hole turning of retaining ring groove and outside pin shaftrough turning of combustion chamber fine turning of combustion chamber fine turning of outside round fine turning

Number labor Shifts Working

M3 1 L2,1 2 74.3 M4 1 74.3

M5 1 L3,1 1 23.24

M12 1 136.2

M16 1 L11,1 1 73.33 (Double

Procedure Time (s)

work stations)

work stations)

work stations)

work stations)

**3.5 Virtual design procedure of piston production line** 

the bottlenecks and optimize the related parameters of the production line.

design the line to make the full range of logistics flow unblocked.

**4.1 Status of production line and design goals** 

Process contents Equipment

Finish turning cylindrical, and rough finishing turning of the

Finish turning the groove of

Boring decompression chamber of

groove of iron hoop

aluminum hoop

pin hole

**4. An instance of simulation and analysis of piston production line** 

code

Finish turning the spigot M1 1 L1,1 1 31

Turning retaining ring groove M7 1 L5,1 1 36 Turning outside pin shaft M8 1 36 Rough turning combustion chamber M9 1 L6,1 1 31.3 Fine turning combustion chamber M10 1 50.26 Fine turning outside round M11 1 L7,1 1 136.2

Fine turning roof surface M13 1 L8,1 1 32

Rolling pin hole M15 1 L10,1 1 14.7

Table 4.1. Scheduling of processes on the piston production line

rough boring pin hole M2 1 43.28 (Double

Semi-finish boring pin hole M6 1 L4,1 1 76.4 (Double

Fine boring pin hole M14 1 L9,1 2 70.77 (Double

Fig. 3.12. VD-PPL simulation strategies flow

Fig. 3.13. Virtual design procedure of the piston production line

Fig. 3.12. VD-PPL simulation strategies flow

Fig. 3.13. Virtual design procedure of the piston production line

#### **3.5 Virtual design procedure of piston production line**

Virtual design procedure of the piston production line is shown in Fig.3.13. Process planning and production planning are the basis for the design process. Under the virtual model of the production line, the virtual layout planning is easy to be built, and if set the simulation clock in the virtual environment, it could get some simulation results which can be used to diagnose the bottlenecks and optimize the related parameters of the production line.
