TWM543137U - Tool servo control system - Google Patents

Tool servo control system Download PDF

Info

Publication number
TWM543137U
TWM543137U TW106202232U TW106202232U TWM543137U TW M543137 U TWM543137 U TW M543137U TW 106202232 U TW106202232 U TW 106202232U TW 106202232 U TW106202232 U TW 106202232U TW M543137 U TWM543137 U TW M543137U
Authority
TW
Taiwan
Prior art keywords
tool
control system
driver
servo control
motion command
Prior art date
Application number
TW106202232U
Other languages
Chinese (zh)
Inventor
李柏瑩
陳丁銓
蕭文瑋
Original Assignee
新代科技股份有限公司
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 新代科技股份有限公司 filed Critical 新代科技股份有限公司
Priority to TW106202232U priority Critical patent/TWM543137U/en
Publication of TWM543137U publication Critical patent/TWM543137U/en

Links

Landscapes

  • Automatic Tool Replacement In Machine Tools (AREA)
  • Numerical Control (AREA)

Abstract

A tool servo control system is provided that includes a host controller, a driver, a motor and a tool magazine. The driver is adapted to receive a motion command sent by the host controller and a driver motion command according to the motion command, the motor is adapted to receive the driver motion command sent by the driver, and the motor includes an encoder and the tool magazine includes a plurality of tools, thus the encoder can feedback the current angle information of the motor to the driver, the driver sent the angle information to the host controller, and the host controller calculates the current tool number according to the angle information, and according to the target knife number corresponding to the current tool number to calculate the required rotation angle to sent the correct motion command, so that the motor according to the motion command and the required rotation angle, rotate the tool in the tool magazine until the required tool reach the specified location.

Description

刀具伺服控制系統 Tool servo control system

本創作提供一種工作機械的控制系統,特別是指工作機械的刀具伺服控制系統。 This creation provides a control system for a working machine, in particular a tool servo control system for a working machine.

在工作機械產業,不管車床或銑床,都有更換刀具的需求。為了提升換刀速度,工作機械上同時存在多把刀具有其必要性,刀庫便因此而產生。一般來說,加工時只有一把刀具與工件做接觸,其它刀具則是靜置在刀庫中待命,等到需要更換刀具時,刀庫就會轉動或移動,讓目標刀具到達定位。 In the work machine industry, there is a need to change tools regardless of lathes or milling machines. In order to increase the speed of the tool change, it is necessary to have multiple knives on the work machine at the same time, and the tool magazine is thus produced. Generally speaking, only one tool is in contact with the workpiece during machining, and other tools are placed in the tool magazine for standby. When the tool needs to be replaced, the tool magazine will rotate or move to let the target tool reach the position.

早期的旋轉型刀庫其動力來源是油壓馬達,使用凸輪機構與刀庫配合,當刀庫需要轉動時,由上位控制器計算需轉動幾個刀位,然後發出輸入/輸出(I/O)訊號,通知油壓馬達開始轉動,在刀庫上裝有感測器,同樣回傳I/O訊號通知上位控制器已完成幾次轉動,最後就會準確停在目標刀位上。使用油壓馬達驅動刀庫時,上位控制器需在可程式控制器(Programmable Logic Controller,PLC)內編輯刀位檢查及命令發送的內容,缺點是一次只能轉動一個刀位,在到達目標刀位前,上位控制器必須一直發出轉動命令, 而且只能透過I/O訊號溝通,因為交流的資訊有限,上位控制器無法做更進一步的控制,另一方面,此類機構在刀庫轉動時的聲音及振動也較大。 The early rotary type tool magazine was powered by a hydraulic motor. The cam mechanism was used with the tool magazine. When the tool magazine needs to be rotated, the upper controller calculates the number of positions to be rotated, and then outputs/outputs (I/O). The signal informs the hydraulic motor to start rotating, and the sensor is installed on the tool magazine. The I/O signal is also sent back to inform the upper controller that several rotations have been completed, and finally the target position is accurately stopped. When using a hydraulic motor to drive the tool magazine, the host controller needs to edit the tool position check and command transmission contents in the Programmable Logic Controller (PLC). The disadvantage is that only one tool position can be rotated at a time, and the target knife is reached. Before the bit, the upper controller must always issue a rotation command. Moreover, only I/O signals can be communicated. Because the communication information is limited, the upper controller cannot perform further control. On the other hand, the sound and vibration of such a mechanism when the magazine is rotated is also large.

現階段使用伺服馬達來驅動刀庫已經慢慢成為主流(以下簡稱為伺服刀庫),上位控制器將伺服刀庫當成運動軸向來控制(例如三軸銑床的XYZ軸),在規劃命令時,上位控制器不是用幾號刀位來處理,而是用馬達角度來處理,例如刀庫可放10把刀,刀位間隔為360度的十分之一,也就是36度,若要轉動三個刀位,則上位控制器會發出讓刀庫轉動108度的指令,同時上位控制器以馬達編碼器的迴授來判斷刀庫目前轉到哪個刀位。使用伺服刀庫時,上位控制器不用對PLC進行處理,但要客製換刀用的副程式,內容需定義刀庫的刀具數量、刀庫的轉動速度等,並依機台狀況自行定義異常警報,因此副程式的撰寫者是否考慮周全或經驗豐富,會影響刀庫的保護程度及異常發生時的處理速度。相較於油壓馬達的架構,伺服刀庫的轉動較順暢且安靜,上位控制器藉由編碼器迴授可精確掌握刀庫位置,在應用上已經算相當便利,缺點是上位控制器與下位驅動器之間的整合性不佳,雖然已有足夠的資訊在交流,但在設定及診斷上仍未能妥善運用。 At this stage, using the servo motor to drive the tool magazine has gradually become the mainstream (hereinafter referred to as the servo tool magazine), and the upper controller controls the servo tool magazine as the motion axis (for example, the XYZ axis of the three-axis milling machine), when planning the command. The upper controller is not treated with a few tool positions, but with a motor angle. For example, the tool magazine can hold 10 knives. The tool position is one tenth of 360 degrees, that is, 36 degrees. For the three tool positions, the upper controller will issue a command to rotate the tool magazine by 108 degrees, and the upper controller will use the feedback of the motor encoder to determine which tool position the tool magazine is currently moving to. When using the servo tool magazine, the upper controller does not need to process the PLC, but the sub-program for the tool change is required. The content needs to define the number of tools in the tool magazine, the rotation speed of the tool magazine, etc., and define the abnormality according to the condition of the machine. Alerts, so whether the author of the subroutine is considered thoughtful or experienced will affect the degree of protection of the tool magazine and the processing speed when the anomaly occurs. Compared with the structure of the hydraulic motor, the servo tool magazine rotates smoothly and quietly. The upper controller can accurately grasp the position of the tool magazine by encoder feedback, which is quite convenient in application. The disadvantage is the upper controller and the lower position. The integration between the drivers is not good. Although there is enough information to communicate, it has not been properly used in setting and diagnosis.

為了解決上述需求,本創作主要提供一種刀具伺服控制系統,包含:上位控制器,用以發送運動指令;驅動器,用以接收上位控制器所發送的運動指令以及根據運動指令發送驅動運動指令;具有編碼器的馬達,馬達用以接收由驅動器所發送的驅動運動指令;以及刀庫,具有多把刀具,藉此編碼器可將馬達當下的角度資訊迴授至驅動器,驅動器傳送角度資訊至上位控制 器,上位控制器根據角度資訊計算出目前刀號,並依據目標刀號對應於此目前刀號計算出所需轉動的角度,以發出正確的運動指令,使得馬達根據運動指令及所需的轉動的角度,旋轉驅動刀庫內的多把刀具直至所需的刀具到達指定位置為止。 In order to solve the above requirements, the present invention mainly provides a tool servo control system, comprising: an upper controller for transmitting a motion instruction; a driver for receiving a motion instruction sent by the upper controller and transmitting a motion motion command according to the motion instruction; The motor of the encoder, the motor is used to receive the driving motion command sent by the driver; and the tool magazine has a plurality of tools, whereby the encoder can feed back the angle information of the motor to the driver, and the driver transmits the angle information to the upper control. The upper controller calculates the current tool number based on the angle information, and calculates the required rotation angle according to the target tool number corresponding to the current tool number to issue a correct motion command, so that the motor according to the motion command and the required rotation The angle of rotation drives multiple tools in the magazine until the desired tool reaches the specified position.

於上述之目的,在本創作之較佳實施方式中,其中上位控制器更包括參數設定及儲存資料庫。 For the above purposes, in a preferred embodiment of the present invention, the upper controller further includes a parameter setting and storage database.

於上述之目的,在本創作之較佳實施方式中,其中參數設定及儲存資料庫至少包括刀庫刀具數量、刀庫轉動速度、刀庫轉動加速度、刀庫機構的齒輪比及目標刀號角度誤差容許值。 In the above preferred embodiment, the parameter setting and storage database includes at least the tool magazine number, the tool magazine rotation speed, the tool magazine rotation acceleration, the tool magazine gear ratio, and the target tool angle. Error tolerance.

於上述之目的,在本創作之較佳實施方式中,其中上位控制器、驅動器利用串列格式彼此通訊連接。 For the above purposes, in a preferred embodiment of the present invention, the upper controller and the drive are communicatively coupled to each other using a serial format.

於上述之目的,在本創作之較佳實施方式中,其中刀具伺服控制系統還包括異常警報單元。 For the above purposes, in a preferred embodiment of the present invention, wherein the tool servo control system further includes an abnormality alarm unit.

於上述之目的,在本創作之較佳實施方式中,其中上位控制器還包括該刀具伺服控制系統監控以及異常狀態判斷。 For the above purposes, in a preferred embodiment of the present invention, the upper controller further includes the tool servo control system monitoring and abnormal state determination.

於上述之目的,在本創作之較佳實施方式中,其中刀具伺服控制系統的操作介面可支援最多三組刀庫的操作介面應用。 For the above purposes, in the preferred embodiment of the present invention, the operating interface of the tool servo control system can support the operation interface application of up to three sets of tool magazines.

綜合上述之目的,刀具伺服控制系統的應用情境下,藉由使用串列格式機制,使上位控制器可對伺服驅動器進行更深入的控制,並獲取伺服驅動器的多樣資訊及馬達之編碼器的迴授,以此為基礎,以改善設定及診斷上的運用。 To achieve the above purpose, in the application context of the tool servo control system, the host controller can perform more in-depth control of the servo driver by using the serial format mechanism, and obtain various information of the servo driver and the encoder back of the motor. Based on this, to improve the use of settings and diagnosis.

1‧‧‧上位控制器 1‧‧‧Upper controller

2‧‧‧驅動器 2‧‧‧ Drive

3‧‧‧馬達 3‧‧‧Motor

4‧‧‧編碼器 4‧‧‧Encoder

5‧‧‧刀庫 5‧‧‧Magazine

6‧‧‧參數設定及儲存資料庫單元 6‧‧‧Parameter setting and storage database unit

7‧‧‧監視畫面單元 7‧‧‧Monitor screen unit

8‧‧‧異常警報單元 8‧‧‧Abnormal alarm unit

51‧‧‧刀具 51‧‧‧Tools

S01~S08‧‧‧刀具伺服控制系統的驅動流程步驟 S01~S08‧‧‧Driver control system drive process steps

圖1為根據本創作的刀具伺服控制系統方塊示意圖。 1 is a block diagram of a tool servo control system in accordance with the present teaching.

圖2為根據本創作的刀具伺服控制系統的操作介面連接關係示意圖。 2 is a schematic diagram showing the connection relationship of the operation interface of the tool servo control system according to the present invention.

圖3為根據本創作的刀具伺服控制系統的驅動流程示意圖。 FIG. 3 is a schematic diagram showing the driving flow of the tool servo control system according to the present invention.

本創作之優點及特徵以及達到其方法將參照例示性實施例及附圖進行更詳細的描述而更容易理解。然而,本創作可以不同形式來實現且不應被理解僅限於此處所陳述的實施例。相反地,對所屬技術領域具有通常知識者而言,所提供的此些實施例將使本揭露更加透徹與全面且完整地傳達本創作的範疇。 Advantages and features of the present invention, as well as methods for achieving the same, will be more readily understood by reference to the exemplary embodiments and the accompanying drawings. However, the present invention may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a thorough and complete and complete disclosure of the scope of the present invention.

請參考圖1所示,為本創作一較佳實施例之刀具伺服控制系統方塊示意圖,刀具伺服控制系統主要包含有上位控制器1、驅動器2、馬達3與刀庫5,其中馬達3還包括編碼器4。 Please refer to FIG. 1 , which is a block diagram of a tool servo control system according to a preferred embodiment of the present invention. The tool servo control system mainly includes a host controller 1 , a driver 2 , a motor 3 and a tool magazine 5 , wherein the motor 3 further includes Encoder 4.

上位控制器1是藉由串列格式(Mechatrolink)與驅動器2進行連接,但此連接方式不應被理解僅限於此處所陳述的實施例。 The upper controller 1 is connected to the drive 2 by means of a serial format (Mechatrolink), but this connection should not be construed as being limited to the embodiments set forth herein.

上位控制器1具有發送運動指令藉由串列格式傳輸運動指令於驅動器2。驅動器2用以接收上位控制器1所發送出的運動指令,並根據此運動指令發送驅動運動指令傳輸於馬達3。具有編碼器4的馬達3,馬達3用以接收由驅動器2所發送的驅動運動指令。 The upper controller 1 has a transmission motion command for transmitting a motion instruction to the driver 2 in a serial format. The driver 2 is configured to receive the motion command sent by the upper controller 1 and transmit the drive motion command to the motor 3 according to the motion command. A motor 3 having an encoder 4 for receiving a drive motion command transmitted by the driver 2.

刀庫5中具有多把刀具51,其中編碼器4可將馬達3當下的角度資訊迴授至驅動器2,該驅動器2再藉由串列格式傳送角度資訊至上位控制器1,使得上位控制器1可以根據角度資訊計算出目前刀號,並依據目標刀號對應於目前刀號計算出所需轉動的角度,然後再發出正確的運動指令。驅動器2接收上位控制器1所發送出的運動指令,並根據運動指令發送驅動運動指令傳輸於馬達3,馬達3用以接收由驅動器2所發送的驅動運動指令,用以驅動刀庫5旋轉在刀庫5內的刀具51,直至所需要的刀具51到達指定位置為止。 The tool magazine 5 has a plurality of tools 51, wherein the encoder 4 can feed back the angle information of the motor 3 to the driver 2, and the driver 2 transmits the angle information to the upper controller 1 by the serial format, so that the upper controller 1 can calculate the current tool number according to the angle information, and calculate the required rotation angle according to the target tool number corresponding to the current tool number, and then issue the correct motion command. The driver 2 receives the motion command sent by the upper controller 1 and transmits a driving motion command to the motor 3 according to the motion command. The motor 3 is configured to receive the driving motion command sent by the driver 2 for driving the tool magazine 5 to rotate. The tool 51 in the magazine 5 is until the required tool 51 reaches the designated position.

請參考圖2所示,為本創作另一較佳實施例之刀具伺服控制系統的操作介面連接關係,圖2是根據圖1,刀具伺服控制系統進一步包含系統操作介面連接關係,刀具伺服控制系統的操作介面連接關係具有參數設定及儲存資料庫單元6、監視畫面單元7與異常警報單元8。於本實施例中,參數設定及儲存資料庫單元6具備決定刀庫之狀態設定,其中狀態設定包含有刀庫之刀具數量、刀庫轉動速度、刀庫轉動加速度、刀庫機構的齒輪比及目標刀號角度誤差容許值等等,但此狀態設定不應被理解僅限於此處所陳述的實施例。 Please refer to FIG. 2 , which is a working interface connection relationship of a tool servo control system according to another preferred embodiment of the present invention. FIG. 2 is a schematic diagram of the tool servo control system further including a system operation interface connection relationship and a tool servo control system according to FIG. 1 . The operation interface connection relationship has a parameter setting and storage database unit 6, a monitoring screen unit 7, and an abnormality alarm unit 8. In this embodiment, the parameter setting and storage database unit 6 is provided with a state setting for determining the tool magazine, wherein the state setting includes the number of tools in the tool magazine, the rotation speed of the magazine, the rotation acceleration of the magazine, and the gear ratio of the tool magazine. Target tool angle error tolerance, etc., but this state setting should not be construed as being limited to the embodiments set forth herein.

監視畫面單元7包含監視目前刀號、目標刀號、目前轉動速度、馬達負載、馬達扭力、目前馬達角度、原點設定是否完成、目標角度是否到達、驅動器狀態(伺服開啟/關閉(Servo on/off)、工作中、就緒、異警、暫停)等這些監視狀態,但此監視狀態不應被理解僅限於此處所陳述的實施例。 The monitor screen unit 7 includes monitoring the current tool number, the target tool number, the current rotational speed, the motor load, the motor torque, the current motor angle, whether the origin setting is completed, whether the target angle is reached, and the drive state (servo on/off (Servo on/) These monitoring states, such as off), in-service, ready, armed, paused, etc., are not to be construed as being limited to the embodiments set forth herein.

異常警報單元8包含刀庫原點設定未完成、目標刀號超出範圍、目標刀號角度誤差過大、速度設定錯誤、伺服驅動器異常等這些異常回饋方式,同樣的,上述這些異常回饋方式不應被理解僅限於此處所陳述的實施例。 The abnormality alarm unit 8 includes such abnormal feedback methods that the tool magazine origin setting is not completed, the target tool number is out of range, the target tool number angle error is too large, the speed setting error, the servo driver is abnormal, and the like. Similarly, the above abnormal feedback modes should not be The understanding is limited to the embodiments set forth herein.

刀具伺服控制系統的操作介面連接關係,首先藉由參數設定及儲存資料庫單元6設定好以下項目:a)刀庫總刀數,b)刀庫機構的齒輪比,c)刀庫轉動速度及加速度,d)目標刀號角度誤差容許值等這些狀態設定。當設定完成後,在馬達3內的編碼器4可將馬達3當下的角度資訊迴授至驅動器2。接著,驅動器2再藉由串列格式的方式傳送角度資訊迴授至上位控制器1,使得上位控制器1根據此角度資訊計算出目前刀號,並依據目標刀號對應於目前刀號計算出所需轉動的角度,以發出正確的運動指令。驅動器2接收由上位控制器1所發送出的運動指令,並根據運動指令發送驅動運動指令傳輸於馬達3,馬達3用以接收由驅動器2所發送的驅動運動指令以旋轉驅動在刀庫5內的刀具直至所需要的刀具到達指定位置為止。 For the operation interface connection relationship of the tool servo control system, first set the following items by parameter setting and storage database unit 6: a) total number of tool magazines, b) gear ratio of the tool magazine mechanism, c) tool magazine rotation speed and Acceleration, d) Target state angle error tolerance and other state settings. When the setting is completed, the encoder 4 in the motor 3 can feed back the angle information of the motor 3 to the driver 2. Then, the driver 2 transmits the angle information to the host controller 1 by means of the serial format, so that the host controller 1 calculates the current tool number based on the angle information, and calculates the current tool number according to the target tool number. The angle of rotation required to give the correct motion command. The driver 2 receives the motion command sent by the upper controller 1 and transmits a drive motion command to the motor 3 according to the motion command. The motor 3 receives the drive motion command sent by the driver 2 to be rotationally driven in the tool magazine 5. The tool until the desired tool reaches the specified position.

在此要說明的是,在上位控制器1要發出運動指令之前,上位控制器1會先檢查刀庫之原點,例如1號刀,是否已設定完成,若原點尚未設定,則上位控制器1會藉由異常警報單元8發出警報並通知使用者對刀庫中的刀具進行原點設定。若原點已設定完成,則下一步上位控制器1會檢查目標刀號是否合理,例如若總刀數為12,但目標刀號大於12或小於1,則上位控制器1會藉由異常警報單元8發出警報以通知使用者目前的目標刀號處於不合理數值狀態。若目標刀號為合理數值,此時上位控制器1將發出運動指令給驅動器2,驅動器2再發送驅動運動指令給馬達3,馬達3根據驅動運動指令完成動作。 It should be noted that before the host controller 1 issues a motion command, the host controller 1 first checks the origin of the tool magazine, such as the No. 1 knife, whether it has been set. If the origin has not been set, the host controller 1 An alarm is issued by the abnormality alarm unit 8 and the user is notified to set the origin of the tool in the magazine. If the origin has been set, the next higher controller 1 will check whether the target tool number is reasonable. For example, if the total number of tools is 12, but the target tool number is greater than 12 or less than 1, the host controller 1 will use the abnormal alarm unit. 8 An alarm is issued to inform the user that the current target tool number is in an unreasonable value state. If the target tool number is a reasonable value, the host controller 1 will issue a motion command to the driver 2, and the driver 2 will send a drive motion command to the motor 3, and the motor 3 will complete the action according to the drive motion command.

要說明的是,驅動器2及馬達3的相關資訊,其包括伺服開啟/關閉(Servo on/off)、工作中、暫停中、異常警告、馬達負載、角度迴授、轉動速度等,透過串列格式被傳送至上位控制器1,並且被整合在專用的監視畫面 單元7內。當異常狀態發生時,異常警報單元8於診斷後發出對應的警報,以通知使用者對於異常狀態做出適當的排除動作。 It should be noted that the information about the driver 2 and the motor 3 includes servo on/off (Servo on/off), working, pause, abnormal warning, motor load, angle feedback, rotation speed, etc. The format is transmitted to the host controller 1 and integrated into a dedicated monitor screen Within unit 7. When the abnormal state occurs, the abnormality alarm unit 8 issues a corresponding alarm after the diagnosis to notify the user to make an appropriate exclusion action for the abnormal state.

另外,在本發明的另一實施例中,馬達3通常會與減速機結合,藉由減速機的齒輪比進行調整馬達3的旋轉速度,使得上位控制器1根據目標刀號對應於目前刀號計算出所需要轉動的角度,並且旋轉驅動在刀庫5內的刀具51直至所需要的刀具51到達指定位置為止。於另一實施例中,刀具伺服控制系統的操作介面具有可支援最多三組刀庫的操作介面應用,以達到保留未來擴充的彈性。 In addition, in another embodiment of the present invention, the motor 3 is generally combined with the speed reducer, and the rotational speed of the motor 3 is adjusted by the gear ratio of the reducer, so that the upper controller 1 corresponds to the current tool number according to the target tool number. The angle of rotation required is calculated, and the tool 51 in the magazine 5 is rotationally driven until the desired tool 51 reaches the designated position. In another embodiment, the operating interface of the tool servo control system has an operating interface application that supports up to three sets of tool magazines to achieve the flexibility to retain future expansion.

請參考圖3所示,為本創作又一較佳實施例之刀具伺服控制系統的驅動流程示意圖,圖3是根據圖1刀具伺服控制系統與圖2是刀具伺服控制系統的操作介面連接關係進一步介紹刀具伺服控制系統驅動流程。上位控制器1、驅動器2完成串列通訊後,依照刀庫的機構規格藉由參數設定及儲存資料庫單元6進行刀庫參數設定即步驟S01,刀庫之參數設定包含總刀數、刀庫機構齒輪比、目標刀號角度誤差容許值等。在本實施例中,可以預先設定在刀庫5中的總刀數為12,齒輪比為1:60,目標刀號角度容許誤差為0.5度。完成上述參數設定之後,選定適當的刀庫之角度,並將此角度設定為刀庫之原點,也就是將目前的刀號設定為1號刀。 Please refer to FIG. 3, which is a schematic diagram of the driving process of the tool servo control system according to still another preferred embodiment of the present invention. FIG. 3 is a further connection relationship between the tool servo control system according to FIG. 1 and the operation interface of the tool servo control system according to FIG. Introduce the drive flow of the tool servo control system. After the host controller 1 and the driver 2 complete the serial communication, the parameter setting of the tool magazine is performed by the parameter setting and storage database unit 6 according to the mechanism specification of the tool magazine, that is, step S01, the parameter setting of the tool magazine includes the total number of tools and the tool magazine. Mechanism gear ratio, target tool number angle error tolerance, etc. In the present embodiment, the total number of knives in the magazine 5 can be set to 12 in advance, the gear ratio is 1:60, and the target tool angle tolerance is 0.5 degrees. After completing the above parameter setting, select the appropriate tool magazine angle and set the angle to the origin of the tool magazine, that is, set the current tool number to No. 1 knife.

接下來如步驟S02:發出刀庫旋轉指令。在此步驟S02中,可以在電腦數值控制(Computer Numerical Control;CNC)程式內下達T02指令,也就是將目標刀號設為2號刀的指令,此時上位控制器1計算出目標刀號對應於目前刀號所需轉動的角度,根據上述的參數設定目標刀號的目標角度對應目前 刀號所需的角度為(360/12)x 60=1800度,所以馬達3需要轉五圈,此時上位控制器1即可發送運動指令給驅動器2。 Next, as in step S02: a magazine rotation command is issued. In this step S02, the T02 command can be issued in the Computer Numerical Control (CNC) program, that is, the target tool number is set to the No. 2 knife command, and the host controller 1 calculates the target tool number correspondingly. At the current angle of rotation required by the tool number, the target angle of the target tool number is set according to the above parameters. The angle required for the tool number is (360/12) x 60=1800 degrees, so the motor 3 needs to turn five times, at which time the upper controller 1 can send a motion command to the driver 2.

接著,步驟S03:原點設定。在此步驟S03中,在上位控制器1發出運動指令之前,上位控制器1會先檢查刀庫之原點是否已設定完成,若原點尚未設定,則上位控制器1會藉由異常警報單元8發出警報,即步驟S04,並通知使用者對刀庫之原點(1號刀)進行設定。若刀庫之原點已設定完成,則進行步驟S05,目標刀號確定。在步驟S05,用以檢查目標刀號是否合理。如前述所舉的例子來說,若總刀數為12,但目標刀號大於12或小於1,則上位控制器1會藉由異常警報單元8發出警報通知使用者。 Next, step S03: origin setting. In this step S03, before the upper controller 1 issues a motion command, the upper controller 1 first checks whether the origin of the magazine has been set. If the origin has not been set, the host controller 1 will use the abnormal alarm unit 8. An alarm is issued, that is, step S04, and the user is notified to set the origin of the magazine (knife No. 1). If the origin of the magazine has been set, proceed to step S05 and the target tool number is determined. In step S05, it is used to check whether the target tool number is reasonable. As the example given above, if the total number of knives is 12, but the target tool number is greater than 12 or less than 1, the upper controller 1 will notify the user by an alarm by the abnormality alarm unit 8.

接著,步驟S06,馬達依指令旋轉。在此步驟中,若目標刀號為合理數值,此時上位控制器1將發出根據上述步驟S02所計算得到馬達3要轉動五圈的運動指令給驅動器2,驅動器2再發送驅動運動指令給馬達3,馬達3根據驅動運動指令完成動作。要說明的是,若馬達3或刀庫5在轉動過程中,碰到不得已必須停下的狀況,使用者被迫觸發緊急停止,導致刀庫5停在半途,則會藉由異常警報單元8發出警報通知使用者,待異常排除後,以手動轉動功能,將刀庫5轉至適當位置,即任一刀號均可,並重新執行轉動命令,即為重置步驟,由步驟S02重新開始。若在步驟S07中,馬達3順利執行完驅動運動指令,且目標刀號角度誤差容許小於所設定的0.5度,則接著進行步驟S08,刀庫到達目標刀號。在此步驟中,上位控制器1會將目前刀號變更為目標刀號,則刀庫5轉動流程結束。 Next, in step S06, the motor rotates according to the instruction. In this step, if the target tool number is a reasonable value, the host controller 1 will issue a motion command for the motor 3 to be rotated five times according to the above step S02 to the driver 2, and the driver 2 sends a drive motion command to the motor. 3. The motor 3 completes the action according to the drive motion command. It should be noted that if the motor 3 or the tool magazine 5 encounters a situation that must be stopped during the rotation, the user is forced to trigger an emergency stop, causing the tool magazine 5 to stop halfway, and the abnormal alarm unit 8 is provided. An alarm is issued to notify the user that after the abnormality is removed, the tool magazine 5 is rotated to the appropriate position by the manual rotation function, that is, any tool number can be executed, and the rotation command is re-executed, that is, the resetting step is restarted by step S02. If the motor 3 successfully executes the drive motion command in step S07 and the target tool number angle error tolerance is less than the set 0.5 degree, then step S08 is performed and the tool magazine reaches the target tool number. In this step, the host controller 1 changes the current tool number to the target tool number, and the tool magazine 5 rotation process ends.

上述所述者僅為本專利方法之較佳實施例,舉凡依本專利精神所作之等效修飾或變化,依照相同概念所提出之伺服刀庫控制及監控方式,皆應仍屬本專利涵蓋之範圍內。 The above is only the preferred embodiment of the patented method. The equivalent of the equivalent modification or change according to the spirit of the patent, the servo tool magazine control and monitoring method according to the same concept should still be covered by this patent. Within the scope.

1‧‧‧上位控制器 1‧‧‧Upper controller

2‧‧‧驅動器 2‧‧‧ Drive

3‧‧‧馬達 3‧‧‧Motor

4‧‧‧編碼器 4‧‧‧Encoder

5‧‧‧刀庫 5‧‧‧Magazine

51‧‧‧刀具 51‧‧‧Tools

Claims (7)

一種刀具伺服控制系統,包含:一上位控制器,用以發送一運動指令;一驅動器,用以接收該上位控制器所發送的該運動指令以及根據該運動指令發送一驅動運動指令;具有一編碼器的一馬達,該馬達用以接收由該驅動器所發送的該驅動運動指令;以及一刀庫,具有多把刀具,藉此該編碼器可將該馬達當下的一角度資訊迴授至該驅動器,該驅動器傳送該角度資訊至該上位控制器,該上位控制器根據該角度資訊計算出一目前刀號,並依據該目標刀號且對應於該目前刀號計算出所需轉動的一角度,以發出正確的該運動指令,使得該馬達根據該運動指令及所需的轉動的該角度,旋轉驅動該刀庫內的該刀具運動,直至該刀具到達一指定位置為止。 A tool servo control system includes: an upper controller for transmitting a motion command; a driver for receiving the motion command sent by the upper controller and transmitting a motion motion command according to the motion command; a motor for receiving the drive motion command sent by the driver; and a tool magazine having a plurality of tools, whereby the encoder can feed back an angle information of the motor to the driver The driver transmits the angle information to the upper controller, and the upper controller calculates a current tool number according to the angle information, and calculates an angle of the required rotation according to the target tool number and corresponding to the current tool number, The correct motion command is issued such that the motor rotationally drives the tool movement in the magazine according to the motion command and the desired angle of rotation until the tool reaches a designated position. 如請求項1所述的刀具伺服控制系統,其中該上位控制器更包括一參數設定及儲存資料庫。 The tool servo control system of claim 1, wherein the upper controller further comprises a parameter setting and storage database. 如請求項2所述的刀具伺服控制系統,其中該參數設定及儲存資料庫至少包括一刀庫刀具數量、一刀庫轉動速度、一刀庫轉動加速度、一刀庫機構的齒輪比及一目標刀號角度誤差容許值。 The tool servo control system according to claim 2, wherein the parameter setting and storage database includes at least a tool magazine number, a tool magazine rotation speed, a tool magazine rotational acceleration, a tool magazine gear ratio, and a target tool number angle error. Allowable value. 如請求項2所述的刀具伺服控制系統,其中該上位控制器、該驅動器利用一串列格式彼此通訊連接。 The tool servo control system of claim 2, wherein the upper controller and the driver are communicatively coupled to each other using a serial array format. 如請求項1所述的刀具伺服控制系統,還包括一異常警報單元。 The tool servo control system of claim 1 further comprising an abnormality alarm unit. 如請求項1所述的刀具伺服控制系統,其中該上位控制器還包括對該刀具伺服控制系統監控以及異常狀態判斷。 The tool servo control system of claim 1, wherein the upper controller further comprises monitoring the tool servo control system and determining an abnormal state. 如請求項1所述的刀具伺服控制系統,其中該刀具伺服控制系統的一操作介面可支援最多三組刀庫的操作介面應用。 The tool servo control system of claim 1, wherein an operation interface of the tool servo control system supports operation interface applications of up to three sets of tool magazines.
TW106202232U 2017-02-16 2017-02-16 Tool servo control system TWM543137U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106202232U TWM543137U (en) 2017-02-16 2017-02-16 Tool servo control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106202232U TWM543137U (en) 2017-02-16 2017-02-16 Tool servo control system

Publications (1)

Publication Number Publication Date
TWM543137U true TWM543137U (en) 2017-06-11

Family

ID=59688788

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106202232U TWM543137U (en) 2017-02-16 2017-02-16 Tool servo control system

Country Status (1)

Country Link
TW (1) TWM543137U (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107748537A (en) * 2017-11-07 2018-03-02 苏州新代数控设备有限公司 Tool servo control system
CN107994835A (en) * 2017-12-12 2018-05-04 常州市德速机械有限公司 Tool magazine knife storehouse servo increment motor control method
TWI632981B (en) * 2017-08-29 2018-08-21 北鉅精機股份有限公司 Tool magazine mechanism of machining center
TWI647054B (en) * 2018-01-03 2019-01-11 新代科技股份有限公司 Tool intelligent calibration system and method
TWI647058B (en) * 2017-12-06 2019-01-11 新代科技股份有限公司 Processing system and method for automatic tool change
CN109434560A (en) * 2018-10-08 2019-03-08 苏州新代数控设备有限公司 The intelligent correcting system of cutter and its bearing calibration
CN113635136A (en) * 2021-10-18 2021-11-12 思特博恩(常州)新材料科技有限公司 Tool magazine stop control method, device, equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI632981B (en) * 2017-08-29 2018-08-21 北鉅精機股份有限公司 Tool magazine mechanism of machining center
CN107748537A (en) * 2017-11-07 2018-03-02 苏州新代数控设备有限公司 Tool servo control system
TWI647058B (en) * 2017-12-06 2019-01-11 新代科技股份有限公司 Processing system and method for automatic tool change
CN107994835A (en) * 2017-12-12 2018-05-04 常州市德速机械有限公司 Tool magazine knife storehouse servo increment motor control method
CN107994835B (en) * 2017-12-12 2020-04-07 常州市德速机械有限公司 Control method for servo incremental motor of tool magazine
TWI647054B (en) * 2018-01-03 2019-01-11 新代科技股份有限公司 Tool intelligent calibration system and method
CN109434560A (en) * 2018-10-08 2019-03-08 苏州新代数控设备有限公司 The intelligent correcting system of cutter and its bearing calibration
CN113635136A (en) * 2021-10-18 2021-11-12 思特博恩(常州)新材料科技有限公司 Tool magazine stop control method, device, equipment and storage medium
CN113635136B (en) * 2021-10-18 2022-02-11 思特博恩(常州)新材料科技有限公司 Tool magazine stop control method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
TWM543137U (en) Tool servo control system
CN108581590B (en) Truss type mechanical arm control method and system for automatic feeding and discharging of machine tool
US7847506B2 (en) Machine tool controller
JP6802213B2 (en) Tool selection device and machine learning device
US9983561B2 (en) Method of controlling a gear cutting machine and gear cutting machine
CN101109947A (en) Numerical controller having interference check function
JP2017094430A (en) Manual feed apparatus for robot for calculating operation possible range of robot
US11977363B2 (en) Machine tool and control device
JP2015079286A (en) Numerical control device including operation setting screen
JP2015036833A (en) Interference confirmation device
CN207992792U (en) Tool servo control system
US9631632B2 (en) Impeller having blade having blade surface made up of line elements and method of machining the impeller
CN107748537A (en) Tool servo control system
US10520913B2 (en) Numerical controller
JP6474339B2 (en) A machine that stops the movement of members on the drive shaft due to brake abnormality
US10486240B2 (en) Numerical controller having cutting control function through turret rotation
JP6663475B2 (en) Diagnosis and maintenance system for NC machine tools
TWI647054B (en) Tool intelligent calibration system and method
WO2020255902A1 (en) Machine tool, method for controlling machine tool, and program for controlling machine tool
CN102689302A (en) Flexible robot system
JP6836552B2 (en) Numerical control device
JP2021079461A (en) Turret optimization system
WO2021187487A1 (en) Program analysis device and control system
CN109884982B (en) Numerical controller
CN109129176B (en) Control device