[go: up one dir, main page]

TW201800885A - Accuracy-designated control method for controller for simple input, automatic adjustment, and time saving - Google Patents

Accuracy-designated control method for controller for simple input, automatic adjustment, and time saving Download PDF

Info

Publication number
TW201800885A
TW201800885A TW105120172A TW105120172A TW201800885A TW 201800885 A TW201800885 A TW 201800885A TW 105120172 A TW105120172 A TW 105120172A TW 105120172 A TW105120172 A TW 105120172A TW 201800885 A TW201800885 A TW 201800885A
Authority
TW
Taiwan
Prior art keywords
speed
precision
controller
processing
setting
Prior art date
Application number
TW105120172A
Other languages
Chinese (zh)
Inventor
Gang-Quan Zhuang
shu-xian Jiang
jun-jie Huang
Chen-Lin Lin
Original Assignee
Fair Friend Enterprise Co Ltd
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 Fair Friend Enterprise Co Ltd filed Critical Fair Friend Enterprise Co Ltd
Priority to TW105120172A priority Critical patent/TW201800885A/en
Publication of TW201800885A publication Critical patent/TW201800885A/en

Links

Landscapes

  • Numerical Control (AREA)

Abstract

The invention provides an accuracy-designated control method for a controller. An online identification and automatic adjusting program is installed in the controller of a tool machine. An man-machine interface of the tool machine is provided with a processing mode selection page that is connected with the online identification and automatic adjusting program. A tool of the tool machine is driven to move, so that data of at least two sections of a path of the tool can be read by the online identification and automatic adjusting program, and conducting advance speed reduction planning for a tangential speed to be distributed to all the axial directions, such that an angular speed difference of each axial direction is smaller than a set allowable speed difference, and the speed of the turning angle is determined by the angular speed difference of all the axial directions. When man-machine interface is switched out of the processing mode selection page, the processing mode selection page is provided with a plurality of digital keys and a parameter adjusting method for simple input, automatic adjustment, and time saving is provided.

Description

控制器之精度指定控制方法Controller precision designation control method

本發明係關於一種控制器之精度指定控制方法,尤指一種用於控制器的控制器之精度指定控制方法。The present invention relates to a method for specifying accuracy of a controller, and more particularly to a method for specifying accuracy of a controller for a controller.

隨著科技的發達與繁榮,現有工具機大多為電腦數值控制(Computer Numeric Control;CNC),主要透過一控制器進行數值的運算及控制,現有工具機的控制器之數控單元(NCU)係包含有一解譯器(Interpreter)及一插補器(Interpolator),現有工具機進行加工時的路徑主要係如圖9所示以直線(G01)及圓弧(G02、G03)所組成,其中G01為直線切削、G02為順值針方向的圓弧切削,而G03為逆時針的圓弧切削,近年來透過電腦輔助設計與製造(Computer Aided Design / Computer Aided Manufacturing;CAD/CAM)而能提供以曲線參數建立工件輪廓,其中該數控單元先經由該解譯器讀取NC碼(包含G碼及M碼)或內建的指令曲線參數式,並擷取如位置點、進給率或轉角速度等相關資訊至該插補器中,讓該插補器根據所取得的資訊透過加、減速的方式在取樣時件內,產生命令給現有工具機的伺服馬達以驅動馬達各個軸向而使工作平台或加工頭移動至所設定的位置,其中NC碼包含G code及M code,其中G碼G00~G99,是最為廣泛使用的數控程式語言,不同的G指令代表不同機能動作,會依不同控制器廠牌而有差異,其中G碼可分為單次G碼及狀態G碼,其中單次G碼僅在指定的單節有效,而狀態G碼設定後將一直有效,直到相同群組之G碼設定後才被取代,而M碼包含M00~M99,可使控制器產生ON/OFF之控制訊號,使用時在每一單節不能有兩個或以上之M碼,只有排列在最後一個之M碼有效。With the development and prosperity of technology, most of the existing machine tools are computer numerical control (CNC), which mainly uses a controller to perform numerical calculations and control. The numerical control unit (NCU) of the controller of the existing machine tools includes There is an interpreter (Interpreter) and an interpolator (Interpolator). The path of the existing machine tool for processing is mainly composed of straight lines (G01) and arcs (G02, G03) as shown in Figure 9, where G01 is Linear cutting, G02 is a circular arc cutting in the clockwise direction, and G03 is a counterclockwise circular arc cutting. In recent years, Computer Aided Design / Computer Aided Manufacturing (CAD / CAM) can be used to provide curved lines. The workpiece contour is established by parameters. The NC unit first reads the NC code (including G code and M code) or the built-in command curve parameter formula through the interpreter, and retrieves the position point, feed rate, or angular velocity, etc. Relevant information is sent to the interpolator, so that the interpolator generates commands to the servo motor of the existing machine tool to drive each axis of the motor within the sampling time by accelerating and decelerating according to the obtained information. Move the working platform or processing head to the set position, where the NC code includes G code and M code, where G codes G00 ~ G99 are the most widely used CNC programming languages. Different G commands represent different functions and will be controlled according to There are differences between different controller brands. The G code can be divided into a single G code and a status G code. The single G code is valid only in the specified block, and the status G code will be valid until the same group. The G code of the group is replaced only after it is set, and the M code contains M00 ~ M99, which can cause the controller to generate ON / OFF control signals. When using it, there cannot be two or more M codes in each block. The last M code is valid.

因此,現有工具機在進行加工時,使用者必須輸入一控制參數至該控制器中,經由該控制器的數控單元之運算及控制後,輸出一固定參考輸入命令至該伺服馬達中進行驅動,由於該控制器係輸出一固定參考的輸入命令,使該伺服馬達進行驅動,因此,使用者必須在輸入控制參數時,考量係以精度優先、速度優先或表面粗糙度優先,作為該輸入控制參數的調整依據,並且使用者需自行觀察工具機的輸出結果是否與該輸入控制參數相符合,再透過使用者的經驗修改輸入的控制參數,進而需經過多次的輸入及觀察輸出結果的方式,方能調整控制器之輸入控制參數至所需的考量(精度、速度或表面粗糙度等),使用上不僅需透過人工方式進行輸入且需仰賴使用者的經驗,大幅提高調校輸入控制參數所需的時間,有鑒於此,實有對於現有工具機控制器的輸入控制參數的調校方式進行改進之處。Therefore, when the existing machine tool is processing, the user must input a control parameter into the controller, and after calculation and control by the numerical control unit of the controller, output a fixed reference input command to the servo motor for driving. Since the controller outputs a fixed reference input command to drive the servo motor, the user must consider accuracy, speed or surface roughness as the input control parameters when inputting control parameters. Adjustment basis, and the user needs to observe whether the output result of the machine tool is consistent with the input control parameter, and then modify the input control parameter through the user ’s experience, and then need to go through multiple inputs and observe the output result. Only the input control parameters of the controller can be adjusted to the required considerations (accuracy, speed or surface roughness, etc.). The use requires not only manual input but also user experience, which greatly improves the adjustment of input control parameters. In view of this, there are actually input controls for existing machine tool controllers. Tuning mode parameter is improvement.

因此,本發明人有鑒於現有工具機的控制器進行輸入控制參數的調校時,需透過人工方式進行輸入且需仰賴使用者的經驗,大幅提高調校輸入控制參數所需的時間的不足及缺失,本發明特經過不斷的研究與試驗,終於發展出一種能改進現有缺失之本發明。Therefore, the inventors have considered that when the controller of an existing machine tool performs input control parameter adjustment, it needs to perform input manually and depends on the user ’s experience, which greatly improves the lack of time required to adjust the input control parameters and Defect. The present invention has developed a kind of invention which can improve the existing deficiencies after continuous research and experiment.

本發明之目的為提供一控制器之精度指定控制方法,其係透過預讀插補的方式,讓核心提前進行加工路徑運算,可提升加工進給速度並縮短加工時間,亦可減少因連續短線段加減速時所造成的機台震動,達到提高運算精度的效果,讓使用者僅需輸入所欲控制精度的公差範圍相對應得的量化值,使核心能參考原先已設定好的參數進行換算,進而得到實際用於加工之設定值進行加工,即能自動調校控制器的相關參數,同時具有速度及精度,進而提供一簡單輸入、自動調整及節省時間的控制器之精度指定控制方法。The purpose of the present invention is to provide a controller precision designation control method, which allows the core to perform processing path calculations in advance through a pre-read interpolation method, which can increase the processing feed speed and shorten the processing time, and can also reduce the number of continuous short lines. The machine vibration caused by the segment acceleration and deceleration achieves the effect of improving the calculation accuracy, allowing the user to input only the quantized value corresponding to the tolerance range of the desired control accuracy, so that the core can refer to the previously set parameters for conversion. In order to obtain the actual setting value for processing, the controller can automatically adjust the relevant parameters of the controller, and at the same time, it has the speed and accuracy, and then provides a simple input, automatic adjustment and time-saving controller precision designation control method.

為達到上述目的,本發明提供一控制器之精度指定控制方法,其操作步驟包含有: 準備步驟:於一工具機的控制器中安裝一線上鑑別自動調校程式,且於該工具機的人機介面中設置一加工模態選擇頁面,該加工模態選擇頁面與該控制器之線上鑑別自動調校程式相連接; 預讀插補步驟:於此操作步驟中驅動該工具機的刀具進行移動,使位於該控制器內的線上鑑別自動調校程式,讀取該刀具的至少兩段路徑資料,並進行切線速度行前加減速規劃後分配至各軸向時,各軸向的轉角速度差小於一設定的容許速度差,藉以提高轉角部分的精度,且由各軸向的轉角速度差來決定轉角時的速度;以及 設定步驟:於該人機介面切換出該加工模態設定頁面,該加工模態設定頁面提供數個供使用者依據加工需求進行設定的數字按鍵,依加工需求按壓相對應的數字按鍵。In order to achieve the above object, the present invention provides a controller precision designation control method, the operation steps of which include the following steps: preparation steps: installing an online identification and automatic adjustment program in the controller of a machine tool, and A machining modal selection page is set in the machine interface, and the machining modal selection page is connected with the online identification automatic adjustment program of the controller; the pre-reading interpolation step: in this operation step, the tool of the machine tool is driven to move , Make the online identification automatic adjustment program located in the controller, read at least two segments of the tool's path data, and perform tangential speed pre-acceleration and deceleration planning before distributing to each axis, the angular velocity difference of each axis Less than a set allowable speed difference to improve the accuracy of the corner part, and the speed at the corner is determined by the angular speed difference of each axis; and the setting step: switch the processing mode setting page on the man-machine interface, the The processing modal setting page provides several numeric keys for users to set according to the processing requirements. Press the corresponding number keys according to the processing requirements.

進一步,在預讀插補步驟中,當刀具進行高速圓弧的加工時,以向心加速度為目標來設定刀具的圓弧進給速度。Further, in the pre-reading interpolation step, when the tool is processing a high-speed arc, the arc feed rate of the tool is set with the centripetal acceleration as a target.

再進一步,在預讀插補步驟中,根據路徑資訊算出時均速度差來限制各段路徑的行程速度限制值,使工具機在行經曲率高的路徑時係以低速通過。Further, in the pre-reading interpolation step, the travel speed limit value of each path is limited based on the calculated time-averaged speed difference based on the path information, so that the machine tool passes at a low speed when traveling through a path with a high curvature.

較佳的是,在設定步驟中,該數個數字按鍵的數值設定範圍為1〜10,其中當加工需求為粗加工而需要快速加工時,按壓數字按鍵之數值為1或2〜5,而當加工需求為精加工或者需要更高精度加工時,則按壓數字按鍵之數值為10或6〜9。Preferably, in the setting step, the value setting range of the number keys is 1 to 10, wherein when the processing requirement is rough machining and fast processing is required, the value of pressing the number keys is 1 or 2 to 5, and When the machining requirement is precision machining or higher precision machining is required, the value of the number button pressed is 10 or 6 ~ 9.

較佳的是,在準備步驟中,於該工具機的人機介面中設置一加工程式啟動加工模態,且在設定步驟中,該加工程式啟動加工模態之指令格式為G05.1Qq Rr,其中Qq是高速高精控制功能的模式設定值,當q=0表示關閉高速高精,q=1表示開啟高速高精,q=2表示開啟高速高精控制與單段平滑功能,而Rr是高速高精控制功能的加工條件等級設定值,其設定範圍為R1〜R10,其中R1為使用速度優先的相關參數進行高速高精控制,R10為使用精度優先的相關參數進行高速高精控制,而R2〜R9的相關參數則由R1與R10等比例來決定。Preferably, in the preparation step, a processing program is started in the man-machine interface of the machine tool, and in the setting step, the instruction format of the processing program to start the processing mode is G05.1Qq Rr, Among them, Qq is the mode setting value of the high-speed and high-precision control function. When q = 0, high-speed and high-precision is turned off, q = 1 is high-speed and high-precision turned on, and q = 2 is high-speed and high-precision control and single-stage smoothing. Rr is High-speed and high-precision control function set the processing condition level setting value. Its setting range is R1 ~ R10, where R1 is the high-speed high-precision control using related parameters with speed priority, and R10 is the high-speed high-precision control using related parameters with priority on accuracy. The relevant parameters of R2 ~ R9 are determined by the ratio of R1 and R10.

藉由上述的技術手段,本發明控制器之精度指定控制方法,於操作時使用者僅需依據所需控制精度之公差範圍等量化值,於該加工模態設定頁面中按壓與加工需求相對應(粗加工、精細加工、快速加工或慢加工等)的數字按鍵,即可讓使用者方便地於速度及精度進行選擇,並且透過該控制器內的線上鑑別自動調校程式能提供一可變參考的輸入命令至伺服馬達,進而讓刀具依據校正後的參數進行移動及加工,不需如現有工具機於使用時,使用者需自行觀察並透過經驗修改輸入的控制參數,方能完成調整控制器之輸入控制參數;進一步,透過於該工具機的人機介面中設置一加工程式啟動加工模態的方式,在設定步驟中能透過對於加工程式啟動加工模態之指令進行設定,藉以選擇是否進行高速高精控制,並且能在執行G05.1Q0、M02、M30、Reset、緊急停止等功能時,關閉高速高精控制功能,藉以提供一簡單輸入、自動調整及節省時間的控制器之精度指定控制方法。By means of the above-mentioned technical means, the precision designation control method of the controller of the present invention, when operating, the user only needs to press the corresponding quantified value such as the tolerance range of the required control precision in the processing mode setting page to correspond to the processing demand. (Rough machining, fine machining, fast machining or slow machining, etc.) digital keys, which allows users to easily select speed and accuracy, and the online adjustment automatic adjustment program in the controller can provide a variable The reference input command is sent to the servo motor, so that the tool can move and process according to the corrected parameters. It is not necessary for the user to observe and modify the input control parameters through experience before the existing machine tool is used. Input control parameters of the controller; further, by setting a processing program to start the processing mode in the man-machine interface of the machine tool, in the setting step, it can be set by the instruction for starting the processing mode of the processing program to choose whether to Perform high-speed and high-precision control, and can perform functions such as G05.1Q0, M02, M30, Reset, and emergency stop , Off-speed high-precision control, thereby providing a simple input, and automatically adjusts the controller to save time specified accuracy control methods.

為能詳細瞭解本發明的技術特徵及實用功效,並可依照說明書的內容來實施,玆進一步以圖式(如圖1及2所示)所示的較佳實施例,詳細說明如後:In order to understand the technical features and practical effects of the present invention in detail, and can be implemented in accordance with the contents of the description, the preferred embodiment shown in the drawings (as shown in Figures 1 and 2) is further described in detail as follows:

本發明控制器之精度指定控制方法係包含有以下的操作步驟,其中:The precision designation control method of the controller of the present invention includes the following operation steps, among which:

A、準備步驟:於一工具機10的控制器20中安裝一線上鑑別自動調校程式21,且於該工具機10的人機介面30中設置一加工模態選擇頁面31以及一加工程式啟動加工模態32,該加工模態選擇頁面31與該控制器20之線上鑑別自動調校程式21相連接,進一步,該工具機10於使用前能包含:事前準備與設定以及使用設定兩部份,其中工廠在機台完工出廠前便會依每個機台事先進行調校,在廠內機台會先透過使用Pacemotion進行調整,並設定加工相關之參數於參數頁面中,並且在使用設定時,當使用者欲設定加工模態時,可依實際需求如粗加工時並不要求表面精度,可使用較快的速度進行加工,則可以在功能畫面或由加工程式中執行指令,進行等級設定值的選取,進而自行依此設定值與前述設定好的相關參數進行計算。A. Preparation steps: Install an online identification automatic adjustment program 21 in the controller 20 of a machine tool 10, and set a processing mode selection page 31 and a processing program start in the man-machine interface 30 of the machine tool 10. Processing mode 32, the processing mode selection page 31 is connected to the online identification automatic adjustment program 21 of the controller 20. Further, the machine tool 10 can include: preparation and setting before use and setting of use before use. Among them, the factory will adjust each machine in advance before the machine is completed and leaves the factory. The machine in the factory will first adjust by using Pacemotion, and set the processing related parameters in the parameter page, and when using the settings When the user wants to set the processing mode, according to the actual needs, such as roughing does not require surface accuracy, and can be processed at a faster speed, you can execute instructions on the function screen or in the processing program to set the level The value is selected, and the calculation is performed according to the set value and the related parameters set previously.

B、預讀插補步驟:於此操作步驟中經由伺服馬達11驅動該工具機10的刀具12進行移動,使位於該控制器20內的線上鑑別自動調校程式21,如圖3所示讀取該刀具12的至少兩段的數值控制(Numerical Control;NC)路徑資料(N1及N2,此路徑不包含Z軸方向之移動),其中如圖4至6所示當進行切線速度行前加減速規劃後分配至各軸向(X及Y軸)時,因該至少兩段路徑(N1及N2)的幾何關係不相同,使得該至少兩段路徑(N1及N2)於各軸向的路徑相接處產生速度不連續的現象,進一步於各軸向的路徑相接處設有一轉角速度差(ΔVmax),使各軸向的轉角速度差小於一設定的容許速度差,藉以提高轉角部分的精度,其中當轉角速度差小於容許速度差時,加工路徑會越接近編程路徑,反之,當轉角速度差大於容許速度差時,可能會有超出或偏離編程路徑的現象,其中該至少兩段路徑(N1及N2)的幾何角度關係,可由轉角速度差(Δ𝑉𝑥及Δ𝑉𝑦)來決定轉角時的速度,其轉角速度Vc 係如方程式(1)所示: 𝑉𝑐=min{𝑉𝑐𝑥、𝑉𝑐𝑦}………………………………………………………….(1) 其中Δ𝑉𝑥=𝑉𝑐𝑦𝑠𝑖𝑛𝜃2−𝑉𝑐𝑦𝑠𝑖𝑛𝜃1,Δ𝑉𝑦=𝑉𝑐𝑥𝑐𝑜𝑠𝜃2−𝑉𝑐𝑥𝑐𝑜𝑠𝜃1。B. Pre-reading interpolation step: In this operation step, the tool 12 of the machine tool 10 is driven to move through the servo motor 11 so that the online identification automatic adjustment program 21 located in the controller 20 is read, as shown in FIG. 3 Take at least two pieces of Numerical Control (NC) path data of the tool 12 (N1 and N2, this path does not include movement in the Z-axis direction), as shown in Figures 4 to 6 When assigned to each axis (X and Y axis) after deceleration planning, the geometric relationship between the at least two sections of paths (N1 and N2) is different, so that the paths of the at least two sections (N1 and N2) are in the paths of each axis The discontinuity in speed occurs at the joints. Further, a corner speed difference (ΔVmax) is provided at the joint of the paths in each axial direction, so that the angular speed difference in each axial direction is less than a set allowable speed difference, thereby improving the corner angle. Accuracy, where when the angular speed difference is less than the allowable speed difference, the machining path will be closer to the programmed path. Conversely, when the angular speed difference is greater than the allowable speed difference, the phenomenon may exceed or deviate from the programmed path. The at least two paths (N1 and N2) Angular relationship, by angular speed difference (Δ 𝑉𝑥 and Δ 𝑉𝑦) to determine the speed at which the angle of rotation of angular velocity Vc line such as Equation (1) below: 𝑉𝑐 = min {𝑉𝑐𝑥,𝑉𝑐𝑦} ... ………………………………………… ……………. (1) where Δ 𝑉𝑥 = 𝑉𝑐𝑦𝑠𝑖𝑛𝜃 2− 𝑉𝑐𝑦𝑠𝑖𝑛𝜃 1, Δ 𝑉𝑦 = 𝑉𝑐𝑥𝑐𝑜𝑠𝜃 2 − 𝑉𝑐𝑥𝑐𝑜𝑠𝜃 1.

進一步,當刀具12進行高速圓弧的加工時,由於實際的刀具12路徑跟命令會有誤差,當向心加速度越大時進給速度越快,而圓內縮的誤差也會變大,因此,以向心加速度為目標來設定圓弧進給速度,其中該圓弧進給速度𝑉𝑎係如方程式(2)所示:

Figure TW201800885AD00001
𝑉𝑎=√𝐴𝑎×𝑟 …………………………………………………………………….(2) 其中Aa 為加速度,𝑟為圓弧路徑之半徑。Further, when the tool 12 performs high-speed arc processing, because the actual tool 12 path will have errors with the command, the higher the centripetal acceleration is, the faster the feed speed will be, and the error of the circle indentation will become larger, so The arc feed speed is set with the centripetal acceleration as the target, wherein the arc feed speed 𝑉𝑎 is shown in equation (2):
Figure TW201800885AD00001
𝑉𝑎 = √ 𝐴𝑎 × 𝑟 ………………………………………………………………. (2) where Aa is the acceleration and 𝑟 is the radius of the arc path.

如圖7所示,其中每一段橫線代表該單段行程的速度值,圓點則代表計算出來的平均速度差,來作為限制該單段的行程速度限制值,其中部分單段的行程速度值小於速度限制值,其係因當該單段執行通過曲率高的路徑時會以較低速度通過,根據路徑資訊算出時均速度差來限制各段路徑的行程速度限制值,使工具機10在行經曲率高的路徑時係以低速通過。As shown in Figure 7, each horizontal line represents the speed value of the single-stage stroke, and the dots represent the calculated average speed difference as the limit speed limit value of the single-stage stroke, of which some of the single-stage stroke speeds The value is smaller than the speed limit value, because when the single segment is executed through a path with high curvature, it will pass at a lower speed. The average speed difference based on the path information is calculated to limit the travel speed limit value of each path, making the machine tool 10 Passes at a low speed when traveling on a path with high curvature.

C、設定步驟:請配合參看如圖8所示,於該人機介面30切換出該加工模態設定頁面31,該加工模態設定頁面31提供數個供使用者依據加工需求進行設定的數字按鍵311(數值設定範圍為1〜10),當加工需求為粗加工而需要快速加工時,按壓數字按鍵311之數值為1或2〜5,而當加工需求為精加工或者需要更高精度加工時,則按壓數字按鍵311之數值為10或6〜9,進一步,該加工程式啟動加工模態32之指令格式為G05.1Qq Rr,其中Qq是高速高精控制功能的模式設定值,當q=0表示關閉高速高精,q=1表示開啟高速高精,q=2表示開啟高速高精控制與單段平滑功能,而Rr是高速高精控制功能的加工條件等級設定值,其設定範圍為R1〜R10,其中R1為使用速度優先的相關參數進行高速高精控制,R10為使用精度優先的相關參數進行高速高精控制,而R2〜R9的相關參數則由R1與R10等比例來決定,其中當高速高精控制功能生效後,如有執行G05.1Q0、M02、M30、Reset、緊急停止等功能,高速高精控制功能就會被取消,其中G05.1Q0是指關閉高速高精控制功能指令,M02是指程式結束但停在程式結束處,M30是指程式結束並回到程式開頭處,而Reset是指重置。C. Setting steps: Please refer to FIG. 8 for reference. The processing mode setting page 31 is switched on the human-machine interface 30. The processing mode setting page 31 provides several numbers for users to set according to processing requirements. Button 311 (the value setting range is 1 ~ 10). When the machining requirement is rough machining and fast machining is needed, press the numeric button 311 value is 1 or 2 ~ 5, and when the machining requirement is finishing machining or higher precision machining is required When pressing the numeric key 311, the value of 10 or 6 ~ 9 is pressed. Further, the command format of the processing mode 32 to start the processing mode is G05.1Qq Rr, where Qq is the mode setting value of the high-speed and high-precision control function. When q = 0 means high speed and high precision are turned off, q = 1 means high speed and high precision is turned on, q = 2 means high speed and high precision control and single-stage smoothing are turned on, and Rr is the processing condition level setting value of the high speed and high precision control function, and its setting range R1 ~ R10, where R1 is high-speed and high-precision control using related parameters with priority on speed, R10 is high-speed and high-precision control using related parameters with priority on accuracy, and related parameters of R2 ~ R9 are determined by the ratio of R1 and R10. Among them, after the high-speed and high-precision control function becomes effective, if G05.1Q0, M02, M30, Reset, emergency stop and other functions are executed, the high-speed and high-precision control function will be canceled. Among them, G05.1Q0 means to turn off the high-speed and high-precision control. Function instructions, M02 means the program ends but stops at the end of the program, M30 means the program ends and returns to the beginning of the program, and Reset means reset.

藉由上述的技術手段,本發明控制器之精度指定控制方法,於操作時使用者僅需依據所需控制精度之公差範圍等量化值,於該加工模態設定頁面31中按壓與加工需求相對應(粗加工、精細加工、快速加工或慢加工等)的數字按鍵311,即可讓使用者方便地於速度及精度進行選擇,並且透過該控制器20內的線上鑑別自動調校程式21自動換算相關參數,再提供一可變參考的輸入命令至伺服馬達11,進而讓刀具12依據校正後的參數進行移動及加工,不需如現有工具機於使用時,使用者需自行觀察並透過經驗修改輸入的控制參數,方能完成調整控制器之輸入控制參數;進一步,透過於該工具機的人機介面中設置一加工程式啟動加工模態32的方式,在設定步驟中能透過對於加工程式啟動加工模態32之指令進行設定,藉以選擇是否進行高速高精控制,並且能在執行G05.1Q0、M02、M30、Reset、緊急停止等功能時,關閉高速高精控制功能,藉以提供一簡單輸入、自動調整及節省時間的控制器之精度指定控制方法。By means of the above-mentioned technical means, the precision designation control method of the controller of the present invention, during operation, the user only needs to quantify values such as the tolerance range of the required control precision, and press the phase corresponding to the processing demand in the processing mode setting page 31. Corresponding (rough machining, fine machining, fast machining or slow machining, etc.) digital button 311 allows users to easily select speed and accuracy, and automatically adjusts the program 21 automatically through the online identification in the controller 20 Relevant parameters are converted, and a variable reference input command is provided to the servo motor 11 to allow the tool 12 to move and process according to the corrected parameters. It is not necessary for the user to observe and experience through the use of existing machine tools. The input control parameters of the controller can be adjusted after modifying the input control parameters. Further, by setting a processing program to start the processing mode 32 in the man-machine interface of the machine tool, in the setting step, the processing program can be adjusted by Start the processing mode 32 to set the command, so as to choose whether to perform high-speed and high-precision control, and can execute G05.1Q0 When M02, M30, Reset, emergency stop, etc., off-speed high-precision control, thereby providing a simple input, the controller automatically adjusts the time and precision specified saving control method.

以上所述,僅是本發明的較佳實施例,並非對本發明作任何形式上的限制,任何所屬技術領域中具有通常知識者,若在不脫離本發明所提技術方案的範圍內,利用本發明所揭示技術內容所作出局部更動或修飾的等效實施例,並且未脫離本發明的技術方案內容,均仍屬於本發明技術方案的範圍內。The above is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Any person with ordinary knowledge in the technical field may use the present invention without departing from the scope of the technical solution provided by the present invention. Equivalent embodiments of partial changes or modifications made to the technical content disclosed by the invention without departing from the technical solution content of the present invention are still within the scope of the technical solution of the present invention.

10‧‧‧工具機
11‧‧‧伺服馬達
12‧‧‧刀具
20‧‧‧控制器
21‧‧‧線上鑑別自動調校程式
30‧‧‧人機介面
31‧‧‧加工模態選擇頁面
311‧‧‧數字按鍵
32‧‧‧加工程式啟動加工模態
10‧‧‧tool machine
11‧‧‧Servo motor
12‧‧‧Tools
20‧‧‧ Controller
21‧‧‧Online identification automatic adjustment program
30‧‧‧Human Machine Interface
31‧‧‧Machining mode selection page
311‧‧‧ number buttons
32‧‧‧ Machining program starts machining mode

圖1是本發明控制器之精度指定控制方法的方塊流程圖。 圖2是本發明控制器之精度指定控制方法中相關裝置的方塊示意圖。 圖3是本發明控制器之精度指定控制方法的對於兩段路徑進行數值運算的示意圖。 圖4是本發明控制器之精度指定控制方法對於X軸向的速度-時間關係圖。 圖5是本發明控制器之精度指定控制方法對於Y軸向的速度-時間關係圖。 圖6是本發明控制器之精度指定控制方法對於切線速度及時間的關係圖。 圖7是本發明控制器之精度指定控制方法對於各段路徑的行程速度之限制值之示意圖。 圖8是本發明控制器之精度指定控制方法進行數值設定的操作示意圖。 圖9是現有工具機輸入控制參數的操作方塊示意圖。FIG. 1 is a block flow chart of a method for controlling accuracy of a controller according to the present invention. FIG. 2 is a block diagram of related devices in a method for designating precision control of a controller of the present invention. FIG. 3 is a schematic diagram of performing a numerical operation on a two-segment path by the precision designation control method of the controller of the present invention. FIG. 4 is a speed-time relationship diagram for the X-axis direction of the precision designation control method of the controller of the present invention. FIG. 5 is a speed-time relationship diagram for the Y-axis of the precision designation control method of the controller of the present invention. FIG. 6 is a diagram showing the relationship between the tangent speed and time of the precision designation control method of the controller of the present invention. FIG. 7 is a schematic diagram of the limit value of the travel speed of each path of the controller of the precision designation control method of the present invention. FIG. 8 is an operation schematic diagram of setting a value by a precision designation control method of a controller of the present invention. FIG. 9 is a schematic block diagram of an operation for inputting control parameters of a conventional machine tool.

Claims (7)

一種控制器之精度指定控制方法,其包含以下的操作步驟: 準備步驟:於一工具機的控制器中安裝一線上鑑別自動調校程式,且於該工具機的人機介面中設置一加工模態選擇頁面,該加工模態選擇頁面與該控制器之線上鑑別自動調校程式相連接; 預讀插補步驟:於此操作步驟中驅動該工具機的刀具進行移動,使位於該控制器內的線上鑑別自動調校程式,讀取該刀具的至少兩段路徑資料,並進行切線速度行前加減速規劃後分配至各軸向時,各軸向的轉角速度差小於一設定的容許速度差,藉以提高轉角部分的精度,且由各軸向的轉角速度差來決定轉角時的速度;以及 設定步驟:於該人機介面切換出該加工模態設定頁面,該加工模態設定頁面提供數個供使用者依據加工需求進行設定的數字按鍵,依加工需求按壓相對應的數字按鍵。A controller precision designation control method includes the following operation steps: Preparing steps: installing an online identification and automatic adjustment program in a machine tool controller, and setting a processing mode in a man-machine interface of the machine tool Modal selection page, the processing modal selection page is connected to the online identification automatic adjustment program of the controller; pre-reading interpolation step: in this operation step, the tool of the machine tool is driven to move so that it is located in the controller The on-line identification automatic adjustment program reads at least two pieces of path data of the tool, and performs tangential speed pre-acceleration and deceleration planning before distributing to each axis. The angular velocity difference between each axis is less than a set allowable speed difference. , In order to improve the accuracy of the corner part, and the speed at the corner is determined by the angular speed difference of each axis; and the setting step: the processing mode setting page is switched out on the man-machine interface, and the processing mode setting page provides data A number button for users to set according to processing requirements, and press the corresponding number button according to processing requirements. 如請求項1所述之控制器之精度指定控制方法,其中在預讀插補步驟中,當刀具進行高速圓弧的加工時,以向心加速度為目標來設定刀具的圓弧進給速度。The precision specifying control method of the controller according to claim 1, wherein in the pre-reading interpolation step, when the tool is processing a high-speed arc, the arc feed speed of the tool is set with the centripetal acceleration as the target. 如請求項1或2所述之控制器之精度指定控制方法,其中在預讀插補步驟中,根據路徑資訊算出時均速度差來限制各段路徑的行程速度限制值,使工具機在行經曲率高的路徑時係以低速通過。The controller precision designation control method as described in claim 1 or 2, wherein in the pre-reading interpolation step, the travel speed limit value of each path is limited based on the calculated average speed difference based on the path information, so that the machine tool can pass through A path with a high curvature passes at a low speed. 如請求項3所述之控制器之精度指定控制方法,其中在設定步驟中,該數個數字按鍵的數值設定範圍為1〜10,其中當加工需求為粗加工而需要快速加工時,按壓數字按鍵之數值為1或2〜5,而當加工需求為精加工或者需要更高精度加工時,則按壓數字按鍵之數值為10或6〜9。The method for controlling the accuracy of the controller as described in claim 3, wherein in the setting step, the numerical value setting range of the number keys is 1 to 10, and when the processing requirement is rough machining and fast machining is required, press the number The value of the key is 1 or 2 ~ 5, and when the machining requirement is finishing or more precise machining is required, the value of the number button is 10 or 6 ~ 9. 如請求項4所述之控制器之精度指定控制方法,其中在準備步驟中,於該工具機的人機介面中設置一加工程式啟動加工模態,且在設定步驟中,該加工程式啟動加工模態之指令格式為G05.1Qq Rr,其中Qq是高速高精控制功能的模式設定值,當q=0表示關閉高速高精,q=1表示開啟高速高精,q=2表示開啟高速高精控制與單段平滑功能,而Rr是高速高精控制功能的加工條件等級設定值,其設定範圍為R1〜R10,其中R1為使用速度優先的相關參數進行高速高精控制,R10為使用精度優先的相關參數進行高速高精控制,而R2〜R9的相關參數則由R1與R10等比例來決定。The precision specifying control method of the controller as described in claim 4, wherein in the preparation step, a processing program is started in the man-machine interface of the machine tool, and the processing program is started in the setting step. The modal instruction format is G05.1Qq Rr, where Qq is the mode setting value of the high-speed high-precision control function. When q = 0, high-speed high-precision is turned off, q = 1 is high-speed high-precision, and q = 2 is high-speed high-precision. Fine control and single-stage smoothing function, while Rr is the setting value of the processing condition level of the high-speed and high-precision control function, and its setting range is R1 ~ R10, where R1 is the high-speed high-precision control using related parameters with speed priority and R10 is the use accuracy The priority related parameters are controlled at high speed and high precision, while the related parameters of R2 to R9 are determined by the ratio of R1 and R10. 如請求項1或2所述之控制器之精度指定控制方法,其中在設定步驟中,該數個數字按鍵的數值設定範圍為1〜10,其中當加工需求為粗加工而需要快速加工時,按壓數字按鍵之數值為1或2〜5,而當加工需求為精加工或者需要更高精度加工時,則按壓數字按鍵之數值為10或6〜9。The precision designation control method of the controller as described in claim 1 or 2, wherein in the setting step, the value setting range of the number keys is 1 to 10, where when the processing requirement is rough machining and fast machining is required, The value of pressing the number button is 1 or 2 ~ 5, and when the processing requirement is finishing or higher precision processing is required, the value of pressing the number button is 10 or 6 ~ 9. 如請求項1或2所述之控制器之精度指定控制方法,其中在準備步驟中,於該工具機的人機介面中設置一加工程式啟動加工模態,且在設定步驟中,該加工程式啟動加工模態之指令格式為G05.1Qq Rr,其中Qq是高速高精控制功能的模式設定值,當q=0表示關閉高速高精,q=1表示開啟高速高精,q=2表示開啟高速高精控制與單段平滑功能,而Rr是高速高精控制功能的加工條件等級設定值,其設定範圍為R1〜R10,其中R1為使用速度優先的相關參數進行高速高精控制,R10為使用精度優先的相關參數進行高速高精控制,而R2〜R9的相關參數則由R1與R10等比例來決定。The method for controlling precision designation of a controller as described in claim 1 or 2, wherein in the preparation step, a processing program is started in a man-machine interface of the machine tool, and in the setting step, the processing program The command format for starting the processing mode is G05.1Qq Rr, where Qq is the mode setting value of the high-speed and high-precision control function. When q = 0, high-speed and high-precision are turned off, q = 1 is high-speed and high-precision turned on, and q = 2 is on. High-speed high-precision control and single-stage smoothing function, and Rr is the processing condition level setting value of the high-speed high-precision control function. Its setting range is R1 ~ R10, where R1 is the high-speed high-precision control using related parameters with speed priority, and R10 is High-precision and high-precision control are performed using related parameters with priority on precision, while the related parameters of R2 to R9 are determined by the ratio of R1 and R10.
TW105120172A 2016-06-27 2016-06-27 Accuracy-designated control method for controller for simple input, automatic adjustment, and time saving TW201800885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105120172A TW201800885A (en) 2016-06-27 2016-06-27 Accuracy-designated control method for controller for simple input, automatic adjustment, and time saving

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105120172A TW201800885A (en) 2016-06-27 2016-06-27 Accuracy-designated control method for controller for simple input, automatic adjustment, and time saving

Publications (1)

Publication Number Publication Date
TW201800885A true TW201800885A (en) 2018-01-01

Family

ID=61725421

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105120172A TW201800885A (en) 2016-06-27 2016-06-27 Accuracy-designated control method for controller for simple input, automatic adjustment, and time saving

Country Status (1)

Country Link
TW (1) TW201800885A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110376962A (en) * 2018-04-12 2019-10-25 发那科株式会社 Setting device and computer-readable medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110376962A (en) * 2018-04-12 2019-10-25 发那科株式会社 Setting device and computer-readable medium
CN110376962B (en) * 2018-04-12 2023-08-15 发那科株式会社 Setting device and computer readable medium

Similar Documents

Publication Publication Date Title
JP5414948B1 (en) Numerical controller
CN109725602B (en) Numerical controller, CNC machine tool, computer-readable information recording medium, and numerical control method
US7933677B2 (en) System and method for surface finish management
TWI512417B (en) Apparatus for creating processing program, numerical control apparatus, processing system, method for creating processing program, and numerical control method
US11681274B2 (en) Postprocessor device that generates a machining program including instruction for changing at least one parameter to be used for controlling at least one axis of a CNC machine tool
JP6423811B2 (en) Numerical control device that can change machining conditions according to machining information
CN111033404B (en) Method for operating a numerically controlled machine tool and related machine tool
CN102331744A (en) Numerical controller for machine tool with function of controlling speed of arc operation
US7348748B2 (en) Motorized system and method of control
JP4480869B2 (en) Numerical controller
CN110543139A (en) A Control Method of Extended Finishing NC Machining
JP2001255919A (en) Numerical control device and numerical control method
JPH06274228A (en) Numerical control device
TW201800885A (en) Accuracy-designated control method for controller for simple input, automatic adjustment, and time saving
TW201627787A (en) Trajectory planning system for integrating computer numerical control (CNC) machine, trajectory planning device, trajectory planning method, and computer program product thereof
CN118891593A (en) Speed dependent transition linking between blocks with discontinuous tracks
JP6770018B2 (en) Setting device and setting program
JP6643462B2 (en) Method, controller, machine, and computer program for providing roaming profile
TWI336822B (en) Method of tolerance-based trajectory planning and control
WO2022138843A1 (en) Numerical control device
CN116057485A (en) Apparatus and method for machining a workpiece
JP7469574B1 (en) Parameter adjustment device and computer-readable recording medium
CN101506748A (en) System and method for surface finish management
KR100315211B1 (en) A method for controlling the tool path in machine tool
JPH06348329A (en) Control method of machine tool