Loading [MathJax]/jax/output/CommonHTML/jax.js
Submit manuscript...
Journal of
eISSN: 2574-8114

Textile Engineering & Fashion Technology

Research Article Volume 2 Issue 2

Timed petri net based optimal scheduling for garment flexible productions

Xiaohua Wang, Ruiqing Wang, Lei Zhang, Hongwei Zhang

College of Electrics and Information, Xi'an Polytechnic University, China

Correspondence: Ruiqing Wang, Master Degree Candidate, Xi?an Polytechnic University, Xi'an, Shaanxi Province, China, Tel 15802977982

Received: May 30, 2017 | Published: July 11, 2017

Citation: Xiaohua W, Ruiqing W, Zhang L, et al. Timed Petri net based optimal scheduling for garment flexible productions. J Textile Eng Fashion Technol. 2017;2(2):343-349. DOI: 10.15406/jteft.2017.02.00055

Download PDF

Abstract

The process sequence of universal garment hanging system is carried out according to the order of the single task process only. In this paper, Petri nets are used to realize the flexible optimal scheduling of the process in multitask garment production. By considering the competition for equipment resources among process in garment hanging system and the firing rules of transitions, analysis and obtain the process optimal scheduling policy algorithm. The optimal processing sequence and time are obtained by Petri nets simulation. According to the example analysis of the multiple sets of different clothing multitask production, verify the effectiveness of process scheduling in the garment hanging system, and improve the flexible degree of the system.

Keywords: garment hanging system, timed petri net, flexible production, process optimization

Abbreviations

S, Seconds; TPPN, Timed Place Petri Nets

Introduction

With the aggravation of market competition and the improvement of social material level, modern clothing enterprises gradually shift to small batch, multi variety and short cycle production mode.1 The garment hanging system developed in the 70s Century gradually evolved into the modern transition system with rapid response production technology. It is the centralized application of electromechanical integration technology in garment industry. The cut pieces for processing put on special hangers in the process of production, which transferred into the workstation orderly, and the whole processes completed in hanging state. The flexibility of current garment hanging system is not high although it can quickly replace the production type. Moreover, many problems may appear in multiple clothing productions, such as equipment competitions, assembly line balance, workstation configuration and so on.

People have carried out the research on the optimization of the garment hanging system.2,3 Yu et al. 4 presented the ant colony algorithm to rearrange the locations and workers of workstations without considering the production of different types of clothing. The fitting curve method was used to correct the standard hours of different batch sizes,5 which can concluded the man-hour quota of small batch and many varieties production. However, there is no specific control policy of various resources. Mork et al.6 provided the genetic algorithm to plan the allocation of job orders in complex and mixed production environment, while there is no study of specific process competition for resources. As a modeling and analysis tool for discrete event systems, Petri nets have been widely used in the control and scheduling of flexible manufacturing systems.7-9 Su et al.10 proposed the Timed Place Petri Net model established for a manufacturing system with three processes, and searched for the transition sequence of the model by nested partition algorithm, then optimized the completion time of different batches. However, this method cannot apply in the dynamic scheduling problem. Research by Liu11 and Tian et al.12 show that the Petri net model based on ant colony optimization can realize the unity of the static modeling and dynamic optimization of the scheduling problem. However, this method is more complicated in multitask processing. Zhou et al.13 established the Timed Place Petri Nets model for batch chemical system, combined the model with the optimal scheduling policy, gave the valve control strategies and made the system run efficiently. Zhang et al.14 applied Petri nets theory in the balance of garment production line, while it did not give specific modeling method and production line balance algorithm.

The limited equipment resources of the production line of garment hanging system make the reasonable arrangement of the process in multitask production become the key problem to improve the flexibility of the system. According to the above literatures, Petri nets possess considerable superiority in the optimal scheduling of flexible manufacturing systems. By considering the correlation between the factors of process and time, this paper adopts the Timed Place Petri Nets as the modeling method on the process optimization problem of garment hanging system. According to the constraint conditions and optimization objectives of the production line, an optimal scheduling algorithm is proposed. Through the analysis of a variety of cases, this method is proved to be effective to solve multitask process optimization problems and can improve the efficiency of the system.

Materials and methods

The basic Petri net is a 4-tuple N=(P,T,F,W) , where P and T is finite, nonempty, and disjoint sets. P is a set of places and T is a set of transitions, and F(P×T)(T×P)  is a set of directed arcs with arrows between transitions and places. The element W:FN+  where N+  is the set of positive integers, is a mapping that assigns a weight to each arc, and W is called the weight function of Petri net N. When a graph is used to represent a Petri net, the place is represented by a circle and transition represented by a rectangle. The marking M of a Petri net is a mapping from P to N, (N,M0) is called the marked Petri net where  is the sum of tokens in all places at initial state of a system, and it is called initial marking of N. Marked Petri net can be expressed as N=(P,T,F,W,M0) , and the firing rules of transitions are described as follows. A transition tT  is enabled at the marking M, if and only if pt , M(p)W(p,t) . After firing the enabled transitions, the system leaps to another state and yields a new marking M , and pP,M(p)=M(p)W(p,t)+W(t,p) . The definition of TPPN (Timed Place Petri Nets) is TPPN=(P,T,F,W,M0,D) where D={ d1 , d2  ,…, dn  } is the time delay set of places, di is the time delay of pi , i(1,n) . After the fire of a transition t, the corresponding number of tokens moved from input to output places. The tokens put into pi  should hold for time di  before it becomes available.

TPPN method modeling garment hanging system

Assuming that n tasks J1,J2,...,Jn  are taken to manufacture n kinds of clothes, the number of process involves in each task is X1,X2,...,Xn  respectively. Operation of these tasks requires certain resource units, such as ironing table, cup seaming machine, double needle lockstitch sewing machine, cylindrical crimping machine and so on. Otherwise, there is one device for each kind of equipment. Take task Ji  as an example, the required cut pieces put on the circular guide rail of the hanging system by computer control, which will send the pieces to workstations according to the order of the process. Operate task Ji  requires the cooperation of certain equipments and spend some time executing process, according to its task table, and the finished garments will be send to the unloading station. Due to the concurrent process and resource competition while the system taking multitask productions, different execution sequence of the process will lead to different time to complete the n tasks. It is necessary to consider how to schedule the process to realize that the processing time minimized.

In this work, the Petri net model is completed by two steps. Firstly, establish a Petri net model for a single task. Then, get the TPPN model of the hanging system by connecting subnets via shared device resources. The operation of each process can be described as three stages, the initial, final and processing state. The initial and final state can be considered as two events represented by a set of transitions at the logic level, and the processing state can be considered as the operation state, which represented by a place with time delay. Here, a single task is taken as an example to establish a subsystem model which is shown below.

Given task Ji  with Xi  processes in a garment hanging system, the TPPN model for garment production of single task is described as NJi=(PJi,TJi,FJi,WJi,MJi0,DJi) . In this model, the set of places can be expressed as PJi={pJis,Pi,j,k,Pi,j,k,pJif,Pmk} , where places pJis  and pJif  are initial and final of the task Ji  respectively. Operation place pi,j,kPi,j,k  represents the operation that the process j of the task i by the k-th equipment. The intermediate place  represents a buffer, and resource place pi,j,kPi,j,k  represents the required equipment. The set of transitions can be expressed as TJi={Tbi,j,k,Tfi,j,k} where tbi,j,kTbi,j,k  and tfi,j,kTfi,j,k  represent the initial and final events of the operation place pi,j,k  respectively. The elements in the set of directed arc FJi  are directed lines between places and transitions, it represent the processing flow of the task. Since each task in garment processing is carried out in a single order, all of the elements in the weight function set WJi  are equal to one. The column vector MJi0=(1,0,...,0)T  denotes that the number of tokens is one in pJis  and zero in other places at time zero of the system. The element di,j,kDJi  denotes the time delay of the operation place or the processing time of the operation in terms of garment hanging system. The intermediate and resource place are all places that time delay is zero.

Optimal scheduling policy

The Petri net model is applied to solve the problem of completing the task with the least time. The optimal scheduling algorithm is as follows.

Step 1: Set the priority for the tasks J1,J2,...,Jn  which are expressed as L1,L2,...,Ln . There are Ann  arrangement methods to the number of n priorities. Therefore, n tasks possess the number of n! priority arrangements.

Step 2: Set no priority for tasks. Select any one as the start point from J1,J2,...,Jn  respectively. There are a total of n different arrangement methods.

Step 3: Operate the n!+n implementation schemes successively.

Step 4: Search the enabled transitions. If the transition tbi,j,k  possesses the priority, implement Step4.1 to the model, else implement Step4.2.

Step 4.1: If multiple different tasks require the same resource place pmk  at the same time, the firing sequence of tbi,j,k  is ranked by the priority of the transitions. Record the enabled time di,j,k  and firing time di,j,k  for each transition, the waiting time of the transition tbi,j,k  is expressed as di,j=di,j,kdi,j,k .

Step 4.2: If different tasks require the same resource place pmk  at the same time, the firing sequence of tbi,j,k  is ranked by the sequence of the enabled time di,j,k . Record the value of di,j,k  and di,j,k , then figures out the di,j  according to the time difference.

Step 5: Go to Step 4 until all the transitions have fired.

Step 6: The task completion time dr=Xmj=1(di,j,k+di,j)  where r(1,n!+n)  represents the r-th kind of implementation scheme, and Xm  is the number of the process of the task, which corresponds to the last firing transition.

Step 7: Go to Step 3 until n!+n kinds of implementation schemes are completed.

Step 8: The least time to complete n tasks is expressed as d=min(d1,d2,...,dr,...,dn!+n) . According to the implementation scheme from d, get the sequence and time of the fired transitions in set TJi .

In order to solve the problem of process scheduling, it is necessary to figure out the sequence and firing time of the start transition tbi,j,k  of each process. Map each transition to the event associated with the process in the system, and get the sequence and firing time of the process of n tasks from the mapping. Then the optimal scheduling policy is obtained. Figure 1 shows the flow chart of optimal process scheduling policy based on TPPN.

Figure 1 Flow chart of optimal scheduling policy of garment hanging system based on TPPN.

Results and discussion

Suppose that there are two processing tasks J1  and J2  for the garment hanging system. J1 Contains 13 processes J1,1,J1,2,...,J1,13 , J2  contains 15 processes J2,1,J2,2,...,J2,15 . A total of four equipments are needed,14 including ironing table, button sewing machine, cup seaming machine and lockstitch sewing machine which are represented as A, B, C and D, respectively. The specific implementation processes of two tasks are shown in Table 1. For the task J1  in Table 1, the Petri net model of the task can be described as NJ1=(PJ1,TJ1,FJ1,WJ1,MJ10,DJ1) . Transitions tb1,j,k  and tfi,j,k  represent the initial and final events respectively for each production stage J1,1,J1,2,...,J1,13 , places pJ1s  and pJ1f  denote the initial and final state of J1 , place pi,j,k  represents the processing status of the production stages J1,1,J1,2,...,J1,13 , and place pi,j,k  is the subsequent buffer place of the pi,j,k  (where j = 1, 2 ... 13, k=1, 2, 3, 4). The analogy can be used to reach the meaning of the places and transitions in the task J2  (where j = 1, 2 ... 15, k = 1, 2, 3, 4). For the task J2  in Table 1, the Petri net model of J2  can be described as NJ2 =( PJ2 , TJ2 , FJ2 , WJ2 , MJ20 , DJ2 ). The transitions tb2,j,k  and tf2,j,k  represent the initial and final events respectively for each production stage J2,1,J2,2,...,J2,13  places pJ2s  and pJ2f  denote the initial and final state of J2 , place p2,j,k  represents the processing status of the production stages J2,1,J2,2,...,J2,13 , and place p2,j,k  is the subsequent buffer place of the p2,j,k . The Petri net model of J1  is shown in Figure 2.

Figure 2 The Petri net model of production task J1 .

In the same way, the Petri net model of J2  can be obtained by the description of the task J2 . Connect the subnet models of task J1  and J2  via shared resource places pm1,pm2,pm3,pm4 . The Petri net model of the garment hanging system of two tasks is shown in Figure 3. Set the value of n as 2 in the optimal process scheduling policy. There are four possible implementation schemes for the production. Run the programs of the optimal scheduling policy algorithm in MATLAB environment, the processing time and transitions firing sequence of each scheme can be obtained. Table 2 shows the completion time of the four schemes.

Table 2 shows the implementation scheme, which possesses no priority and J1  start first should be selected. Firing time and sequence of all transitions at the condition of the shortest completion time are shown in Table 3.

In consideration of the correspondence between transitions tbi,j,k(tfi,j,k)  and the initial (final) event of the production stages in garment hanging system, and the information in Table 3, the optimal process scheduling policy can be obtained from the schedules of production stages. The result is shown in Table 4.

In order to verify the practicability of the method, this paper selects the cases of garment production optimization from Tao15 and Liu16, and set multitask processing in Table 5.

Production Stage

Equipment

Time(S)

Production Stage

Equipment

Time(S)

J1,1

A

61

J1,8

D

30

J1,2

D

41

J1,9

A

33

J1,3

A

13

J1,10

D

105

J1,4

D

36

J1,11

A

47

J1,5

B

25

J1,12

D

94

J1,6

D

32

J1,13

C

127

J1,7

A

22

J2,1

A

61

J2,9

A

22

J2,2

C

24

J2,10

D

30

J2,3

A

13

J2,11

A

33

J2,4

D

36

J2,12

D

105

J2,5

A

10

J2,13

A

47

J2,6

C

7

J2,14

D

94

J2,7

B

25

J2,15

C

127

J2,8

D

32

Table 1 Task table of garment hanging system

Four Kinds of Implementation Schemes

Completion Time(S)

J1 possesses the priority

1029

J2 possesses the priority

1097

No priority, J1 start first

902

No priority, J2 start first

980

Table 2 The completion time of four schemes

Set the value of n as 2, 3, 4, 5, 6 respectively and input process, time and equipment data to the program, the completion time optimized by the algorithm are 902, 1638, 1167, 1543, 1268 seconds respectively. The comparison of consumed time before and after optimization is shown in Figure 4.

The contrast diagram shows that the algorithm presented in this paper is suitable for different styles and multitask process optimization in garment hanging system. Applying the optimal scheduling policy to the garment hanging system can distribute the processing time of each process reasonably, reduce the completion time and improve the efficiency of garment hanging system for small batch and multi variety production.

Figure 3 The Petri net model of two tasks.

Moment(S)

Transition

Moment(S)

Transition

Moment(S)

Transition

0

tb1,1,1

217

tf2,5,1,tb2,6,3

377

tf2,11,1

61

tf1,1,1,tb1,2,4,tb2,1,1

224

tf2,6,3,tb2,7,2

449

tf1,10,4,tb1,11,1,tb2,12,4

102

tf1,2,4

239

tf1,6,4,tb1,7,1

496

tf1,11,1

122

tf2,1,1,tb1,3,1,tb2,2,3

249

tf2,7,2,tb2,8,4

554

tf2,12,4,tb2,13,1,tb1,12,4

135

tf1,3,1,tb1,4,4

261

tf1,7,1

601

tf2,13,1

146

tf2,2,3,tb2,3,1

281

tf2,8,4,tb1,8,4,tb2,9,1

648

tf1,12,4,tb1,13,2,tb2,14,4

159

tf2,3,1

303

tf2,9,1

742

tf2,14,4

171

tf1,4,4,tb1,5,2,tb2,4,4

311

tf1,8,4,tb1,9,1,tb2,10,4

775

tf1,13,2,tb2,15,3

196

tf1,5,2

341

tf2,10,4

902

tf2,15,3

207

tf2,4,4,tb1,6,4,tb2,5,1

344

tf1,9,1,tb1,10,4,tb2,11,1

Table 3 Optimal transition sequence

Moment(S)

Production Stage

Moment(S)

Production Stage

Moment(S)

Production Stage

0

J1,1

207

J1,6,J2,5

311

J1,9,J2,10

61

J1,2,J2,1

217

J2,6

344

J1,10,J2,11

122

J1,3,J2,2

224

J2,7

449

J1,11,J2,12

135

J1,4

239

J1,7

554

J2,13,J1,12

146

J2,3

249

J2,8

648

J1,13,J2,14

171

J1,5,J2,4

281

J1,8,J2,9

775

J2,15

Table 4 Optimal scheduling policy of the process

Clothing Type

Task Quantity

Process Quantity

Equipment Quantity

Time Before Optimization(S)

Shirt

2

28

4

1332

Tailored suit

3

36

3

2934

Jeans

4

64

9

2108

Three-quarter trousers

5

75

3

5700

Polo shirt

6

48

4

2268

Table 5 Multitask processing related data of variety clothing

Figure 4 Time comparison of multiple tasks processing.

Conclusion

In this paper, the TPPN is applied to establish the model of the garment hanging system. According to the firing rules of transitions in Petri nets and the processing characteristics of the production line, propose the optimal scheduling algorithm for multitask processing. Simulation experiment shows that the optimal scheduling algorithm, achieves the purpose of high efficiency of garment hanging system in the mode of small batch and multi variety processing. In this study, only the process optimization of multitasks production is considered. Hence, optimizing the personnel allocation at all stages of production according to the operator proficiency in the garment processing will be the next research objective.

Acknowledgement

The scientific research program is funded by Shaanxi Provincial Education Department under Grant No.16JK1342 and Shaanxi Province under Grant No.2016-GY136, also supported by Xi’an Polytechnic University under Grant No.107090811.

Conflict of interest

Author declares there is no conflict of interest in publishing the article.

References

  1. Liu WN, Zheng LJ, Sun DH. Application of RFID on multi-varieties and small-batch production management. Computer Engineering & Applications. 2010;46(27):1‒5.
  2. Li M, Shi XG. Garment manufacturing process and organization mode oriented for time-based competition. J Textile Research. 2007;28(6):123‒127.
  3. Zhao R. The study of the standard working hours formulation of apparel production and assembly line optimization. Master Thesis. 2012;
  4. Yu XC, Zeng PF, Zhao R. Garment production assembly line balance based on ant colony algorithm. J Donghua University (natural science). 2014;40(4):456‒460.
  5. Ye N, Yan YX. Man-hour quota determination method for garment production of multi-variety in small batch. J Textile Research. 2012;33(6):101‒106.
  6. Mork PY, Cheung TY, Wong WK. Intelligent production planning for complex garment manufacturing. J Intelligent Manufacturing. 2013;24(1):133‒145.
  7. Hong L, Chao DY. Enumeration of reachable states for arbitrary marked graphs. IET Control Theory & Applications. 2012;6(10):1536‒1543.
  8. Hong L, Chao DY. Controllability of weakly dependent control and mixture siphons in S3PR. Inter J System Science. 2013;44(8):1377‒1385.
  9. Hong L, Hou YF, Jing JF, et al. Deadlock prevention policy with behavioral optimality or suboptimality achieved by the redundancy identification of constrains and the rearrangement of monitors. Discrete Dynamics in Nature & Society. 2015;(1):1‒15.
  10. Su GJ, Wang J, Tian LG. The FMS optimal scheduling based on Petri net mode. Systems Engineering-Theory & Practice. 2014;34(10):2716‒2721.
  11. Liu ZL. Research on Parallel Test System Task Scheduling Based on Petri Nets and Ant Colony Algorithm. Master Thesis; 2015.
  12. Tian SL, Chen DX, Wang TY. An Asynchronous Parallel Ant Colony Optimization for Flexible Job-Shop Scheduling Problem. Journal of Tianjin University (Science and Technology). 2016;49(9):920‒928.
  13. Zhou JZ, Luo JL, Zhang YK. Optimal scheduling and control of batch chemical processes with Petri nets. Control Theory & Application. 2016;33(6):809‒815.
  14. Zhang YB, Chen Y. Application of Petri nets in the balance of garment production line. Light and Textile Industry and Technology. 2009;38(1):38‒40.
  15. Tao HM. Research on arrangement and Optimization of Apparel sewing Process. Master Thesis; 2005.
  16. Liu Y. Clothing mixed-model assembly line balancing and optimization based on Pro Model simulation system. Master Thesis; 2015.
Creative Commons Attribution License

©2017 Xiaohua, et al. This is an open access article distributed under the terms of the, which permits unrestricted use, distribution, and build upon your work non-commercially.