TW201525634A - Numerical controller with tooling path repairing function and tooling path repairing method thereof - Google Patents

Numerical controller with tooling path repairing function and tooling path repairing method thereof Download PDF

Info

Publication number
TW201525634A
TW201525634A TW102149190A TW102149190A TW201525634A TW 201525634 A TW201525634 A TW 201525634A TW 102149190 A TW102149190 A TW 102149190A TW 102149190 A TW102149190 A TW 102149190A TW 201525634 A TW201525634 A TW 201525634A
Authority
TW
Taiwan
Prior art keywords
processing path
path
processing
function
curve
Prior art date
Application number
TW102149190A
Other languages
Chinese (zh)
Other versions
TWI510874B (en
Inventor
Liang-Zhou Jiangxie
Chih-Feng Wang
Chi-Hua Chan
Original Assignee
Syntec Inc
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 Inc filed Critical Syntec Inc
Priority to TW102149190A priority Critical patent/TWI510874B/en
Publication of TW201525634A publication Critical patent/TW201525634A/en
Application granted granted Critical
Publication of TWI510874B publication Critical patent/TWI510874B/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Numerical Control (AREA)

Abstract

A method of repairing tooling path of a NC machine device without need to modify the machining program is designed to improve the quality of machining a workpiece. This method can be applied to two intersecting paths according to allowable tolerance built by users to automatically produce a gradually changed and smooth path to replace these two paths. As a result, the goal to smooth the tooling path and increase the tooling stability is achieved.

Description

具有加工路徑修補功能的數值控制器及其加工路徑修補方 法 Numerical controller with processing path repair function and its processing path repairing method law

本發明是有關於一種數值控制(Numerical Control;NC)機械裝置中的數值控制器,特別是有關於一種具有加工路徑修補功能的NC機械裝置之數值控制器及其加工路徑修補的控制方法。 The present invention relates to a numerical controller in a numerical control (NC) mechanical device, and more particularly to a numerical controller for an NC mechanical device having a processing path repair function and a control method for the repair of the machining path.

首先,請參考第1圖,係一種習知電腦數值控制(Computer Numerical Control;CNC)機械裝置之數值控制器方塊示意圖。如第1圖所示,係先利用CAD(Computer Aided Design)模組2之軟體繪圖製作2D或3D加工模型,交由CAM(Computer Aided Manufacturing)模組3將CAD模組2所繪製的加工模型轉成離散資料點,並於加工程式4中將由CAM模組3所得之離散資料點加上其他機械指令如轉速、刀庫號碼等,再藉由數值控制器1中的加工路徑規劃單元11將使用者編輯之加工程式4解譯並規劃出加工路徑,接著由動程規劃單元12依據一數值控制參數13,規劃加工路徑的運動特性如速度、加速度等,最後傳送至命令插值單元14,再給予驅動器5信號以控制馬達6。 First, please refer to FIG. 1 , which is a block diagram of a numerical controller of a conventional computer numerical control (CNC) mechanical device. As shown in Fig. 1, the 2D or 3D processing model is first created by using the software drawing of the CAD (Computer Aided Design) module 2, and the processing model drawn by the CAD module 2 is submitted by the CAM (Computer Aided Manufacturing) module 3. Converted into discrete data points, and in the processing program 4, the discrete data points obtained by the CAM module 3 are added with other mechanical commands such as the rotational speed, the magazine number, etc., and then by the processing path planning unit 11 in the numerical controller 1. The user-edited machining program 4 interprets and plans the machining path, and then the motion planning unit 12 plans the motion characteristics of the machining path, such as speed, acceleration, etc., according to a numerical control parameter 13, and finally transmits it to the command interpolation unit 14, and then The driver 5 signal is given to control the motor 6.

然而,由CAD/CAM轉出的加工程式或使用者設計的加工程式,常有一些無效資料點,這些無效資料點會對加工品質與機台壽命產生負面的影響,其原因為無效資料點會產生許多不自然且較短的加工路徑,如第2圖所示,這樣的加工路徑會在短距離內不斷的轉彎與改變,使得加工路徑的變化太大,進而導致速度規劃模組所規劃出來的速度命令會有多次且劇烈的加減速,而在短距離內劇烈的加減速,會導致機台晃動影響切削刀具a對工件的加工品質且減少馬達壽命。 However, the processing program transferred from CAD/CAM or the processing program designed by the user often has some invalid data points. These invalid data points will have a negative impact on the processing quality and the life of the machine. The reason is that the invalid data points will be Many unnatural and short machining paths are generated. As shown in Fig. 2, such a machining path will continuously turn and change in a short distance, so that the machining path changes too much, which leads to the planning of the speed planning module. The speed command will have multiple and severe acceleration and deceleration, and the sharp acceleration and deceleration in a short distance will cause the machine to sway and affect the machining quality of the cutting tool a to the workpiece and reduce the life of the motor.

依據一般所知,加工程式中的加工路徑都是由G0連續相接 的曲線,目前為了使加工路徑更平順,而在使用者可容許誤差範圍內,會將G0連續相接點用一圓弧代替,使加工路徑變為G1連續相接的曲線,如第3圖所示之虛線圓弧,但目前以圓弧代替G0相接點的缺點有二,第一缺點為:若有一加工路徑太短而有兩個G0相接處,如第4圖所示,則以局部觀點(Local view)來看,該加工路徑區域具有兩個急轉彎,若以圓弧代替G0相接點時,勢必要縮短圓弧半徑而導致速度變化與機台抖動等加工效果不理想的情形。而較短的加工路徑是因CAD/CAM在轉換成加工檔(NC File)的過程產生的,並非設計者的原意,當遇到這樣的情況通常只能透過修改速度相關參數並進行重複加工,以求得到想要的加工品質,徒增時間成本;第二缺點為:若加工路徑在G0相接處並非單純的直線相接,則以圓弧取代G0相接點會有失真的現象,如第5圖所示。 As is generally known, the machining paths in the machining program are continuously connected by G0. In order to make the processing path smoother, in the user's allowable error range, the G0 continuous contact point is replaced by a circular arc, so that the machining path becomes a G1 continuous connecting curve, as shown in Fig. 3. The dotted arc shown, but the current disadvantage of replacing the G0 contact with a circular arc is two. The first disadvantage is that if there is a machining path that is too short and there are two G0 junctions, as shown in Fig. 4, then According to the local view, the machining path area has two sharp turns. If the arc is used instead of the G0 contact point, it is necessary to shorten the arc radius and cause the speed change and the machine shake to be unsatisfactory. The situation. The shorter processing path is generated by the process of converting CAD/CAM into NC file, which is not the original intention of the designer. When such a situation is encountered, it is usually only through modifying the speed-related parameters and repeating the processing. In order to obtain the desired processing quality, the time cost is increased. The second disadvantage is that if the machining path is not simply connected by a straight line at the G0 junction, the replacement of the G0 phase contact by the arc will be distorted, such as Figure 5 shows.

綜上所述,對於極短的加工路徑,使用者是很難發現的,通常是在加工時發現機台抖動或是該區域加工速度不平順等異常現象才可得知,且即便使用者猜測異常現象是極短的加工路徑所造成的,使用者也很難從數千、數萬行的加工程式中,找出何處有過短的加工路徑,且以圓弧取代G0相接點的方式也不完善。 In summary, for very short machining paths, it is difficult for users to find out, usually when the machine shakes during processing or the processing speed of the area is not smooth, and even the user guesses. Anomalies are caused by extremely short machining paths. It is difficult for users to find out where there are too short machining paths from thousands or tens of thousands of rows of machining programs, and replace the G0 contact points with arcs. The way is not perfect.

為了解決上述有關的問題,本發明之一主要目的在於提供一種在CNC機械裝置中配置具有加工路徑修補功能的數值控制器,在不修改加工程式數值控制檔的情況下自動平滑加工路徑,而生成一較為自然、漸變且平順之加工路徑,以修補被視為不良的加工路徑,可改善機械裝置加工的穩定度,大幅提昇加工品質。 In order to solve the above-mentioned problems, a main object of the present invention is to provide a numerical controller having a processing path repair function in a CNC mechanical device, which automatically smoothes a machining path without modifying a machining program numerical control file. A more natural, gradual and smooth processing path to repair the processing path that is considered to be bad, can improve the stability of mechanical processing and greatly improve the processing quality.

本發明之另一主要目的在於提供一種在CNC機械裝置中配置具有加工路徑修補功能的數值控制器,使得機械廠人員在對CNC機械裝置進行操作時,能夠藉由加工程式啟動加工路徑修補功能,以執行不良的加工路徑的修補,並經由加工路徑修補方法自動平滑不良的加工路徑,產生一較為平順且能逼近原先設計加工原型的加工路徑,使得CNC機械裝置能夠更準確的達到加工效果。 Another main object of the present invention is to provide a numerical controller having a processing path repairing function in a CNC mechanical device, so that a machine manufacturer can start a processing path repair function by a machining program when operating a CNC mechanical device. By performing poor repair of the machining path and automatically smoothing the bad machining path through the machining path repairing method, a smooth processing path that can approach the original design and processing prototype is produced, so that the CNC mechanical device can more accurately achieve the machining effect.

依據上述之目的,首先提供一種具有加工路徑修補功能之 數值控制器,包括:一加工路徑規劃單元,用以接收一加工程式並進行加工程式的解譯,而規劃出由複數個G0相接點連接而成之一初始加工路徑;一動程規劃單元,其與加工路徑規劃單元電性連接,接收一數位控制參數,並依據數位控制參數規劃初始加工路徑的運動特性;一命令插值單元,其與動程規劃單元電性連接,接收由動程規劃單元所輸出之具有運動特性之初始加工路徑,並執行一插值運算,輸出一控制命令輸出至一驅動器,用以驅動一馬達;以及一加工路徑修補單元,其電性連接於加工路徑規畫單元,並依據加工程式中所含一具有加工路徑修補功能之指令啟動一加工路徑修補控制程序,針對加工路徑規劃單元所輸出之初始加工路徑上存有之一不良加工路徑,執行優化處理而生成一新加工路徑進行取代。 According to the above purpose, firstly, a processing path repairing function is provided. The numerical controller comprises: a processing path planning unit, configured to receive a processing program and interpret the processing program, and plan an initial processing path formed by connecting a plurality of G0 contact points; a motion planning unit, It is electrically connected with the processing path planning unit, receives a digital control parameter, and plans the motion characteristics of the initial processing path according to the digital control parameter; a command interpolation unit is electrically connected with the motion planning unit, and receives the motion planning unit. Outputting an initial machining path having a motion characteristic, and performing an interpolation operation, outputting a control command output to a driver for driving a motor; and a machining path repairing unit electrically connected to the machining path planning unit And a processing path repairing control program is started according to a command having a processing path repairing function included in the processing program, and a poor processing path is stored on the initial processing path output by the processing path planning unit, and an optimization process is performed to generate a new one. The processing path is replaced.

本發明接著提供一種數值控制器之加工路徑修補方法,加工路徑修補方法包括下列步驟:載入並解譯一加工程式,其加工程式中具有一帶有一加工路徑修補誤差值之機能指令;接收經解譯之加工程式以規劃出由複數個G0相接點連接而成之一初始加工路徑;判斷初始加工路徑上是否存有一不良加工路徑,若判斷結果為否,則直接賦予初始加工路徑運動特性並進入最後步驟,若判斷結果為是,則執行下列步驟:判斷不良加工路徑上之G0相接點其前後相鄰之兩曲線是否為直線相接,若判斷結果為否,則執行一運算程序,針對初始加工路徑上存有之不良加工路徑執行優化處理,生成一新加工路徑,若判斷結果為是,則執行以下步驟;及判斷不良加工路徑上連續兩G0相接點之間的加工路徑是否過短,若判斷結果為否,則執行以下步驟,若判斷結果為是,則執行運算程序,針對初始加工路徑上存有之該不良加工路徑執行優化處理,而生成新加工路徑;賦予加工路徑運動特性;以及針對具有運動特性之初始加工路徑及新加工路徑,進行插值運算以產生一控制命令輸出至一驅動器,用以驅動一馬達。 The invention further provides a processing path repairing method for a numerical controller, the processing path repairing method comprising the steps of: loading and interpreting a processing program having a function instruction with a processing path repairing error value; receiving the solution The translated processing program plans an initial machining path which is connected by a plurality of G0 contact points; determines whether there is a bad machining path on the initial machining path, and if the judgment result is no, directly gives the initial machining path motion characteristics and Going to the last step, if the judgment result is yes, the following steps are performed: determining whether the two adjacent curves of the G0 contact point on the bad machining path are directly connected by a straight line, and if the judgment result is no, executing an operation program, Perform optimization processing on the defective machining path existing on the initial machining path to generate a new machining path. If the judgment result is yes, perform the following steps; and determine whether the machining path between two consecutive G0 contact points on the bad machining path is Too short, if the judgment result is no, perform the following steps. If the judgment result is yes, execute Calculating a program for performing an optimization process on the bad machining path existing on the initial machining path to generate a new machining path; imparting a motion characteristic to the machining path; and performing an interpolation operation on the initial machining path and the new machining path having the motion characteristic to generate A control command is output to a driver for driving a motor.

經由本發明所提供之具有加工路徑修補功能的數值控制器及其加工路徑修補方法,可生成一較為自然、漸變且平順之加工路徑,能逼近原設計原型之加工路徑,而在較平順之加工路徑下速度規劃時也不會出現頻繁且劇烈的速度變化,機台抖動也會減少,並可有效提升加工穩定度。 The numerical controller with the processing path repairing function and the processing path repairing method provided by the invention can generate a relatively natural, gradual and smooth processing path, and can approach the processing path of the original design prototype, and smooth processing. There is no frequent and violent speed change during speed planning under the path, the machine jitter will be reduced, and the processing stability can be effectively improved.

B‧‧‧程式區段 B‧‧‧Program Section

1‧‧‧具有加工路徑修補功能之數值控制器 1‧‧‧ Numerical controller with processing path repair function

2‧‧‧CAD模組 2‧‧‧CAD module

3‧‧‧CAM模組 3‧‧‧CAM module

4‧‧‧加工程式 4‧‧‧Processing program

5‧‧‧驅動器 5‧‧‧ Drive

6‧‧‧馬達 6‧‧‧Motor

11‧‧‧加工路徑規劃單元 11‧‧‧Processing Path Planning Unit

12‧‧‧動程規劃單元 12‧‧‧Travel planning unit

13‧‧‧數位控制參數 13‧‧‧ digital control parameters

14‧‧‧命令插值單元 14‧‧‧Command Interpolation Unit

15‧‧‧加工路徑修補單元 15‧‧‧Processing path repair unit

151‧‧‧判斷單元 151‧‧‧judging unit

152‧‧‧執行修補單元 152‧‧‧Execution repair unit

C 1(t)、C 2(t)‧‧‧加工路徑 C 1 ( t ), C 2 ( t ) ‧ ‧ processing path

P‧‧‧C 1(t)與C 2(t)的相接點 P‧‧‧ C 1 ( t ) and C 2 ( t )

L‧‧‧截斷曲線長 L ‧‧‧Truncation curve length

C L (t)‧‧‧新加工路徑 C L ( t )‧‧‧New processing path

C L,1(t)、C L,2(t)‧‧‧新加工路徑之兩控制函數 C L ,1 ( t ), C L ,2 ( t )‧‧‧ Two control functions of the new processing path

P C1P C2‧‧‧截斷點 P C 1 , P C 2 ‧‧‧ cut-off point

θ‧‧‧C 1(t)與C 2(t)相接處的夾角 The angle between θ‧‧‧ C 1 ( t ) and C 2 ( t )

C R (t)‧‧‧比例函數 C R ( t )‧‧‧ proportional function

f(t)‧‧‧曲線方程式 f ( t )‧‧‧ Curve equation

f + s (t)‧‧‧漸變曲線由0開始到s結束之方程式 f + s ( t ) ‧ ‧ equation for the gradual curve from 0 to the end of s

f - s (t)‧‧‧漸變曲線由s開始到1結束之方程式 f - s ( t ) ‧ ‧ equation for the gradual curve from s to 1

‧‧‧C L,1(2.t-t)與C R (t)進行比例合成之方程式 ‧‧‧ C L ,1 (2. t - t ) and C R ( t )

‧‧‧C R (t)與C L,2(t 2)進行比例合成之方程式 ‧‧‧ Equations for the proportional synthesis of C R ( t ) and C L , 2 ( t 2 )

180~187‧‧‧步驟 180~187‧‧‧Steps

1851~1857‧‧‧步驟 1851~1857‧‧‧Steps

1854a~1854f‧‧‧步驟 1854a~1854f‧‧‧Steps

第1圖係一已知CNC機械裝置之數值控制器方塊示意圖。 Figure 1 is a block diagram of a numerical controller of a known CNC mechanical device.

第2圖係一已知CNC機械裝置之加工路徑圖。 Figure 2 is a processing path diagram of a known CNC mechanical device.

第3圖係一已知加工路徑以圓弧取代G0連續相接處的示意加工路徑圖。 Figure 3 is a schematic machining path diagram of a known machining path in which the G0 continuous junction is replaced by a circular arc.

第4圖係一已知較短加工路徑採局部觀點的G0連續相接處的示意加工路徑圖。 Figure 4 is a schematic processing path diagram of a G0 continuous junction where a known view of a shorter processing path is taken.

第5圖係一已知非單純直線加工路徑以圓弧取代G0連續相接處造成失真現象的示意加工路徑圖。 Fig. 5 is a schematic processing path diagram of a known non-simple linear processing path in which a circular arc is substituted for a discontinuity at the G0 continuous junction.

第6圖 係一程式碼示意圖,顯示本發明之一實施例之具有加工路徑修補功能之CNC機械裝置所接收之數值控制檔(NC File)。 Figure 6 is a schematic diagram showing a numerical control file (NC File) received by a CNC mechanism having a processing path repairing function according to an embodiment of the present invention.

第7圖 係一系統方塊示意圖,顯示本發明之一實施例之具有加工路徑修補功能之數值控制器各部元件的系統架構。 Figure 7 is a system block diagram showing the system architecture of various components of a numerical controller having a processing path repair function according to an embodiment of the present invention.

第8圖 係一示意圖,顯示本發明之一實施例之加工路徑修補單元對加工路徑之截斷點的選取與新加工路徑的產生。 Figure 8 is a schematic view showing the selection of the cut-off point of the processing path and the generation of a new processing path by the processing path repairing unit of one embodiment of the present invention.

第9圖 係一示意圖,顯示本發明之一實施例之加工路徑修補單元對加工路徑進行截斷之截斷長度的估算。 Figure 9 is a schematic view showing the estimation of the cut length of the cutting of the processing path by the processing path repairing unit of one embodiment of the present invention.

第10圖 係一示意圖,顯示本發明之一實施例之加工路徑修補單元對加工路徑進行比例曲線的設定函數。 Fig. 10 is a schematic view showing a setting function of a proportional curve of a machining path by a machining path repairing unit according to an embodiment of the present invention.

第11圖 係一曲線圖,顯示本發明之一實施例之加工路徑修補單元對加工路徑進行比例曲線設定後的曲線方程式。 Fig. 11 is a graph showing a curve equation obtained by setting a proportional curve of a machining path by a machining path repairing unit according to an embodiment of the present invention.

第12圖 係一示意圖,顯示本發明之一實施例之加工路徑修補單元對加 工路徑進行漸變曲線的設定,其曲線為由0開始。 Figure 12 is a schematic view showing the processing path repairing unit of one embodiment of the present invention The work path is set to the gradient curve, and the curve starts from 0.

第13圖 係一示意圖,顯示本發明之一實施例之加工路徑修補單元對加工路徑進行漸變曲線的設定,其曲線為到1結束。 Figure 13 is a schematic view showing the setting of a gradation curve of a machining path by a machining path repairing unit according to an embodiment of the present invention, the curve of which ends at 1.

第14圖 係一曲線圖,顯示本發明之一實施例之加工路徑修補單元對加工路徑設定比例曲線與漸變曲線後的曲線方程式。 Figure 14 is a graph showing a curve equation after a machining path repairing unit sets a proportional curve and a gradual curve to a machining path according to an embodiment of the present invention.

第15圖 係一曲線圖,顯示本發明之一實施例之加工路徑修補單元對加工路徑採比例合成計算後的新加工路徑曲線方程式。 Fig. 15 is a graph showing a new machining path curve equation after the machining path repairing unit calculates the proportional calculation of the machining path according to an embodiment of the present invention.

第16圖 係一示意圖,用以說明已知採局部觀點之較短加工路徑上,所造成的過大相鄰截斷曲線長。 Figure 16 is a schematic diagram showing the length of an excessively large adjacent cut-off curve caused by a shorter processing path known from a local point of view.

第17圖 係一曲線圖,顯示本發明之一實施例之加工路徑修補單元剔除不良加工路徑之修補曲線。 Figure 17 is a graph showing a repair curve of a defective processing path by a processing path repairing unit according to an embodiment of the present invention.

第18圖 係一流程圖,顯示本發明之一實施例之用於CNC機械裝置之數值控制器的加工路徑修補方法。 Figure 18 is a flow chart showing a processing path repairing method for a numerical controller for a CNC mechanical device according to an embodiment of the present invention.

第19圖 係一流程圖,顯示本發明之一實施例之用於CNC機械裝置之數值控制器之加工路徑修補單元的新加工路徑生成程序。 Figure 19 is a flow chart showing a new processing path generation program for a processing path repairing unit of a numerical controller for a CNC mechanical device according to an embodiment of the present invention.

第20圖 係一流程圖,顯示本發明之一實施例之用於CNC機械裝置之數值控制器之加工路徑修補單元的新加工路徑優化演算程序。 Figure 20 is a flow chart showing a new processing path optimization calculation program for a processing path repairing unit of a numerical controller for a CNC mechanical device according to an embodiment of the present invention.

由於本發明主要係揭露一種具有加工路徑修補功能的數值控制器及其加工路徑修補方法,使得數值控制器可以導入加工路徑修補功能,因此,在以下的說明中,將詳細說明數位控制器實施加工路徑修補功能之方法。而對於被此數值控制器控制的機械裝置(例如CNC車床、CNC銑床、雕銑機等)的基本原理與功能,已為相關技術領域具有通常知識者所能明瞭,故以下文中之說明,僅針對與本發明具有加工路徑修補功能的 CNC機械裝置之數值控制器及其加工路徑修補的控制方法其特徵處進行詳細說明。此外,於下述內文中之圖式,亦並未依據實際之相關尺寸完整繪製,其作用僅在表達與本發明特徵有關之示意圖。 Since the present invention mainly discloses a numerical controller having a processing path repairing function and a processing path repairing method thereof, the numerical controller can introduce a processing path repairing function. Therefore, in the following description, the digital controller will be described in detail. The method of path patching. The basic principles and functions of the mechanical devices controlled by the numerical controller (such as CNC lathes, CNC milling machines, engraving and milling machines, etc.) have been known to those of ordinary skill in the relevant art, so the following description only For the processing path repair function with the present invention The characteristics of the numerical controller of the CNC mechanism and the control method of the machining path repair are described in detail. 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.

首先,請參閱第6圖,係為本發明一實施例之具有加工路徑修補功能之CNC機械裝置數值控制檔(NC File)之示意圖。如第6圖所示,其中,G01代表直線切削指令,F2000代表設定切削進給率;程式區段B代表欲使用加工路徑修補的程式區段,以G5.7 E0.01代表啟動加工路徑修補功能,其中,E引數則代表加工路徑修補誤差值(Error),而以G5.8代表結束(或關閉)加工路徑修補功能。在本實施例中,當使用者編輯之加工程式的數值控制檔中,在程式區段B辨識出G5.7碼時,即表示開啟加工路徑修補功能的程式,便會以機能指令(亦即G碼)所帶引之E引數做為加工路徑修補誤差值(Error);當辨識出G5.8碼時,即表示結束加工路徑修補功能的程式,當加工程式執行加工路徑修補功能的程式後,便會經由加工路徑修補方法開始針對不良的加工路徑,執行優化處理而生成一新加工路徑進行取代,同時在程式區段B中使用者也可以用G碼所帶的不同E引數來修改加工路徑修補誤差值(Error)。本發明之加工路徑修補功能是可以在加工程式的任何時間啟動或是結束。 First, please refer to FIG. 6, which is a schematic diagram of a numerical control file (NC File) of a CNC mechanical device having a processing path repairing function according to an embodiment of the present invention. As shown in Fig. 6, where G01 represents the linear cutting command, F2000 represents the cutting feed rate, and program section B represents the program section to be repaired using the machining path, and the starting machining path is repaired with G5.7 E0.01. Function, where E argument represents the machining path repair error value (Error), and G5.8 represents the end (or close) processing path repair function. In this embodiment, when the program section B recognizes the G5.7 code in the numerical control file of the processing program edited by the user, it means that the program for the processing path repair function is turned on, and the function command is executed (ie, The E code cited by the G code is used as the processing path repair error value (Error); when the G5.8 code is recognized, the program that ends the processing path repair function is executed, and when the processing program executes the processing path repair function After that, the processing path repair method starts to be used for the bad processing path, and the optimization process is performed to generate a new processing path to be replaced, and in the program section B, the user can also use the different E arguments of the G code. Modify the machining path repair error value (Error). The processing path repair function of the present invention can be started or ended at any time during the processing program.

接著,請參閱第7圖,係為本發明一實施例之具有加工路徑修補功能之數值控制器方塊示意圖。如第7圖所示,本實施例之具有加工路徑修補功能之數值控制器1,係由一個加工路徑規劃單元11、一個動程規劃單元12、一個命令插值單元14與一個加工路徑修補單元15所組成,其中加工路徑規劃單元11係用以接收一個加工程式4並進行其加工程式4的解譯,而規劃出由複數個G0相接點連接而成之一條初始加工路徑;接著,動程規劃單元12其一輸入端係與加工路徑規劃單元11電性連接,接收一個數位控制參數13,依據數位控制參數13規劃初始加工路徑的運動特性;接著,命令插值單元14會與動程規劃單元12電性連接,接收由動程規劃單元12所輸出之具有運動特性之加工路徑,並執行一插值運算,輸出一控制命令輸出至一個驅動器5,用以驅動馬達6;而加工路徑修補單元15其係電性連接於加工路徑規畫單元11,並依據加工程式4中所含一具有加工路徑修補功能之指令啟動一個加工路徑修補控制程序,針對加工路徑規劃單元11 所輸出之初始加工路徑進行判斷是否存有不良之加工路徑,進而針對不良之加工路徑執行優化處理,從而輸出一條修補處理後之新加工路徑至動程規劃單元12,接著賦予其加工路徑運動特性。其中,具有加工路徑修補功能之指令即為第6圖中帶引有誤差值(Error)的機能指令(亦即G碼)。 Next, please refer to FIG. 7 , which is a block diagram of a numerical controller having a processing path repair function according to an embodiment of the present invention. As shown in FIG. 7, the numerical controller 1 having the processing path repairing function of the present embodiment is composed of a processing path planning unit 11, a motion planning unit 12, a command interpolation unit 14, and a processing path repairing unit 15. The processing path planning unit 11 is configured to receive a processing program 4 and perform interpretation of the processing program 4, and plan an initial processing path that is connected by a plurality of G0 contacts; then, the process The input unit of the planning unit 12 is electrically connected to the processing path planning unit 11, receives a digital control parameter 13, and plans the motion characteristics of the initial processing path according to the digital control parameter 13; then, the command interpolating unit 14 and the motion planning unit 12 electrically connected, receiving the machining path with motion characteristics output by the motion planning unit 12, and performing an interpolation operation, outputting a control command output to a driver 5 for driving the motor 6; and processing path repairing unit 15 It is electrically connected to the processing path planning unit 11 and is based on a command having a processing path repair function included in the processing program 4. Start a machining path repair control program for the machining path planning unit 11 The output initial processing path determines whether there is a defective machining path, and performs optimization processing for the defective machining path, thereby outputting a new processing path after the repair processing to the motion planning unit 12, and then imparting the machining path motion characteristics thereto. . Among them, the instruction with the processing path repair function is the function instruction (that is, the G code) with the error value (Error) in Fig. 6.

實際運作的過程係先利用CAD模組2之軟體繪圖製作2D或3D加工模型,交由CAM模組3將CAD所繪製的加工模型轉成離散資料點,並於加工程式4中將由CAM模組3所得之離散資料點加上其他機械指令如轉速、刀庫號碼等,再藉由數位控制模組1中的加工路徑規劃單元11將使用者編輯之加工程式4進行解譯並規劃出一初始加工路徑,若初始加工路徑中含有不良之加工路徑則可透過加工路徑修補單元15進一步針對不良之加工路徑,執行優化處理得到一新加工路徑,接著由動程規劃單元12依據一數值控制參數13,規劃所述加工路徑的運動特性如速度、加速度等,最後傳送至命令插值單元14,進而給予驅動器5信號以控制馬達6進行加工。在此要說明的是,本實施例中的加工路徑修補單元15係包括一個判斷單元151與一個執行修補單元152,其中判斷單元151係用以判斷加工路徑規劃單元11所輸出之初始加工路徑上,該些G0相接點其前後相接之兩路徑曲線是否為直線相接,針對此判斷結果輸出一第一訊息,並判斷加工路徑規劃單元11所輸出之初始加工路徑上連續兩G0相接點之間,其加工路徑間距是否過短,針對此判斷結果輸出一第二訊息;接著,執行修補單元152會接收上述第一訊息與第二訊息,以執行加工路徑修補控制程序。 The actual operation process is to first create a 2D or 3D machining model by using the software drawing of the CAD module 2, and the CAM module 3 converts the machining model drawn by the CAD into discrete data points, and the CAM module is processed in the processing program 4. 3 The discrete data points obtained are added with other mechanical commands such as the rotational speed, the magazine number, etc., and the user-edited processing program 4 is interpreted by the processing path planning unit 11 in the digital control module 1 to plan an initial If the initial processing path contains a defective processing path, the processing path repairing unit 15 may further perform optimization processing for the defective processing path to obtain a new processing path, and then the motion planning unit 12 controls the parameter according to a numerical value. The motion characteristics of the processing path, such as speed, acceleration, etc., are planned and finally transmitted to the command interpolation unit 14, which in turn signals the driver 5 to control the motor 6 for processing. It is to be noted that the processing path repairing unit 15 in the present embodiment includes a determining unit 151 and an execution repairing unit 152, wherein the determining unit 151 is configured to determine the initial processing path output by the processing path planning unit 11. Whether the two path curves of the G0 contact points are connected in a straight line, and output a first message for the judgment result, and judge that the two processing paths of the initial processing path output by the processing path planning unit 11 are consecutively connected. Between the points, whether the processing path spacing is too short, a second message is outputted for the determination result; then, the execution repairing unit 152 receives the first message and the second message to execute the processing path patching control program.

而上述該些G0相接點其前後相接之兩路徑曲線是否為直線相接之判斷結果若為否,則進入執行修補單元152以執行加工路徑修補控制程序,透過其內部一運算程序針對初始加工路徑上存有之不良加工路徑,執行優化處理以生成一新加工路徑取代之,若判斷結果為是,則直接進入動程規劃單元12以賦予其加工路徑運動特性;另外,判斷加工路徑規劃單元11所輸出之初始加工路徑上連續兩G0相接點之間,其加工路徑間距是否過短之判斷結果若為否,則直接進入動程規劃單元12以賦予其加工路徑運動特性,若判斷結果為是,則進入執行修補單元152以啟動加工路徑修補控制程序,透過其內部一運算程序針對初始加工路徑上存有之不良加工路徑,執行優化處理而生成新加工路徑取代之。 And if the two path curves of the G0 contact points before and after the two paths are directly connected, the result of the determination is NO, then the execution repair unit 152 is executed to execute the processing path repair control program, and the internal operation program is used for the initial A poor machining path exists on the machining path, and an optimization process is performed to generate a new machining path. If the judgment result is yes, the motion planning unit 12 is directly entered to give the machining path motion characteristic; and, in addition, the machining path planning is judged. If the result of the determination of whether the processing path pitch is too short between the two consecutive G0 phase contacts on the initial processing path outputted by the unit 11 is no, the process directly enters the motion planning unit 12 to give the processing path motion characteristics, if judging As a result, the process proceeds to the execution repair unit 152 to start the machining path repair control program, and an internal machining program is used to perform an optimization process for the defective machining path existing on the initial machining path to generate a new machining path.

請繼續參閱第8圖並配合第9圖,第8圖係為本發明一實施例之加工路徑修補單元對加工路徑之截斷點的選取與新加工路徑之示意圖,第9圖則為本發明一實施例之加工路徑修補單元對加工路徑進行截斷之截斷長度的估算示意圖。假設目前由加工路徑規劃單元11所輸出之初始加工路徑上所含有不良之加工路徑,其該G0相接點前後相接之兩路徑曲線並非兩直線相接,如第8圖所示,則需進一步透過執行修補單元152以執行加工路徑修補控制程序,透過其內部運算程序針對不良之加工路徑,生成一新加工路徑取代之,在此要說明的是,新加工路徑是由初始加工路徑進行優化而得之加工路徑,而優化過程請參考如下說明。 Please refer to FIG. 8 and FIG. 9 , which is a schematic diagram of the selection of the cutting point of the processing path and the new processing path by the processing path repairing unit according to an embodiment of the present invention, and FIG. 9 is a schematic diagram of the present invention. A schematic diagram of estimating the truncation length of the processing path by the processing path repairing unit of the embodiment. It is assumed that the processing path that is currently included in the initial processing path output by the processing path planning unit 11 has two paths that are connected before and after the G0 phase contact are not connected by two lines, as shown in FIG. Further, by executing the repairing unit 152 to execute the processing path repair control program, a new processing path is generated for the defective processing path through the internal computing program, and it is explained that the new processing path is optimized by the initial processing path. And the processing path, and the optimization process, please refer to the following instructions.

首先,將兩條非直線G0相接的曲線以時間t為參數設定其曲線方程式C 1(t),C 2(t)如下式(1)所示: First, two non-linear curve G0 contact time t is set to 1 which graph equation C (t) is a parameter, C 2 (t) following equation (1):

接著,進入執行加工路徑修補控制程序,請參閱第9圖,先找出相鄰之兩路徑曲線於G0相接點P的切線為直線塞入一最大圓弧,再依據上述兩條非直線G0相接的兩曲線C 1(t),C 2(t)其切線所夾之角度θ與使用者於加工程式中所輸入之加工路徑修補誤差值(Error)(如第6圖中G碼所帶引之E引數),計算一截斷曲線長(L),如下式(2)所示: Then, enter the execution processing path repair control program, please refer to Figure 9, first find the adjacent two path curves at the G0 phase contact point P tangent line into a straight line into a maximum arc, and then according to the above two non-linear G0 The angles θ between the tangent lines C 1 ( t ) and C 2 ( t ) and the machining path repair error value (Error) input by the user in the machining program (such as the G code in Fig. 6) Calculate the length of a truncated curve ( L ), as shown in the following equation (2):

請繼續參閱第8圖,經由上述截斷曲線長(L)的估算後,可依據估算出來的截斷曲線長(L)找出截斷點P C1P C2,並從截斷點P C1P C2之後改變原本的加工路徑,生成修補曲線即一新加工路徑C L (t)取代,而此新加工路徑C L (t)係以時間t為參數設定其曲線參數方程式,如下式(3)所示: Please continue to refer to Fig. 8. After the estimation of the length ( L ) of the truncated curve above, the cutoff points P C 1 and P C 2 can be found according to the estimated length of the truncated curve ( L ), and from the truncation point P C 1 and After P C 2 , the original processing path is changed, and the repair curve is replaced by a new processing path C L ( t ), and the new processing path C L ( t ) is set with the curve parameter equation with time t as a parameter, as follows ( 3) shown:

倘若上述估算出來之截斷曲線長(L)所產生的新加工路徑C L (t)與G0相接點P的距離大於E引數,則將原截斷曲線長(L)的長度減半,於減半的截斷曲線長(L)上分別取得截斷點P C1P C2,以重新生成新加工路徑C L (t),直至所產生的新加工路徑C L (t)與G0相接點P的距離小於E引數;在本發明中,計算截斷曲線長(L)主要目的係要取得修補曲線其起始點與終點的位置,亦即上述的截斷點P C1P C2,換言之截斷曲線長(L)之起始點及終點會分別與新加工路徑之起始點及終點相合。 If the distance between the new processing path C L ( t ) generated by the estimated cut length ( L ) and the G0 contact point P is greater than the E argument, the length of the original truncated curve length ( L ) is halved. The cut-off curves P C 1 and P C 2 are respectively obtained on the cut-off curve length ( L ) to regenerate the new processing path C L ( t ) until the new processing path C L ( t ) is connected to G0 The distance of the point P is smaller than the E argument; in the present invention, the main purpose of calculating the length ( L ) of the cutoff curve is to obtain the position of the start point and the end point of the repair curve, that is, the cut points P C 1 and P C 2 described above. In other words, the starting point and the ending point of the length ( L ) of the cutoff curve are respectively matched with the starting point and the ending point of the new machining path.

新加工路徑的演算過程係一動態且漸變的控制概念,主要利用函數的比例合成與漸變曲線兩個觀念。關於函數的比例合成,如第10圖所示,先定義一比例函數C R (t),其比例函數C R (t)係由兩控制函數C L,1(t)與C L,2(t)所組成,同樣以時間t為參數,依據兩控制函數的距離比設定一比例式即可合成為一比例函數C R (t),如下式(4)所示: The calculation process of the new processing path is a dynamic and gradual control concept, which mainly uses the concept of proportional synthesis and gradient curve of the function. Regarding the proportional synthesis of functions, as shown in Fig. 10, a proportional function C R ( t ) is defined first, and the proportional function C R ( t ) is composed of two control functions C L , 1 ( t ) and C L , 2 ( t ) The composition is also synthesized according to the distance t of the two control functions as a parameter, and can be synthesized into a proportional function C R ( t ), as shown in the following formula (4):

以上述比例函數C R (t)在t 0時的值為例,即代表第10圖中控制函數C L,1(t)與C L,2(t)在t 0的點P 1P 2,此時兩點P 1P 2其控制函數為P 1=C L,1(t 0)與P 2=C L,2(t 0),由P 1P 2兩點連成一直線並在直線上取一點Q,使得該Q點到P 1P 2的距離比為=t 0:(1-t 0),其Q點即為比例函數在t 0的點,因此其所合成的比例函數即可變為一G1連續之曲線。舉一較佳實施例說明,假設兩控制函數C L,1(t)與C L,2(t)為下式(5)所示: In the above-described proportional function C R (t) at a value T 0, for example, FIG. 10 which represents the control function C L, 1 (t) and C L, 2 (t) t the point P 0 and P 1 of the 2 , at this time, the two points P 1 and P 2 have a control function of P 1 = C L , 1 ( t 0 ) and P 2 = C L , 2 ( t 0 ), and the two points of P 1 and P 2 are connected in a straight line. And take a bit of Q on the line, so that the distance ratio of the Q point to P 1 and P 2 is : = t 0 : (1- t 0 ), the Q point is the point of the proportional function at t 0 , so the proportional function synthesized by it can become a continuous G1 curve. As a preferred embodiment, assume that the two control functions C L ,1 ( t ) and C L ,2 ( t ) are as shown in the following equation (5):

經由兩控制函數的距離比設定函數比例式後,所合成之新函數C R (t),如下式(6)所示:C R (t)=(1-t).C L,1(t)+tC L,2(t)=(2.t-1,1-2.t+t 2+t 3) (6) After the distance ratio of the two control functions is set, the new function C R ( t ) is synthesized as shown in the following equation (6): C R ( t )=(1- t ). C L , 1 ( t ) + t . C L ,2 ( t )=(2. t -1,1-2. t + t 2 + t 3 ) (6)

請繼續參閱第11圖,第11圖係為本發明一實施例之加工路徑修補單元對加工路徑進行比例曲線設定後的曲線方程式。如第11圖所示,上述經比例合成後的比例函數C R (t)其曲線即變為一G1連續且平順之曲 線。 Please refer to FIG. 11 , which is a curve equation after the processing path repair unit performs a proportional curve on the processing path according to an embodiment of the present invention. As shown in Fig. 11, the proportionally synthesized proportional function C R ( t ) has a curve which becomes a continuous and smooth curve of G1.

接著,請再繼續參閱第12圖與第13圖,第12圖係說明本發明一實施例之加工路徑修補單於對加工路徑進行漸變曲線設定的原理,其曲線由0開始,而第13圖則係為本發明一實施例之加工路徑修補單元對加工路徑進行漸變曲線的設定的原理,其曲線為到1結束。此漸變曲線方程式是一種逐漸增長原始曲線的方法,假設欲進行漸變曲線設定的曲線方程式為f(t),將其曲線分為由0開始與到1結束兩種,第一種由0開始之曲線f + s (t)請參閱第12圖,將其假設成下式(7)所示,將原曲線從0到s的部份改寫成由0到1的曲線: Next, please refer to FIG. 12 and FIG. 13 again. FIG. 12 is a schematic diagram showing the principle of setting the gradual curve of the processing path according to an embodiment of the present invention. The curve starts from 0 and the figure 13 The principle of setting the gradation curve of the processing path by the processing path repairing unit according to an embodiment of the present invention is as follows: the curve ends to 1. This gradual curve equation is a method of gradually increasing the original curve. It is assumed that the curve equation to be set for the gradual curve is f ( t ), and the curve is divided into two types, starting from 0 and ending at 1. The first type starts from 0. The curve f + s ( t ) is shown in Fig. 12, which is assumed to be as shown in the following equation (7), and the original curve from 0 to s is rewritten into a curve from 0 to 1:

第二種到1結束之曲線f - s (t)請參閱第13圖,將其假設成下式(8)所示,將原曲線從s到1的部份改寫成由0到1的曲線: The second curve to the end of 1 is f - s ( t ), please refer to Figure 13, which is assumed to be the following equation (8), and the original curve from s to 1 is rewritten into a curve from 0 to 1. :

因此,依據漸變曲線設定的原理,當前述兩控制函數C L,1(t)與C L,2(t)分別進行漸變曲線設定後可得到C L,1(s+(1-s).t)與C L,2(st),再進行函數比例設定後,得到一比例函數C R (t),如下式(9)所示:C R (t)=(1-t).C L,1(s+(1-s).t)+tC L,2(st) (9) Therefore, according to the principle of the gradual curve setting, when the two control functions C L , 1 ( t ) and C L , 2 ( t ) are respectively set to the gradual curve, C L , 1 ( s +(1- s ) can be obtained. t ) and C L , 2 ( s . t ), after the function ratio is set, a proportional function C R ( t ) is obtained, as shown in the following formula (9): C R ( t )=(1- t ). C L ,1 ( s +(1- s ). t )+ t . C L , 2 ( s . t ) (9)

由於漸變曲線方程式係一種逐漸增長原始曲線的方法,在前述說明中係將原始曲線分成由0開始之曲線函數與到1結束之曲線函數進行處理,但整合上述兩種曲線函數建立成該漸變曲線函數其曲線方程式仍是針對原始曲線的情況下,故在此進一步將上述方程式設定為s=t時,即可得到漸變曲線方程式之比例函數C R (t),如下式(10)所示: Since the gradual curve equation is a method of gradually increasing the original curve, in the foregoing description, the original curve is divided into a curve function starting from 0 and a curve function ending at 1, but integrating the above two curve functions to establish the gradation curve. The curve equation of the function is still for the original curve. Therefore, when the above equation is further set to s = t , the proportional function C R ( t ) of the gradient curve equation can be obtained, as shown in the following formula (10):

請繼續參閱第14圖,第14圖係為本發明一實施例設定漸變 處理與比例合成後之曲線方程式結果。將第14圖與第11圖比較可發現,進一步採漸變處理與比例合成的方式,較單純的比例合成更貼近原先的加工路徑。 Please continue to refer to FIG. 14, which is a gradient setting according to an embodiment of the present invention. The result of the curve equation after processing and proportional synthesis. Comparing Fig. 14 with Fig. 11 reveals that the further gradual processing and proportional synthesis are closer to the original processing path than the simple proportional synthesis.

請繼續參閱第15圖,第15圖係為本實施例採比例合成計算後之新加工路徑曲線圖。其係依據設定比例合成後之兩漸變曲線函數,分別進行比例合成所取得;其比例合成的動作係由三個步驟組成,第一步驟係將C L,1(2.t-t)與C R (t)進行比例合成得到,如下式(11)所示: Please continue to refer to Fig. 15, which is a graph of a new processing path after the ratio synthesis calculation is performed in this embodiment. It is obtained by proportional synthesis according to the two gradual curve functions synthesized by the set ratio; the proportional synthesis action is composed of three steps, the first step is C L , 1 (2. t - t ) and C R ( t ) is synthesized by proportional synthesis , as shown in the following formula (11):

接著,進行第二步驟係將C R (t)與C L,2(t 2)進行比例合成得到,如下式(12)所示: Then, the second step is performed by proportionally synthesizing C R ( t ) and C L , 2 ( t 2 ). , as shown in the following formula (12):

最後,進行第三步驟係將進行比例合成得到C L (t),如下式(13)所示: Finally, the third step will be versus Proportional synthesis yields C L ( t ) as shown in the following equation (13):

請參閱第15圖,係為本發明之經比例合成後的加工路徑修補曲線圖。舉一較佳實施例說明,假設兩漸變曲線函數其曲線方程式,如下式(14)所示: Please refer to Fig. 15, which is a repairing curve of the processing path after the proportional synthesis of the present invention. As a preferred embodiment, assume that the two gradient curve functions have their curve equations as shown in the following equation (14):

同樣將兩漸變曲線函數其曲線方程式設定其函數比例式後,合成為新函數C R (t),如下式(15)所示:C R (t)=(1-t).C L,1(2.t-t 2)+tC L,2(t 2) (15) Similarly, the curve equation of the two gradual curve functions is set to its function proportional formula, and then synthesized into a new function C R ( t ), as shown in the following formula (15): C R ( t )=(1- t ). C L ,1 (2. t - t 2 )+ t . C L ,2 ( t 2 ) (15)

經由比例合成的三個步驟後,得到的C L (t),即為新加工路徑曲線,如下式(16)所示:C L (t)=(1-t)2C L,1(2.t-t 2)+2.t.(1-t).C R (t)+t 2C L,2(t 2) (16) After three steps of proportional synthesis, the obtained C L ( t ) is the new processing path curve, as shown in the following formula (16): C L ( t ) = ( 1- t ) 2 . C L ,1 (2. t - t 2 )+2. t . (1- t ). C R ( t ) + t 2 . C L ,2 ( t 2 ) (16)

藉由上述比例合成的方式,即可得到一新加工路徑曲線如第15圖所示,將第15圖與第14圖比較可發現其曲線會更貼近原先設計加工原型的加工路徑;綜合上述進行比例合成後有兩大優點,第一是在頭尾相接處的切線方向平行原始加工路徑的切線方向,也就是說頭尾相接處會為一G1連續的曲線;第二是最後生成的曲線會更貼近原先設計加工原型的加工路徑。 By the above-mentioned proportional synthesis method, a new processing path curve can be obtained as shown in Fig. 15. Comparing Fig. 15 with Fig. 14 can find that the curve is closer to the processing path of the original design and processing prototype; There are two major advantages after proportional synthesis. The first is that the tangential direction at the end of the head and tail is parallel to the tangential direction of the original machining path, that is, the end of the head and tail will be a continuous curve of G1; the second is the last generated The curve will be closer to the machining path of the original design and processing prototype.

此外,假設目前由加工路徑規劃單元11所輸出之初始加工路徑所含不良之加工路徑,若其連續兩G0相接點之間加工路徑間距過短,以局部觀點(Local view)來看該區域會有兩個急轉彎,容易導致速度變化與機台抖動等加工效果不理想的情形,通常較短的加工路徑是因CAD/CAM在轉換成加工檔(NC File)的過程產生的,而由連續兩G0相接(即三條加工路徑)的轉角所計算出來的截斷曲線長(L1+L2)之和會大於兩G0相接點間的加工路徑長(l),如第16圖所示,則會將兩G0相接點間的加工路徑視為不良的加工路徑,因此需以全域觀點(Global view)的角度來產生一較為平順之加工路徑,並將其角度視為一平順的轉彎;此時,需進一步透過執行修補單元152以執行加工路徑修補控制程序,透過其內部運算程序的處理針對不良之加工路徑,執行優化處理而生成一新加工路徑進行取代;其作法係分別以兩G0相接點其前後的加工路徑執行加工路徑修補控制程序,並利用前述所提及的加工路徑優化步驟係經由設定比例式、漸變曲線函數與比例合成的方法得到新加工路徑曲線如第17圖所示,其最終生成的曲線除了頭尾相接處會為一G1連續的曲線,也同樣會貼近原先設計加工原型的加工路徑。 In addition, it is assumed that the machining path included in the initial machining path output by the machining path planning unit 11 is too short, and if the machining path spacing between the two consecutive G0 contact points is too short, the area is viewed in a local view. There will be two sharp turns, which will easily lead to unsatisfactory machining results such as speed changes and machine shake. Usually the shorter machining path is due to the process of converting CAD/CAM into NC File. The sum of the lengths of the cutoff curves (L 1 + L 2 ) calculated by the corners of two consecutive G0s (ie, three processing paths) is greater than the length of the processing path between the two G0 contacts ( 1 ), as shown in Fig. 16. The processing path between the two G0 contacts is regarded as a bad machining path. Therefore, it is necessary to generate a smooth processing path from the perspective of the global view, and regard the angle as a smooth. Turning; at this time, the repairing unit 152 is further executed to execute the processing path repairing control program, and the processing of the internal processing program is performed to perform a optimization processing for the defective processing path to generate a new processing path to replace; The legal system performs the machining path repair control program with the machining paths before and after the two G0 contact points, and obtains the new machining path by setting the proportional method, the gradual curve function and the proportional synthesis method by using the above-mentioned processing path optimization steps. As shown in Figure 17, the resulting curve will be a G1 continuous curve except for the end-to-end intersection, which will also be close to the original design path.

本發明不僅可適用於兩個相交的曲線,也可適用於兩個不相交的曲線,對此,本發明不加以限制;且可應用於諸多類型的加工機台,例如CNC車床的數值控制裝置、CNC銑床的數值控制裝置、雕銑機的數值控制裝置。 The invention can be applied not only to two intersecting curves, but also to two disjoint curves, for which the invention is not limited; and can be applied to many types of processing machines, such as numerical control devices for CNC lathes. Numerical control device for CNC milling machine and numerical control device for engraving and milling machine.

最後,請參閱第18圖,係為本發明之用於CNC機械裝置之控制器的加工路徑修補方法流程圖。如第18圖所示,其加工路徑修補方法係包含以下步驟:步驟180:載入並解譯一加工程式;將一加工程式載入可供CNC機械裝置動作以執行加工作業,且加工程式中具有帶有一加工路徑修補誤差值之機能指令,接著進入步驟181。 Finally, please refer to Fig. 18, which is a flow chart of the processing path repairing method for the controller of the CNC mechanical device of the present invention. As shown in FIG. 18, the processing path repairing method includes the following steps: Step 180: loading and interpreting a processing program; loading a processing program into a CNC mechanical device to perform a machining operation, and processing the program There is a function command with a processing path repair error value, and then proceeds to step 181.

步驟181:接收經解譯之加工程式以規劃出由複數個G0相接點連接而成之一初始加工路徑;透過一加工路徑規劃單元接收解譯後之加工程式,進而規劃出由複數個G0相接點連接而成之初始加工路徑,接著進入步驟182。 Step 181: Receive an interpreted processing program to plan an initial processing path that is connected by a plurality of G0 contacts; receive an interpreted processing program through a processing path planning unit, and then plan a plurality of G0s. The initial processing path is formed by connecting the contacts, and then proceeds to step 182.

步驟182:判斷初始加工路徑上是否存有一不良加工路徑,若判斷結果為否,則進入直接賦予初始加工路徑運動特性之步驟186,接著進行最後步驟187,若判斷結果為是,則繼續進入步驟183以及步驟184。 Step 182: It is judged whether there is a bad processing path on the initial processing path. If the result of the determination is no, the step 186 is directly applied to the initial processing path motion characteristic, and then the final step 187 is performed. If the determination result is yes, the processing proceeds to the step. 183 and step 184.

步驟183:判斷不良加工路徑上其G0相接點前後相鄰之兩曲線是否為直線相接,若判斷結果為否,則跳至步驟185由加工路徑修補單元內之執行修補單元執行一運算程序,針對初始加工路徑上存有之不良加工路徑執行優化處理,而生成一新加工路徑進行取代,若判斷結果為是,則進入直接賦予加工路徑運動特性之步驟186,接著進行最後步驟187。 Step 183: Determine whether the two adjacent curves before and after the G0 contact point on the poor processing path are directly connected to each other. If the determination result is no, then skip to step 185 to execute an operation program by the execution repair unit in the processing path repairing unit. The optimization processing is performed on the defective processing path existing on the initial processing path, and a new processing path is generated and replaced. If the determination result is YES, the step 186 is directly applied to the processing path motion characteristic, and then the final step 187 is performed.

步驟184:判斷不良加工路徑上連續兩G0相接點之間的加工路徑是否過短,若判斷結果為否,則進入直接賦予加工路徑運動特性之步驟186,接著進行最後步驟187,若判斷結果為是,則跳至步驟185由加工路徑修補單元執行一運算程序,針對初始加工路徑上存有之不良加工路徑執行優化處理,而生成一新加工路徑進行取代。 Step 184: determining whether the processing path between consecutive two G0 phase contacts on the poor processing path is too short. If the determination result is no, the step 186 is directly applied to the motion characteristic of the processing path, and then the final step 187 is performed. If yes, then go to step 185 to execute an operation program by the processing path repairing unit, perform optimization processing for the bad processing path existing on the initial processing path, and generate a new processing path to replace.

步驟185:啟動一加工路徑修補控制程序;透過其內部運算程序針對初始加工路徑上存有之不良加工路徑,執行優化處理而生成一新加工路徑進行取代。 Step 185: Start a processing path repair control program; perform an optimization process on the bad processing path stored in the initial processing path through the internal operation program to generate a new processing path to replace.

步驟186:賦予加工路徑運動特性;其所述之運動特性如速度、加速等。 Step 186: imparting a motion characteristic of the processing path; the motion characteristics thereof such as speed, acceleration, and the like.

步驟187:針對具有運動特性之加工路徑,進行一插值運算,而產生一控制命令輸出至一驅動器,用以驅動一馬達;透過動程規劃單元 賦予加工路徑運動特性後,由命令插值單元針對具有運動特性之初始加工路徑與新加工路徑,進行一插值運算以產生一控制命令,輸出至驅動器用以驅動馬達執行加工動作。 Step 187: Perform an interpolation operation on the processing path having the motion characteristic, and generate a control command output to a driver for driving a motor; through the motion planning unit After the machining path motion characteristic is given, the command interpolation unit performs an interpolation operation on the initial machining path and the new machining path having the motion characteristics to generate a control command, and the output to the driver is used to drive the motor to perform the machining operation.

另外,於上述步驟185中所提及的運算程序包含了以下子步驟:步驟1851:針對不良加工路徑以G0相接點為中心定義出其相鄰之兩曲線;將兩條非直線G0相接的曲線以時間t為參數設定其曲線方程式C 1(t),C 2(t),請參閱上述所載方程式(1)。 In addition, the operation program mentioned in the above step 185 includes the following sub-steps: Step 1851: defining two adjacent curves centering on the G0 contact point for the poor processing path; connecting the two non-linear lines G0 The curve of the curve is set with the time t as its parameter C 1 ( t ) , C 2 ( t ), please refer to equation (1) above.

步驟1852:找出相鄰之兩曲線C 1(t),C 2(t)於G0相接點的切線。 Step 1852: Find the tangent of the adjacent two curves C 1 ( t ) and C 2 ( t ) at the G0 contact point.

步驟1853:依據步驟1852所述之切線其所夾之角度θ與使用者於加工程式中所輸入之加工路徑修補誤差值(Error)(如第6圖中G碼所帶引之E引數),計算一截斷曲線長(L)。 Step 1853: According to the angle θ of the tangent described in step 1852 and the processing error value (Error) of the processing path input by the user in the processing program (such as the E argument cited by the G code in FIG. 6) , calculate a truncated curve length ( L ).

步驟1854:於截斷曲線長(L)上取得截斷點P C1P C2以生成一新加工路徑C L (t)。 Step 1854: Obtain the cutoff points P C 1 and P C 2 on the cutoff curve length ( L ) to generate a new processing path C L ( t ).

步驟1855:判斷新加工路徑與G0相接點的距離是否大於加工路徑修補誤差值,若判斷結果為是,則跳至步驟1856將截斷曲線長(L)減半,並至步驟1854於減半的截斷曲線長(L)上取得截斷點P C1P C2以生成新加工路徑C L (t),若判斷結果為否,則直接跳至步驟1857輸出所生成之新加工路徑C L (t)。 Step 1855: Determine whether the distance between the new processing path and the G0 contact point is greater than the processing path repair error value. If the determination result is yes, skip to step 1856 to halve the cut curve length ( L ), and halve the step 1854. The cut-off curve length ( L ) takes the cut-off points P C 1 and P C 2 to generate a new processing path C L ( t ), and if the determination result is no, jumps directly to step 1857 to output the generated new processing path C L ( t ).

步驟1856:截斷曲線長(L)減半。 Step 1856: The cutoff curve length ( L ) is halved.

步驟1857:輸出於步驟1854所生成的新加工路徑。 Step 1857: Output the new processing path generated in step 1854.

接著,於上述步驟1854中所提及的生成新加工路徑,係指將初始加工路徑進行優化而得之加工路徑,而其優化過程包含了以下子步驟:步驟1854a:定義新加工路徑C L (t)係由兩控制函數C L,1(t)與C L,2(t)所組成,同樣以時間t為參數,請參閱第10圖。 Next, the new processing path mentioned in the above step 1854 refers to the processing path obtained by optimizing the initial processing path, and the optimization process includes the following sub-steps: Step 1854a: Define a new processing path C L ( t ) consists of two control functions C L ,1 ( t ) and C L ,2 ( t ), also with time t as the parameter, please refer to Figure 10.

步驟1854b:依據兩控制函數C L,1(t)與C L,2(t)的距離比設定比例式,以合成為一第一比例函數,並使得新加工路徑轉變為一連續且平順之加工路徑。 Step 1854b: According to the distance ratio between the two control functions C L , 1 ( t ) and C L , 2 ( t ), the proportional formula is set to be synthesized into a first proportional function, and the new processing path is transformed into a continuous and smooth Processing path.

步驟1854c:將兩控制函數C L,1(t)與C L,2(t)轉換為一第一漸變曲線函數及一第二漸變曲線函數;將經由設定比例式後得到的比例函數合成後之連續且平順之加工路徑,分為由0開始與到1結束兩種,第一種由0開始之曲線函數請參考第12圖以及上述所載方程式(7),而第二種到1結束之曲線函數請參考第13圖以及上述所載方程式(8)。 Step 1854c: Converting the two control functions C L , 1 ( t ) and C L , 2 ( t ) into a first gradation curve function and a second gradation curve function; synthesizing the proportional function obtained by setting the proportional formula The continuous and smooth processing path is divided into two types: starting from 0 and ending in 1. The first curve function starting from 0 refers to Figure 12 and Equation (7) above, and the second to 1 ends. For the curve function, please refer to Figure 13 and equation (8) above.

步驟1854d:將第一比例函數及第一漸變曲線函數進行比例合成,得到一第二比例函數,請參閱上述所載方程式(11),並將第一比例函數及第二漸變曲數函數進行比例合成,得到一第三比例函數,請參閱上述所載方程式(12);進行比例合成後有兩大優點,第一是在頭尾相接處的切線方向平行原始加工路徑的切線方向,也就是說頭尾相接處會為一G1連續的曲線;第二是最後生成的曲線會更貼近原先設計加工原型的加工路徑。 Step 1854d: proportionally synthesizing the first proportional function and the first gradual curve function to obtain a second proportional function, refer to Equation (11) above, and ratio the first proportional function and the second gradual mean function. Synthesis, to obtain a third proportional function, please refer to equation (12) above; there are two major advantages after proportional synthesis. The first is that the tangential direction at the end of the head and tail is parallel to the tangential direction of the original machining path, that is, It is said that the head-to-tail junction will be a continuous curve of G1; the second is that the resulting curve will be closer to the processing path of the original design prototype.

步驟1854e:將第二比例函數及第三比例函數進行比例合成,得到一第四比例函數,請參閱上述所載方程式(13)。 Step 1854e: Proportional synthesis of the second proportional function and the third proportional function to obtain a fourth proportional function, see equation (13) above.

步驟1854f:依據第四比例函數設定新加工路徑C L (t)。 Step 1854f: setting a new processing path C L ( t ) according to a fourth proportional function.

綜上所述,透過前述的設計說明可知,本發明具有加工路徑修補功能的CNC機械裝置之控制器及其加工路徑修補的控制方法,可有效生成一較為自然、漸變且平順之加工路徑,也可改善機械裝置加工的穩定度,大幅提昇加工品質,進而提昇加工效能以及達到較佳的系統穩定性。 In summary, according to the foregoing design description, the controller of the CNC mechanical device having the processing path repair function and the control method for repairing the processing path can effectively generate a relatively natural, gradual and smooth processing path. It can improve the stability of mechanical processing and greatly improve the processing quality, thereby improving the processing efficiency and achieving better system stability.

雖然本發明以前述之較佳實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。 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.

1‧‧‧具有加工路徑修補功能之數值控制器 1‧‧‧ Numerical controller with processing path repair function

2‧‧‧CAD模組 2‧‧‧CAD module

3‧‧‧CAM模組 3‧‧‧CAM module

4‧‧‧加工程式 4‧‧‧Processing program

5‧‧‧驅動器 5‧‧‧ Drive

6‧‧‧馬達 6‧‧‧Motor

11‧‧‧加工路徑規劃單元 11‧‧‧Processing Path Planning Unit

12‧‧‧動程規劃單元 12‧‧‧Travel planning unit

13‧‧‧數位控制參數 13‧‧‧ digital control parameters

14‧‧‧命令插值單元 14‧‧‧Command Interpolation Unit

15‧‧‧加工路徑修補單元 15‧‧‧Processing path repair unit

151‧‧‧判斷單元 151‧‧‧judging unit

152‧‧‧執行修補單元 152‧‧‧Execution repair unit

Claims (7)

一種具有加工路徑修補功能之數值控制器,包括:一加工路徑規劃單元,用以接收一加工程式並進行該加工程式的解譯,而規劃出由複數個G0相接點連接而成之一初始加工路徑;一動程規劃單元,其與該加工路徑規劃單元電性連接,接收一數位控制參數,並依據該數位控制參數規劃該初始加工路徑的運動特性;一命令插值單元,其與該動程規劃單元電性連接,接收由該動程規劃單元所輸出之具有運動特性之該初始加工路徑,並執行一插值運算,輸出一控制命令至一驅動器,用以驅動一馬達;以及一加工路徑修補單元,其係電性連接於該加工路徑規劃單元,並依據該加工程式中所含一具有加工路徑修補功能之指令啟動一加工路徑修補控制程序,針對該加工路徑規劃單元所輸出之該初始加工路徑上存有之一不良加工路徑,執行優化處理而生成一新加工路徑進行取代。 A numerical controller having a processing path repairing function includes: a processing path planning unit for receiving a processing program and performing interpretation of the processing program, and planning an initial connection of a plurality of G0 contacts a processing path; a motion planning unit electrically connected to the processing path planning unit, receiving a digital control parameter, and planning a motion characteristic of the initial processing path according to the digital control parameter; a command interpolation unit, and the motion The planning unit is electrically connected, receives the initial processing path with motion characteristics output by the motion planning unit, and performs an interpolation operation, and outputs a control command to a driver for driving a motor; and a processing path repairing The unit is electrically connected to the processing path planning unit, and starts a processing path repair control program according to an instruction included in the processing program with a processing path repair function, and the initial processing output by the processing path planning unit There is one bad processing path on the path, and the optimization process is performed to generate a new processing. Diameter substitution. 根據申請專利範圍第1項所述之數值控制器,其中該加工路徑修補單元進一步包括:一判斷單元,其判斷該加工路徑規劃單元所輸出之該初始加工路徑上,該些G0相接點其前後相鄰之兩曲線是否為直線連接,而對應輸出一第一訊息,並判斷該加工路徑規劃單元所輸出之該加工路徑上連續兩G0相接點之間,其加工路徑間距是否過短,而對應輸出一第二訊息;以及 一執行修補單元,用以接收該第一訊息與該第二訊息,以執行該加工路徑修補控制程序,並透過一運算程序針對該初始加工路徑上存有之該不良加工路徑執行優化處理,生成該新加工路徑進行取代。 The numerical controller according to claim 1, wherein the processing path repairing unit further comprises: a judging unit that judges, on the initial processing path output by the processing path planning unit, the G0 contact points Whether the two adjacent curves are linearly connected, and correspondingly output a first message, and determine whether the processing path spacing between the two consecutive G0 contact points on the processing path output by the processing path planning unit is too short. And correspondingly outputting a second message; An execution repairing unit is configured to receive the first message and the second message to execute the processing path repair control program, and perform optimization processing on the bad processing path stored in the initial processing path through an operation program to generate This new processing path is replaced. 根據申請專利範圍第1項所述之數值控制器,其中該具有加工路徑修補功能之指令係為帶有一加工路徑修補誤差值之機能指令。 The numerical controller according to claim 1, wherein the instruction having the processing path repair function is a function instruction with a processing path repair error value. 一種數值控制器之加工路徑修補方法,包括下列步驟:載入並解譯一加工程式,該加工程式中具有一帶有一加工路徑修補誤差值之機能指令;接收經解譯之該加工程式以規劃出由複數個G0相接點連接而成之一初始加工路徑;判斷該初始加工路徑上是否存有一不良加工路徑,若判斷結果為否,則直接賦予該初始加工路徑運動特性,若判斷結果為是,則執行下列步驟:判斷該不良加工路徑上之G0相接點其前後相鄰之兩曲線是否為直線相接,若判斷結果為否,則執行一運算程序,針對該初始加工路徑上存有之該不良加工路徑執行優化處理,生成一新加工路徑,若判斷結果為是,則執行下列步驟;及判斷該不良加工路徑上連續兩G0相接點之間的加工路徑是否過短,若判斷結果為否,則執行下列步驟,若判 斷結果為是,則執行該運算程序,針對該初始加工路徑上存有之該不良加工路徑執行優化處理,生成該新加工路徑;賦予加工路徑運動特性;以及針對具有運動特性之該初始加工路徑及該新加工路徑,進行插值運算以產生一控制命令輸出至一驅動器,用以驅動一馬達。 A method for repairing a processing path of a numerical controller, comprising the steps of: loading and interpreting a processing program having a function instruction with a processing path repair error value; receiving the interpreted processing program to plan An initial machining path is formed by connecting a plurality of G0 contact points; determining whether there is a bad machining path on the initial machining path, and if the determination result is no, directly assigning the initial machining path motion characteristic, and if the judgment result is yes Then, the following steps are performed: determining whether the two adjacent curves of the G0 contact point on the bad processing path are directly connected by a straight line, and if the judgment result is no, executing an operation program for the initial processing path The bad processing path performs an optimization process to generate a new processing path. If the determination result is yes, the following steps are performed; and it is determined whether the processing path between the consecutive two G0 contact points on the bad processing path is too short, if judging If the result is no, perform the following steps. If the result of the break is yes, the operation program is executed, an optimization process is performed on the bad machining path existing on the initial machining path, the new machining path is generated, the machining path motion characteristic is given, and the initial machining path is provided for the motion characteristic. And the new processing path, performing an interpolation operation to generate a control command output to a driver for driving a motor. 根據申請專利範圍第4項所述之數值控制器之加工路徑修補方法,其中該運算程序包括下列步驟:針對該不良加工路徑以該G0相接點為中心定義出其相鄰之兩曲線;找出相鄰之兩曲線於該G0相接點的切線;依據該等切線所夾之角度與使用者所輸入之該加工路徑修補誤差值,計算一截斷曲線長;判斷該新加工路徑與該G0相接點的距離是否大於該加工路徑修補誤差值,若判斷結果為是,則將該截斷曲線長減半,依據減半的該截斷曲線長於該等曲線上分別取得截斷點,以生成該新加工路徑,若判斷結果為否,則依據該截斷曲線長於該等曲線上分別取得截斷點,以生成該新加工路徑。 The processing path repairing method of the numerical controller according to claim 4, wherein the operation program comprises the following steps: defining two adjacent curves centering on the G0 contact point for the bad processing path; a tangent line of the adjacent two curves at the G0 contact point; calculating a truncation curve length according to the angle between the tangent lines and the processing path repair error value input by the user; determining the new processing path and the G0 Whether the distance of the contact point is greater than the repair error value of the processing path, and if the judgment result is yes, the length of the cutoff curve is halved, and the cutoff point is obtained according to the cutoff curve of the halving, and the cutoff point is respectively obtained to generate the new If the determination result is no, the cutoff point is obtained according to the cutoff curve longer than the curve to generate the new processing path. 根據申請專利範圍第4項所述之數值控制器之加工路徑修補方法,其中將該初始加工路徑上存有之該不良加工路徑, 執行優化處理而生成該新加工路徑之步驟包括下列步驟:定義該新加工路徑係由兩控制函數所組成;依據該兩控制函數的距離比合成一第一比例函數,並使得該新加工路徑轉變為一連續且平順之加工路徑;將該兩控制函數轉換為一第一漸變曲線函數及一第二漸變曲線函數;將該第一比例函數及該第一漸變曲線函數進行比例合成,得到一第二比例函數,並將該第一比例函數及該第二漸變曲數函數進行比例合成,得到一第三比例函數;將該第二比例函數及該第三比例函數進行比例合成,得到一第四比例函數;及依據該第四比例函數設定該新加工路徑。 The processing path repairing method of the numerical controller according to claim 4, wherein the poor processing path is stored in the initial processing path, The step of performing the optimization process to generate the new processing path comprises the steps of: defining the new processing path by two control functions; synthesizing a first proportional function according to the distance ratio of the two control functions, and causing the new processing path to transition a continuous and smooth processing path; converting the two control functions into a first gradual curve function and a second gradual curve function; and proportionally synthesizing the first proportional function and the first gradual curve function to obtain a first a two-ratio function, and proportionally synthesizing the first proportional function and the second gradual mean function to obtain a third proportional function; synthesizing the second proportional function and the third proportional function to obtain a fourth a proportional function; and setting the new processing path according to the fourth proportional function. 根據申請專利範圍第5項所述之數值控制器之加工路徑修補方法,其中該截斷曲線長之起始點及終點分別與該新加工路徑之起始點及終點相合。 The processing path repairing method of the numerical controller according to claim 5, wherein the starting point and the ending point of the cutting curve length coincide with the starting point and the ending point of the new processing path, respectively.
TW102149190A 2013-12-31 2013-12-31 Numerical controller with tooling path repairing fuction and tooling path repairing method thereof TWI510874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102149190A TWI510874B (en) 2013-12-31 2013-12-31 Numerical controller with tooling path repairing fuction and tooling path repairing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102149190A TWI510874B (en) 2013-12-31 2013-12-31 Numerical controller with tooling path repairing fuction and tooling path repairing method thereof

Publications (2)

Publication Number Publication Date
TW201525634A true TW201525634A (en) 2015-07-01
TWI510874B TWI510874B (en) 2015-12-01

Family

ID=54197613

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102149190A TWI510874B (en) 2013-12-31 2013-12-31 Numerical controller with tooling path repairing fuction and tooling path repairing method thereof

Country Status (1)

Country Link
TW (1) TWI510874B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI578128B (en) * 2015-12-10 2017-04-11 Hurco Automation Ltd The Method of Cutting Path Generation for Dialogue Controller of CNC Machine Tool
TWI680360B (en) * 2018-10-09 2019-12-21 財團法人工業技術研究院 Arc processing device and method using the same
TWI688844B (en) * 2018-12-19 2020-03-21 國立臺北科技大學 Control device and method for controlling machine

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW202022652A (en) 2018-11-30 2020-06-16 財團法人工業技術研究院 Machining parameter adjustment system and maching parameter adjustment method
TWI760675B (en) 2020-01-06 2022-04-11 財團法人工業技術研究院 Method for defect inspection of machining path
TWI742981B (en) 2021-01-06 2021-10-11 財團法人工業技術研究院 Method for analyzing overcutting defect of machining path
TWI791373B (en) * 2022-01-10 2023-02-01 凌華科技股份有限公司 Cutting speed planning system and method, non-transient recording medium and cutting system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200916990A (en) * 2007-10-03 2009-04-16 Aerospace Ind Dev Corp A system integration for optimizing tool path
TWI406116B (en) * 2009-07-03 2013-08-21 Syntec Inc Method and device for numerical control
US20110007453A1 (en) * 2009-07-08 2011-01-13 Chen-Feng Hsieh Method for forming a concavo-convex textured structure on a housing of an electronic device and related structure
JP5515639B2 (en) * 2009-11-02 2014-06-11 村田機械株式会社 Machine Tools
CN101995850B (en) * 2010-11-05 2012-02-29 江俊逢 Computer aided numerical control method and system
CN102156440B (en) * 2011-03-01 2012-11-28 上海维宏电子科技股份有限公司 Method for realizing real-time control of grooving motion in numerical control system of grooving machine
JP5972553B2 (en) * 2011-05-19 2016-08-17 Dmg森精機株式会社 Positioning control device and machine tool equipped with the same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI578128B (en) * 2015-12-10 2017-04-11 Hurco Automation Ltd The Method of Cutting Path Generation for Dialogue Controller of CNC Machine Tool
TWI680360B (en) * 2018-10-09 2019-12-21 財團法人工業技術研究院 Arc processing device and method using the same
CN111026033A (en) * 2018-10-09 2020-04-17 财团法人工业技术研究院 Arc machining device and arc machining method using same
CN111026033B (en) * 2018-10-09 2021-03-30 财团法人工业技术研究院 Arc machining device and arc machining method using same
TWI688844B (en) * 2018-12-19 2020-03-21 國立臺北科技大學 Control device and method for controlling machine

Also Published As

Publication number Publication date
TWI510874B (en) 2015-12-01

Similar Documents

Publication Publication Date Title
TWI510874B (en) Numerical controller with tooling path repairing fuction and tooling path repairing method thereof
US10152046B2 (en) Automatic machining force optimizing system and method for NC program
JP5192578B2 (en) Numerical control device with a function to correct the movement path of machining programs
JP6646027B2 (en) Post-processor device, machining program generation method, CNC machining system, and machining program generation program
JP2015525420A (en) CAM integrated CNC control of machine
KR101538729B1 (en) Tool path generation method and tool path generation device
WO2022057155A1 (en) Transition method for five-axis tool path transfer smoothing, medium, and numerical control device for five-axis machine tool
Bosetti et al. Feed-rate and trajectory optimization for CNC machine tools
US10788805B2 (en) Numerical controller having tool path interpolation
US11327466B2 (en) Command-value generation apparatus
JP6363642B2 (en) Numerical controller with corner path optimization function in tangential continuous corners
WO2015159390A1 (en) Command value generating device
TWI333134B (en)
JP2007200037A (en) Numerical control device
CN105278461A (en) Method for integral machining of complex curved surface
JP6321605B2 (en) Numerical control device for speed control by curvature and curvature variation
JP4945191B2 (en) Numerical control device for machine tools
CN103792887A (en) Numerical value controller with processing path repair function and processing path repair method thereof
JP6823032B2 (en) Program modifier
TWI541623B (en) Five-axis numerical control system and numerical controlling method thereof
TW201344383A (en) A trajectory optimization method for machine tools
WO2009101688A1 (en) Electric discharge machining device
US20230066024A1 (en) Curve Fitting Method, Apparatus and Device Based on A Drawing Tool
JP2012078891A (en) Numerical controller, travel path correction method, travel path correction program, and storage medium
JP2001166807A (en) Method for commanding working by numerical controller