JP2006226807A - Image measuring apparatus - Google Patents

Image measuring apparatus Download PDF

Info

Publication number
JP2006226807A
JP2006226807A JP2005040411A JP2005040411A JP2006226807A JP 2006226807 A JP2006226807 A JP 2006226807A JP 2005040411 A JP2005040411 A JP 2005040411A JP 2005040411 A JP2005040411 A JP 2005040411A JP 2006226807 A JP2006226807 A JP 2006226807A
Authority
JP
Japan
Prior art keywords
image
measurement
workpiece
mark
displayed
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.)
Pending
Application number
JP2005040411A
Other languages
Japanese (ja)
Inventor
Akira Takada
彰 高田
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
Mitsutoyo Kiko Co Ltd
Original Assignee
Mitutoyo Corp
Mitsutoyo Kiko Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitutoyo Corp, Mitsutoyo Kiko Co Ltd filed Critical Mitutoyo Corp
Priority to JP2005040411A priority Critical patent/JP2006226807A/en
Publication of JP2006226807A publication Critical patent/JP2006226807A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image measuring apparatus capable of improving operability. <P>SOLUTION: A video window 67 is displayed on a screen 65 of a CRT provided for the manually operated image measuring apparatus 1 for executing part programs. An image of a work W is displayed on the video window 67. When a stage mounted with the work W is manually operated to move to a prescribed position 83 at which an image of a hole part to be measured 77 (a part to be measured) of the work W is indicated by a mark 85 and halted for a prescribed time, measurement is automatically started. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、パートプログラムを実行するマニュアル操作型の画像測定装置に関する。   The present invention relates to a manually operated image measuring apparatus that executes a part program.

非接触三次元測定機や顕微鏡測定機に代表される画像測定装置は、ワークの測定対象となる箇所(以下、測定箇所という)をCCDカメラ等で撮像して得られた画像を基にして、測定箇所の形状や寸法等を計測する精密測定機器である。この装置の動作を簡単に説明すると、ステージに載置されたワークの画像と所定位置を示す目印とをディスプレイに重ねて表示させ、ステージを移動することにより測定箇所の画像を所定位置に移動させ、その測定箇所の測定が実行される。ディスプレイの所定位置は、ツールの実行位置とも言われ、通常、画面の中心である。   An image measuring apparatus represented by a non-contact three-dimensional measuring machine or a microscope measuring machine is based on an image obtained by imaging a workpiece measurement target (hereinafter referred to as a measurement spot) with a CCD camera or the like. It is a precision measuring instrument that measures the shape and dimensions of measurement points. Briefly explaining the operation of this apparatus, the image of the workpiece placed on the stage and the mark indicating the predetermined position are displayed on the display so that the image of the measurement location is moved to the predetermined position by moving the stage. Then, the measurement at the measurement point is executed. The predetermined position of the display is also called the execution position of the tool, and is usually the center of the screen.

画像測定装置には、CNC(Computer Numerical Control)型とマニュアル操作型がある。CNC型では、ステージ移動を含めて自動で測定が実行される。これに対して、マニュアル操作型では、オペレータの手動による操作によってステージが移動される。以下、マニュアル操作型の画像測定装置を前提にして説明する。   Image measuring apparatuses include a CNC (Computer Numerical Control) type and a manual operation type. In the CNC type, measurement is automatically performed including stage movement. On the other hand, in the manual operation type, the stage is moved by an operator's manual operation. The following description is based on a manual operation type image measuring apparatus.

ワークの測定箇所は大きな倍率でディスプレイに表示されるので、ディスプレイにはワークの画像全体が表示されず、ワークの画像の一部が表示される。したがって、ディスプレイに測定箇所が表れていない場合、オペレータはディスプレイを見ただけでは、ステージを移動させる方向が分からない。このため、オペレータはディスプレイとワークの図面の両方を見ながら、ステージを移動させていた。   Since the measurement location of the workpiece is displayed on the display at a large magnification, the entire image of the workpiece is not displayed on the display, and a part of the image of the workpiece is displayed. Therefore, when the measurement location does not appear on the display, the operator cannot know the direction of moving the stage simply by looking at the display. For this reason, the operator moved the stage while looking at both the display and the workpiece drawing.

しかし、ディスプレイと図面を同時に見ることはできず、ディスプレイを見た状態から図面を見る状態に切り替えるには、視線を大きく動かす必要がある(その逆も同様)。その上、ディスプレイの所定位置に測定箇所の画像を移動させるには、図面を見ること、ディスプレイを見ること、を何度か繰り返す必要があるので、オペレータにとっては大変面倒であった。   However, the display and the drawing cannot be viewed at the same time, and it is necessary to move the line of sight largely in order to switch from viewing the display to viewing the drawing (and vice versa). In addition, moving the image of the measurement location to a predetermined position on the display requires repeated viewing of the drawing and viewing of the display several times, which is very troublesome for the operator.

そこで、ナビゲーション機能を有する画像測定装置が開発された(例えば特許文献1)。この種の装置によれば、オペレータはワークの図面を見ないで、ディスプレイの所定位置に測定箇所の画像を位置させるためのステージ移動を行える。   Therefore, an image measuring apparatus having a navigation function has been developed (for example, Patent Document 1). According to this type of apparatus, the operator can move the stage for positioning the image of the measurement location at a predetermined position on the display without looking at the drawing of the workpiece.

さて、ワークの測定箇所が複数ある場合、パートプログラムを利用して測定を実行するのが便利である。パートプログラムとは、測定のためのコマンドをまとめたプログラム、言い換えれば、ワークの画像を基にしてワークの複数の測定箇所について測定する手順が記述されたプログラムである。例えば、二個の穴部を有する平板状のワークで説明すると、(1)ディスプレイの所定位置に一方の穴部の画像を移動、(2)一方の穴部の円を測定、(3)ディスプレイの所定位置に他方の穴部の画像を移動、(4)他方の穴部の円を測定、(5)これらの穴部間の距離の測定、の手順が記述されたプログラムがパートプログラムである。   When there are a plurality of workpiece measurement points, it is convenient to perform measurement using a part program. The part program is a program in which commands for measurement are collected, in other words, a program in which a procedure for measuring a plurality of measurement points of a workpiece based on an image of the workpiece is described. For example, in the case of a flat plate-shaped workpiece having two holes, (1) an image of one hole is moved to a predetermined position of the display, (2) a circle of one hole is measured, (3) display Part program is a program that describes the procedure of (4) measuring the circle of the other hole, (5) measuring the distance between these holes, moving the image of the other hole to the predetermined position .

上記平板状のワークに関するパートプログラムを用いた画像測定を簡単に説明する。ディスプレイに(1)の内容が指示されると、オペレータはステージを手動操作で移動させて、一方の穴部の画像を所定位置に移動させる。そして、オペレータがマウスやキーボード等でディスプレイに表示された測定開始ボタンを押すと、画像測定装置は(2)の測定を実行する。この測定は、一方の穴部の画像のエッジを検出し、これを基にして実行される。したがって、測定箇所の測定の命令は、測定箇所のエッジ検出の命令ということになる。   Image measurement using a part program relating to the flat workpiece will be briefly described. When the content of (1) is instructed on the display, the operator manually moves the stage to move the image of one hole to a predetermined position. Then, when the operator presses a measurement start button displayed on the display with a mouse, a keyboard, or the like, the image measurement device executes the measurement of (2). This measurement is performed based on the detection of the edge of the image of one hole. Therefore, the measurement instruction at the measurement location is an instruction for edge detection at the measurement location.

この測定が終了すると、画面上に(3)の内容が指示される。以下、同様にして測定が実行される。このように、パートプログラムを用いれば、たとえワークが多数の測定箇所を有していても、誰でも同様な測定をすることができる。
特開平10−197224号公報(段落0016〜0018,図3)
When this measurement is completed, the contents of (3) are instructed on the screen. Thereafter, measurement is performed in the same manner. In this way, if the part program is used, anyone can perform the same measurement even if the workpiece has a large number of measurement points.
JP-A-10-197224 (paragraphs 0016 to 0018, FIG. 3)

画像測定装置がマニュアル操作型の場合、オペレータは、片方の手でX軸つまみ、もう片方の手でY軸つまみを操作してステージをX軸やY軸方向に移動させ、測定箇所の画像が所定位置に到達すると、いずれかの手をつまみから離して、その手でマウスをクリックする等により測定開始ボタンを押す、という動作をしていた。このため、画像測定装置がたとえナビゲーション機能を有していても、パートプログラムを実行する場合、上記動作を繰り返さなければならず、画像測定装置の操作性は悪く、オペレータにとって面倒であった。   When the image measuring device is a manual operation type, the operator operates the X-axis knob with one hand and the Y-axis knob with the other hand to move the stage in the X-axis or Y-axis direction. When reaching a predetermined position, one of the hands was released from the knob and the measurement start button was pushed by clicking the mouse with the hand. For this reason, even if the image measuring apparatus has a navigation function, when the part program is executed, the above operation must be repeated, and the operability of the image measuring apparatus is poor and troublesome for the operator.

フットスイッチを用いて測定開始ボタンを押せるようにすれば、画像測定装置の操作性を向上できるが、画像測定装置のユーザにフットスイッチの購入を強いることになる。   If the measurement start button can be pressed using the foot switch, the operability of the image measuring apparatus can be improved, but the user of the image measuring apparatus is forced to purchase the foot switch.

本発明は、操作性を向上させることができる画像測定装置を提供することを目的とする。   An object of the present invention is to provide an image measuring apparatus capable of improving operability.

本発明に係る画像測定装置は、ワークが載置されるステージと、前記ステージに載置された前記ワークを撮像する撮像手段と、所定位置を示す目印と前記撮像手段で撮像された前記ワークの画像とを重ねて表示する表示手段と、手動操作により前記撮像手段を前記ステージに対して相対移動させる移動手段と、前記ワークの画像を基にして前記ワークの複数の測定箇所について測定する手順が記述されたパートプログラムを実行する測定処理手段と、前記移動手段により前記撮像手段を前記ステージに対して相対移動させて、測定をすべき測定箇所の画像が前記所定位置に到達すると前記測定処理手段に前記測定箇所についての測定を開始させる測定開始決定手段と、を備えたことを特徴とする。   An image measuring apparatus according to the present invention includes a stage on which a workpiece is placed, an imaging unit that images the workpiece placed on the stage, a mark indicating a predetermined position, and the workpiece imaged by the imaging unit. Display means for displaying an image superimposed thereon, moving means for moving the imaging means relative to the stage by manual operation, and a procedure for measuring a plurality of measurement points of the workpiece based on the image of the workpiece. A measurement processing means for executing the described part program; and the measurement processing means when the image of the measurement location to be measured reaches the predetermined position by moving the imaging means relative to the stage by the moving means. And a measurement start determining means for starting the measurement at the measurement location.

本発明に係る画像測定装置よれば、測定をすべき測定箇所の画像が目印で示された所定位置に到達すると、自動的に測定処理手段にその測定箇所についての測定を開始させるので、オペレータは測定開始ボタンを押すという動作が不要となる。   According to the image measuring apparatus according to the present invention, when the image of the measurement location to be measured reaches the predetermined position indicated by the mark, the measurement processing means automatically starts measuring the measurement location, so that the operator The operation of pressing the measurement start button becomes unnecessary.

本発明に係る画像測定装置において、前記測定開始決定手段は、前記測定箇所が前記所定位置に到達した後、静止状態で所定時間経過すると前記測定処理手段に測定を開始させる、ようにすることができる。これによれば、オペレータは測定箇所の移動位置をさらに絞り込むことができる。   In the image measuring apparatus according to the present invention, the measurement start determining means may cause the measurement processing means to start measurement after a predetermined time has elapsed in a stationary state after the measurement location has reached the predetermined position. it can. According to this, the operator can further narrow down the movement position of the measurement location.

本発明に係る画像測定装置において、前記所定位置は前記目印より広い面積を有する、ようにすることができる。これによれば、測定箇所の画像が目印の位置と一致しなくても、測定を開始できるので、目印が比較的小さい場合(X軸線とY軸線の交点等)に有効となる。   In the image measuring device according to the present invention, the predetermined position may have a larger area than the mark. According to this, since the measurement can be started even if the image of the measurement location does not coincide with the position of the mark, this is effective when the mark is relatively small (such as the intersection of the X axis line and the Y axis line).

本発明はナビゲーション機能と組み合わせれば、操作性をさらに向上させることができる。ナビゲーション機能としては、例えば以下の三つがある。   When the present invention is combined with the navigation function, the operability can be further improved. For example, there are the following three navigation functions.

一つ目は、本発明に係る画像測定装置において、前記測定箇所の現在位置を演算する位置演算手段と、前記撮像手段で撮像された前記ワークの画像が表示されるビデオウィンドウを設定し、前記ビデオウィンドウの中心で直交すると共に交点が前記目印となる水平線及び垂直線を前記ワークの画像に重ねて前記ビデオウィンドウに表示し、前記位置演算手段によって求められた前記測定箇所の現在位置と前記目印との垂直及び水平方向のずれ量をそれぞれ示す位置合わせ用水平線及び位置合わせ用垂直線を前記ワークの画像、前記水平線及び前記垂直線に重ねて前記ビデオウィンドウに表示する画像制御手段と、を備える。   First, in the image measurement apparatus according to the present invention, a position calculation unit that calculates a current position of the measurement location, and a video window in which an image of the workpiece imaged by the imaging unit is displayed, A horizontal line and a vertical line that are orthogonal at the center of the video window and whose intersection is the mark are superimposed on the image of the workpiece and displayed on the video window, and the current position of the measurement location and the mark obtained by the position calculation means And an image control means for displaying on the video window an image of the workpiece, the horizontal line for alignment and the vertical line for alignment being superimposed on the horizontal line and the vertical line. .

二つ目は、前記表示手段には、前記測定箇所の現在位置と前記目印とのずれ量を示す数値が表示される。   Second, a numerical value indicating the amount of deviation between the current position of the measurement location and the mark is displayed on the display means.

三つ目は、前記表示手段には、前記測定箇所の現在位置を基準にした前記目印の方向を示すコンパスが表示される。   Third, the display means displays a compass indicating the direction of the mark with reference to the current position of the measurement location.

本発明に係る画像測定装置によれば、オペレータが測定開始ボタンを押すという動作が不要になるため、操作性を向上させることができる。   According to the image measuring apparatus according to the present invention, since the operation of the operator pressing the measurement start button is not necessary, the operability can be improved.

以下、図面を参照して、本発明に係る画像測定装置の一実施形態を説明する。図1は、この実施形態に係るマニュアル操作型の画像測定装置1の全体構成を示す斜視図である。装置1は、非接触画像計測型の測定機本体3と、この測定機本体3のステージ移動操作をアシストする処理を実行すると共に必要な測定処理を実行するコンピュータシステム5と、測定機本体3に対して必要な測定指令を与える指令入力部7と、これら各部に安定した電力を供給する電源ユニット9とにより構成されている。   Hereinafter, an embodiment of an image measuring apparatus according to the present invention will be described with reference to the drawings. FIG. 1 is a perspective view showing the overall configuration of a manually operated image measuring apparatus 1 according to this embodiment. The apparatus 1 includes a non-contact image measurement type measuring machine main body 3, a computer system 5 that executes a process for assisting a stage moving operation of the measuring machine main body 3 and a necessary measurement process, and a measuring machine main body 3. A command input unit 7 for supplying necessary measurement commands and a power supply unit 9 for supplying stable power to these units are provided.

測定機本体3は、次のように構成されている。架台11上には、測定対象であるワークWが載置されるステージ13が装着されており、このステージ13は、X軸つまみ15、Y軸つまみ17及び微動つまみ19に対する手動操作によってX軸方向及びY軸方向に移動可能にされている。架台11の後端部には上方に延びるフレーム21が固定されている。   The measuring machine main body 3 is configured as follows. A stage 13 on which a workpiece W to be measured is placed is mounted on the gantry 11, and this stage 13 is moved in the X-axis direction by manual operation with respect to the X-axis knob 15, the Y-axis knob 17 and the fine movement knob 19. And movable in the Y-axis direction. A frame 21 extending upward is fixed to the rear end portion of the gantry 11.

フレーム21にCCDカメラユニット23が支持されている。CCDカメラユニット23は、Z軸つまみ25によってフレーム21に形成されたガイドレールに沿ってZ軸方向に移動可能にされている。CCDカメラユニット23内の上部には、ステージ13を上部から臨むようにCCDカメラ27が取り付けられている。カメラ27のレンズと光学的に結合している対物レンズ27aが外部に露出している。対物レンズ27aを介してCCDカメラ27により、ステージ13に載置されたワークWが撮像される。対物レンズ27aの周囲には、ワークWに照明光を照射するためのリング状の照明装置29が備えられている。   A CCD camera unit 23 is supported on the frame 21. The CCD camera unit 23 is movable in the Z-axis direction along a guide rail formed on the frame 21 by a Z-axis knob 25. A CCD camera 27 is attached to the upper part of the CCD camera unit 23 so that the stage 13 faces the upper part. An objective lens 27a that is optically coupled to the lens of the camera 27 is exposed to the outside. The workpiece W placed on the stage 13 is imaged by the CCD camera 27 via the objective lens 27a. Around the objective lens 27a, a ring-shaped illumination device 29 for irradiating the work W with illumination light is provided.

コンピュータシステム5は、コンピュータ本体31、キーボード33、マウス35及びCRT37を備えて構成されている。   The computer system 5 includes a computer main body 31, a keyboard 33, a mouse 35, and a CRT 37.

次に、本実施形態を実現できるハードウェア構成の一例を説明する。図2は、このハードウェアの構成を示す図である。CPU39、プログラムメモリ41、ワークメモリ43、多値画像メモリ45、表示制御IC47及び照明制御IC49は、バス51に接続されている。表示制御IC47には、CRT37が接続されている。照明制御IC49には、照明装置29が接続されている。   Next, an example of a hardware configuration capable of realizing this embodiment will be described. FIG. 2 is a diagram showing the configuration of this hardware. The CPU 39, the program memory 41, the work memory 43, the multi-value image memory 45, the display control IC 47 and the illumination control IC 49 are connected to the bus 51. A CRT 37 is connected to the display control IC 47. The illumination device 29 is connected to the illumination control IC 49.

CCDカメラ27は、インターフェース53を介してバス51に接続されている。CCDカメラ27で撮像されたワークWの多値画像データは、CPU39で処理されて、多値画像メモリ45に格納される。多値画像メモリ45に格納された多値画像データは、表示制御IC47でワークWの画像に変換する処理が実行されてCRT37に表示される。   The CCD camera 27 is connected to the bus 51 via the interface 53. The multi-value image data of the work W imaged by the CCD camera 27 is processed by the CPU 39 and stored in the multi-value image memory 45. The multi-value image data stored in the multi-value image memory 45 is displayed on the CRT 37 after the display control IC 47 performs processing for converting it into an image of the work W.

CPU39は、オペレータの指令又はプログラムメモリ41に格納されたパートプログラムに従ってステージ移動のためのアシスト処理等の各種の処理を実行する。ワークメモリ43は、CPU39の各種処理のための作業領域を提供する。   The CPU 39 executes various processes such as an assist process for moving the stage according to an operator command or a part program stored in the program memory 41. The work memory 43 provides a work area for various processes of the CPU 39.

ステージ13に対するCCDカメラ27のX,Y,Z軸方向位置をそれぞれ検出するためのX軸エンコーダ55、Y軸エンコーダ57及びZ軸エンコーダ59が設けられている。これらのエンコーダはインターフェース61を介してバス51に接続されている。これにより、エンコーダ55,57,59からの出力はCPU39に取り込まれる。CPU39は、取り込まれた各軸位置の情報等に基づいて、ステージ移動アシストのための各種処理を実行する。   An X-axis encoder 55, a Y-axis encoder 57, and a Z-axis encoder 59 for detecting the X, Y, and Z-axis direction positions of the CCD camera 27 with respect to the stage 13 are provided. These encoders are connected to the bus 51 via an interface 61. As a result, the output from the encoders 55, 57, 59 is taken into the CPU 39. The CPU 39 executes various processes for assisting stage movement based on the captured information on the respective axis positions.

照明制御IC49は、CPU39で生成された指令値に基づいてアナログ量の指令電圧を生成し照明装置29に印加する。入力装置(指令入力部7やキーボード33)は、インターフェース63を介してバス51に接続されている。   The illumination control IC 49 generates an analog command voltage based on the command value generated by the CPU 39 and applies it to the illumination device 29. The input device (the command input unit 7 and the keyboard 33) is connected to the bus 51 via the interface 63.

次に、測定時におけるCRT37の画面構成の一例について図3を用いて説明する。CRT37の画面65は、カラービデオウィンドウ67、カウンタウィンドウ69、コメントウィンドウ71を含む。なお、画面65には、測定に必要なその他のウィンドウやアイコンが表示されるが、本実施形態の理解に特に必要がないので省略している。   Next, an example of the screen configuration of the CRT 37 at the time of measurement will be described with reference to FIG. The screen 65 of the CRT 37 includes a color video window 67, a counter window 69, and a comment window 71. Although other windows and icons necessary for measurement are displayed on the screen 65, they are omitted because they are not particularly necessary for understanding the present embodiment.

カラービデオウィンドウ67には、CCDカメラ27で撮像されたカラー画像が表示される。図3にはワークWの一部の画像が表示されている。図4はワークWの全体を示す平面図である。ワークWは、矩形状の板であり、角部73が面取りされている。角部73の対角線状にある角部75付近に三つの穴部77,79,81が形成されている。本実施形態では穴部が測定箇所となる。   A color image captured by the CCD camera 27 is displayed in the color video window 67. In FIG. 3, an image of a part of the workpiece W is displayed. FIG. 4 is a plan view showing the entire workpiece W. FIG. The workpiece W is a rectangular plate, and the corner portion 73 is chamfered. Three holes 77, 79, 81 are formed in the vicinity of the corner 75 that is diagonal to the corner 73. In this embodiment, the hole is the measurement location.

カウンタウィンドウ69には、ビデオウィンドウ67の中心、つまり目印85に対してワークWの測定箇所の現在位置がどの程度ずれているかを数値で示される。コメントウィンドウ71には、オペレータに対する指示等が表示される。   The counter window 69 numerically indicates how much the current position of the measurement location of the workpiece W is deviated from the center of the video window 67, that is, the mark 85. The comment window 71 displays instructions for the operator.

カラービデオウィンドウ67について、さらに詳細に説明する。ビデオウィンドウ67には、ビデオウィンドウ67の中心に交点を持つ互いに直交するX軸(水平)線87及びY軸(垂直)線89が、ワークWの画像に重ねて表示されている。上記交点が所定位置(ツールの実行位置)83を示す目印85であり、ワークWの測定箇所の画像を所定位置83に移動させて、その測定箇所の測定が実行される。したがって、表示手段であるCRTの画面65には、所定位置83を示す目印85とワークWの画像とが重ねて表示されていることになる。   The color video window 67 will be described in more detail. In the video window 67, an X-axis (horizontal) line 87 and a Y-axis (vertical) line 89 having an intersection at the center of the video window 67 are displayed so as to overlap the image of the workpiece W. The intersection point is a mark 85 indicating a predetermined position (tool execution position) 83, and the image of the measurement location of the workpiece W is moved to the predetermined position 83, and measurement of the measurement location is executed. Therefore, the mark 85 indicating the predetermined position 83 and the image of the work W are displayed on the screen 65 of the CRT as the display means.

所定位置83は想像線で示されている範囲であり、目印85より広い面積を有する。したがって、測定箇所の画像の位置が目印85の位置と一致しなくても、測定は可能である。本実施形態では、X軸線87とY軸線89との交点を目印85にしており、目印85は比較的小さい。測定箇所の画像の位置が目印85の位置と一致しなければ測定を開始できないとすれば、オペレータに負担をかけることになる。所定位置83の面積を目印85の面積よりも大きくすることにより、負担を軽くしている。なお、X軸線87及びY軸線89の各両端には、内向き矢印が形成されている。   The predetermined position 83 is a range indicated by an imaginary line and has an area larger than the mark 85. Therefore, measurement is possible even if the position of the image of the measurement location does not match the position of the mark 85. In the present embodiment, the intersection of the X-axis line 87 and the Y-axis line 89 is a mark 85, and the mark 85 is relatively small. If the measurement cannot be started unless the position of the image of the measurement location coincides with the position of the mark 85, a burden is placed on the operator. By making the area of the predetermined position 83 larger than the area of the mark 85, the burden is reduced. Note that inward arrows are formed at both ends of the X-axis line 87 and the Y-axis line 89.

X軸線87及びY軸線89とそれぞれ平行に位置合わせ用x軸(水平)線91及び位置合わせ用y軸(垂直)線93が、軸線87,89やワークWの画像に重ねてビデオウィンドウ67に表示されている。これらの位置合わせ用の各軸線91,93は、ワークWの測定箇所の現在位置と目印85との垂直及び水平方向のずれ量を示している。これらの各軸線91,93がX軸線87及びY軸線89と一致すると、測定箇所の位置が目印85と一致したことになる。位置合わせ用の各軸線91,93の両端には、各軸線87,89の内向き矢印と向き合う外向き矢印がそれぞれ形成され、ずれ量の確認を容易にしている。   An alignment x-axis (horizontal) line 91 and alignment y-axis (vertical) line 93 parallel to the X-axis line 87 and the Y-axis line 89 are superimposed on the images of the axis lines 87 and 89 and the workpiece W in the video window 67. It is displayed. These axis lines 91 and 93 for alignment indicate the amount of vertical and horizontal deviation between the current position of the measurement location of the workpiece W and the mark 85. When these axis lines 91 and 93 coincide with the X axis line 87 and the Y axis line 89, the position of the measurement location coincides with the mark 85. Outward arrows that face the inward arrows of the axes 87 and 89 are formed at both ends of the alignment axes 91 and 93, respectively, so that the amount of deviation can be easily confirmed.

図3のビデオウィンドウ67に表示されている画像のように、ワークWの画像と軸線87,89,91,93とを重ね合わせた画像は、スーパーインポーズにより生成される。すなわち、図5は、図2のCCDカメラ27で撮像された多値画像95であり、この画像データは多値画像メモリ45に記憶される。多値画像メモリ45には、図6に示すX軸線87、Y軸線89、位置合わせ用x軸線91及び位置合わせ用y軸線93を含むアシスト画像97も記憶されている。表示制御IC47において、多値画像95にアシスト画像97がスーパーインポーズされて、CRT37に表示される。   Like the image displayed in the video window 67 in FIG. 3, an image in which the image of the workpiece W and the axes 87, 89, 91, 93 are superimposed is generated by superimposition. That is, FIG. 5 is a multi-value image 95 captured by the CCD camera 27 of FIG. 2, and this image data is stored in the multi-value image memory 45. The multi-value image memory 45 also stores an assist image 97 including the X-axis line 87, the Y-axis line 89, the alignment x-axis line 91, and the alignment y-axis line 93 shown in FIG. In the display control IC 47, the assist image 97 is superimposed on the multi-value image 95 and displayed on the CRT 37.

次に、本実施形態に係る画像測定装置1で実行されるパートプログラムの一例を説明する。図7は、このパートプログラムの説明図である。このパートプログラムを用いて図4のワークWの測定を実行する。パートプログラムには、図3のビデオウィンドウ67の所定位置83に穴部77の画像を移動→穴部77の円を測定→所定位置83に穴部79の画像を移動→穴部79の円を測定→所定位置83に穴部81の画像を移動→穴部81の円を測定、の手順が記述されている。   Next, an example of a part program executed by the image measurement apparatus 1 according to the present embodiment will be described. FIG. 7 is an explanatory diagram of this part program. The measurement of the workpiece W in FIG. 4 is executed using this part program. In the part program, the image of the hole 77 is moved to the predetermined position 83 of the video window 67 of FIG. 3 → the circle of the hole 77 is measured → the image of the hole 79 is moved to the predetermined position 83 → the circle of the hole 79 is The procedure of measurement → moving the image of the hole 81 to a predetermined position 83 → measurement of the circle of the hole 81 is described.

パートプログラムには、ワークWの穴部77,79,81の中心の座標が測定物座標系(ワーク座標系)によって記述されている。ワーク座標系とは、ワークの基準位置に対する各加工部位(穴等)の中心位置を表すものである。画像測定装置の電源が投入されていない状態から画像測定装置を使用する場合、まず、電源を投入して、測定機座標系の原点を定める。その後、治具等を用いてワークをステージの中央位置等に置く。そして、ワークの所定箇所(例えば、二つの円測定により求められる二つの中心座標)により、或いは、二辺の線と線の測定等により、ワーク座標系を設定することで、測定機座標系とワーク座標系の関係から、指令値となる座標が求められる。   In the part program, the coordinates of the centers of the holes 77, 79, 81 of the workpiece W are described in the measured object coordinate system (work coordinate system). The workpiece coordinate system represents the center position of each processing part (hole or the like) with respect to the reference position of the workpiece. When using the image measuring apparatus from a state where the power of the image measuring apparatus is not turned on, first, the power is turned on to determine the origin of the measuring machine coordinate system. Thereafter, the workpiece is placed at the center position of the stage using a jig or the like. Then, by setting the workpiece coordinate system according to a predetermined location of the workpiece (for example, two central coordinates obtained by measuring two circles) or by measuring two lines and lines, a measuring machine coordinate system and From the relationship of the workpiece coordinate system, the coordinates serving as the command value are obtained.

次に、図1に示す画像測定装置1を用いたワークWの測定について図1、図3、図4、図7〜図10を用いて説明する。図8はこの測定のフローチャートである。図9は、測定箇所が所定位置に近づいた場合のCRTの画面である。図10は、測定箇所が所定位置に到達した場合のCRTの画面である。   Next, measurement of the workpiece W using the image measuring apparatus 1 shown in FIG. 1 will be described with reference to FIGS. 1, 3, 4, and 7 to 10. FIG. 8 is a flowchart of this measurement. FIG. 9 is a CRT screen when the measurement location approaches a predetermined position. FIG. 10 shows a CRT screen when the measurement location reaches a predetermined position.

まず、ホームポジションに位置する図1のステージ13にワークWを載置する。そして、指令入力部7を操作してパートプログラムの実行の開始命令を入力する。これにより、CRT37に初期画面が表示される(ステップS1)。本実施形態では、CRT37の画面65に図3に示す内容が表示される。カウンタウィンドウ69には、最初の測定箇所である穴部77(図4)の現在位置が、ビデオウィンドウ67の中心に表示された目印85から、X軸線87方向、Y軸線89方向にそれぞれ、どの程度ずれているかが数値で示されている。コメントウィンドウ71には、「カウンタが(0,0)になる位置までステージを移動させて下さい」と表示される。カウンタが(0,0)は、穴部77の中心の位置が目印85に一致していることを示している。   First, the work W is placed on the stage 13 in FIG. 1 located at the home position. Then, the command input unit 7 is operated to input a part program execution start command. Thereby, an initial screen is displayed on the CRT 37 (step S1). In the present embodiment, the contents shown in FIG. 3 are displayed on the screen 65 of the CRT 37. In the counter window 69, the current position of the hole 77 (FIG. 4), which is the first measurement location, is displayed in the X axis line 87 direction and the Y axis line 89 direction from the mark 85 displayed at the center of the video window 67, respectively. A numerical value indicates whether the degree is shifted. The comment window 71 displays “Please move the stage to a position where the counter becomes (0, 0)”. The counter (0, 0) indicates that the center position of the hole 77 coincides with the mark 85.

ビデオウィンドウ67にはワークWの拡大画像が表示されるため、ワークWの画像の全体を表示できず、その一部が表示される。図3ではワークWの角部73付近の画像が表示されている。穴部77の画像はビデオウィンドウ67からはみ出した位置にあるため、ビデオウィンドウ67には表示されていない。x軸線91とy軸線93の交点99は、目印85に対する穴部77の相対的位置を示している。したがって、目印85と交点99を見れば、目印85と穴部77との位置関係を容易に把握できる。   Since the enlarged image of the work W is displayed in the video window 67, the entire image of the work W cannot be displayed, and a part of the image is displayed. In FIG. 3, an image near the corner 73 of the workpiece W is displayed. The image of the hole 77 is not displayed in the video window 67 because it is at a position protruding from the video window 67. An intersection 99 of the x axis 91 and the y axis 93 indicates the relative position of the hole 77 with respect to the mark 85. Therefore, by looking at the mark 85 and the intersection 99, the positional relationship between the mark 85 and the hole 77 can be easily grasped.

本実施形態では、ステージ13の移動時、x軸線91、y軸線93及びこれらの交点99が必ずビデオウィンドウ67に表示されるようにしている。よって、測定箇所の画像が目印85から比較的遠い位置にあるため、ビデオウィンドウ67に表示されていない場合でも、ステージ13に載置されたワークWやワークの図面等を見ることなく、CRTの画面65を見るだけで測定箇所の画像を目印85の方向に移動させることができる。   In this embodiment, when the stage 13 is moved, the x-axis line 91, the y-axis line 93, and their intersection 99 are always displayed on the video window 67. Therefore, since the image of the measurement location is relatively far from the mark 85, even if it is not displayed on the video window 67, the CRT can be used without looking at the workpiece W placed on the stage 13 or the drawing of the workpiece. The image at the measurement location can be moved in the direction of the mark 85 simply by looking at the screen 65.

次に、画面65を見ながら、両手を用いて図1のX軸つまみ15及びY軸つまみ17を回してステージ13を移動させて、穴部77の画像を目印85に近づける。これにより、穴部77の現在位置の演算等が実行される(ステップS3)。図9は穴部77が目印85で示される所定位置83に近づいた状態の画面65を示している。X軸つまみ15やY軸つまみ17を回すことにより、穴部77(測定をすべき測定箇所)の現在位置が変化する。したがって、穴部77の現在位置が演算され、これを基にして、ビデオウィンドウ67に表示するx軸線91、y軸線93の位置を穴部77の現在位置に対応するように変化させると共にカウンタウィンドウ69の数値も穴部77の現在位置に対応するように変化させる。   Next, while watching the screen 65, the stage 13 is moved by turning the X-axis knob 15 and the Y-axis knob 17 of FIG. 1 using both hands, and the image of the hole 77 is brought close to the mark 85. Thereby, the calculation of the current position of the hole 77 is executed (step S3). FIG. 9 shows the screen 65 in a state in which the hole 77 is close to the predetermined position 83 indicated by the mark 85. By turning the X-axis knob 15 or the Y-axis knob 17, the current position of the hole 77 (measurement location to be measured) changes. Therefore, the current position of the hole 77 is calculated, and based on this, the positions of the x-axis line 91 and the y-axis line 93 displayed in the video window 67 are changed to correspond to the current position of the hole 77 and the counter window is displayed. The numerical value 69 is also changed to correspond to the current position of the hole 77.

図9では、y軸線93が点線から実線に変化している。これは、X軸線87方向の移動については終了してもよいことを示している。つまり、y軸線93の位置がY軸線89に完全に一致しなくても、予め決められた範囲に入れば、X軸線87方向の移動を終了してもよいようにしている(x軸線91についても同様にされている)。   In FIG. 9, the y-axis line 93 changes from a dotted line to a solid line. This indicates that the movement in the direction of the X axis 87 may be terminated. That is, even if the position of the y-axis line 93 does not completely coincide with the Y-axis line 89, the movement in the direction of the X-axis line 87 may be terminated if it falls within a predetermined range (about the x-axis line 91). Is also the same).

これらX軸線87方向、Y軸線89方向の予め決められた範囲で規定される領域が所定位置83である。したがって、測定箇所の画像の位置が目印85の位置と一致しなくても、測定は可能である。但し、一致を要求する形態でもよい。なお、図9の状態からy軸線93をさらに移動させてy軸線93の位置をY軸線89にさらに近づけることもできるし、完全一致させることもできる。   An area defined by a predetermined range in the direction of the X axis 87 and the direction of the Y axis 89 is a predetermined position 83. Therefore, measurement is possible even if the position of the image of the measurement location does not match the position of the mark 85. However, it is possible to request a match. Note that the y-axis line 93 can be further moved from the state of FIG. 9 to bring the y-axis line 93 closer to the Y-axis line 89, or can be completely matched.

図1のY軸つまみ17を回してステージ13を移動させて、図10に示すように、穴部77を目印85にさらに近づける。x軸線91も点線から実線に変化している。よって、測定箇所である穴部77の画像が所定位置83に到達したことを示している(ステップS5)。   The stage 13 is moved by turning the Y-axis knob 17 in FIG. 1, and the hole 77 is further brought closer to the mark 85 as shown in FIG. The x-axis line 91 also changes from a dotted line to a solid line. Therefore, it shows that the image of the hole 77 that is the measurement location has reached the predetermined position 83 (step S5).

所定位置83に穴部77の画像が静止した状態で所定時間が経過したか判断される(ステップS7)。穴部77の円の測定を直ぐに実行しないのは、オペレータが測定箇所の移動位置をさらに絞り込みたい場合があるからである。すなわち、より正確な測定のために、オペレータが測定箇所である穴部77の画像をさらに目印85に近づけてから円の測定を実行したい場合が考えられるからである。所定時間(例えば10秒)は予め設定をしておく。なお、測定箇所が所定位置83に到達すると直ぐに測定が実行されるようにしてもよい。   It is determined whether or not a predetermined time has elapsed with the image of the hole 77 being stationary at the predetermined position 83 (step S7). The reason why the circle of the hole 77 is not immediately measured is that the operator may want to further narrow down the movement position of the measurement location. In other words, for the sake of more accurate measurement, there is a case where the operator wants to execute the measurement of the circle after the image of the hole 77 that is the measurement location is further brought closer to the mark 85. A predetermined time (for example, 10 seconds) is set in advance. Note that the measurement may be performed as soon as the measurement location reaches the predetermined position 83.

所定時間の経過後、穴部77の画像のエッジの検出が開始され(三つのシングルツールが予め設定されている場合や円ツールが設定されている場合等は、エッジの検出が自動的に開始され)、穴部77の円の測定が実行される(ステップS9)。穴部79,81についても、穴部77と同様にして円の測定が実行される(ステップS11,S13,S15,S17,S19,S21,S23,S25)。上述したように、x軸線91の位置がX軸線87に完全に一致せず、かつy軸線93の位置がY軸線89に完全に一致しなくても測定できるのは、例えば、上記シングルツールや円ツールを大きめに設定しておけば、多少ずれていても円の測定が可能だからである。   After a predetermined time has passed, detection of the edge of the image of the hole 77 is started (when three single tools are set in advance or when a circular tool is set, edge detection starts automatically) Measurement of the circle of the hole 77 is executed (step S9). For the holes 79 and 81, the measurement of the circle is executed in the same manner as the hole 77 (steps S11, S13, S15, S17, S19, S21, S23, and S25). As described above, measurement can be performed even when the position of the x-axis line 91 does not completely match the X-axis line 87 and the position of the y-axis line 93 does not completely match the Y-axis line 89. This is because if the circle tool is set to a large size, the circle can be measured even if it is slightly out of alignment.

なお、測定において、画像のエッジ検出は必須でなく、例えば、いわゆるパターンマッチングにより、所定の測定をする場合もある。詳細に説明すると、ワークWに対応するパターンテンプレートを予め作成して登録しておく。パターンマッチングの実行は、登録されたパターンテンプレート情報(画像情報とテンプレート座標系情報)のうち、画像情報を用いて行う。すなわち、ワークWをステージ13上に置き、その画像をカラービデオウィンドウ67に表示させる。オペレータは、本実施形態を用いてワークWの測定箇所の画像を所定位置83に合わせて、登録されているパターンテンプレートを選択し、検索条件を指定して、マウス35等の操作により検索を実行する。これにより、CPU39は、指定された検索範囲と検索条件の範囲内で、パターンテンプレートの画像と一致する点(群)を検索(つまり測定)する。   In the measurement, it is not essential to detect the edge of the image. For example, a predetermined measurement may be performed by so-called pattern matching. More specifically, a pattern template corresponding to the workpiece W is created and registered in advance. The execution of pattern matching is performed using image information among the registered pattern template information (image information and template coordinate system information). That is, the work W is placed on the stage 13 and the image is displayed on the color video window 67. Using this embodiment, the operator aligns the image of the measurement location of the workpiece W with the predetermined position 83, selects a registered pattern template, specifies search conditions, and executes a search by operating the mouse 35 or the like. To do. As a result, the CPU 39 searches for (or measures) a point (group) that matches the pattern template image within the specified search range and search condition range.

以上説明したように、本実施形態によれば、測定箇所が所定位置に到達し、所定時間静止させると、その測定箇所の測定が自動的に実行される。したがって、オペレータは、X軸つまみ15やY軸つまみ17から手を離して測定開始ボタンを押す、という操作をしなくてもよいので、画像測定装置の操作性を向上させることができる。特に、ワークの測定箇所が多数(例えば1000箇所や2000箇所)ある場合、本実施形態は有効である。   As described above, according to the present embodiment, when a measurement location reaches a predetermined position and is stopped for a predetermined time, the measurement location is automatically measured. Therefore, the operator does not have to perform an operation of releasing the hand from the X-axis knob 15 or the Y-axis knob 17 and pressing the measurement start button, so that the operability of the image measuring apparatus can be improved. In particular, this embodiment is effective when there are a large number of workpiece measurement locations (for example, 1000 locations or 2000 locations).

なお、本実施形態では、x軸線91、y軸線93を点線から実線に変化させることで、その方向の移動完了を視覚的に示している。しかしながら、これに限定されず、軸線91,93の色の変化や太さの変化、カウンタウィンドウ69の数字の色の変化等で移動完了を示してもよい。   In the present embodiment, the x-axis line 91 and the y-axis line 93 are changed from a dotted line to a solid line to visually indicate the completion of movement in that direction. However, the present invention is not limited to this, and movement completion may be indicated by a change in the color of the axes 91 and 93, a change in the thickness, a change in the color of the number in the counter window 69, or the like.

例えば、X軸線87及びY軸線89の色を緑、x軸線91及びy軸線93の色を赤、カウンタウィンドウ69の数字の色を赤にしておき、図9のようにX軸線87方向の移動が完了した場合、y軸線93の色を緑に変化させると共にカウンタウィンドウ69のXの数字の色を緑に変化させ、図10のようにY軸線89方向の移動が完了した場合、x軸線91の色を緑に変化させると共にカウンタウィンドウ69のYの数字の色を緑に変化させるのである。   For example, the X-axis line 87 and the Y-axis line 89 are set to green, the x-axis line 91 and the y-axis line 93 are set to red, and the counter window 69 is moved in the direction of the X-axis 87 as shown in FIG. Is completed, the color of the y-axis line 93 is changed to green, and the color of the X number of the counter window 69 is changed to green. When the movement in the direction of the Y-axis line 89 is completed as shown in FIG. Is changed to green and the color of the Y number in the counter window 69 is changed to green.

CRT37の画面構成の他の例について、図11〜図15を用いて説明する。これらの図は、測定時における画面構成の他の例の第1状態から第5状態を示す平面図である。図11に示す第1状態のように、測定箇所の位置が目印から比較的遠い場合、ビデオウィンドウ67にはワークWの画像が表示されず、コンパスとなる矢印101が表示されている。矢印101は比較的大きくされている。矢印(コンパス)101の向きは、測定箇所の現在位置を基準にした目印の方向を示している。コメントウィンドウ71には、「矢印方向にステージを移動させて下さい」と表示される。   Another example of the screen configuration of the CRT 37 will be described with reference to FIGS. These drawings are plan views showing a first state to a fifth state of another example of the screen configuration at the time of measurement. When the position of the measurement location is relatively far from the mark as in the first state shown in FIG. 11, the image of the workpiece W is not displayed in the video window 67, and an arrow 101 serving as a compass is displayed. Arrow 101 is relatively large. The direction of the arrow (compass) 101 indicates the direction of the mark based on the current position of the measurement location. The comment window 71 displays “Please move the stage in the direction of the arrow”.

オペレータは図1のX軸つまみ15やY軸つまみ17を手動で操作して矢印101方向にステージ13を移動させることにより、測定箇所が目印に近づくと、矢印101の大きさがしだいに小さくなる。これが図12に示す第2状態、図13に示す第3状態となる。   The operator manually operates the X-axis knob 15 and the Y-axis knob 17 in FIG. 1 to move the stage 13 in the direction of the arrow 101, so that the size of the arrow 101 gradually decreases as the measurement location approaches the mark. This is the second state shown in FIG. 12, and the third state shown in FIG.

ステージ13の移動により、測定箇所が目印に近づき、測定箇所の画像がビデオウィンドウ67に表示できるようになると、図14に示す第4状態のように、ビデオウィンドウ67には、ワークWの画像と矢印101とが重ねて表示される。そして、図15に示す第5状態のように、測定箇所である穴部77の画像が目印85で示す所定位置に到達すると、矢印101が消える。穴部77の画像が静止した状態で所定時間経過すると、測定が実行される。   When the stage 13 moves and the measurement location approaches the mark and the image of the measurement location can be displayed on the video window 67, the video window 67 displays the image of the work W as shown in the fourth state shown in FIG. An arrow 101 is displayed in an overlapping manner. Then, as in the fifth state shown in FIG. 15, when the image of the hole 77 that is the measurement location reaches a predetermined position indicated by the mark 85, the arrow 101 disappears. When a predetermined time elapses with the image of the hole 77 being stationary, measurement is performed.

以上のように、ビデオウィンドウ67にコンパスとなる矢印101を表示したり、ビデオウィンドウ67に位置合わせ用x軸線91、y軸線93を表示したり、カウンタウィンドウ69を表示したり、コメントウィンドウ71を表示したり、するナビゲーション機能を、本実施形態に係る画像測定装置1は備えている。したがって、操作性をさらに向上させることができる。但し、ナビゲーション機能を備えていない場合でもよい。その場合、図16に示すように、画面65にはカウンタウィンドウやコメントウィンドウが表示されず、ビデオウィンドウ67にはワークWの画像、X軸線87、Y軸線89及び目印85が表示される。   As described above, the compass arrow 101 is displayed in the video window 67, the alignment x-axis line 91 and the y-axis line 93 are displayed in the video window 67, the counter window 69 is displayed, and the comment window 71 is displayed. The image measuring apparatus 1 according to the present embodiment has a navigation function for displaying or displaying. Therefore, the operability can be further improved. However, the navigation function may not be provided. In this case, as shown in FIG. 16, the counter window and the comment window are not displayed on the screen 65, and the image of the work W, the X axis line 87, the Y axis line 89, and the mark 85 are displayed on the video window 67.

最後に、本実施形態に係る画像測定装置1の機能ブロックの一例について、図2と図17を用いて説明する。図17は、画像測定装置1の機能ブロック図である。入力部103は、撮像部105とステージ位置検出部107で構成される。具体的には、撮像部105はCCDカメラ27であり、ステージ位置検出部107はX,Y軸エンコーダ55,57である。なお、撮像部105としては、他に、CMOS(Complementary Metal Oxide Semiconductor)撮像素子を用いたカメラがある。   Finally, an example of functional blocks of the image measuring apparatus 1 according to the present embodiment will be described with reference to FIGS. FIG. 17 is a functional block diagram of the image measuring apparatus 1. The input unit 103 includes an imaging unit 105 and a stage position detection unit 107. Specifically, the imaging unit 105 is a CCD camera 27, and the stage position detection unit 107 is X and Y axis encoders 55 and 57. In addition, as the imaging unit 105, there is a camera using a CMOS (Complementary Metal Oxide Semiconductor) imaging element.

記憶部109は、撮像部105で撮像されたワークWの多値画像データを記憶したり、パートプログラムを記憶したり、パートプログラムを実行する際のワーク領域を提供したりする等の機能を有する。記憶部109は、図2のプログラムメモリ41、ワークメモリ43及び多値画像メモリ45と対応し、RAMやROMで実現される。   The storage unit 109 has functions such as storing multi-value image data of the workpiece W imaged by the imaging unit 105, storing a part program, and providing a work area when executing the part program. . The storage unit 109 corresponds to the program memory 41, the work memory 43, and the multi-value image memory 45 of FIG. 2, and is realized by a RAM or a ROM.

処理部111は、画像制御部113、測定処理部115及び測定開始決定部117を含む。処理部111の機能は、図2のCPU39で実現される。画像制御部113は、図3のカラービデオウィンドウ67に表示する画像を生成するための各種制御をする。測定処理部115で、パートプログラムが実行される。   The processing unit 111 includes an image control unit 113, a measurement processing unit 115, and a measurement start determination unit 117. The function of the processing unit 111 is realized by the CPU 39 of FIG. The image control unit 113 performs various controls for generating an image to be displayed on the color video window 67 of FIG. In the measurement processing unit 115, the part program is executed.

測定開始決定部117は、手動操作によりステージ13を移動させて、測定をすべき測定箇所の画像が所定位置83に到達すると測定処理部115にその測定箇所についての測定を開始させる機能を有する。測定開始決定部117は、位置演算部119と静止時間カウント部121とを含む。   The measurement start determination unit 117 has a function of causing the measurement processing unit 115 to start measurement at the measurement location when the image of the measurement location to be measured reaches the predetermined position 83 by moving the stage 13 by manual operation. The measurement start determination unit 117 includes a position calculation unit 119 and a stationary time counting unit 121.

位置演算部119は、ワークWの測定箇所の座標(測定機座標系とワーク座標系の関係から求められる座標)とステージ13の移動量とを基にして測定箇所の現在位置が演算される。静止時間カウント部121は、測定すべき測定箇所の画像が所定位置83に静止している時間をカウントするソフトカウンタである。静止時間が予め設定された所定時間を経過すれば、測定開始が決定される。   The position calculation unit 119 calculates the current position of the measurement location based on the coordinates of the measurement location of the workpiece W (coordinates obtained from the relationship between the measuring machine coordinate system and the workpiece coordinate system) and the amount of movement of the stage 13. The stationary time counting unit 121 is a software counter that counts the time during which the image of the measurement location to be measured is stationary at the predetermined position 83. When the stationary time has passed a predetermined time, the measurement start is determined.

表示部123には、ワークWの画像、測定結果、ナビゲーション画面等が表示される。図2のCRT37が表示部123となる。表示部123としては、他に、液晶ディスプレイがある。   The display unit 123 displays an image of the workpiece W, measurement results, a navigation screen, and the like. The CRT 37 in FIG. Another example of the display unit 123 is a liquid crystal display.

なお、図1に示すX軸つまみ15やY軸つまみ17を含むステージ移動機構によりステージ13を移動する。このステージ移動機構が、手動操作により撮像部105をステージ13に対して相対移動させて、ワークWの撮像されている箇所を変える移動手段となる。ステージ13を固定にし、撮像部105が移動するようにしてもよい。   The stage 13 is moved by a stage moving mechanism including the X-axis knob 15 and the Y-axis knob 17 shown in FIG. This stage moving mechanism serves as a moving means for moving the imaging unit 105 relative to the stage 13 by a manual operation to change the location where the workpiece W is imaged. The stage 13 may be fixed and the imaging unit 105 may move.

本発明に係る画像測定装置の一実施形態の全体構成を示す斜視図である。1 is a perspective view showing an overall configuration of an embodiment of an image measuring device according to the present invention. 同実施形態を実現できるハードウェア構成を示す図である。It is a figure which shows the hardware constitutions which can implement | achieve the embodiment. 同実施形態に備えられるCRTの画面構成の一例を示す平面図である。It is a top view which shows an example of the screen structure of CRT with which the embodiment is equipped. ワークの一例の全体を示す平面図である。It is a top view which shows the whole example of a workpiece | work. CCDカメラで撮像された多値画像を示す図である。It is a figure which shows the multi-value image imaged with the CCD camera. X軸線、Y軸線及び位置合わせ用x軸線、y軸線を含むアシスト画像を示す図である。It is a figure which shows the assist image containing an X-axis line, a Y-axis line, the x-axis line for alignment, and a y-axis line. 同実施形態で実行されるパートプログラムの説明図である。It is explanatory drawing of the part program performed in the same embodiment. 同実施形態で測定される画像測定のフローチャートである。It is a flowchart of the image measurement measured in the same embodiment. 同実施形態に備えられるCRTの画面構成の一例であり、測定箇所が所定位置に近づいた場合の平面図である。It is an example of a screen configuration of a CRT provided in the embodiment, and is a plan view when a measurement point approaches a predetermined position. 同測定箇所が所定位置に到達した場合の平面図である。It is a top view when the measurement location reaches a predetermined position. 同実施形態に備えられるCRTの画面構成の他の例の第1状態を示す平面図である。It is a top view which shows the 1st state of the other example of the screen structure of CRT with which the same embodiment is equipped. 同第2状態を示す平面図である。It is a top view which shows the 2nd state. 同第3状態を示す平面図である。It is a top view which shows the 3rd state. 同第4状態を示す平面図である。It is a top view which shows the same 4th state. 同第5状態を示す平面図である。It is a top view which shows the same 5th state. 同実施形態に備えられるCRTの画面構成のさらに他の例の平面図である。It is a top view of the further another example of the screen structure of CRT with which the embodiment is equipped. 同実施形態に係る画像測定装置の機能ブロック図である。It is a functional block diagram of the image measuring device concerning the embodiment.

符号の説明Explanation of symbols

1・・・画像測定装置、3・・・測定機本体、5・・・コンピュータシステム、7・・・指令入力部、9・・・電源ユニット、11・・・架台、13・・・ステージ、15・・・X軸つまみ、17・・・Y軸つまみ、19・・・微動つまみ、21・・・フレーム、23・・・CCDカメラユニット、25・・・Z軸つまみ、27・・・CCDカメラ、27a・・・対物レンズ、29・・・照明装置、31・・・コンピュータ本体、33・・・キーボード、35・・・マウス、37・・・CRT、39・・・CPU、41・・・プログラムメモリ、43・・・ワークメモリ、45・・・多値画像メモリ、47・・・表示制御IC、49・・・照明制御IC、51・・・バス、53・・・インターフェース、55・・・X軸エンコーダ、57・・・Y軸エンコーダ、59・・・Z軸エンコーダ、61,63・・・インターフェース、65・・・CRTの画面、67・・・カラービデオウィンドウ、69・・・カウンタウィンドウ、71・・・コメントウィンドウ、73,75・・・ワークの角部、77,79,81・・・穴部(測定箇所)、83・・・所定位置、85・・・目印、87・・・X軸線、89・・・Y軸線、91・・・位置合わせ用x軸線、93・・・位置合わせ用y軸線、95・・・多値画像、97・・・アシスト画像、99・・・x軸線とy軸線との交点、101・・・矢印(コンパス)、103・・・入力部、105・・・撮像部、107・・・ステージ位置検出部、109・・・記憶部、111・・・処理部、113・・・画像制御部、115・・・測定処理部、117・・・測定開始決定部、119・・・位置演算部、121・・・静止時間カウント部、123・・・表示部、W・・・ワーク DESCRIPTION OF SYMBOLS 1 ... Image measuring device, 3 ... Measuring machine main body, 5 ... Computer system, 7 ... Command input part, 9 ... Power supply unit, 11 ... Mount, 13 ... Stage, 15 ... X-axis knob, 17 ... Y-axis knob, 19 ... Fine movement knob, 21 ... Frame, 23 ... CCD camera unit, 25 ... Z-axis knob, 27 ... CCD Camera, 27a ... objective lens, 29 ... illumination device, 31 ... computer main body, 33 ... keyboard, 35 ... mouse, 37 ... CRT, 39 ... CPU, 41 ... Program memory 43 ... Work memory 45 ... Multi-value image memory 47 ... Display control IC 49 ... Light control IC 51 ... Bus 53 ... Interface 55 ..X-axis encoder, 57 Y-axis encoder, 59 ... Z-axis encoder, 61, 63 ... interface, 65 ... CRT screen, 67 ... color video window, 69 ... counter window, 71 ... comment window, 73, 75 ... corners of workpiece, 77, 79, 81 ... hole (measurement location), 83 ... predetermined position, 85 ... mark, 87 ... X-axis, 89 ... Y axis, 91 ... x axis for alignment, 93 ... y axis for alignment, 95 ... multi-valued image, 97 ... assist image, 99 ... intersection of x axis and y axis , 101 ... arrows (compass), 103 ... input unit, 105 ... imaging unit, 107 ... stage position detection unit, 109 ... storage unit, 111 ... processing unit, 113 ... Image control unit, 115 ... measurement processing unit, 17 ... measurement start determination unit, 119 ... position calculating section, 121 ... rest time counting unit, 123 ... display unit, W ... workpiece

Claims (6)

ワークが載置されるステージと、
前記ステージに載置された前記ワークを撮像する撮像手段と、
所定位置を示す目印と前記撮像手段で撮像された前記ワークの画像とを重ねて表示する表示手段と、
手動操作により前記撮像手段を前記ステージに対して相対移動させる移動手段と、
前記ワークの画像を基にして前記ワークの複数の測定箇所について測定する手順が記述されたパートプログラムを実行する測定処理手段と、
前記移動手段により前記撮像手段を前記ステージに対して相対移動させて、測定をすべき測定箇所の画像が前記所定位置に到達すると前記測定処理手段に前記測定箇所についての測定を開始させる測定開始決定手段と、を備えた
ことを特徴とする画像測定装置。
A stage on which the workpiece is placed;
Imaging means for imaging the workpiece placed on the stage;
A display means for displaying a mark indicating a predetermined position and an image of the workpiece imaged by the imaging means;
Moving means for moving the imaging means relative to the stage by manual operation;
Measurement processing means for executing a part program in which a procedure for measuring a plurality of measurement points of the workpiece based on the image of the workpiece is described;
Measurement start determination for causing the measurement processing means to start measurement of the measurement location when the image of the measurement location to be measured reaches the predetermined position by moving the imaging means relative to the stage by the moving means. And an image measuring apparatus.
前記測定開始決定手段は、前記測定箇所が前記所定位置に到達した後、静止状態で所定時間経過すると前記測定処理手段に測定を開始させる
ことを特徴とする請求項1に記載の画像測定装置。
The image measurement apparatus according to claim 1, wherein the measurement start determination unit causes the measurement processing unit to start measurement when a predetermined time elapses in a stationary state after the measurement location reaches the predetermined position.
前記所定位置は前記目印より広い面積を有する
ことを特徴とする請求項1又は2に記載の画像測定装置。
The image measuring apparatus according to claim 1, wherein the predetermined position has an area larger than that of the mark.
前記測定箇所の現在位置を演算する位置演算手段と、
前記撮像手段で撮像された前記ワークの画像が表示されるビデオウィンドウを設定し、前記ビデオウィンドウの中心で直交すると共に交点が前記目印となる水平線及び垂直線を前記ワークの画像に重ねて前記ビデオウィンドウに表示し、前記位置演算手段によって求められた前記測定箇所の現在位置と前記目印との垂直及び水平方向のずれ量をそれぞれ示す位置合わせ用水平線及び位置合わせ用垂直線を前記ワークの画像、前記水平線及び前記垂直線に重ねて前記ビデオウィンドウに表示する画像制御手段と、を備えた
ことを特徴とする請求項1〜3のいずれか一項に記載の画像測定装置。
Position calculating means for calculating the current position of the measurement location;
A video window in which an image of the workpiece imaged by the imaging means is displayed is set, and a horizontal line and a vertical line that are orthogonal to each other at the center of the video window and whose intersection is the mark are superimposed on the image of the workpiece. An image of the workpiece, a horizontal line for alignment and a vertical line for alignment, which are displayed on a window and respectively indicate vertical and horizontal deviation amounts between the current position of the measurement location and the mark obtained by the position calculation means; The image measurement device according to claim 1, further comprising: an image control unit that displays the video line in a manner superimposed on the horizontal line and the vertical line.
前記表示手段には、前記測定箇所の現在位置と前記目印とのずれ量を示す数値が表示される
ことを特徴とする請求項1〜4のいずれか一項に記載の画像測定装置。
The image measurement apparatus according to claim 1, wherein a numerical value indicating a deviation amount between a current position of the measurement location and the mark is displayed on the display unit.
前記表示手段には、前記測定箇所の現在位置を基準にした前記目印の方向を示すコンパスが表示される
ことを特徴とする請求項1〜5のいずれか一項に記載の画像測定装置。
The image measuring apparatus according to claim 1, wherein a compass indicating a direction of the mark with respect to a current position of the measurement location is displayed on the display unit.
JP2005040411A 2005-02-17 2005-02-17 Image measuring apparatus Pending JP2006226807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005040411A JP2006226807A (en) 2005-02-17 2005-02-17 Image measuring apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005040411A JP2006226807A (en) 2005-02-17 2005-02-17 Image measuring apparatus

Publications (1)

Publication Number Publication Date
JP2006226807A true JP2006226807A (en) 2006-08-31

Family

ID=36988318

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005040411A Pending JP2006226807A (en) 2005-02-17 2005-02-17 Image measuring apparatus

Country Status (1)

Country Link
JP (1) JP2006226807A (en)

Similar Documents

Publication Publication Date Title
JP5525953B2 (en) Dimension measuring apparatus, dimension measuring method and program for dimension measuring apparatus
US11173601B2 (en) Teaching device for performing robot teaching operations and teaching method
JP2006276022A (en) Image measuring device
JP2004351570A (en) Robot system
JPH07311610A (en) Coordinate system setting method using visual sensor
JP3853620B2 (en) Part program generation device and program for image measurement device
JP5467962B2 (en) Measurement setting data creation device, measurement setting data creation method, program for measurement setting data creation device, and dimension measurement device
JP2016024046A (en) Image measurement apparatus
JP2000146794A (en) Rockwell hardness tester
JP2002350123A (en) Method for supporting measurement, measuring system and measurement support program
JP2006226807A (en) Image measuring apparatus
JP2004294311A (en) Picture image measuring instrument
JP4485771B2 (en) Method of aligning rotation axis of chuck table and center of microscope in cutting apparatus
US12011827B2 (en) Robot teaching with scans in and out of robot workspace
JPH10197221A (en) Measuring microscope
JP2010149225A (en) Robot system, device and method for controlling robot system
JP2978808B2 (en) Image measuring device
JPH09259289A (en) Method and device for measuring edge posture recognition formula
JP3595014B2 (en) Edge detection method and non-contact image measurement system using the same
JP6687229B2 (en) Image measuring device
JP2014106167A (en) Laser projection method and laser projection device
JP6754463B2 (en) Image measuring device
JP2937918B2 (en) Image measuring device
JPH1047935A (en) Picture superimposing type measuring system
JPH11203485A (en) Image measuring device