在考虑装配工具及零件装配方向改变对装配成本影响的同时,增加装配体约束稳定性影响作为装配序列优化评价要素,构建装配成本模型。基于装配体几何约束关系,建立装配方向约束矩阵和连接关系矩阵,并依据专家知识得到零件所对应工具的映射表,通过矩阵扫描得到装配成本惩罚次数,并与惩罚系数加权得到装配成本函数值。在和声算法中引入自适应的参数调节方式及遗传算子,使和声算法能够解决离散型数学问题,并较好地改善了和声算法方向性差的缺点,通过求解惩罚函数最小值,得到其所对应的最优装配序列解,最后结合实例对比,验证了该方法有的效性。
The mathematical model of assembly cost is constructed by take not only the change of tool and assembly direction as the assessment elements of optimized assembly sequence, but also consider the stability effect of assembly. The constraint matrix of assembly direction and matrix of component''s connection relation are constructed based on the geometrical- restriction- relation between the parts. According to the expert knowledge, this paper constituted the mapping table between tool and parts, and got the number of penalty by matrix scan, then by weighting with the quotiety of penalty, achived the function-valued of assembly cost. The harmony search algorithm could solve discrete math problems by introduces the adjust method of adaptive parameter and genetic operator, and improved the directionality of harmony search. By contrast with the other algorithms, it proved the efficiency.