JP2003344296A - Inspection method and device for key - Google Patents

Inspection method and device for key

Info

Publication number
JP2003344296A
JP2003344296A JP2002158733A JP2002158733A JP2003344296A JP 2003344296 A JP2003344296 A JP 2003344296A JP 2002158733 A JP2002158733 A JP 2002158733A JP 2002158733 A JP2002158733 A JP 2002158733A JP 2003344296 A JP2003344296 A JP 2003344296A
Authority
JP
Japan
Prior art keywords
key
mountain
inspection
uneven surface
camera
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.)
Withdrawn
Application number
JP2002158733A
Other languages
Japanese (ja)
Inventor
Eiichi Muramatsu
鋭一 村松
Takayuki Matsumura
貴之 松村
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.)
Shibuya Corp
Original Assignee
Shibuya Kogyo 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 Shibuya Kogyo Co Ltd filed Critical Shibuya Kogyo Co Ltd
Priority to JP2002158733A priority Critical patent/JP2003344296A/en
Publication of JP2003344296A publication Critical patent/JP2003344296A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform the inspection of a key 2 in a short time by radiating a linear laser beam L to the surface formed by the irregular faces of a key crest section 2C to determine the quality of the key crest section 2C. <P>SOLUTION: This inspection device for the key 2 has a support means 3 for supporting the key 2 in a vertically raised state, and a radiating means 4 for radiating the linear laser light L toward the surface formed by the irregular faces of the key crest section 2C along the key crest section 2C. The inspection device 1 further comprises a camera 5 for taking the image of the reflected light L' from the surface formed by the irregular faces of the key crest section 2C and a determination means 6 for processing the image of the reflected light L' taken by the camera 5 to determine the quality of the key crest section 2C. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は鍵の検査方法とその
装置に関し、より詳しくは、レーザ光を利用して鍵山を
検査する鍵の検査方法とその装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a key inspection method and an apparatus thereof, and more particularly to a key inspection method and an apparatus thereof for inspecting a key mountain by using a laser beam.

【0002】[0002]

【従来の技術】従来、鍵の検査装置として、例えば特開
昭63−311108号公報や特開平11−37946
号公報が知られている。上記特開昭63−311108
号公報に開示された方法では、鍵を水平に支持した後、
鍵の表面(平面部)に向けて、かつその長手方向と直交
させてライン状のレーザ光を照射する。そして、ライン
状のレーザ光を鍵の表面の長手方向全域にわたって平行
移動させるとともに、受光器に投影された鍵山の各部の
寸法を求めて鍵山の良否を判定するようにしている。他
方、上記特開平11−37946号公報に開示された方
法では、先ず水平に支持した鍵に向けて下方側から蛍光
灯の照明を当てると同時に、上方側からカメラで鍵を撮
影して鍵の輪郭の画像を得る。次に、この画像における
鍵の基準点と中心線とを求めてから所要箇所の鍵山の高
さ(中心線からの距離)を求める。その後、上述のよう
にして求めた所要箇所の鍵山の高さとそれらの箇所に対
応する位置の正しい寸法データとを比較して鍵の良否を
判定するようにしている。
2. Description of the Related Art Conventionally, as a key inspection device, for example, JP-A-63-311108 and JP-A-11-37946.
The publication is known. JP-A-63-311108 mentioned above.
In the method disclosed in Japanese Patent Publication, after the key is supported horizontally,
A linear laser beam is emitted toward the surface (flat surface) of the key and orthogonal to the longitudinal direction thereof. Then, the linear laser beam is moved in parallel over the entire length of the surface of the key in the longitudinal direction, and the size of each part of the key ridge projected on the light receiver is obtained to determine the quality of the key ridge. On the other hand, in the method disclosed in Japanese Patent Laid-Open No. 11-37946 mentioned above, first, a fluorescent lamp is illuminated from the lower side toward the horizontally supported key, and at the same time, the key is photographed by the camera from the upper side. Obtain an image of the contour. Next, after obtaining the reference point and the center line of the key in this image, the height (distance from the center line) of the key mountain at the required position is obtained. After that, the height of the key ridges at the required places obtained as described above is compared with the correct dimensional data at the positions corresponding to those places to determine the quality of the key.

【0003】[0003]

【発明が解決しようとする課題】ところで、上記前者の
検査方法においては、レーザ光を鍵の表面に照射し、か
つ鍵の長手方向全域にわたって平行移動させているの
で、鍵の検査に時間が掛かるという欠点があった。ま
た、後者の検査方法においては、カメラで鍵の全体形状
を撮影するものであり、その後の画像処理が複雑で時間
が掛かるという欠点があった。しかも、光源として蛍光
灯を用いているので、カメラで鍵を撮影する際に自然光
の影響を受けやすいという欠点もあった。そこで、本発
明の目的は、従来と比較して短時間で鍵の検査を行なう
ことが可能な鍵の検査方法と検査装置を提供することで
ある。
By the way, in the former inspection method, the surface of the key is irradiated with the laser beam, and the key is moved in parallel over the entire longitudinal direction of the key. Therefore, it takes time to inspect the key. There was a drawback. Further, in the latter inspection method, the whole shape of the key is photographed by the camera, and there is a drawback that the subsequent image processing is complicated and time-consuming. Moreover, since a fluorescent lamp is used as a light source, there is a drawback that the camera is easily affected by natural light when the key is photographed. Therefore, an object of the present invention is to provide a key inspection method and an inspection device capable of inspecting a key in a shorter time than in the conventional case.

【0004】[0004]

【課題を解決するための手段】すなわち、請求項1に記
載した第1の本発明は、鍵の鍵山の凹凸面が形成する表
面にライン状のレーザ光を鍵山に沿って照射して、上記
凹凸面が形成する表面からの反射光に基づいて該鍵山の
輪郭線を認識するようにしたものである。また、請求項
3に記載した第2の本発明は、鍵を支持する支持手段
と、上記鍵における鍵山の凹凸面が形成する表面にライ
ン状のレーザ光を鍵山に沿って照射する照射手段と、上
記凹凸面が形成する表面からの反射光を撮影するカメラ
と、このカメラで撮影した反射光に基づいて上記鍵山の
輪郭線を認識する画像処理部と、この画像処理部が認識
した鍵山の輪郭線に基づいて鍵山の良否を判定する判定
部とを備える鍵の検査装置を提供するものである。上記
第1の発明によれば、鍵山の輪郭線を短時間で認識する
ことができ、その認識した鍵山の輪郭線に基づいて鍵山
の良否を短時間で検査することが出来る。また、上記第
2の発明によれば、レーザ光を上記凹凸面が形成する表
面に照射してから鍵山の輪郭線を認識するまでに要する
時間を短縮することが出来る。したがって、上記第1の
発明および第2の発明によれば、従来に比較して短時間
で鍵の検査を行なうことが出来る。
That is, according to a first aspect of the present invention as set forth in claim 1, the surface formed by the uneven surface of the key mountain of the key is irradiated with a linear laser beam along the key mountain, The contour line of the key mountain is recognized based on the reflected light from the surface formed by the uneven surface. A second aspect of the present invention is a supporting means for supporting the key, and an irradiating means for irradiating the surface of the key formed by the uneven surface of the key mountain with a linear laser beam along the key mountain. , A camera for photographing reflected light from the surface formed by the uneven surface, an image processing unit for recognizing the contour line of the key mountain based on the reflected light photographed by this camera, and a key mountain recognized by the image processing unit. It is an object of the present invention to provide a key inspection device including a determination unit that determines pass / fail of a key mountain based on a contour line. According to the first aspect, the contour line of the key mountain can be recognized in a short time, and the quality of the key mountain can be inspected in a short time based on the recognized contour line of the key mountain. Further, according to the second aspect of the present invention, it is possible to reduce the time required to recognize the contour line of the key crest after irradiating the surface formed by the uneven surface with the laser light. Therefore, according to the first invention and the second invention, the key can be inspected in a shorter time than the conventional case.

【0005】[0005]

【発明の実施の形態】以下図示実施例について本発明を
説明すると、図1ないし図2において、1は鍵2の検査
を行なう検査装置である。検査装置1の構成を説明する
前に、先ず検査対象となる鍵2の構成について説明す
る。検査対象とする鍵2は図3にその一例を示すよう
に、鍵2を使用する際に保持するための幅広に形成され
た保持部2Aと、保持部2Aよりも幅の狭い基部2B
と、基部2Bに続いて先端にかけて鍵山が形成された鍵
山部2Cから構成されている。本実施例では、図1で示
すように、鍵2を鍵山の輪郭が把握できるように見た正
面およびその背面をともに表裏面として、その周囲を側
面と呼ぶことにする。保持部2Aに続く基部2Bの側面
は連続する平坦面2Dとして形成され、鍵山部2Cで
は、鍵2の表裏面における長手方向側方側となる側面
が、複数の凹凸からなる凹凸面2Eとして形成されてい
る。そして本発明においては、凹凸面2Eが形成する表
面に鍵山に沿って、すなわち凹凸が連続するその長手方
向に沿って、ライン状にレーザ光を照射するようにして
いる。
BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be described below with reference to the illustrated embodiments. In FIGS. 1 and 2, reference numeral 1 is an inspection device for inspecting a key 2. Before describing the configuration of the inspection device 1, first, the configuration of the key 2 to be inspected will be described. As shown in FIG. 3, an example of the key 2 to be inspected is a holding portion 2A formed to be wide when holding the key 2 and a base portion 2B narrower than the holding portion 2A.
Then, the base portion 2B is followed by a key mountain portion 2C in which a key mountain is formed from the top to the tip. In the present embodiment, as shown in FIG. 1, both the front surface and the back surface of the key 2 viewed so that the outline of the key crest can be grasped are the front and back surfaces, and the peripheries thereof are called side surfaces. The side surface of the base portion 2B following the holding portion 2A is formed as a continuous flat surface 2D, and in the key mountain portion 2C, the side surface on the longitudinal side of the front and back surfaces of the key 2 is formed as an uneven surface 2E including a plurality of unevenness. Has been done. Further, in the present invention, the surface formed by the uneven surface 2E is irradiated with the laser light in a line along the key mountain, that is, along the longitudinal direction in which the unevenness is continuous.

【0006】しかして、検査装置1は、鍵2の保持部2
Aを支持する支持手段3と、鍵2における鍵山部2Cの
凹凸面2Eが形成する表面に向けてライン状のレーザ光
Lを照射する照射手段4と、凹凸面2Eで反射された反
射光L’を撮影するCCD撮像素子からなるカメラ5と
を備えている。また、検査装置1は判定手段6を備えて
おり、この判定手段6は、上記カメラ5で撮影した凹凸
面2Eからの反射光L’の画像を基に、鍵山の形状を鍵
2の表裏面側から見た輪郭線として認識する画像処理部
6Aと、この画像処理部6Aが認識した鍵山の輪郭線を
基にして鍵山の良否を判定する判定部6Bとを備えてい
る。
Therefore, the inspection apparatus 1 has the holding unit 2 for the key 2.
A supporting means 3 for supporting A, an irradiating means 4 for irradiating a linear laser beam L toward the surface formed by the uneven surface 2E of the key mountain portion 2C of the key 2, and a reflected light L reflected by the uneven surface 2E. And a camera 5 formed of a CCD image pickup device. In addition, the inspection device 1 is provided with a judging means 6, which determines the shape of the key mountain based on the image of the reflected light L ′ from the uneven surface 2E photographed by the camera 5 on the front and back surfaces of the key 2. An image processing unit 6A that recognizes the contour line as seen from the side and a determination unit 6B that determines the quality of the key mountain based on the contour line of the key mountain recognized by the image processing unit 6A are provided.

【0007】支持手段3は図1で示すように、鍵2の先
端を上方に向けた直立状態で支持する支持部材11と、
この支持部材11を水平面上で180度回転させる回転
機構12から構成している。支持部材11の上面には、
保持部2Aを収容して基部2Bがその上面より高く位置
するように鍵2を支持する溝11Aが開口している。こ
の溝11Aの開口寸法は、保持部2Aの幅、厚さよりも
若干大きく、保持部2Aを差し込んで鍵2を支持させる
ことができるが、前後左右に振らつくことがないように
設定されている。支持手段3に支持させた状態の鍵2の
側方に位置させて、ライン状のレーザ光Lを照射する照
射手段4を配置している。照射手段4はレーザ光Lの照
射部が鍵山部2Cの凹凸面2Eおよび基部2Bの平坦面
2Dに向けられており、そこから照射されるライン状の
レーザ光Lが、凹凸面2Eの長手方向全域および平坦面
2Dが形成する表面に、鉛直方向に連続する一直線で照
射されるように位置合わせされている。これにより、鍵
山部2Cの凹凸面2Eの全域および凹凸面2Eに続く基
部2Bの平坦面2Dに同時にライン状のレーザ光Lを照
射できるようになっている。
As shown in FIG. 1, the supporting means 3 includes a supporting member 11 for supporting the key 2 in an upright state with the tip of the key 2 facing upward,
This support member 11 is composed of a rotating mechanism 12 for rotating the supporting member 11 by 180 degrees on a horizontal plane. On the upper surface of the support member 11,
A groove 11A for supporting the key 2 is opened so that the holding portion 2A is accommodated and the base portion 2B is positioned higher than its upper surface. The opening dimension of the groove 11A is slightly larger than the width and thickness of the holding portion 2A, and the holding portion 2A can be inserted to support the key 2, but it is set so as not to fluctuate in the front, rear, left and right directions. . The irradiation means 4 for irradiating the linear laser light L is arranged at the side of the key 2 supported by the support means 3. The irradiating means 4 has an irradiating portion of the laser light L directed toward the uneven surface 2E of the key mountain portion 2C and the flat surface 2D of the base portion 2B, and the linear laser light L emitted from the irradiating means 4 is in the longitudinal direction of the uneven surface 2E. The entire surface and the surface formed by the flat surface 2D are aligned so as to be irradiated with a straight line continuous in the vertical direction. Thereby, it is possible to simultaneously irradiate the entire area of the uneven surface 2E of the key mountain portion 2C and the flat surface 2D of the base 2B following the uneven surface 2E with the linear laser light L.

【0008】照射手段4の側方に間隔を開けてカメラ5
を配置させている。カメラ5はその受光部を鍵山部2C
の凹凸面2Eおよび基部2Bの平坦面2Dに向けてお
り、図2で示すように、凹凸面2Eおよび平坦面2Dの
表面に対する、照射手段4からのライン状のレーザ光L
の入射角に対して、概ね45度の角度差をもって反射光
L’を受光できるように位置させている。これにより光
切断法の原理によって、凹凸面2Eおよび平坦面2Dに
対応した鍵山の形状を反映する輪郭線を撮影することが
できる。これらの構成により、照射手段4から照射した
ライン状のレーザ光Lを、鍵山部2Cの凹凸面2Eおよ
び基部2Bの平坦面2Dが形成する表面に鍵山に沿って
照射し、これら表面からの反射光L’をカメラ5で撮影
できるようになっている。また、回転機構12により支
持部材11を180度回転させることで、鍵2の表裏面
における長手方向左右の凹凸面2Eおよび平坦面2Dに
ついてライン状のレーザ光Lを照射し、その反射光L’
を撮影することができる。なお、本実施例においては、
鍵2表裏面に対して左右に鍵山を備えた鍵2を検査する
場合について説明しているが、一方だけに鍵山を形成し
た鍵2の検査を行なう場合や手動で鍵2を180度反転
させる場合には、上記回転機構12を省略することが出
来る。
A camera 5 is provided with a space beside the irradiation means 4.
Are placed. The camera 5 has its light receiving portion at the key mountain portion 2C.
2 is directed toward the uneven surface 2E and the flat surface 2D of the base portion 2B, and as shown in FIG. 2, the linear laser light L from the irradiation means 4 is applied to the surfaces of the uneven surface 2E and the flat surface 2D.
It is positioned so that the reflected light L'can be received with an angle difference of about 45 degrees with respect to the incident angle of. Thus, according to the principle of the light cutting method, it is possible to photograph the contour line that reflects the shape of the key mountain corresponding to the uneven surface 2E and the flat surface 2D. With these configurations, the line-shaped laser light L emitted from the irradiation means 4 is irradiated along the key ridge on the surface formed by the uneven surface 2E of the key ridge 2C and the flat surface 2D of the base 2B, and is reflected from these surfaces. The light L ′ can be photographed by the camera 5. Further, by rotating the support member 11 by 180 degrees by the rotating mechanism 12, the linear laser light L is emitted to the uneven surfaces 2E and the flat surfaces 2D on the left and right in the longitudinal direction on the front and back surfaces of the key 2, and the reflected light L ′ thereof.
Can be taken. In this example,
The case of inspecting the key 2 having the key ridges on the left and right sides of the front and back sides of the key 2 has been described, but when inspecting the key 2 having the key ridges formed on only one side, or manually reversing the key 2 by 180 degrees In this case, the rotating mechanism 12 can be omitted.

【0009】判定手段6の画像処理部6Aは、カメラ5
で撮影した凹凸面2Eおよび平坦面2Dの表面からの反
射光L’の画像データが伝達されると、これに基づく画
像に対して所定の検査領域を設定する。図4に示した長
方形の外枠が検査領域である。つぎに画像処理部6A
は、画像処理によって検査領域内における所定輝度以上
となる画素の範囲を認識することで、鍵山の輪郭線を座
標上の線として把握する。図4における左右方向に連続
する凹凸の破線が鍵山の輪郭線となる。なお、検査対象
となる多数の鍵2は、鍵山を含めて略同形状をしてお
り、取り込まれる画像が線で構成されていることから、
画像処理部6Aは、画像処理する際の走査領域を、予め
基準とした輪郭線に対して、走査方向となる図4の上下
方向に若干の幅をもたせた最小の領域に設定している。
これにより、上記検査領域の全ての領域を画像処理する
ために走査する場合と比較して、画像処理に要する時間
を短縮出来るようになっている。
The image processing section 6A of the judging means 6 is composed of the camera 5
When the image data of the reflected light L'from the surfaces of the uneven surface 2E and the flat surface 2D photographed in (3) is transmitted, a predetermined inspection area is set for the image based on this. The rectangular outer frame shown in FIG. 4 is the inspection area. Next, the image processing unit 6A
Recognizes the contour line of the key mountain as a line on the coordinate by recognizing a range of pixels having a predetermined brightness or higher in the inspection region by image processing. The broken lines of concavities and convexities that continue in the left-right direction in FIG. It should be noted that many keys 2 to be inspected have substantially the same shape including a key mountain, and the captured image is composed of lines,
The image processing unit 6A sets the scanning area for image processing to a minimum area having a slight width in the up-down direction of FIG. 4, which is the scanning direction, with respect to the contour line that is the reference in advance.
As a result, the time required for image processing can be shortened as compared with the case of scanning all the inspection areas for image processing.

【0010】判定部6Bでは、画像処理部6Aで認識し
た鍵山の輪郭線の座標データに基づき、上記検査領域の
一端(図4の左端)から連続する直線部分Y(平坦面2
Dの箇所)を把握し、この直線部分Yの右端となる箇所
を検出点aとして検査領域に設定する。また、これと同
時に、判定部6Bは、上記直線部分Yと重なる直線から
なる基準線Xを検査領域に設定する。さらに、判定部6
Bは、鍵山の輪郭線における屈曲箇所をそれぞれ検出点
b〜jとして検査領域の座標上の位置として認識すると
ともに、輪郭線の先端部(鍵2の先端)を検出点kとし
て検査領域の座標上の位置として認識する。なお、支持
手段11に支持される鍵2は、図1に示す表裏面を正面
とし、先端を上方に向けた状態で、微妙に左右に傾いて
いる。この傾きにはばらつきがあるため、判定部6Bが
基準線Xを設定した際に、該基準線Xが検査領域におい
て傾き、図4で示したような水平線となるとは限らな
い。そのため、判定部6Bは、上記検出点aを回転中心
として所定角度だけ基準線Xの位置を回転させて、図4
に示すような水平線となるように調整している。また、
判定部6Bは、これにともなう検出点b〜kの座標上の
位置も補正して、補正後の位置を判定に用いる検出点b
〜kの位置として認識するようにしている。次に、判定
部6Bは、上記基準線Xを検査領域のX方向(図4の上
下方向)の原点(X=0)として認識するとともに、検
出点aを検査領域のY方向(図4の横方向)における原
点(Y=0)として認識して、上記検出点aを座標の原
点(0,0)とした時の上記各検出点b〜kの座標位置
を求める。判定部6Bには予め、モデルとなる鍵2の鍵
山の輪郭線について、基準線X上の検出点aを座標の原
点(0,0)とした場合における各検出点b〜kの座標
位置が記憶されていて、今回検出した検出点b〜kの座
標位置と予め記憶した座標位置のデータとを比較する。
このように、判定に用いる検出点b〜kの座標位置を、
平坦面2Dからの反射光L’に基づく直線部分Yならび
に直線部分Y上の検出点aを基準として認識し、判定す
るようになっている。なお、予め記憶したモデルとなる
検出点b〜kの座標位置は、基準線Xを基準とした鍵山
の屈曲箇所までの必要な距離(最短となる距離)に基づ
いて設定している。比較の結果、各検出点b〜kについ
ての位置ずれ量が所定範囲内であれば、今回検査対象と
なった鍵2は良品であると判定し、所定範囲内にない場
合には、不良であると判定するようにしている。
In the judging section 6B, based on the coordinate data of the contour line of the key mountain recognized by the image processing section 6A, a straight line portion Y (flat surface 2) continuous from one end (left end in FIG. 4) of the inspection area.
The location D) is grasped, and the location at the right end of the straight line portion Y is set as the detection point a in the inspection area. At the same time, the determination unit 6B sets a reference line X, which is a straight line overlapping the straight line portion Y, in the inspection area. Further, the determination unit 6
B recognizes the bending points on the contour line of the key mountain as the positions on the coordinate of the inspection area as the detection points b to j, respectively, and at the tip of the contour line (the tip of the key 2) as the detection point k, the coordinate of the inspection area. Recognize as the upper position. The key 2 supported by the support means 11 is slightly tilted left and right with the front and back surfaces shown in FIG. 1 as the front and the tip end facing upward. Since the inclination varies, when the determination unit 6B sets the reference line X, the reference line X does not always incline in the inspection area and become a horizontal line as shown in FIG. Therefore, the determination unit 6B rotates the position of the reference line X by a predetermined angle with the detection point a as the rotation center, and
The horizontal line is adjusted as shown in. Also,
The determination unit 6B also corrects the coordinate positions of the detection points b to k accompanying this, and the corrected position is used as the detection point b for the determination.
It is recognized as the position of ~ k. Next, the determination unit 6B recognizes the reference line X as the origin (X = 0) of the inspection area in the X direction (vertical direction in FIG. 4), and determines the detection point a in the Y direction of the inspection area (in FIG. 4). It is recognized as the origin (Y = 0) in the horizontal direction, and the coordinate positions of the detection points b to k when the detection point a is the origin (0, 0) of the coordinates are obtained. In the determination unit 6B, the coordinate positions of the detection points b to k in the case where the detection point a on the reference line X is the origin (0, 0) of the coordinate with respect to the contour line of the key mountain of the key 2 that is the model are previously stored. The stored coordinate positions of the detection points b to k detected this time are compared with the previously stored coordinate position data.
Thus, the coordinate positions of the detection points b to k used for the determination are
The straight line portion Y based on the reflected light L ′ from the flat surface 2D and the detection point a on the straight line portion Y are recognized as a reference and judged. The coordinate positions of the detection points b to k, which are models stored in advance, are set based on the required distance (the shortest distance) to the bent portion of the key mountain with the reference line X as a reference. As a result of the comparison, if the amount of displacement for each of the detection points b to k is within the predetermined range, it is determined that the key 2 to be inspected this time is a good product, and if it is not within the predetermined range, the key 2 is defective. I try to judge that there is.

【0011】以上の構成において、検査対象となる鍵2
が作業者によって上記支持部材11の溝11Aに挿入さ
れると、鍵2はその先端部が上方を向けた直立状態で支
持部材11上に支持される。その後、照射手段4から鍵
山の凹凸面2Eおよび平坦面2Dが形成する表面に向け
てライン状のレーザ光Lが照射されて、これらの表面で
反射された反射光L’がカメラ5によって撮影される。
そして、反射光L’の画像は、画像処理部6Aに取り込
まれる。
In the above structure, the key 2 to be inspected
When the key is inserted into the groove 11A of the support member 11 by the operator, the key 2 is supported on the support member 11 in an upright state with its tip end facing upward. Thereafter, the irradiation means 4 irradiates the surface formed by the uneven surface 2E and the flat surface 2D of the key mountain with the linear laser light L, and the reflected light L'reflected by these surfaces is photographed by the camera 5. It
Then, the image of the reflected light L ′ is captured by the image processing unit 6A.

【0012】一方側の側面について鍵山からの反射光
L’を撮影したら、回転機構12によって支持部材11
が180度回転されるので、他方側の側面について鍵山
の凹凸面2Eおよび平坦面2Dが形成する表面に向け
て、照射手段4からライン状のレーザ光Lが照射され
る。そして、これら表面からの反射光L’がカメラ5で
撮影されて画像処理部6Aに取り込まれる。画像処理部
6Aは、このようにして、カメラ5から画像データが伝
達されると、上述した処理によって、順次、鍵山の輪郭
線を認識し、判定部6Bは鍵山の輪郭線が認識される毎
に、これに基づいて鍵山の良否を判定し、その結果を出
力するようにしている。
When the reflected light L'from the key mountain is photographed on one side surface, the supporting member 11 is rotated by the rotating mechanism 12.
Is rotated by 180 degrees, the linear laser light L is emitted from the irradiation means 4 toward the surface formed by the uneven surface 2E and the flat surface 2D of the key mountain on the other side surface. Then, the reflected light L ′ from these surfaces is photographed by the camera 5 and taken into the image processing unit 6A. When the image data is thus transmitted from the camera 5, the image processing unit 6A sequentially recognizes the contour line of the key mountain by the above-described processing, and the determination unit 6B recognizes the contour line of the key mountain each time. Then, the quality of the key mountain is judged based on this, and the result is output.

【0013】以上のように、本実施例においては、ライ
ン状のレーザ光Lを、鍵山に沿ってその凹凸面2Eが形
成する表面に向けて、その長手方向全域にかけて一度に
照射して、鍵山の凹凸面2Eが形成する表面からの反射
光L’をカメラ5によって一度に撮影しているので検査
画像の取り込みに要する時間を短縮できる。また、線で
構成される検査画像を画像処理するようにしているの
で、従来と比較して、極めて短時間に鍵山の輪郭線を認
識して、鍵山の良否の判定を行なうことが出来る。さら
に、上述したように判定部6Bは、支持部材11に支持
した鍵2が僅かに傾斜していても、これを補正して判定
するので鍵2の高精度な位置決め手段を必要としない
で、鍵山の良否を正確に判定することが出来る。以上の
ように、上記実施例によれば、従来と比較して鍵2の検
査を短時間でかつ正確に行なうことが出来る検査方法と
検査装置を提供することができる。
As described above, in the present embodiment, the linear laser light L is radiated at one time over the entire area in the longitudinal direction toward the surface formed by the concave-convex surface 2E along the key mountain, and the key mountain is Since the reflected light L'from the surface formed by the uneven surface 2E is photographed at once by the camera 5, the time required to capture the inspection image can be shortened. Further, since the inspection image composed of lines is subjected to image processing, it is possible to recognize the contour line of the key mountain in an extremely short time as compared with the conventional method and judge the quality of the key mountain. Further, as described above, even if the key 2 supported by the support member 11 is slightly inclined, the determination unit 6B corrects the determination and does not need a highly accurate positioning means for the key 2, The quality of Kagiyama can be accurately determined. As described above, according to the above-described embodiment, it is possible to provide the inspection method and the inspection device that can inspect the key 2 in a short time and accurately as compared with the related art.

【0014】----(第2実施例) 次に、図5は本発明の第2実施例を示したものである。
この第2実施例においては、コンベヤ20によって所定
の検査位置Aに鍵2を間欠的に位置させるとともに、該
検査位置Aに停止した鍵2に向けてその両側から同時に
ライン状のレーザ光Lを照射して鍵2の検査を行なうよ
うに構成したものである。すなわち、コンベヤ20にお
ける長手方向等間隔位置に上記第1実施例と同様の支持
部材11を取り付けている。各支持部材11は、支持し
た鍵2の表裏面がコンベヤ20の移動方向を向くように
設けてあり、鍵2の側面に形成した鍵山の凹凸面2Eお
よび平坦面2Dがコンベヤ20の側方側を向くようにな
っている。
--- (Second Embodiment) Next, FIG. 5 shows a second embodiment of the present invention.
In the second embodiment, the key 2 is intermittently positioned at a predetermined inspection position A by the conveyor 20, and the linear laser light L is simultaneously directed from both sides toward the key 2 stopped at the inspection position A. It is configured to irradiate and inspect the key 2. That is, the support members 11 similar to those of the first embodiment are attached to the conveyor 20 at equal intervals in the longitudinal direction. Each support member 11 is provided so that the front and back surfaces of the supported key 2 face the moving direction of the conveyor 20, and the uneven surface 2E and the flat surface 2D of the key mountain formed on the side surface of the key 2 are on the side of the conveyor 20. To face.

【0015】コンベヤ20の移動過程における検査位置
Aには、コンベヤ20の両側方に上記第1実施例と同様
の照射手段4、4を配置するともに、それらの隣接位置
にカメラ5、5を配置している。コンベヤ20によって
支持部材11に支持された鍵2が検査位置Aに導入され
て停止すると、左右両側方の照射手段4、4から同時に
鍵2の鍵山の凹凸面2Eおよび平坦面2Dが形成する表
面に向けて、ライン状のレーザ光Lが照射されるように
なっている。そして、それら表面で反射された反射光
L’はカメラ5によって撮影されてその画像データが、
判定手段6に伝達されるようになっている。判定手段6
は上記第1実施例と同様に構成してあり、カメラ5で取
り込まれた反射光L’の画像をもとに画像処理部6Aが
左右両側面の鍵山の輪郭線を認識するとともに、その画
像処理部6Aが求めた鍵山の輪郭線に基づいて、判定部
6Bが鍵2の良否を判定して結果を出力するようにして
いる。
At the inspection position A in the moving process of the conveyor 20, the irradiation means 4 and 4 similar to those in the first embodiment are arranged on both sides of the conveyor 20, and the cameras 5 and 5 are arranged adjacent to them. is doing. When the key 2 supported by the support member 11 by the conveyor 20 is introduced to the inspection position A and stopped, the surface formed by the uneven surfaces 2E and the flat surface 2D of the key ridges of the key 2 from the irradiation means 4, 4 on both the left and right sides at the same time. The line-shaped laser light L is emitted toward the. Then, the reflected light L ′ reflected on those surfaces is photographed by the camera 5 and its image data is
It is transmitted to the determination means 6. Judgment means 6
Is configured similarly to the first embodiment, and the image processing section 6A recognizes the contour lines of the key mountains on the left and right side surfaces based on the image of the reflected light L ′ captured by the camera 5, and the image Based on the contour line of the key mountain obtained by the processing unit 6A, the determination unit 6B determines the quality of the key 2 and outputs the result.

【0016】このようにして、検査位置Aにおける鍵2
の検査が終了したら、コンベヤ20が所定量だけ走行さ
れて検査位置Aから検査済みの鍵2が移送される一方、
新たな鍵2が検査位置Aに導入されて検査される。この
ように構成される第2実施例においては、コンベヤ20
によって順次検査位置Aに鍵2を導入させて検査できる
ので検査作業の自動化を図ることができる。
In this way, the key 2 at the inspection position A is
When the inspection is completed, the conveyor 20 is moved by a predetermined amount to transfer the inspected key 2 from the inspection position A,
A new key 2 is introduced at the inspection position A and inspected. In the second embodiment configured as described above, the conveyor 20
Since the key 2 can be sequentially introduced into the inspection position A for inspection, the inspection work can be automated.

【0017】[0017]

【発明の効果】以上のように本発明によれば、従来と比
較して短時間で鍵の検査を行なうことができるという効
果が得られる。
As described above, according to the present invention, it is possible to obtain an effect that the key can be inspected in a shorter time than the conventional case.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1実施例を示す図2のI―I線に沿
う正面断面図
1 is a front sectional view taken along the line II of FIG. 2 showing a first embodiment of the present invention.

【図2】本発明の第1実施例を示す平面図FIG. 2 is a plan view showing a first embodiment of the present invention.

【図3】図1に示した鍵の斜視図FIG. 3 is a perspective view of the key shown in FIG.

【図4】図1に示した判定手段6による処理の一過程を
示す図
FIG. 4 is a diagram showing one process of a process by a judging means 6 shown in FIG.

【図5】本発明の第2実施例を示す平面図FIG. 5 is a plan view showing a second embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1…検査装置 2…鍵 2A…保持部 2B…基部 2C…鍵山 3…支持手段 4…照射手段 5…カメラ 6…判定手段 6A…画像処理部 6B…判定部 L…レーザ光 L’…反射光 1 ... Inspection device 2 ... Key 2A ... holding part 2B ... base part 2C ... Kagiyama 3 ... Supporting means 4 ... Irradiation means 5 ... Camera 6 ... Judgment means 6A ... Image processing unit 6B ... Judgment part L ... Laser light L '... reflected light

フロントページの続き Fターム(参考) 2F065 AA52 CC00 FF04 GG04 GG16 HH05 HH13 JJ03 JJ08 MM04 QQ31 UU01 UU02 2G051 AA90 AB02 AC21 BA10 CA04 CA07 CB01 DA08 EA12 ED08 ED21 Continued front page    F term (reference) 2F065 AA52 CC00 FF04 GG04 GG16                       HH05 HH13 JJ03 JJ08 MM04                       QQ31 UU01 UU02                 2G051 AA90 AB02 AC21 BA10 CA04                       CA07 CB01 DA08 EA12 ED08                       ED21

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 鍵の鍵山の凹凸面が形成する表面にライ
ン状のレーザ光を鍵山に沿って照射して、上記凹凸面が
形成する表面からの反射光に基づいて該鍵山の輪郭線を
認識することを特徴とする鍵の検査方法。
1. A linear laser beam is radiated on the surface formed by the uneven surface of the key mountain of the key along the key mountain, and the contour line of the key mountain is formed based on the light reflected from the surface formed by the uneven surface. A key inspection method characterized by recognition.
【請求項2】 上記鍵は上記鍵山の凹凸面に続く平坦面
を有し、この平坦面と上記凹凸面が形成する表面に同時
にライン状のレーザ光を照射して、上記平坦面からの反
射光を基準として鍵山の良否を判定することを特徴とす
る請求項1に記載の鍵の検査方法。
2. The key has a flat surface following the uneven surface of the key crest, and the surface formed by the flat surface and the uneven surface is simultaneously irradiated with a linear laser beam to reflect from the flat surface. The key inspection method according to claim 1, wherein the quality of the key mountain is determined based on light.
【請求項3】 鍵を支持する支持手段と、上記鍵におけ
る鍵山の凹凸面が形成する表面にライン状のレーザ光を
鍵山に沿って照射する照射手段と、上記凹凸面が形成す
る表面からの反射光を撮影するカメラと、このカメラで
撮影した反射光に基づいて上記鍵山の輪郭線を認識する
画像処理部と、この画像処理部が認識した鍵山の輪郭線
に基づいて鍵山の良否を判定する判定部とを備えること
を特徴とする鍵の検査装置。
3. A support means for supporting the key, an irradiating means for irradiating the surface formed by the uneven surface of the key mountain of the key with a linear laser beam along the key mountain, and a surface formed by the uneven surface. A camera that shoots reflected light, an image processing unit that recognizes the contour line of the key mountain based on the reflected light imaged by this camera, and a quality judgment of the key mountain based on the contour line of the key mountain recognized by this image processing unit A key inspection device, comprising:
JP2002158733A 2002-05-31 2002-05-31 Inspection method and device for key Withdrawn JP2003344296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002158733A JP2003344296A (en) 2002-05-31 2002-05-31 Inspection method and device for key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002158733A JP2003344296A (en) 2002-05-31 2002-05-31 Inspection method and device for key

Publications (1)

Publication Number Publication Date
JP2003344296A true JP2003344296A (en) 2003-12-03

Family

ID=29773812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002158733A Withdrawn JP2003344296A (en) 2002-05-31 2002-05-31 Inspection method and device for key

Country Status (1)

Country Link
JP (1) JP2003344296A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103453840A (en) * 2013-09-23 2013-12-18 董仲伟 Automatic detection method for lock core precision of cylinder lock
CN104990922A (en) * 2015-06-16 2015-10-21 卢兴中 Detection method and device for automobile key

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103453840A (en) * 2013-09-23 2013-12-18 董仲伟 Automatic detection method for lock core precision of cylinder lock
CN104990922A (en) * 2015-06-16 2015-10-21 卢兴中 Detection method and device for automobile key

Similar Documents

Publication Publication Date Title
JP5436431B2 (en) Method and apparatus for detecting unevenness of subject
US8233041B2 (en) Image processing device and image processing method for performing three dimensional measurements
TWI416065B (en) Apparatus and method for measuring three-dimensional shape of a wood block
EP2101144B1 (en) Concave-convex surface inspection apparatus
JP2003240521A (en) Method and apparatus for inspection of external appearance and shape of specimen
US20100289891A1 (en) Apparatus for inspecting object under inspection
JP3311135B2 (en) Inspection range recognition method
US20070285650A1 (en) Apparatus for determining the shape of a gemstone
JP2008241643A (en) Three-dimensional shape measuring device
JP2006220613A (en) Device for detecting welded position
KR20200014532A (en) An Apparatus and Method for Inspecting Surface Defect using Image Sensor
JP2010190886A (en) Pantograph height measuring device and calibration method therefor
JP2007093412A (en) Three-dimensional shape measuring device
JP3870494B2 (en) Surface defect inspection equipment
KR20150071228A (en) Apparatus of inspecting glass of three dimensional shape
JP4191295B2 (en) Semiconductor package inspection equipment
JP3817640B1 (en) 3D shape measurement system
JP5042503B2 (en) Defect detection method
JP2003344296A (en) Inspection method and device for key
JP2002328008A (en) Method and system for measuring dimensions
JP5280918B2 (en) Shape measuring device
JP2009168615A (en) Visual inspection apparatus and visual inspection method
JP4741943B2 (en) Inspection apparatus and inspection method
JPH01227910A (en) Optical inspection device
JP2996063B2 (en) Automatic inspection system for painted surface clarity

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050802