机器人机构设计中英文对照外文翻译文献
(文档含英文原文和中文翻译)
FEM Optimization for Robot Structure
Wang Shijun, Zhao Jinjuan*
Department of Mechanical Engineering, Xi'an University of
Technology
Shaanxi Province, People's Republic of China
Institute of Printing and Packing Engineering, Xi'an University of
Technology
Abstract
In optimal design for robot structures, design models need to he modified and computed repeatedly. Because modifying usually can not automatically be run, it consumes a lot of time. This paper gives a method that uses APDL language of ANSYS 5.5 software to generate an optimal control program, which mike optimal procedure run automatically and optimal efficiency be improved.
1) Introduction
Industrial robot is a kind of machine, which is controlled by computers. Because efficiency and maneuverability are higher than traditional machines, industrial robot is used extensively in industry. For the sake of efficiency and maneuverability, reducing mass and increasing stiffness is more important than traditional machines, in structure design of industrial robot.
A lot of methods are used in optimization design of structure. Finite element method is a much effective method. In general, modeling and modifying are manual, which is feasible when model is simple. When model is complicated, optimization time is longer. In the longer optimization time, calculation time is usually very little, a majority of time is used for modeling and modifying. It is key of improving efficiency of structure optimization how to reduce modeling and modifying time.
APDL language is an interactive development tool, which is based on ANSYS and is offered to program users. APDL language has typical function of some large computer languages. For example, parameter definition similar to constant and variable definition, branch and loop control, and macro call similar to function and subroutine call, etc. Besides these, it possesses powerful capability of mathematical calculation. The capability of mathematical calculation includes arithmetic calculation, comparison, rounding, and trigonometric function, exponential function and hyperbola function of standard FORTRAN language, etc. By means of APDL language, the data can be read and then calculated, which is in database of ANSYS program, and
running process of ANSYS program can be controlled.
Fig. 1 shows the main framework of a parallel robot with three bars. When the length of three bars are changed, conjunct end of three bars can follow a given track, where robot hand is installed. Core of top beam is triangle, owing to three bars used in the design, which is showed in Fig.2. Use of three bars makes top beam nonsymmetrical along the plane that is defined by two columns. According to a qualitative analysis from Fig.1, Stiffness values along z-axis are different at three joint locations on the top beam and stiffness at the location between bar 1 and top beam is lowest, which is confirmed by computing results of finite element, too. According to design goal, stiffness difference at three joint locations must he within a given tolerance. In consistent of stiffness will have influence on the motion accuracy of the manipulator under high load, so it is necessary to find the accurate location of top beam along x-axis.
To the questions presented above, the general solution is to change the location of the top beam many times, compare the results and eventually find a proper position, The model will be modified according to the last calculating result each time. It is difficult to avoid mistakes if the iterative process is controlled manually and the iterative time is too long. The outer wall and inner rib shapes of the top beam will be changed after the model is modified. To find the
appropriate location of top beam, the model needs to be modified repetitiously.
Fig. 1 Solution of Original Design
This paper gives an optimization solution to the position optimization question of the top beam by APDL language of ANSYS program. After the analysis model first founded, the optimization control program can be formed by means of modeling instruction in the log file. The later iterative optimization process can be finished by the optimization control program and do not need manual control. The time spent in modifying the model can be decreased to the ignorable extent. The efficiency of the optimization process is greatly improved.
2)Construction of model for analysis
The structure shown in Fig. 1 consists of three parts: two columns, one beam and three driving bars. The columns and beam are joined by the bolts on the first horizontal rib located on top of the columns as shown in Fig.1. Because the driving bars are substituted by equivalent
forces on the joint positions, their structure is ignored in the model.
The core of the top beam is three joints and a hole with special purpose, which can not be changed. The other parts of the beam may be changed if needed. For the convenience of modeling, the core of the beam is formed into one component. In the process of optimization, only the core position of beam along x axis is changed, that is to say, shape of beam core is not changed. It should be noticed that, in the rest of beam, only shape is changed but the topology is
not changed and which can automatically be performed by the control program.
Fig.1, six bolts join the beam and two columns. The joint surface can not bear the pull stress in the non-bolt joint positions, in which it is better to set contact elements. When the model includes contact elements, nonlinear iterative calculation will be needed in the process of solution and the computing time will quickly increase. The trial computing result not including contact element shows that the outside of beam bears pulling stress and the inner of beam bears the press stress. Considering the primary analysis object is the joint position stiffness between the top beam and the three driving bars, contact elements may not used, hut constructs the geometry model of joint surface as Fig.2 showing. The upper surface and the undersurface share one key point in bolt-joint positions and the upper surface and the under surface separately possess own key points in no bolt positions. When meshed, one node will be created at shared key point, where columns and beam are joined, and two nodes will be created at non shared key point, where column and beam are separated. On right surface of left column and left surface of right column, according to trial computing result, the structure bears press stress. Therefore, the columns and beam will share all key points, not but at bolts. This can not only omit contact element but also show the characteristic of bolt joining. The joining between the bottoms of the columns and the base are treated as full constraint. Because the main aim of analysis is the stiffness of the top beam, it can be assumed that the joint positions hear the same as load between beam and the three driving bars. The structure is the thin wall cast and simulated by shell element . The thickness of the outside wall of the structure and the rib are not equal, so two groups of real constant should he set. For the convenience of modeling, the two columns are also set into another component. The components can create an assembly. In this way, the joint
positions between the beam core and columns could he easily selected, in the modifying the model and modifying process can automatically be performed. Analysis model is showed Fig.1. Because model and load are symmetric, computing model is only half. So the total of elements is decreased to 8927 and the total of nodes is decreased to 4341. All elements are triangle.
3. )Optimization solution
The optimization process is essentially a computing and modifying process. The original design is used as initial condition of the iterative process. The ending condition of the process is that stiffness differences of the joint locations between three driving bars and top beam are less than given tolerance or iterative times exceed expected value. Considering the speciality of the question, it is foreseen that the location is existent where stiffness values are equal. If iterative is not convergent, the cause cannot be otherwise than inappropriate displacement increment or deficient iterative times. In order to make the iterative process convergent quickly and efficiently, this paper uses the bisection searching method changing step length to modify the top beam displacement. This method is a little complex but the requirement on the initial condition is relatively mild.
The flow chart of optimization as follows:
1. Read the beam model data in initial position from backup file;
2. Modify the position of beam;
3. Solve;
4. Read the deform of nodes where beam and three bars are joined;
5. Check whether the convergent conditions are satisfied, if not, then continue to modify the beam displacement and return to 3, otherwise, exit the iteration procedure.
6. Save the results and then exit.
The program's primary control codes and their function commentaries are given in it, of which the detailed modeling instructions are omitted. For the convenience of comparing with the control flow, the necessary notes are added.
the flag of the batch file in ANSYS
BATCH RESUME, robbak.db, 0
read original data from the backup
file robbak,.db
/PREP7 enter preprocessor
delete the joint part between beam core and columns
move the core of the beam by one :step length
apply load and constraint on the geometry meshing the
joint position between beam core and columns
FINISH exit the preprocessor
ISOLU enter solver
SOLVE solve
FINISH exit the solver
POST1
*GET ,front,NODE,2013,U,Z
*GET,back,NODE, 1441 ,U,Z
lastdif-1
flag=- 1
step=0.05
*D0,1,1,10,1
dif=abs(front-back)
*IF,dif,LE,l .OE-6,THEN
flag=l
*EXIT
*ELSEIF,dif,GE,lastdif,THEN
ELSE enter the postprocessor read the deformation of first joint node on beam read the deformation of second joint node on beam into parameter hack the absolute of initial difference between front and hack last time the feasibility flag of the optimization the initial displacement from initial position to the current position the iteration procedure begin, the cycle variable is I and its value range is 1-10 and step length is 1 the absolute of the difference between front and hack in the current result check whether the absolute difference dif satisfies the request or no yes, set flag equal to 1 exit the iterative calculation check whether the dif value becomes great or not flag=2 yes, set flag 2 modify step length by bisection method perform the next iterative calculation, use the last position as the current position and modified last step length as the current step length if the absolute of difference value is not less than
expected value and become small gradually, continue to
move top beam read the initial condition from back up
file enter the preprocessor
MEN, , P51X , , , step,, , ,1 move the core of the beam by one step length modify the
joint positions between beam core and column apply
load and constraint meshing
FINISH exit preprocessor
ISOLU enter solver
SOLVE solve
FINISH exit the solver
/POST1 exit the postprocessor
*GET,front,NODE,201 3,U,Z read the deformation of first joint node to parameter front *GET,back,NODE, 144 1 ,U,Z read the deformation of second joint node to parameter back lastdif-dif update the value of last dif
*ENDIF the end of the if-else
*ENDDO the end of the DO cycle
Most of the control program above is copied from log file, which is long. The total of lines is up to about 1000 lines. Many codes such as modeling and post-process codes are used repeatedly. To make the program construct clear, these instructions can he made into macros, which are called by main program. This can efficiently reduce the length of the main program. In addition, modeling instructions from log file includes lots of special instructions that are only used under graphic mode but useless under hatch mode. Deleting and modifying these instructions when under batch mode in ANSYS can reduce the length of the file, too.
In the program above, the deformation at given position is read from node deformation. In meshing, in order to avoid generating had elements, triangle mesh is used. In optimization, the shape of joint position between columns and beam continually is changed. This makes total of elements different after meshing each time and then element numbering different, too. Data read from database according to node numbering might not he data to want. Therefore, beam core first needs to he meshed, then saved. When read next time, its numbering is the same as last time.
Evaluating whether the final result is a feasible result or not needs to check the flag value. If only the flag value is I, the result is feasible, otherwise the most proper position is not found. The
total displacement of top beam is saved in parameter step. If the result is feasible, the step value is the distance from initial position to the most proper position. The sum of iterative is saved in parameter 1. According to the final value of I, feasibility of analysis result and correctness of initial condition can he evaluated.
4) Optimization results
The sum of iterative in optimization is seven, and it takes about 2 hour and 37 minutes to find optimal position. Fig.3 shows the deformation contour of the half-construct. In Fig.3, the deformations in three joints between beam and the three driving bars is the same as level, and the corresponding deformation range is between -0.133E-04 and -0.1 15E-O4m, the requirement of the same stiffness is reached. At this time, the position of beam core along x-axis as shown in
Fig. 1 has moved -0.71E-01m compared with the original designed position
Because the speed of computer reading instruction is much faster than modifying model manually, the time modifying model can be ignored. The time necessary for
optimization mostly depends on the time of solution. Compared with the optimization procedure manually modifying model, the efficiency is improved and mistake operating in modeling is avoided.
5) Conclusion
The analyzing result reveals that the optimization method given in this paper is effective and reaches the expected goal. The first advantage of this method is that manual mistakes do not easily occur in optimization procedure. Secondly, it is pretty universal and the control codes given in this paper may he transplanted to use in similar structure optimization design without large modification. The disadvantage is that the topology structure of the optimization object can not be changed. The more the workload of modifying the model, the more the advantages of this method are shown. In addition, the topology optimization function provided in ANSYS is used to solve the optimization problem that needs to change the topology structure.
The better optimization results can he achieved if the method in this paper combined with it.
译文:
机器人机构优化设计有限元分析
王世军 赵金娟
西安大学机电工程系
中国 陕西
西安大学出版社
摘要
机器人结构最优化设计,设计模型需要反复的修正和计算。应为修改后的模型通常不能自动运行,需要大量的时间进行调试。本论文给出一种采用有限元分析软件ANSYS 5.5参数化设计语言生成一种最优化控制的方法,这种方法能给出最优自动运行过程和提高效率。
1)简介
工业机器人是一种用电脑控制的机械机构。因为效率和可操作性比传统机械要高,因此工业机器人广泛的用于工业生产中。相对传统机械来说,在工业机器人的结构设计中,为了达到高效率和可操作性的目的,减少重量和增加刚度显得更加重要。
在结构设计中有很多的方法,一般而言,有限元法是最有效的方法之一。当所需模型比较简单时,建模和修改采用手工操作是可行的。当模型复杂时,优化时间是比较长的。在相当长的优化时间内,计算时间是非常少的,大多数时间是用来建模和修改模型的。如何减少结构优化过程中的建模和修改模型所用时间是提高效率的关键所在。
ANSYS 参数化设计语言是一种基于有限元分析的交互式开发工具,通常被程序设计人员使用。ANSYS 参数化设计语言具有一个典型功能及它包含多数大型计算机语言,例如,定义参数像定义常量和变量,条件转移和循环控制,以及宏调用像调用函数和子程序等。除此之外,它具有强大的数学计算控制能力。这种数学计算能力包括算法,计算,对比,凑整和三角函数功能,指数函数功能和标准福传语言的双曲线功能等。依靠ANSYS 参数
化设计语言,数据能够在ANSYS 数据库中被阅读和计算,并且在ANSYS 程序运行过程中受到控制。
图1表示三连杆平行机器人的主要框架。
沿Z 轴的刚性值在顶部梁的三个连接处是不一样的。在连杆1和顶部梁连接处得刚性是最小的,这也是通过有限元分析计算结果来确定的。根据设计目的,在三个连接点的不同的刚性必须要有给定的公差。当机械手在进行高强度工作时,一致的刚性会对它的运行精度产生影响,因此在沿X 轴设置一个精确的位置是非常有必要的。
根据上面提出的问题,一般的解决方法经常是改变顶部梁连接点的位置,对比结果,然后找到一个合适的位置,模型每次都要根据最后的计算结果进行修改。如果采用人工的控制这个重复的过程且重复时间过长,这样就难免出现错误。当模型被修改时,顶部梁外壁和内部肋板的形状也随之发生改变。模型需要重复的去修改才能找出恰当的位置。
图1 初始设计方案
本论文通过ANSYS 程序的参数化设计语言给出一个寻找最优位置问题的最佳解决方法。经过对事先建立的模型进行分析,通过建模系统指令在新的文件里形成一个最佳的控制程序,通过这个最佳的控制程序可以完成以后的重复最优化过程,而且不需要手工控制。在修改模型上消耗的时间可以减少到被忽略的程度。最优化步骤的效率得到很大提高。
2)建筑模型分析
图1所示结构包括了三个部分:两个支柱,一个顶部梁和三个操作连杆。支柱和横梁通过位于支柱上面的水平肋板连接在一起,如图1所示。因为操作连杆被连接位置的等效构件代替,所以在模型中它们的结构被忽略了。
顶部横梁的核心是三个连接处和一个特殊作用的孔,这些都是固定不变的。其他部件可以根据需求进行修改。
为了建模的方便,横梁的核心被制成一个零件。在进行最优化的过程中,只有沿着X
机器人机构设计中英文对照外文翻译文献
(文档含英文原文和中文翻译)
FEM Optimization for Robot Structure
Wang Shijun, Zhao Jinjuan*
Department of Mechanical Engineering, Xi'an University of
Technology
Shaanxi Province, People's Republic of China
Institute of Printing and Packing Engineering, Xi'an University of
Technology
Abstract
In optimal design for robot structures, design models need to he modified and computed repeatedly. Because modifying usually can not automatically be run, it consumes a lot of time. This paper gives a method that uses APDL language of ANSYS 5.5 software to generate an optimal control program, which mike optimal procedure run automatically and optimal efficiency be improved.
1) Introduction
Industrial robot is a kind of machine, which is controlled by computers. Because efficiency and maneuverability are higher than traditional machines, industrial robot is used extensively in industry. For the sake of efficiency and maneuverability, reducing mass and increasing stiffness is more important than traditional machines, in structure design of industrial robot.
A lot of methods are used in optimization design of structure. Finite element method is a much effective method. In general, modeling and modifying are manual, which is feasible when model is simple. When model is complicated, optimization time is longer. In the longer optimization time, calculation time is usually very little, a majority of time is used for modeling and modifying. It is key of improving efficiency of structure optimization how to reduce modeling and modifying time.
APDL language is an interactive development tool, which is based on ANSYS and is offered to program users. APDL language has typical function of some large computer languages. For example, parameter definition similar to constant and variable definition, branch and loop control, and macro call similar to function and subroutine call, etc. Besides these, it possesses powerful capability of mathematical calculation. The capability of mathematical calculation includes arithmetic calculation, comparison, rounding, and trigonometric function, exponential function and hyperbola function of standard FORTRAN language, etc. By means of APDL language, the data can be read and then calculated, which is in database of ANSYS program, and
running process of ANSYS program can be controlled.
Fig. 1 shows the main framework of a parallel robot with three bars. When the length of three bars are changed, conjunct end of three bars can follow a given track, where robot hand is installed. Core of top beam is triangle, owing to three bars used in the design, which is showed in Fig.2. Use of three bars makes top beam nonsymmetrical along the plane that is defined by two columns. According to a qualitative analysis from Fig.1, Stiffness values along z-axis are different at three joint locations on the top beam and stiffness at the location between bar 1 and top beam is lowest, which is confirmed by computing results of finite element, too. According to design goal, stiffness difference at three joint locations must he within a given tolerance. In consistent of stiffness will have influence on the motion accuracy of the manipulator under high load, so it is necessary to find the accurate location of top beam along x-axis.
To the questions presented above, the general solution is to change the location of the top beam many times, compare the results and eventually find a proper position, The model will be modified according to the last calculating result each time. It is difficult to avoid mistakes if the iterative process is controlled manually and the iterative time is too long. The outer wall and inner rib shapes of the top beam will be changed after the model is modified. To find the
appropriate location of top beam, the model needs to be modified repetitiously.
Fig. 1 Solution of Original Design
This paper gives an optimization solution to the position optimization question of the top beam by APDL language of ANSYS program. After the analysis model first founded, the optimization control program can be formed by means of modeling instruction in the log file. The later iterative optimization process can be finished by the optimization control program and do not need manual control. The time spent in modifying the model can be decreased to the ignorable extent. The efficiency of the optimization process is greatly improved.
2)Construction of model for analysis
The structure shown in Fig. 1 consists of three parts: two columns, one beam and three driving bars. The columns and beam are joined by the bolts on the first horizontal rib located on top of the columns as shown in Fig.1. Because the driving bars are substituted by equivalent
forces on the joint positions, their structure is ignored in the model.
The core of the top beam is three joints and a hole with special purpose, which can not be changed. The other parts of the beam may be changed if needed. For the convenience of modeling, the core of the beam is formed into one component. In the process of optimization, only the core position of beam along x axis is changed, that is to say, shape of beam core is not changed. It should be noticed that, in the rest of beam, only shape is changed but the topology is
not changed and which can automatically be performed by the control program.
Fig.1, six bolts join the beam and two columns. The joint surface can not bear the pull stress in the non-bolt joint positions, in which it is better to set contact elements. When the model includes contact elements, nonlinear iterative calculation will be needed in the process of solution and the computing time will quickly increase. The trial computing result not including contact element shows that the outside of beam bears pulling stress and the inner of beam bears the press stress. Considering the primary analysis object is the joint position stiffness between the top beam and the three driving bars, contact elements may not used, hut constructs the geometry model of joint surface as Fig.2 showing. The upper surface and the undersurface share one key point in bolt-joint positions and the upper surface and the under surface separately possess own key points in no bolt positions. When meshed, one node will be created at shared key point, where columns and beam are joined, and two nodes will be created at non shared key point, where column and beam are separated. On right surface of left column and left surface of right column, according to trial computing result, the structure bears press stress. Therefore, the columns and beam will share all key points, not but at bolts. This can not only omit contact element but also show the characteristic of bolt joining. The joining between the bottoms of the columns and the base are treated as full constraint. Because the main aim of analysis is the stiffness of the top beam, it can be assumed that the joint positions hear the same as load between beam and the three driving bars. The structure is the thin wall cast and simulated by shell element . The thickness of the outside wall of the structure and the rib are not equal, so two groups of real constant should he set. For the convenience of modeling, the two columns are also set into another component. The components can create an assembly. In this way, the joint
positions between the beam core and columns could he easily selected, in the modifying the model and modifying process can automatically be performed. Analysis model is showed Fig.1. Because model and load are symmetric, computing model is only half. So the total of elements is decreased to 8927 and the total of nodes is decreased to 4341. All elements are triangle.
3. )Optimization solution
The optimization process is essentially a computing and modifying process. The original design is used as initial condition of the iterative process. The ending condition of the process is that stiffness differences of the joint locations between three driving bars and top beam are less than given tolerance or iterative times exceed expected value. Considering the speciality of the question, it is foreseen that the location is existent where stiffness values are equal. If iterative is not convergent, the cause cannot be otherwise than inappropriate displacement increment or deficient iterative times. In order to make the iterative process convergent quickly and efficiently, this paper uses the bisection searching method changing step length to modify the top beam displacement. This method is a little complex but the requirement on the initial condition is relatively mild.
The flow chart of optimization as follows:
1. Read the beam model data in initial position from backup file;
2. Modify the position of beam;
3. Solve;
4. Read the deform of nodes where beam and three bars are joined;
5. Check whether the convergent conditions are satisfied, if not, then continue to modify the beam displacement and return to 3, otherwise, exit the iteration procedure.
6. Save the results and then exit.
The program's primary control codes and their function commentaries are given in it, of which the detailed modeling instructions are omitted. For the convenience of comparing with the control flow, the necessary notes are added.
the flag of the batch file in ANSYS
BATCH RESUME, robbak.db, 0
read original data from the backup
file robbak,.db
/PREP7 enter preprocessor
delete the joint part between beam core and columns
move the core of the beam by one :step length
apply load and constraint on the geometry meshing the
joint position between beam core and columns
FINISH exit the preprocessor
ISOLU enter solver
SOLVE solve
FINISH exit the solver
POST1
*GET ,front,NODE,2013,U,Z
*GET,back,NODE, 1441 ,U,Z
lastdif-1
flag=- 1
step=0.05
*D0,1,1,10,1
dif=abs(front-back)
*IF,dif,LE,l .OE-6,THEN
flag=l
*EXIT
*ELSEIF,dif,GE,lastdif,THEN
ELSE enter the postprocessor read the deformation of first joint node on beam read the deformation of second joint node on beam into parameter hack the absolute of initial difference between front and hack last time the feasibility flag of the optimization the initial displacement from initial position to the current position the iteration procedure begin, the cycle variable is I and its value range is 1-10 and step length is 1 the absolute of the difference between front and hack in the current result check whether the absolute difference dif satisfies the request or no yes, set flag equal to 1 exit the iterative calculation check whether the dif value becomes great or not flag=2 yes, set flag 2 modify step length by bisection method perform the next iterative calculation, use the last position as the current position and modified last step length as the current step length if the absolute of difference value is not less than
expected value and become small gradually, continue to
move top beam read the initial condition from back up
file enter the preprocessor
MEN, , P51X , , , step,, , ,1 move the core of the beam by one step length modify the
joint positions between beam core and column apply
load and constraint meshing
FINISH exit preprocessor
ISOLU enter solver
SOLVE solve
FINISH exit the solver
/POST1 exit the postprocessor
*GET,front,NODE,201 3,U,Z read the deformation of first joint node to parameter front *GET,back,NODE, 144 1 ,U,Z read the deformation of second joint node to parameter back lastdif-dif update the value of last dif
*ENDIF the end of the if-else
*ENDDO the end of the DO cycle
Most of the control program above is copied from log file, which is long. The total of lines is up to about 1000 lines. Many codes such as modeling and post-process codes are used repeatedly. To make the program construct clear, these instructions can he made into macros, which are called by main program. This can efficiently reduce the length of the main program. In addition, modeling instructions from log file includes lots of special instructions that are only used under graphic mode but useless under hatch mode. Deleting and modifying these instructions when under batch mode in ANSYS can reduce the length of the file, too.
In the program above, the deformation at given position is read from node deformation. In meshing, in order to avoid generating had elements, triangle mesh is used. In optimization, the shape of joint position between columns and beam continually is changed. This makes total of elements different after meshing each time and then element numbering different, too. Data read from database according to node numbering might not he data to want. Therefore, beam core first needs to he meshed, then saved. When read next time, its numbering is the same as last time.
Evaluating whether the final result is a feasible result or not needs to check the flag value. If only the flag value is I, the result is feasible, otherwise the most proper position is not found. The
total displacement of top beam is saved in parameter step. If the result is feasible, the step value is the distance from initial position to the most proper position. The sum of iterative is saved in parameter 1. According to the final value of I, feasibility of analysis result and correctness of initial condition can he evaluated.
4) Optimization results
The sum of iterative in optimization is seven, and it takes about 2 hour and 37 minutes to find optimal position. Fig.3 shows the deformation contour of the half-construct. In Fig.3, the deformations in three joints between beam and the three driving bars is the same as level, and the corresponding deformation range is between -0.133E-04 and -0.1 15E-O4m, the requirement of the same stiffness is reached. At this time, the position of beam core along x-axis as shown in
Fig. 1 has moved -0.71E-01m compared with the original designed position
Because the speed of computer reading instruction is much faster than modifying model manually, the time modifying model can be ignored. The time necessary for
optimization mostly depends on the time of solution. Compared with the optimization procedure manually modifying model, the efficiency is improved and mistake operating in modeling is avoided.
5) Conclusion
The analyzing result reveals that the optimization method given in this paper is effective and reaches the expected goal. The first advantage of this method is that manual mistakes do not easily occur in optimization procedure. Secondly, it is pretty universal and the control codes given in this paper may he transplanted to use in similar structure optimization design without large modification. The disadvantage is that the topology structure of the optimization object can not be changed. The more the workload of modifying the model, the more the advantages of this method are shown. In addition, the topology optimization function provided in ANSYS is used to solve the optimization problem that needs to change the topology structure.
The better optimization results can he achieved if the method in this paper combined with it.
译文:
机器人机构优化设计有限元分析
王世军 赵金娟
西安大学机电工程系
中国 陕西
西安大学出版社
摘要
机器人结构最优化设计,设计模型需要反复的修正和计算。应为修改后的模型通常不能自动运行,需要大量的时间进行调试。本论文给出一种采用有限元分析软件ANSYS 5.5参数化设计语言生成一种最优化控制的方法,这种方法能给出最优自动运行过程和提高效率。
1)简介
工业机器人是一种用电脑控制的机械机构。因为效率和可操作性比传统机械要高,因此工业机器人广泛的用于工业生产中。相对传统机械来说,在工业机器人的结构设计中,为了达到高效率和可操作性的目的,减少重量和增加刚度显得更加重要。
在结构设计中有很多的方法,一般而言,有限元法是最有效的方法之一。当所需模型比较简单时,建模和修改采用手工操作是可行的。当模型复杂时,优化时间是比较长的。在相当长的优化时间内,计算时间是非常少的,大多数时间是用来建模和修改模型的。如何减少结构优化过程中的建模和修改模型所用时间是提高效率的关键所在。
ANSYS 参数化设计语言是一种基于有限元分析的交互式开发工具,通常被程序设计人员使用。ANSYS 参数化设计语言具有一个典型功能及它包含多数大型计算机语言,例如,定义参数像定义常量和变量,条件转移和循环控制,以及宏调用像调用函数和子程序等。除此之外,它具有强大的数学计算控制能力。这种数学计算能力包括算法,计算,对比,凑整和三角函数功能,指数函数功能和标准福传语言的双曲线功能等。依靠ANSYS 参数
化设计语言,数据能够在ANSYS 数据库中被阅读和计算,并且在ANSYS 程序运行过程中受到控制。
图1表示三连杆平行机器人的主要框架。
沿Z 轴的刚性值在顶部梁的三个连接处是不一样的。在连杆1和顶部梁连接处得刚性是最小的,这也是通过有限元分析计算结果来确定的。根据设计目的,在三个连接点的不同的刚性必须要有给定的公差。当机械手在进行高强度工作时,一致的刚性会对它的运行精度产生影响,因此在沿X 轴设置一个精确的位置是非常有必要的。
根据上面提出的问题,一般的解决方法经常是改变顶部梁连接点的位置,对比结果,然后找到一个合适的位置,模型每次都要根据最后的计算结果进行修改。如果采用人工的控制这个重复的过程且重复时间过长,这样就难免出现错误。当模型被修改时,顶部梁外壁和内部肋板的形状也随之发生改变。模型需要重复的去修改才能找出恰当的位置。
图1 初始设计方案
本论文通过ANSYS 程序的参数化设计语言给出一个寻找最优位置问题的最佳解决方法。经过对事先建立的模型进行分析,通过建模系统指令在新的文件里形成一个最佳的控制程序,通过这个最佳的控制程序可以完成以后的重复最优化过程,而且不需要手工控制。在修改模型上消耗的时间可以减少到被忽略的程度。最优化步骤的效率得到很大提高。
2)建筑模型分析
图1所示结构包括了三个部分:两个支柱,一个顶部梁和三个操作连杆。支柱和横梁通过位于支柱上面的水平肋板连接在一起,如图1所示。因为操作连杆被连接位置的等效构件代替,所以在模型中它们的结构被忽略了。
顶部横梁的核心是三个连接处和一个特殊作用的孔,这些都是固定不变的。其他部件可以根据需求进行修改。
为了建模的方便,横梁的核心被制成一个零件。在进行最优化的过程中,只有沿着X