201028242 六、發明說明: ψ 【發明所屬之技術領域】 ' 本發明涉及-種檢啦統及方法,特财及-種刀具檢測系 統及方法。 【先前技術】 在印刷電路板概機更換刀具時’操作者需要進行兩道量測 工序’即I先對刀具之膽進行制,明岐^為控制器所指 疋之刀具,然後再對刀具之偏擺值進行量測,以判斷刀具是否發 參生偏擺。若發現刀徑不符,則需要更換刀具。若發現刀具產生偏 擺則需要松查刀具文裝疋否發生問題,或者檢查該印刷電路板 鑽孔機之主減構衫發生問題,並據此對其進行調整,以避免 該刀具產生偏擺誤差,從而得到更高的加工精度。 前述兩道量測工序均透過刀具測量儀來完成,其會浪費大量 工作時間,導致加工效率不高。 【發明内容】 ❿ 内容,有必要提供__種快速的刀具m统及方 法,以節省工作時間,提高加工效率。 一種刀具檢m用於檢測—工具機之刀具,該刀具檢測 系統包括-録射制器及—控制器,該鐳射感湘包括—發射器 及一接收器,該發射器用於以一第一頻率發射一鐳射訊號,該控 制盗用於判斷該77具在該發㈣與接收n之間上下移動過程中該 接收器所接收到鐳射訊號之鮮,並將接收器所接㈣鐳射訊號 之頻率小於該第—醉之瞬縣刀具之位置記錄為第—位置、將 201028242 *接收器所接收到錯射訊號之頻率等於零之瞬間該刀具之位置記錄 •為第一位置,以及根據s亥刀具之第一位置及第二位置之座標差以 判斷該刀具是否發生偏擺。 一種刀具檢測方法,包括以下步驟: 移動-工具機之主軸以將該工具機之一刀具移動到一鍾射感 /貝J器之正上方,並控制§亥工具機之主軸轉速達到一預設速度,其 中β亥鐵射感測器包括一發射器及一接收器; ❿ 透過—控彻職該發射n[第-鮮發射-麟訊號; 將該工具機之主軸逐漸下移,該控制關斷該接收器接收到 該錯射訊號之頻率,當該接收器所接收到错射訊號之頻率小於第 -頻率之瞬間’該控制器將此時該刀具之位置記錄為第一位置; 該工具機之主轴繼續下移,該控制器繼續判斷該接收器接收 到該撕訊號之頻率’當該接收器接收到該鐳射訊號之頻率等於 零之瞬間,該控制器將此時該刀具之位置記錄為第二位置; • 該控制器計算該第一及第二位置在垂直方向上之座標差值 該控制器判斷差值~是否趨近於零,若差值^,不趨近於零,則 判斷此時該刀具發生偏擺並結束檢測;以及 若差值〜趨近於零,則判斷此時該刀具未發生偏擺。 前述刀具檢_、統及方法透過該發射H發射騎訊號至該刀 具’並透過該控制器運算該接收器接收到麵射訊號之頻率對該 刀具的位置進行運算,可以快速的對該刀具進行檢測,節省了加 工時間,提高了加工效率。 5 201028242 【實施方式】 請-併參_ 1及® 2,本發明刀具檢啦統之較佳實施方式 用於檢測-印刷電路板鑽孔機!之—刀具1〇在加工過程中是否有 產生偏擺,還用於檢測該刀具10之刀徑是否設定正確。該刀具檢 測系統包括-鐳射感測器12及—控_ 14。12包 括-發射II 12G及-接收H 122。該控制器14包括—處理單元14〇 及-記憶單元142。騎職路板佩機i之機自上還設置有一凹 槽16 ’ s亥發射器12〇及接收器122對應設置於該凹槽16之兩端。 該處理單元140帛於控制該發射_12〇u一第一頻率發射一 鐳射訊號,並運算該發射器12〇發射該錯射訊號之第一頻率及該 接收器122接收到該鐳射訊號之頻率,還用於運算該刀具1〇之複 數位置(座標值)。該記憶單元142用於存儲該刀具1〇之複數位 置。 凊一併參閱圖3,本發明刀具檢測方法之較佳實施方式包括以 下步驟: 步驟S1:在該印刷電路板鑽孔機1更換刀具1〇之後,啟動該 印刷電路板鑽孔機1。 步驟S2:透過控制該印刷電路板鑽孔機i將該刀具1〇移動至 該凹槽16之正上方,並啟動該印刷電路板鑽孔機i之主軸開始旋 轉以帶動該刀具1〇也開始旋轉,並檢查該印刷電路板鑽孔機士之 主軸轉速是否達到一預設之量測速度。若該印刷電路板鑽孔機i 之主軸轉速尚未達到其預設之量測速度,則等待。若該印刷電路 201028242 . 板鑽减1之錄轉速達到其驗之制速度,職行步驟. . 其中,該刀具10位於該發射器120與接收器122之間之連線之垂 直平分線上。 步驟S3 :透過該控制器14開啟該鐳射感測器12,以使得該 發射器120以第一頻率發射該鐳射訊號。此時,該接收器m接 收到該鐳射訊號之頻率等於第一頻率。 步驟S4 :將該印刷電路板鑽孔機1之主軸沿圖2中z軸方向 •逐漸下移,另’該處理單元14〇運算由該接收器I22所接收到該 録射訊號之辭並崎其與該第_鮮之聽,當該接收器122 所接收到鐳射訊號之頻率剛剛小於第一頻率時,該處理單元140 計算此時該刀具10之位置,記為第一位置a,並將其存儲於該記 憶單元142内。此時,該發射器12〇所發出之錯射訊號剛剛接觸 該刀具10。 步驟S5 :該處理單元14〇繼續判斷由該接收器122接收到該 ❿鐳射訊紅鮮’當其酬縣料,該處理單元⑽計算此時 該刀具10之位置’ I己為第二位置b,並將其存儲於該記憶單元M2 内。此時,該發射器12〇所發出之鐳射訊號全部接觸到該刀具1〇。 步驟S6 :該處理單元14()計算該第—及第二位置&與b在z 轴方向上之座標差值〜。 步驟S7 ··該處理單元14〇判斷差值^是否趨近於零。 步驟S8 :若差值〜趨近於零,即由該發射器⑽所發出之錯 射訊號酬接觸到該刀具1〇時,該鐳射也同時在該刀具10之轉 7 201028242 ,動過耘中全部接觸到該刀具1〇’此時即代表該刀具1〇在轉動過程 . 中>又有發生偏擺,即該刀具10在轉動過程中所有位置處之軸線重 合’之後執行步驟S10。 步驟S9 :若差值〜不趨近於零,即由該發射器12〇所發出之 鐳射訊號剛剛接觸到該刀具10時,該鐳射並不能同時在該刀具扣 之轉動過程中全部接觸到該刀具10,此時即代表該刀具1〇在轉動 過程中發生偏擺,即該刀具10在轉動過程中所有位置處之軸線不 • 重合,則該刀具檢測方法結束,需要操作者停機進行調整。 步驟S10 :該印刷電路板鑽孔機i之主軸繼續沿z軸下移一 預設距離m,該預設距離m小於該刀具10之高度。 步驟S11:該印刷電路板鑽孔機i之主軸停止下移,該處理單 元140計算此時該刀具1〇之位置,記為第三位置c,並將其存儲 於該記憶早元142内。此時,由於該刀具1〇在轉動過程中沒有發 生偏擺,則此時該發射器120所發出之鐳射訊號接觸到該刀具1〇 • 之正中間位置,即該刀具10之軸線位置。 步驟S12 :該印刷電路板鑽孔機1之主軸沿圖2中γ軸逐漸 向前平移。 步驟S13:該處理單元140判斷該接收器122是否接收到由該 發射器120所發射之鐳射訊號。若該接收器122未接收到該鐳射 訊號,即該接收器接收到鐳射訊號之頻率為零,則該印刷電路板 鑽孔機1之主轴繼續沿Y轴向前平移;若該接收器122接收到該 鐳射訊號’即該接收器122接收到鐳射訊號之頻率不為零,則執 8 201028242 , 行步驟S14。 .步驟S14:該處理單元14〇計算該接收器122剛剛接收到該鐳 射訊號之時刻該刀具10之位置,即該接收器122接收到鐳射訊號 之頻率不為零之瞬間’記為第四位置d,並將其存儲於該記憶單元 142 内。 步驟S15:該處理單元14〇計算該第三及第四位置c與d在γ 轴方向上之座值r,此時,由於該刀具1()在轉動過程中沒有 修發生偏擺,且該刀具10位於第三位置c時,該發射器12〇所發出 之鐳射訊雜顧制具1〇之轴雜置;該力具1()位於第四位 置d時,該發射器120所發出之録射訊號剛剛接觸不到該刀具⑽ 之邊緣,因此該座標差值r即代表該刀具1〇之摊,如此,該刀 具10之直徑即為2r。 步驟S16:該處理單元140判斷該印刷電路板鑽孔機卫内所設 定之刀具直徑是否等於2r。 _ 步驟S17 :若設定之刀具直徑等於2r,則得知此時所選擇之 刀具10選擇正確,檢測完成。 步驟Si8 :若設定之刀具直徑不等於2r,則得知此時所選擇 之刀具10不正碟,則檢測結束,並需要操作者停機更換刀具。 其中’前述步驟S12 t,亦可控制該印刷電路板鐵孔機i之 主軸沿γ軸方向逐漸後移,若該接收器122未接收到該錯射訊號, 則該印刷電路板鑽孔機1繼續後移;若該接收器122接收到該鐘 射訊號,則執行步驟S14。 201028242 • 月1J述刀具檢測系統及方法以同時檢測該77具10是否產生偏擺 *及測量該刀具1〇之刀徑為例進行說明,該刀具檢測系統及方法也 可單獨用於檢測該刀具1〇是否產生偏擺或測量該刀具之刀 仏。另’本實施方式以該刀具檢測系統及方法應用於該印刷電路 板鑽孔機1之刀具1G為峨行,其他實施方式巾,該刀具檢 測系統及方法還可用於檢測其他工具機之刀具。 前述刀具檢測系統及方法通過該發射器12〇發射錯射訊號至 ❿該刀具1〇 ’並透過該處理單元14〇運算該接收器⑷接收到該錯 射訊號之頻率,並對該刀具1〇之位置進行運算,從而可以快速的 k測該刀具10在加JL過程中是否產生偏擺以及檢測該刀具1〇之 刀徑是否具有誤差,節省了加工_,提高了加工效率。 綜上所述’本發明符合發明專利要件,爰依法提出專利申請。 惟,以上所述者僅為本發明之較佳實施方式,舉凡熟悉本案技藝 之人士’於爰依本發明精神所作之等效修飾或變化,皆應涵蓋於 謇以下之申請專利範圍内。 【圖式簡單說明】 圖1為本發明刀具檢測系統之較佳實施方式之方框圖。 圖2為圖1中該刀具、凹槽及鐳射感測器之立體圖。 圖3-1及3-2為本發明刀具檢測方法之較佳實施方式之流程 圖。 【主要元件符號說明】 印刷電路板鑽孔機1 接收器122 201028242 刀具 10 控制器 14 鐳射感測器 12 發射器 140 發射器 120 接收器 142 凹槽 16 ❹ 11201028242 VI. Description of the invention: ψ [Technical field to which the invention pertains] ' The present invention relates to a method and method for detecting a type of inspection, a special wealth and a tool detection system and method. [Prior Art] When the printed circuit board is replaced by a tool, the operator needs to perform two measurement processes. That is, I first make a tool for the tool, and the tool is the tool pointed by the controller, and then the tool. The yaw value is measured to determine whether the tool is eccentric. If the tool diameter does not match, you need to change the tool. If it is found that the tool is yawed, it is necessary to loosen the tool tool to solve the problem, or check the main reduction shirt of the printed circuit board drilling machine, and adjust it accordingly to avoid the tool yaw. Error, resulting in higher machining accuracy. Both of the above measurement steps are performed by a tool measuring instrument, which wastes a lot of work time and leads to inefficient processing. [Summary of the Invention] ❿ Contents, it is necessary to provide __ a fast tool system and method to save working time and improve processing efficiency. A tool inspection m is used for detecting a tool of a machine tool, the tool detection system comprising: a recording device and a controller, the laser sensor comprising a transmitter and a receiver, the transmitter for using a first frequency Transmitting a laser signal, the control thief is used to determine the freshness of the laser signal received by the receiver during the up and down movement between the transmitter (4) and the receiving n, and the frequency of the (4) laser signal received by the receiver is less than the The position of the tool is recorded as the first position, and the position of the tool is recorded at the instant when the frequency of the wrong signal received by the receiver is equal to zero. • The first position, and the first according to the s The coordinate difference between the position and the second position to determine whether the tool is yawed. A tool detecting method comprises the following steps: moving a spindle of a machine tool to move a tool of the machine tool to a position directly above a sound sensor/shell device, and controlling a spindle speed of the tool machine to reach a preset Speed, wherein the β hai iron sensor includes a transmitter and a receiver; 透过 through the control - the transmission of the n [the first fresh emission - Lin signal; the spindle of the machine tool is gradually moved down, the control off Breaking the frequency at which the receiver receives the mis-signal signal, when the frequency at which the receiver receives the mis-signal signal is less than the first frequency, the controller records the position of the tool as the first position at this time; The spindle of the machine continues to move down, and the controller continues to determine the frequency at which the receiver receives the tearing number. When the frequency at which the receiver receives the laser signal is equal to zero, the controller records the position of the tool as a second position; • the controller calculates a coordinate difference between the first and second positions in the vertical direction, the controller determines whether the difference ~ is close to zero, and if the difference ^ does not approach zero, then the judgment The knife at this time Detecting the occurrence of deflection and ends; ~ and if the difference approaches zero, it is determined that at this time the tool does not occur yaw. The tool inspection method, the method and the method for transmitting the riding signal to the tool through the transmitting H and calculating the position of the tool through the controller to calculate the frequency of the surface receiving signal, can quickly perform the tool Inspection saves processing time and improves processing efficiency. 5 201028242 [Embodiment] Please - and _ 1 and ® 2, the preferred embodiment of the tool inspection system of the present invention is used for the detection - printed circuit board drilling machine! Whether the tool 1 产生 has a yaw during the machining process is also used to detect whether the tool radius of the tool 10 is set correctly. The tool inspection system includes - a laser sensor 12 and - control _ 14.12 including - transmitting II 12G and - receiving H 122. The controller 14 includes a processing unit 14A and a memory unit 142. The machine for riding the road board is further provided with a recess 16 s s launcher 12 〇 and a receiver 122 correspondingly disposed at both ends of the recess 16 . The processing unit 140 emits a laser signal at a first frequency of the control signal, and calculates a frequency at which the transmitter 12 transmits the first frequency of the error signal and the receiver 122 receives the laser signal. It is also used to calculate the complex position (coordinate value) of the tool 1〇. The memory unit 142 is used to store the complex position of the tool 1〇. Referring to Fig. 3, a preferred embodiment of the tool detecting method of the present invention comprises the following steps: Step S1: After the printed circuit board drilling machine 1 replaces the tool 1 , the printed circuit board drilling machine 1 is started. Step S2: moving the tool 1〇 directly above the groove 16 by controlling the printed circuit board drilling machine i, and starting the spindle of the printed circuit board drilling machine i to start rotating to drive the tool 1〇 also starts Rotate and check if the spindle speed of the printed circuit board drilling machine reaches a preset measurement speed. If the spindle speed of the printed circuit board drill i has not reached its preset measurement speed, wait. If the printing circuit 201028242. The drilling speed of the board is reduced to 1 and the speed of the inspection is reached, the job step is. . . , the tool 10 is located on the vertical bisector of the line connecting the transmitter 120 and the receiver 122. Step S3: The laser sensor 12 is turned on by the controller 14 to cause the transmitter 120 to emit the laser signal at a first frequency. At this time, the frequency at which the receiver m receives the laser signal is equal to the first frequency. Step S4: The main axis of the printed circuit board drilling machine 1 is gradually moved downward along the z-axis direction of FIG. 2, and the processing unit 14 is operated by the receiver I22 to receive the recorded signal. And the listening signal, when the frequency of the laser signal received by the receiver 122 is just less than the first frequency, the processing unit 140 calculates the position of the tool 10 at this time, and records it as the first position a, and It is stored in the memory unit 142. At this time, the mis-signal signal emitted by the transmitter 12 is just touching the tool 10. Step S5: The processing unit 14 continues to determine that the ❿ 射 红 红 由 由 由 , , , , , , , , , , , , 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 And store it in the memory unit M2. At this time, the laser signal emitted by the transmitter 12 is all in contact with the tool 1〇. Step S6: The processing unit 14() calculates the coordinate difference 〜 of the first and second positions & and b in the z-axis direction. Step S7 · The processing unit 14 determines whether the difference ^ is close to zero. Step S8: If the difference value ~ is close to zero, that is, when the wrong signal sent by the transmitter (10) contacts the tool 1 ,, the laser is also moved at the same time as the tool 10 turns 7 201028242 All the contact with the tool 1 〇 'in this case means that the tool 1 〇 is in the process of rotation. The yaw occurs again, that is, the tool 10 coincides with the axis at all positions during the rotation', and then step S10 is performed. Step S9: If the difference value ~ does not approach zero, that is, when the laser signal emitted by the transmitter 12 is just touching the tool 10, the laser cannot simultaneously contact the laser tool during the rotation of the tool button. The tool 10, which means that the tool 1〇 is yawed during the rotation, that is, the axis of the tool 10 at all positions during the rotation is not coincident, the tool detection method ends, and the operator needs to stop and adjust. Step S10: The spindle of the printed circuit board drilling machine i continues to move down the z-axis by a preset distance m, which is smaller than the height of the tool 10. Step S11: The spindle of the printed circuit board drilling machine i stops moving downward, and the processing unit 140 calculates the position of the tool 1 at this time, and records it as the third position c, and stores it in the memory early element 142. At this time, since the tool 1〇 does not yaw during the rotation, the laser signal emitted by the transmitter 120 contacts the positive intermediate position of the tool 1 , that is, the axis position of the tool 10 . Step S12: The spindle of the printed circuit board drilling machine 1 is gradually translated forward along the γ axis in Fig. 2. Step S13: The processing unit 140 determines whether the receiver 122 receives the laser signal transmitted by the transmitter 120. If the receiver 122 does not receive the laser signal, that is, the frequency at which the receiver receives the laser signal is zero, the spindle of the printed circuit board drilling machine 1 continues to translate forward along the Y axis; if the receiver 122 receives To the laser signal 'that is, the frequency at which the receiver 122 receives the laser signal is not zero, then the terminal 201028242 proceeds to step S14. Step S14: The processing unit 14 calculates the position of the tool 10 at the moment when the receiver 122 receives the laser signal, that is, the moment when the receiver 122 receives the frequency of the laser signal is not zero, and records it as the fourth position. d and stored in the memory unit 142. Step S15: the processing unit 14 calculates the seat value r of the third and fourth positions c and d in the γ-axis direction. At this time, since the tool 1 () is not repaired during the rotation, the yaw is generated. When the tool 10 is in the third position c, the laser 12 of the transmitter 12 is mismatched; when the force 1 () is at the fourth position d, the transmitter 120 emits The recording signal has just not touched the edge of the tool (10), so the coordinate difference r represents the spread of the tool, so that the diameter of the tool 10 is 2r. Step S16: The processing unit 140 determines whether the tool diameter set in the drilled board of the printed circuit board is equal to 2r. _ Step S17: If the set tool diameter is equal to 2r, it is known that the selected tool 10 is selected correctly at this time, and the detection is completed. Step Si8: If the set tool diameter is not equal to 2r, it is known that the selected tool 10 is not in the normal state at the time, the detection is completed, and the operator needs to stop the tool change. The step S12 t can also control the spindle of the printed circuit board iron hole machine i to gradually move backward in the γ axis direction. If the receiver 122 does not receive the wrong signal, the printed circuit board drilling machine 1 Continue to move backward; if the receiver 122 receives the clock signal, step S14 is performed. 201028242 • The tool detection system and method of the month 1J illustrate the simultaneous detection of whether the 77 10 is yaw* and the tool radius of the tool is measured. The tool detection system and method can also be used to detect the tool separately. 1〇 Whether yaw is generated or the tool is measured. In the present embodiment, the tool detecting system and method are applied to the tool 1G of the printed circuit board drilling machine 1 as a limping. In other embodiments, the tool detecting system and method can also be used to detect tools of other machine tools. The tool detection system and method transmit a mis-signal signal to the tool 1〇' through the transmitter 12, and calculate the frequency at which the receiver (4) receives the mis-signal signal through the processing unit 14 and the tool is 〇 The position is calculated, so that the tool 10 can be quickly measured whether the yaw is generated during the JL process and whether the tool path of the tool has an error, which saves the processing _ and improves the processing efficiency. In summary, the invention conforms to the patent requirements of the invention, and the patent application is filed according to law. However, the above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art to the present invention are intended to be included in the following claims. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a preferred embodiment of a tool inspection system of the present invention. 2 is a perspective view of the tool, the groove, and the laser sensor of FIG. 1. Figures 3-1 and 3-2 are flow diagrams of a preferred embodiment of the tool inspection method of the present invention. [Main component symbol description] Printed circuit board drilling machine 1 Receiver 122 201028242 Tool 10 Controller 14 Laser sensor 12 Transmitter 140 Transmitter 120 Receiver 142 Groove 16 ❹ 11