TW201344383A - A trajectory optimization method for machine tools - Google Patents

A trajectory optimization method for machine tools Download PDF

Info

Publication number
TW201344383A
TW201344383A TW101115129A TW101115129A TW201344383A TW 201344383 A TW201344383 A TW 201344383A TW 101115129 A TW101115129 A TW 101115129A TW 101115129 A TW101115129 A TW 101115129A TW 201344383 A TW201344383 A TW 201344383A
Authority
TW
Taiwan
Prior art keywords
tension
processing path
interpolation
machine tool
trajectory
Prior art date
Application number
TW101115129A
Other languages
Chinese (zh)
Inventor
Han-Pang Huang
Po-Ting Lee
Wei-Jen Wang
Original Assignee
Syntec
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Syntec filed Critical Syntec
Priority to TW101115129A priority Critical patent/TW201344383A/en
Publication of TW201344383A publication Critical patent/TW201344383A/en

Links

Landscapes

  • Numerical Control (AREA)

Abstract

A trajectory optimization method based on tension splines is designed for machine tools. Trajectories interpolated/generated with this method can pass all control points smoothly. By changing the tension values of each tension spline, the smoothness of each tension spline can be assigned freely. Online trajectory interpolation/generation can also be achieved by combining each new trajectory to the current one if we set the start boundary condition of the new one to be the same as the end boundary condition of the current one.

Description

使用於工具機之加工路徑最佳化方法Process path optimization method for machine tools

本發明是有關於一種使用於工具機之加工路徑最佳化方法,特別是有關於一種使用於工具機之加工路徑軌跡生成與內插的方法,此方法可用於機械設備的數值控制裝置,例如:CNC車床的數值控制裝置、CNC銑床的數值控制裝置、攻牙機的數值控制裝置或是鑽孔機的數值控制裝置等。The invention relates to a method for optimizing a machining path for a machine tool, in particular to a method for generating and interpolating a machining path of a machine tool, which can be used for a numerical control device of a mechanical device, for example : Numerical control device for CNC lathe, numerical control device for CNC milling machine, numerical control device for tapping machine, or numerical control device for drilling machine.

隨著電腦數值控制(Computer Numerical Control,CNC)工具機設備的進步,傳統以線段插補的加工路徑規劃方式已不能滿足高速度、高精度的要求,需使用更先進的插補方式來描述複雜的曲面或曲線,最廣泛被使用的插補方式多為B-Spline、三次雲形線(Cubic Spline)、多項式曲線或是直接線性插補,這些方法都存在著缺點。With the advancement of computer numerical control (CNC) machine tool equipment, the traditional processing method of line segment interpolation can not meet the requirements of high speed and high precision, and more advanced interpolation methods are needed to describe the complexity. Surfaces or curves, the most widely used interpolation methods are B-Spline, Cubic Spline, polynomial curve or direct linear interpolation. These methods have shortcomings.

然而,利用B-Spline作為插補曲線的插補器最常見的就是NURBS(Non-uniform rational B-Spline),NURBS在應用上最大的麻煩點就是所生成的軌跡並不一定會通過控制點,也就是要經過指定的軌跡,就必須要反求出相對應的控制點讓工具機去追蹤。However, the most common interpolator using B-Spline as the interpolation curve is NURBS (Non-uniform rational B-Spline). The biggest trouble of NURBS in application is that the generated trajectory does not necessarily pass the control point. That is to go through the specified trajectory, you must reverse the corresponding control points to let the machine tool track.

另外,Cubic Spline以及多項式的曲線之形狀較難自由調控,Cubic Spline雖然圓滑,但較難生成比較硬直的曲線,多項式曲線則非常容易發生震幅過大與抖動的問題。In addition, the shape of Cubic Spline and the polynomial curve is difficult to control freely. Although Cubic Spline is smooth, it is difficult to generate a hard and straight curve. The polynomial curve is very prone to excessive amplitude and jitter.

而直接線性插補方式所生出的軌跡在速度(一次微分)的部分就已經不連續,對工具機容易造成傷害與震動的問題,故鮮少被使用。However, the trajectory generated by the direct linear interpolation method is discontinuous in the speed (one-time differential), and it is easy to cause damage and vibration to the machine tool, so it is rarely used.

因此,本發明提出利用Tension Spline作為插補曲線之演算法可以做到通過所有控制點、軌跡平順以及軌跡形狀方便調控之優點,相較於前述之插補方式更有優勢,並且具有不同之特長。Therefore, the present invention proposes that the use of Tension Spline as an interpolation curve algorithm can achieve the advantages of convenient control through all control points, smooth track and track shape, and is more advantageous than the aforementioned interpolation method, and has different characteristics. .

為了解決上述問題,本發明之一主要目的在於提供一種使用於工具機之加工路徑最佳化方法,藉由Tension Spline之軌跡插補演算法中的張力值,調整加工路徑上控制點間曲線的圓滑程度,藉此方法可解決一般插補曲線常發生的問題,例如:生成之加工路徑軌跡不一定會經過所有控制點或生成之軌跡容易發生震幅過大與抖動的問題。In order to solve the above problems, one of the main objects of the present invention is to provide a processing path optimization method for a machine tool, which adjusts the curve between the control points on the processing path by the tension value in the trajectory interpolation algorithm of Tension Spline. The degree of sleekness can be used to solve the problem that the general interpolation curve often occurs. For example, the generated machining path trajectory does not necessarily pass through all the control points or the generated trajectory is prone to excessive amplitude and jitter.

根據上述目的,本發明提供一種使用於工具機之加工路徑最佳化方法,包括以下步驟:提供一加工程式,並解譯加工程式;提供一路徑規劃單元,其接收經解譯之加工程式,並依據一數值控制參數規劃出一加工路徑;提供一張力雲形線之軌跡插補演算法之插補器將加工路徑做一平滑化處理;提供一動程規劃單元,係依據數值控制參數及張力雲形線之軌跡插補演算法之插補器,賦予平滑化處理之加工路徑的運動特性;提供一插值單元,係依據數值控制參數及張力雲形線之軌跡插補演算法之插補器,對已完成動程規劃之具有運動特性之加工路徑之資料,進行插補運算並產生一插值命令;提供一驅動器,將插值命令發送至驅動器;利用驅動器發出一控制信號以驅動並控制一軸向馬達;及提供一位置感測元件,其將軸向馬達之位置資訊回授至驅動器。In accordance with the above objects, the present invention provides a method for optimizing a processing path for a machine tool, comprising the steps of: providing a processing program and interpreting a processing program; providing a path planning unit that receives the interpreted processing program, And according to a numerical control parameter, a processing path is planned; an interpolator of the trajectory interpolation algorithm of the force cloud line is provided to smooth the processing path; and a motion planning unit is provided, which is based on the numerical control parameter and the tension cloud shape. The interpolator of the line trajectory interpolation algorithm gives the motion characteristics of the smoothing processing path; provides an interpolation unit, which is an interpolator of the interpolation algorithm based on the numerical control parameters and the tension cloud line. Completing the information of the machining path with motion characteristics of the motion planning, performing interpolation operation and generating an interpolation command; providing a driver to send the interpolation command to the driver; and using the driver to send a control signal to drive and control an axial motor; And providing a position sensing component that returns information on the position of the axial motor to the driver.

經由本發明所提供之使用於工具機之加工路徑最佳化方法,藉由張力雲形線(Tension Spline)之軌跡插補演算法調整張力值後,可以達到通過所有控制點、軌跡平順以及軌跡形狀方便調控之優點。Through the optimization of the processing path for the machine tool provided by the present invention, the tension value of the tension cloud line (Tension Spline) can be adjusted to achieve the passing of all control points, track smoothing and track shape. Easy to control the advantages.

由於本發明主要係揭露一種使用於工具機之加工路徑最佳化方法,其中,所提到機械設備之數值控制裝置的構造與功能以及插補曲線B-Spline、Cubic Spline與多項式曲線的原理,已為相關技術領域具有通常知識者所能明瞭,故以下文中之說明,僅針對與本發明使用於工具機之加工路徑最佳化方法其特徵處進行詳細說明。此外,於下述內文中之圖式,亦並未依據實際之相關尺寸完整繪製,其作用僅在表達與本發明特徵有關之示意圖。The present invention mainly discloses a processing path optimization method for a machine tool, wherein the construction and function of the numerical control device of the mechanical device mentioned and the principle of the interpolation curve B-Spline, Cubic Spline and polynomial curve, It will be apparent to those skilled in the relevant art, and the description below will be described in detail only with respect to the features of the processing path optimization method used in the machine tool of the present invention. In addition, the drawings in the following texts are not completely drawn in accordance with actual relevant dimensions, and their function is only to show a schematic diagram relating to the features of the present invention.

首先,請參閱圖1,係為本發明使用於工具機之加工路徑最佳化方法流程圖。如圖1所示,使用於工具機之加工路徑最佳化方法如下:First, please refer to FIG. 1 , which is a flow chart of a method for optimizing a processing path used in a machine tool according to the present invention. As shown in Figure 1, the machining path optimization method used in the machine tool is as follows:

步驟100:提供一加工程式,並解譯該加工程式,接著進入步驟101。Step 100: Provide a processing program and interpret the processing program, and then proceed to step 101.

步驟101:提供一路徑規劃單元,其接收經過解譯之該加工程式並依據一數值控制參數規劃出一加工路徑;詳言之,工具機於接收加工程式後,會將使用者所編譯完成的加工程式解譯成複數個加工指令,並透過所提供的路徑規劃單元規劃出包含複數個控制點之一加工路徑,接著進入步驟102。Step 101: Providing a path planning unit, which receives the processed program and processes a processing path according to a numerical control parameter; in detail, after the machine tool receives the processing program, the user machine compiles the completed program. The processing program is interpreted into a plurality of processing instructions, and a processing path including one of the plurality of control points is planned through the provided path planning unit, and then proceeds to step 102.

步驟102:提供一張力雲形線(Tension Spline)之軌跡插補演算法之插補器(Interpolator),將該加工路徑做一平滑化處理;此步驟主要藉由張力雲形線之軌跡插補演算法之插補器,並設定加工路徑上控制點間位置、速度與加速度之邊界條件,以平滑加工路徑上控制點間的插補曲線,其張力雲形線之軌跡插補演算法的演算方程式如下式(1)所示:Step 102: Providing an interpolator of the trajectory interpolation algorithm of the Tension Spline, and smoothing the processing path; the step is mainly performed by the trajectory interpolation algorithm of the tension cloud line The interpolator, and set the boundary conditions of the position, velocity and acceleration between the control points on the machining path to smooth the interpolation curve between the control points on the machining path, and the calculus equation of the trajectory interpolation algorithm of the tension cloud line is as follows (1) shown:

其中,q j,i (t)代表的是第j軸在i段的插補軌跡,σ j,i 代表第j軸第i段曲線之張力值,可藉以調整加工路徑上控制點間曲線的圓滑程度(顯示於圖2),當張力值σ j,i 越大時可得到愈硬直之插補曲線,反之,當張力值σ j,i 越小時可得到越滑順之插補曲線,而h i 代表第i段時間段長短,即h i =t i + 1 -t i ,其中t i 代表到達第i個控制點之時間點,可藉以調整加工路徑上從一控制點至另一控制點所需經過的時間;而式(2)~式(4)分別代表張力雲形線之軌跡插補演算法其位置、速度與加速度之邊界條件方程式:Where q j,i (t) represents the interpolation trajectory of the j-th axis in the i-segment, and σ j,i represents the tension value of the i-th segment of the j-th axis, thereby adjusting the curve between the control points on the processing path smooth degree (shown in FIG. 2), the obtained interpolation curve is more stiff when the tension value σ j, i larger, conversely, when the tension value σ j, i is smaller the more smooth the interpolation curve can be obtained, and h i represents the length of the i-th period, ie h i = t i + 1 - t i , where t i represents the time point at which the i- th control point is reached, thereby adjusting the control path from one control point to another The time required for the point; and equations (2) to (4) represent the boundary condition equations for the position, velocity and acceleration of the trajectory interpolation algorithm of the tension cloud line:

步驟103:提供一動程規劃單元,係依據一數值控制參數及張力雲形線之軌跡插補演算法之插補器,賦予平滑化處理之該加工路徑的運動特性;詳言之,所提供之動程規劃單元依據一數值控制參數賦予加工路徑運動特性,包含其速度與加速度。Step 103: Providing a motion planning unit, which is based on a numerical control parameter and an interpolator of the trajectory interpolation algorithm of the tension cloud line, and imparts motion characteristics of the processing path of the smoothing process; in detail, the provided motion The process planning unit assigns the motion characteristics of the machining path according to a numerical control parameter, including its velocity and acceleration.

步驟104:提供一插值單元,係依據一數值控制參數及張力雲形線之軌跡插補演算法之插補器,對已完成動程規劃之具有運動特性之加工路徑之資料,進行插補運算並產生一插值命令;詳言之,所提供之插值單元會將完成動程規劃並具有運動特性的加工路徑資料進行上述張力雲形線之軌跡插補運算,接著進入步驟105。Step 104: Providing an interpolation unit according to a numerical control parameter and an interpolator of the trajectory interpolation algorithm of the tension cloud line, and performing interpolation operation on the data of the processing path having the motion characteristic of the completed motion planning An interpolation command is generated; in detail, the interpolation unit provided performs the path interpolation operation of the tension cloud line on the machining path data that completes the motion planning and has the motion characteristic, and then proceeds to step 105.

步驟105:提供一驅動器,將插值命令發送至驅動器;詳言之,經過插補運算後所得到之一插值命令會傳送至驅動器,接著進入步驟106。Step 105: Provide a driver to send an interpolation command to the driver; in detail, one of the interpolation commands obtained after the interpolation operation is transmitted to the driver, and then proceeds to step 106.

步驟106:利用一驅動器發出一控制信號以驅動並控制工具機之軸向馬達;詳言之,驅動器於接收到插值命令後會發送出一控制信號驅動軸向馬達動作,最後進入步驟107。Step 106: Using a driver to send a control signal to drive and control the axial motor of the machine tool; in detail, the driver sends a control signal to drive the axial motor action after receiving the interpolation command, and finally proceeds to step 107.

步驟107:提供一位置感測元件,其將工具機之軸向馬達之位置資訊回授至驅動器。Step 107: Provide a position sensing component that returns information on the position of the axial motor of the machine tool to the driver.

接著,請參閱圖2,係為本發明之不同張力值之下的張力雲形線曲率表現圖。如圖2所示,以張力值=100、4、1與0.01來比較其張力雲形線的曲率表現,當張力值越大時,例如:張力值=100,會生成越硬直的曲線;而當張力值越小時,例如:張力值=0.01,會得到較為平滑的曲線,因此藉由調整其張力值,可以調整加工路徑上控制點間曲線的圓滑程度,進而達成不同加工需求。Next, please refer to FIG. 2 , which is a graph showing the curvature of the tension cloud line under different tension values of the present invention. As shown in FIG. 2, the curvature expression of the tension cloud line is compared with the tension values=100, 4, 1, and 0.01. When the tension value is larger, for example, the tension value=100, a harder straight curve is generated; The smaller the tension value is, for example, the tension value = 0.01, a smoother curve is obtained. Therefore, by adjusting the tension value, the smoothness of the curve between the control points on the machining path can be adjusted, thereby achieving different processing requirements.

以一實施例來說明使用於工具機之加工路徑最佳化方法,請參閱圖3,係為一種CNC機械裝置之數值控制器方塊示意圖。如圖3所示,首先,藉由一加工程式32,並將其加工程式32進行解譯,輸入至數位控制模組30中,產生一控制信號驅動一軸向馬達44動作,其中數位控制模組30係由路徑規劃單元34、動程規劃單元36、插值單元38以及數值控制參數40所組成;其中路徑規劃單元34,係接收經過解譯之加工程式32並依據數值控制參數40,規劃出包含複數個控制點之一加工路徑,再經由張力雲形線之軌跡插補演算法之插補器將其加工路徑做平滑化處理,以平滑加工路徑控制點間的插補曲線;接著,動程規劃單元36會依據數值控制參數40以及張力雲形線之軌跡插補演算法之插補器賦予平滑化處理之加工路徑的運動特性,例如:速度與加速度;之後,插值單元38會依據數值控制參數40以及張力雲形線之軌跡插補演算法之插補器,將已完成動程規劃之具有運動特性之加工路徑之資料進行插值運算並產生一插值命令,再將插值命令發送至一驅動器42;然後,驅動器42於收到插值命令後,會發出一控制信號以驅動並控制工具機之一軸向馬達44動作;此外,位於各軸向的位置感測元件46,例如:馬達編碼器或光學尺,會迴授軸向馬達44之位置資訊回授至驅動器42作閉迴路的控制。因此本發明將張力雲形線之軌跡插補演算法之插補器,應用在路徑規劃單元34、動程規劃單元36以及插值單元38上,用以平滑加工路徑,使其獲得滑順之插補曲線。An embodiment of a machining path optimization method for a machine tool is described. Referring to FIG. 3, it is a block diagram of a numerical controller of a CNC mechanical device. As shown in FIG. 3, first, a processing program 32 is used to interpret the processing program 32, and is input to the digital control module 30 to generate a control signal for driving an axial motor 44, wherein the digital control mode The group 30 is composed of a path planning unit 34, a motion planning unit 36, an interpolation unit 38, and a numerical control parameter 40. The path planning unit 34 receives the interpreted processing program 32 and plans according to the numerical control parameter 40. A processing path including one of a plurality of control points, and then an interpolator of the trajectory interpolation algorithm of the tension cloud line smoothing the processing path to smooth the interpolation curve between the processing path control points; The planning unit 36 assigns motion characteristics of the processing path of the smoothing process according to the numerical control parameter 40 and the interpolating algorithm of the trajectory interpolation algorithm of the tension cloud line, for example, speed and acceleration; after that, the interpolation unit 38 controls the parameters according to the numerical value. 40. Interpolator of the trajectory interpolation algorithm of the tension cloud line, inserting the data of the processing path with motion characteristics of the completed motion planning Computing and generating an interpolation command, and then transmitting the interpolation command to a driver 42; then, after receiving the interpolation command, the driver 42 sends a control signal to drive and control one of the machine tool axial motor 44; Each axial position sensing element 46, such as a motor encoder or optical scale, will feedback the positional information of the axial motor 44 back to the driver 42 for closed loop control. Therefore, the present invention applies an interpolator of the trajectory interpolation algorithm of the tension cloud line to the path planning unit 34, the motion planning unit 36, and the interpolation unit 38 for smoothing the processing path to obtain smoothing interpolation. curve.

接著,請參考圖4,係代表本發明之加工程式示意圖。如圖4所示,G01代表直線切削指令,Z引數代表所設定單節之終點座標,F2000代表設定切削進給率;而G5.1 Q1 E0.02即表示開啟張力雲形線之軌跡插補演算法,其中E為使用者可以自行調整的參數,即誤差容許值,雖然本發明以容許誤差0.02mm為例,但不限於使用0.02mm,接下來G01 X0. Y10.與X30. Y20.等單節會開始進行平滑規劃與插補,直到遇到G5.1 Q0將結束以張力雲形線之軌跡插補演算法之軌跡插補。因此,利用CNC機械裝置之數值控制器上所設定的數值控制參數40以及使用者所下的誤差容許值E值,可藉以調整式(1)中的張力值σ,以達到平滑加工路徑的效果。Next, please refer to FIG. 4, which is a schematic diagram of a processing program of the present invention. As shown in Fig. 4, G01 represents the linear cutting command, Z derivative represents the end point coordinate of the set block, F2000 represents the cutting feed rate, and G5.1 Q1 E0.02 represents the path interpolation of the open tension cloud line. Algorithm, where E is a parameter that the user can adjust by itself, that is, an error tolerance value. Although the present invention takes the tolerance of 0.02 mm as an example, it is not limited to use 0.02 mm, and then G01 X0. Y10. and X30. Y20. The smoothing planning and interpolation will start in a single section until the G5.1 Q0 will end the trajectory interpolation of the interpolation algorithm of the tension cloud line. Therefore, by using the numerical control parameter 40 set on the numerical controller of the CNC mechanical device and the error tolerance value E of the user, the tension value σ in the equation (1) can be adjusted to achieve a smooth machining path effect. .

請繼續參考圖5,係不同張力值對於加工路徑的影響示意圖,本發明可用在任何物件的加工路徑上,依所給定的誤差容許值E值可調整張力值進而調整曲線的圓滑程度,當張力值(σ)越大時可得到愈硬直之插補曲線,本實施例以張力值(σ)=100為例但是不限於使用張力值(σ)=100;反之,當張力值(σ)越小時可得到越平滑之插補曲線,本實施例以張力值(σ)=0.1為例但是不限於使用張力值(σ)=0.1。Please continue to refer to FIG. 5 , which is a schematic diagram of the influence of different tension values on the processing path. The invention can be used on the processing path of any object, and the tension value can be adjusted according to the given error tolerance value E to adjust the smoothness of the curve. The larger the tension value (σ), the harder the straight interpolation curve can be obtained. In this embodiment, the tension value (σ)=100 is taken as an example but is not limited to the use of the tension value (σ)=100; otherwise, when the tension value (σ) The smoother the interpolation curve is obtained, the smaller the hour, the tension value (σ) = 0.1 is taken as an example, but the tension value (σ) = 0.1 is not limited.

再接著,請參閱圖6,係代表利用不同插補方法經過相同控制點所生成的曲線示意圖。如圖6所示,其插補方法包含:三次雲形線(Cubic Spline)、直線、固定張力值之張力雲形線(Tension Spline)以及變化張力值之張力雲形線(Tension Spline),其中,線性插補之方法所生之插補曲線不夠平滑,在實際應用中極少被使用;另外,三次雲形線(Cubic Spline)乃由多段三次多項式組成,基本性質上為多項式,曲線之形狀較難自由調控;而變化張力值之張力雲形線(Tension Spline)擁有較多變的特性,在張力小之時可生出跟三次雲形線(Cubic Spline)相似的曲線,在中等張力之時可以得到震動較小相對較平滑之曲線,在大張力之下,會得到較硬直的曲線,因此本發明提出的方法能適用於不同加工需求。Next, please refer to FIG. 6, which is a schematic diagram of a curve generated by using the same interpolation points by different interpolation methods. As shown in Fig. 6, the interpolation method includes: a cubic cloud line (Cubic Spline), a straight line, a Tension Spline with a fixed tension value, and a Tension Spline with a varying tension value, wherein the linear interpolation is performed. The interpolation curve produced by the complementary method is not smooth enough, and is rarely used in practical applications. In addition, the cubic cloud line (Cubic Spline) is composed of multi-segment cubic polynomials, which are polynomial in basic properties, and the shape of the curve is difficult to control freely; Tension Spline, which changes the tension value, has many characteristics. When the tension is small, it can produce a curve similar to Cubic Spline. When the tension is moderate, the vibration can be obtained. The smooth curve, under large tension, will result in a harder straight curve, so the method proposed by the present invention can be applied to different processing needs.

最後,請參閱圖7,係代表張力雲形線(Tension Spline)與多項式曲線比較圖,雖然兩種方法都能完全通過所有控制點,但張力雲形線(Tension Spline)能夠比多項式曲線更能平滑地通過所需經過的控制點且震盪情況較少,而且所有要通過的控制點都在轉折的頂點處,曲線不會輕易地超出控制點,這代表著張力雲形線(Tension Spline)擁有比較好的可控制性,只要適當地選定控制點,如此所生成的曲線就不會超出所選定的控制點。Finally, see Figure 7, which is a comparison of the Tension Spline and the polynomial curve. Although both methods can pass all the control points completely, the Tension Spline can be smoother than the polynomial curve. Through the control points that need to pass and the oscillation is less, and all the control points to pass are at the apex of the transition, the curve will not easily exceed the control point, which means that the Tension Spline has better Controllability, as long as the control points are properly selected, the resulting curve will not exceed the selected control point.

雖然本發明以前述之較佳實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。While the present invention has been described above in terms of the preferred embodiments thereof, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The patent protection scope of the invention is subject to the definition of the scope of the patent application attached to the specification.

100、101、102、103、104、105、106、107...步驟100, 101, 102, 103, 104, 105, 106, 107. . . step

30...數位控制模組30. . . Digital control module

32...加工程式32. . . Processing program

34...路徑規劃單元34. . . Path planning unit

36...動程規劃單元36. . . Motion planning unit

38...插值單元38. . . Interpolation unit

40...數值控制參數40. . . Numerical control parameter

42...驅動器42. . . driver

44...軸向馬達44. . . Axial motor

46...位置感測元件46. . . Position sensing element

圖1係為本發明之使用於工具機之加工路徑最佳化方法流程圖。1 is a flow chart of a method for optimizing a processing path for a machine tool according to the present invention.

圖2係為本發明之不同張力值之下的張力雲形線曲率表現圖。Figure 2 is a graph showing the curvature of a tension cloud line below the different tension values of the present invention.

圖3係為本發明之CNC機械裝置之數值控制器方塊示意圖;3 is a block diagram showing the numerical controller of the CNC mechanical device of the present invention;

圖4係為本發明之加工程式示意圖;Figure 4 is a schematic view of a processing program of the present invention;

圖5係為本發明之不同張力值對於加工路徑的影響示意圖;Figure 5 is a schematic view showing the influence of different tension values on the processing path of the present invention;

圖6係為本發明之利用不同插補方法經過相同控制點所生成的曲線示意圖;6 is a schematic diagram of a curve generated by the same control point by using different interpolation methods according to the present invention;

圖7係為本發明之張力雲形線與多項式曲線比較圖。Figure 7 is a comparison of the tension cloud line and the polynomial curve of the present invention.

100、101、102、103、104、105、106、107...步驟100, 101, 102, 103, 104, 105, 106, 107. . . step

Claims (7)

一種使用於工具機之加工路徑最佳化方法,包括:提供一加工程式,並解譯該加工程式;提供一路徑規劃單元,其接收經解譯之該加工程式,並依據一數值控制參數規劃出一加工路徑;提供一張力雲形線之軌跡插補演算法之插補器將該加工路徑做一平滑化處理;提供一動程規劃單元,係依據該數值控制參數及該張力雲形線之軌跡插補演算法之插補器,賦予該平滑化處理之該加工路徑的運動特性;提供一插值單元,係依據該數值控制參數及該張力雲形線之軌跡插補演算法之插補器,對已完成該動程規劃之具有運動特性之該加工路徑之資料,進行插補運算並產生一插值命令;提供一驅動器,將該插值命令發送至該驅動器;利用該驅動器發出一控制信號以驅動並控制一軸向馬達;及提供一位置感測元件,其將該軸向馬達之位置資訊回授至該驅動器。A processing path optimization method for a machine tool, comprising: providing a processing program and interpreting the processing program; providing a path planning unit that receives the interpreted processing program and controls parameter planning according to a numerical value a processing path is provided; an interpolator of the trajectory interpolation algorithm of the force cloud line is provided to smooth the processing path; and a motion planning unit is provided, according to the numerical control parameter and the trajectory of the tension cloud line An interpolator of the complement algorithm, which imparts motion characteristics of the processing path of the smoothing process; and an interpolation unit is provided, according to the numerical control parameter and the interpolator of the trajectory interpolation algorithm of the tension cloud line, Completing the data of the machining path with motion characteristics of the motion planning, performing an interpolation operation and generating an interpolation command; providing a driver to send the interpolation command to the driver; and using the driver to generate a control signal to drive and control An axial motor; and a position sensing element that provides feedback of the position information of the axial motor to the driver. 根據申請專利範圍第1項所述之使用於工具機之加工路徑最佳化方法,其中該加工路徑包含複數個控制點。The processing path optimization method for use in a machine tool according to claim 1, wherein the processing path includes a plurality of control points. 根據申請專利範圍第2項所述之使用於工具機之加工路徑最佳化方法,其中該些控制點係藉由該張力雲形線之軌跡插補演算法之插補器設定一邊界條件。The processing path optimization method for a machine tool according to claim 2, wherein the control points set a boundary condition by an interpolator of the trajectory interpolation algorithm of the tension cloud line. 根據申請專利範圍第3項所述之使用於工具機之加工路徑最佳化方法,其中該邊界條件係為該些控制點之位置、速度與加速度。The processing path optimization method for use in a machine tool according to claim 3, wherein the boundary condition is the position, velocity, and acceleration of the control points. 根據申請專利範圍第2項所述之使用於工具機之加工路徑最佳化方法,其中該張力雲形線之軌跡插補演算法之插補器包含一張力值係用以調整該加工路徑之該些控制點間曲線的圓滑程度。The method for optimizing a machining path for a machine tool according to claim 2, wherein the interpolator of the trajectory interpolation algorithm of the tension cloud line includes a force value for adjusting the machining path. These control the smoothness of the curve between points. 根據申請專利範圍第2項所述之使用於工具機之加工路徑最佳化方法,其中該張力雲形線之軌跡插補演算法之插補器包含一時間值係用於調整該加工路徑從一控制點至另一控制點所經過的時間。The processing path optimization method for a machine tool according to claim 2, wherein the interpolator of the tension cloud line trajectory interpolation algorithm includes a time value for adjusting the processing path from one The time elapsed from the control point to another control point. 根據申請專利範圍第1項所述之使用於工具機之加工路徑最佳化方法,其中賦予平滑化處理之該加工路徑的運動特性之步驟包含賦予該加工路徑速度與加速度。The processing path optimization method for use in a machine tool according to the first aspect of the invention, wherein the step of imparting the motion characteristic of the processing path of the smoothing process comprises imparting the processing path speed and acceleration.
TW101115129A 2012-04-27 2012-04-27 A trajectory optimization method for machine tools TW201344383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101115129A TW201344383A (en) 2012-04-27 2012-04-27 A trajectory optimization method for machine tools

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101115129A TW201344383A (en) 2012-04-27 2012-04-27 A trajectory optimization method for machine tools

Publications (1)

Publication Number Publication Date
TW201344383A true TW201344383A (en) 2013-11-01

Family

ID=49990199

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101115129A TW201344383A (en) 2012-04-27 2012-04-27 A trajectory optimization method for machine tools

Country Status (1)

Country Link
TW (1) TW201344383A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI582559B (en) * 2015-01-29 2017-05-11 國立臺灣大學 Trajectory planning system for integrated computer numerical control (cnc) machine, trajectory planning device, trajectory planning method, and computer program product thereof
CN112506139A (en) * 2020-11-23 2021-03-16 西北工业大学 Partial corner fairing method for five-axis short straight line segment track
CN114488953A (en) * 2020-11-13 2022-05-13 台达电子工业股份有限公司 Transmission mechanism feed rate planning method based on shaft physical limitation

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI582559B (en) * 2015-01-29 2017-05-11 國立臺灣大學 Trajectory planning system for integrated computer numerical control (cnc) machine, trajectory planning device, trajectory planning method, and computer program product thereof
CN114488953A (en) * 2020-11-13 2022-05-13 台达电子工业股份有限公司 Transmission mechanism feed rate planning method based on shaft physical limitation
TWI766598B (en) * 2020-11-13 2022-06-01 台達電子工業股份有限公司 Method for planning feedrate of transmission mechanism based on physical constraints of joints
CN114488953B (en) * 2020-11-13 2024-02-27 台达电子工业股份有限公司 Transmission mechanism feed rate planning method based on shaft physical limitation
CN112506139A (en) * 2020-11-23 2021-03-16 西北工业大学 Partial corner fairing method for five-axis short straight line segment track
CN112506139B (en) * 2020-11-23 2022-02-25 西北工业大学 Partial corner fairing method for five-axis short straight line segment track

Similar Documents

Publication Publication Date Title
Tajima et al. Global tool-path smoothing for CNC machine tools with uninterrupted acceleration
Tajima et al. Kinematic corner smoothing for high speed machine tools
Sencer et al. High speed cornering strategy with confined contour error and vibration suppression for CNC machine tools
Sencer et al. A curvature optimal sharp corner smoothing algorithm for high-speed feed motion generation of NC systems along linear tool paths
Beudaert et al. 5-axis local corner rounding of linear tool path discontinuities
Liu et al. Development and implementation of a NURBS interpolator with smooth feedrate scheduling for CNC machine tools
CN102707671A (en) Processing path optimization method applied to machine tool
Bosetti et al. Feed-rate and trajectory optimization for CNC machine tools
TW201504779A (en) A five axis flank milling system for machining curved surface and a toolpath planning method thereof
JP5897662B2 (en) Servo motor control device that improves multi-axis machining accuracy
Wang et al. (B. 6) Corner trajectory smoothing with asymmetrical transition profile for CNC machine tools
JP2018077778A (en) Numerical control system
EP2996003B1 (en) Device and method for moving an object
Han et al. A local smoothing interpolation method for short line segments to realize continuous motion of tool axis acceleration
TW201344383A (en) A trajectory optimization method for machine tools
JP2008117032A (en) Working control device and its program
Jahanpour et al. Real-time PH curve CNC interpolators for high speed cornering
KR20090006445A (en) Method for regulating a path of an instrument
My et al. New feed rate optimization formulation in a parametric domain for 5-axis milling robots
Nie et al. Jerk-continuous feedrate optimization method for NURBS interpolation
JP2006227701A (en) Circular machining command creation device, method and program
Chien et al. Accurate prediction of machining cycle times and feedrates with deep neural networks using BiLSTM
JP6823032B2 (en) Program modifier
Xu et al. A circumscribed local interpolation methodology for CNC machining along linear tool paths
Imani et al. High-speed contouring enhanced with PH curves