CN102193521B - Multi-hole parallel processing method based on genetic algorithm - Google Patents

Multi-hole parallel processing method based on genetic algorithm Download PDF

Info

Publication number
CN102193521B
CN102193521B CN 201110133996 CN201110133996A CN102193521B CN 102193521 B CN102193521 B CN 102193521B CN 201110133996 CN201110133996 CN 201110133996 CN 201110133996 A CN201110133996 A CN 201110133996A CN 102193521 B CN102193521 B CN 102193521B
Authority
CN
China
Prior art keywords
hole
cutter
sigma
processing
face
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 201110133996
Other languages
Chinese (zh)
Other versions
CN102193521A (en
Inventor
李淑娟
刘永
李言
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian University of Technology
Original Assignee
Xian University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian University of Technology filed Critical Xian University of Technology
Priority to CN 201110133996 priority Critical patent/CN102193521B/en
Publication of CN102193521A publication Critical patent/CN102193521A/en
Application granted granted Critical
Publication of CN102193521B publication Critical patent/CN102193521B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Milling Processes (AREA)

Abstract

The invention discloses a multi-hole parallel processing method based on a genetic algorithm. Multi-hole processing is carried out on a reconfigurable and parallel drilling numerical control machine tool as an application object. The method comprises the following concrete steps of: 1, confirming Z-direction movement speeds Vw and Vt of a workpiece and a right cutter installed on a workbench of the reconfigurable and parallel drilling numerical control machine tool; 2, confirming related technological parameters of each hole to be processed on a processing surface of the workpiece and the workpiece; 3, establishing a technological optimization objective and constrained conditions which comprises the hole processing time, a cutter feeding speed, rotating speed constraint, and cutter life constraint; 4, solving with a genetic algorithm to obtain a chromosome with a minimum moderate value; and 5, carrying out numerical control code compilation on processing of part holes according to the structure of the chromosome with the minimum moderate value and finally beginning to process. By adopting the method, the processing parameters of the hole can be quickly obtained, a processing route of the hole can be quickly generated, and a processing simulation process of the cutter related to the time can be quickly generated.

Description

Multi-hole parallel processing method based on genetic algorithm
Technical field
The invention belongs to Reconfigurable Manufacturing System production control technical field, be used for restructural drilling machine control technology in parallel, be specifically related to a kind of multi-hole parallel processing method based on genetic algorithm.
Background technology
Reconfigurable Manufacturing System can effectively solve the production efficiency of existing manufacturing system existence and the contradiction between the flexibility, takes full advantage of the contradiction between existing resource and the new processing request of adaptation.Greatly shorten the Time To Market of planning, design and construction time and the new product of the manufacturing system of product variety and change of production, significantly investment, the market competitiveness that reduces production costs, ensures the quality of products, makes rational use of resources, improves enterprise and the profitability of compressibility construction.
The restructural parallel machine has following characteristic as the important composition module of reconfigurable system: working (machining) efficiency is high, and cost is low, and is flexible high.In recent years, existing multiple theoretical method is realized the structural design of Reconfigurable Machine Tools.As: professor Li Aiping of Tongji University proposes method for designing (Machine Design and research, 2010,26 (5): P114-P118) of the Reconfigurable Machine Tools of character-driven; Professor Wang Youjun of Northwestern Polytechnical University has carried out design studies to the parts of restructural deep hole working machine, has solved a difficult problem (machine science and technology, 2009,28 (12): P1572-P1575) of configurable component design in the reconfigurable design; East China University of Science's Wang Qing penetrating judgment is awarded according to concurrent engineering theoretical, has proposed a kind of based on process planning and parallel Reconfigurable Machine Tool Design method (China Mechanical Engineering, 2005,16 (7): P588-P593) of finishing of lathe configuration.Above-mentioned achievement in research provides important evidence to the Physical Reconstruction (being hardware reconstruct) of Reconfigurable Manufacturing System.
Yet, at present relatively less to the research of soft reconstruct theory in the Reconfigurable Manufacturing System, especially the restructural parallel machine is carried out product processing technique optimization just still less.Existing achievement in research has provided a technological design general frame structure and thinking mostly, and specific aim is not strong, and Process Planning is complicated, and technological parameter is difficult to determine, design proposal be feasible solution be not optimum solution.And because the motion process of restructural parallel machine is complicated, the variation of its technological design requires to have the flexibility of height and optimization ability fast.Therefore, existing multi-hole parallel Design Processing and optimization method require further improvement.
Summary of the invention
The purpose of this invention is to provide a kind of multi-hole parallel processing method based on genetic algorithm, it is not enough to have solved two aspects that exist in the prior art: under multiple processing constraint condition, and the fast automatic difficulty of choosing of hole working process parameter; Process route is difficult to find optimum during porous processing, especially adds man-hour at multi-hole parallel, can only determine by means of artificial experience or according to simple rule, causes working (machining) efficiency low.
The technical solution adopted in the present invention is, a kind of multi-hole parallel processing method based on genetic algorithm, carry out porous processing as application take restructural drilling numerically-controlled machine in parallel, left cutter only has the degree of freedom of X-axis traverse feed, the degree of freedom that right cutter has X-axis laterally and Z axis vertically moves, platen moves and can rotate around Z axis along Z axis, and the method is specifically implemented according to following steps
Step 1: determine to be installed in workpiece on the restructural drilling numerically controlled machine in parallel and the Z-direction translational speed V of right cutter w, V t
Step 2: determine that each intends the related process parameter of machining hole on workpiece and the machined surface thereof, the related process parameter comprises following several:
BHN-part material hardness, unit is HB,
The diameter in d-hole, unit are mm,
n AThe number in hole on the-A face,
f AjThe speed of feed in j hole the on-processing A face, j=1,2 .., n A, unit is mm/rev,
n BThe number in hole on the-B face,
f BtThe speed of feed in t hole the on-processing B face, t=1,2 .., n B, unit is mm/rev,
h AjThe degree of depth in j hole the on-processing A face, unit is mm,
h BtThe degree of depth in t hole the on-processing B face, unit is mm,
N AjThe cutter rotating speed in j hole the on-processing A face, unit is rpm,
N BtThe cutter rotating speed in t hole the on-processing B face, unit is rpm,
O AjThe Z-direction coordinate figure in j hole the on-face A, unit are mm,
O BtThe Z-direction coordinate figure in t hole the on-face B, unit are mm;
Step 3: set up process optimization target and constraint condition
3.1) objective function is that the hole is the shortest process time: F=Min{max (T 1, T 2),
Wherein, T 1Be the deadline of left cutter: T 1 = Σ j = 1 n A [ t Aj + t Ajm + t Ajw ] ,
T 2Be the deadline of right cutter: T 2 = Σ t = 1 n B [ t Bt + t Btm + t Btw ] ,
t AjBe the drilling time in hole: t Aj = h Aj f Aj N Aj , j=1,2,...,n A
t BtBe the drilling time in hole: t Bt = h Bt f Bt N Bt , t=1,2,...,n B
t AjmBe the part traveling time: t Ajm = | O A ( j + 1 ) - O Aj | V w , j=1,2,...,n A-1,
t BtmTraveling time for right cutter:
t Btm = ( O A ( j + 1 ) - O Aj ) + ( O B ( t + 1 ) - O Bt ) V t ,
In the above-mentioned formula, t Ajw, t BtwBe respectively the processing stand-by period of left cutter, right cutter, this time determines according to machining state in optimizing process,
3.2) constraint condition:
3.21) left cutter, right tool feeding speed and rotating speed constraint comprise:
f Amin<f Aj≤f Amax,j=1,2,...,n A
f Bmin<f Bt≤f Bmax,t=1,2,...,n B
N Amin<N Aj≤N Amax,j=1,2,...,n A
N Bmin<N Bt≤N Bmax,t=1,2,...,n B
In the above-mentioned formula, f Min, f MaxBe respectively minimum and the maximal value of left cutter, right tool feeding speed; N Min, N MaxBe respectively minimum and the maximal value of left cutter, right cutter rotating speed;
3.22) the life-span constraint of left cutter, right cutter
24000 = πd 12 NT L 0.15 f 0.6 d 0.3 × ( BHN ) 1.25 ,
In the above-mentioned formula, T LBe cutter life, unit minute is convenient to optimize and calculates, and adapts to the multi-state condition of work, and the cutter life constraint is converted into following form:
Σ j = 1 n A t Aj T LAj = Σ j = 1 n A N Aj 5.67 f Aj 3 × h Aj d Aj 0.667 × ( BHN ) 8.33 1.26 × 10 33 ≤ 1 ,
Σ t = 1 n B t Bt T LBt = Σ j = 1 n B N Bt 5.67 f Bt 3 × h Bt d Bt 0.667 × ( BHN ) 8.33 1.26 × 10 33 ≤ 1 ,
Wherein, T LAjBe the cutter life of cutter under the operating mode in j hole of A face processing;
T LBtBe the cutter life of cutter under the operating mode in t hole of B face processing;
d AjDiameter for j hole on the A face;
d BtDiameter for t hole on the B face;
Step 4: genetic algorithm for solving
4.1) genetic coding
Chromosome is divided into two sections of A, B represents respectively A, B face, each gene on the chromosome represents machining hole, has comprised the related process parameter in hole, and the order of gene represents the processing sequence in hole;
4.2) the initial population generation
Certain hole of choosing at random on the A face is placed on the chromosomal A section, and is satisfying under speed of feed and the rotating speed constraint condition technological parameter that generates the hole, repetitive operation until the hole on the A face all be put on the A section chromosome;
Same method generates B section chromosome, and determines chromosomal related process parameter, repeats aforesaid operations and produces new item chromosome, until chromosome number reaches colony's number;
4.3) appropriate function calculation
Calculate every chromosomal appropriateness value in the colony according to optimization aim, computing method are as described in the step 3, and this moment, key issue was to determine the stand-by period of tool sharpening, the concrete following several situation that is divided into of calculating:
Situation 1, when t Aj ≥ Σ t = 1 l B t Bt + Σ t = 1 l B t Btm , l B∈ [1, n B] time,
If a. t Aj + t Ajm ≥ Σ t = 1 l B t Bt + Σ t = 1 l B + 1 t Btm , So t Btw = ( t Aj + t Ajm ) - ( Σ t = 1 l B t Bt + Σ t = 1 l B + 1 t Btm ) ,
If b. t Aj + t Ajm < &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm , So left cutter, right cutter stand-by period are 0,
Situation 2, when t Aj < &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B t Btm , l B∈[1,n B],
The stand-by period of left cutter is: t Ajw = t Aj - ( &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B t Btm ) ,
If c. t Aj + t Ajm + t Ajw &GreaterEqual; &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm , So t Btw = t Aj + t Ajm + t Ajw - ( &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm ) ,
If d. t Aj + t Ajm + t Ajw < &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm , The stand-by period of so right cutter is t Btw=0,
4.4) carry out genetic manipulation
Produce new colony by the simulation genetic process,
A. replicate run
Choose the chromosome of appropriate functional value minimum in the current colony and put into new colony;
B. interlace operation
According to probability P cIntersect, choose at random two chromosomes in the current colony, the A in the chiasmatypy, B section produce two new chromosomes and put into new colony;
C. mutation operation
According to probability P mMake a variation, choose at random the item chromosome in the current colony, extract the regeneration that any one gene carries out technological parameter in A, B section respectively, newly-generated chromosome is put into new colony;
D. supply colony
Use the initialized method of colony to generate new chromosome, supply colony's chromosome number;
4.5) the algorithm end
If reach the iterations of algorithm then stop computing, the minimum chromosome of output appropriateness value, otherwise the operation of repeating step 4.3-step 4.4;
Step 5: the chromosome structure of the appropriateness value minimum that obtains according to step 4, the numerical control code establishment is carried out in the processing of hole in piece part, determine speed of feed, cutter rotating speed, cutter radius compensation, translational speed and the cutting line of left and right sides cutter in the NC Machining Process, the numerical control code establishment standard of combining with digital control lathe, finish the establishment of numerical control code, the simulation feed tries processing and formal processing at last.
Beneficial effect of the present invention is: under the conditions such as geometric parameter that satisfy machine tooling operating mode, cutter life constraint and hole, use algorithm can obtain rapidly the machined parameters in hole; On the basis that technological parameter is determined, the shortest in target to realize process time, the processing route in generation hole; According to the structural constraint of lathe, generate the processing simulation process of cutter and time correlation.
Description of drawings
Fig. 1 is the mounting structure synoptic diagram of the inventive method cutter and workpiece;
Fig. 2 is the principle schematic of calculating the cutter stand-by period in the inventive method, wherein a is the stand-by period of the tool sharpening in the first situation, b is the stand-by period of the tool sharpening in the second situation, c is the stand-by period of the tool sharpening in the third situation, and d is the stand-by period of the 4th kind of tool sharpening in the situation;
Fig. 3 is the appropriate function trend of evolution figure of employing scheme 1 in the inventive method;
Fig. 4 is the appropriate function trend of evolution figure of employing scheme 2 in the inventive method.
Among the figure, 1. left cutter, 2. right cutter, 3. workpiece.
Embodiment
The present invention is described in detail below in conjunction with the drawings and specific embodiments.
Method of the present invention is carried out porous processing as application take restructural drilling numerically-controlled machine in parallel, specifically implements according to following steps:
Step 1: with reference to Fig. 1,1 on left cutter has the laterally degree of freedom of (X-direction) feeding, right cutter 2 has laterally mobile degree of freedom of (X-direction) vertical (Z-direction), worktable moves and can rotate around Z axis along Z axis, in the case, determine respectively to be installed in workpiece 3 on the restructural drilling numerically controlled machine in parallel and the Z-direction translational speed V of right cutter 2 w, V t
Step 2: determine that each intends the related process parameter of machining hole on workpiece and the machined surface thereof, the structure of workpiece 3 as shown in Figure 1, A face hole A1, A2.... hole, the hole An that need to process for example, the hole B1 that the B face need to be processed, B2.... hole, hole Bn, the related process parameter comprises following several:
BHN-part material hardness, unit is HB,
The diameter in d-hole, unit are mm,
n AThe number in hole on the-A face,
f AjThe speed of feed in j hole the on-processing A face, j=1,2 ..., n A, unit is mm/rev,
n BThe number in hole on the-B face,
f BtThe speed of feed in t hole the on-processing B face, t=1,2 ..., n B, unit is mm/rev,
h AjThe degree of depth in j hole the on-processing A face, unit is mm,
h BtThe degree of depth in t hole the on-processing B face, unit is mm,
N AjThe cutter rotating speed in j hole the on-processing A face, unit is rpm,
N BtThe cutter rotating speed in t hole the on-processing B face, unit is rpm,
O AjThe Z-direction coordinate figure in j hole the on-face A, unit are mm,
O BtThe Z-direction coordinate figure in t hole the on-face B, unit are mm;
Step 3: set up process optimization target and constraint condition
3.1) objective function is that the hole is the shortest process time: F=Min{max (T 1, T 2),
Wherein, T 1Be the deadline of left cutter 1: T 1 = &Sigma; j = 1 n A [ t Aj + t Ajm + t Ajw ] ,
T 2Be the deadline of right cutter 2: T 2 = &Sigma; t = 1 n B [ t Bt + t Btm + t Btw ] ,
t AjBe the drilling time in hole: t Aj = h Aj f Aj N Aj , j=1,2,...,n A
t BtBe the drilling time in hole: t Bt = h Bt f Bt N Bt , t=1,2,...,n B
t AjmBe the part traveling time: t Ajm = | O A ( j + 1 ) - O Aj | V w , j=1,2,...,n A-1,
t BtmTraveling time for right cutter 2: t Btm = ( O A ( j + 1 ) - O Aj ) + ( O B ( t + 1 ) - O Bt ) V t ,
In the above-mentioned formula, t Ajw, t BtwBe respectively the processing stand-by period of left cutter 1, right cutter 2, this time determines according to machining state in optimizing process,
3.2) constraint condition:
3.21) constraint of left and right sides tool feeding speed and rotating speed comprises:
f Amin<f Aj≤f Amax,j=1,2,...,n A
f Bmin<f Bt≤f Bmax,t=1,2,...,n B
N Amin<N Aj≤N Amax,j=1,2,...,n A
N Bmin<N Bt≤N Bmax,t=1,2,...,n B
In the above-mentioned formula, f Min, f MaxBe respectively minimum and the maximal value of left and right sides tool feeding speed; N Min, N MaxBe respectively minimum and the maximal value of left and right sides cutter rotating speed;
3.22) constraint of left and right sides cutter life
24000 = &pi;d 12 NT L 0.15 f 0.6 d 0.3 &times; ( BHN ) 1.25 ,
In the above-mentioned formula, T LBe cutter life, unit minute is convenient to optimize and calculates, and adapts to the multi-state condition of work, and the cutter life constraint is converted into following form:
&Sigma; j = 1 n A t Aj T LAj = &Sigma; j = 1 n A N Aj 5.67 f Aj 3 &times; h Aj d Aj 0.667 &times; ( BHN ) 8.33 1.26 &times; 10 33 &le; 1 ,
&Sigma; t = 1 n B t Bt T LBt = &Sigma; j = 1 n B N Bt 5.67 f Bt 3 &times; h Bt d Bt 0.667 &times; ( BHN ) 8.33 1.26 &times; 10 33 &le; 1 ,
Wherein, T LAjBe the cutter life of cutter under the operating mode in j hole of A face processing;
T LBtBe the cutter life of cutter under the operating mode in t hole of B face processing;
d AjDiameter for j hole on the A face;
d BtDiameter for t hole on the B face;
Step 4: genetic algorithm for solving
4.1) genetic coding
Chromosome is divided into two sections of A, B represents respectively A, B face, each gene on the chromosome represents machining hole, has comprised the related process parameter in hole, and the order of gene represents the processing sequence in hole;
4.2) the initial population generation
Certain hole of choosing at random on the A face is placed on the chromosomal A section, and is satisfying under speed of feed and the rotating speed constraint condition technological parameter that generates the hole, repetitive operation until the hole on the A face all be put on the A section chromosome;
Same method generates B section chromosome, and determines chromosomal related process parameter, repeats aforesaid operations and produces new item chromosome, until chromosome number reaches colony's number;
4.3) appropriate function calculation
Calculate every chromosomal appropriateness value in the colony according to optimization aim, computing method are as described in the step 3, and for processing, wait, the traveling time of determining tool sharpening, wherein key issue is to determine the stand-by period of tool sharpening, the concrete following several situation that is divided into of calculating, with reference to Fig. 2:
Situation 1, when t Aj &GreaterEqual; &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B t Btm , l B∈ [1, n B] time,
If a. t Aj + t Ajm &GreaterEqual; &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm ,
So t Btw = ( t Aj + t Ajm ) - ( &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm ) , Shown in Fig. 2 a,
If b. t Aj + t Ajm < &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm ,
So left cutter 1,2 stand-by period of right cutter are 0, shown in Fig. 2 b,
Situation 2, when t Aj < &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B t Btm , l B∈[1,n B],
The stand-by period of left cutter 1 is: t Ajw = t Aj - ( &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B t Btm ) ,
If c. t Aj + t Ajm + t Ajw &GreaterEqual; &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm ,
So t Btw = t Aj + t Ajm + t Ajw - ( &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm ) , Shown in Fig. 2 c,
If d. t Aj + t Ajm + t Ajw < &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm ,
The stand-by period of so right cutter 2 is t Btw=0, shown in Fig. 2 d,
4.4) carry out genetic manipulation
Produce new colony by the simulation genetic process,
A. replicate run
Choose the chromosome of appropriate functional value minimum in the current colony and put into new colony;
B. interlace operation
According to probability P cIntersect, choose at random two chromosomes in the current colony, the A in the chiasmatypy, B section produce two new chromosomes and put into new colony;
C. mutation operation
According to probability P mMake a variation, choose at random the item chromosome in the current colony, extract the regeneration that any one gene carries out technological parameter in A, B section respectively, newly-generated chromosome is put into new colony;
D. supply colony
Use the initialized method of colony to generate new chromosome, supply colony's chromosome number;
4.5) the algorithm end
If reach the iterations of algorithm then stop computing, the minimum chromosome of output appropriateness value, otherwise the operation of repeating step 4.3-step 4.4.
Step 5: the chromosome structure of the appropriateness value minimum that obtains according to step 4, the numerical control code establishment is carried out in the processing of hole in piece part, determine speed of feed, cutter rotating speed, cutter radius compensation, translational speed and the cutting line of left and right sides cutter in the NC Machining Process, the numerical control code establishment standard of combining with digital control lathe, finish the establishment of numerical control code, the simulation feed tries processing and formal processing at last.The coding step comprises following several:
5.1) machining starting point is set: respectively take first machining hole of two A, B face as machining starting point;
5.2) spindle parameters is set: rotating speed and speed of feed;
5.3) set and process instruction: straight-line feed, withdrawing;
5.4) set wait instruction: machining coordinate, the speed of mainshaft remain unchanged;
5.5) set move: travelling workpiece or cutter are processed to next hole.
Embodiment
All apertures are 5mm, f Min=0mm, f Max=0.36mm, N Min=0rpm, N Max=130rpm.The position signal in hole is blind hole as shown in Figure 1, and correlation parameter is as shown in table 1.The Java programming realizes above-mentioned algorithm.
The a plurality of blind hole machined parameters of the left and right cutter of table 1 (mm of unit)
Parameter Value Parameter Value Parameter Value Parameter Value
h A1 18 h B2 6 O A2 40 O B3 38
h A2 10 h B3 17 O B1 12 V w(mm/s) 25
h B1 15 O A1 20 O B2 28 V t(mm/s) 30
Because worktable can rotate around Z axis, so two kinds of prioritization schemes are arranged: scheme 1 is left cutter 1 processing A face, right cutter 2 processing B faces; Scheme 2 is left cutter 1 processing B faces, right cutter 2 processing A faces, and result of calculation is respectively shown in table 2, table 3.The appropriate functional value of the algorithm of employing scheme 1, scheme 2 is distinguished as shown in Figure 3, Figure 4 with the variation tendency of iterations, can find out that algorithm just can obtain near-optimum solution under very short iterations, and keep stablizing downward trend, show feasibility and the validity of the inventive method.
The optimum results of table 2 scheme 1
Figure BDA0000063030940000121
The optimum results of table 3 scheme 2
Figure BDA0000063030940000132
More above-mentioned two schemes, therefore scheme 1 optimum carries out the establishment of numerical control code according to its result, finally finishes the control of process.Code is as follows:
Left cutter 1 (the B1 starting point is reference zero)
Figure BDA0000063030940000133
Figure BDA0000063030940000141
Right cutter 2 (the A2 starting point is reference zero)
Figure BDA0000063030940000142
The present invention can be used in the technological design and optimizing process of restructural drilling machine porous processing in parallel, has following beneficial effect: 1) under the conditions such as geometric parameter that satisfy machine tooling operating mode, cutter life constraint and hole, use algorithm can obtain rapidly the machined parameters in hole; 2) on the basis that technological parameter is determined, the shortest in target to realize process time, the processing route in generation hole; 3) according to the structural constraint of lathe, generate the processing simulation process of cutter and time correlation; 4) the inventive method also can be used for technological design and the optimization in other multi-hole parallel processing situation.

Claims (2)

1. multi-hole parallel processing method based on genetic algorithm, carry out porous processing as application take restructural drilling numerically-controlled machine in parallel, left cutter (1) only has the degree of freedom of X-axis traverse feed, the degree of freedom that right cutter (2) has X-axis laterally and Z axis vertically moves, platen moves and can rotate around Z axis along Z axis, its characteristics are: the method is specifically implemented according to following steps
Step 1: determine to be installed in workpiece (3) on the restructural drilling numerically controlled machine in parallel and the Z-direction translational speed V of right cutter (2) w, V t
Step 2: determine that each intends the related process parameter of machining hole on workpiece (3) and the machined surface thereof, the related process parameter comprises following several:
BHN-part material hardness, unit is HB,
The diameter in d-hole, unit are mm,
n AThe number in hole on the-A face,
f AjThe speed of feed in j hole the on-processing A face, j=1,2 ..., n A, unit is mm/rev,
n BThe number in hole on the-B face,
f BtThe speed of feed in t hole the on-processing B face, t=1,2 ..., n B, unit is mm/rev,
h AjThe degree of depth in j hole the on-processing A face, unit is mm,
h BtThe degree of depth in t hole the on-processing B face, unit is mm,
N AjThe cutter rotating speed in j hole the on-processing A face, unit is rpm,
N BtThe cutter rotating speed in t hole the on-processing B face, unit is rpm,
O AjThe Z-direction coordinate figure in j hole the on-face A, unit are mm,
O BtThe Z-direction coordinate figure in t hole the on-face B, unit are mm;
Step 3: set up process optimization target and constraint condition
3.1) objective function is that the hole is the shortest process time: F=Min{max (T 1, T 2),
Wherein, T 1Be the deadline of left cutter (1): T 1 = &Sigma; j = 1 n A [ t Aj + t Ajm + t Ajw ] ,
T 2Be the deadline of right cutter (2): T 2 = &Sigma; t = 1 n B [ t Bt + t Btm + t Btw ] ,
t AjBe the drilling time in hole: t Aj = h Aj f Aj N Aj , j=1,2,...,n A
t BtBe the drilling time in hole: t Bt = h Bt f Bt N Bt , t=1,2,...,n B
t AjmBe the part traveling time: t Ajm = | O A ( j + 1 ) - O Aj | V w , j=1,2,...,n A-1,
t BtmTraveling time for right cutter (2):
t Btm = ( O A ( j + 1 ) - O Aj ) + ( O B ( t + 1 ) - O Bt ) V t ,
In the above-mentioned formula, t Ajw, t BtwBe respectively the processing stand-by period of left cutter (1), right cutter (2), this time determines according to machining state in optimizing process,
3.2) constraint condition:
3.21) left cutter (1), right cutter (2) speed of feed and rotating speed constraint comprise:
f Amin<f Aj≤f Amax,j=1,2,...,n A
f Bmin<f Bt≤f Bmax,t=1,2,...,n B
N Amin<N Aj≤N Amax,j=1,2,...,n A
N Bmin<N Bt≤N Bmax,t=1,2,...,n B
In the above-mentioned formula, f Min, f MaxBe respectively minimum and the maximal value of left cutter (1), right cutter (2) speed of feed; N Min, N MaxBe respectively minimum and the maximal value of left cutter (1), right cutter (2) rotating speed;
3.22) the life-span constraint of left cutter (1), right cutter (2)
24000 = &pi;d 12 NT L 0.15 f 0.6 d 0.3 &times; ( BHN ) 1.25 ,
In the above-mentioned formula, T LBe cutter life, unit minute is convenient to optimize and calculates, and adapts to the multi-state condition of work, and the cutter life constraint is converted into following form:
&Sigma; j = 1 n A t Aj T LAj = &Sigma; j = 1 n A N Aj 5.67 f Aj 3 &times; h Aj d Aj 0.667 &times; ( BHN ) 8.33 1.26 &times; 10 33 &le; 1 ,
&Sigma; t = 1 n B t Bt T LBt = &Sigma; j = 1 n B N Bt 5.67 f Bt 3 &times; h Bt d Bt 0.667 &times; ( BHN ) 8.33 1.26 &times; 10 33 &le; 1 ,
Wherein, T LAjBe the cutter life of cutter under the operating mode in j hole of A face processing;
T LBtBe the cutter life of cutter under the operating mode in t hole of B face processing;
d AjDiameter for j hole on the A face;
d BtDiameter for t hole on the B face;
Step 4: genetic algorithm for solving
4.1) genetic coding
Chromosome is divided into two sections of A, B represents respectively A, B face, each gene on the chromosome represents machining hole, has comprised the related process parameter in hole, and the order of gene represents the processing sequence in hole;
4.2) the initial population generation
Certain hole of choosing at random on the A face is placed on the chromosomal A section, and is satisfying under speed of feed and the rotating speed constraint condition technological parameter that generates the hole, repetitive operation until the hole on the A face all be put on the A section chromosome;
Same method generates B section chromosome, and determines chromosomal related process parameter, repeats aforesaid operations and produces new item chromosome, until chromosome number reaches colony's number;
4.3) appropriate function calculation
Calculate every chromosomal appropriateness value in the colony according to optimization aim, computing method are as described in the step 3, and this moment, key issue was to determine the stand-by period of tool sharpening, specifically was divided into following several situation:
Situation 1, when t Aj &GreaterEqual; &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B t Btm , l B∈ [1, n B] time,
If a. t Aj + t Ajm &GreaterEqual; &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm , So t Btw = ( t Aj + t Ajm ) - ( &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm ) ,
If b. t Aj + t Ajm < &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm , So left cutter (1), right cutter (2) stand-by period are 0,
Situation 2, when t Aj < &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B t Btm , l B∈[1,n B],
The stand-by period of left cutter (1) is: t Ajw = t Aj - ( &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B t Btm ) ,
If c. t Aj + t Ajm + t Ajw &GreaterEqual; &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm , So t Btw = t Aj + t Ajm + t Ajw - ( &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm ) ,
If d. t Aj + t Ajm + t Ajw < &Sigma; t = 1 l B t Bt + &Sigma; t = 1 l B + 1 t Btm , The stand-by period of so right cutter (2) is t Btw=0,
4.4) carry out genetic manipulation
Produce new colony by the simulation genetic process,
A. replicate run
Choose the chromosome of appropriate functional value minimum in the current colony and put into new colony;
B. interlace operation
According to probability P cIntersect, choose at random two chromosomes in the current colony, the A in the chiasmatypy, B section produce two new chromosomes and put into new colony;
C. mutation operation
According to probability P mMake a variation, choose at random the item chromosome in the current colony, extract the regeneration that any one gene carries out technological parameter in A, B section respectively, newly-generated chromosome is put into new colony;
D. supply colony
Use the initialized method of colony to generate new chromosome, supply colony's chromosome number;
4.5) the algorithm end
If reach the iterations of algorithm then stop computing, the minimum chromosome of output appropriateness value, otherwise the operation of repeating step 4.3-step 4.4;
Step 5: the chromosome structure of the appropriateness value minimum that obtains according to step 4, the numerical control code establishment is carried out in the processing of hole in piece part, determine speed of feed, cutter rotating speed, cutter radius compensation, translational speed and the cutting line of left and right sides cutter in the NC Machining Process, the numerical control code establishment standard of combining with digital control lathe, finish the establishment of numerical control code, the simulation feed tries processing and formal processing at last.
2. method according to claim 1, it is characterized in that: the coding in the described step 5 specifically comprises following several:
5.1) machining starting point is set: respectively take first machining hole of two A, B face as machining starting point;
5.2) spindle parameters is set: rotating speed and speed of feed;
5.3) set and process instruction: straight-line feed, withdrawing;
5.4) set wait instruction: machining coordinate, the speed of mainshaft remain unchanged;
5.5) set move: travelling workpiece or cutter are processed to next hole.
CN 201110133996 2011-05-23 2011-05-23 Multi-hole parallel processing method based on genetic algorithm Expired - Fee Related CN102193521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110133996 CN102193521B (en) 2011-05-23 2011-05-23 Multi-hole parallel processing method based on genetic algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110133996 CN102193521B (en) 2011-05-23 2011-05-23 Multi-hole parallel processing method based on genetic algorithm

Publications (2)

Publication Number Publication Date
CN102193521A CN102193521A (en) 2011-09-21
CN102193521B true CN102193521B (en) 2013-01-02

Family

ID=44601733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110133996 Expired - Fee Related CN102193521B (en) 2011-05-23 2011-05-23 Multi-hole parallel processing method based on genetic algorithm

Country Status (1)

Country Link
CN (1) CN102193521B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446269B (en) * 2016-01-15 2018-11-02 广东工业大学 Contour curve numerical control code generating method based on genetic algorithm and its numerically-controlled machine tool
CN106406233B (en) * 2016-10-20 2019-02-19 北京遥测技术研究所 A kind of tact balance method of flexible machine addend control production unit
JP6836558B2 (en) 2018-08-31 2021-03-03 ファナック株式会社 Teaching device for laser machining
CN113687628B (en) * 2021-08-02 2022-11-18 大连理工大学 Self-adaptive machining method for hole features under multi-source geometric constraint

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5485390A (en) * 1993-11-30 1996-01-16 The United States Of America As Represented By The Secrectary Of The Air Force Inductive-deductive process design for machined parts
CN101477351A (en) * 2008-11-18 2009-07-08 天津大学 Intelligent numerical control method with three-stage process self-optimization function
CN101533274A (en) * 2009-01-12 2009-09-16 上海理工大学 Method for dispatching NC machine tool processing tasks and cutting tools
CN101537567A (en) * 2009-04-28 2009-09-23 同济大学 Modulization-based method for designing reconfigurable machine tool

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010118470A1 (en) * 2009-04-17 2010-10-21 The University Of Sydney Drill hole planning

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5485390A (en) * 1993-11-30 1996-01-16 The United States Of America As Represented By The Secrectary Of The Air Force Inductive-deductive process design for machined parts
CN101477351A (en) * 2008-11-18 2009-07-08 天津大学 Intelligent numerical control method with three-stage process self-optimization function
CN101533274A (en) * 2009-01-12 2009-09-16 上海理工大学 Method for dispatching NC machine tool processing tasks and cutting tools
CN101537567A (en) * 2009-04-28 2009-09-23 同济大学 Modulization-based method for designing reconfigurable machine tool

Also Published As

Publication number Publication date
CN102193521A (en) 2011-09-21

Similar Documents

Publication Publication Date Title
CN102193521B (en) Multi-hole parallel processing method based on genetic algorithm
CN103128312B (en) A kind of thin-walled dish part controls deformation processing technique
CN104015016A (en) Method for processing high precision thin-wall deep-cavity part
CN103197552A (en) Machining parameter optimization control method for low carbon manufacturing
CN104536385B (en) A kind of modification method of NC machining program
CN102184276A (en) Method for optimizing feeding speed in cutting machining
CN104597838A (en) Turning method of annular deep narrow groove of high-temperature alloy integral impeller
CN104985485A (en) Light portal type engraving and milling machining center
CN203751401U (en) CNC (Computer Numerical Control) multi-head engraving and milling machine
CN106378478B (en) A kind of micro- milling method of rule pyramid micro-structure
CN103706851A (en) CNC multi-head engraving and milling machine
CN102629120B (en) Nonlinear error processing method for using angle head toolholder to carry out numerical control processing
CN202292087U (en) High-efficiency numerical control die casting machining center
CN202540415U (en) Numerical control three-dimensional hobbing machining device
CN111898854B (en) LCA-based general energy consumption model establishing method
CN202037491U (en) Numerical control drilling bit grinding machine
CN102179674B (en) Sectional wire cutting processing method for ring-shaped workpiece in large thickness and large size
CN105033642B (en) Automatically-adjusted machining device and machining method for electronic heat radiators
CN201220360Y (en) Automatic drill milling machine capable of fine processing on surface of tubbiness
CN201357230Y (en) Double-system numerical control lathe
CN110153804A (en) A kind of ERP numerically controlled lathe
CN101859129A (en) Workpiece processing method for numerically controlled lathe
CN104625180A (en) Processing technology for guide rail face of numerical control machine tool
CN216178293U (en) Numerical control double-shaft drilling and tapping equipment
Majerik et al. Prismatic milling simulation process and CNC programming in the CAD/CAM system CATIA V5R20

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130102

Termination date: 20150523

EXPY Termination of patent right or utility model