JPH08190602A - Mold number reading method - Google Patents
Mold number reading methodInfo
- Publication number
- JPH08190602A JPH08190602A JP3204671A JP20467191A JPH08190602A JP H08190602 A JPH08190602 A JP H08190602A JP 3204671 A JP3204671 A JP 3204671A JP 20467191 A JP20467191 A JP 20467191A JP H08190602 A JPH08190602 A JP H08190602A
- Authority
- JP
- Japan
- Prior art keywords
- bit
- window
- code
- model number
- start bit
- 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.)
- Granted
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は壜底に刻設された2進符
号の型番を読み取る型番読取方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a model number reading method for reading a binary code model number engraved on a bottle bottom.
【0002】従来、ガラス瓶は検査工程において全数検
査され、ガラス瓶の欠陥発生数を自動集計して特定の欠
陥が頻発する場合には直接検査員が多発する欠陥瓶の型
番を調べ、その型番の金型に異常があると判断すれば人
手によってその金型を排除するため作業能率が悪いとい
う問題があった。そこで瓶底に2進符号の型番を刻設し
ておき、その2進符号を読み取って金型の異常を検出す
るという方法も提案されているが、型番の読取装置と型
番を刻設した瓶の中心が一致しない場合や瓶に成形歪み
があると2進符号の読み取り不良や読み取りミスを起し
やすいという問題があった。[0002] Conventionally, all glass bottles are inspected in an inspection process, and when the number of occurrences of defects in the glass bottles is automatically totaled, the number of defective bottles frequently inspected directly by an inspector when a specific defect frequently occurs is determined. If it is judged that the mold is abnormal, the work efficiency is poor because the mold is manually removed. Therefore, a method has been proposed in which a binary code model number is engraved on the bottom of the bottle and the binary code is read to detect an abnormality in the mold, but a reading device for the model number and a bottle engraved with the model number have been proposed. If the centers of the two do not match or if there is molding distortion in the bottle, there is a problem in that a binary code reading failure or reading error is likely to occur.
【0003】[0003]
【発明が解決しようとする課題】本発明は型番の2進符
号の読み取り不良や読み取りミスを解消して型番を正確
に読み取ることができる型番読取方法を提供するもので
ある。SUMMARY OF THE INVENTION The present invention provides a model number reading method capable of accurately reading a model number by eliminating a reading failure or a reading error of a binary code of a model number.
【0004】[0004]
【課題を解決するための手段】上記の課題を解決するた
めになされた本発明は、等分割される円周上に形成され
た2進符号よりなる型番の撮像データを2進符号の間隔
よりも細密に分割して読取装置のウインドウに取り込
み、該ウインドウ内の撮像データを2値化処理して輝点
パターンとし、該輝点パターンよりスタートビットウイ
ンドウを識別して各ウインドウ上の符号ビットのみを読
み取ったうえ、符号ビットのパリティチェックを行いパ
リティチェックが否であれば、パリティチェックが正と
なるようスタートビットウインドウを左右いずれかに1
ずつシフトして符号ビットの再読取を行うことを特徴と
するものである。SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems. In the present invention, imaging data of a model number consisting of binary codes formed on a circle that is equally divided is obtained from the intervals of the binary codes. Is also finely divided and captured in the window of the reading device, the image pickup data in the window is binarized to form a bright spot pattern, the start bit window is identified from the bright spot pattern, and only the code bit on each window is identified. Read, and if the parity check of the sign bit is negative, the start bit window is set to either left or right so that the parity check is positive.
It is characterized in that the code bit is read again by shifting each.
【0005】[0005]
【実施例】以下、本発明を図示の実施装置に基づいて詳
細に説明する。1は検査ラインに設けられる瓶Wの保持
台であり、該保持台1には2進符号よりなる型番を刻設
した瓶底を露呈させるための開口2が透設されている。
3は前記開口2の下方に設けられる撮像装置、4は撮像
装置3を囲んで設けられる瓶底照明用の環状光源であ
り、該環状光源4はリング状に配設された多数のLED
発光素子5を同心円上に複数配列したものであり、各リ
ング状のLED発光素子5は瓶底に応じて各列別に点灯
できるようになっている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the illustrated apparatus. Reference numeral 1 is a holder for a bottle W provided on an inspection line, and the holder 1 is provided with an opening 2 for exposing the bottom of a bottle in which a model number of a binary code is engraved.
Reference numeral 3 denotes an image pickup device provided below the opening 2, and 4 denotes an annular light source for illuminating a bottle bottom, which is provided so as to surround the image pickup device 3, and the annular light source 4 has a large number of LEDs arranged in a ring shape.
A plurality of light emitting elements 5 are arranged concentrically, and each ring-shaped LED light emitting element 5 can be turned on for each column according to the bottle bottom.
【0006】6は撮像装置3によって撮像された撮像デ
ータを取り込んで識別する読取装置であり、該読取装置
6は瓶の底面の円周を16等分した位置に形成された2
進符号の撮像データを128のウインドウ20に分割し
て取り込んだうえ2値化処理し、2値化された各ウイン
ドウ20上の輝点データの配列パターンから0が4ビッ
ト以上並ぶスタートビットを示すスタートビットウイン
ドウを選びだす。そしてスタートビット、基準ビット、
パリティビット等を除いた符号ビットのみを読み取った
うえパリティチェックを行う。このときパリティチェッ
クが否の場合にはスタートビットウインドウを左右いず
れかに1つずつシフトして再度符号ビットの読み取りを
行ったうえ再度パリティチェックを行うものである。Reference numeral 6 denotes a reading device for taking in and identifying the image data taken by the image pickup device 3. The reading device 6 is formed at a position where the circumference of the bottom surface of the bottle is divided into 16 equal parts.
The image data of the binary code is divided into 128 windows 20 and captured, and then binarized to indicate a start bit in which 4 or more bits of 0 are arranged from the array pattern of the bright spot data on each binarized window 20. Select the start bit window. And the start bit, the reference bit,
The parity check is performed after reading only the code bits excluding the parity bit and the like. At this time, if the parity check is negative, the start bit window is shifted to the left or right by one, the code bit is read again, and the parity check is performed again.
【0007】図3は瓶底に刻設される2進符号を示すも
ので、仮想的に16等分割される円周上に型番を表す符
号ビット14と、スタートビット9と、基準ビット1
0、11と、パリティチェックを行うパリティビット1
2とを形成したものであり、スタートビット9とパリテ
ィビット12間をビットが刻設されない4ビットの
「0」符号領域13としてある。なおその他の領域には
少なくとも4ビット目に基準ビットが表れるので、スタ
ートビット9を確実に把握することができる。またパリ
ティビット12は符号ビット14の「1」符号が必ず奇
数個となるように付されるものである。FIG. 3 shows a binary code engraved on the bottom of the bottle. A code bit 14 representing the model number, a start bit 9, and a reference bit 1 are shown on a circle virtually divided into 16 equal parts.
0, 11 and parity bit 1 for parity check
2 are formed, and a space between the start bit 9 and the parity bit 12 is a 4-bit “0” code area 13 in which no bit is formed. Since the reference bit appears at least at the 4th bit in the other areas, the start bit 9 can be reliably grasped. The parity bit 12 is added so that the "1" code of the code bit 14 is always an odd number.
【0008】なお、実施装置では撮像装置3は瓶底側の
下方から型番を撮像するようにしているが、瓶底を透過
してくる型番の像を瓶口側の上方から撮像してもよいこ
とは勿論である。In the embodying apparatus, the image pickup device 3 picks up the model number from below the bottle bottom side. However, the image of the model number transmitted through the bottle bottom may be picked up from above the bottle mouth side. Of course.
【0009】[0009]
【作用】このように構成されたものは、瓶Wが保持台1
上に移載されると環状光源4の照明下に2進符号の型番
は撮像装置3によって撮像される。撮像された16ビッ
トの型番の撮像データは読取装置6のウインドウ20に
よって128に分割されて取り込まれたうえ2値化され
る。ウインドウ20上の2値化された撮像データの輝点
パターンの間隔を時計回りに順次調べ、スタートビット
9とパリティビット12間にある4ビットの「0」符号
領域13と3ビットの符号領域8とを識別してスタート
ビット9のあるスタートビットウインドウを判別する。In this structure, the bottle W has the holder 1
When it is transferred onto the upper side, the model number of the binary code is imaged by the imaging device 3 under the illumination of the annular light source 4. The imaged image data of the 16-bit model number that has been imaged is divided into 128 by the window 20 of the reading device 6 and taken in, and then binarized. The intervals of the bright spot patterns of the binarized imaged data on the window 20 are sequentially examined clockwise, and a 4-bit “0” code area 13 and a 3-bit code area 8 between the start bit 9 and the parity bit 12 are checked. To identify the start bit window having the start bit 9.
【0010】そしてスタートビットウインドウより輝点
を読み取ってスタートビット9から4ビット目にでてく
る基準ビット10と該基準ビット10から4ビット目に
でてくる基準ビット11と該基準ビット11から3ビッ
ト目にでてくるパリティビット12を除いた符号ビット
14のみを読み取って型番を検出する。そして型番の符
号ビット14のパリティチェックを行い読み取った型番
が正確かどうかチェックする。Then, the bright spot is read from the start bit window and the reference bit 10 appearing at the 4th bit from the start bit 9, the reference bit 11 appearing at the 4th bit from the reference bit 10 and the reference bits 11 through 3 are read. Only the code bit 14 excluding the parity bit 12 appearing at the bit position is read to detect the model number. Then, the parity check of the code bit 14 of the model number is performed to check whether the read model number is correct.
【0011】もし瓶Wが撮像装置3の中心からずれてい
たり、瓶Wの成形歪みよる輝点パターンのずれ等によっ
てパリティチェックが否となった場合には、スタートビ
ットウインドウを左右いずれかに1つずつシフトしたう
え符号ビット14の再読取を行い、パリティチェックが
正となったら読み取りを完了するものである。If the bottle W is displaced from the center of the image pickup device 3 or if the parity check fails due to the shift of the bright spot pattern due to the molding distortion of the bottle W, the start bit window is set to 1 on either side. The code bit 14 is read again by shifting each one, and the reading is completed when the parity check becomes positive.
【0012】[0012]
【発明の効果】本発明は前記説明によって明らかなよう
に、撮像データを型番の2進符号ビット総数よりも細密
に分割した読取装置のウインドウに取り込むことによ
り、瓶と撮像装置との位置ずれや瓶の成形歪みにより生
じる輝点パターンのずれをスタートビットウインドウを
左右に1ずつシフトして再読み取りするため、符号ビッ
トの読取不良や読取ミスなく正確に型番を読み取ること
ができるものであり、従来の問題を解決した型番読取方
法として業界の発展に寄与するところ極めて大なもので
ある。As is apparent from the above description, the present invention takes in the image pickup data into the window of the reading device which is divided more finely than the total number of binary code bits of the model number, and thereby the positional deviation between the bottle and the image pickup device is prevented. Since the shift of the bright spot pattern caused by the molding distortion of the bottle is read again by shifting the start bit window by 1 to the left and right, the model number can be accurately read without a reading failure or reading error of the code bit. This is a very large method that contributes to the development of the industry as a model number reading method that solves the above problem.
【図1】本発明の実施装置を示す正面図である。FIG. 1 is a front view showing an embodiment of the present invention.
【図2】環状光源の平面図である。FIG. 2 is a plan view of an annular light source.
【図3】瓶底に刻設される型番の2進符号を示す底面図
である。FIG. 3 is a bottom view showing the binary code of the model number engraved on the bottom of the bottle.
6 読取装置 9 スタートビット 10 基準ビット 11 基準ビット 12 パリティビット 14 符号ビット 20 ウインドウ 6 Reader 9 Start Bit 10 Reference Bit 11 Reference Bit 12 Parity Bit 14 Code Bit 20 Window
Claims (1)
号よりなる型番の撮像データを2進符号の間隔よりも細
密に分割して読取装置のウインドウに取り込み、該ウイ
ンドウ内の撮像データを2値化処理して輝点パターンと
し、該輝点パターンよりスタートビットウインドウを識
別して各ウインドウ上の符号ビットのみを読み取ったう
え、符号ビットのパリティチェックを行いパリティチェ
ックが否であれば、パリティチェックが正となるようス
タートビットウインドウを左右いずれかに1ずつシフト
して符号ビットの再読取を行うことを特徴とする型番読
取方法。1. Image pickup data of a model number consisting of a binary code formed on a circle that is equally divided is finely divided into smaller intervals than a binary code interval, and is taken into a window of a reading device, and image pickup is performed in the window. The data is binarized to form a bright spot pattern, the start bit window is identified from the bright spot pattern, only the code bit on each window is read, and the parity check of the code bit is performed. For example, the model number reading method is characterized in that the start bit window is shifted to the left or right by one so that the parity check is positive, and the code bit is read again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3204671A JP2725093B2 (en) | 1991-07-19 | 1991-07-19 | Model number reading method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3204671A JP2725093B2 (en) | 1991-07-19 | 1991-07-19 | Model number reading method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH08190602A true JPH08190602A (en) | 1996-07-23 |
JP2725093B2 JP2725093B2 (en) | 1998-03-09 |
Family
ID=16494368
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3204671A Expired - Fee Related JP2725093B2 (en) | 1991-07-19 | 1991-07-19 | Model number reading method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2725093B2 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61278990A (en) * | 1985-06-04 | 1986-12-09 | Yamamura Glass Kk | Code reader |
-
1991
- 1991-07-19 JP JP3204671A patent/JP2725093B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61278990A (en) * | 1985-06-04 | 1986-12-09 | Yamamura Glass Kk | Code reader |
Also Published As
Publication number | Publication date |
---|---|
JP2725093B2 (en) | 1998-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1560017B1 (en) | Glass bottle inspection device | |
JPS62184908A (en) | Automatic discriminating method of tire | |
WO1999026052A3 (en) | Automatic lens inspection system | |
WO2004036198A1 (en) | Method and device for preparing reference image in glass bottle inspection device | |
GB2297214A (en) | Apparatus for detecting defects on the bottom of bottles by manipulating an image to remove knurls | |
US6028302A (en) | Transparent container relief indiciae scanning system | |
JP2725093B2 (en) | Model number reading method | |
JPS61278740A (en) | Bottle inspecting device | |
JP2006510934A (en) | Contact lens manufacturing method | |
JPS60144884A (en) | Detecting method of printed letter | |
JP2022096093A (en) | Appearance surface image inspection system and image inspection method | |
JP2504637B2 (en) | Cream solder arrangement status identification device | |
JPH0750497B2 (en) | Light source for model number reader | |
JP2004279236A (en) | Appearance inspection device and method | |
JPS61120907A (en) | Hole inspection of printed-circuit board | |
JPS6232345A (en) | Defect detecting device | |
JPH0634575A (en) | Bottle inspection method | |
JP3130548B2 (en) | Image processing device | |
JP3568414B2 (en) | Appearance inspection device and appearance inspection method | |
JPH08219943A (en) | Defect inspection apparatus for color filter | |
JPS6269599A (en) | Placed article inspecting device | |
JP3980025B2 (en) | Molded article inspection apparatus and molded article inspection method | |
JP5257224B2 (en) | Article inspection method | |
JPH0341577A (en) | Discriminating method for circular body | |
JPS5876975A (en) | Automatic check device for position of parts |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19971014 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071205 Year of fee payment: 10 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081205 Year of fee payment: 11 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091205 Year of fee payment: 12 |
|
LAPS | Cancellation because of no payment of annual fees |