JP2725093B2 - Model number reading method - Google Patents
Model number reading methodInfo
- Publication number
- JP2725093B2 JP2725093B2 JP3204671A JP20467191A JP2725093B2 JP 2725093 B2 JP2725093 B2 JP 2725093B2 JP 3204671 A JP3204671 A JP 3204671A JP 20467191 A JP20467191 A JP 20467191A JP 2725093 B2 JP2725093 B2 JP 2725093B2
- Authority
- JP
- Japan
- Prior art keywords
- bit
- model number
- reading
- code
- bottle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 12
- 238000007689 inspection Methods 0.000 claims description 10
- 238000003384 imaging method Methods 0.000 claims description 7
- 230000007547 defect Effects 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 238000000465 moulding Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
Description
【0001】[0001]
【産業上の利用分野】本発明は瓶底に刻設された2進符
号の型番を読み取る型番読取方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for reading a model number of a binary code engraved on the bottom of a bottle .
【0002】従来、ガラス瓶は検査工程において全数検
査され、ガラス瓶の欠陥発生数を自動集計して特定の欠
陥が頻発する場合には直接検査員が多発する欠陥瓶の型
番を調べ、その型番の金型に異常があると判断すれば人
手によってその金型を排除するため作業能率が悪いとい
う問題があった。そこで瓶底に2進符号の型番を刻設し
ておき、その2進符号を読み取って金型の異常を検出す
るという方法も提案されているが、型番の読取装置と型
番を刻設した瓶の中心が一致しない場合や瓶に成形歪み
があると2進符号の読み取り不良や読み取りミスを起し
やすいという問題があった。Conventionally, all glass bottles are inspected in an inspection process, and the number of occurrences of defects in the glass bottles is automatically totaled. If a specific defect frequently occurs, an inspector directly examines the model number of the defective bottle that frequently occurs, and the gold of the model number If the mold is judged to be abnormal, there is a problem that the work efficiency is poor because the mold is manually removed. Therefore, a method of engraving a binary code model number on the bottom of the bottle and detecting the abnormality of the mold by reading the binary code has been proposed. However, a model number reading device and a bottle engraved with the model number have been proposed. If the centers of the two do not match, or if there is a molding distortion in the bottle, there is a problem that a reading error or a reading error of a binary code is likely to occur.
【0003】[0003]
【発明が解決しようとする課題】本発明は瓶底に刻設さ
れた2進符号の型番の読み取り不良や読み取りミスを解
消して型番を正確に読み取ることができる型番読取方法
を提供するものである。DISCLOSURE OF THE INVENTION The present invention relates to a method in which
An object of the present invention is to provide a model number reading method capable of accurately reading a model number by eliminating a reading error or a reading error of a model number of a binary code .
【0004】[0004]
【課題を解決するための手段】上記の課題を解決するた
めになされた本発明は、撮像装置により撮像された撮像
データを複数個に分割して検査画素として取り込み、瓶
底に円状に刻設配置され2進符号化された符号ビットで
ある型番を読み取るようにした型番読取方法であって、
型番を撮像して得た画像上に円状の検査画素を設定する
工程と、該検査画素を2値化処理して輝点パターンと
し、この輝点パターンより暗点、明点の並びからスター
ト画素を識別する工程と、前記瓶底に刻設された2進符
号である符号ビットのうちスタートビット、基準ビッ
ト、パリティビット等を除いた符号ビットのみを読み取
ったうえパリティチェックを行い、パリティチェックが
否であればパリティチェックが正となるよう前記スター
ト画素の基準点を円上に左回転または右回転のいずれか
に1画素ずつシフトして符号ビットの再読取を行う工程
からなることを特徴とするものである。Means for Solving the Problems] The present invention has been made in order to solve the aforementioned problem, an imaging taken by the imaging device
Divide the data into multiple parts and import them as test pixels,
It is a code bit that is engraved in a circle at the bottom and is binary encoded.
A model number reading method for reading a certain model number ,
Setting a circular inspection pixel on the image obtained by capturing the model number; and binarizing the inspection pixel into a bright spot pattern, starting with a sequence of dark spots and bright spots based on the bright spot pattern. Identifying a pixel, and a binary mark engraved on the bottom of the bottle
Start bit and reference bit
And the parity check is performed by reading only the code bits excluding the parity bit , and if the parity check is not performed, the reference point of the start pixel is rotated left or right on the circle so that the parity check becomes positive. And re-reading the code bit by shifting one pixel at a time.
【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 embodiment. Reference numeral 1 denotes a holding table for the bottle W provided on the inspection line. The holding table 1 has an opening 2 for exposing a bottle bottom engraved with a model number consisting of a binary code.
Reference numeral 3 denotes an image pickup device provided below the opening 2, and reference numeral 4 denotes an annular light source provided around the image pickup device 3 for illuminating a bottle bottom. The annular light source 4 includes a large number of LEDs arranged in a ring shape.
A plurality of light-emitting elements 5 are arranged on a concentric circle, and each ring-shaped LED light-emitting element 5 can be turned on in each row according to the bottle bottom.
【0006】6は撮像装置3によって撮像された撮像デ
ータを取り込んで識別する読取装置であり、該読取装置
6は瓶の底面の円周を16等分した位置に形成された2
進符号の撮像データを128のウインドウ20に分割し
検査画素として取り込んだうえ2値化処理し、2値化さ
れた各ウインドウ20上の輝点データの配列パターンか
ら0が4ビット以上並ぶスタートビットを示すスタート
画素となるスタートビットウインドウを選びだす。そし
てスタートビット、基準ビット、パリティビット等を除
いた符号ビットのみを読み取ったうえパリティチェック
を行う。このときパリティチェックが否の場合にはスタ
ート画素であるスタートビットウインドウを円上に左回
転または右回転のいずれかに1つずつシフトして再度符
号ビットの読み取りを行ったうえ再度パリティチェック
を行うものである。Reference numeral 6 designates a reading device for reading and identifying the image data picked up by the image pick-up device 3. The reading device 6 is formed at a position obtained by dividing the circumference of the bottom of the bottle into 16 equal parts.
Coded image data is divided into 128 windows 20, fetched as test pixels, binarized, and a start bit in which 0 or more 4 bits are arranged from the array pattern of bright spot data on each binarized window 20 Is selected as a start bit window to be a start pixel. Then, the parity check is performed after reading only the code bits excluding the start bit, the reference bit, the parity bit, and the like. At this time, if the parity check is not possible, the start bit window, which is the start pixel, is shifted one by one to the left or right on the circle, the code bit is read again, and the parity check is performed again. Things.
【0007】図3は瓶底に刻設される2進符号であるビ
ットを示すもので、仮想的に16等分割される円周上に
型番を表す符号ビット14と、スタートビット9と、基
準ビット10、11と、パリティチェックを行うパリテ
ィビット12とを形成したものであり、スタートビット
9とパリティビット12間をビットが刻設されない4ビ
ットの「0」符号領域13としてある。なおその他の領
域には少なくとも4ビット目に基準ビットが表れるの
で、スタートビット9を確実に把握することができる。
またパリティビット12は符号ビット14の「1」符号
が必ず奇数個となるように付されるものである。FIG. 3 shows a binary code engraved on the bottle bottom.
Indicates the Tsu bets, the sign bit 14 representing the model number on the circumference which is virtually divided 16, etc., a start bit 9, the reference bit 10, 11, to form a parity bit 12 for a parity check The space between the start bit 9 and the parity bit 12 is a 4-bit “0” code area 13 in which no bit is engraved. Since the reference bit appears at least as the fourth bit in other areas, the start bit 9 can be grasped without fail.
The parity bit 12 is added so that the number of “1” codes of the code bit 14 is always an odd number.
【0008】なお、実施装置では撮像装置3は瓶底側の
下方から型番を撮像するようにしているが、瓶底を透過
してくる型番の像を瓶口側の上方から撮像してもよいこ
とは勿論である。In the embodiment, the image pickup device 3 picks up the model number from below the bottle bottom, but may pick up the image of the model passing through the bottle bottom from above the bottle mouth. Of course.
【0009】[0009]
【作用】このように構成されたものは、瓶Wが保持台1
上に移載されると環状光源4の照明下に2進符号の型番
は撮像装置3によって撮像される。撮像された16ビッ
トの型番の撮像データは読取装置6のウインドウ20に
よって128に分割され検査画素として取り込まれたう
え2値化される。ウインドウ20上の2値化された撮像
データの輝点パターンの間隔を時計回りに順次調べ、ス
タートビット9とパリティビット12間にある4ビット
の「0」符号領域13と3ビットの符号領域8とを識別
してスタートビット9のあるスタート画素となるスター
トビットウインドウを判別する。With the above-described structure, the bottle W is mounted on the holding table 1.
When it is moved upward, the model number of the binary code is imaged by the imaging device 3 under the illumination of the annular light source 4. The captured image data of the 16-bit model number is divided into 128 by the window 20 of the reading device 6, captured as inspection pixels, and binarized. The interval between the bright spot patterns of the binarized imaging data on the window 20 is sequentially checked clockwise, and the 4-bit “0” code area 13 and the 3-bit code area 8 between the start bit 9 and the parity bit 12 are checked. And a start bit window serving as a start pixel having the start bit 9 is determined.
【0010】そしてスタートビットウインドウより輝点
を読み取ってスタートビット9から4ビット目にでてく
る基準ビット10と該基準ビット10から4ビット目に
でてくる基準ビット11と該基準ビット11から3ビッ
ト目にでてくるパリティビット12を除いた符号ビット
14のみを読み取って型番を検出する。そして型番の符
号ビット14のパリティチェックを行い読み取った型番
が正確かどうかチェックする。Then, a bright point is read from the start bit window, and a reference bit 10 appearing at the fourth bit from the start bit 9, a reference bit 11 appearing at the fourth bit from the reference bit 10, and a reference bit 11 appearing at the fourth bit. 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 the parity check is rejected due to the displacement of the luminescent spot pattern due to the molding distortion of the bottle W, the start bit window, which is the start pixel, is circled. After shifting upward one by one to either the left rotation or the right rotation, the code bit 14 is read again, and when the parity check becomes positive, the reading is completed.
【0012】[0012]
【発明の効果】本発明は前記説明によって明らかなよう
に、型番を撮像して得た画像上に円状の検査画素を設定
したうえ、該検査画素を2値化処理して輝点パターンと
し、この輝点パターンより暗点、明点の並びからスター
ト画素を識別することにより、瓶と撮像装置との位置ず
れや瓶の成形歪みにより生じる輝点パターンのずれをス
タート画素であるスタートビットウインドウを円上に左
回転または右回転のいずれかに1つずつシフトして再読
み取りするため、符号ビットの読取不良や読取ミスなく
正確に型番を読み取ることができるものであり、従来の
問題を解決した型番読取方法として業界の発展に寄与す
るところ極めて大なものである。As is clear from the above description, the present invention sets a circular inspection pixel on an image obtained by imaging a model number, and binarizes the inspection pixel to form a bright spot pattern. By identifying the start pixel from the arrangement of dark spots and bright spots from the bright spot pattern, the shift of the bright spot pattern caused by the positional shift between the bottle and the imaging device or the bottle distortion due to the forming distortion of the bottle is determined by the start bit window which is the start pixel. Is shifted one by one to the left or right on the circle and read again, so that the model number can be read accurately without code bit reading errors or reading errors. This method is extremely large in that it contributes to the development of the industry as a model number reading method.
【図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 a binary code of a 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 Sign bit 20 Window
Claims (1)
複数個に分割して検査画素として取り込み、瓶底に円状
に刻設配置され2進符号化された符号ビットである型番
を読み取るようにした型番読取方法であって、型番を撮
像して得た画像上に円状の検査画素を設定する工程と、
該検査画素を2値化処理して輝点パターンとし、この輝
点パターンより暗点、明点の並びからスタート画素を識
別する工程と、前記瓶底に刻設された2進符号である符
号ビットのうちスタートビット、基準ビット、パリティ
ビット等を除いた符号ビットのみを読み取ったうえパリ
ティチェックを行い、パリティチェックが否であればパ
リティチェックが正となるよう前記スタート画素の基準
点を円上に左回転または右回転のいずれかに1画素ずつ
シフトして符号ビットの再読取を行う工程からなること
を特徴とする型番読取方法。1. An image pickup apparatus according to claim 1, further comprising:
Divided into multiple pieces and taken in as inspection pixels, circular on the bottom of the bottle
Is a code bit that is engraved and binary encoded
A method for reading a model number, a step of setting a circular inspection pixel on an image obtained by imaging the model number,
A process of binarizing the inspection pixel into a bright spot pattern, identifying a start pixel from a sequence of dark spots and bright spots based on the bright spot pattern, and a code being a binary code engraved on the bottom of the bottle;
Start bit, reference bit, parity
The parity check is performed by reading only the code bits excluding the bits and the like.If the parity check is not performed, the reference point of the start pixel is rotated leftward or rightward on a circle so that the parity check is positive. A method of reading a model number, comprising a step of re-reading a code bit by shifting one pixel at a time.
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 JPH08190602A (en) | 1996-07-23 |
JP2725093B2 true 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) |
Family Cites Families (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
Also Published As
Publication number | Publication date |
---|---|
JPH08190602A (en) | 1996-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1560017B1 (en) | Glass bottle inspection device | |
JP2725093B2 (en) | Model number reading method | |
US6028302A (en) | Transparent container relief indiciae scanning system | |
JPS61278740A (en) | Bottle inspecting device | |
JP3757755B2 (en) | Defect detection method and defect detection device for protrusions of articles formed with protrusions having the same shape at a predetermined pitch along an arc | |
JP2004279236A (en) | Appearance inspection device and method | |
JP2657892B2 (en) | Mold number reader | |
JPS60144884A (en) | Detecting method of printed letter | |
JP2012150072A (en) | Checkup of inscription on mouth of transparent container | |
JP2757800B2 (en) | Projection inspection device | |
JP2000055820A (en) | Optical recognition method and device of product | |
JP3130548B2 (en) | Image processing device | |
JPH0750497B2 (en) | Light source for model number reader | |
JP6073261B2 (en) | Bottle bottom inspection device | |
JPH0483107A (en) | Apparatus for inspecting wiring pattern | |
JP2940821B1 (en) | Barcode reading method and barcode reader | |
JP2005223006A (en) | Inspection method of cream solder print | |
JP5257224B2 (en) | Article inspection method | |
JP2839411B2 (en) | Inspection device for defective IC | |
JPH05108799A (en) | Wiring pattern inspection device | |
JP2948953B2 (en) | Image processing device | |
JPS5821107A (en) | Inspecting device for pattern | |
JPH0341577A (en) | Discriminating method for circular body | |
JPS6027064B2 (en) | Label front and back inspection device | |
JP3980025B2 (en) | Molded article inspection apparatus and molded article inspection method |
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 |