外文翻译---采用遗传算法优化加工夹具定位和加紧位置
薄壁盒形件真空吸附装夹变形的计算方法研究
薄壁盒形件真空吸附装夹变形的计算方法研究李勇;江磊;马术文;刘蕾;陈雪梅【摘要】为了较为准确地预测薄壁盒形件的装夹变形量,研究了不同误差形式下薄壁盒形件的真空吸附装夹变形趋势,设计了装夹变形数值求解和有限元仿真求解的具体流程,形成了比较完整的薄壁盒形件真空吸附装夹变形求解算法,通过实例验证了本方法的有效性,并为盒形类零件的装夹变形分析提供理论支持,为装夹误差控制及夹具设计提供参考.【期刊名称】《机械制造与自动化》【年(卷),期】2018(047)003【总页数】5页(P49-52,62)【关键词】盒形件;装夹变形;真空吸附;有限元仿真【作者】李勇;江磊;马术文;刘蕾;陈雪梅【作者单位】西南交通大学机械工程学院,四川成都610031;西南交通大学机械工程学院,四川成都610031;西南交通大学机械工程学院,四川成都610031;成都飞机工业(集团)有限责任公司制造工程部,四川成都610092;成都飞机工业(集团)有限责任公司制造工程部,四川成都610092【正文语种】中文【中图分类】TH161+.30 引言薄壁类零件由于刚度较差,在装夹时容易产生变形。
装夹变形是加工误差的主要来源,最终会影响零件的加工精度,严重者会引起加工缺陷,导致零件报废。
因此,研究薄壁类零件的装夹变形和优化装夹方案对控制和提高加工精度具有重要的意义。
为了减小装夹变形对薄壁件精度的影响,提高其加工质量,众多研究者主要从装夹变形预测、控制,装夹方案优化,装夹方式的选择等方面做了大量的研究。
秦国华等针对薄壁件的装夹布局方案,利用有限元方法获取神经网络训练样本,提出了基于神经网络与遗传算法的装夹变形“分析-预测-控制”方法[1-2]。
于金等利用有限元模拟了薄壁框体类零件在铣削加工中不同装夹位置的变形,得出了最终的优化装夹布局方案,并做了相关的验证试验[3]。
王军等借助数值模拟方法对铝合金薄壁壳体件装夹方案进行了优选,分析了在集中载荷与均布载荷作用下,装夹位置、装夹顺序及加载方式对其变形的影响[4]。
(完整word版)外文翻译-遗传算法
What is a genetic algorithm?●Methods of representation●Methods of selection●Methods of change●Other problem—solving techniquesConcisely stated,a genetic algorithm (or GA for short)is a programming technique that mimics biological evolution as a problem-solving strategy。
Given a specific problem to solve, the input to the GA is a set of potential solutions to that problem,encoded in some fashion,and a metric called a fitness function that allows each candidate to be quantitatively evaluated. These candidates may be solutions already known to work,with the aim of the GA being to improve them, but more often they are generated at random.The GA then evaluates each candidate according to the fitness function. In a pool of randomly generated candidates,of course,most will not work at all, and these will be deleted. However,purely by chance, a few may hold promise — they may show activity,even if only weak and imperfect activity,toward solving the problem.These promising candidates are kept and allowed to reproduce. Multiple copies are made of them, but the copies are not perfect;random changes are introduced during the copying process. These digital offspring then go on to the next generation,forming a new pool of candidate solutions,and are subjected to a second round of fitness evaluation。
基于改进遗传算法的数控加工中心机床工艺路线优化
基于改进遗传算法的数控加工中心机床工艺路线优化林维;周丽莎【摘要】Aiming at characteristics of large scale in sorting and difficulties in cost accounting due to concentration of process, complicated working step and more types of tools in the routing of NC machining center,an improved genetic algorithm is used to optimize the routing,in which the optimal goal function is the combination of the shortest machining time and lowest cost, thus fitness function is constructed out. The improved algorithm set up bit codes for identifying different machining surfaces with priority theory and the same principles of bit code ,in which the priority theory realize the sorting of the routing and the same principle realize tools selecting and tools accounting cost in the process. With the joining the same principles,unnecessary routing is removed which make the algorithm converge faster. The optimal routing scheme obtained through systematic simulation is verified to be reasonable.%针对数控加工中心机床工艺路线工序集中、工步复杂、加工刀具类型多带来的排序规模大、成本核算困难的特点,用一种改进的遗传算法实现工艺路线的优化.算法中以加工时间最短和加工成本最低两个目标作为组合的优化目标函数,从而构造出适应度函数.改进的算法对不同的加工面设立了加工标识位码,并制定了加工标识位码的优先原则、加工标识位码相同原则;优先原则实现了工艺路线排序原则;相同原则实现了工步中的刀具类型的选择及刀具成本的核算.由于算法中加入了加工标识位码相同原则,去除掉不如要工艺路线组合方案,从而使得算法收敛更快.通过实例对算法进行了系统仿真实验,得出了最优路线方案,验证了方案的合理性.【期刊名称】《机械设计与制造》【年(卷),期】2011(000)007【总页数】3页(P175-177)【关键词】改进遗传算法;数控加工中心机床;工艺路线优化;加工标识位码【作者】林维;周丽莎【作者单位】贵州大学,机械工程学院,贵阳,550003;贵州大学,机械工程学院,贵阳,550003【正文语种】中文【中图分类】TH16;TG6591 引言制定数控加工中心机床零件的工艺路线时要求在一次装夹下完成尽可能多的工序,利用传统的编制工艺经验很难得到一个最优路线。
遗传算法 课题申报书范文
遗传算法课题申报书范文Genetic algorithms are a powerful optimization technique inspired by the process of natural selection. 遗传算法是一种强大的优化技术,受自然选择过程的启发。
They are commonly used in various fields such as engineering, computer science, and economics. 它们通常用于工程学、计算机科学和经济学等各个领域。
The way genetic algorithms work is by mimicking the process of natural selection to evolve solutions for complex problems. 遗传算法的工作原理是通过模仿自然选择的过程来演进复杂问题的解决方案。
One of the key advantages of genetic algorithms is their ability to find optimal solutions in large solution spaces. 遗传算法的一个关键优势是能够在庞大的解空间中找到最优解决方案。
This is particularly useful in situations where traditional optimization methods may struggle due to the complexity of the problem. 在传统优化方法可能因问题复杂而难以解决的情况下,遗传算法特别有用。
By using techniques such as selection, crossover, and mutation, genetic algorithms can efficiently search for solutions that may not be obvious to human designers. 通过使用选择、交叉和突变等技术,遗传算法可以高效地搜索对人类设计者来说可能并不明显的解决方案。
遗传算法中英文对照外文翻译文献
遗传算法中英文对照外文翻译文献遗传算法中英文对照外文翻译文献(文档含英文原文和中文翻译)Improved Genetic Algorithm and Its Performance AnalysisAbstract: Although genetic algorithm has become very famous with its global searching, parallel computing, better robustness, and not needing differential information during evolution. However, it also has some demerits, such as slow convergence speed. In this paper, based on several general theorems, an improved genetic algorithm using variant chromosome length and probability of crossover and mutation is proposed, and its main idea is as follows : at the beginning of evolution, our solution with shorter length chromosome and higher probability of crossover and mutation; and at the vicinity of global optimum, with longer length chromosome and lower probability of crossover and mutation. Finally, testing with some critical functions shows that our solution can improve the convergence speed of genetic algorithm significantly , its comprehensive performance is better than that of the genetic algorithm which only reserves the best individual.Genetic algorithm is an adaptive searching technique based on a selection and reproduction mechanism found in the natural evolution process, and it was pioneered by Holland in the 1970s. It has become very famous with its global searching,________________________________ 遗传算法中英文对照外文翻译文献 ________________________________ parallel computing, better robustness, and not needing differential information during evolution. However, it also has some demerits, such as poor local searching, premature converging, as well as slow convergence speed. In recent years, these problems have been studied.In this paper, an improved genetic algorithm with variant chromosome length andvariant probability is proposed. Testing with some critical functions shows that it can improve the convergence speed significantly, and its comprehensive performance is better than that of the genetic algorithm which only reserves the best individual.In section 1, our new approach is proposed. Through optimization examples, insection 2, the efficiency of our algorithm is compared with the genetic algorithm which only reserves the best individual. And section 3 gives out the conclusions. Finally, some proofs of relative theorems are collected and presented in appendix.1 Description of the algorithm1.1 Some theoremsBefore proposing our approach, we give out some general theorems (see appendix)as follows: Let us assume there is just one variable (multivariable can be divided into many sections, one section for one variable) x £ [ a, b ] , x £ R, and chromosome length with binary encoding is 1.Theorem 1 Minimal resolution of chromosome isb 一 a2l — 1Theorem 3 Mathematical expectation Ec(x) of chromosome searching stepwith one-point crossover iswhere Pc is the probability of crossover.Theorem 4 Mathematical expectation Em ( x ) of chromosome searching step with bit mutation isE m ( x ) = ( b- a) P m 遗传算法中英文对照外文翻译文献Theorem 2 wi = 2l -1 2 i -1 Weight value of the ith bit of chromosome is(i = 1,2,・・・l )E *)= P c1.2 Mechanism of algorithmDuring evolutionary process, we presume that value domains of variable are fixed, and the probability of crossover is a constant, so from Theorem 1 and 3, we know that the longer chromosome length is, the smaller searching step of chromosome, and the higher resolution; and vice versa. Meanwhile, crossover probability is in direct proportion to searching step. From Theorem 4, changing the length of chromosome does not affect searching step of mutation, while mutation probability is also in direct proportion to searching step.At the beginning of evolution, shorter length chromosome( can be too shorter, otherwise it is harmful to population diversity ) and higher probability of crossover and mutation increases searching step, which can carry out greater domain searching, and avoid falling into local optimum. While at the vicinity of global optimum, longer length chromosome and lower probability of crossover and mutation will decrease searching step, and longer length chromosome also improves resolution of mutation, which avoid wandering near the global optimum, and speeds up algorithm converging.Finally, it should be pointed out that chromosome length changing keeps individual fitness unchanged, hence it does not affect select ion ( with roulette wheel selection) .2.3 Description of the algorithmOwing to basic genetic algorithm not converging on the global optimum, while the genetic algorithm which reserves the best individual at current generation can, our approach adopts this policy. During evolutionary process, we track cumulative average of individual average fitness up to current generation. It is written as1 X G x(t)= G f vg (t)t=1where G is the current evolutionary generation, 'avg is individual average fitness.When the cumulative average fitness increases to k times ( k> 1, k £ R) of initial individual average fitness, we change chromosome length to m times ( m is a positive integer ) of itself , and reduce probability of crossover and mutation, which_______________________________ 遗传算法中英文对照外文翻译文献________________________________can improve individual resolution and reduce searching step, and speed up algorithm converging. The procedure is as follows:Step 1 Initialize population, and calculate individual average fitness f avg0, and set change parameter flag. Flag equal to 1.Step 2 Based on reserving the best individual of current generation, carry out selection, regeneration, crossover and mutation, and calculate cumulative average of individual average fitness up to current generation 'avg ;f avgStep 3 If f vgg0 三k and Flag equals 1, increase chromosome length to m times of itself, and reduce probability of crossover and mutation, and set Flag equal to 0; otherwise continue evolving.Step 4 If end condition is satisfied, stop; otherwise go to Step 2.2 Test and analysisWe adopt the following two critical functions to test our approach, and compare it with the genetic algorithm which only reserves the best individual:sin 2 弋 x2 + y2 - 0.5 [1 + 0.01( 2 + y 2)]x, y G [-5,5]f (x, y) = 4 - (x2 + 2y2 - 0.3cos(3n x) - 0.4cos(4n y))x, y G [-1,1]22. 1 Analysis of convergenceDuring function testing, we carry out the following policies: roulette wheel select ion, one point crossover, bit mutation, and the size of population is 60, l is chromosome length, Pc and Pm are the probability of crossover and mutation respectively. And we randomly select four genetic algorithms reserving best individual with various fixed chromosome length and probability of crossover and mutation to compare with our approach. Tab. 1 gives the average converging generation in 100 tests.In our approach, we adopt initial parameter l0= 10, Pc0= 0.3, Pm0= 0.1 and k= 1.2, when changing parameter condition is satisfied, we adjust parameters to l= 30, Pc= 0.1, Pm= 0.01.From Tab. 1, we know that our approach improves convergence speed of genetic algorithm significantly and it accords with above analysis.2.2 Analysis of online and offline performanceQuantitative evaluation methods of genetic algorithm are proposed by Dejong, including online and offline performance. The former tests dynamic performance; and the latter evaluates convergence performance. To better analyze online and offline performance of testing function, w e multiply fitness of each individual by 10, and we give a curve of 4 000 and 1 000 generations for fl and f2, respectively.(a) onlineFig. 1 Online and offline performance of fl(a) online (b) onlineFig. 2 Online and offline performance of f2From Fig. 1 and Fig. 2, we know that online performance of our approach is just little worse than that of the fourth case, but it is much better than that of the second, third and fifth case, whose online performances are nearly the same. At the same time, offline performance of our approach is better than that of other four cases.3 ConclusionIn this paper, based on some general theorems, an improved genetic algorithmusing variant chromosome length and probability of crossover and mutation is proposed. Testing with some critical functions shows that it can improve convergence speed of genetic algorithm significantly, and its comprehensive performance is better than that of the genetic algorithm which only reserves the best individual.AppendixWith the supposed conditions of section 1, we know that the validation of Theorem 1 and Theorem 2 are obvious.Theorem 3 Mathematical expectation Ec(x) of chromosome searching step with one point crossover isb - a PEc(x) = 21 cwhere Pc is the probability of crossover.Proof As shown in Fig. A1, we assume that crossover happens on the kth locus, i. e. parent,s locus from k to l do not change, and genes on the locus from 1 to k are exchanged.During crossover, change probability of genes on the locus from 1 to k is 2 (“1” to “0” or “0” to “1”). So, after crossover, mathematical expectation of chromosome searching step on locus from 1 to k is1 chromosome is equal, namely l Pc. Therefore, after crossover, mathematical expectation of chromosome searching step isE (x ) = T 1 -• P • E (x ) c l c ckk =1Substituting Eq. ( A1) into Eq. ( A2) , we obtain 尸 11 b - a p b - a p • (b - a ) 1 E (x ) = T • P • — •• (2k -1) = 7c • • [(2z -1) ― l ] = ——— (1 一 )c l c 2 21 — 121 21 — 1 21 21 —1 k =1 lb - a _where l is large,-——-口 0, so E (x ) 口 -——P2l — 1 c 21 c 遗传算法中英文对照外文翻译文献 厂 / 、 T 1 T 1 b — a - 1E (x )="—w ="一• ---------- • 2 j -1 二 •ck2 j 2 21 -1 2j =1 j =1 Furthermore, probability of taking • (2k -1) place crossover on each locus ofFig. A1 One point crossoverTheorem 4 Mathematical expectation E m(")of chromosome searching step with bit mutation E m (x)—(b a)* P m, where Pm is the probability of mutation.Proof Mutation probability of genes on each locus of chromosome is equal, say Pm, therefore, mathematical expectation of mutation searching step is一i i - b —a b b- aE (x) = P w = P•—a«2i-1 = P•—a q2,-1)= (b- a) •m m i m 21 -1 m 2 i -1 mi=1 i=1一种新的改进遗传算法及其性能分析摘要:虽然遗传算法以其全局搜索、并行计算、更好的健壮性以及在进化过程中不需要求导而著称,但是它仍然有一定的缺陷,比如收敛速度慢。
中文翻译-通过夹具布局设计和夹紧力的优化控制变形
附录二:中文翻译通过夹具布局设计和夹紧力的优化控制变形摘要工件变形必须控制在数值控制机械加工过程之中。
夹具布局和夹紧力是影响加工变形程度和分布的两个主要方面。
在本文提出了一种多目标模型的建立,以减低变形的程度和增加均匀变形分布。
有限元方法应用于分析变形。
遗传算法发展是为了解决优化模型。
最后举了一个例子说明,一个令人满意的结果被求得,这是远优于经验之一的。
多目标模型可以减少加工变形有效地改善分布状况。
关键词:夹具布局;夹紧力;遗传算法;有限元方法1 引言夹具设计在制造工程中是一项重要的程序。
这对于加工精度是至关重要。
一个工件应约束在一个带有夹具元件,如定位元件,夹紧装置,以及支撑元件的夹具中加工。
定位的位置和夹具的支力,应该从战略的设计,并且适当的夹紧力应适用。
该夹具元件可以放在工件表面的任何可选位置。
夹紧力必须大到足以进行工件加工。
通常情况下,它在很大程度上取决于设计师的经验,选择该夹具元件的方案,并确定夹紧力。
因此,不能保证由此产生的解决方案是某一特定的工件的最优或接近最优的方案。
因此,夹具布局和夹紧力优化成为夹具设计方案的两个主要方面。
定位和夹紧装置和夹紧力的值都应适当的选择和计算,使由于夹紧力和切削力产生的工件变形尽量减少和非正式化。
夹具设计的目的是要找到夹具元件关于工件和最优的夹紧力的一个最优布局或方案。
在这篇论文里,多目标优化方法是代表了夹具布局设计和夹紧力的优化的方法。
这个观点是具有两面性的。
一,是尽量减少加工表面最大的弹性变形;另一个是尽量均匀变形。
ANSYS软件包是用来计算工件由于夹紧力和切削力下产生的变形。
遗传算法是MATLAB的发达且直接的搜索工具箱,并且被应用于解决优化问题。
最后还给出了一个案例的研究,以阐述对所提算法的应用。
2文献回顾随着优化方法在工业中的广泛运用,近几年夹具设计优化已获得了更多的利益。
夹具设计优化包括夹具布局优化和夹紧力优化。
King 和Hutter提出了一种使用刚体模型的夹具-工件系统来优化夹具布局设计的方法。
基于遗传算法的夹具布局和加紧力优化技术
基于遗传算法的夹具布局和加紧力优化技术
刘博
【期刊名称】《现代工业经济和信息化》
【年(卷),期】2015(0)5
【摘要】在机械加工中,夹具用来给工件定位、限制工件移动和支撑工件,它是决定加工质量的一个重要方面.传统的夹具设计是基于设计人员的经验来设计,该方法严重依赖设计人员的设计水平高低.针对这个问题,文章提出利用遗传算法来对夹具布局和夹紧力进行优化,通过算法对实际夹具加工进行验证,工件最大变形和夹紧力比经验设计降低30%,证明遗传算法进行优化效果还是比较好的.
【总页数】2页(P64-65)
【作者】刘博
【作者单位】中航工业沈阳飞机工业(集团)有限公司十三厂,辽宁沈阳110043【正文语种】中文
【中图分类】TG751
【相关文献】
1.基于混合遗传算法的机床夹具夹紧力优化 [J], 杨亚辉
2.基于遗传算法的夹具布局和夹紧力同步优化 [J], 周孝伦;张卫红;秦国华;张二亮
3.夹紧顺序、夹具布局和夹紧力对装夹变形影响与同步优化分析研究 [J], 许晓宇;赵晓慈
4.基于遗传算法的车间设备虚拟布局优化技术研究 [J], 陈希;王宁生
5.基于遗传算法和仿真技术的仓库布局优化 [J], 刘嘉胤;石涛;张楠;张坤;赵刚
因版权原因,仅展示原文概要,查看原文内容请购买。
基于遗传算法的涂胶机器人装夹优化设计
基于遗传算法的涂胶机器人装夹优化设计基于遗传算法的涂胶机器人装夹优化设计随着自动化技术的发展,涂胶机器人装夹优化设计变得越来越重要。
涂胶机器人是一种自动化设备,可以在各种材料上涂上液态材料,如胶水、油漆或涂料。
涂胶机器人通常配有装夹夹具,以支撑和定位被涂胶物件。
装夹优化设计可以提高涂胶机器人的生产效率和生产质量,因此一直是一个热门研究领域。
本文将探讨基于遗传算法的涂胶机器人装夹优化设计。
1. 装夹优化问题的定义涂胶机器人的装夹优化问题可以定义为在给定的涂胶任务中,如何选择和安排夹具的位置和形状,以最小化生产时间并保证涂胶的质量和准确性。
这个问题可以被视为一个离散优化问题,因为它涉及到决策变量的离散集合。
典型的决策变量包括夹具的类型、位置、尺寸和方向。
2. 遗传算法遗传算法是一种受生物学启发的优化算法,基于自然选择和遗传机制。
其核心思想是通过交叉、变异和选择等过程,从一个初始种群中演化出更优秀的个体,最终获得最优解。
遗传算法的特点是全局搜索能力强,适用于解决复杂的离散优化问题。
3. 基于遗传算法的涂胶机器人装夹优化设计基于遗传算法的涂胶机器人装夹优化设计通常包括以下步骤:(1)初始化种群初始种群可以根据涂胶任务和夹具要求自动生成。
种群中的个体包括夹具的类型、位置、尺寸和方向等信息。
(2)适应度函数适应度函数是用来评估每个个体的优劣程度的。
通常,适应度函数的值被定义为与涂胶任务相关的成本或时间,以及夹具的质量和准确性等方面的指标。
(3)选择选择操作是为了从当前种群中选出优良的个体。
通常,选择方法包括轮盘赌选择、竞争选择和排名选择等。
(4)交叉交叉操作是为了产生新的个体。
它通常涉及到两个个体的基因交换操作。
交叉操作可以通过单点交叉、两点交叉或均匀交叉等方法实现。
(5)变异变异操作是为了增加种群的多样性和随机性。
它通常涉及到单个基因的改变。
变异可以通过位变异、反转变异或插入变异等方法实现。
(6)终止条件终止条件是为了保证遗传算法在有限时间内获得较好的解。
一种新的改进遗传算法及其性能分析外文翻译、中英文翻译、外文文献翻译
一种新的改进遗传算法及其性能分析外文翻译@中英文翻译@外文文献翻译摘要:虽然遗传算法以其全局搜索、并行计算、更好的健壮性以及在进化过程中不需要求导而著称,但是它仍然有一定的缺陷,比如收敛速度慢。
本文根据几个基本定理,提出了一种使用变异染色体长度和交叉变异概率的改进遗传算法,它的主要思想是:在进化的开始阶段,我们使用短一些的变异染色体长度和高一些的交叉变异概率来解决,在全局最优解附近,使用长一些的变异染色体长度和低一些的交叉变异概率。
最后,一些关键功能的测试表明,我们的解决方案可以显著提高遗传算法的收敛速度,其综合性能优于只保留最佳个体的遗传算法。
关键字:编译染色体长度;变异概率;遗传算法;在线离线性能遗传算法是一种以自然界进化中的选择和繁殖机制为基础的自适应的搜索技术,它是由Holland 1975年首先提出的。
它以其全局搜索、并行计算、更好的健壮性以及在进化过程中不需要求导而著称。
然而它也有一些缺点,如本地搜索不佳,过早收敛,以及收敛速度慢。
近些年,这个问题被广泛地进行了研究。
本文提出了一种使用变异染色体长度和交叉变异概率的改进遗传算法。
一些关键功能的测试表明,我们的解决方案可以显著提高遗传算法的收敛速度,其综合性能优于只保留最佳个体的遗传算法。
在第一部分,提出了我们的新算法。
第二部分,通过几个优化例子,将该算法和只保留最佳个体的遗传算法进行了效率的比较。
第三部分,就是所得出的结论。
最后,相关定理的证明过程可见附录。
1. 算法的描述1.1 一些定理在提出我们的算法之前,先给出一个一般性的定理(见附件),如下:我们假设有一个变量(多变量可以拆分成多个部分,每一部分是一个变量)x ∈[ a, b ] , x ∈R,二进制的染色体编码是1.定理1 染色体的最小分辨率是s =定理2 染色体的第i位的权重值是w i = ( i = 1,2,…l )定理3 单点交叉的染色体搜索步骤的数学期望E c(x)是E c (x) = P c其中P c是交叉概率定理4位变异的染色体搜索步骤的数学期望E m(x)是E m ( x ) = ( b- a) P m其中P m是变异概率1.2 算法机制在进化过程中,我们假设变量的值域是固定的,交叉的概率是一个常数,所以从定理1 和定理3我们知道,较长的染色体长度有着较少的染色体搜索步骤和较高的分辨率;反之亦然。
优化算法之遗传算法(GeneticAlgorithm,GA)
优化算法之遗传算法(GeneticAlgorithm,GA)⽬录概述遗传算法(Genetic Algorithm, GA) 起源于对⽣物系统所进⾏的计算机模拟研究。
它是模仿⾃然界⽣物进化机制发展起来的 随机全局搜索和优化⽅法,借鉴了达尔⽂的进化论和孟德尔的遗传学说。
其本质是⼀种⾼效、并⾏、全局搜索的⽅法,能在搜索过程中⾃动获取和积累有关搜索空间的知识,并⾃适应地控制搜索过程以求得最佳解。
相关术语基因型(genotype):性状染⾊体的内部表现;表现型(phenotype):染⾊体决定的性状的外部表现,或者说,根据基因型形成的个体的外部表现;个体(individual):指染⾊体带有特征的实体;种群(population):个体的集合,该集合内个体数称为种群的⼤⼩编码(coding):DNA中遗传信息在⼀个长链上按⼀定的模式排列。
遗传编码可看作从表现型到基因型的映射。
解码(decoding):基因型到表现型的映射。
交叉(crossover):两个染⾊体的某⼀相同位置处DNA被切断,前后两串分别交叉组合形成两个新的染⾊体。
也称基因重组或杂交;变异(mutation):复制时可能(很⼩的概率)产⽣某些复制差错,变异产⽣新的染⾊体,表现出新的性状。
进化(evolution):种群逐渐适应⽣存环境,品质不断得到改良。
⽣物的进化是以种群的形式进⾏的。
适应度(fitness):度量某个物种对于⽣存环境的适应程度。
选择(selection):以⼀定的概率从种群中选择若⼲个个体。
⼀般,选择过程是⼀种基于适应度的优胜劣汰的过程。
复制(reproduction):细胞分裂时,遗传物质DNA通过复制⽽转移到新产⽣的细胞中,新细胞就继承了旧细胞的基因。
遗传算法的实现过程遗传算法的实现过程实际上就像⾃然界的进化过程那样。
⾸先寻找⼀种对问题潜在解进⾏“数字化”编码的⽅案,(建⽴表现型和基因型的映射关系)。
然后⽤随机数初始化⼀个种群(那么第⼀批袋⿏就被随意地分散在⼭脉上),种群⾥⾯的个体就是这些数字化的编码。
基于遗传算法的车辆路径规划中英文外文文献翻译
本科毕业设计(论文)中英文对照翻译(此文档为word格式,下载后您可任意修改编辑!)译文基于遗传算法的车辆路径规划研究克鲁尼·贝克1 引言基本的车辆路径问题(VRP)由客户的数量、每一个指定重量的货物交付所组成。
每一个从仓库中派遣的车辆,都必须按要求交货。
要求车辆运送路线必须开始和完成都是在仓库中,以便所有客户需求都得到满足以及每辆车服务一个客户。
车辆的运输能力时限定的,每辆车都有其自身的最大行驶距离。
在后一种情况下,运输距离限制可能与每个客户有关,因为车辆是按照客户的特定要求来安排的。
因此,对一辆车来说,为许多客户服务,将会导致其在总的行驶距离上无法满足。
可行的方案就是找出一组运送路线以满足客户的这些需求,并使得运输成本最低,通常的做法是总行驶距离最小化,或尽量减少使用汽车的数量,然后使这批车辆的行驶距离最小化。
例如,拉波特给出了各种解决车辆路径问题的数学公式。
使用启发法来解决问题是比较现实的。
在这方面的课题研究上,有很多的研究文献,包括拉波特和奥斯曼所给出的各种扩展性问题。
塔亚尔和罗查特运用禁忌搜索法,获得了基准车辆路径问题的最佳结果。
不同的研究者使用禁忌搜索模拟退火法也获得了类似的结果。
然而,雷诺观察到,使用启发法需要大量的计算时间和许多的参数设置。
最近,有一个新的算法可以用来这一组合优化难题,那就是蚁群优化法,这方面有很多成功的报道,包括在车辆路径问题中也得到了使用。
两个最优启发法的改善了路线优化问题,这种方法也给了仅略次于禁忌搜索法的结果。
当今,作为现代共通启发式演算法之一,现代遗传算法(GAs)已经被广泛使用。
现代遗传算法(GAs)的应用也被用于解决多种车辆路径组合优化以及校车路径规划问题中。
混合动力车辆路径规划使用遗传算法(GAs)的报道也很多。
然而,现代遗传算法(GAs)目前为止,在车辆路径问题VRP上表现出很大的影响。
本研究的目的是提出一个概念上的,关于车辆路径问题的遗传算法,在计算时间和质量上,它可与其他现代启发式方法相竞争。
文献翻译-利用有限元法预测夹具系统的工件变形
编号:毕业设计(论文)外文翻译(译文)院(系):机电工程学院专业:机械设计制造及其自动化学生姓名:学号:指导教师单位:姓名:职称:2014年5 月26 日采用遗传算法优化加工夹具定位和加紧位置Necmettin Kaya*Department of Mechanical Engineering, Uludag University, Go¨ru¨kle, Bursa 16059, Turkey Received 8 July 2004; accepted 26 May 2005Available online 6 September 2005摘要工件变形的问题可能导致机械加工中的空间问题。
支撑和定位器是用于减少工件弹性变形引起的误差。
支撑、定位器的优化和夹具定位是最大限度的减少几何在工件加工中的误差的一个关键问题。
本文应用夹具布局优化遗传算法(GAs)来处理夹具布局优化问题。
遗传算法的方法是基于一种通过整合有限的运行于批处理模式的每一代的目标函数值的元素代码的方法,用于来优化夹具布局。
给出的个案研究说明已开发的方法的应用。
采用染色体文库方法减少整体解决问题的时间。
已开发的遗传算法保持跟踪先前的分析设计,因此先前的分析功能评价的数量降低大约93%。
结果表明,该方法的夹具布局优化问题是多模式的问题。
优化设计之间没有任何明显的相似之处,虽然它们提供非常相似的表现。
关键词:夹具设计;遗传算法;优化1. 引言夹具用来定位和束缚机械操作中的工件,减少由于对确保机械操作准确性的夹紧方案和切削力造成的工件和夹具的变形。
传统上,加工夹具是通过反复试验法来设计和制造的,这是一个既造价高又耗时的制造过程。
为确保工件按规定尺寸和公差来制造,工件必须给予适当的定位和夹紧以确保有必要开发工具来消除高造价和耗时的反复试验设计方法。
适当的工件定位和夹具设计对于产品质量的精密度、准确度和机制件的完饰是至关重要的。
基于混合遗传算法的机床夹具夹紧力优化
以第 i 维 为例 , 则其探 索 移动 的模式 如下 :
由于 第 k 次 探索 移动 中第 i 维方 向探 索 的出发
Ⅵ
、J 、
并将 其转 化 为非线 性 规划 问题 。 由于夹 紧力 的大 小会 影 响工件 的变 形 , 进 而 影 响 加工精 度 , 因此 本 文采用 先进 的混 合遗 传算 法 来
足利用 遗传 算法 的全 局 搜 索 功能 以保 证 求 优 过 程 中能得 到全 局解 , 然 后利 用模 式搜 索法 进行 局部 寻 优 得 到更 加精 细化 的结 果 , 从 而减 少运 用遗 传算 法
运算 的时 间 。
如果第 k次探 索 成功 后 , 找 到 新 基点
, 搜
索 模 式改 为模 式移 动 , 模 式移 动 的方 向为 从老基 点
紧力的计算具有一定的参考意义。
关键 词 : 机 床 夹具 ; 夹 紧力 ; 优 化 ;遗传 算 法
中图分类 号 : U 4 6 3 . 2 1 文献标 志码 : A 文章 编号 : 2 0 9 5—5 0 9 X( 2 0 1 6 ) 1 0— 0 0 2 5— 0 4
1 . 1 模 式 搜 索 法
2 0 1 6年 1 O月
机械设计与制造工程
Ma c h i n e De s i g n a n d Ma n u f a c t u r i n g E n g i n e e r i n g
0c t . 201 6 Vo 1 . 4 5 No .1 0
第4 5卷 第 l 0期
收 稿 日期 : 2 0 1 6—0 5— 2 5
作者简介 : 杨亚辉( 1 9 7 9 一) , 男, 陕西蓝田人 , 陕西 国防工业职业技术学 院讲 师, 工程硕士 , 主要研究方 向为机械设计制造及其 自动化 。
遗传算法简介及应用领域探索
遗传算法简介及应用领域探索遗传算法(Genetic Algorithm,GA)是一种模拟自然进化过程的优化算法,通过模拟遗传、交叉和变异等操作,以求解复杂问题的最优解。
它是一种启发式算法,能够在大规模搜索空间中寻找到较优解,因此在多个领域得到了广泛应用。
遗传算法的基本原理是模拟生物进化过程。
首先,通过随机生成一组初始解(个体),每个个体都代表问题的一个可能解。
然后,根据问题的适应度函数(Fitness Function)对个体进行评估,适应度越高的个体越有可能被选择。
接下来,通过遗传操作,包括选择、交叉和变异等,从当前种群中生成新的个体。
经过多次迭代,逐渐优化种群中的个体,直到找到满足问题要求的最优解或近似最优解。
遗传算法的应用领域非常广泛。
在工程领域,遗传算法被用于优化问题,例如电力系统调度、机械设计、网络布线等。
在运输和物流领域,遗传算法可以用于优化路径规划、车辆调度等问题。
在金融领域,遗传算法可以用于投资组合优化、股票交易策略等。
在人工智能领域,遗传算法可以用于机器学习、神经网络优化等问题。
此外,遗传算法还可以应用于生物学、医学、环境保护等领域。
举个例子来说明遗传算法在实际问题中的应用。
假设我们要设计一个最优的电路板布线方案,以最小化电路板上的连线长度。
首先,我们可以将电路板抽象为一个网格,每个网格点代表一个元件的位置。
然后,我们通过遗传算法生成初始的布线方案,其中每条连线代表一个个体。
接下来,我们通过适应度函数评估每个个体的布线质量,即连线长度。
然后,根据适应度选择一部分个体进行交叉和变异操作,生成新的布线方案。
通过多次迭代,逐渐优化布线方案,最终得到最优的布线方案。
遗传算法的优势在于它能够在大规模的搜索空间中进行全局搜索,避免了陷入局部最优解的困境。
此外,遗传算法具有较好的鲁棒性,能够处理问题中的噪声和不确定性。
然而,遗传算法也存在一些局限性,例如需要大量的计算资源和时间,对问题的建模和参数选择较为敏感等。
计算机辅助夹具设计
计算机辅助夹具设计技术回顾与发展趋势综述计算机辅助夹具设计(Computer-aided fixture design,CAFD)技术从20世纪70年代发展至今,已经成为CAD/CAM集成技术的一个重要组成部分。
文中从CAFD技术所包含的4个研究方面(安装规划,装夹规划,夹具构形设计,夹具性能评价)入手,对国内外CAFD技术的发展(主要对近10几年内的发展成果)进行了回顾,并对CAFD的未来发展趋势进行了分析。
随着制造技术的发展,产品的设计周期缩短,更新换代增快。
传统的大批量生产模式逐步被中小批量生产模式所取代。
机械制造业欲适应这种变化须具备较高的柔性,国外已把柔性制造系统作为开发新产品的有效手段,并将其作为机械制造业的主要发展方向。
柔性化的着眼点主要在机床和工装两个方面,而夹具又是工装柔性化的重点。
组合夹具的平均设计和组装时间是专用夹具所花时间的5%—20%,可以认为组合夹具就是柔性夹具的代名词。
由于组合夹具应变能力强、设计和制造周期短、成本低、适应产品更新换代的要求,提高了企业的竞争力,所以日益受到厂家的青睐。
应用组合夹具的一项关键技术就是CAFD技术。
我国从20世纪80年代中期就已经开始研究这项技术,并对如何将人工智能的理论应用到组合夹具计算机辅助设计(CAD)过程进行了探索。
但由于组合夹具设计取决于被加工工件,而被加工工件又千变万化,造成组合夹具CAD难以实现智能化。
经过30多年国内外众多学者的不懈努力,工作虽有进展,但离生产实际应用还有很大距离。
1 CAFD技术概述从20世纪70年代开始夹具CAD研究至今,CAFD技术已经发展成为CAD/CAM 集成技术的一个重要组成部分。
目前,围绕CAFD技术所展开的研究主要包括4方面内容:安装规划,装央规划,夹具构形设计和夹具性能评价:(1) 安装规划。
安装规划的任务是确定加工时所需的安装次数,每次安装中工件的方位及加工面。
这部分也可以是CAPP(Computer-aided process planning)的一个子集,也是CAFD和CAPP集成的交互接口。
遗传算法在工业优化中的应用
遗传算法在工业优化中的应用随着工业的不断发展,人们对于机器/自动化的需求越来越高,同时也要求机器/自动化的操作更加高效,成本更加低廉。
在这个需求下,遗传算法作为一种可以优化目标函数、优化模型的工具,逐渐在工业中得到了广泛的应用。
遗传算法(Genetic Algorithm,简称GA)是一种模拟自然进化过程的优化方法,以模拟进化的过程产生新的解,并通过适应度函数来评估当前解的优劣,以得到更好的解。
大致思路和自然界中生物的繁殖过程类似,利用优秀的基因遗传下来使得新一代的生物避免了进化过程中“无头绪”的浪费。
遗传算法在工业中应用的典型例子大多是优化问题。
一个优化问题通常包含一个目标函数,一堆“参数”,以及一堆“约束条件”。
例如,一个生产车间需要产生最多的产品,需要考虑产品的种类、设备的使用时间、工人的安排等因素。
这类问题本身较为复杂,对人类的思维要求较高。
而往往通过遗传算法的优化产生的解决方案通常都是“非常接近”最优解的。
因此,遗传算法本身就具备解决工业优化问题的潜能。
遗传算法在工业中的应用具体涵盖以下几个方面:1. 生产排产问题生产排产问题通常包含确定的生产计划和设备、人工资源的供给。
由于工程中的复杂性、资源限制以及生产计划的变化,基于规则的制度易受到极端情况的干扰。
因此,遗传算法可以被应用于该类问题中。
通过遗传算法可优化计算资源的分配,充分利用设施,控制能量消耗和减少工作人员的时间。
例如,在一家汽车制造企业中,生产线上有许多机器等待装配不同的产品。
生产计划和产品订单通常会不断发生变化。
在这样的情况下,遗传算法可以最大化机器利用率,使订单能够在预期的时间内完成。
2. 工艺和生产线优化生产线上的生产能力和产品质量通常取决于工艺和设备。
在这方面,遗传算法可以在不断分析和优化生产过程中标准化的生产流程,以达到最佳的效益。
例如,许多工厂提供机器远程监控服务,以将优化方案的反馈回到优化流程中,改进生产流程,提高产品质量和执行效率。
连杆加工工艺及夹具设计教材
摘要连杆是柴油机的主要传动件之一,本文主要论述了连杆的加工工艺及其夹具设计。
连杆的尺寸精度、形状精度以及位置精度的要求都很高,而连杆的刚性比较差,容易产生变形,因此在安排工艺过程时,就需要把各主要表面的粗精加工工序分开。
逐步减少加工余量、切削力及内应力的作用,并修正加工后的变形,就能最后达到零件的技术要求。
关键词:连杆变形加工工艺夹具设计闰土机械外文翻译成品TB店0 / 38AbstractsThe connecting rod is one of the main driving medium of diesel engine, this text expounds mainly the machining technology and the design of clamping device of the connecting rod. The precision of size, the precision of profile and the precision of position , of the connecting rod is demanded highly , and the rigidity of the connecting rod is not enough, easy to deform, so arranging the craft course, need to separate the each main and superficial thick finish machining process. Reduce the function of processing the surplus , cutting force and internal stress progressively , revise the deformation after processing, can reach the specification requirement for the part finally .Keyword: Connecting rod Deformination Processing technology Design of clamping device1 / 38第一章概述1.1工艺和夹具设计的特点及意义1.2国内外研究现状与发展方向1.3课题研究1.1机床专用夹具的分类与组成1.1.1机床夹具的分类机床夹具是一种能够使工件按一定的技术要求准确定位和夹紧的装置,它的种类繁多,为了设计、制造和管理的方便,可以从不同的角度对机床的夹具进行分类。
夹具设计外文翻译---采用遗传算法优化加工夹具定位和加紧位置
附录Machining fixture locating and clamping position optimizationusinggenetic algorithmsNecmettin Kaya*Departmentof Mechanical Engineering,Uludag University, Go'ru kle, Bursa 16059, Turkey Received8 July 2004; accepted26 May 2005Available online 6 September 2005AbstractDeformation of the workpiece may cause dimensional problems in machining. Supports and locators are used in order to reduce the error caused by elastic deformation of the workpiece. The optimization of support, locator and clamp locations is a critical problem to minimize the geometric error in workpiece machining. In this paper, the application of genetic algorithms (GAs) to the fixture layout optimization is presentedto handle fixture layout optimization problem. A genetic algorithm based approachis developed to optimise fixture layout through integrating a finite element code running in batch mode to compute the objective function values for eachgeneration. Case studies aregiven to illustrate the application of proposedapproach.Chromosome library approachis used to decreasethe total solution time. Developed GA keepstrack of previously analyzeddesigns; therefore the numbers of function evaluations are decreasedabout 93%. The results of this approach show that the fixture layout optimization problems are multi-modal problems. Optimized designs do not have any apparent similarities although they provide verysimilar performances.Keywords: Fixture design;Geneticalgorithms; Optimization1.IntroductionFixturesare used to locate andconstraina workpieceduring a machining operation, minimizing workpiece andfixture tooling deflections dueto clamping andcutting forcesarecriticaltoensuringaccuracyofthemachiningoperation.Traditionally, machining fixtures are designedand manufacturedthrough trial-and-error, which provetobebothexpensiveand time-consuming to the manufacturingprocess.To ensurea workpieceis manufacturedaccording tospecifieddimensionsand tolerances, it mustbeappropriatelylocatedandclamped, making itimperativeto developtools thatwill eliminate costly and time-consumingtrial-and-errordesigns.Proper workpiece location andfixture design are crucial to product quality in terms of precision, accuracyand finish of the machined part.Theoretically, the 3-2-1 locating principle can satisfactorily locate all prismatic shapedworkpieces. This method provides themaximum rigidity with the minimum number of fixture elements. To positiona part from a kinematic point of view means constraining the six degreesof freedom of a free moving body (three translationsand threerotations). Three supportsare positioned below the part to establishthe location of the workpiece on its vertical axis. Locators are placed ontwo peripheral edgesand intended to establishthe location of the workpiece on the x and y horizontal axes. Properly locating the workpiece in the fixture is vital to the overall accuracy and repeatability of the manufacturingprocess.Locators should bepositioned as far apart as possibleand shouldbe placed on machined surfaceswherever possible. Supports are usuallyplaced to encompassthe center of gravity of a workpiece and positioned as far apart as possible to maintain its stability. The primary responsibility of a clamp in fixture is to securethe part againstthe locators andsupports. Clamps should not be expectedto resist the cutting forces generated inthe machining operation.For a given number of fixture elements,the machining fixture synthesisproblem is the finding optimal layout or positions of the fixture elementsaround theworkpiece. In this paper,a method for fixture layout optimization using geneticalgorithms is presented.The optimization objective is to searchfor a 2D fixture layout that minimizes the maximum elastic deformation at different locations of the workpiece. ANSYS program hasbeen usedfor calculating the deflection of the part under clamping and cutting forces.Two case studiesaregiven to illustrate the proposed approach.2.Review of related worksFixture design has received considerable attention in recent years. However, little attention has been focused on the optimum fixture layout design. Menassa and DeVries[1] used FEA for calculating deflections using the minimization of the workpiece deflection at selected points as the design criterion. The design problem was to determine the position of supports. Meyer and Liou[2] presentedan approach that uses linear programming technique to synthesize fixtures for dynamic machining conditions. Solution for the minimum clamping forces andlocator forces is given. Li and Melkote[3]used a nonlinear programming method to solve the layout optimization problem. The method minimizes workpiece location errors due to localized elastic deformation of the workpiece. Roy andLiao[4] developed a heuristic method to plan for the best supporting and clamping positions. Tao et al.[5] presented a geometrical reasoning methodology for determining the optimal clamping points and clamping sequence for arbitrarily shaped workpieces. Liao and Hu[6] presented a system for fixture configuration analysis based on a dynamic model which analysesthe fixture —workpiece system subject to time-varying machining loads. The influence of clamping placementis also investigated. Li and Melkote[7]presenteda fixture layout and clamping force optimal synthesis approachthat accountsfor workpiecedynamics during machining. A combined fixture layout and clamping force optimization procedurepresented.Theyused the contact elasticity modelingmethod that accounts for the influence of workpiece rigid body dynamics during machining.Amaral et al.[8] used ANSYS to verify fixture designintegrity. They employed 3-2-1 method.The optimization analysis is performed in ANSYS. Tan et al. [9] describedthe modeling, analysis and verification of optimal fixturing configurations by the methods of force closure,optimization and finite elementmodeling.Most of the above studies use linear or nonlinear programming methodswhich often do not give global optimum solution. All of the fixture layout optimization proceduresstart with an initial feasible layout. Solutions from these methods are depending on the initial fixture layout. They do not consider the fixture layout optimization on overall workpiece deformation.The GAs has beenproven to be useful technique in solving optimization problems in engin eeri ng[10-2]. Fixture desig n has a large soluti on space and requires a search tool to find the best design. Few researchers have used the GAs for fixturedesignand fixture layout problems. Kumar et al. [13] have applied both GAs and neural networks for designing a fixture. Marcelin [14]has used GAs to the optimization of support positions. Vallapuzha et al. [15]presentedGA basedoptimization method that uses spatial coordinates to represent the locations of fixture elements. Fixture layout optimization procedure was implementedusing MATLAB and the genetic algorithm toolbox. HYPERMESH and MSC/NASTRAN were used for FE model. Vallapuzha et al. [16] presentedresults of an extensive investigation into the relative effectiveness of various optimization methods. They showed that continuous GA yielded the best quality solutions. Li and Shiu [17] determined theoptimal fixture configuration design for sheet metal assembly using GA. MSC/NASTRAN has been used for fitness evaluation.Liao[18]presenteda methodto automatically select theoptimal numbersof locators and clamps as well as their optimal positions in sheetmetal assembly fixtures. Krishnakumar and Melkote [19]developeda fixture layout optimization technique that uses the GA to find the fixture layout that minimizes the deformation of the machined surface due to clamping and machining forces over the entire tool path. Locator and clamp positions are specified by node numbers. A built-in finite element solver was developed.Some of the studies do not consider the optimization of the layout for entire tool path and chip removal is not taken into account. Some of the studies used node numbersas design parameters.In this study, a GA tool has been developedto find the optimal locator and clamp positions in 2D workpiece. Distancesfrom the reference edges as design parameters are used rather than FEA node numbers. Fitness values of real encoded GA chromosomesare obtained from the results of FEA. ANSYS has been used for FEA calculations. A chromosomelibrary approach is used in order to decreasethe solution time. Developed GA tool is tested on two test problems. Two case studies are given to illustrate the developed approach.Main contributions of this paper can be summarized as follows:(1)developed a GA code integratedwith a commercial finite element solver;(2)GA uses chromosomelibrary in order to decreasethe computation time;(3)real designparameters areusedrather than FEA node numbers;(4)chip removal is taken into accountwhile tool forces moving on the workpiece.3.Genetic algorithm conceptsGenetic algorithms were first developedby John Holland. Goldberg[10] published a book explaining the theory and application examplesof genetic algorithm in details. A genetic algorithm is a random searchtechnique that mimics some mechanismsof natural evolution. The algorithm works on a population of designs. The population evolves from generation to generation, gradually improving its adaptation to the environment through natural selection; fitter individuals have better chances of transmitting their characteristicsto later generations.In the algorithm, the selection of the natural environment is replacedby artificial selection based on a computed fitness for each design. The termfitness is used to designate the chromosome's chances of survival and it is essentially the objective function of the optimization problem. Thechromosomesthat define characteristics of biological beings are replacedbystrings of numerical values representing the designvariables.GA is recognized to be different than traditional gradient based optimization techniquesin the following four major ways [10]:1.GAs work with a coding of the design variables and parametersin the problem, rather than with the actual parametersthemselves.2.GAs makes use of population-type search. Many different design points are evaluatedduring eachiteration instead of sequentially moving from one point to the next.3.GAs needsonly a fitness or objective function value. No derivatives or gradients are necessary.4.GAs use probabilistic transition rules to find new design points for exploration rather than using deterministic rules basedon gradient information to find these new points.4.Approach4.1. Fixture positioning principlesIn machining process, fixtures are used to keep workpieces in a desirable position for operations. The most important criteria for fixturing are workpiece position accuracy and workpiece deformation. A good fixture design minimizes workpiece geometric and machining accuracy errors. Another fixturing requirement is that the fixture must limit deformation of the workpiece. It is important to consider the cutting forces as well as the clamping forces. Without adequatefixture support, machining operations do not conform to designedtolerances. Finite elementanalysis isa powerful tool in the resolution of someof these problems[22].Common locating method for prismatic parts is 3-2-1 method. This method provides the maximum rigidity with the minimum number of fixture elements. A workpiece in 3D may be positively located by means of six points positioned so that they restrict nine degrees of freedom of the workpiece. The other three degrees of freedom are removed by clamp elements.An example layout for 2D workpiece based 3-2-1 locating principle is shown in Fig. 4.Fig. 4. 3-2-1 locating layout for 2D prismatic workpieceThe number of locating faces must not exceed two so as to avoid a redundant location. Based on the 3-2-1 fixturing principle there are two locating planesfor accurate location containing two and one locators. Therefore, there are maximum of two side clamp ings aga inst each locati ng pla ne. Clampi ng forces are always directed towards the locators in order to force the workpiece to con tact all locators. The clamping point should be positioned opposite the positioning points to prevent the workpiece from being distorted by the clamping force.Since the machining forces travel along the machining area, it is necessaryto en sure that the react ion forces at locators are positive for all the time. Any n egative reaction force indicates that the workpiece is free from fixture elements. In other words, loss of con tact or the separatio n betwee n the workpiece and fixture eleme nt might happen when the reaction force is negative. Positive reaction forces at the locators en sure that the workpiece mai ntai ns con tact with all the locators from the beg inning of the cut to the end. The clamp ing forces should be just sufficie nt to con strain and locate the workpiece without caus ing distortio n or damage to the workpiece. Clamping force optimization is not consideredin this paper.4.2. Geneticalgorithm based fixture layout optimization approachIn real design problems, the number of design parameterscan be very large and their in flue nee on the objective fun cti on can be very complicated. The objective function must be smooth and a procedure is needed to compute gradients. Genetic algorithms strongly differ in conception from other search methods, including traditi onal optimizati on methods and other stochastic methods[23]. By appl ying GAs to fixture layout optimization, an optimal or group of sub-optimal solutions can be obta in ed.In this study, optimum locator and clamp positions are determined using genetic algorithms. They are ideally suited for the fixture layout optimization problem since no direct analytical relationship exists between the machining error and the fixture layout. Since the GA deals with only the design variables and objective function value for a particular fixture layout, no gradient or auxiliary information is needed[19].Theflowchart of the proposedapproach isgiven in Fig. 5.Fixture layout optimization is implemented using developed software written in Delphi language named GenFix. Displacement values are calculated in ANSYS software [24]. The execution of ANSYS in GenFix is simply done by WinExec function in Delphi. The interaction betweenGenFix and ANSYS is implemented in four steps:(1)Locator and clamp positions areextractedfrom binary string as real parameters.(2)These parameters and ANSYS input batch file (modeling, solution and post processingcommands)are sentto ANSYS using WinExec function.(3)Displacement values are written to a text file after solution.(4)GenFix readsthis file and computesfitness value for current locator and clamp positions.In order to reduce thecomputation time, chromosomesand fitness values are stored in a library for further evaluation. GenFix first checksif current chromosome's fitness value has been calculated before. If not, locator positions are sent to ANSYS, otherwise fitness values are taken from the library. During generating of the initial population, every chromosome is checked whether it is feasible or not. If the constraint is violated, it is eliminated and new chromosomeis created. This process creates entirely feasibleinitial population. This ensures thatworkpiece is stable under the action of clamping and cutting forces for every chromosome in the initial population.The written GA program was validated using two test cases. The firs t estcase uses Himmelblau function [21]. In the second test case, the GA program was used to optimise the support positionsof a beamunder uniform loading.5.Fixture layout optimization casestudiesThefixture layout optimization problem is defined as: finding the positions of the locators and clamps,so that workpiece deformation at specific region is minimized. Note that number of locators andclamps are not design parameter,since they are known and fixed for the 3-2-1 locating scheme.Hence, the designparametersare selectedas locatorand clamp positions. Friction is not consideredin this paper.Two casestudiesare given to illustrate the proposedapproach.6.ConclusionIn this paper,an evolutionary optimization technique of fixture layout optimization is presented.ANSYS has beenusedfor FE calculation of fitness values.It is seenthat the combined genetic algorithm and FE method approachseemsto be a powerful approachfor presenttype problems. GA approachis particularly suited for problems where theredoesnot exist a well-defined mathematicalrelationship betweenthe objective function and the designvariables. The results provethe successof the application of GAs for the fixture layout optimization problems.In this study, the major obstaclefor GA application in fixture layout optimization is the high computation cost. Re-meshingof the workpiece is required for every chromosomein the population. But, usagesof chromosomelibrary, the number of FE evaluations aredecreasedfrom 6000 to 415. This results in atremendousgain in computational efficiency. The other wayto decreasethe solution time is to use distributed computation in a local areanetwork.The results of this approachshow that the fixture layout optimization problems are multi-modal problems. Optimized designsdo not have any apparentsimilarities although they provide very similar performances.It is shown that fixture layout problems are multi-modal therefore heuristic rules for fixture designshould be usedin GA to select best designamong others.Number of Jtejation (N) Papulaci on Si^c (PS) Crossover Prahub 山cy (PJ Muntion Prubabiliu (P,) pupuhiioiL. 1<-卅I ociikx ancldunp 阿肝口曲, Ri^prcwlkictnir(Toumiiment sckcii^n)I A du laic tlw IhtK^> of <achEndividual f htisin(cop 、lhe best mdi\Rw(mdi^h Mess valueMuiaiion采用遗传算法优化加工夹具定位和加紧位置摘要:工件变形的问题可能导致机械加工中的空间问题。
基于遗传算法的夹紧机构优化设计
基于遗传算法的夹紧机构优化设计夹紧机构是一种常见的机械装置,用于夹紧和固定工件,广泛应用于制造业和机械加工领域。
夹紧机构的设计对于提高生产效率和产品质量具有重要意义。
本文将介绍一种基于遗传算法的夹紧机构优化设计方法。
夹紧机构的设计涉及到多个参数,包括夹紧力、夹紧速度、夹紧范围、夹紧精度等。
传统的设计方法通常采用试错法,即不断调整参数直至达到满意的效果。
然而,这种方法不仅耗时耗力,而且无法保证获得最优解。
因此,利用遗传算法进行夹紧机构优化设计具有重要的意义。
遗传算法是一种模拟自然界生物进化过程的数学优化算法。
其基本思想是将待优化问题转化为染色体编码,通过模拟自然界的遗传操作(选择、交叉、变异等)来最优解。
在夹紧机构优化设计中,遗传算法可以用于最优的参数组合。
首先,需要确定夹紧机构的设计目标和约束条件。
设计目标可能是最小化能耗、最大化生产效率、最小化夹紧误差等。
约束条件可能包括夹紧力的上下限、夹紧速度的范围、夹紧范围的限制等。
确定了设计目标和约束条件后,就可以构建适应度函数。
适应度函数是遗传算法中的核心。
它用于评估每个个体的适应度程度,进而决定哪些个体能够生存和繁殖。
对于夹紧机构优化设计,适应度函数可以根据设计目标和约束条件来定义。
例如,对于最小化能耗的目标,适应度函数可以是能耗的倒数,即适应度越高,能耗越低。
接下来,需要确定遗传算法的基本参数,包括种群大小、交叉概率、变异概率等。
种群大小决定了每一代的个体数量,交叉概率决定了交叉操作的概率,变异概率决定了变异操作的概率。
这些参数的选择需要根据实际情况进行调整,以确保算法的收敛性和能力。
在初始化种群之后,需要进行选择、交叉和变异等遗传操作。
选择操作是根据适应度函数来选择适应度较高的个体,进而生存和繁殖。
交叉操作是将两个个体的染色体进行交换,以产生新的个体。
变异操作是对染色体中的基因进行随机变化,以增加空间。
通过反复进行这些遗传操作,直到达到停止条件,即找到满足设计目标和约束条件的最优解。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
附录Machining fixture locating and clamping position optimization usinggenetic algorithmsNecmettin Kaya*Department of Mechanical Engineering, Uludag University, Go¨ru¨kle, Bursa 16059, Turkey Received 8 July 2004; accepted 26 May 2005Available online 6 September 2005AbstractDeformation of the workpiece may cause dimensional problems in machining. Supports and locators are used in order to reduce the error caused by elastic deformation of the workpiece. The optimization of support, locator and clamp locations is a critical problem to minimize the geometric error in workpiece machining. In this paper, the application of genetic algorithms (GAs) to the fixture layout optimization is presented to handle fixture layout optimization problem. A genetic algorithm based approach is developed to optimise fixture layout through integrating a finite element code running in batch mode to compute the objective function values for each generation. Case studies are given to illustrate the application of proposed approach. Chromosome library approach is used to decrease the total solution time. Developed GA keeps track of previously analyzed designs; therefore the numbers of function evaluations are decreased about 93%. The results of this approach show that the fixture layout optimization problems are multi-modal problems. Optimized designs do not have any apparent similarities although they provide very similar performances.Keywords: Fixture design; Genetic algorithms; Optimization1. IntroductionFixtures are used to locate and constrain a workpiece during a machining operation, minimizing workpiece and fixture tooling deflections due to clamping and cutting forces are critical to ensuring accuracy of the machining operation. Traditionally, machining fixtures are designed and manufactured through trial-and-error, which prove to be both expensive and time-consuming to the manufacturing process. To ensure a workpiece is manufactured according to specified dimensions and tolerances, it must be appropriately located and clamped, making it imperative to develop tools that will eliminate costly and time-consuming trial-and-error designs. Properworkpiece location and fixture design are crucial to product quality in terms of precision, accuracy and finish of the machined part.Theoretically, the 3-2-1 locating principle can satisfactorily locate all prismatic shaped workpieces. This method provides the maximum rigidity with the minimum number of fixture elements. To position a part from a kinematic point of view means constraining the six degrees of freedom of a free moving body (three translations and three rotations). Three supports are positioned below the part to establish the location of the workpiece on its vertical axis. Locators are placed on two peripheral edges and intended to establish the location of the workpiece on the x and y horizontal axes. Properly locating the workpiece in the fixture is vital to the overall accuracy and repeatability of the manufacturing process. Locators should be positioned as far apart as possible and should be placed on machined surfaces wherever possible. Supports are usually placed to encompass the center of gravity of a workpiece and positioned as far apart as possible to maintain its stability. The primary responsibility of a clamp in fixture is to secure the part against the locators and supports. Clamps should not be expected to resist the cutting forces generated in the machining operation.For a given number of fixture elements, the machining fixture synthesis problem is the finding optimal layout or positions of the fixture elements around the workpiece. In this paper, a method for fixture layout optimization using genetic algorithms is presented. The optimization objective is to search for a 2D fixture layout that minimizes the maximum elastic deformation at different locations of the workpiece. ANSYS program has been used for calculating the deflection of the part under clamping and cutting forces. Two case studies are given to illustrate the proposed approach.2. Review of related worksFixture design has received considerable attention in recent years. However, little attention has been focused on the optimum fixture layout design. Menassa and DeVries[1]used FEA for calculating deflections using the minimization of the workpiece deflection at selected points as the design criterion. The design problem was to determine the position of supports. Meyer and Liou[2] presented an approach that uses linear programming technique to synthesize fixtures for dynamic machining conditions. Solution for the minimum clamping forces and locator forces is given. Li and Melkote[3]used a nonlinear programming method to solve the layout optimization problem. The method minimizes workpiece location errors due to localized elasticdeformation of the workpiece. Roy andLiao[4]developed a heuristic method to plan for the best supporting and clamping positions. Tao et al.[5]presented a geometrical reasoning methodology for determining the optimal clamping points and clamping sequence for arbitrarily shaped workpieces. Liao and Hu[6]presented a system for fixture configuration analysis based on a dynamic model which analyses the fixture–workpiece system subject to time-varying machining loads. The influence of clamping placement is also investigated. Li and Melkote[7]presented a fixture layout and clamping force optimal synthesis approach that accounts for workpiece dynamics during machining. A combined fixture layout and clamping force optimization procedure presented.They used the contact elasticity modeling method that accounts for the influence of workpiece rigid body dynamics during machining. Amaral et al. [8] used ANSYS to verify fixture design integrity. They employed 3-2-1 method. The optimization analysis is performed in ANSYS. Tan et al. [9] described the modeling, analysis and verification of optimal fixturing configurations by the methods of force closure, optimization and finite element modeling.Most of the above studies use linear or nonlinear programming methods which often do not give global optimum solution. All of the fixture layout optimization procedures start with an initial feasible layout. Solutions from these methods are depending on the initial fixture layout. They do not consider the fixture layout optimization on overall workpiece deformation.The GAs has been proven to be useful technique in solving optimization problems in engineering [10–12]. Fixture design has a large solution space and requires a search tool to find the best design. Few researchers have used the GAs for fixture design and fixture layout problems. Kumar et al. [13] have applied both GAs and neural networks for designing a fixture. Marcelin[14]has used GAs to the optimization of support positions. Vallapuzha et al.[15]presented GA based optimization method that uses spatial coordinates to represent the locations of fixture elements. Fixture layout optimization procedure was implemented using MATLAB and the genetic algorithm toolbox. HYPERMESH and MSC/NASTRAN were used for FE model. Vallapuzha et al. [16] presented results of an extensive investigation into the relative effectiveness of various optimization methods. They showed that continuous GA yielded the best quality solutions. Li and Shiu [17] determined the optimal fixture configuration design for sheet metal assembly using GA. MSC/NASTRAN has been used for fitness evaluation. Liao [18] presented a method to automatically select the optimal numbers oflocators and clamps as well as their optimal positions in sheet metal assembly fixtures. Krishnakumar and Melkote [19] developed a fixture layout optimization technique that uses the GA to find the fixture layout that minimizes the deformation of the machined surface due to clamping and machining forces over the entire tool path. Locator and clamp positions are specified by node numbers. A built-in finite element solver was developed.Some of the studies do not consider the optimization of the layout for entire tool path and chip removal is not taken into account. Some of the studies used node numbers as design parameters.In this study, a GA tool has been developed to find the optimal locator and clamp positions in 2D workpiece. Distances from the reference edges as design parameters are used rather than FEA node numbers. Fitness values of real encoded GA chromosomes are obtained from the results of FEA. ANSYS has been used for FEA calculations. A chromosome library approach is used in order to decrease the solution time. Developed GA tool is tested on two test problems. Two case studies are given to illustrate the developed approach. Main contributions of this paper can be summarized as follows:(1) developed a GA code integrated with a commercial finite element solver;(2) GA uses chromosome library in order to decrease the computation time;(3) real design parameters are used rather than FEA node numbers;(4) chip removal is taken into account while tool forces moving on the workpiece.3. Genetic algorithm conceptsGenetic algorithms were first developed by John Holland. Goldberg [10] published a book explaining the theory and application examples of genetic algorithm in details. A genetic algorithm is a random search technique that mimics some mechanisms of natural evolution. The algorithm works on a population of designs. The population evolves from generation to generation, gradually improving its adaptation to the environment through natural selection; fitter individuals have better chances of transmitting their characteristics to later generations.In the algorithm, the selection of the natural environment is replaced by artificial selection based on a computed fitness for each design. The term fitness is used to designate the chromosome’s chances of survival and it is essentially the objective function of the optimization problem. The chromosomes that define characteristics of biological beings are replaced by strings of numerical values representing the designvariables.GA is recognized to be different than traditional gradient based optimization techniques in the following four major ways [10]:1. GAs work with a coding of the design variables and parameters in the problem, rather than with the actual parameters themselves.2. GAs makes use of population-type search. Many different design points are evaluated during each iteration instead of sequentially moving from one point to the next.3. GAs needs only a fitness or objective function value. No derivatives or gradients are necessary.4. GAs use probabilistic transition rules to find new design points for exploration rather than using deterministic rules based on gradient information to find these new points.4. Approach4.1. Fixture positioning principlesIn machining process, fixtures are used to keep workpieces in a desirable position for operations. The most important criteria for fixturing are workpiece position accuracy and workpiece deformation. A good fixture design minimizes workpiece geometric and machining accuracy errors. Another fixturing requirement is that the fixture must limit deformation of the workpiece. It is important to consider the cutting forces as well as the clamping forces. Without adequate fixture support, machining operations do not conform to designed tolerances. Finite element analysis is a powerful tool in the resolution of some of these problems [22].Common locating method for prismatic parts is 3-2-1 method. This method provides the maximum rigidity with the minimum number of fixture elements. A workpiece in 3D may be positively located by means of six points positioned so that they restrict nine degrees of freedom of the workpiece. The other three degrees of freedom are removed by clamp elements. An example layout for 2D workpiece based 3-2-1 locating principle is shown in Fig. 4.Fig. 4. 3-2-1 locating layout for 2D prismatic workpieceThe number of locating faces must not exceed two so as to avoid a redundant location. Based on the 3-2-1 fixturing principle there are two locating planes for accurate location containing two and one locators. Therefore, there are maximum of two side clampings against each locating plane. Clamping forces are always directed towards the locators in order to force the workpiece to contact all locators. The clamping point should be positioned opposite the positioning points to prevent the workpiece from being distorted by the clamping force.Since the machining forces travel along the machining area, it is necessary to ensure that the reaction forces at locators are positive for all the time. Any negative reaction force indicates that the workpiece is free from fixture elements. In other words, loss of contact or the separation between the workpiece and fixture element might happen when the reaction force is negative. Positive reaction forces at the locators ensure that the workpiece maintains contact with all the locators from the beginning of the cut to the end. The clamping forces should be just sufficient to constrain and locate the workpiece without causing distortion or damage to the workpiece. Clamping force optimization is not considered in this paper.4.2. Genetic algorithm based fixture layout optimization approachIn real design problems, the number of design parameters can be very large and their influence on the objective function can be very complicated. The objective function must be smooth and a procedure is needed to compute gradients. Genetic algorithms strongly differ in conception from other search methods, including traditional optimization methods and other stochastic methods [23]. By applying GAs to fixture layout optimization, an optimal or group of sub-optimal solutions can be obtained.In this study, optimum locator and clamp positions are determined using genetic algorithms. They are ideally suited for the fixture layout optimization problem since no direct analytical relationship exists between the machining error and the fixture layout. Since the GA deals with only the design variables and objective function value for a particular fixture layout, no gradient or auxiliary information is needed [19].The flowchart of the proposed approach is given in Fig. 5.Fixture layout optimization is implemented using developed software written in Delphi language named GenFix. Displacement values are calculated in ANSYS software [24]. The execution of ANSYS in GenFix is simply done by WinExec function in Delphi. The interaction between GenFix and ANSYS is implemented in four steps:(1) Locator and clamp positions are extracted from binary string as real parameters.(2) These parameters and ANSYS input batch file (modeling, solution and post processing commands) are sent to ANSYS using WinExec function.(3) Displacement values are written to a text file after solution.(4) GenFix reads this file and computes fitness value for current locator and clamp positions.In order to reduce the computation time, chromosomes and fitness values are stored in a library for further evaluation. GenFix first checks if current chromosome’s fitness value has been calculated before. If not, locator positions are sent to ANSYS, otherwise fitness values are taken from the library. During generating of the initial population, every chromosome is checked whether it is feasible or not. If the constraint is violated, it is eliminated and new chromosome is created. This process creates entirely feasible initial population. This ensures that workpiece is stable under the action of clamping and cutting forces for every chromosome in the initial population.The written GA program was validated using two test cases. The first test case uses Himmelblau function [21]. In the second test case, the GA program was used to optimise the support positions of a beam under uniform loading.5. Fixture layout optimization case studiesThe fixture layout optimization problem is defined as: finding the positions of the locators and clamps, so that workpiece deformation at specific region is minimized. Note that number of locators and clamps are not design parameter, since they are known and fixed for the 3-2-1 locating scheme. Hence, the design parameters areselected as locator and clamp positions. Friction is not considered in this paper. Two case studies are given to illustrate the proposed approach.6. ConclusionIn this paper, an evolutionary optimization technique of fixture layout optimization is presented. ANSYS has been used for FE calculation of fitness values. It is seen that the combined genetic algorithm and FE method approach seems to be a powerful approach for present type problems. GA approach is particularly suited for problems where there does not exist a well-defined mathematical relationship between the objective function and the design variables. The results prove the success of the application of GAs for the fixture layout optimization problems.In this study, the major obstacle for GA application in fixture layout optimization is the high computation cost. Re-meshing of the workpiece is required for every chromosome in the population. But, usages of chromosome library, the number of FE evaluations are decreased from 6000 to 415. This results in a tremendous gain in computational efficiency. The other way to decrease the solution time is to use distributed computation in a local area network.The results of this approach show that the fixture layout optimization problems are multi-modal problems. Optimized designs do not have any apparent similarities although they provide very similar performances. It is shown that fixture layout problems are multi-modal therefore heuristic rules for fixture design should be used in GA to select best design among others.Fig. 5. The flowchart of the proposed methodology and ANSYS interface.采用遗传算法优化加工夹具定位和加紧位置摘要:工件变形的问题可能导致机械加工中的空间问题。