Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

1 Introduction

In order to convert product design data into a real product, it is necessary to perform process planning, that is, to select manufacturing processes and determine the sequence in which they are carried out. Because it plays an important role as a bridge between product design and manufacturing, numerous works on computer-aided process planning (CAPP) have been actively conducted [1].

Recent diversified and changeable customers’ needs have increased a need to realize agile manufacturing [2] that is capable of immediately adapting to changes in the manufacturing situation, and flexibility has been a keyword in recent manufacturing. This need is also being addressed in research related to CAPP [3]. This research aimed at developing autonomous machine tools that require no NC programming and can flexibly adapt to changes in the manufacturing situation, and a flexible process planning method for rough milling was proposed. This method consists of four main steps—(i) decomposing the total removal volume (TRV) through the application of decomposition rules to transform it into sets of machining primitive shapes (MPSs), (ii) converting each of the MPS sets to a set of machining features (MFs) by determining a machining sequence for each set of MPSs and recognizing each MPS as an MF, (iii) executing rough operation planning by applying a tool selection rule and a case-based reasoning system for cutting condition decisions, and (iv) extracting the optimal set of MFs to achieve the shortest machining time with information on the machining sequence and the utilized tools as the optimal process plan. With this method, process plans are generated and then the optimal plan is selected. Therefore, when the manufacturing situation changes, it is possible to quickly provide a new optimal plan by executing steps (iii) and (iv). Several enhancements have been made to this method for enabling extraction of a better set of MFs [4], for taking multi-axis milling into account and reducing computational complexity [5], and for improving computational efficiency [6].

These methods deal with process planning to create one product using one milling machine. In actual manufacturing, multiple workpieces are usually machined with multiple machine tools in the same period, and pursuing the optimal plan without consideration of total production may result in poor productivity. Considering this point, selection of the optimal process plan in the flexible CAPP methods and production scheduling (PS) were integrated, and selection of a set of the optimal process plans for multiple workpieces from the point of view of total productivity was formulated as a 0–1 integer programming problem [7]. However, this formulation needs a huge number of 0–1 variables, since it is necessary to define the variables for each sub-period defined by dividing the whole period, and therefore this method involves large computational load.

In this paper, this method is improved by formulating the integrated problem as a mixed integer programming (MIP) problem. In the next section, the flexible CAPP method [6] is outlined, and then the problem of the conventional integrated method [7] based on this CAPP method is explained. Section 3 provides formulation of the integrated problem of selection of the optimal process plans for multiple products and PS as an MIP problem. This improved method is applied to an example in Sect. 4, and Sect. 5 presents our conclusion.

2 Overview of Conventional Method

This section provides an outline of the conventional CAPP method [5, 6], which was improved considering integration with PS [7] and will be also improved further in Sect. 3. In this method, which is for rough milling, it is assumed all surfaces of the workpiece and the product are parallel to the xy, yz or zx plane of an orthogonal coordinate system and the tool approaches the workpiece along one of these axes (Fig. 1). Process planning is performed by the following steps:

  1. 1.

    TRV extraction

    The total removal volume (TRV), which is the volume to be eliminated from a workpiece to obtain the product shape, is calculated by subtracting the product shape from the workpiece shape (Fig. 2).

  2. 2.

    Concavity-based division

    A cutting plane is generated at a concave part of the TRV contour by extending a surface, and then the TRV is divided by it. This process is repeated until the division has been executed at all concave parts, and the TRV is converted into a set of machining primitive shapes (MPSs). Since type of the MPS set depends on the generation direction and sequence of the cutting planes, multiple MPS sets can be produced from one TRV (Fig. 3).

  3. 3.

    Machining sequence and direction assignment

    For each MPS set, the machining direction (Fig. 1) for each MPS and the machining sequence for those MPSs are considered.

  4. 4.

    MF recognition

    The machining directions and sequence assignment enables recognizing an MPS as a machining feature (MF) based on the number of its “open faces” and the relationship among its vertices and edges. For each MPS set, multiple MF sets are generated depending on the direction and sequence (Fig. 4).

  5. 5.

    Process plan generation

    For each MF set, a tool used for each MF is chosen from available tools by applying a given rule, and the machining condition for the MF is decided by a case-based reasoning system [8]. This operation generates, for each MPS set, MF sets including information about the machining sequence, the machining directions, and the tools to be used—that is, a process plans is generated.

  6. 6.

    Evaluation

    For each process plan of each MPS set, the total machining time is estimated. The plan that achieves the shortest total machining time is selected as the optimal process plan for the MPS set by the full search [5] or mathematical optimization framework [6]. After performing this operation for all MPS sets, the estimated total machining times for the optimal plans are compared with each other. The optimal plan for which the estimated total machining time is the shortest is ultimately output as the optimal process plan for the TRV.

In actual manufacturing, multiple workpieces are usually machined by using multiple machines in the same period. If this method is applied to those workpieces, the optimal plan is generated for each of them independently. Those plans would not be optimal from the point of view of manufacturing systems, since a machine tool can machine only one workpiece at a time. It is desirable to integrate process planning by this method with PS, and the integrated problem was formulated as a 0–1 integer programming problem where 0–1 variables are defined for each sub-period defined by dividing the whole period [7]. Since machining requires long time generally, the number of those variables are huge and therefore the integrated method involves a very large computational load.

Fig. 1.
figure 1

Definition of machining directions [7].

Fig. 2.
figure 2

TRV extraction [7].

Fig. 3.
figure 3

Sets of MPSs extracted from the TRV. The numbers in each set are the identification numbers for the MPSs [7].

Fig. 4.
figure 4

MF recognition for an MPS set. Strings in each set stand for feature types (“CS”, “OS”, “OP”, and “ST” stand for “closed slot”, “open slot”, “open pocket”, and “step”, respectively) [7].

3 Improved Integrated Method of CAPP and PS

This section provides formulation of the integrated problem of the optimal plan selection and PS as an MIP. Two kinds of 0–1 variables \(x_{a v S_{1}\cdots S_{N}dt}\), \(y_{a,i,b,j}\) and three kinds of real variables \(s_{a,i}^{m}\), \(f_{a,i}^{m}\), \(C_{max}\) are introduced, where \(a,b \in \mathcal {R}:=\{1,\ldots ,R\}\) and \(v\in \mathcal {V}:=\{1,\ldots V\}\) stand for the ID number of product and its MPS set, respectively, and N is the total number of the MPSs. (It is assumed that the total numbers of MPS sets and MPSs in the set are same for any product and any MPS set.) \(S_{k}\) is the ID number of the MPS that is machined after machining other \(k-1\) MPSs. \(S_{1}\) takes a value in \(\mathcal {N}:=\{1,\ldots ,N\}\), and \(S_{k},~k\ge 2\) takes a value in \(\{0\}\cup \mathcal {N},~k\ge 2\). \(S_{\tilde{k}}=0, ~\forall {\tilde{k}}>k\) means only the first k MPSs has been machined. \(d \in \mathcal {D}:=\{1,\ldots 6\}\) is machining direction (\(1:+x\); \(2:-x\); \(\cdots 6:-z\)). \(t\in \mathcal {T}:=\{1,\ldots T\}\) and \(m\in \mathcal {M}:=\{1,\ldots ,M\}\) are the ID number of the utilized tool and machine. \(i,j\in \mathcal {N}\) are the operation number. \(x_{avS_{1}\cdots S_{k-1}S_{k}0\cdots 0dt}=1\) means that the MPS \(S_{k}\) of the MPS set v for the product a is machined in the direction d with the tool t after machining MPS \(S_{1},~S_{2},\ldots ,S_{k-1}\) in this order, and the time required for this machining is \(P_{avS_{1}\cdots S_{k-1}S_{k}0\cdots 0dt}\), which has been calculated in advance and set to an negative value for unfeasible machining. \(y_{a,i,b,j}=1\) means the i-th operation of product a is executed after the j-th operation of product b. \(s_{a,i}^{m}\) and \(f_{a,i}^{m}\) stand for the starting and finishing times of the i-th operation of product a. \(C_{max}\) is the time at which all operations are completed. Let \(\tau _{a,i}^{m}\) is the required time for the i-th operation of product a by machine m, \(T_{m}\) is the set of tools implemented on machine m and \(\overline{M}\) is a positive value that is large enough, then the problem of finding the optimal plans for the products which achieve the smallest makespan \(C_{max}\) is described as an MIP by the following equations and inequalities. (112) are same as those in the conventional method, (1420) are for formulation of PS problem as an MIP, and Eq. (13) integrates CAPP and PS.

(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)

4 Case Study

The proposed method was applied to an example of \(R=3, V=4, N=4, M=2, T=8, T_{1}=T_{2}=4\) (Fig. 5 and Table 1). The calculation was performed with a workstation (Intel Core i7-6700K 4.00 GHz, 8 GB RAM) and a commercial solver (IBM ILOG CPLEX Optimization Studio 12.6.2). The result shown in Table 2 and Figs. 6 and 7 was obtained after computing about 8 h, though it was impossible to solve the problem by the conventional method.

Fig. 5.
figure 5

TRVs (the blue/brown/green volumes) and their dimensions (in mm). (Color figure online)

Fig. 6.
figure 6

MPS set of the optimal plans.

Fig. 7.
figure 7

Gantt chart.

 

Table 1. Available tools. “F” and “E” stand for facemill and endmill.
Table 2. Machining sequence in the optimal process plan. “X, Y, Z” stands for MPS ID, direction and Tool ID.

5 Conclusion

The integrated method of flexible CAPP and PS has been improved by formulating the integrated problem as an MIP. It has become possible to obtain solutions for larger problems. Further improvement is still required for actual machining.