CN102049717A - Controlling computerized numerical control (CNC) high-quality aspheric surface forming control method and hardware system - Google Patents
Controlling computerized numerical control (CNC) high-quality aspheric surface forming control method and hardware system Download PDFInfo
- Publication number
- CN102049717A CN102049717A CN 201010229466 CN201010229466A CN102049717A CN 102049717 A CN102049717 A CN 102049717A CN 201010229466 CN201010229466 CN 201010229466 CN 201010229466 A CN201010229466 A CN 201010229466A CN 102049717 A CN102049717 A CN 102049717A
- Authority
- CN
- China
- Prior art keywords
- axis
- speed
- interpolation
- time
- curve
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000000227 grinding Methods 0.000 claims abstract description 39
- 238000012545 processing Methods 0.000 claims abstract description 32
- 230000008859 change Effects 0.000 claims abstract description 16
- 230000007704 transition Effects 0.000 claims abstract description 5
- 230000033001 locomotion Effects 0.000 claims description 39
- 230000001133 acceleration Effects 0.000 claims description 21
- 230000003287 optical effect Effects 0.000 claims description 18
- 230000008569 process Effects 0.000 claims description 18
- 238000004364 calculation method Methods 0.000 claims description 12
- 238000013461 design Methods 0.000 claims description 9
- 238000006073 displacement reaction Methods 0.000 claims description 8
- 238000005516 engineering process Methods 0.000 claims description 8
- 230000006870 function Effects 0.000 claims description 8
- 230000007423 decrease Effects 0.000 claims description 7
- 238000007781 pre-processing Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 claims description 4
- 238000011161 development Methods 0.000 claims description 4
- 230000001360 synchronised effect Effects 0.000 claims description 4
- 230000000007 visual effect Effects 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 claims description 2
- 238000005070 sampling Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 238000005498 polishing Methods 0.000 description 2
- 238000007514 turning Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000010923 batch production Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Landscapes
- Numerical Control (AREA)
Abstract
本发明是一种以速度插补原理三轴联动来实现切线法成形高次非球面数字控制方法及硬件系统。硬件控制系统采用具有多轴联动功能的UMAC控制器,利用电子凸轮算法获得准确的时间间隔,保证三轴联动的同步,同时采用的PVT速度插补算法,使实际加工曲线在节点处不出现拐点光滑过渡,位置不产生超调,并在插补节点之间时刻保持磨轮进给速度的连续变化,且磨轮的移动方向与该点的切线方向一致,进而形成高精度连续光滑的非球面,最终能提高非球面的加工效率和降低加工成本。
The invention is a digital control method and a hardware system for realizing high-order aspheric surface forming by tangential method through three-axis linkage based on the principle of speed interpolation. The hardware control system adopts the UMAC controller with multi-axis linkage function, and uses the electronic cam algorithm to obtain accurate time intervals to ensure the synchronization of the three-axis linkage. At the same time, the PVT speed interpolation algorithm is adopted so that the actual processing curve does not have an inflection point at the node. Smooth transition, the position does not overshoot, and the continuous change of the grinding wheel feed speed is maintained at all times between the interpolation nodes, and the moving direction of the grinding wheel is consistent with the tangent direction of the point, thereby forming a high-precision continuous smooth aspheric surface, and finally The processing efficiency of the aspheric surface can be improved and the processing cost can be reduced.
Description
技术领域technical field
本发明涉及一种以速度插补原理三轴联动来实现切线法成形高次非球面数字控制方法及硬件系统。The invention relates to a digital control method and a hardware system for realizing high-order aspheric surface forming by tangential method through three-axis linkage based on the principle of speed interpolation.
背景技术Background technique
数控技术目前已广泛应用于各种控制领域,如航空航天、汽车、交通、通讯、电子、定位跟踪系统、机器人、高精密加工设备以及装配线等。在光学零件加工领域,已用数控车削、数控磨削和数控抛光等技术来加工出高精度非球面光学零件。国内外已研发出的多种数控加工光学非球面机床以得到应用,目前数控加工光学非球面技术,其加工效率比起传统手工加工非球面技术有了较大的提高,但加工效率仍然很低,只适用单件少量生产,随着光产业的迅速发展光学非球面光学零件需求量不断增加,迫切需要加工效率高,能够批量和变批量生产光学非球面零件的设备。Numerical control technology has been widely used in various control fields, such as aerospace, automobiles, transportation, communications, electronics, positioning and tracking systems, robots, high-precision processing equipment, and assembly lines. In the field of optical parts processing, technologies such as CNC turning, CNC grinding and CNC polishing have been used to process high-precision aspheric optical parts. A variety of CNC machining optical aspheric machine tools have been developed at home and abroad to be applied. At present, the processing efficiency of CNC processing optical aspheric surface technology has been greatly improved compared with the traditional manual processing of aspheric surface technology, but the processing efficiency is still very low. , only suitable for single-piece small-scale production. With the rapid development of the optical industry, the demand for optical aspheric optical parts continues to increase. There is an urgent need for equipment with high processing efficiency and capable of batch and variable batch production of optical aspheric parts.
目前数控成形光学非球面机床加工效率低的主要原因是不论车削、磨削还是抛光成形后的非球面表面总是产生微小波纹误差,而去除这种波纹误差花费较长时间,所以加工效率低,加工成本高。造成这种情况的原因有数控成形原理、加工方法的几何因素和物理因素等。其中数控成形原理造成的误差是理论性误差。当前国内外已有的加工非球面机床的数控成形原理均是二轴联动的位置插补数控原理,这种数控成形原理本身存在形成表面波纹的理论性误差。位置插补数控原理有三种插补方法,即脉冲增量插补、数字采样插补及数字采样插补和脉冲增量插补混合的插补方法。根据以上三种插补方法得到的轨迹曲线都是一条接近光学设计给定的非球面轨迹曲线的微小折线。这种折线,其插补间格取得越小,可使接近误差越小,但理论上总是一条折线,而折线在整个表面上总是形成微小波纹。在这种理论性微小波纹基础上,叠加上几何因素和物理因素的波纹,将得到更为复杂的不同频带的微小波纹。针对上述的现状,提出一种新的数控成形高次非球面控制方法,以达到非球面成形表面上消除产生微小波纹的目的。提出的具体控制方法是以速度插补原理三轴联动来实现切线法成形高次非球面数字控制方法。At present, the main reason for the low processing efficiency of CNC forming optical aspheric machine tools is that the aspheric surface after turning, grinding or polishing always produces small corrugation errors, and it takes a long time to remove such corrugation errors, so the processing efficiency is low. Processing costs are high. The reasons for this situation include the principle of CNC forming, the geometric factors and physical factors of the processing method, etc. The error caused by the NC forming principle is a theoretical error. At present, the NC forming principles of the existing domestic and foreign machine tools for processing aspheric surfaces are all two-axis linkage position interpolation NC principles. This NC forming principle itself has theoretical errors in the formation of surface corrugations. There are three interpolation methods in the position interpolation numerical control principle, namely, pulse incremental interpolation, digital sampling interpolation, and a mixed interpolation method of digital sampling interpolation and pulse incremental interpolation. The trajectory curves obtained according to the above three interpolation methods are all tiny broken lines close to the aspheric trajectory curve given by the optical design. Such a broken line, the smaller the interpolation interval is, the smaller the approximation error, but theoretically it is always a broken line, and the broken line always forms tiny ripples on the entire surface. On the basis of this theoretical micro-ripple, the geometric and physical factors of the ripple will be superimposed, and more complex micro-ripples of different frequency bands will be obtained. Aiming at the above-mentioned status quo, a new control method of high-order aspheric surface for NC forming is proposed to achieve the purpose of eliminating tiny ripples on the forming surface of aspheric surface. The specific control method proposed is based on the three-axis linkage based on the principle of speed interpolation to realize the digital control method of tangential method forming high-order aspheric surface.
发明内容Contents of the invention
本发明的目的在于为了提高非球面光学零件的加工效率,提出速度插补原理的三轴联动切线法成形数控方法,所指三轴联动是在同一时间段内磨轮轴以转动轴Z轴转动、磨轮轴沿X轴移动和磨轮轴沿Y轴移动的三轴数控联动,所指速度插补是三轴中每一轴的运动均由光学设计给定的轨迹曲线方程中分解出的单轴运动方程进行不同角度的转动和不同距离的移动,所指切线法是磨轮上的磨削点始终沿曲线上的每个点的切线方向移动。The purpose of the present invention is to improve the processing efficiency of aspheric optical parts, and propose a three-axis linkage tangent method forming numerical control method based on the principle of speed interpolation. The three-axis CNC linkage of the grinding wheel shaft moving along the X-axis and the grinding wheel shaft moving along the Y-axis, the speed interpolation refers to the single-axis motion in which the motion of each of the three axes is decomposed from the trajectory curve equation given by the optical design The equation rotates at different angles and moves at different distances. The tangent method refers to the fact that the grinding point on the grinding wheel always moves along the tangent direction of each point on the curve.
速度插补原理的三轴联动是采用具有多轴联动功能的UMAC控制器硬件来实现,每一个轴的速度插补控制是采用UMAC控制器携带的PVT速度插补方法来实现,准确的运动控制时间是采用电子凸轮算法。The three-axis linkage of the speed interpolation principle is realized by using the UMAC controller hardware with multi-axis linkage function. The speed interpolation control of each axis is realized by the PVT speed interpolation method carried by the UMAC controller. Accurate motion control The time is based on the electronic cam algorithm.
具体联动的参数,即加工参数是对给定零件方程式的工件口径进行N等分,通过程序计算出磨轮轴沿x轴和y轴移动Δxmi、Δymi线位移量和磨轮轴绕转动轴Z轴旋转的Δθmi角位移。按加工工艺的要求给定磨轮轴转动角速度ωm、那么由程序计算可得到加工的时间Δti,其中Δti=(Δθmi×60)/(ωm×2π);ti=ti-1+Δti,t0=0。再通过程序计算得到各分割节点速度vmxi、vmyi和加速度amxi,其中vmxi=vmx(i-1)+amxiΔti,如果z轴以ωm匀速旋转,其速度变化规律是一条恒速直线,x轴分段为匀加速运动,速度时间曲线单调上升;y轴为分段匀速运动,速度时间曲线单调下降。通过以上编程计算,最终获得曲线上各节点的位置、速度、加速度、时间以及各变量的单调变化关系。The specific linkage parameters, that is, the processing parameters are to divide the workpiece diameter of the given part equation into N equal parts, and calculate the movement of the grinding wheel axis along the x-axis and y-axis Δx mi , Δy mi linear displacement and the grinding wheel axis around the rotation axis Z through the program. Δθ mi angular displacement of axis rotation. According to the requirements of the processing technology, the rotational angular velocity of the grinding wheel shaft ω m is given, then the processing time Δt i can be obtained by the program calculation, where Δt i = (Δθ mi ×60)/(ω m ×2π); t i =t i- 1 +Δt i , t 0 =0. Then calculate the speed v mxi , v myi and acceleration a mxi of each split node through program calculation, where v mxi = v mx(i-1) + a mxi Δt i , If the z-axis rotates at a constant speed of ωm , its speed change law is a constant speed straight line, the x-axis moves at a uniform acceleration in segments, and the speed-time curve monotonically increases; the y-axis moves at a segmented uniform speed, and the speed-time curve monotonically decreases. Through the above programming calculations, the position, velocity, acceleration, time of each node on the curve and the monotonous change relationship of each variable are finally obtained.
本发明的技术方案的硬件系统是基于UMAC的切线法加工高次非球面三轴联动速度伺服控制方法,其特征在于控制系统选用基于UMAC的PC+NC递阶式结构,采用零传动驱动技术和模拟线性驱动器构成自控变频同步电动机进给伺服系统,以实现三轴联动控制。控制系统软件设计方案由上、下位机两部分组成,上位机软件系统采用Microsoft Visual C++6.0开发环境进行设计,主要完成人机交互功能模块设计、预处理计算、运动程序编制和上下位机通讯,下位机运动控制采用UMAC的PVT速度插补控制方法和电子凸轮算法实现对插补节点间磨轮进给速度进行精确控制,即基于UMAC的PVT速度插补三轴联动伺服控制方法,最终使磨轮满足加工过程中时刻位于要求曲线的切线方向上。The hardware system of the technical solution of the present invention is a UMAC-based tangent method for processing high-order aspheric three-axis linkage speed servo control method, which is characterized in that the control system uses a UMAC-based PC+NC hierarchical structure, adopts zero transmission drive technology and The analog linear drive constitutes a self-controlled variable frequency synchronous motor feed servo system to realize three-axis linkage control. The software design scheme of the control system is composed of upper and lower computers. The software system of the upper computer is designed using the Microsoft Visual C++6.0 development environment. Communication and lower computer motion control adopt UMAC's PVT speed interpolation control method and electronic cam algorithm to realize precise control of the feed speed of the grinding wheel between interpolation nodes, that is, based on UMAC's PVT speed interpolation three-axis linkage servo control method, and finally use The grinding wheel is always located in the tangent direction of the required curve during the processing process.
通过上述上位机的预处理的运动参数,用UMAC的PTV速度插补和电子凸轮算法进行三轴联动控制,PVT控制方式是根据被控轨迹节点位置(P)、速度(V)、相邻节点间的时间片段(T)等参数实现轨迹运动控制的,这些参数是依据在上位机预处理计算结果生成的初始列表文件,从这个列表文件取出一组PVT参数后,按照运动程序自动走出一个位置轨迹曲线,并有相应的速度曲线和加速度曲线对应,此外也可以设定加速时间(TA)和运动时间(T)值相等来得到全程加速度的曲线。在插补节点间的运动控制过中,时刻保持速度的连续变化即与切线方向一致,同时,运动控制过程中采用加减速前瞻控制,最少要输入4个节点进行提前运算,使实际加工中速度曲线在节点处不出现拐点,位置曲线光滑过渡,速度逐渐增加或减少,位置不产生超调。最终通过三轴联动加工出要求面型精度又连续光滑的高精度非球面,此方法实际上是基于UMAC的PVT精插补速度伺服控制方法。Through the motion parameters pre-processed by the above-mentioned host computer, the three-axis linkage control is carried out with the PTV speed interpolation of UMAC and the electronic cam algorithm. The PVT control method is based on the controlled trajectory node position (P), speed (V), adjacent nodes These parameters are based on the initial list file generated by the preprocessing calculation results of the host computer. After taking out a set of PVT parameters from this list file, it will automatically walk out of a position according to the motion program. Trajectory curve, and corresponding speed curve and acceleration curve, in addition, you can also set the acceleration time (TA) and motion time (T) to be equal to get the whole acceleration curve. In the motion control process between interpolation nodes, the continuous change of speed is kept consistent with the tangent direction at all times. At the same time, the acceleration and deceleration forward control is adopted in the motion control process. At least 4 nodes must be input for advance calculation, so that the actual processing speed There is no inflection point at the node of the curve, the position curve transitions smoothly, the speed gradually increases or decreases, and the position does not produce overshoot. Finally, a high-precision aspheric surface that requires surface accuracy and continuous smoothness is processed through three-axis linkage. This method is actually based on UMAC's PVT fine interpolation speed servo control method.
所述的电子凸轮算法,即利用PVT进行运动控制过程中不能直接使用计算的T值,而需采用UMAC运动控制器的电子凸轮算法。在PVT运动控制中使用外部时基来代替计算的T值。摆动轴作为时间基轴当其运动产生n个脉冲,x、y轴跟随基轴运动n个脉冲对应的时间,这种时基控制是使“时间”同基轴转过的距离成比例,而不是通过语言表达成“时间”的函数,从而完成三轴位置协调同步,实现高精度三轴联动。The electronic cam algorithm described above, that is, the calculated T value cannot be directly used in the motion control process using PVT, but the electronic cam algorithm of the UMAC motion controller is required. Use an external time base instead of the calculated T value in PVT motion control. When the oscillating axis is used as the time base axis, when it moves to generate n pulses, the x and y axes follow the base axis to move for the time corresponding to n pulses. This kind of time base control is to make the "time" proportional to the distance that the base axis turns, and It is not expressed as a function of "time" through language, so as to complete the coordination and synchronization of three-axis positions and realize high-precision three-axis linkage.
本发明的有益效果Beneficial effects of the present invention
本发明通过电子凸轮算法,保证了三轴联动的同步,时基控制既没有改变伺服周期的时间,也没有改变控制系统的动态性能,只是把轨迹控制定义成基轴位置的函数,所以运动轨迹没有发生变化。其次采用的PVT速度插补算法,使实际加工中速度曲线在节点处不出现拐点,位置曲线光滑过渡,速度逐渐增加或减少,位置不产生超调,在插补节点间的运动控制过中,时刻保持磨轮进给速度的连续变化且与切线方向一致,能够成形高精度连续光滑的非球面,进而提高非球面加工效率。The invention ensures the synchronization of the three-axis linkage through the electronic cam algorithm. The time base control neither changes the time of the servo cycle nor the dynamic performance of the control system. It only defines the trajectory control as a function of the position of the base axis, so the motion trajectory Nothing has changed. Secondly, the PVT speed interpolation algorithm is adopted, so that the speed curve does not have an inflection point at the node during actual processing, the position curve transitions smoothly, the speed gradually increases or decreases, and the position does not overshoot. During the motion control process between interpolated nodes, Keeping the continuous change of the feed speed of the grinding wheel and consistent with the tangential direction at all times can form a high-precision, continuous and smooth aspheric surface, thereby improving the processing efficiency of the aspheric surface.
附图说明Description of drawings
以下结合附图详细说明本发明的较佳实施例,其中:Preferred embodiments of the present invention are described in detail below in conjunction with accompanying drawings, wherein:
附图1是脉冲增量插补原理形成的曲线轨迹;Accompanying
附图2是数据采样插补原理形成的曲线轨迹;Accompanying
附图3是混合插补原理形成的曲线轨迹;Accompanying
附图4是脉冲增量插补轨迹与磨轮成形轨迹;Accompanying
附图5是数据采样插补轨迹与磨轮成形轨迹;Accompanying drawing 5 is data sampling interpolation trajectory and grinding wheel forming trajectory;
附图6是速度插补原理的三轴联动控制原理的示意;Accompanying drawing 6 is the schematic diagram of the three-axis linkage control principle of the speed interpolation principle;
附图7为θmi、xmi和ymi位移随时间ti变化关系曲线;Accompanying drawing 7 is θmi, xmi and ymi displacement change relation curve with time ti;
附图8是基于UMAC的总控制系统结构框图;Accompanying drawing 8 is a structural block diagram of the total control system based on UMAC;
附图9为三轴联动伺服系统框图。Accompanying drawing 9 is the block diagram of three-axis linkage servo system.
附图1是用平行于坐标轴的单位长度直线段或其合成线段逼近被插补曲线,图中1为被插补曲线、2为插补轨迹,即为脉冲增量插补原理。Accompanying drawing 1 is to approach the interpolated curve with a unit length straight line segment parallel to the coordinate axis or its composite line segment. Among the figures, 1 is the interpolated curve and 2 is the interpolation track, which is the principle of pulse increment interpolation.
附图2是在每一插补周期中,用直线段逼近被插补曲线,图中1为被插补曲线、2为插补轨迹、3为插补点,即为数字采样插补原理。Accompanying drawing 2 is in each interpolation cycle, approximates the interpolated curve with the straight line segment, among the figure 1 is the interpolated curve, 2 is the interpolation trajectory, 3 is the interpolation point, is the digital sampling interpolation principle.
附图3是采用数据采样插补原理及脉冲增量插补原理混合插补过程,图中1为被插补曲线、2为粗插补直线段、3为粗插补点、4为精插补点,即为混合插补原理。Attached drawing 3 is a mixed interpolation process using the principle of data sampling interpolation and pulse incremental interpolation. In the figure 1 is the interpolated curve, 2 is the straight line segment for rough interpolation, 3 is the rough interpolation point, and 4 is the fine interpolation Complementing points is the principle of mixed interpolation.
附图4是脉冲增量插补轨迹与磨轮成形轨迹,图中1为磨轮外圆、2为成形轨迹、3为插补轨迹、4为工件。Accompanying drawing 4 is the pulse increment interpolation trajectory and the grinding wheel forming trajectory, in which 1 is the outer circle of the grinding wheel, 2 is the forming trajectory, 3 is the interpolation trajectory, and 4 is the workpiece.
附图5是数据采样插补原理形成的曲线轨迹,图中1为磨轮外圆、2为成形轨迹、3为插补轨迹、4为工件。Accompanying drawing 5 is the curved trajectory formed by the principle of data sampling interpolation, in which 1 is the outer circle of the grinding wheel, 2 is the forming trajectory, 3 is the interpolation trajectory, and 4 is the workpiece.
附图6是速度插补原理的三轴联动控制原理的示意,在每一个时间段内,磨轮轴以中心转动一定角度的同时,沿X轴移动,沿Y轴移动一定距离,即可形成连续光滑高精度的光学设计给定的非球面示意。Accompanying drawing 6 is a schematic diagram of the three-axis linkage control principle of the speed interpolation principle. In each time period, the grinding wheel shaft moves along the X axis and moves along the Y axis for a certain distance while rotating a certain angle at the center to form a continuous Smooth and high-precision optical design given the aspheric schematic.
具体实施方式Detailed ways
如图1、图2和图3所示当前位置插补数控原理所能得到的接近光学设计给定曲线的折线的原理,由图说明用位置插补数控原理,理论上不能得到连续光滑曲线轨迹。As shown in Figure 1, Figure 2 and Figure 3, the current position interpolation numerical control principle can obtain the principle of the broken line close to the given curve of the optical design. The figure illustrates that the position interpolation numerical control principle cannot obtain a continuous smooth curve trajectory in theory. .
如图4和图5所示在具有理论性波纹误差的脉冲增量插补原理和数字采样插补原理形成的轨迹上,叠加磨轮的几何因素造成的波纹,将产生更为复杂的波纹。As shown in Figure 4 and Figure 5, on the trajectory formed by the pulse increment interpolation principle and digital sampling interpolation principle with theoretical ripple error, the ripple caused by the geometric factors of the grinding wheel will be superimposed to produce more complex ripples.
如图6所示本发明具体实施的方法,在每一个时间段内,磨轮轴以中心转动一定角度同时,沿X轴移动,沿Y轴移动距离,即可形成连续光滑高精度的光学设计给定的非球面。图6为形成凸形非球面的示意,形成凹形非球面成形原理与凸形非球面完全相同,只是磨轮轴转动方向与凸型相反、磨轮的断面为圆弧形而已。As shown in Figure 6, in the method of the present invention, in each time period, the grinding wheel shaft rotates at the center at a certain angle, moves along the X axis, and moves along the Y axis to form a continuous smooth and high-precision optical design. fixed aspheric surface. Figure 6 is a schematic diagram of forming a convex aspheric surface. The forming principle of forming a concave aspheric surface is exactly the same as that of a convex aspheric surface, except that the rotation direction of the grinding wheel shaft is opposite to that of the convex one, and the section of the grinding wheel is arc-shaped.
如图7所示以时间ti为横坐标由MATLAB分析得到xmi变化规律呈近似抛物线特性、ymi变化规律呈近似直线特性(由y轴等分割决定)、θmi变化规律呈近似直线特性。θmi、xmi、ymi的合成轨迹形成了磨轮中心的运动轨迹。具体计算过程是先依据加工参数,对工件口径进行N等分,通过程序计算出磨轮轴沿x轴和y轴移动Δxmi、Δymi线位移和磨轮绕磨轮中心旋转Δθmi角位移,按加工工艺的要求确定磨轮轴转动角速度ωm,那么根据编程计算可得到加工时间Δti,其中Δti=(Δθmi×60)/(ωm×2π);ti=ti-1+Δti,t0=0。再通过编程求的各节点速度vmxi、vmyi,加速度amxi,其中vmxi=vmx(i-1)+amxiΔti,分析得到z轴以ωm匀速旋转,其速度变化规律是一条恒速直线,x轴做分段匀加速运动,速度时间曲线单调上升;y轴做分段匀速运动,速度时间曲线单调下降。通过以上编程计算,最终获得曲线上各节点的位置、速度、加速度、时间以及各变量的单调变化关系。As shown in Figure 7, with the time t i as the abscissa, the change law of x mi is approximately parabolic, the change law of y mi is approximately linear (determined by the equal division of the y axis), and the change law of θ mi is approximately linear. . The synthetic trajectory of θ mi , x mi , y mi forms the motion trajectory of the center of the grinding wheel. The specific calculation process is to first divide the workpiece diameter into N equal parts according to the processing parameters, and calculate the linear displacement of the grinding wheel shaft along the x-axis and y-axis Δx mi , Δy mi linear displacement and the angular displacement of the grinding wheel around the grinding wheel center Δθ mi through the program, according to the processing The requirements of the process determine the rotational angular velocity of the grinding wheel shaft ω m , then the processing time Δt i can be obtained according to the programming calculation, where Δt i = (Δθ mi ×60)/(ω m ×2π); t i =t i-1 +Δt i , t 0 =0. Then the velocity v mxi , v myi and acceleration a mxi of each node are calculated by programming, where v mxi = v mx(i-1) + a mxi Δt i , The analysis shows that the z-axis rotates at a constant speed of ωm , and its speed change law is a constant speed straight line. The x-axis moves at a uniform acceleration in segments, and the velocity-time curve rises monotonously; the y-axis moves at a segmented uniform speed, and the velocity-time curve decreases monotonously. Through the above programming calculations, the position, speed, acceleration, time of each node on the curve and the monotonous change relationship of each variable are finally obtained.
如图8所示速度插补原理三轴联动来实现切线法成形高次非球面数字控制硬件系统,硬件系统是基于UMAC的PC+NC递阶式结构,在上位机软件系统采用Microsoft Visual C++6.0开发环境进行设计,PC(上位机)主要完成人机交互功能模块设计、预处理计算、运动程序编制、上下位机通讯以及动态显示等,并对整个系统的运行进行协调和管理等非实时控制。NC(UMAC控制器)主要完成轨迹规划、轨迹插补、开关量控制(PLC)、驱动控制等实时控制,组成NC系统所需的功能模块(如CPU基础卡、模拟轴接口卡、I/O接口卡)。As shown in Figure 8, the principle of speed interpolation is three-axis linkage to realize the tangential method forming high-order aspheric digital control hardware system. The hardware system is a PC+NC hierarchical structure based on UMAC. The upper computer software system uses Microsoft Visual C+ +6.0 development environment for design, PC (host computer) mainly completes human-computer interaction function module design, preprocessing calculation, motion program compilation, upper and lower computer communication and dynamic display, etc., and coordinates and manages the operation of the entire system, etc. Real-time control. NC (UMAC controller) mainly completes real-time control such as trajectory planning, trajectory interpolation, switching value control (PLC), drive control, etc., and forms the functional modules required by the NC system (such as CPU basic card, analog axis interface card, I/O interface card).
如图9所示通过上位机的预处理过程,其次要利用UMAC的PTV速度插补和电子凸轮算法进行三轴联动控制示意图,PVT控制方式是根据被控轨迹节点位置(P)、速度(V)、相邻节点间时间片段(T)等参数实现轨迹运动控制的,这些参数是依据在上位机预处理计算结果生成的初始列表文件,从这个列表文件取出一组PVT参数后,按照运动程序自动走出一个位置轨迹曲线,并有相应的速度曲线和加速度曲线对应,并且可以设定加速时间(TA)和运动时间(T)值相等来得到全程加速度的曲线(对于x轴)。程序片段举例如下:As shown in Figure 9, through the preprocessing process of the upper computer, the second is to use the PTV speed interpolation of UMAC and the electronic cam algorithm to carry out the schematic diagram of three-axis linkage control. The PVT control method is based on the controlled trajectory node position (P), speed (V ), the time segment (T) between adjacent nodes and other parameters to realize trajectory motion control, these parameters are based on the initial list file generated by the preprocessing calculation results of the host computer, after taking out a set of PVT parameters from this list file, according to the motion program Automatically walk out a position trajectory curve, and there are corresponding speed curves and acceleration curves corresponding, and the acceleration time (TA) and motion time (T) can be set to be equal to obtain the full acceleration curve (for the x-axis). An example of a program fragment is as follows:
INC;增量模式,用距离指定运动INC; Incremental mode, specify movement with distance
PVT200;进入PVT运动模式,运动时间200msPVT200; enter PVT exercise mode, exercise time 200ms
X100:1500;以1500单位/秒终点的速度平移100个单位长X100: 1500; Translate 100 units long at the end speed of 1500 units/second
PVT100;进入PVT运动模式,运动时间100msPVT100; enter PVT exercise mode, exercise time 100ms
X500:3000;以3000单位/秒终点的速度平移500个单位长X500: 3000; Translate 500 units long at the end speed of 3000 units/second
此外,在运动控制过程中采用加减速前瞻控制,最少要输入4个节点进行提前运算,使实际加工中速度曲线在节点处不出现拐点,位置曲线光滑过渡,速度逐渐增加或减少,位置不产生超调。在插补节点间的运动控制过中,时刻保持速度的连续变化且与切线方向一致,同时,本身高精度的UMAC控制器也满足位置的误差要求,最终达到加工出要求面型精度又连续光滑的高次非球面光学零件。In addition, when using acceleration and deceleration look-ahead control in the motion control process, at least 4 nodes must be input for advance calculation, so that the speed curve does not appear at the node inflection point during actual processing, the position curve transitions smoothly, the speed gradually increases or decreases, and the position does not appear. overshoot. In the process of motion control between interpolation nodes, the continuous change of speed is kept at all times and is consistent with the tangential direction. At the same time, the high-precision UMAC controller also meets the position error requirements, and finally achieves the required surface accuracy and continuous smoothness. high-order aspheric optical components.
最后,如图9所示在PVT速度插补算法的基础上引入电子凸轮算法作为三轴联动的时基,电子凸轮的时基控制是一种与独立轴同步协调的复杂方法,设计中将z轴作为时间基轴,通过已知加工条件设定时间基数,按照基轴运动产生的脉冲数完成三轴同步动作,即基轴旋转运动产生n个脉冲,x、y轴跟随基轴运动n个脉冲对应的时间,因为超精密数控系统的脉冲周期是微秒级,所以能够满足PVT编程时运动时间片段的设置。这种时基控制是使“时间”同基轴转过的距离成比例,而不是通过语言表达成“时间”的函数,从而完成三轴位置协调同步。时基控制既没有改变伺服周期的时间,也没有改变控制系统的动态性能,只是把轨迹控制定义成基轴位置的函数,所以运动轨迹没有发生变化。Finally, as shown in Figure 9, the electronic cam algorithm is introduced on the basis of the PVT speed interpolation algorithm as the time base of the three-axis linkage. The time base control of the electronic cam is a complex method of synchronous coordination with independent axes. In the design, z The axis is used as the time base axis, and the time base is set through the known processing conditions, and the three-axis synchronous action is completed according to the number of pulses generated by the base axis movement, that is, the base axis rotates to generate n pulses, and the x and y axes follow the base axis to move n The time corresponding to the pulse, because the pulse period of the ultra-precision CNC system is microsecond level, it can meet the setting of the motion time segment during PVT programming. This kind of time base control is to make the "time" proportional to the distance passed by the base axis, rather than expressing it as a function of "time" through language, so as to complete the coordination and synchronization of the three axis positions. Time-base control neither changes the time of the servo cycle nor the dynamic performance of the control system, but defines the trajectory control as a function of the position of the base axis, so the motion trajectory does not change.
通过上述方法的综合运用最终加工出达到要求面型精度又连续光滑的高次非球面光学零件。这一过程采用的方法即为基于UMAC的PVT速度插补原理的三轴联动切线法控制方法。Through the comprehensive application of the above methods, the high-order aspheric optical parts that meet the required surface accuracy and are continuous and smooth are finally processed. The method used in this process is the three-axis linkage tangent method control method based on the PVT speed interpolation principle of UMAC.
以上所述为本发明的较佳实施例,并非用来限定本发明的实施范围,凡依本发明的权利要求范围所作的等效变化与修饰,均属于本发明的保护范围内。The above descriptions are preferred embodiments of the present invention, and are not intended to limit the implementation scope of the present invention. All equivalent changes and modifications made according to the scope of the claims of the present invention fall within the protection scope of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010229466 CN102049717A (en) | 2010-07-19 | 2010-07-19 | Controlling computerized numerical control (CNC) high-quality aspheric surface forming control method and hardware system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010229466 CN102049717A (en) | 2010-07-19 | 2010-07-19 | Controlling computerized numerical control (CNC) high-quality aspheric surface forming control method and hardware system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102049717A true CN102049717A (en) | 2011-05-11 |
Family
ID=43954689
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010229466 Pending CN102049717A (en) | 2010-07-19 | 2010-07-19 | Controlling computerized numerical control (CNC) high-quality aspheric surface forming control method and hardware system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102049717A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103419132A (en) * | 2013-07-31 | 2013-12-04 | 上海铼钠克数控科技有限公司 | Cam grinding control unit, numerical control device and cam grinding control method |
CN104159708A (en) * | 2012-03-07 | 2014-11-19 | 依视路国际集团(光学总公司) | Method for polishing an optical surface by means of a polishing tool |
CN104570952A (en) * | 2015-01-19 | 2015-04-29 | 深圳市微秒控制技术有限公司 | Multi-axis interpolation control method and device |
CN104551341A (en) * | 2014-11-25 | 2015-04-29 | 苏州谷夫道自动化科技有限公司 | Numerical control ring welding machine and interpolation control method thereof |
CN104827481A (en) * | 2015-04-29 | 2015-08-12 | 东莞市智捷自动化设备有限公司 | A Control Method of SCARA Manipulator Based on Motion Controller |
CN106914796A (en) * | 2017-04-14 | 2017-07-04 | 中国科学院长春光学精密机械与物理研究所 | Main shaft compound motion control method and main shaft control system of composite motion |
CN106944308A (en) * | 2017-04-28 | 2017-07-14 | 东莞职业技术学院 | The method and rubber-coated mechanism of a kind of dual trace gluing path drives based on interpolation principle |
CN112122666A (en) * | 2020-08-27 | 2020-12-25 | 北京北一机床股份有限公司 | Slide carriage guide rail curve processing method |
CN113156890A (en) * | 2020-01-22 | 2021-07-23 | 科德数控股份有限公司 | Multiplying power control method of non-real-time interpolation numerical control system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4412370A1 (en) * | 1994-04-12 | 1995-10-19 | Schneider Gmbh & Co Kg | Method and device for producing aspherical lens surfaces |
CN1174110A (en) * | 1997-08-14 | 1998-02-25 | 长春光学精密机械学院 | Spherical part track forming processing method and device |
WO2002040218A1 (en) * | 2000-11-17 | 2002-05-23 | Chenghao Piao | Method and apparatus for trace performing parts with aspherical surfaces |
CN101376229A (en) * | 2007-08-30 | 2009-03-04 | 长春理工大学 | Processing method and device for forming aspheric surface part by numerical control tangent line turning method |
-
2010
- 2010-07-19 CN CN 201010229466 patent/CN102049717A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4412370A1 (en) * | 1994-04-12 | 1995-10-19 | Schneider Gmbh & Co Kg | Method and device for producing aspherical lens surfaces |
CN1174110A (en) * | 1997-08-14 | 1998-02-25 | 长春光学精密机械学院 | Spherical part track forming processing method and device |
WO2002040218A1 (en) * | 2000-11-17 | 2002-05-23 | Chenghao Piao | Method and apparatus for trace performing parts with aspherical surfaces |
CN1354070A (en) * | 2000-11-17 | 2002-06-19 | 长春光学精密机械学院 | Aspherical trace forming processing method and its equipment |
CN101376229A (en) * | 2007-08-30 | 2009-03-04 | 长春理工大学 | Processing method and device for forming aspheric surface part by numerical control tangent line turning method |
Non-Patent Citations (2)
Title |
---|
《切线回转法加工大型高次非球面光学零件新原理的研究》 20100215 顾莉栋 切线回转法加工大型高次非球面光学零件新原理的研究 , 2 * |
《机械科学与技术》 20090915 刘青山等 基于运动控制卡的PC数控进给速度前瞻控制 , 第09期 2 * |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104159708A (en) * | 2012-03-07 | 2014-11-19 | 依视路国际集团(光学总公司) | Method for polishing an optical surface by means of a polishing tool |
CN103419132B (en) * | 2013-07-31 | 2016-02-24 | 上海铼钠克数控科技有限公司 | Cam ground control unit, numerical control device and cam ground control method |
CN103419132A (en) * | 2013-07-31 | 2013-12-04 | 上海铼钠克数控科技有限公司 | Cam grinding control unit, numerical control device and cam grinding control method |
CN104551341A (en) * | 2014-11-25 | 2015-04-29 | 苏州谷夫道自动化科技有限公司 | Numerical control ring welding machine and interpolation control method thereof |
CN104551341B (en) * | 2014-11-25 | 2019-10-29 | 苏州谷夫道自动化科技有限公司 | Numerical control ring welder and its interpolation control method |
CN104570952B (en) * | 2015-01-19 | 2017-11-07 | 深圳市微秒控制技术有限公司 | Multi-axis interpolation control method and device |
CN104570952A (en) * | 2015-01-19 | 2015-04-29 | 深圳市微秒控制技术有限公司 | Multi-axis interpolation control method and device |
CN104827481A (en) * | 2015-04-29 | 2015-08-12 | 东莞市智捷自动化设备有限公司 | A Control Method of SCARA Manipulator Based on Motion Controller |
CN106914796A (en) * | 2017-04-14 | 2017-07-04 | 中国科学院长春光学精密机械与物理研究所 | Main shaft compound motion control method and main shaft control system of composite motion |
CN106914796B (en) * | 2017-04-14 | 2019-01-08 | 中国科学院长春光学精密机械与物理研究所 | Main shaft compound motion control method and main shaft control system of composite motion |
CN106944308A (en) * | 2017-04-28 | 2017-07-14 | 东莞职业技术学院 | The method and rubber-coated mechanism of a kind of dual trace gluing path drives based on interpolation principle |
CN113156890A (en) * | 2020-01-22 | 2021-07-23 | 科德数控股份有限公司 | Multiplying power control method of non-real-time interpolation numerical control system |
CN113156890B (en) * | 2020-01-22 | 2023-07-18 | 科德数控股份有限公司 | Multiplying power control method of non-real-time interpolation numerical control system |
CN112122666A (en) * | 2020-08-27 | 2020-12-25 | 北京北一机床股份有限公司 | Slide carriage guide rail curve processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102049717A (en) | Controlling computerized numerical control (CNC) high-quality aspheric surface forming control method and hardware system | |
CN111015671B (en) | Planning method for planar spiral line polishing track of robot | |
CN103699056B (en) | The little line segment real-time smooth transition interpolation method of high-speed, high precision digital control processing | |
CN103592891B (en) | Method for fairing vowed by the complex-curved five-shaft numerical control processing cutter of kinematical constraint | |
CN103176428B (en) | CNC (computerized numerical control) system interpolating algorithm based on spherical coordinates and device for realizing same | |
CN111580453B (en) | PLC-based implementation method for improving precision of two-dimensional circular interpolation track | |
CN101983838B (en) | Milling, grinding and polishing device based on intelligent numerically-controlled platform | |
CN103676787B (en) | A kind of center of circle model space circular interpolation method for kinetic control system | |
CN106647623B (en) | The smooth interpolating method of five-axle linkage that a kind of geometric accuracy and linking speed optimize | |
CN102147600A (en) | Numerical control interpolation system for real-time generation of curvature-continuous path | |
CN103934528A (en) | Six-axis linkage interpolation method for electrical discharge machining | |
CN102722140A (en) | Multi-period corner small straight-line segment interpolation method based on S curve acceleration/deceleration control | |
CN111913441B (en) | Corner smooth transition method based on track mode | |
CN102269984A (en) | Post-processing method for five-axis linked numerical control processing | |
CN101825884A (en) | Method for realizing five-axis five-linkage track control with five-axis four-linkage numerical control system | |
Zhan et al. | Study on error compensation of machining force in aspheric surfaces polishing by profile-adaptive hybrid movement–force control | |
CN114433960B (en) | Method for predicting modification tooth surface deviation of continuous generating grinding teeth | |
CN103869757A (en) | Dynamics control method of five-axis numerical control machining cutter-axis vectors of complex curved surfaces | |
CN102198632B (en) | Speed Control Method of Cam Tangent Tracking Grinding | |
CN102033981B (en) | Design method of initial off-position angle of hot-rolling H-shaped steel flying shear | |
CN101412129B (en) | Computing formula for processing rocker shaft eccentric toothed sector of numerical control gear shaping machine and processing method | |
Tajima et al. | Kinematic tool-path smoothing for 6-axis industrial machining robots | |
Wang et al. | A speed optimization algorithm based on the contour error model of lag synchronization for CNC cam grinding | |
CN109333165B (en) | A kind of grinding method of the non-circular bend glass ornaments based on point cloud data description | |
Wu et al. | Fast NURBS interpolation based on the biarc guide curve |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110511 |