JP6834854B2 - Work detection device, work detection method and computer program - Google Patents
Work detection device, work detection method and computer program Download PDFInfo
- Publication number
- JP6834854B2 JP6834854B2 JP2017167816A JP2017167816A JP6834854B2 JP 6834854 B2 JP6834854 B2 JP 6834854B2 JP 2017167816 A JP2017167816 A JP 2017167816A JP 2017167816 A JP2017167816 A JP 2017167816A JP 6834854 B2 JP6834854 B2 JP 6834854B2
- Authority
- JP
- Japan
- Prior art keywords
- disturbance
- work
- unit
- contact
- probe
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23Q—DETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
- B23Q17/00—Arrangements for observing, indicating or measuring on machine tools
- B23Q17/22—Arrangements for observing, indicating or measuring on machine tools for indicating or measuring existing or desired position of tool or work
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- A Measuring Device Byusing Mechanical Method (AREA)
- Machine Tool Sensing Apparatuses (AREA)
- Length Measuring Devices With Unspecified Measuring Means (AREA)
Description
本発明は、ワークの位置を検出するワーク検出装置、ワーク検出方法及びコンピュータプログラムに関する。 The present invention relates to a work detection device for detecting the position of a work, a work detection method, and a computer program.
従来から、加工装置などにおいて、移動するプローブとの接触によって加工対象のワークの位置を検出する技術が知られている。 Conventionally, in a processing apparatus or the like, a technique of detecting the position of a workpiece to be processed by contact with a moving probe has been known.
例えば、特許文献1は、接触子と、接触子が検出点と接触すると電気的な導通を検知する検知手段とを有する検出装置において、接触子が検出点に向かう第1の方向に移動して導通を検知すると、接触子は第1の方向と逆方向の第2の方向に移動する。接触子が第2の方向に所定閾値以上移動しても導通を維持する場合、斯かる検出点に導電性の液体が付着した可能性があると判定する検出方法を開示する。
For example,
一方、プローブとワークとの接触が検知できたとしても、前記検知の際、外乱が生じた場合は前記検知結果に外乱が影響を及ぼした可能性がある。斯かる検知結果は不正確なワークの位置検出を招く。特許文献1の検出方法はこのような問題を解決できない。
On the other hand, even if the contact between the probe and the work can be detected, if a disturbance occurs at the time of the detection, the disturbance may have an influence on the detection result. Such detection results lead to inaccurate work position detection. The detection method of
本発明は、斯かる事情に鑑みてなされたものであり、その目的とするところは、外乱による影響を考慮して、より正確にワークの位置を検出できるワーク検出装置及びワーク検出方法を提供することにある。 The present invention has been made in view of such circumstances, and an object of the present invention is to provide a work detection device and a work detection method capable of more accurately detecting the position of a work in consideration of the influence of disturbance. There is.
本発明に係るワーク検出装置は、所定範囲でワークとの接触有無を検知し、検知結果を表す接触信号を発するプローブと、外乱があったか否かを検出する外乱検出部と、取得した接触信号がワークとの接触があったことを表す場合、前の所定時間内に外乱があったか否かを判定する外乱判定部と、前記外乱判定部の判定結果に基づいて、前記ワークの座標を決定する座標決定部とを備えることを特徴とする。 The work detection device according to the present invention has a probe that detects the presence or absence of contact with the work within a predetermined range and emits a contact signal indicating the detection result, a disturbance detection unit that detects whether or not there is a disturbance, and the acquired contact signal. When indicating that there has been contact with the work, the coordinates for determining the coordinates of the work based on the determination result of the disturbance determination unit for determining whether or not there was a disturbance within the previous predetermined time and the determination result of the disturbance determination unit. It is characterized by having a determination unit.
本発明にあっては、取得した接触信号がワークとの接触があったことを表す場合、前記外乱判定部が前の所定時間内に外乱があったか否かを判定する。前記外乱判定部の判定結果に基づいて、前記座標決定部が前記ワークの座標を決定する。従って、ワークの座標を決定する際、外乱影響を考慮することができる。 In the present invention, when the acquired contact signal indicates that there has been contact with the work, the disturbance determination unit determines whether or not there has been a disturbance within the previous predetermined time. The coordinate determination unit determines the coordinates of the work based on the determination result of the disturbance determination unit. Therefore, the influence of disturbance can be taken into consideration when determining the coordinates of the work.
本発明に係るワーク検出装置は、前記プローブを駆動する駆動モータを備え、前記外乱は、前記駆動モータに係るトルクを含むことを特徴とする。 The work detection device according to the present invention includes a drive motor for driving the probe, and the disturbance includes torque related to the drive motor.
本発明にあっては、前記外乱検出部は前記プローブの駆動モータに係るトルクを含む外乱の検出を行う。前記外乱判定部は、前の所定時間内に前記駆動モータに係るトルクを含む外乱があったか否かを判定する。従って、ワークの座標を決定する際、自機の駆動モータに係るトルクによる外乱の影響を考慮することができる。 In the present invention, the disturbance detection unit detects disturbance including torque related to the drive motor of the probe. The disturbance determination unit determines whether or not there is a disturbance including torque related to the drive motor within the previous predetermined time. Therefore, when determining the coordinates of the work, it is possible to consider the influence of disturbance due to the torque related to the drive motor of the own machine.
本発明に係るワーク検出装置は、外乱があったと前記外乱判定部が判定した場合、前記取得した接触信号を無効にする無効部を備えることを特徴とする。 The work detection device according to the present invention is characterized by including an invalidation unit that invalidates the acquired contact signal when the disturbance determination unit determines that there is a disturbance.
本発明にあっては、外乱があったと前記外乱判定部が判定した場合、前記無効部が前記取得した接触信号を無効にする。従って、外乱の影響を排除し、正確にワークの座標を決定できる。 In the present invention, when the disturbance determination unit determines that there is a disturbance, the invalid unit invalidates the acquired contact signal. Therefore, the influence of the disturbance can be eliminated and the coordinates of the work can be accurately determined.
本発明に係るワーク検出装置は、外乱があったと前記外乱判定部が判定した場合、前記プローブの移動速度を変更する変速部を備え、前記プローブの移動速度が変更した場合、前記プローブは前記所定範囲での前記検知を再度行うことを特徴とする。 The work detection device according to the present invention includes a transmission unit that changes the moving speed of the probe when the disturbance determining unit determines that there is a disturbance, and when the moving speed of the probe changes, the probe is said to be predetermined. It is characterized in that the detection in the range is performed again.
本発明にあっては、外乱があったと前記外乱判定部が判定した場合、前記プローブが、移動速度を変更して前記検知を再度実行する。 In the present invention, when the disturbance determination unit determines that there is a disturbance, the probe changes the moving speed and executes the detection again.
本発明に係るワーク検出装置は、前記プローブの移動速度が変更した場合、前記外乱判定部は前記所定時間より長い時間内に外乱があったか否かを判定することを特徴とする。 The work detection device according to the present invention is characterized in that, when the moving speed of the probe is changed, the disturbance determination unit determines whether or not there is a disturbance within a time longer than the predetermined time.
本発明にあっては、前記プローブの移動速度が変更した場合、前記プローブの検知感度にも影響があり得る。従って、前記外乱判定部の判定に係る時間範囲を、前記プローブの移動速度変更に応じて変更する。 In the present invention, when the moving speed of the probe is changed, the detection sensitivity of the probe may also be affected. Therefore, the time range related to the determination of the disturbance determination unit is changed according to the change in the moving speed of the probe.
本発明に係るワーク検出方法は、所定範囲でワークとの接触有無を検知し、検知結果を表す接触信号を発するプローブと、前記接触信号及び外乱の検出結果を記憶する記憶部とを備えるワーク検出装置にて、前記ワークの位置を検出するワーク検出方法において、前記記憶部から取得した接触信号がワークとの接触があったことを表す場合、前の所定時間内に外乱があったか否かを判定する外乱判定ステップと、前記外乱判定ステップでの判定結果に基づいて、前記ワークの位置検出を行うステップとを含むことを特徴とする。 The work detection method according to the present invention is a work detection method including a probe that detects the presence or absence of contact with a work within a predetermined range and emits a contact signal indicating the detection result, and a storage unit that stores the contact signal and the detection result of disturbance. In the work detection method for detecting the position of the work by the device, when the contact signal acquired from the storage unit indicates that there was contact with the work, it is determined whether or not there was a disturbance within the previous predetermined time. It is characterized by including a disturbance determination step to be performed, and a step of detecting the position of the work based on the determination result in the disturbance determination step.
本発明に係るコンピュータプログラムは、所定範囲でワークとの接触有無を検知し、検知結果を表す接触信号を発するプローブと、外乱があったか否かを検出する外乱検出部とを備えるワーク検出装置を構成するコンピューターに、ワークの位置を検出させるコンピュータプログラムにおいて、コンピューターに、前記接触信号を取得させる取得ステップと、コンピューターに、前記取得ステップで取得した接触信号がワークとの接触があったことを表す場合、前の所定時間内に外乱があったか否かを判定させる外乱判定ステップと、コンピューターに、前記外乱判定ステップでの判定結果に基づいて、前記ワークの座標を決定させる座標決定ステップとを実行させることを特徴とする。 The computer program according to the present invention comprises a work detection device including a probe that detects the presence or absence of contact with a work within a predetermined range and emits a contact signal indicating a detection result, and a disturbance detection unit that detects whether or not there is a disturbance. In a computer program that causes a computer to detect the position of a work, a case where the acquisition step of causing the computer to acquire the contact signal and a case where the contact signal acquired in the acquisition step indicates that the computer has contacted the work. , A disturbance determination step for determining whether or not there was a disturbance within the previous predetermined time, and a coordinate determination step for causing the computer to determine the coordinates of the work based on the determination result in the disturbance determination step. It is characterized by.
本発明にあっては、取得した接触信号がワークとの接触があったことを表す場合、前の所定時間内に外乱があったか否かを判定し、斯かる判定の結果に基づいて、前記ワークの座標を決定する。従って、ワークの座標を決定する際、外乱影響を考慮することができる。 In the present invention, when the acquired contact signal indicates that there has been contact with the work, it is determined whether or not there has been a disturbance within the previous predetermined time, and based on the result of such determination, the work. Determine the coordinates of. Therefore, the influence of disturbance can be taken into consideration when determining the coordinates of the work.
本発明によれば、プローブとワークとの接触を検出する際、外乱による影響を考慮して、より正確にワークの位置を検出できる。 According to the present invention, when detecting the contact between the probe and the work, the position of the work can be detected more accurately in consideration of the influence of disturbance.
以下、本発明の実施の形態に係るワーク検出装置及びワーク検出方法を、図面に基づいて説明する。例えば、実施の形態に係るワーク検出装置は工作機械に設けており、該工作機械のテーブル上の被加工ワークの位置を検出し、加工基準点等の測定を行う。 Hereinafter, the work detection device and the work detection method according to the embodiment of the present invention will be described with reference to the drawings. For example, the work detection device according to the embodiment is provided in the machine tool, detects the position of the work to be machined on the table of the machine tool, and measures the machining reference point and the like.
(実施の形態1)
図1は実施の形態1に係るワーク検出装置の要部構成を示す構成図である。図1中、符号100は、本実施の形態に係るワーク検出装置を表す。本実施の形態に係るワーク検出装置100は、プローブ10及び本体20を備える。ワーク検出装置100は、プローブ10が所定範囲を移動し、プローブ10とワークWとの接触の有無を検知する接触検出を行う。ワーク検出装置100は接触検出の結果を用いてワークWの座標を特定する。以下、これらの処理をワーク位置検出ともいう。
(Embodiment 1)
FIG. 1 is a configuration diagram showing a main configuration of a work detection device according to a first embodiment. In FIG. 1,
プローブ10はハウジング1、先端に接触球2を有するスタイラス3を備える。ハウジング1はスタイラス3を保持する。スタイラス3は、例えば、前記テーブルに対して垂直である。スタイラス3は、上述したように、テーブルに対して垂直な状態から、前記テーブルの上面に沿う方向への変形及び復帰が可能である。
The
プローブ10は、通信部11、センサ12を備える。
センサ12は、接触検出の際、スタイラス3の振動・変形等を検知する。すなわち、センサ12は、スタイラス3の振動・変形等を検知し、接触球2がワークWと接触したか否かを検知する。接触球2がワークWと接触した場合、センサ12はその旨を示すアナログの検知信号を発する。
通信部11は、前記アナログの検知信号をデジタル信号に変換し、有線又は無線にて、本体20に送信する。斯かるデジタル信号においては、接触球2がワークWと接触した場合を「1」、接触球2がワークWと接触しない場合を「0」にて表す。以降においては、斯かるデジタル信号を接触信号という。
The
The
The
本体20は、通信部21、外乱検出部22、駆動機構23、データ処理部24、出力部25、記憶部26を備える。
通信部21はプローブ10から接触信号を受信する。記憶部26は通信部21が受信した接触信号を記憶する。
The
The
外乱検出部22は、接触検出の際に、外乱があったか否かを検出する。前記外乱は、例えば、摩擦トルク、重力の影響によるトルク、他軸の干渉によるトルク、近位の他装置の影響によるトルクを含む。これらの値は、プローブ10を駆動する駆動モータの速度、プローブ10の姿勢が決まれば計算できる。更に、本実施の形態に係る外乱検出部22は、プローブ10を駆動する駆動モータの影響によるトルクも外乱として検出する。
外乱検出部22は、検出した外乱の値が所定閾値以上である場合、外乱があると判定する。斯かる判定の結果に基づいて、外乱検出部22は外乱検出の有無を表す外乱信号を発する。記憶部26は斯かる外乱信号を記憶する。外乱信号は、外乱がある場合を「1」、外乱がない場合を「0」にて示すデジタル信号である。
The
When the value of the detected disturbance is equal to or greater than a predetermined threshold value, the
駆動機構23(駆動モータ)は、前記テーブル上において、プローブ10がX軸(例えば、左右方向)、Y軸(例えば、前後方向)、Z軸(例えば、上下方向)に移動する為の移動機構を含む。プローブ10は、工具と同様、ホルダにセットし、ホルダによって移動する。従って、前記移動機構は、ホルダが移動する為の、例えば、サーボモーター、該サーボモーターを制御するサーボアンプ等を含む。
出力部25は、所定の情報をワーク検出装置100のユーザに出力する。出力部25は、例えば、スピーカ、ランプ、表示部等であっても良い。
The drive mechanism 23 (drive motor) is a moving mechanism for moving the
The
記憶部26は、例えば、フラッシュメモリ、EEPROM(登録商標)、HDD、MRAM(磁気抵抗メモリ)、FeRAM(強誘電体メモリ)、又は、OUM等の不揮発性の記憶媒体である。記憶部26は、例えば、ワーク位置検出の為の制御プログラムを記憶する。また、記憶部26は、通信部21が受信した接触信号、外乱検出部22による外乱検出の結果を表す外乱信号を記憶する。
The
データ処理部24は、ワーク位置検出の処理において、記憶部26が記憶した接触信号及び外乱信号と、前記サーボアンプから取得できるサーボモーターの回転位置とに基づいてワークWの位置(X軸、Y軸及びZ軸座標)を特定する。
プローブ10及び外乱検出部22は、時系列において、連続して接触信号及び外乱信号を発する。記憶部26は接触信号及び外乱信号をその都度記憶する。一方、ワーク位置検出の処理においては、データ処理の負担を鑑み、一定時間毎に、即ち一定周期にて接触信号及び外乱信号を記憶部26から取得してワーク位置検出を行う。
本実施の形態に係るワーク検出装置100はこれに限るものではない。プローブ10が接触信号を一定周期にて発する構成であっても良い。
In the work position detection process, the
The
The
図2は、実施の形態1に係るワーク検出装置100のデータ処理部24の要部構成を示す機能ブロック図である。データ処理部24は、CPU241、取得部242、外乱判定部243、座標決定部244、無効部245、通知部246を有する。
FIG. 2 is a functional block diagram showing a main configuration of the
CPU241は、ROM(図示略)が予め格納した制御プログラムをRAM(図示略)上にロードして実行し、上述した各種ハードウェアの制御を行う。
The
取得部242は、周期的に、記憶部26から前記接触信号を読み取って取得する。1周期は、例えば、125μsである。
外乱判定部243は、取得部242が取得した取得接触信号がワークWとの接触があったことを表す場合、取得部242が当該接触信号を取得する前の所定時間内に外乱があったか否かを判定する。詳しくは、取得接触信号が「1」である場合、取得部242が当該接触信号を取得する前の所定時間内(例えば、1周期)に外乱があったか否かを判定する。外乱判定部243は、記憶部26が記憶した外乱信号に基づいて斯かる判定行う。
本実施の形態に係るワーク検出装置100はこれに限るものでない。前記所定時間は2周期であっても良く、3周期であっても良い。
The
When the
The
座標決定部244は、取得接触信号と、外乱判定部243の判定結果と、サーボアンプから取得したサーボモーターの回転位置とに基づいてワークWの座標を決定する。
詳しくは、座標決定部244は、取得接触信号が「1」である場合であって、その前の所定時間内に外乱が無かった場合、サーボモーターの回転位置に基づいてワークWの座標を決定する。
The coordinate
Specifically, the coordinate
無効部245は、外乱判定部243の判定結果に応じて、取得接触信号を無効にする。例えば、外乱判定部243が接触信号の取得時前の所定時間内に外乱があったと判定した場合、無効部245は斯かる取得接触信号を無効にする。この際、座標決定部244はワークWの座標決定を行わない。
The
通知部246は、外乱判定部243の判定結果に基づいて、ユーザに通知を行う。例えば、外乱判定部243が接触信号の取得時前の所定時間内に外乱があったと判定した場合、出力部25を介してその旨をユーザに通知する。具体的には、アラームを鳴らし、ランプを点灯し、又はエラー発生を表示する。
The
図3及び図4は、実施の形態1に係るワーク検出装置100におけるワーク位置検出の処理を概略的に説明する説明図である。図3は外乱が無かった場合を示しており、図4は外乱があった場合を示す。図3及び図4において破線は接触信号を取得する周期を示す。
3 and 4 are explanatory views schematically explaining the work position detection process in the
プローブ10は等速に移動しながら接触検知を行い、検知結果を表す検知信号を発する。プローブ10は、検知信号に基づいた接触信号を本体20に送信し、記憶部26が時系列に記憶する。ワークWとの接触があった場合、プローブ10は「1」の接触信号を本体20に送信する。ワークWとの接触が無かった場合、プローブ10は「0」の接触信号を本体20に送信する。また、記憶部26は、外乱検出の有無を表す外乱信号を時系列に記憶する。
The
実施の形態1に係るワーク検出装置100では、記憶部26から周期的に接触信号を取得し、「1」であるか否かを判定する。「1」である場合、当該接触信号を取得する前の所定時間内に外乱があったか否かを判定する。即ち、外乱信号において当該接触信号を取得する前の所定時間内の値が「0」か「1」かを確認する。
The
外乱信号の値が「0」である場合(図3のハッチング部分参照)、当該接触信号を取得する前の所定時間内に外乱が無かったことを示す。換言すれば、ワークWとの接触を検知した際、外乱が無かったので、斯かる検知結果は正確である。従って、接触信号の取得時のサーボモーターの回転位置に基づいてワークWの座標を決定する。 When the value of the disturbance signal is "0" (see the hatched portion in FIG. 3), it indicates that there was no disturbance within a predetermined time before acquiring the contact signal. In other words, when the contact with the work W was detected, there was no disturbance, so such a detection result is accurate. Therefore, the coordinates of the work W are determined based on the rotation position of the servo motor at the time of acquiring the contact signal.
外乱信号の値が「1」である場合(図4のハッチング部分参照)、当該接触信号を取得する前の所定時間内に外乱があったことを示す。換言すれば、ワークWとの接触を検知した際、外乱があったので、斯かる検知結果は不正確の虞がある。従って、取得した接触信号を無効にする。 When the value of the disturbance signal is "1" (see the hatched portion in FIG. 4), it indicates that there was a disturbance within a predetermined time before acquiring the contact signal. In other words, when the contact with the work W is detected, there is a disturbance, so that the detection result may be inaccurate. Therefore, the acquired contact signal is invalidated.
図5は、実施の形態1に係るワーク検出装置100におけるワーク位置検出の処理を説明するフローチャートである。
FIG. 5 is a flowchart illustrating a work position detection process in the
先ず、CPU241は外乱検出部22に外乱検出を指示し、外乱検出部22は外乱検出を開始する(ステップS101)。次いで、CPU241は接触検出を開始する(ステップS102)。即ち、CPU241がプローブ10に接触検出の開始を指示し、プローブ10は前記テーブル上をX軸、Y軸、又はZ軸方向に移動しながら、ワークWとの接触の有無を検知する。
First, the
CPU241は計時部(図示略)に計時を指示し、計時部の計時結果に基づいて1周期(125μs)が経過したか否かを判定する(ステップS103)。
CPU241は、1周期が経過していないと判定した場合(ステップS103:NO)、1周期が経過したと判定するまで斯かる判定を繰り返す。
1周期が経過したとCPU241で判定した場合(ステップS103:YES)、取得部242は記憶部26から接触信号を読み取って取得する(ステップS104)。
The
When the
When the
CPU241は、ワークWとの接触があったか否か、即ち取得接触信号の値が「1」であるか否かを判定する(ステップS105)。
CPU241は、取得接触信号の値が「1」ではないと判定した場合(ステップS105:NO)、処理をステップS103に戻す。
CPU241は、取得接触信号の値が「1」であると判定した場合(ステップS105:YES)、接触検出を一時的に中止する(ステップS106)。よって、プローブ10は停止する。
The
When the
When the
次いで、外乱判定部243は取得接触信号を取得する前の1周期内に外乱があったか否かを判定する(ステップS107)。
外乱判定部243が取得接触信号を取得する前の1周期内に外乱が無かったと判定した場合(ステップS107:NO)、座標決定部244は、サーボモーターの回転位置に基づいて、X軸、Y軸、又はZ軸におけるワークWの座標を決定する(ステップS108)。
Next, the
When the
外乱判定部243が取得接触信号を取得する前の1周期内に外乱があったと判定した場合(ステップS107:YES)、無効部245は取得接触信号、即ちステップS104で取得した接触信号を無効にする(ステップS109)。
また、通知部246は、出力部25を介して外乱があった旨をユーザに通知する(ステップS110)。
When the
Further, the
本実施の形態に係るワーク検出装置100は以上の記載に限るものでない。ステップS109で無効部245が斯かる取得接触信号を無効にした場合、処理がステップS102に戻っても良い。即ち、無効部245が取得した接触信号を無効にした場合、接触検知を再度行っても良い。
The
以上のように本実施の形態に係るワーク検出装置100においては、プローブ10がワークWと接触したことを検知した場合でも、その前所定時間内に外乱があった場合は、斯かる検知結果は不正確なものとして無効にする。従って、不正確の蓋然性のあるワーク位置検出を事前に防止し、ワーク位置検出の精度を高めることができる。
As described above, in the
(実施の形態2)
図6は、実施の形態2に係るワーク検出装置100のデータ処理部24の要部構成を示す機能ブロック図である。実施の形態1と同様、データ処理部24は、CPU241、取得部242、外乱判定部243、座標決定部244、無効部245、通知部246を有する。更に、データ処理部24は変速部247を有する。CPU241、取得部242、外乱判定部243、座標決定部244、無効部245、通知部246については実施の形態1と同様であるので説明を省略する。
(Embodiment 2)
FIG. 6 is a functional block diagram showing a main configuration of the
変速部247は、外乱判定部243が接触信号の取得時前の所定時間内に外乱があったと判定した場合、接触検出におけるプローブ10の移動速度を変更する。すなわち、変速部247がプローブ10の移動速度を変更し、プローブ10を駆動する駆動モータによるトルクの変更を図る。駆動モータのトルクが低減した場合、外乱検出部22による外乱有無の判定結果が変わることもあるからである。プローブ10の移動速度の変更は、変速部247が駆動機構23のサーボアンプを制御することによりできる。
When the
前記所定範囲でワークWとの接触を検知(接触検出)した後、変速部247がプローブ10の移動速度を変更した場合、プローブ10は前記所定範囲で接触検出を再実行する。即ち、図5の例では、ステップS109の後、変速部247がプローブ10の移動速度を変更し、処理はステップS102に戻る。
When the
以上のように本実施の形態に係るワーク検出装置100においては、プローブ10がワークWと接触したことを検知した場合でも、その前所定時間内に外乱があった場合は、プローブ10の移動速度を変えて斯かる接触検出を再度行う。従って、不正確の蓋然性のあるワーク位置検出を事前に防止し、ワーク位置検出の精度を高めることができる。
As described above, in the
実施の形態1と同様の部分については、同一の符号を付して詳細な説明を省略する。 The same parts as those in the first embodiment are designated by the same reference numerals, and detailed description thereof will be omitted.
(実施の形態3)
実施の形態3に係るワーク検出装置100のデータ処理部24は、実施の形態2と同様に、データ処理部24が、CPU241、取得部242、外乱判定部243、座標決定部244、無効部245、通知部246、変速部247を有する。CPU241、取得部242、外乱判定部243、座標決定部244、無効部245、通知部246、変速部247については実施の形態1,2と同様であるので説明を省略する。
(Embodiment 3)
In the
実施の形態3に係るワーク検出装置100においては、接触検出におけるプローブ10の移動速度が変更した場合、外乱判定部243が、前記所定時間より前から、外乱があったか否かの判定を行う。
例えば、外乱判定部243が接触信号の取得時前の所定時間内(例えば、1周期内)に外乱があったと判定した場合、変速部247はプローブ10の移動速度を変更する。以降、接触検出を再度行う場合、外乱判定部243は、前記所定時間、即ち1周期よりも前から、外乱があったか否かの判定を行う。
In the
For example, when the
具体的に、プローブ10の移動速度が速くなった場合(例えば、500mm/sec)、プローブ10のスタイラス3の振動・変形が大きくなる。従って、外乱判定部243は、例えば、接触信号を取得する前の3周期内に外乱があったか否かを判定する。この場合、3周期の間、外乱信号の値が全て「1」である場合のみ、外乱判定部243は外乱があったと判定する。
Specifically, when the moving speed of the
また、プローブ10の移動速度が遅くなった場合(例えば、50mm/sec)、プローブ10のスタイラス3の振動・変形が小さくなる。従って、外乱判定部243は、プローブ10の移動速度変化前と同様、接触信号の取得時前の1周期内に外乱があったか否かを判定する構成であっても良い。
Further, when the moving speed of the
以上のように本実施の形態に係るワーク検出装置100においては、プローブ10がワークWと接触したことを検知しても、その前所定時間内に外乱があった場合は、プローブ10の移動速度を変えて斯かる接触検出を再度行う。この場合は、外乱判定部243は、前記所定時間よりも前から、外乱があったか否かの判定を行う。従って、不正確の蓋然性のあるワーク位置検出を事前に防止し、ワーク位置検出の精度を高めることができる。
As described above, in the
実施の形態1と同様の部分については、同一の符号を付して詳細な説明を省略する。 The same parts as those in the first embodiment are designated by the same reference numerals, and detailed description thereof will be omitted.
なお、上述した取得部242、外乱判定部243、座標決定部244、無効部245、通知部246、変速部247は、ハードウェアロジックによって構成してもよいし、CPU241が所定のプログラムを実行することにより、ソフトウェア的に構築されてもよい。
The
(実施の形態4)
図7は実施の形態4に係るワーク検出装置の要部構成を示す構成図である。本実施の形態のワーク検出装置100は、動作を行うためのコンピュータプログラムが、I/F27を介してUSB(Universal Serial Bus)メモリ等の可搬型記録媒体Aで提供することも可能である。さらに、本実施の形態のワーク検出装置100は、前記コンピュータプログラムを、図示しない外部装置から通信部21を介してダウンロードすることも可能である。以下、その内容を説明する。
(Embodiment 4)
FIG. 7 is a configuration diagram showing a main configuration of the work detection device according to the fourth embodiment. In the
ワーク検出装置100は外装(又は内装)の記録媒体読み取り装置(図示せず)を備えており、該記録媒体読み取り装置に、前記接触信号を取得し、取得した接触信号がワークとの接触があったことを表す場合、前の所定時間内に外乱があったか否かを判定し、斯かる判定の結果に基づいて、前記ワークの座標を決定させるプログラム等が記録された可搬型記録媒体Aを挿入して、例えば、CPU241がROM(図示略)にこのプログラムをインストールする。斯かるプログラムはRAM(図示略)にロードして実行する。これにより、本実施の形態のワーク検出装置100として機能する。
The
前記記録媒体としては、いわゆるプログラムメディアであっても良く、磁気テープ及びカセットテープ等のテープ系、フレキシブルディスク及びハードディスク等の磁気ディスク並びにCD−ROM/MO/MD/DVD等の光ディスクのディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM、EPROM、EEPROM、フラッシュROM等による半導体メモリを含めた固定的にプログラムコードを担持する媒体であっても良い。 The recording medium may be a so-called program medium, and may be a tape system such as a magnetic tape or a cassette tape, a magnetic disk such as a flexible disk or a hard disk, or an optical disk system such as a CD-ROM / MO / MD / DVD. It may be a card system such as an IC card (including a memory card) / optical card, or a medium that fixedly carries a program code including a semiconductor memory such as a mask ROM, EPROM, EEPROM, or flash ROM.
実施の形態1と同様の部分については、同一の符号を付して詳細な説明を省略する。 The same parts as those in the first embodiment are designated by the same reference numerals, and detailed description thereof will be omitted.
10 プローブ
23 駆動機構(駆動モータ)
26 記憶部
100 ワーク検出装置
241 CPU
243 外乱判定部
245 無効部
247 変速部
W ワーク
10
26
243
Claims (7)
外乱があったか否かを検出する外乱検出部と、
取得した接触信号がワークとの接触があったことを表す場合、前の所定時間内に外乱があったか否かを判定する外乱判定部と、
前記外乱判定部の判定結果に基づいて、前記ワークの座標を決定する座標決定部と
を備えることを特徴とするワーク検出装置。 A probe that detects the presence or absence of contact with the work within a predetermined range and emits a contact signal indicating the detection result.
A disturbance detection unit that detects whether or not there was a disturbance,
When the acquired contact signal indicates that there was contact with the work, a disturbance determination unit that determines whether or not there was a disturbance within the previous predetermined time, and a disturbance determination unit.
A work detection device including a coordinate determination unit that determines the coordinates of the work based on the determination result of the disturbance determination unit.
前記外乱は、前記駆動モータに係るトルクを含むことを特徴とする請求項1に記載のワーク検出装置。 A drive motor for driving the probe is provided.
The work detection device according to claim 1, wherein the disturbance includes a torque related to the drive motor.
前記プローブの移動速度が変更した場合、前記プローブは前記所定範囲での前記検知を再度行うことを特徴とする請求項1から3の何れか一つに記載のワーク検出装置。 When the disturbance determination unit determines that there is a disturbance, the transmission unit is provided to change the moving speed of the probe.
The work detection device according to any one of claims 1 to 3, wherein when the moving speed of the probe is changed, the probe performs the detection again in the predetermined range.
前記記憶部から取得した接触信号がワークとの接触があったことを表す場合、前の所定時間内に外乱があったか否かを判定する外乱判定ステップと、
前記外乱判定ステップでの判定結果に基づいて、前記ワークの位置検出を行うステップと
を含むことを特徴とするワーク検出方法。 The position of the work is determined by a work detection device including a probe that detects the presence or absence of contact with the work within a predetermined range and emits a contact signal indicating the detection result, and a storage unit that stores the contact signal and the detection result of disturbance. In the work detection method to be detected,
When the contact signal acquired from the storage unit indicates that there has been contact with the work, a disturbance determination step for determining whether or not there has been a disturbance within the previous predetermined time, and a disturbance determination step.
A work detection method including a step of detecting the position of the work based on a determination result in the disturbance determination step.
コンピューターに、前記接触信号を取得させる取得ステップと、
コンピューターに、前記取得ステップで取得した接触信号がワークとの接触があったことを表す場合、前の所定時間内に外乱があったか否かを判定させる外乱判定ステップと、
コンピューターに、前記外乱判定ステップでの判定結果に基づいて、前記ワークの座標を決定させる座標決定ステップと
を実行させることを特徴とするコンピュータプログラム。 The position of the work is set on a computer that constitutes a work detection device including a probe that detects the presence or absence of contact with the work within a predetermined range and emits a contact signal indicating the detection result, and a disturbance detection unit that detects whether or not there is a disturbance. In the computer program to be detected
The acquisition step of causing the computer to acquire the contact signal,
When the contact signal acquired in the acquisition step indicates that the computer has contacted the work, the disturbance determination step for causing the computer to determine whether or not there was a disturbance within the previous predetermined time,
A computer program comprising causing a computer to execute a coordinate determination step of determining the coordinates of the work based on the determination result in the disturbance determination step.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017167816A JP6834854B2 (en) | 2017-08-31 | 2017-08-31 | Work detection device, work detection method and computer program |
CN201810974336.6A CN109420933B (en) | 2017-08-31 | 2018-08-24 | Workpiece detection device and workpiece detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017167816A JP6834854B2 (en) | 2017-08-31 | 2017-08-31 | Work detection device, work detection method and computer program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019045269A JP2019045269A (en) | 2019-03-22 |
JP6834854B2 true JP6834854B2 (en) | 2021-02-24 |
Family
ID=65514718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017167816A Active JP6834854B2 (en) | 2017-08-31 | 2017-08-31 | Work detection device, work detection method and computer program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6834854B2 (en) |
CN (1) | CN109420933B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6898966B2 (en) * | 2019-06-07 | 2021-07-07 | 株式会社ミツトヨ | Defect judgment unit |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102010018250A1 (en) * | 2010-04-23 | 2011-10-27 | Carl Zeiss Industrielle Messtechnik Gmbh | Method for measuring coordinates on workpieces on a coordinate measuring machine |
JP5311294B2 (en) * | 2010-04-28 | 2013-10-09 | 株式会社安川電機 | Robot contact position detector |
EP2839925B1 (en) * | 2012-04-17 | 2020-12-02 | Makino Milling Machine Co., Ltd. | Interference determination method and interference determination device for machine tool |
JP6240133B2 (en) * | 2015-09-18 | 2017-11-29 | ファナック株式会社 | Spot welding system that measures the position of the spot where welding is performed |
-
2017
- 2017-08-31 JP JP2017167816A patent/JP6834854B2/en active Active
-
2018
- 2018-08-24 CN CN201810974336.6A patent/CN109420933B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109420933B (en) | 2021-03-26 |
JP2019045269A (en) | 2019-03-22 |
CN109420933A (en) | 2019-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6622216B2 (en) | Calibration of measuring probe | |
US8676533B2 (en) | Touch trigger measurement probe | |
CN104942651B (en) | The displacement compensation device of lathe | |
JP6254456B2 (en) | CMM and correction matrix calculation method using CMM | |
US8164847B2 (en) | Fall detection device, magnetic disk device, and portable electronic apparatus | |
JP5312032B2 (en) | Surface shape measuring apparatus and surface shape measuring method | |
US8516712B2 (en) | Measurement device | |
CN106996739B (en) | Optical measurement probe calibration | |
JP2015203567A (en) | Metrology system | |
US20170030697A1 (en) | Feeler for workpieces being machined | |
JP2016017959A (en) | Method for controlling motion of coordinate measuring machine | |
JP2011122899A (en) | Spectacle frame shape measuring instrument | |
JP6834854B2 (en) | Work detection device, work detection method and computer program | |
WO2018150178A1 (en) | Surface finish or surface roughness probe | |
CN113532343B (en) | Key bit position data acquisition method and device, key cutting machine and storage medium | |
JP5371532B2 (en) | CMM | |
JP2012078214A (en) | Measuring apparatus | |
CN110977612A (en) | CNC (computer numerical control) machining online measurement error correction method and system | |
JP2020071029A (en) | Measurement system, control method of measurement operation, and determination method for sign of failure | |
JP7448437B2 (en) | Control method for shape measuring device | |
JP7486707B2 (en) | Shape measuring instrument and control method thereof | |
JP2009288227A (en) | Three-dimensional measuring machine | |
JPH1133880A (en) | Measuring device of nc lathe | |
JP2019007762A (en) | Measurement method using touch probe | |
US11555683B2 (en) | Form measuring instrument and method of detecting abnormality |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200218 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20201217 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20210105 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210118 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6834854 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |