JP6494180B2 - Position measuring device - Google Patents

Position measuring device Download PDF

Info

Publication number
JP6494180B2
JP6494180B2 JP2014110007A JP2014110007A JP6494180B2 JP 6494180 B2 JP6494180 B2 JP 6494180B2 JP 2014110007 A JP2014110007 A JP 2014110007A JP 2014110007 A JP2014110007 A JP 2014110007A JP 6494180 B2 JP6494180 B2 JP 6494180B2
Authority
JP
Japan
Prior art keywords
region
area
measurement
command
measuring
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.)
Expired - Fee Related
Application number
JP2014110007A
Other languages
Japanese (ja)
Other versions
JP2015224960A (en
Inventor
信策 阿部
信策 阿部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitutoyo Corp
Original Assignee
Mitutoyo Corp
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 Mitutoyo Corp filed Critical Mitutoyo Corp
Priority to JP2014110007A priority Critical patent/JP6494180B2/en
Publication of JP2015224960A publication Critical patent/JP2015224960A/en
Application granted granted Critical
Publication of JP6494180B2 publication Critical patent/JP6494180B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • A Measuring Device Byusing Mechanical Method (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Description

本発明は、検出箇所を測定ヘッドで指定して対象物の位置を測定する位置計測装置及び位置計測方法に関する。   The present invention relates to a position measurement apparatus and a position measurement method for measuring a position of an object by specifying a detection location with a measurement head.

三次元測定システムなどで用いられる測定ヘッドにはプローブが設けられており、このプローブの先端を測定対象物に接触等させることで測定箇所を指定して位置の測定を行っている。このような三次元測定システムにはコンピュータが接続される。このコンピュータで実行されるアプリケーションソフトウェアによって測定箇所の登録や測定結果の集計などの各種の処理が行われる。   A measurement head used in a three-dimensional measurement system or the like is provided with a probe, and the position of the probe is measured by designating a measurement location by bringing the tip of the probe into contact with a measurement object. A computer is connected to such a three-dimensional measurement system. Various processes such as measurement location registration and measurement result aggregation are performed by application software executed on the computer.

通常、コンピュータに対する指示はマウスやキーボードといった入力デバイスを用いて行われる。特許文献1においては、測定ヘッドにトラックボールを設けておき、使用者がこのトラックボールを回すことでコンピュータの画面上のカーソルを動かすことができるようになっている。また、特許文献2においては、測定ヘッドが設けられた多関節アームの動作を加速度センサで検出し、閾値以上の加速度で多関節アームを動作させた場合に、測定ヘッドによってコンピュータに対する指示を行うよう切り替えている。   Usually, an instruction to the computer is performed using an input device such as a mouse or a keyboard. In Patent Document 1, a trackball is provided on a measuring head, and a user can move a cursor on a computer screen by turning the trackball. In Patent Document 2, when an operation of an articulated arm provided with a measuring head is detected by an acceleration sensor and the articulated arm is operated at an acceleration equal to or higher than a threshold, an instruction is given to the computer by the measuring head. Switching.

特表2010−511860号公報Special table 2010-511860 gazette 特開2013−228215号公報JP 2013-228215 A

しかしながら、特許文献1に記載の技術においては、測定ヘッドにトラックボールを組み込む必要があり、測定ヘッドの部品点数の増加やコストアップを招く原因になる。さらに、使用者は操作する度に測定箇所から視線を外してコンピュータの画面を参照する必要があるため、作業効率の低下を招く。特に、コンピュータの画面が小さかったり、画面が測定対象物の陰になっていたりすると操作するのが困難になる。   However, in the technique described in Patent Document 1, it is necessary to incorporate a trackball into the measurement head, which causes an increase in the number of parts of the measurement head and an increase in cost. In addition, every time the user operates, it is necessary to remove the line of sight from the measurement location and refer to the computer screen, resulting in a reduction in work efficiency. In particular, if the computer screen is small or the screen is behind the object to be measured, the operation becomes difficult.

また、特許文献2に記載の技術においては、多関節アームの加速度を検出する加速度センサを組み込む必要があり、特許文献1と同様に部品転送の増加やコストアップの原因になる。また、加速度が閾値以上である場合にコンピュータに対する指示を行うように切り替えるため、多関節アームの動作と使用者の感覚とが合致しない場合も生じる。例えば、使用者が測定中に多関節アームを動かした際に、閾値以上の加速度が自然に出てしまった場合、使用者の意思に反してモードの切り替えが行われてしまう。反対に、使用者がモードの切り替えを行おうとして多関節アームを移動させても、閾値以上の加速度に達していないとモードの切り替えが行われないことになる。   Moreover, in the technique described in Patent Document 2, it is necessary to incorporate an acceleration sensor that detects the acceleration of the articulated arm, which causes an increase in parts transfer and an increase in cost as in Patent Document 1. In addition, when the acceleration is equal to or higher than the threshold value, the operation is switched so that an instruction is given to the computer, so that the operation of the articulated arm may not match the user's sense. For example, when the user moves the multi-joint arm during measurement, if acceleration equal to or greater than the threshold naturally occurs, the mode is switched against the user's intention. On the other hand, even if the user moves the articulated arm in order to change the mode, the mode is not changed unless the acceleration exceeds the threshold value.

本発明の目的は、測定ヘッドを用いて位置計測処理とコマンド処理とを的確に切り替えて所望の処理を実行することができる位置計測装置及び位置計測方法を提供することである。   An object of the present invention is to provide a position measuring apparatus and a position measuring method capable of executing desired processing by accurately switching between position measuring processing and command processing using a measuring head.

本発明の位置計測装置は、所定の座標系における位置の検出箇所を指定する測定ヘッドと、測定ヘッドにより指定された検出箇所の前記座標系での座標を取得する座標取得部と、前記座標系での第1領域及び第2領域を記憶する領域記憶部と、座標取得部で取得した座標に基づき処理を実行する制御部と、を備える。制御部は、座標取得部で取得した座標が第1領域内である場合、対象物の位置を測定する処理を実行する位置測定処理部と、座標取得部で取得した座標が第2領域内である場合、第2領域に対応付けされたコマンドを受け付けて実行するコマンド処理部と、を備えたことを特徴とする。   The position measuring device of the present invention includes a measurement head that specifies a position detection position in a predetermined coordinate system, a coordinate acquisition unit that acquires coordinates in the coordinate system of the detection position specified by the measurement head, and the coordinate system And an area storage unit that stores the first area and the second area, and a control unit that executes processing based on the coordinates acquired by the coordinate acquisition unit. When the coordinates acquired by the coordinate acquisition unit are within the first region, the control unit executes a process for measuring the position of the object, and the coordinates acquired by the coordinate acquisition unit are within the second region. In some cases, a command processing unit that receives and executes a command associated with the second area is provided.

このような構成によれば、測定ヘッドにより指定された検出箇所の位置が、予め設定された第1領域内である場合に測定を行い、第2領域内である場合にコマンド処理を行う。このため、測定ヘッドにより指定する位置に応じて測定とコマンド処理とを的確に切り替えることができるようになる。また、第2領域に対応付けされたコマンドを実行するため、使用者は視線を外すことなくコマンドの実行を指定できるようになる。   According to such a configuration, measurement is performed when the position of the detection location designated by the measurement head is within the preset first area, and command processing is performed when the position is within the second area. For this reason, it becomes possible to accurately switch between measurement and command processing according to the position designated by the measurement head. In addition, since the command associated with the second area is executed, the user can specify the execution of the command without removing his / her line of sight.

本発明の位置計測装置において、第2領域は、複数のボタン設定領域を含み、コマンド処理部は、複数のボタン設定領域のうち座標取得部で取得した座標を含むボタン設定領域と対応付けされたコマンドを受け付けて実行してもよい。このような構成によれば、使用者は、複数のボタン設定領域に対応付けされたコマンドを選択して実行させることができる。   In the position measurement apparatus of the present invention, the second area includes a plurality of button setting areas, and the command processing unit is associated with a button setting area including coordinates acquired by the coordinate acquisition unit among the plurality of button setting areas. A command may be received and executed. According to such a configuration, the user can select and execute a command associated with a plurality of button setting areas.

本発明の位置計測装置において、第2領域は二次元領域や三次元領域であってもよい。第2領域が二次元領域であると、測定ヘッドで平面を指定することでコマンドの実行を指定することができる。また、第2領域が三次元領域であると、測定ヘッドで空間を指定することでコマンドの実行を指定することができるようになる。   In the position measurement apparatus of the present invention, the second region may be a two-dimensional region or a three-dimensional region. If the second area is a two-dimensional area, command execution can be specified by specifying a plane with the measuring head. If the second area is a three-dimensional area, command execution can be specified by specifying a space with the measurement head.

本発明の位置計測装置において、第2領域は、所定のタイミングにおける測定ヘッドの位置及び向きを基準とした領域に設定されてもよい。このような構成によれば、測定ヘッドの位置及び向きと第2領域との相対的な位置が一定になる。これにより、測定ヘッドの姿勢に応じて第2領域の位置を的確に把握できるようになる。   In the position measurement apparatus of the present invention, the second area may be set to an area based on the position and orientation of the measurement head at a predetermined timing. According to such a configuration, the relative position between the position and orientation of the measuring head and the second region is constant. Thereby, the position of the second region can be accurately grasped according to the posture of the measuring head.

本発明の位置計測方法は、所定の座標系における位置の検出箇所を測定ヘッドで指定する工程と、測定ヘッドにより指定された検出箇所の前記座標系での座標を座標取得部で取得する工程と、座標取得部で取得した座標が前記座標系での第1領域内である場合、対象物の位置を測定する処理を実行する工程と、座標取得部で取得した座標が前記座標系での第2領域内である場合、第2領域に対応付けされたコマンドを受け付けて実行する工程と、を備えたことを特徴とする。   The position measuring method of the present invention includes a step of designating a detection location of a position in a predetermined coordinate system with a measurement head, a step of obtaining a coordinate in the coordinate system of the detection location designated by the measurement head with a coordinate acquisition unit When the coordinates acquired by the coordinate acquisition unit are within the first region in the coordinate system, the process of measuring the position of the object, and the coordinates acquired by the coordinate acquisition unit are the first in the coordinate system. A step of receiving and executing a command associated with the second area when the area is within the two areas.

このような構成によれば、測定ヘッドにより指定された検出箇所の位置が、予め設定された第1領域内である場合に測定を行い、第2領域内である場合にコマンド処理を行う。このため、測定ヘッドにより指定する位置に応じて測定とコマンド処理とを的確に切り替えることができるようになる。また、第2領域に対応付けされたコマンドを実行するため、使用者は視線を外すことなくコマンドの実行を指定できるようになる。   According to such a configuration, measurement is performed when the position of the detection location designated by the measurement head is within the preset first area, and command processing is performed when the position is within the second area. For this reason, it becomes possible to accurately switch between measurement and command processing according to the position designated by the measurement head. In addition, since the command associated with the second area is executed, the user can specify the execution of the command without removing his / her line of sight.

本発明の位置計測方法において、第2領域に複数のボタン設定領域が含まれる場合、コマンドを受け付けて実行する工程では、複数のボタン設定領域のうち座標取得部で取得した座標を含むボタン設定領域と対応付けされたコマンドを受け付けて実行してもよい。このような構成によれば、使用者は、複数のボタン設定領域に対応付けされたコマンドを選択して実行させることができる。   In the position measurement method of the present invention, when the second area includes a plurality of button setting areas, in the step of receiving and executing a command, the button setting area including coordinates acquired by the coordinate acquisition unit among the plurality of button setting areas It is also possible to receive and execute a command associated with. According to such a configuration, the user can select and execute a command associated with a plurality of button setting areas.

第1実施形態に係る位置計測装置の構成を例示する模式図である。It is a schematic diagram which illustrates the structure of the position measuring device which concerns on 1st Embodiment. 第1実施形態に係る位置計測装置のブロック構成図である。It is a block block diagram of the position measuring device which concerns on 1st Embodiment. 第1の位置計測方法を例示するフローチャートである。It is a flowchart which illustrates the 1st position measuring method. 第2の位置計測方法を例示するフローチャートである。It is a flowchart which illustrates the 2nd position measuring method. (a)及び(b)は、位置計測方法の具体例を示す模式図である。(A) And (b) is a schematic diagram which shows the specific example of a position measuring method. (a)及び(b)は、第2実施形態を説明する模式図である。(A) And (b) is a schematic diagram explaining 2nd Embodiment. (a)及び(b)は、第3実施形態を説明する模式図である。(A) And (b) is a schematic diagram explaining 3rd Embodiment.

以下、本発明の実施形態を図面に基づいて説明する。なお、以下の説明では、同一の部材には同一の符号を付し、一度説明した部材については適宜その説明を省略する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same members are denoted by the same reference numerals, and the description of the members once described is omitted as appropriate.

〔第1実施形態〕
図1は、第1実施形態に係る位置計測装置の構成を例示する模式図である。
本実施形態に係る位置計測装置1は、アーム型の三次元測定装置である。位置計測装置1は、多関節アーム15の先端に取り付けられた測定ヘッド10と、所定の座標系での座標を取得する座標取得部20と、第1領域R1及び第2領域R2を記憶する領域記憶部30と、各種の処理を実行する制御部40と、を備える。
[First Embodiment]
FIG. 1 is a schematic view illustrating the configuration of the position measurement apparatus according to the first embodiment.
The position measuring apparatus 1 according to the present embodiment is an arm type three-dimensional measuring apparatus. The position measuring device 1 includes a measuring head 10 attached to the tip of the articulated arm 15, a coordinate acquisition unit 20 that acquires coordinates in a predetermined coordinate system, and an area that stores the first area R1 and the second area R2. The memory | storage part 30 and the control part 40 which performs various processes are provided.

測定ヘッド10の先端には棒状の測定プローブ11が設けられる。測定プローブ11の先端には球状の測定子11aが設けられる。この測定子11aを対象物OBの検出箇所に接触させることで、接触点の座標を求めることができる。   A rod-shaped measurement probe 11 is provided at the tip of the measurement head 10. A spherical probe 11 a is provided at the tip of the measurement probe 11. By bringing the measuring element 11a into contact with the detection location of the object OB, the coordinates of the contact point can be obtained.

また、測定ヘッド10にはハンドル12が設けられる。ハンドル12は使用者が測定ヘッド10を持つ際の握り部分である。ハンドル12にはボタン12aが設けられる。使用者は、ボタン12aを押下することで、そのときの測定子11aの座標を得ることができる。   The measuring head 10 is provided with a handle 12. The handle 12 is a grip portion when the user holds the measuring head 10. The handle 12 is provided with a button 12a. The user can obtain the coordinates of the probe 11a at that time by pressing the button 12a.

多関節アーム15は、例えば定盤100の上に設置される。多関節アーム15は、測定ヘッド10を支持するとともに、ハンドル12を持った使用者の動きに応じて測定ヘッド10を様々の位置、方向に移動できるよう構成される。多関節アーム15は、例えば6軸を中心に回転動作可能になっている。多関節アーム15には各軸に対する角度センサ151が設けられている。ハンドル12を持った使用者が測定ヘッド10を移動させることで、各軸に対する角度センサ151から各軸に対する角度が出力される。   The articulated arm 15 is installed on the surface plate 100, for example. The articulated arm 15 supports the measurement head 10 and is configured to be able to move the measurement head 10 in various positions and directions according to the movement of the user holding the handle 12. The articulated arm 15 can be rotated about, for example, six axes. The articulated arm 15 is provided with an angle sensor 151 for each axis. When the user having the handle 12 moves the measuring head 10, the angle for each axis is output from the angle sensor 151 for each axis.

座標取得部20は、角度センサ151から出力される角度の値などに基づき、測定ヘッド10により指定された検出箇所の座標を演算して出力する。本実施形態では、X,Y,Zの三次元座標系による座標を演算する。具体的には、測定ヘッド10の測定子11aが対象物OBの検出箇所に接触した際に角度センサ151から出力される角度やアームの長さ等を用いて測定子11aの接触点のX,Y,Zの座標を演算する。   The coordinate acquisition unit 20 calculates and outputs the coordinates of the detection location designated by the measurement head 10 based on the angle value output from the angle sensor 151 and the like. In the present embodiment, coordinates based on a three-dimensional coordinate system of X, Y, and Z are calculated. Specifically, when the measuring element 11a of the measuring head 10 contacts the detection position of the object OB, the angle X, the length of the arm, etc. output from the angle sensor 151, the contact point X, The coordinates of Y and Z are calculated.

領域記憶部30は、X,Y,Z座標系での第1領域R1と第2領域R2とを記憶する部分である。領域記憶部30は、例えばコンピュータPCの記憶領域に設けられる。第1領域R1は、対象物OBの位置を測定するための領域である。第2領域R2は、第1領域R1とは重複しない領域である。図1に表した例では、第2領域R2は定盤100上の所定の二次元領域(XY平面での領域)として設定される。   The area storage unit 30 is a part that stores the first area R1 and the second area R2 in the X, Y, Z coordinate system. The area storage unit 30 is provided in a storage area of the computer PC, for example. The first region R1 is a region for measuring the position of the object OB. The second region R2 is a region that does not overlap with the first region R1. In the example shown in FIG. 1, the second region R2 is set as a predetermined two-dimensional region (region on the XY plane) on the surface plate 100.

第1領域R1及び第2領域R2は、測定ヘッド10を用いて設定することができる。例えば、第1領域R1を構成する複数のポイントW1〜W4の位置を測定ヘッド10で指定する。これにより、複数のポイントW1〜W4によって構成される領域を第1領域R1として登録する。   The first region R1 and the second region R2 can be set using the measuring head 10. For example, the measurement head 10 designates the positions of a plurality of points W1 to W4 constituting the first region R1. Thereby, an area constituted by the plurality of points W1 to W4 is registered as the first area R1.

例えば、第1領域R1が直方体領域である場合、定盤100上の3つのポイントW1〜W3と、高さ方向(Z軸方向)を決めるポイントW4とを指定することで、直方体領域の第1領域R1が設定される。なお、領域は直方体に限らず、円柱などの他の形状であってもよい。それぞれの形状を規定するためのポイントを指定することで、第1領域R1が設定される。   For example, when the first region R1 is a rectangular parallelepiped region, the first point of the rectangular parallelepiped region is specified by specifying three points W1 to W3 on the surface plate 100 and a point W4 that determines the height direction (Z-axis direction). Region R1 is set. The region is not limited to a rectangular parallelepiped, but may be another shape such as a cylinder. By designating points for defining each shape, the first region R1 is set.

同様に、第2領域R2についても登録しておく。例えば、第2領域R2が矩形領域である場合、定盤100上の2つのポイントV11及びV12を指定する。これにより、2つのポイントV11及びV12を対角とした矩形領域の第2領域R2が設定される。第2領域R2の登録では、第2領域R2と対応付けされたコマンドも登録しておく。   Similarly, the second region R2 is also registered. For example, when the second region R2 is a rectangular region, two points V11 and V12 on the surface plate 100 are designated. Thereby, a second region R2 of a rectangular region with the two points V11 and V12 as diagonals is set. In the registration of the second area R2, a command associated with the second area R2 is also registered.

制御部40は、座標取得部20で取得した座標に基づき各種の処理を実行する。座標取得部20及び制御部40は、例えばコンピュータで実行されるプログラム処理によって実現される。測定によって得られた座標はディスプレイ45に表示される。使用者は、測定ヘッド10を用いて対象物OBの位置を検出する検出箇所の指定を行うとともに、ディスプレイ45に表示される内容に沿って測定を進めていく。   The control unit 40 executes various processes based on the coordinates acquired by the coordinate acquisition unit 20. The coordinate acquisition unit 20 and the control unit 40 are realized by, for example, program processing executed by a computer. The coordinates obtained by the measurement are displayed on the display 45. The user uses the measurement head 10 to specify a detection location for detecting the position of the object OB, and proceeds with the measurement according to the content displayed on the display 45.

本実施形態において、制御部40は、後述する位置測定処理部と、コマンド処理部とを備える。制御部40は、測定ヘッド10によって指定された座標が第1領域R1内であるか、第2領域R2内であるかに応じて処理の切り替えを行う。   In the present embodiment, the control unit 40 includes a position measurement processing unit and a command processing unit described later. The control unit 40 switches processing depending on whether the coordinates designated by the measuring head 10 are in the first region R1 or the second region R2.

図2は、本実施形態に係る位置計測装置のブロック構成図である。
測定ヘッド10から座標取得部20には測定子11aが対象物OBなどに接触したことを表す接触信号が出力される。この接触信号は、ボタン12aを押下したタイミングでも出力される。
FIG. 2 is a block configuration diagram of the position measuring apparatus according to the present embodiment.
A contact signal indicating that the measuring element 11a has contacted the object OB or the like is output from the measuring head 10 to the coordinate acquisition unit 20. This contact signal is also output when the button 12a is pressed.

座標取得部20は、角度センサ151から出力される角度の情報を受ける。座標取得部20は、測定ヘッド10から出力された接触信号を受けたタイミングで角度センサ151から出力される角度の情報を受ける。そして、角度の情報などを用いて測定子11aのX,Y,Z座標系における座標を演算し、制御部40へ出力する。   The coordinate acquisition unit 20 receives angle information output from the angle sensor 151. The coordinate acquisition unit 20 receives the angle information output from the angle sensor 151 at the timing of receiving the contact signal output from the measurement head 10. Then, the coordinates of the measuring element 11 a in the X, Y, Z coordinate system are calculated using the angle information and the like, and output to the control unit 40.

領域記憶部30には、予め第1領域R1を特定するための座標データと、第2領域R2を特定するための座標データとが記憶される。第1領域R1及び第2領域R2は、位置計測装置1の設定によって変更可能である。   The area storage unit 30 stores in advance coordinate data for specifying the first area R1 and coordinate data for specifying the second area R2. The first region R1 and the second region R2 can be changed depending on the setting of the position measuring device 1.

制御部40は、位置測定処理部41及びコマンド処理部42を備える。位置測定処理部41及びコマンド処理部42は、コンピュータPCで実行されるプログラム処理によって実現してもよい。   The control unit 40 includes a position measurement processing unit 41 and a command processing unit 42. The position measurement processing unit 41 and the command processing unit 42 may be realized by program processing executed on the computer PC.

制御部40は、座標取得部20から出力された座標が第1領域R1内である場合に位置測定処理部41による処理を選択する。また、制御部40は、座標取得部20から出力された座標が第2領域R2内である場合にコマンド処理部42による処理を選択する。   The control unit 40 selects the processing by the position measurement processing unit 41 when the coordinates output from the coordinate acquisition unit 20 are within the first region R1. Moreover, the control part 40 selects the process by the command process part 42, when the coordinate output from the coordinate acquisition part 20 is in 2nd area | region R2.

位置測定処理部41は、対象物OBの位置を測定する処理を実行する。すなわち、位置測定処理部41は、座標取得部20から出力された座標を、対象物OBの検出箇所での測定結果として登録する処理を行う。コンピュータPCでは、対象物OBの三次元位置を測定するためのプログラムが実行される。位置測定処理部41は、このプログラムにおける測定結果の入力として、座標取得部20から出力された座標の値を入力する処理を行う。   The position measurement processing unit 41 executes a process for measuring the position of the object OB. That is, the position measurement processing unit 41 performs a process of registering the coordinates output from the coordinate acquisition unit 20 as the measurement result at the detection location of the object OB. In the computer PC, a program for measuring the three-dimensional position of the object OB is executed. The position measurement processing unit 41 performs a process of inputting the coordinate value output from the coordinate acquisition unit 20 as an input of a measurement result in this program.

一方、コマンド処理部42は、第2領域R2に対応付けされたコマンドを受け付けて実行する処理を行う。第2領域R2とコマンドとの対応付けは、予めコンピュータPCなどに登録されている。コマンド処理部42は、座標取得部20から出力された座標を対象物OBの検出箇所での測定結果として取り扱うのではなく、所定のコマンドを実行するためのトリガーとして利用する。例えば、第2領域R2に対応付けされたコマンドが、「取り消し」コマンドであった場合、コマンド処理部42は、コンピュータPCに対して「取り消し」コマンドを送る。   On the other hand, the command processing unit 42 performs a process of receiving and executing a command associated with the second region R2. The association between the second region R2 and the command is registered in advance in the computer PC or the like. The command processing unit 42 uses the coordinates output from the coordinate acquisition unit 20 as a trigger for executing a predetermined command, instead of treating the coordinates as a measurement result at the detection location of the object OB. For example, if the command associated with the second region R2 is a “cancel” command, the command processing unit 42 sends a “cancel” command to the computer PC.

このように、本実施形態に係る位置計測装置1では、測定ヘッド10によって指定された検出箇所が第1領域R1内にある場合には対象物OBの位置を測定する処理が行われ、検出箇所が第2領域R2内である場合にはコンピュータPCに対するコマンドを実行する処理が行われる。すなわち、本実施形態に係る位置計測装置1によれば、測定ヘッド10の位置に応じて、対象物OBの位置測定と、コンピュータPCに対するコマンド実行とを容易に切り替えることができるようになる。これにより、使用者はコンピュータPCを参照しなくても測定ヘッド10の測定子11aを第2領域R2内に接触させるだけでコンピュータPCに対するコマンドを送ることができるようになる。   As described above, in the position measurement apparatus 1 according to the present embodiment, when the detection location designated by the measurement head 10 is in the first region R1, the process of measuring the position of the object OB is performed, and the detection location is detected. Is within the second region R2, a process of executing a command for the computer PC is performed. That is, according to the position measuring apparatus 1 according to the present embodiment, the position measurement of the object OB and the command execution for the computer PC can be easily switched according to the position of the measurement head 10. As a result, the user can send a command to the computer PC only by bringing the probe 11a of the measuring head 10 into contact with the second region R2 without referring to the computer PC.

次に、本実施形態に係る位置計測装置1による位置計測方法について、2つの例を挙げて説明する。
図3は、第1の位置計測方法を例示するフローチャートである。
先ず、ステップS101に表したように、測定ヘッド10による測定が指示されたか否かを判断する。例えば、タッチプローブ型の測定子11aが何らかに接触したか、またはハンドル12のボタン12aが押下された場合、位置測定の指示があったと判断する。位置測定の指示がない場合には測定ヘッド10の移動中であるとして処理を終了する。
Next, the position measuring method by the position measuring apparatus 1 according to the present embodiment will be described with two examples.
FIG. 3 is a flowchart illustrating the first position measurement method.
First, as shown in step S101, it is determined whether or not measurement by the measuring head 10 is instructed. For example, when the touch probe type measuring element 11a is in contact with something or when the button 12a of the handle 12 is pressed, it is determined that there is an instruction for position measurement. If there is no position measurement instruction, it is determined that the measuring head 10 is moving, and the process ends.

位置測定の指示がされた場合には、ステップS102に表したように、座標の演算を行う。座標は、検出箇所が指定されたタイミングで角度センサ151から得られる角度の情報などに基づき座標取得部20によって演算される。   When the position measurement is instructed, the coordinates are calculated as shown in step S102. The coordinates are calculated by the coordinate acquisition unit 20 based on the angle information obtained from the angle sensor 151 at the timing when the detection location is designated.

次に、ステップS103に表したように、領域判定を行う。領域判定では、検出箇所の座標が第1領域R1内であるか、第2領域内であるか、それ以外であるかを判断する。制御部40は、座標取得部20で演算して得た座標がX,Y,Z座標系で予め設定された第1領域R1内に属するか、第2領域R2内に属するか、それ以外であるかを判断する。座標が第1領域R1でも第2領域R2でもない場合には処理を終了する。座標が第1領域R1内に属する場合には、ステップS104に表した位置測定処理を行う。位置測定処理では、座標取得部20で演算して得た座標を対象物OBの検出箇所での座標として処理する。   Next, as shown in step S103, area determination is performed. In the area determination, it is determined whether the coordinates of the detected location are within the first area R1, the second area, or other. The control unit 40 determines whether the coordinates calculated by the coordinate acquisition unit 20 belong to the first region R1 or the second region R2 set in advance in the X, Y, Z coordinate system. Determine if there is. If the coordinates are neither the first region R1 nor the second region R2, the process ends. If the coordinates belong to the first region R1, the position measurement process shown in step S104 is performed. In the position measurement process, the coordinates obtained by the calculation by the coordinate acquisition unit 20 are processed as the coordinates at the detection location of the object OB.

一方、座標が第2領域R2内に属する場合には、ステップS105に表したコマンド送信処理を行う。コマンド送信処理では、第2領域R2に対応付けされたコマンドをコンピュータPCに送信する。   On the other hand, if the coordinates belong to the second region R2, the command transmission process shown in step S105 is performed. In the command transmission process, a command associated with the second region R2 is transmitted to the computer PC.

このような処理によって、使用者は、測定ヘッド10により指定する位置に応じて対象物OBの位置の測定と、コンピュータPCへのコマンド送信処理とを的確に切り替えることができるようになる。   By such processing, the user can accurately switch between the measurement of the position of the object OB and the command transmission processing to the computer PC according to the position designated by the measuring head 10.

図4は、第2の位置計測方法を例示するフローチャートである。
先ず、ステップS201に表したように、測定ヘッド10の座標を計算する。座標は、角度センサ151から得られる角度の情報などに基づき座標取得部20によって演算される。
FIG. 4 is a flowchart illustrating the second position measurement method.
First, as shown in step S201, the coordinates of the measuring head 10 are calculated. The coordinates are calculated by the coordinate acquisition unit 20 based on angle information obtained from the angle sensor 151 and the like.

次に、ステップS202に表したように、計算した座標が第1領域R1内であるか、第2領域内であるか、それ以外であるかを判断する。制御部40は、座標取得部20で演算して得た座標がX,Y,Z座標系で予め設定された第1領域R1内に属するか、第2領域R2内に属するか、それ以外であるかを判断する。座標が第1領域R1でも第2領域R2でもない場合には処理を終了する。   Next, as shown in step S202, it is determined whether the calculated coordinates are in the first region R1, the second region, or other. The control unit 40 determines whether the coordinates calculated by the coordinate acquisition unit 20 belong to the first region R1 or the second region R2 set in advance in the X, Y, Z coordinate system. Determine if there is. If the coordinates are neither the first region R1 nor the second region R2, the process ends.

座標が第1領域R1内に属する場合には、ステップS203に表したように、測定ヘッド10による測定が指示されたか否かを判断する。例えば、タッチプローブ型の測定子11aが何らかに接触したか、またはハンドル12のボタン12aが押下された場合、位置測定の指示があったと判断する。位置測定の指示がない場合には測定ヘッド10の移動中であるとして処理を終了する。   When the coordinates belong to the first region R1, as shown in step S203, it is determined whether or not measurement by the measurement head 10 is instructed. For example, when the touch probe type measuring element 11a is in contact with something or when the button 12a of the handle 12 is pressed, it is determined that there is an instruction for position measurement. If there is no position measurement instruction, it is determined that the measuring head 10 is moving, and the process ends.

測定ヘッド10によって位置測定の指示がされた場合には、ステップS204に表した位置測定処理を行う。位置測定処理では、座標取得部20で演算して得た座標を対象物OBの検出箇所での座標として処理する。   When the position measurement is instructed by the measurement head 10, the position measurement process shown in step S204 is performed. In the position measurement process, the coordinates obtained by the calculation by the coordinate acquisition unit 20 are processed as the coordinates at the detection location of the object OB.

一方、ステップS202において、座標が第2領域R2内に属すると判断した場合、ステップS205に表したように、測定ヘッド10による位置測定の指示がされたか否かを判断する。位置測定の指示がない場合には測定ヘッド10の移動中であるとして処理を終了する。   On the other hand, if it is determined in step S202 that the coordinates belong to the second region R2, as shown in step S205, it is determined whether or not position measurement is instructed by the measurement head 10. If there is no position measurement instruction, it is determined that the measuring head 10 is moving, and the process ends.

測定ヘッド10によって位置測定の指示がされた場合には、ステップS206に表したコマンド送信処理を行う。コマンド送信処理では、第2領域R2に対応付けされたコマンドをコンピュータPCに送信する。   When the position measurement is instructed by the measuring head 10, the command transmission process shown in step S206 is performed. In the command transmission process, a command associated with the second region R2 is transmitted to the computer PC.

このような処理によって、使用者は、測定ヘッド10により指定する位置に応じて対象物OBの位置の測定と、コンピュータPCへのコマンド送信処理とを的確に切り替えることができるようになる。   By such processing, the user can accurately switch between the measurement of the position of the object OB and the command transmission processing to the computer PC according to the position designated by the measuring head 10.

次に、位置計測方法の具体例について説明する。
図5(a)及び(b)は、位置計測方法の具体例を示す模式図である。
先ず、予め、第1領域R1及び第2領域R2を領域記憶部30に記憶しておく。第1領域R1及び第2領域R2のそれぞれは、例えばX,Y,Z座標系における領域として登録される。ここで、第1領域R1については、測定の対象物OBよりも大きな領域に設定しておく。また、第2領域R2については、領域の登録とともにコマンドの対応付けを行っておく。
Next, a specific example of the position measurement method will be described.
FIGS. 5A and 5B are schematic views showing a specific example of the position measuring method.
First, the first area R1 and the second area R2 are stored in the area storage unit 30 in advance. Each of the first region R1 and the second region R2 is registered as a region in the X, Y, Z coordinate system, for example. Here, the first region R1 is set to a region larger than the measurement object OB. For the second area R2, the command is associated with the registration of the area.

位置計測を行うには、先ず、定盤100の第1領域R1内に対象物OBを載置する。そして、図5(a)に表したように、測定ヘッド10の測定子11aを対象物OBの位置を検出する箇所(検出箇所)に接触させる。測定子11aが対象物OBに接触すると、接触信号が座標取得部20に送られる。座標取得部20では、接触信号を受けたタイミングで多関節アーム15に取り付けられた角度センサ151の角度を受けて、検出箇所の座標を演算する。   In order to perform position measurement, first, the object OB is placed in the first region R1 of the surface plate 100. Then, as shown in FIG. 5A, the measuring element 11 a of the measuring head 10 is brought into contact with a location (detection location) where the position of the object OB is detected. When the measuring element 11 a contacts the object OB, a contact signal is sent to the coordinate acquisition unit 20. The coordinate acquisition unit 20 receives the angle of the angle sensor 151 attached to the articulated arm 15 at the timing when the contact signal is received, and calculates the coordinates of the detected portion.

制御部40は、座標取得部20で演算して得た座標を受けて、この座標が第1領域R1内に属していることを判断する。これにより、制御部40は、位置測定処理部41を選択し、座標を対象物OBの位置計測結果としてコンピュータPCに登録する処理を行う。   The control unit 40 receives the coordinates obtained by the calculation by the coordinate acquisition unit 20, and determines that the coordinates belong to the first region R1. Thereby, the control part 40 performs the process which selects the position measurement process part 41 and registers coordinates into computer PC as a position measurement result of the target object OB.

次に、測定ヘッド10の測定子11aが対象物OBの別の検出箇所と接触した場合、先と同様に、座標取得部20で演算して得た座標が第1領域R1内であるとして、制御部40は、位置測定処理部41を選択し、その座標を対象物OBの位置計測結果としてコンピュータPCに登録する処理を行う。座標取得部20で演算して得た座標が第1領域R1内である限り、その座標は対象物OBの位置計測結果として取り扱われる。   Next, when the probe 11a of the measuring head 10 comes into contact with another detection point of the object OB, the coordinates obtained by the coordinate acquisition unit 20 are assumed to be in the first region R1 as before. The control unit 40 selects the position measurement processing unit 41 and performs processing for registering the coordinates in the computer PC as the position measurement result of the object OB. As long as the coordinates calculated by the coordinate acquisition unit 20 are within the first region R1, the coordinates are handled as the position measurement result of the object OB.

図5(b)に表したように、使用者が測定ヘッド10を移動して、測定子11aで定盤100上の第2領域R2を測定したとする。これにより、測定ヘッド10から座標取得部20に接触信号が送られ、座標取得部20では検出箇所の座標を演算する。   As shown in FIG. 5B, it is assumed that the user moves the measuring head 10 and measures the second region R2 on the surface plate 100 with the measuring element 11a. As a result, a contact signal is sent from the measuring head 10 to the coordinate acquisition unit 20, and the coordinate acquisition unit 20 calculates the coordinates of the detected portion.

制御部40は、座標取得部20で演算して得た座標を受けて、この座標が第2領域R2内に属していることを判断する。これにより、制御部40は、コマンド処理部42を選択し、第2領域R2に対応付けされたコマンドをコンピュータPCに送る処理を行う。コンピュータPCは、コマンド処理部42から送られたコマンドを受けて、このコマンドに基づく処理を実行する。   The control unit 40 receives the coordinates obtained by the calculation by the coordinate acquisition unit 20, and determines that the coordinates belong to the second region R2. Thereby, the control part 40 performs the process which selects the command process part 42 and sends the command matched with 2nd area | region R2 to computer PC. The computer PC receives the command sent from the command processing unit 42 and executes processing based on this command.

このように、使用者は測定ヘッド10で指定する検出箇所の位置によって、対象物OBを測定するモードと、コンピュータPCを制御するモードとの切り替えを行うことができる。したがって、コンピュータPCのディスプレイ45の表示を参照しなくても、コンピュータPCに対する制御を行うことが可能になる。   As described above, the user can switch between the mode for measuring the object OB and the mode for controlling the computer PC according to the position of the detection location designated by the measuring head 10. Therefore, it is possible to control the computer PC without referring to the display on the display 45 of the computer PC.

〔第2実施形態〕
次に、第2実施形態の説明を行う。
図6(a)及び(b)は、第2実施形態を説明する模式図である。なお、図6(a)及び(b)では、説明の便宜上、座標取得部20、領域記憶部30、制御部40及びコンピュータPCは省略される。
[Second Embodiment]
Next, the second embodiment will be described.
FIGS. 6A and 6B are schematic diagrams for explaining the second embodiment. 6A and 6B, the coordinate acquisition unit 20, the area storage unit 30, the control unit 40, and the computer PC are omitted for convenience of explanation.

図6(a)に表した例では、第2領域R2に複数のボタン設定領域R21〜R25が設けられる。なお、図6(a)に表した例では5つのボタン設定領域R21〜R25が設けられているが、5つに限定されない。   In the example shown in FIG. 6A, a plurality of button setting areas R21 to R25 are provided in the second area R2. In the example shown in FIG. 6A, five button setting areas R21 to R25 are provided, but the number is not limited to five.

複数のボタン設定領域R21〜R25のそれぞれは、互いに重ならない二次元領域である。図6(a)に表した例では、XY平面に沿った二次元領域として複数のボタン設定領域R21〜R25が設定される。ボタン設定領域R21〜R25を決める座標は、領域記憶部30に記憶される。各ボタン設定領域R21〜R25の大きさや形状は自由に設定可能である。   Each of the plurality of button setting areas R21 to R25 is a two-dimensional area that does not overlap each other. In the example shown in FIG. 6A, a plurality of button setting areas R21 to R25 are set as a two-dimensional area along the XY plane. The coordinates for determining the button setting areas R21 to R25 are stored in the area storage unit 30. The size and shape of each button setting area R21 to R25 can be freely set.

これら複数のボタン設定領域R21〜R25には、それぞれコマンドが対応付けされる。例えば、5つのボタン設定領域R21〜R25がある場合、それぞれに対応付けすることで5つのコマンドを登録することができる。   A command is associated with each of the plurality of button setting areas R21 to R25. For example, when there are five button setting areas R21 to R25, five commands can be registered by associating them with each other.

5つのボタン設定領域R21〜R25とコマンドとの対応付けは、予めコンピュータPCなどに登録されている。ボタン設定領域R21〜R25とコマンドとの対応付けは、自由に行うことができる。例えば、使用者の位置から比較的近いボタン設定領域R21には、頻繁に使用されるコマンドを対応付けする。また、確実に送信したいコマンドについては、範囲の広いボタン設定領域R25に対応付けする。ボタン設定領域R21〜R25とコマンドとの対応付けは、使用者の好みに応じて設定してもよい。また、計測装置固有の設定を行って統一的なインタフェースを構築してもよい。   The associations between the five button setting areas R21 to R25 and the commands are registered in advance in the computer PC or the like. The button setting areas R21 to R25 can be associated with commands freely. For example, frequently used commands are associated with the button setting region R21 that is relatively close to the user's position. Further, a command that is surely transmitted is associated with the button setting region R25 having a wide range. The association between the button setting areas R21 to R25 and the command may be set according to the user's preference. In addition, a unified interface may be constructed by performing settings unique to the measuring device.

使用者は、複数のボタン設定領域R21〜R25の中から、コンピュータPCに送りたいコマンドが割り当てられたものを選択し、そこに測定ヘッド10の測定子11aを接触させる。測定子11aを接触させると、座標取得部20によって測定子11aの座標が演算され、制御部40に送られる。   The user selects a button assigned to the command to be sent to the computer PC from the plurality of button setting areas R21 to R25, and brings the probe 11a of the measuring head 10 into contact therewith. When the probe 11 a is brought into contact, the coordinates of the probe 11 a are calculated by the coordinate acquisition unit 20 and sent to the controller 40.

制御部40は、座標取得部20から送られた測定子11aの座標が第2領域R2内に属すると判断した場合にコマンド処理部42を選択する。コマンド処理部42は、測定子11aの座標が複数のボタン設定領域R21〜R25のいずれかに属するかを判断し、そのボタン設定領域R21〜R25に対応付けされたコマンドをコンピュータPCに送信する。   The control unit 40 selects the command processing unit 42 when determining that the coordinates of the probe 11a sent from the coordinate acquisition unit 20 belong to the second region R2. The command processing unit 42 determines whether the coordinates of the measuring element 11a belong to any of the plurality of button setting areas R21 to R25, and transmits a command associated with the button setting areas R21 to R25 to the computer PC.

これにより、使用者は、複数のボタン設定領域R21〜R25のうち、送りたいコマンドが対応付けされたものに測定ヘッド10の測定子11aを接触させることで、そのコマンドをコンピュータPCに送ることができるようになる。   Thus, the user can send the command to the computer PC by bringing the measuring element 11a of the measuring head 10 into contact with the command to be sent among the plurality of button setting areas R21 to R25. become able to.

一例として、ボタン設定領域R21に「測定プログラムのスタート/ストップ」、ボタン設定領域R22に「画面拡大」、ボタン設定領域R23に「画面縮小」、ボタン設定領域R24に「印刷」、ボタン設定領域R25に「取り消し」のコマンドを割り当てたとする。使用者が測定プログラムをスタートさせたい場合、測定ヘッド10の測定子11aでボタン設定領域R21を触る。これにより、コマンド処理部42からコンピュータPCへボタン設定領域R21に割り当てられた「測定プログラムのスタート/ストップ」のコマンドが送信され、コンピュータPCで測定プログラムの実行が開始される。測定プログラムの実行中にボタン設定領域R21を測定子11aで触ると、測定プログラムは停止する。   As an example, “start / stop of measurement program” in the button setting area R21, “screen enlargement” in the button setting area R22, “screen reduction” in the button setting area R23, “print” in the button setting area R24, and button setting area R25. Is assigned a “cancel” command. When the user wants to start the measurement program, the user touches the button setting region R21 with the probe 11a of the measurement head 10. As a result, the command processing unit 42 transmits a “measurement program start / stop” command assigned to the button setting area R21 to the computer PC, and the computer PC starts executing the measurement program. If the button setting region R21 is touched with the measuring element 11a during the execution of the measurement program, the measurement program is stopped.

同様に、例えばディスプレイ45の表示を拡大したい場合には、測定子11aでボタン設定領域R22を触る。これにより、コマンド処理部42からコンピュータPCへ「画面拡大」のコマンドが送信される。測定子11aでボタン設定領域R22を1回ずつ触ると、段階的に画面表示が拡大される。一方、測定子11aでボタン設定領域R23を触ると、コマンド処理部42からコンピュータPCへ「画面縮小」のコマンドが送信され、画面表示が縮小される。また、印刷を行いたい場合には、測定子11aでボタン設定領域R24を触る。これにより、コマンド処理部42からコンピュータPCへ「印刷」のコマンドが送信され、印刷出力が行われる。   Similarly, for example, when it is desired to enlarge the display on the display 45, the button setting region R22 is touched with the measuring element 11a. As a result, a command “enlarge screen” is transmitted from the command processing unit 42 to the computer PC. When the button 11 is touched once with the measuring element 11a, the screen display is enlarged step by step. On the other hand, when the measuring element 11a touches the button setting region R23, a command “screen reduction” is transmitted from the command processing unit 42 to the computer PC, and the screen display is reduced. When printing is desired, the button setting area R24 is touched with the measuring element 11a. As a result, a “print” command is transmitted from the command processing unit 42 to the computer PC, and print output is performed.

このように、各ボタン設定領域R21〜R25にコマンドを割り当てておくことで、測定ヘッド10を利用したコマンド送信を行うことができるようになる。コンピュータPCが離れた位置にある場合でも、使用者はコンピュータPCの位置まで移動することなく手元の測定ヘッド10を用いてコンピュータPCを制御することが可能になる。   In this way, by assigning commands to the button setting areas R21 to R25, command transmission using the measuring head 10 can be performed. Even when the computer PC is at a remote position, the user can control the computer PC using the measuring head 10 at hand without moving to the position of the computer PC.

なお、複数のボタン設定領域R21〜R25の区別をしやすくするため、例えば定盤100に各ボタン設定領域R21〜R25の境界線やラベルを設けておいてもよい。これにより、定盤100の上に、コマンドを送信するためのボタンが設定されたかのように、選択に迷うことなく利用することが可能となる。   In order to easily distinguish the plurality of button setting areas R21 to R25, for example, a boundary line or a label of each button setting area R21 to R25 may be provided on the surface plate 100. As a result, it can be used without hesitation in selection as if a button for transmitting a command is set on the surface plate 100.

また、ボタン設定領域R21〜R25は、必ずしも定盤100の上でなくてもよい。例えば、定盤100から離れたXY平面や、XZ平面、YZ平面など、どのような二次元領域であってもよい。   Further, the button setting areas R21 to R25 do not necessarily have to be on the surface plate 100. For example, any two-dimensional region such as an XY plane, an XZ plane, or a YZ plane away from the surface plate 100 may be used.

図6(b)に表した例では、第2領域R2が三次元領域になっている。第2領域R2には、複数のボタン設定領域R26〜R30が設けられる。なお、図6(b)に表した例では5つのボタン設定領域R26〜R30が設けられているが、5つに限定されない。   In the example shown in FIG. 6B, the second region R2 is a three-dimensional region. In the second area R2, a plurality of button setting areas R26 to R30 are provided. In the example shown in FIG. 6B, five button setting areas R26 to R30 are provided, but the number is not limited to five.

複数のボタン設定領域R26〜R30のそれぞれは、互いに重ならない三次元領域である。ボタン設定領域R26〜R30を決める座標は、領域記憶部30に記憶される。各ボタン設定領域R26〜R30の大きさや形状は自由に設定可能である。また、例えばボタン設定領域R30のように、定盤100から離れた空間を設定してもよい。複数のボタン設定領域R26〜R30とコマンドとの対応付けは、予めコンピュータPCなどに登録されている。   Each of the plurality of button setting areas R26 to R30 is a three-dimensional area that does not overlap each other. The coordinates for determining the button setting areas R26 to R30 are stored in the area storage unit 30. The size and shape of each button setting area R26 to R30 can be freely set. Further, for example, a space away from the surface plate 100 may be set as in the button setting area R30. The association between the plurality of button setting areas R26 to R30 and the command is registered in advance in the computer PC or the like.

使用者は、複数のボタン設定領域R26〜R30の中から、コンピュータPCに送りたいコマンドが割り当てられたものを選択し、そこに測定ヘッド10の測定子11aを配置する。そして、この状態でハンドル12に設けられたボタン12aを押下する。ボタン12aを押下すると、座標取得部20によってそのときの測定子11aの座標が演算され、制御部40に送られる。   The user selects the button assigned to the command to be sent to the computer PC from among the plurality of button setting areas R26 to R30, and places the measuring element 11a of the measuring head 10 there. In this state, the button 12a provided on the handle 12 is pressed. When the button 12 a is pressed, the coordinates of the measuring element 11 a at that time are calculated by the coordinate acquisition unit 20 and sent to the control unit 40.

制御部40は、座標取得部20から送られた測定子11aの座標が第2領域R2内に属すると判断した場合にコマンド処理部42を選択する。コマンド処理部42は、測定子11aの座標が複数のボタン設定領域R26〜R30のいずれかに属するかを判断し、そのボタン設定領域R26〜R30に対応付けされたコマンドをコンピュータPCに送信する。   The control unit 40 selects the command processing unit 42 when determining that the coordinates of the probe 11a sent from the coordinate acquisition unit 20 belong to the second region R2. The command processing unit 42 determines whether the coordinate of the measuring element 11a belongs to any of the plurality of button setting areas R26 to R30, and transmits a command associated with the button setting area R26 to R30 to the computer PC.

これにより、使用者は、複数のボタン設定領域R26〜R30のうち、送りたいコマンドが対応付けされたものに測定ヘッド10の測定子11aを配置してボタン12aを押下することで、そのコマンドをコンピュータPCに送ることができるようになる。   As a result, the user places the probe 11a of the measuring head 10 on the button setting region R26 to R30 associated with the command to be sent and presses the button 12a, thereby pressing the command. It can be sent to a computer PC.

図6(b)に表した例では、測定ヘッド10の移動範囲内において、空間のあらゆる場所にコマンドを送信するための仮想的なボタンを配置することが可能である。このため、三次元的なレイアウトで仮想的なボタンを配置でき、多種多様なユーザインタフェースを実現することが可能になる。   In the example shown in FIG. 6B, it is possible to arrange virtual buttons for transmitting commands to any place in the space within the movement range of the measuring head 10. For this reason, virtual buttons can be arranged in a three-dimensional layout, and a wide variety of user interfaces can be realized.

〔第3実施形態〕
次に、第3実施形態について説明する。
図7(a)及び(b)は、第3実施形態を説明する模式図である。なお、図7(a)及び(b)では、説明の便宜上、座標取得部20、領域記憶部30、制御部40及びコンピュータPCは省略される。
[Third Embodiment]
Next, a third embodiment will be described.
FIGS. 7A and 7B are schematic views for explaining the third embodiment. 7A and 7B, the coordinate acquisition unit 20, the area storage unit 30, the control unit 40, and the computer PC are omitted for convenience of explanation.

図7(a)及び(b)では、測定ヘッド10の位置及び向きを基準に第2領域R2が設定される例が示される。例えば、図7(a)に表したように、測定ヘッド10の測定子11aが第1領域R1以外の位置に配置されている状態で、使用者によってボタン12bが押下されたとする。座標取得部20は、ボタン12bが押下された際の測定ヘッド10の位置(座標)と、測定プローブ11の先端の向きとを求める。   7A and 7B show an example in which the second region R2 is set based on the position and orientation of the measurement head 10. FIG. For example, as shown in FIG. 7A, it is assumed that the user presses the button 12b in a state where the measuring element 11a of the measuring head 10 is arranged at a position other than the first region R1. The coordinate acquisition unit 20 obtains the position (coordinates) of the measurement head 10 when the button 12b is pressed and the orientation of the tip of the measurement probe 11.

次に、制御部40は、座標取得部20で求めた測定ヘッド10の位置及び向きを基準として第2領域R2を設定する。図7(a)に表した例では、測定ヘッド10の右側に第2領域R2が設定される。すなわち、第2領域R2は、測定ヘッド10を基準にした右側の所定領域に設定される。   Next, the control unit 40 sets the second region R2 based on the position and orientation of the measuring head 10 obtained by the coordinate acquisition unit 20. In the example illustrated in FIG. 7A, the second region R <b> 2 is set on the right side of the measurement head 10. That is, the second region R2 is set to a predetermined region on the right side with respect to the measurement head 10.

第2領域R2が設定された状態で、使用者は測定ヘッド10の測定子11aを第2領域R2に配置してボタン12aを押下する。これにより、第2領域R2と対応付けされたコマンドがコンピュータPCに送信される。   With the second region R2 set, the user places the probe 11a of the measuring head 10 in the second region R2 and presses the button 12a. Thereby, the command associated with the second region R2 is transmitted to the computer PC.

その後、使用者が測定ヘッド10の測定子11aを第1領域R1に配置して対象物OBに接触させると、対象物OBの位置の測定が行われる。この際、先に設定した第2領域R2は解除してもよい。   Thereafter, when the user places the probe 11a of the measuring head 10 in the first region R1 and contacts the object OB, the position of the object OB is measured. At this time, the previously set second region R2 may be canceled.

次に、図7(b)に表したように、使用者の立ち位置が変わり、測定ヘッド10の位置が図7(a)に示す位置とは大きく変わったとする。この状態で、使用者によってボタン12bが押下されたとする。座標取得部20は、ボタン12bが押下された際の測定ヘッド10の位置(座標)と、測定プローブ11の先端の向きとを求める。   Next, as shown in FIG. 7B, it is assumed that the standing position of the user has changed and the position of the measuring head 10 has changed significantly from the position shown in FIG. 7A. Assume that the user presses the button 12b in this state. The coordinate acquisition unit 20 obtains the position (coordinates) of the measurement head 10 when the button 12b is pressed and the orientation of the tip of the measurement probe 11.

次に、制御部40は、座標取得部20で求めた測定ヘッド10の位置及び向きを基準として第2領域R2を設定する。図7(b)に表した例では、測定ヘッド10の右側に第2領域R2が設定される。この際、図7(a)に表した例とは異なる位置に第2領域R2が設定される。つまり、第2領域R2は、測定ヘッド10の位置及び向きに応じて配置が変化することになる。   Next, the control unit 40 sets the second region R2 based on the position and orientation of the measuring head 10 obtained by the coordinate acquisition unit 20. In the example illustrated in FIG. 7B, the second region R <b> 2 is set on the right side of the measurement head 10. At this time, the second region R2 is set at a position different from the example shown in FIG. That is, the arrangement of the second region R2 changes according to the position and orientation of the measuring head 10.

新たな位置に第2領域R2が設定された状態で、使用者は測定ヘッド10の測定子11aを第2領域R2に配置してボタン12aを押下する。これにより、第2領域R2と対応付けされたコマンドがコンピュータPCに送信される。   In a state where the second region R2 is set at a new position, the user places the probe 11a of the measuring head 10 in the second region R2 and presses the button 12a. Thereby, the command associated with the second region R2 is transmitted to the computer PC.

このように、本実施形態では、測定ヘッド10の位置及び向きに応じて第2領域R2の配置が決定される。つまり、第2領域R2と測定ヘッド10との相対的な位置が一定になるように第2領域R2が設定される。これにより、使用者は測定ヘッド10の姿勢との関係で第2領域R2の位置を的確に把握することができる。例えば、測定ヘッド10の右側の所定位置に常に第2領域R2が設定されるとすると、使用者は測定ヘッド10をどのような姿勢で利用しても、測定ヘッド10の右側の所定位置に第2領域R2があると認識して、コマンド送信処理を行うことが可能になる。   Thus, in the present embodiment, the arrangement of the second region R2 is determined according to the position and orientation of the measurement head 10. That is, the second region R2 is set so that the relative position between the second region R2 and the measurement head 10 is constant. As a result, the user can accurately grasp the position of the second region R2 in relation to the posture of the measuring head 10. For example, assuming that the second region R2 is always set at a predetermined position on the right side of the measuring head 10, the user can use the measuring head 10 in any posture to move to the predetermined position on the right side of the measuring head 10. It becomes possible to perform command transmission processing by recognizing that there are two regions R2.

なお、上記の例では測定ヘッド10の右側に第2領域R2が設定される例を示したが、これ以外の位置であっても同様である。また、測定ヘッド10の位置及び向きを基準として複数のボタン設定領域が設定されてもよい。また、使用者がボタン12aを押下したタイミングで第2領域R2を設定する例を示したが、ボタン12aの押下以外のタイミングで第2領域R2を設定するようにしてもよい。例えば、測定子11aが第1領域R1内から外に出た後、一定時間その位置で停止していた場合が挙げられる。この場合、対象物OBを測定するモードからコンピュータPCを制御するモードに切り替わったことを示す報知(例えば、測定ヘッド10やコンピュータPCのスピーカからのブザー音や、測定ヘッド10に装着されたLED等の表示手段の点灯)を行ってもよい。   In the above example, the example in which the second region R2 is set on the right side of the measuring head 10 is shown, but the same applies to other positions. A plurality of button setting areas may be set based on the position and orientation of the measuring head 10. Moreover, although the example which sets 2nd area | region R2 at the timing when a user depresses button 12a was shown, you may make it set 2nd area | region R2 at timings other than the press of button 12a. For example, there is a case where the probe 11a has stopped at that position for a certain period of time after leaving the first region R1. In this case, a notification indicating that the mode for measuring the object OB has been switched to the mode for controlling the computer PC (for example, a buzzer sound from the speaker of the measurement head 10 or the computer PC, an LED attached to the measurement head 10, or the like) The display means may be turned on).

また、第2領域R2を指示してコンピュータPCにコマンドを送るタイミングは、ボタン12aの押下や、ボタン12aを押下しなくても測定子11aが第2領域R2内にある状態で一定時間その位置で停止していた場合が挙げられる。コマンドを送信した場合、先と同様な報知を行ってもよい。   Also, the timing for sending the command to the computer PC by instructing the second region R2 is the position for a certain time when the measuring element 11a is in the second region R2 even if the button 12a is pressed or the button 12a is not pressed. The case where it stopped at is mentioned. When a command is transmitted, notification similar to the above may be performed.

また、第2領域R2は、使用者の位置及び向きを基準として設定されてもよい。例えば、図示しないカメラによって使用者の顔や体の位置及び向きを検知し、この検知した位置及び向きを基準として第2領域R2を設定してもよい。これにより、使用者が顔や体の向きを変えながら測定作業をする場合であっても、変化する使用者の位置及び向きに応じて第2領域R2が設定される。例えば、使用者の右側に第2領域R2が設定される場合には、使用者がどのような位置及び向きで作業していても、常に体の右側に第2領域R2が設定されることになり、的確にコマンド送信処理を行うことが可能になる。   Further, the second region R2 may be set based on the position and orientation of the user. For example, the position and orientation of the user's face and body may be detected by a camera (not shown), and the second region R2 may be set based on the detected position and orientation. Thus, even when the user performs measurement work while changing the orientation of the face or body, the second region R2 is set according to the changing position and orientation of the user. For example, when the second region R2 is set on the right side of the user, the second region R2 is always set on the right side of the body regardless of the position and orientation of the user. Thus, command transmission processing can be performed accurately.

以上説明したように、本実施形態に係る位置計測装置1及び位置計測方法によれば、次のような効果がある。例えば、使用者は、コンピュータPCのディスプレイ45を参照しなくても、コンピュータPCに対してコマンドを送信することが可能となる。また、測定ヘッド10を用いた検出箇所の座標によって処理を切り替えるため、処理を切り替えるための特別なハードウェアを追加する必要はない。また、使用者の好みに応じたレイアウトでコマンドを実行する仮想的なボタンを定義することが可能になる。また、測定の対象物OBの近くに第2領域R2を設定しておけば、離れた位置に配置されたコンピュータPCまで出向いてコマンドを入力する動作が不要になり、作業効率が向上する。さらに、位置計測と同じ操作でコンピュータPCに対するコマンドを実行できることから、特別な訓練や慣れを必要とせず容易に処理の切り替えを実行することが可能になる。   As described above, according to the position measuring apparatus 1 and the position measuring method according to the present embodiment, the following effects are obtained. For example, the user can transmit a command to the computer PC without referring to the display 45 of the computer PC. In addition, since the process is switched depending on the coordinates of the detection location using the measurement head 10, it is not necessary to add special hardware for switching the process. Further, it is possible to define a virtual button for executing a command with a layout according to the user's preference. If the second region R2 is set near the measurement object OB, the operation of going to the computer PC arranged at a distant position and inputting a command becomes unnecessary, and the work efficiency is improved. Furthermore, since the command for the computer PC can be executed by the same operation as the position measurement, it is possible to easily execute the process switching without requiring special training or familiarity.

このように、本実施形態に係る位置計測装置1及び位置計測方法によれば、測定ヘッド10を用いて位置計測処理とコマンド処理とを的確に切り替えて所望の処理を実行することが可能になる。   As described above, according to the position measurement device 1 and the position measurement method according to the present embodiment, it is possible to execute desired processing by accurately switching between position measurement processing and command processing using the measurement head 10. .

なお、上記に本実施形態を説明したが、本発明はこれらの例に限定されるものではない。例えば、前述の各実施形態に対して、当業者が適宜、構成要素の追加、削除、設計変更を行ったものや、各実施形態の特徴を適宜組み合わせたものも、本発明の要旨を備えている限り、本発明の範囲に含有される。   Although the present embodiment has been described above, the present invention is not limited to these examples. For example, those in which the person skilled in the art appropriately added, deleted, and changed the design of each of the above-described embodiments, and combinations of the features of each embodiment as appropriate, also have the gist of the present invention. As long as it is within the scope of the present invention.

本発明は、多関節アーム15を用いた三次元測定機以外でも、門型の移動手段を用いた三次元測定機であって、使用者が測定ヘッド10を手動で移動可能なものにも好適に利用できる。また、測定ヘッド10として接触式プローブ以外でも、レーザプローブのような非接触式プローブを用いた位置計測装置にも適用可能である。   The present invention is suitable not only for a three-dimensional measuring machine using a multi-joint arm 15 but also for a three-dimensional measuring machine using a portal-type moving means, in which a user can move the measuring head 10 manually. Available to: In addition to the contact type probe as the measurement head 10, the present invention can also be applied to a position measuring apparatus using a non-contact type probe such as a laser probe.

1…位置計測装置
10…測定ヘッド
11…測定プローブ
11a…測定子
12…ハンドル
12a…ボタン
20…座標取得部
30…領域記憶部
40…制御部
41…位置測定処理部
42…コマンド処理部
OB…対象物
R1…第1領域
R2…第2領域
DESCRIPTION OF SYMBOLS 1 ... Position measuring device 10 ... Measuring head 11 ... Measuring probe 11a ... Measuring element 12 ... Handle 12a ... Button 20 ... Coordinate acquisition part 30 ... Area memory | storage part 40 ... Control part 41 ... Position measurement processing part 42 ... Command processing part OB ... Object R1 ... 1st field R2 ... 2nd field

Claims (4)

所定の座標系における位置の検出箇所を指定する測定ヘッドと、
位置測定の指示があったことに応じて前記測定ヘッドにより指定された前記検出箇所の前記座標系での座標を取得する座標取得部と、
前記座標系での第1領域及び第2領域を記憶する領域記憶部と、
前記座標取得部で取得した座標に基づき処理を実行する制御部と、
使用者の位置及び向きを検出するカメラと、
を備え、
前記制御部は、
位置測定の指示があったことに応じて前記座標取得部で取得した座標が前記第1領域内である場合、対象物の位置を測定する処理を実行する位置測定処理部と、
位置測定の指示があったことに応じて前記座標取得部で取得した座標が前記第2領域内である場合、前記第2領域に対応付けされたコマンドを受け付けて実行するコマンド処理部と、
を備え、
前記第2領域は、所定のタイミングにおいて前記カメラによって検出された使用者の位置及び向きを基準とした領域に設定されることを特徴とする位置計測装置。
A measuring head for designating a position detection position in a predetermined coordinate system;
A coordinate acquisition unit that acquires coordinates in the coordinate system of the detection location designated by the measurement head in response to an instruction for position measurement;
An area storage unit for storing the first area and the second area in the coordinate system;
A control unit that executes processing based on the coordinates acquired by the coordinate acquisition unit;
A camera that detects the position and orientation of the user;
With
The controller is
A position measurement processing unit that executes a process of measuring the position of an object when the coordinates acquired by the coordinate acquisition unit in the first region in response to an instruction for position measurement are in the first region;
A command processing unit that receives and executes a command associated with the second region when the coordinates acquired by the coordinate acquisition unit in the second region in response to an instruction for position measurement are in the second region;
With
The position measurement apparatus according to claim 1, wherein the second area is set to an area based on a position and orientation of a user detected by the camera at a predetermined timing.
前記第2領域は、複数のボタン設定領域を含み、
前記コマンド処理部は、前記複数のボタン設定領域のうち前記座標取得部で取得した座標を含むボタン設定領域と対応付けされたコマンドを受け付けて実行することを特徴とする請求項1記載の位置計測装置。
The second area includes a plurality of button setting areas,
The position measurement according to claim 1, wherein the command processing unit receives and executes a command associated with a button setting region including coordinates acquired by the coordinate acquisition unit among the plurality of button setting regions. apparatus.
前記第2領域は、二次元領域であることを特徴とする請求項1または2に記載の位置計測装置。   The position measuring apparatus according to claim 1, wherein the second area is a two-dimensional area. 前記第2領域は、三次元領域であることを特徴とする請求項1または2に記載の位置計測装置。   The position measuring apparatus according to claim 1, wherein the second area is a three-dimensional area.
JP2014110007A 2014-05-28 2014-05-28 Position measuring device Expired - Fee Related JP6494180B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014110007A JP6494180B2 (en) 2014-05-28 2014-05-28 Position measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014110007A JP6494180B2 (en) 2014-05-28 2014-05-28 Position measuring device

Publications (2)

Publication Number Publication Date
JP2015224960A JP2015224960A (en) 2015-12-14
JP6494180B2 true JP6494180B2 (en) 2019-04-03

Family

ID=54841812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014110007A Expired - Fee Related JP6494180B2 (en) 2014-05-28 2014-05-28 Position measuring device

Country Status (1)

Country Link
JP (1) JP6494180B2 (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3324951A1 (en) * 1983-07-11 1985-01-24 M.A.N.- Roland Druckmaschinen AG, 6050 Offenbach DEVICE FOR DETERMINING AND EVALUATING COLOR MEASURING FIELDS ON A PRINT SHEET LYING ON A MEASURING TABLE WITH A DENSITOMETER
JPH08123649A (en) * 1994-10-20 1996-05-17 Ricoh Co Ltd Menu display device
JP3402990B2 (en) * 1997-02-25 2003-05-06 株式会社ミツトヨ CMM
JP3909230B2 (en) * 2001-09-04 2007-04-25 アルプス電気株式会社 Coordinate input device
US7693325B2 (en) * 2004-01-14 2010-04-06 Hexagon Metrology, Inc. Transprojection of geometry data
EP2108917B1 (en) * 2008-04-07 2012-10-03 Leica Geosystems AG Articulated arm coordinate measuring machine
US8516711B2 (en) * 2008-10-09 2013-08-27 Leica Geosystems Ag Device for marking or processing a surface, tool, and articulated arm
US8099877B2 (en) * 2009-11-06 2012-01-24 Hexagon Metrology Ab Enhanced position detection for a CMM
CN103917278B (en) * 2011-11-08 2017-05-17 索尼公司 Sensor device, analyzer, and storage medium
JP5981758B2 (en) * 2012-04-24 2016-08-31 株式会社ミツトヨ 3D measuring device
JP6144050B2 (en) * 2013-01-08 2017-06-07 株式会社ミツトヨ Three-dimensional measuring apparatus, input method and program

Also Published As

Publication number Publication date
JP2015224960A (en) 2015-12-14

Similar Documents

Publication Publication Date Title
US8954195B2 (en) Hybrid gesture control haptic system
US11090814B2 (en) Robot control method
US10654171B2 (en) Operation device for operating robot, robot system, and operation method
US10166673B2 (en) Portable apparatus for controlling robot and method thereof
JP2018126857A5 (en) Control methods, robot systems, article manufacturing methods, programs and recording media
US10281996B2 (en) Touch sensitive system and stylus for commanding by maneuvering and method thereof
JP2011090532A5 (en)
EP2752640B1 (en) Method and program for using gestures to control a coordinate measuring device
US10675767B2 (en) Robot system and robot controller
US10086517B2 (en) Apparatus and method for operating robots
US11813518B2 (en) Information processing system, controller apparatus, information processing apparatus, and program
US11281292B2 (en) Information processing apparatus, control method, program, and storage media
US11385759B2 (en) Information processing apparatus, information processing method, and program
JP2015174155A (en) Robot, method of controlling robot, and control program of robot
JP2015208836A (en) Control device for performing flexible control of robot
US20180340763A1 (en) Operation method of position measuring device
JP6494180B2 (en) Position measuring device
JP6379902B2 (en) Robot operation device, robot system, and robot operation program
JP7176148B1 (en) Weld line detection system
JP6373649B2 (en) Position measuring apparatus and position measuring method
US10589428B1 (en) Automatic distribution of control functions between multiple knob controllers based on proximity and relative positioning of the knobs
JP5981758B2 (en) 3D measuring device
JP6737765B2 (en) Robot teaching system, controller and hand guide unit
JP6379921B2 (en) Robot operation device, robot system, and robot operation program
KR20140062195A (en) Virtual touch apparatus using one camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170407

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180306

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180501

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180925

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181115

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20190108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190205

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20190214

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: 20190305

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190305

R150 Certificate of patent or registration of utility model

Ref document number: 6494180

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees