JP2004077495A - Visual inspection device - Google Patents
Visual inspection device Download PDFInfo
- Publication number
- JP2004077495A JP2004077495A JP2003360343A JP2003360343A JP2004077495A JP 2004077495 A JP2004077495 A JP 2004077495A JP 2003360343 A JP2003360343 A JP 2003360343A JP 2003360343 A JP2003360343 A JP 2003360343A JP 2004077495 A JP2004077495 A JP 2004077495A
- Authority
- JP
- Japan
- Prior art keywords
- tablet
- image data
- visual inspection
- infrared light
- brightness
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/95—Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
- G01N21/9508—Capsules; Tablets
Landscapes
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Abstract
Description
本発明は、外観検査装置を含む技術分野に属するものである。 The present invention belongs to the technical field including a visual inspection device.
一般に、PTPシートは、錠剤の投入されるポケット部が形成されてなる通常透明性を有した包装用フィルムと、その包装用フィルムにポケット部の開口側を密封するように取着されるカバーフィルムとによって構成されている。前記包装用フィルムに対しカバーフィルムを取着する前段階において、ポケット部に固形製剤やカプセル等の錠剤が投入される。製品を区別する等のために、錠剤には捺印が施され、カバーフィルムには印刷が施されている。 In general, a PTP sheet has a normally transparent packaging film in which a pocket into which a tablet is inserted is formed, and a cover film attached to the packaging film so as to seal the opening side of the pocket. And is constituted by. Before the cover film is attached to the packaging film, tablets such as solid preparations and capsules are put into the pockets. Tablets are stamped, and cover films are printed to distinguish products.
上記PTPシートの製造に際しては、錠剤のひびや欠け、あるいは異物が付着する等により製造された不良品の有無を検査するといった外観検査を行う必要があり、かかる検査に際しては外観検査装置が用いられる。すなわち、この種の外観検査装置では、照明手段によって錠剤に可視光を照射し、その反射光を撮像手段により撮像する。この撮像手段から出力される映像信号は、画像処理装置によって、所定の閾値をもって二値化される。ここで、例えば白い錠剤を撮像した場合について説明すると、錠剤表面は明るく映り、背景のカバーフィルム及び異物が存在する部分は暗く映る。そして、これらの明度の相違を考慮して前記閾値を設定することで、背景物と、錠剤とを区別して認識すると共に、暗い部分であるひびや欠けの有無あるいは異物の存在を前記画像処理装置によって判断することができる。 When manufacturing the PTP sheet, it is necessary to perform an appearance inspection such as inspecting the presence or absence of defective products produced due to cracks, chips, or foreign substances attached to the tablet, and an appearance inspection device is used for such inspection. . That is, in this type of visual inspection device, the tablet is irradiated with visible light by the illumination means, and the reflected light is imaged by the imaging means. The video signal output from the imaging means is binarized by the image processing device at a predetermined threshold. Here, for example, when a white tablet is imaged, the surface of the tablet appears bright, and the portion where the cover film and the foreign matter are present in the background appears dark. By setting the threshold value in consideration of the difference in brightness, the background object and the tablet are distinguished and recognized, and the presence or absence of cracks or chips, or the presence of foreign matter, which is a dark part, is determined by the image processing apparatus. Can be determined by:
ところで、上記技術では、捺印、印刷等の識別情報を異物や、錠剤のひびや欠けと区別するために、画像処理装置によって捺印や印刷の領域にマスク処理を施したり、捺印や印刷の面積値による特徴抽出を行ったりして、検査を実施している。しかしながら、当該検査では、マスクされた範囲や、捺印や印刷の領域内に異物等がある場合には、かかる異物等の検出が困難となってしまう。 By the way, in the above-mentioned technology, in order to distinguish identification information such as stamping and printing from foreign matter and cracks or chipping of tablets, a masking process is applied to an area of stamping or printing by an image processing device, or an area value of stamping or printing is used. Inspections are performed by extracting features by using However, in the inspection, when there is a foreign substance or the like in the masked area or the area of stamping or printing, it becomes difficult to detect the foreign substance or the like.
また、錠剤の傾きにより捺印の見え方や位置が異なったり、捺印及び印刷自体の位置や色の精度にばらつきがあったりすると、正確な判断ができないという不具合がある。 す る と In addition, if the appearance or position of the seal differs due to the inclination of the tablet, or if the position or color accuracy of the seal and printing itself varies, there is a problem that accurate judgment cannot be made.
さらに、錠剤とカバーフィルムとの明度のコントラストが、品種により様々であるため、品種毎に照明手段の照明の色調を変更したり、カラーフィルタを設けたりして、コントラストが大きくなるように設定する必要があり、光学系の設定に手間がかかるおそれがある。 Further, since the brightness contrast between the tablet and the cover film varies depending on the product type, the color tone of the illumination means is changed for each product type, or a color filter is provided, so that the contrast is set to be large. And the setting of the optical system may be troublesome.
本発明は、上記事情に鑑みてなされたものであり、検査精度の向上及び光学系の設定の簡易化を図ることのできる外観検査装置を提供することを主たる目的としている。 The present invention has been made in view of the above circumstances, and a main object of the present invention is to provide a visual inspection apparatus capable of improving inspection accuracy and simplifying setting of an optical system.
上記目的を達成し得る特徴的手段について以下に説明する。また、各手段につき、特徴的な作用及び効果を必要に応じて記載する。 特 徴 The characteristic means that can achieve the above object will be described below. In addition, characteristic actions and effects of each means will be described as necessary.
手段1.錠剤の外観検査装置であって、少なくとも前記錠剤に対して赤外光を含む光を照射する照明手段と、赤外光に感度を有し、前記照明手段により照射された面を撮像する撮像手段と、前記撮像手段から出力される映像信号を処理する画像処理装置とを備え、前記画像処理装置は、前記映像信号によって得られる画像イメージデータを用いて、前記錠剤の表面に付された識別情報を無視した上で、前記錠剤の存在する領域内の異常を判定するための判定手段を備えることを特徴とする外観検査装置。
手段1によれば、照明手段によって赤外光を含む光の照射された錠剤の反射光が赤外光に感度を有する撮像手段で撮像されると、錠剤の色に関係なく、錠剤の存在する領域内の異常部分よりも錠剤自体の明度が高い映像信号が出力される。このため、錠剤の色により照明色調を変更したり、カラーフィルタをかけたりする必要がなく、光学的な設定の簡素化を図ることができる。尚、異常とは、異物や錠剤のひびや欠け等のことである(以下、各手段において同様)。そして、画像処理装置では、判定手段によって、識別情報(例えば、錠剤の表面に施された記号、文字、模様などからなる捺印部)の存在の有無に関わらず、識別情報が無視された上で、錠剤の存在する領域内の異常が判定される。すなわち、識別情報のみを無視することで、識別情報の付された領域に異常がある場合にも、かかる異常の検出可能となり、検査精度の向上を図ることができる。
According to the
手段2.移送コンベア上に載置された錠剤の外観検査装置であって、少なくとも前記錠剤に対して赤外光を含む光を照射する照明手段と、赤外光に感度を有し、前記照明手段により照射された面を撮像する撮像手段と、前記撮像手段から出力される映像信号を処理する画像処理装置とを備え、前記画像処理装置は、前記映像信号によって得られる画像イメージデータを用いて、前記錠剤の表面に付された識別情報を無視した上で、前記錠剤の存在する領域内の異常を判定するための判定手段を備えることを特徴とする外観検査装置。
手段2によれば、手段1と同様の作用効果が奏されることで、移送コンベア上に載置された錠剤の外観検査が可能である。
According to the
手段3.前記画像イメージデータは、明度に関する濃淡イメージデータであり、前記判定手段は、前記濃淡イメージデータを所定の閾値に基づき判定するものであり、前記閾値は、前記錠剤表面及び前記識別情報の明度より低く、かつ、前記錠剤の背景及び異常部分の明度より高く設定されていることを特徴とする手段1または2に記載の外観検査装置。
Means 3. The image image data is gray-scale image data related to lightness, and the determining unit determines the gray-scale image data based on a predetermined threshold, wherein the threshold is lower than the brightness of the tablet surface and the identification information. 3. The visual inspection device according to
手段3によれば、画像イメージデータが、明度に関する濃淡イメージデータであるため、明度を利用した判別をすることができる。判定手段では、閾値が錠剤表面及び識別情報の明度より低く設定されることで、識別情報を錠剤表面と同一視、すなわち、無視することができる。また、閾値が、錠剤の背景及び異常部分の明度より高く設定されることで、錠剤の存在する領域を背景に対して明確に区別した上で、確実に異常を検出することができる。
According to the
手段4.前記判定手段は、前記濃淡イメージデータから前記閾値を基準に二値化した画像イメージデータを作成した上で、判定を行うことを特徴とする手段3に記載の外観検査装置。
(4) Means 4. 4. The visual inspection apparatus according to
手段4によれば、濃淡イメージデータから閾値を基準に二値化した画像イメージデータを作成するため、画像での錠剤と異常とを区別する際の確実性のさらなる向上を図ることができる。 According to the means 4, since the image image data binarized from the grayscale image data based on the threshold value is created, it is possible to further improve the certainty in distinguishing the tablet from the abnormality in the image.
手段5.前記判定手段は、前記錠剤の存在する領域内における前記錠剤の明度より低い明度の連結成分の面積を所定の判定基準値と比較することで判定を行うことを特徴とする手段3又は4に記載の外観検査装置。 {Means 5}. The means (3) or (4), wherein the determination unit performs the determination by comparing the area of the connected component having a lower brightness than the brightness of the tablet in an area where the tablet exists with a predetermined determination reference value. Appearance inspection equipment.
手段5によれば、錠剤の存在する領域内における錠剤の明度より低い明度の連結成分の面積を所定の判定基準値と比較することで判定が行われる。このため、低い明度の連結成分として小さな面積を持つノイズ等を除去し、異常を一層確実に判定できる。
According to the
手段6.前記識別情報は、赤外光に対し、透過性を有するインクが使用されることで付されていることを特徴とする手段1乃至5のいずれかに記載の外観検査装置。
{Means 6}. The visual inspection apparatus according to any one of
手段6によれば、錠剤の識別情報は、赤外光に対し透過性を有するインクが使用されるため、赤外光を照射した際の反射光において、識別情報と錠剤自体との明度差が極めて小さくなる。同様に、カバーフィルムの識別情報は、赤外光に対し透過性を有するインクが採用されているため、赤外光を照射した際の反射光において、識別情報とカバーフィルム自体との明度差が極めて小さくなる。従って、画像イメージデータを作成する際に、識別情報を各々錠剤やカバーフィルムと同一視、すなわち、無視しやすくすることができる。 According to the means 6, since the identification information of the tablet is an ink having transparency to infrared light, the difference in brightness between the identification information and the tablet itself in reflected light upon irradiation with infrared light is used. Extremely small. Similarly, since the identification information of the cover film employs an ink that is transparent to infrared light, the difference in brightness between the identification information and the cover film itself in reflected light when irradiated with infrared light. Extremely small. Therefore, when creating the image data, the identification information can be identified with the tablet or the cover film, that is, it can be easily ignored.
手段7.手段1乃至6のいずれかに記載の外観検査装置を備えたことを特徴とするPTP包装機。
{Means 7}. A PTP packaging machine comprising the visual inspection device according to any one of
手段7のように、外観検査装置をPTP包装機に備えてもよい。 (4) As in the means 7, the visual inspection device may be provided in the PTP packaging machine.
以下、一実施の形態について、図面を参照しつつ説明する。まず、図2,3に基づいて、検査対象としてのPTPシート1について説明する。PTPシート1は、複数のポケット部2の凹設された包装用フィルム3と、ポケット部2を塞ぐようにして包装用フィルム3に取着されたアルミニウム製のカバーフィルム4とを有している。そして、各ポケット部2には、錠剤5が1つずつ収容されている。本実施の形態では、PTPシート1は、帯状の包装用フィルム3及びカバーフィルム4から形成された帯状のPTPフィルム6がカット或いは打抜かれることで、シート状に製造されている。
Hereinafter, an embodiment will be described with reference to the drawings. First, the
また、錠剤5表面には、記号、文字、模様などからなる識別情報としての捺印部8が設けられている。また、カバーフィルム4には、同じく記号等からなる識別情報としての印刷部9が設けられている。本実施の形態において、前記捺印部8には、セラックをブタノール等のアルコール系有機溶媒に溶解したビヒクルに三二酸化鉄、酸化チタン、食用色素アルミニウムレーキ等の顔料を混合させたインク等が用いられる。また、印刷部9を構成する素材としては、大日本インキ化学工業株式会社製のアルカラーVA(商品名)等のインクが用いられる。これらの各インクは、赤外光に対し透過性を有している。
{Circle around (5)} On the surface of the
上記のように構成されてなるPTPシート1は、図4に示すようにPTP包装機11で製造され、該PTP包装機11内に設けられた外観検査装置12によって外観検査が実施されるようになっている。
The
すなわち、PTP包装機11は、最上流側にロール状に巻回された包装用フィルム3を配置できるようになっている。包装用フィルム3には、PP(ポリプロピレン)、PVC(ポリ塩化ビニル)等の光透過性を有する(ここでは透明性を有する)熱可塑性樹脂材料が採用されている。包装用フィルム3は、間欠的に搬送されるようになっており、包装用フィルム3の搬送経路に沿って、加熱手段14とポケット成形手段15とが順に配設されている。これら加熱手段14及びポケット成形手段15によって、ポケット部2が成形されるようになっている。そして、ポケット部2が形成された包装用フィルム3の移送経路に沿って、錠剤投入装置16、フィルム受けロール17が配設されている。錠剤投入装置16へと到達させられた包装用フィルム3の各ポケット部2には、該錠剤投入装置16によって、錠剤5が充填されるようになっている。
That is, the
一方、ロール状に巻回されたカバーフィルム4の引出し端は、前記フィルム受けロール17の方へと案内されている。フィルム受けロール17には、加熱ロール18が圧接可能となっており、両ロール17,18間を加熱圧接状態で通過することで、包装用フィルム3にカバーフィルム4が貼着されるようになっている。これにより、錠剤5が各ポケット部2に充填されたPTPフィルム6が製造される。かかるPTPフィルム6はその後図示しない打抜装置によってPTPシート1単位に裁断される。
On the other hand, the drawn end of the cover film 4 wound in a roll shape is guided toward the
次に、PTPフィルム6の外観検査装置12について説明する。図1に示すように、外観検査装置12は、照明手段21、撮像手段としてのCCDカメラ22、画像処理装置23、モニタ24及びキーボード25を備えている。
Next, the
照明手段21は、赤外光を照射することができるものである。CCDカメラ22は、照明手段21から照射される赤外光の波長領域に感度を有するものである。ここで、CCDカメラ22と照明手段21との関係について説明する。図5に示すように、CCDカメラ22と照明手段21とは、PTPフィルム6のポケット部2側において配置されている。そして、照明手段21から照射される赤外光が、包装用フィルム3越しに錠剤5及びカバーフィルム4を照らし、錠剤5及びカバーフィルム4から反射した光が、CCDカメラ22によって二次元撮像されるようになっている。
(4) The illumination means 21 can emit infrared light. The
このとき、CCDカメラ22で撮像された映像信号としてのイメージデータにおいては、錠剤5の色に関係なく、錠剤5の明度がカバーフィルム4の明度よりも高くなる。また、錠剤5上の異物と錠剤5のひびや欠け等の明度は錠剤5の明度より低く、カバーフィルム4上の異物等の明度はカバーフィルム4の明度より低くなる。さらに、錠剤5の捺印部8及びカバーフィルム4の印刷部9は、赤外光を透過させやすい。このため、錠剤5の捺印部8と錠剤5自体の明度差が極めて小さく、カバーフィルム4の印刷部9とカバーフィルム4自体との明度差が極めて小さくなるようになっている。尚、以下では、錠剤5上の異物、錠剤5のひびや欠け等及びカバーフィルム4上の異物等を便宜上、「異物」と総称する。
At this time, in the image data as a video signal captured by the
次に、外観検査装置12の電気的構成について説明する。図1に示すように、画像処理装置23は、A/D変換器27、シェーディング補正手段28、第1の二値化手段29、第1の画像メモリ30、第2の二値化手段31、第2の画像メモリ32、第3の画像メモリ33、判定用メモリ34、CPU及び入出力インターフェース35、外観検査結果及び統計データメモリ36、カメラタイミング制御手段37などから構成される。
Next, the electrical configuration of the
A/D変換器27は、CCDカメラ22で撮像した二次元イメージデータを、アナログ信号からデジタル信号に変換するものである。A/D変換されたイメージデータは、シェーディング補正テーブル38のデータに従ってシェーディング補正手段28によってシェーディング補正された後、第3の画像メモリ33に記憶される。なお、シェーディング補正は、包装用フィルム3の撮像範囲全体を照明手段21の赤外光で均一に照らすことは技術的に限界があることから、位置の相違により生じる赤外光の明度のばらつきを補正するために行われるものである。
The A / D converter 27 converts two-dimensional image data captured by the
また、同時に、前記補正された明度に関するデータは、第1の二値化手段29により第1の閾値δ1をもって二値化された後、第1の画像メモリ30に順次記憶されるようになっている。これにより、PTPフィルム6の第1の二値化イメージデータが形成される。第1の閾値δ1は、捺印部8を含めた錠剤5の存在する領域(錠剤領域)内にある異物を判定するためのものである。第1の閾値δ1としては、例えば、錠剤5の背景となるカバーフィルム4及び異物よりも明るい値、かつ、錠剤5及び捺印部8よりも暗い値が選択される。本実施の形態では、第1の閾値δ1は錠剤5の明度より若干低い値に設定されている。
At the same time, the data relating to the corrected brightness is binarized by the first binarization means 29 with the first threshold value δ1, and then sequentially stored in the
同様に、前記補正された明度に関するデータは、第2の二値化手段31により第2の閾値δ2をもって二値化された後、第2の画像メモリ32に記憶され、これによりPTPフィルム6の第2の二値化イメージデータが形成される。第2の閾値δ2は、主としてカバーフィルム4に存在する異物を判定するためのもので、カバーフィルム4及び印刷部9よりも暗い値が選択される。本実施の形態では、第2の閾値δ2はカバーフィルム4の明度より若干低い値に設定されている。
Similarly, the data regarding the corrected lightness is binarized by the second binarizing means 31 with the second threshold value δ2, and then stored in the
CPU及び入出力インターフェース35は、各種画像処理プログラム、その他のプログラムを、判定用メモリ34の記憶内容などを使用しつつ実行するとともに、PTP包装機11に制御信号を送出し又はPTP包装機11から動作信号などの各種信号を受信するためのものである。これによって、例えば、PTP包装機11の不良シート排出機構などを制御することができるようになっている。また、CPU及び入出力インターフェース35は、モニタ24に表示データを送出する機能をも有する。かかる機能により、二値あるいは濃淡のイメージデータや外観検査結果などを、モニタ24に表示させることができるようになっている。
The CPU and the input /
外観検査結果及び統計データメモリ36は、イメージデータに関する座標等のデータ、外観検査結果データ、及び、該外観検査結果データを確率統計的に処理した統計データなどを記憶するものである。これらの外観検査結果データや統計データは、CPU及び入出力インターフェース35の制御に基づき、モニタ24に表示させることができる。また、これらの外観検査結果データや統計データに基づいてCPU及び入出力インターフェース35がPTP包装機11に制御信号を送出することもできる。キーボード25は、判定用メモリ34に記憶される良否判断の基準値等の設定を入力するためのものである。
The visual inspection result and
カメラタイミング制御手段37は、CCDカメラ22が撮像するイメージデータを、A/D変換器27に取り込むタイミングを制御するものである。かかるタイミングはPTP包装機11に設けられた図示しないエンコーダからの信号に基づいて制御され、PTPフィルム6を所定量送るごとにCCDカメラ22の撮像が行われる。
The camera timing control means 37 controls the timing at which image data captured by the
次に、PTPフィルム6の外観検査の手順とともに、異物による外観不良品が検出される場合の具体例について、図6(a)〜(f),7,8に基づいて説明する。図6(a)は、具体例としてのPTPフィルム6の外観検査範囲の一部(以下、本検査範囲Pと記載する)であり、ポケット部2には、捺印部8(図では「C]の文字)の設けられた錠剤5が収納され、該錠剤5には異物Dxが付着しているものとする。また、カバーフィルム4には印刷部9(図では「123」の文字)が設けられ、異物Dyが付着しているものとする。このPTPフィルム6が、CCDカメラ22で撮像され、シェーディング補正されて第3の画像メモリ33に記憶される。例えば、図6(a)のA−A’線上の記憶された画像の明度は、図6(b)に示すように錠剤領域において高く、カバーフィルム4の領域及び異物領域が低くなる。
Next, a specific example in which a defective appearance due to foreign matter is detected together with the procedure of the appearance inspection of the PTP film 6 will be described with reference to FIGS. 6 (a) to (f), 7, and 8. FIG. 6A shows a part of a visual inspection range of the PTP film 6 as a specific example (hereinafter, referred to as a main inspection range P), and a seal portion 8 (“C” in FIG. It is assumed that a
次に、図7のフローチャートに示すようなルーチンR1が実行される。ルーチンR1では、画像処理装置23(主としてCPU)によって「第1の二値化処理に伴う検査判定」が実行される。画像処理装置23は、まずステップS1において、第1の二値化手段29によって第1の二値化イメージデータを形成し、該データを第1の画像メモリ30に記憶させる(第1の二値化処理)。すなわち、第1の閾値δ1以上を1(明)、閾値δ1未満を0(暗)として、本検査範囲Pにおいては、A−A’線上のデータが図6(c)、二次元的画像が図6(d)に示すような二値化イメージデータに変換される。
Next, a routine R1 as shown in the flowchart of FIG. 7 is executed. In the routine R1, the “inspection determination accompanying the first binarization process” is executed by the image processing device 23 (mainly the CPU). First, in step S1, the
次に、ステップS2において、第1の画像メモリ30に記憶された第1の二値化イメージデータに対して塊処理を実行する。塊処理としては、二値化イメージデータの0(暗)及び1(明)について各連結成分を特定する処理と、それぞれの連結成分についてラベル付けを行うラベル付け処理とがある。ここで、それぞれ特定される各連結成分の占有面積はCCDカメラ22の画素に応じたドット数で表される。
Next, in step S2, block processing is performed on the first binarized image data stored in the
ステップS3において、画像処理装置23は、第1の二値化イメージデータから求めた1(明)の連結成分の中から、捺印部8を含む錠剤5に相当する連結成分を特定する。錠剤5に相当する連結成分は、所定の座標を含む連結成分、所定の形状である連結成分、或いは所定の面積であるところの連結成分等の判断手法により容易に錠剤5に相当する連結成分、すなわち、錠剤領域を特定することができる。従って、本検査範囲Pにおいては、異物Dxを含んだ錠剤領域J(図6(d)参照)が特定される。
In step S3, the
ステップS4では、画像処理装置23は、錠剤領域内の異物の面積Sxを演算する。すなわち、第1の二値化イメージデータから求めた0(暗)の連結成分のうち、ステップS3で特定した錠剤領域の座標に含まれる、あるいは連なるものを抽出し、その面積つまり異物の面積Sxを求める。従って、本検査範囲Pでは、異物Dxの面積が算出される。
In step S4, the
ステップS5では、異物の面積Sxを予め定められた判定基準値Pxと比較する。そして、異物の面積Sxが判定基準値Pよりも小さい場合には、ステップS6へ移行し、非異物判定(正常判定)を行う。一方、異物の面積Sxが判定基準値Px以上の場合はステップS7へ移行し、該ステップS7において異物判定(異常判定)を行う。従って、本検査範囲Pにおいて、異物Dxの面積が判定基準値Pxと比較されることで、異物Dxが異物であるか否かが判定される。このように、ルーチンR1では、錠剤領域を特定した上で、捺印部8の存在に関係なく該錠剤領域内の異物の存在の有無が判定される。 In step S5, the area Sx of the foreign matter is compared with a predetermined reference value Px. When the area Sx of the foreign matter is smaller than the determination reference value P, the process proceeds to step S6, and a non-foreign matter determination (normal determination) is performed. On the other hand, when the area Sx of the foreign matter is equal to or larger than the determination reference value Px, the process proceeds to step S7, where foreign matter determination (abnormality determination) is performed. Accordingly, in the inspection range P, the area of the foreign matter Dx is compared with the determination reference value Px to determine whether the foreign matter Dx is a foreign matter. As described above, in the routine R <b> 1, after the tablet area is specified, it is determined whether or not there is a foreign substance in the tablet area regardless of the presence of the seal portion 8.
さて、図8は、ルーチンR2を示すフローチャートであり、ルーチンR2では、画像処理装置23によって「第2の二値化処理に伴う検査判定」が実行される。まず、ステップS11において、画像処理装置23は、第2の二値化手段31によって第2の二値化イメージデータを形成し、該データを第2の画像メモリ32に記憶させる。すなわち、第2の閾値δ2以上を1(明)、第2の閾値δ2未満を0(暗)として、本検査範囲Pにおいては、A−A’線上のデータが図6(e)、二次元的画像が図6(f)に示すような二値化イメージデータに変換される。
FIG. 8 is a flowchart showing the routine R2. In the routine R2, the “inspection determination accompanying the second binarization process” is performed by the
ステップS12において、第2の画像メモリ32に記憶された第2の二値化イメージデータに対して、ステップS2と同様の塊処理を実行する。
In step S12, the block processing similar to step S2 is performed on the second binarized image data stored in the
ステップS13では、画像処理装置23は、異物の面積Syを演算する。すなわち、第2の二値化イメージデータから求めた0(暗)の連結成分を抽出し、その面積つまり異物の面積Syを求める。従って、本検査範囲Pにおいては、異物Dyの面積が算出される。
In step S13, the
ステップS14では、異物の面積Syを予め定められた判定基準値Pyと比較する。そして、異物の面積Syが判定基準値Pyよりも小さい場合には、ステップS15へ移行し、非異物判定(正常判定)を行う。一方、異物の面積Syが判定基準値Py以上の場合はステップS16へ移行し、該ステップS16において異物判定(異常判定)を行う。従って、本検査範囲Pにおいて、異物Dyの面積が判定基準値Pyと比較されることで、異物Dyが異物であるか否かが判定される。このように、ルーチンR2では、印刷部9の存在に関係なく、主としてカバーフィルム4上の異物の存在の有無が判定される。 In step S14, the area Sy of the foreign matter is compared with a predetermined determination reference value Py. If the area Sy of the foreign matter is smaller than the determination reference value Py, the process proceeds to step S15, and a non-foreign matter determination (normality determination) is performed. On the other hand, if the area Sy of the foreign matter is equal to or larger than the determination reference value Py, the process proceeds to step S16, where foreign matter determination (abnormality determination) is performed. Therefore, in the inspection range P, it is determined whether or not the foreign matter Dy is a foreign matter by comparing the area of the foreign matter Dy with the determination reference value Py. As described above, in the routine R2, it is mainly determined whether or not there is a foreign substance on the cover film 4 irrespective of the presence of the printing unit 9.
上記ルーチンR1,R2の処理は、PTPシート1の製造過程で実行され、その処理単位はPTPシート1単位である。そして、ルーチンR1,R2のうち、少なくとも一方で異物判定されるときは、そのPTPシート1は不良と判断され排出される。
The processes of the above-mentioned routines R1 and R2 are executed in the process of manufacturing the
以上詳述したように、本実施の形態によれば、錠剤5の捺印部8には、赤外光に対し透過性を有するインクが採用されている。このため、赤外光を照射した際の反射光において、捺印部8と錠剤5自体との明度差が極めて小さくなる。さらに、第1の閾値δ1を錠剤5の明度より若干低い値に設定することで、捺印部8の存在の有無に関係なく、捺印部8のみが無視された上で、錠剤領域の異物を判定できる。
As described in detail above, according to the present embodiment, ink having transparency to infrared light is used for the seal portion 8 of the
加えて、カバーフィルム4の印刷部9には、前記捺印部8と同様に赤外光に対し透過性を有するインクが採用されているため、赤外光を照射した際の反射光において、印刷部9とカバーフィルム4自体との明度差が極めて小さくなる。さらに、第2の閾値δ2をカバーフィルム4の明度より若干低い値に設定することで、印刷部9の存在の有無に関係なく、印刷部9のみが無視された上で、第1の閾値δ1では判別できなかったカバーフィルム4上の異物まで判定できる。従って、捺印部8や印刷部9の範囲にマスク処理を施したりする必要があり、しかもマスクされた範囲の検査が困難である従来技術とは異なり、マスク処理が不要になり、捺印部8及び印刷部9の存在する範囲における検査についても、比較的正確に行うことができる。 In addition, the printing portion 9 of the cover film 4 is made of an ink having a transmittance to infrared light as in the case of the seal portion 8, so that the reflected light when irradiating infrared light is used for printing. The brightness difference between the portion 9 and the cover film 4 itself becomes extremely small. Furthermore, by setting the second threshold value δ2 to a value slightly lower than the brightness of the cover film 4, regardless of the presence or absence of the printing unit 9, only the printing unit 9 is ignored and the first threshold δ1 is set. Can be determined even on the cover film 4 which could not be determined. Therefore, it is necessary to apply a mask process to the area of the stamping section 8 and the printing section 9, and unlike the prior art in which it is difficult to inspect the masked area, mask processing is not required, and the stamping section 8 and the printing section 9 are not required. The inspection in the area where the printing unit 9 exists can be performed relatively accurately.
また、赤外光の下では、錠剤5の色に関係なく、錠剤5の明度がカバーフィルム4の明度よりも高くなる。このため、錠剤5の色により照明色調を変更したり、カラーフィルタをかけたりする必要がなく、光学的な設定の簡素化を図ることができる。
(4) Under infrared light, the brightness of the
尚、上述した実施の形態の記載内容に限定されることなく、例えば次のように実施してもよい。 Note that the present invention is not limited to the above-described embodiment, and may be implemented as follows, for example.
(a)外観検査の手順において、ルーチンR1での二値化処理を行わず、第1の閾値δ1以上の明度領域を検出し、該明度領域から錠剤領域を判定し、錠剤領域内の第1の閾値δ1未満の明度領域の面積について、異物判定を実施してもよい。同様に、ルーチンR2での二値化処理を行わず、第2の閾値δ2未満の明度領域の面積について異物判定を実施してもよい。 (A) In the procedure of the visual inspection, without performing the binarization process in the routine R1, a lightness area equal to or more than the first threshold δ1 is detected, a tablet area is determined from the lightness area, and the first area in the tablet area is determined. The foreign matter determination may be performed for the area of the brightness region less than the threshold value δ1. Similarly, without performing the binarization process in the routine R2, the foreign matter determination may be performed on the area of the lightness area smaller than the second threshold value δ2.
(b)上記実施の形態では、1つの検査領域内に異物が複数ある場合について特に言及していないが、異物の可能性がある面積Sx,Syが複数あるようなときは、最大の異物面積についてのみ判定基準値Px,Pyと比較判定してもよいし、それぞれについて判定基準値Px,Pyと比較判定してもよい。 (B) Although the above embodiment does not particularly mention a case where there are a plurality of foreign matters in one inspection area, when there are a plurality of areas Sx and Sy where there is a possibility of foreign matters, the largest foreign matter area May be compared with the judgment reference values Px and Py, or each of them may be compared with the judgment reference values Px and Py.
(c)ルーチンR1,R2は必ずしも両方を実行する必要はなく、ルーチンR1において異物判定された場合は、ルーチンR2を実行しなくてもよいし、ルーチンR2において異物判定された場合は、ルーチンR1を実行しなくてもよい。 (C) The routines R1 and R2 do not necessarily need to execute both. If the foreign object is determined in the routine R1, the routine R2 may not be executed. If the foreign object is determined in the routine R2, the routine R1 may be executed. Need not be executed.
(d)上記実施の形態ではPTPフィルム6の外観検査を行うための外観検査装置に具体化したが、例えば移送コンベア上に載置された錠剤の外観を検査する装置に具体化してもよい。 (D) In the above embodiment, the present invention is embodied as an appearance inspection apparatus for inspecting the appearance of the PTP film 6, but may be embodied as an apparatus for inspecting the appearance of tablets placed on a transfer conveyor, for example.
(e)照明手段21として、赤外光を含み、赤外光以外の波長領域の光、例えば、可視光を照射するものを採用するとともに、撮像手段として、赤外光のみに感度を持つカメラ、又は、赤外光に感度を持つカメラの前に赤外光のみを通過させるフィルタを採用してもよい。 (E) A camera that includes infrared light and emits light in a wavelength region other than infrared light, for example, visible light, is employed as the illumination means 21 and a camera having sensitivity only to infrared light as an imaging means. Alternatively, a filter that allows only infrared light to pass may be employed in front of a camera that is sensitive to infrared light.
1…PTPシート、2…ポケット部、3…包装用フィルム、4…カバーフィルム、5…錠剤、8…識別情報としての捺印部、9…識別情報としての印刷部、11…PTP包装機、12…外観検査装置、21…照明手段、22…CCDカメラ、23…画像処理装置、δ1…第1の閾値、δ2…第2の閾値、Px…判定基準値、Py・・・判定基準値。
DESCRIPTION OF
Claims (6)
少なくとも前記錠剤に対して赤外光を含む光を照射する照明手段と、
赤外光に感度を有し、前記照明手段により照射された面を撮像する撮像手段と、
前記撮像手段から出力される映像信号を処理する画像処理装置とを備え、
前記画像処理装置は、前記映像信号によって得られる画像イメージデータを用いて、前記錠剤の表面に付された識別情報を無視した上で、前記錠剤の存在する領域内の異常を判定するための判定手段を備えることを特徴とする外観検査装置。 A tablet appearance inspection device,
Illuminating means for irradiating at least the tablet with light including infrared light,
Imaging means having sensitivity to infrared light and imaging the surface illuminated by the illumination means,
An image processing device that processes a video signal output from the imaging unit,
The image processing apparatus uses the image data obtained by the video signal to ignore the identification information attached to the surface of the tablet, and to determine an abnormality in an area where the tablet exists. A visual inspection apparatus characterized by comprising means.
少なくとも前記錠剤に対して赤外光を含む光を照射する照明手段と、
赤外光に感度を有し、前記照明手段により照射された面を撮像する撮像手段と、
前記撮像手段から出力される映像信号を処理する画像処理装置とを備え、
前記画像処理装置は、前記映像信号によって得られる画像イメージデータを用いて、前記錠剤の表面に付された識別情報を無視した上で、前記錠剤の存在する領域内の異常を判定するための判定手段を備えることを特徴とする外観検査装置。 A visual inspection device for tablets placed on a transfer conveyor,
Illuminating means for irradiating at least the tablet with light including infrared light,
Imaging means having sensitivity to infrared light and imaging the surface illuminated by the illumination means,
An image processing device that processes a video signal output from the imaging unit,
The image processing apparatus uses the image data obtained by the video signal to ignore the identification information attached to the surface of the tablet, and to determine an abnormality in an area where the tablet exists. A visual inspection apparatus characterized by comprising means.
前記判定手段は、前記濃淡イメージデータを所定の閾値に基づき判定するものであり、
前記閾値は、前記錠剤表面及び前記識別情報の明度より低く、かつ、前記錠剤の背景及び異常部分の明度より高く設定されていることを特徴とする請求項1または2に記載の外観検査装置。 The image data is grayscale image data related to lightness,
The determining means determines the grayscale image data based on a predetermined threshold value,
The visual inspection device according to claim 1, wherein the threshold value is set lower than the brightness of the tablet surface and the identification information, and higher than the brightness of the background and abnormal portion of the tablet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003360343A JP2004077495A (en) | 2003-10-21 | 2003-10-21 | Visual inspection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003360343A JP2004077495A (en) | 2003-10-21 | 2003-10-21 | Visual inspection device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002009102A Division JP2003215047A (en) | 2002-01-17 | 2002-01-17 | Visual inspection apparatus and ptp packaging machine equipped with the same |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004077495A true JP2004077495A (en) | 2004-03-11 |
Family
ID=32025917
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003360343A Pending JP2004077495A (en) | 2003-10-21 | 2003-10-21 | Visual inspection device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004077495A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008155948A1 (en) * | 2007-06-19 | 2008-12-24 | Qualicaps Co., Ltd. | Appearance inspecting apparatus |
WO2015198754A1 (en) * | 2014-06-27 | 2015-12-30 | 株式会社Screenホールディングス | Tablet printing apparatus and tablet printing method |
KR20160041313A (en) * | 2014-10-07 | 2016-04-18 | 동우 화인켐 주식회사 | Apparatus and method for inspection of touch panel |
KR101845721B1 (en) | 2016-03-29 | 2018-04-05 | 동우 화인켐 주식회사 | Apparatus and method for inspection of film type touch sensor |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60195439A (en) * | 1984-03-17 | 1985-10-03 | Ikegami Tsushinki Co Ltd | Surface inspecting method of article |
JPH09187915A (en) * | 1996-01-10 | 1997-07-22 | Nippon Eranko Kk | Printer for tablet |
JPH09231342A (en) * | 1996-02-26 | 1997-09-05 | Sanyo Electric Co Ltd | Method and device for inspecting tablet |
JPH10267865A (en) * | 1997-03-26 | 1998-10-09 | Asahi Chem Ind Co Ltd | Method and device for inspecting ptp sheet |
JPH1172440A (en) * | 1997-08-29 | 1999-03-16 | Ckd Corp | Method and apparatus for visual inspection of stamped tablet |
JPH11236514A (en) * | 1998-02-20 | 1999-08-31 | Dainichiseika Color & Chem Mfg Co Ltd | Near infrared ray transmitting and dark colored azo-based pigment composition |
JP2000055640A (en) * | 1998-08-03 | 2000-02-25 | Ckd Corp | Ptp seal inspecting device |
JP2000135268A (en) * | 1998-08-26 | 2000-05-16 | Yuyama Seisakusho:Kk | Tablet testing device |
JP2000182052A (en) * | 1998-12-14 | 2000-06-30 | Toshiba Corp | Stain degree discriminating device of printed matter |
JP2000182502A (en) * | 1998-12-11 | 2000-06-30 | Nitto Electric Works Ltd | Molded-case circuit breaker |
JP2000214097A (en) * | 1999-01-28 | 2000-08-04 | Ckd Corp | Visual inspection apparatus for tablet and ptp packaging machine |
JP2001033390A (en) * | 1999-07-16 | 2001-02-09 | Ckd Corp | Visual examination apparatus of tablet and ptp packaging machine |
JP2001108624A (en) * | 1999-10-04 | 2001-04-20 | Lion Engineering Kk | Method for appearance inspection of object |
JP2003004647A (en) * | 2001-06-18 | 2003-01-08 | Toyobo Co Ltd | Defect inspection apparatus |
-
2003
- 2003-10-21 JP JP2003360343A patent/JP2004077495A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60195439A (en) * | 1984-03-17 | 1985-10-03 | Ikegami Tsushinki Co Ltd | Surface inspecting method of article |
JPH09187915A (en) * | 1996-01-10 | 1997-07-22 | Nippon Eranko Kk | Printer for tablet |
JPH09231342A (en) * | 1996-02-26 | 1997-09-05 | Sanyo Electric Co Ltd | Method and device for inspecting tablet |
JPH10267865A (en) * | 1997-03-26 | 1998-10-09 | Asahi Chem Ind Co Ltd | Method and device for inspecting ptp sheet |
JPH1172440A (en) * | 1997-08-29 | 1999-03-16 | Ckd Corp | Method and apparatus for visual inspection of stamped tablet |
JPH11236514A (en) * | 1998-02-20 | 1999-08-31 | Dainichiseika Color & Chem Mfg Co Ltd | Near infrared ray transmitting and dark colored azo-based pigment composition |
JP2000055640A (en) * | 1998-08-03 | 2000-02-25 | Ckd Corp | Ptp seal inspecting device |
JP2000135268A (en) * | 1998-08-26 | 2000-05-16 | Yuyama Seisakusho:Kk | Tablet testing device |
JP2000182502A (en) * | 1998-12-11 | 2000-06-30 | Nitto Electric Works Ltd | Molded-case circuit breaker |
JP2000182052A (en) * | 1998-12-14 | 2000-06-30 | Toshiba Corp | Stain degree discriminating device of printed matter |
JP2000214097A (en) * | 1999-01-28 | 2000-08-04 | Ckd Corp | Visual inspection apparatus for tablet and ptp packaging machine |
JP2001033390A (en) * | 1999-07-16 | 2001-02-09 | Ckd Corp | Visual examination apparatus of tablet and ptp packaging machine |
JP2001108624A (en) * | 1999-10-04 | 2001-04-20 | Lion Engineering Kk | Method for appearance inspection of object |
JP2003004647A (en) * | 2001-06-18 | 2003-01-08 | Toyobo Co Ltd | Defect inspection apparatus |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008155948A1 (en) * | 2007-06-19 | 2008-12-24 | Qualicaps Co., Ltd. | Appearance inspecting apparatus |
JP2009002690A (en) * | 2007-06-19 | 2009-01-08 | Qualicaps Co Ltd | Visual inspection device |
US8154593B2 (en) | 2007-06-19 | 2012-04-10 | Qualicaps Co., Ltd. | Appearance inspection device |
KR101453933B1 (en) * | 2007-06-19 | 2014-10-24 | 쿠오리카프스 가부시키가이샤 | Appearance inspecting apparatus |
WO2015198754A1 (en) * | 2014-06-27 | 2015-12-30 | 株式会社Screenホールディングス | Tablet printing apparatus and tablet printing method |
JP2016010437A (en) * | 2014-06-27 | 2016-01-21 | 株式会社Screenホールディングス | Tablet printing device and tablet printing method |
KR20160041313A (en) * | 2014-10-07 | 2016-04-18 | 동우 화인켐 주식회사 | Apparatus and method for inspection of touch panel |
KR101687163B1 (en) | 2014-10-07 | 2016-12-16 | 동우 화인켐 주식회사 | Apparatus and method for inspection of touch panel |
KR101845721B1 (en) | 2016-03-29 | 2018-04-05 | 동우 화인켐 주식회사 | Apparatus and method for inspection of film type touch sensor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2003215047A (en) | Visual inspection apparatus and ptp packaging machine equipped with the same | |
CN110023742B (en) | Inspection device and PTP packaging machine | |
JP4523474B2 (en) | Defect inspection device and PTP packaging machine | |
JP4332122B2 (en) | Appearance inspection device and PTP packaging machine | |
JP2007279064A (en) | Visual inspection device for ptp encapsuled body | |
JP2006189354A (en) | Visual inspection device and ptp packaging machine | |
JP4627257B2 (en) | Inspection device, container with shrink label and shrink label | |
JP3929647B2 (en) | Tablet appearance inspection device and PTP packaging machine | |
JP4472499B2 (en) | Defect inspection device and PTP packaging machine | |
JP2002099898A (en) | Tablet surface inspection device | |
JP2004077495A (en) | Visual inspection device | |
JP4201143B2 (en) | Appearance inspection device and PTP packaging machine equipped with appearance inspection device | |
JP2004212159A (en) | Inspection device for tape member | |
JP2006226857A (en) | Inspection method and inspection device for printed matter | |
WO2021161619A1 (en) | Inspection device, packaging sheet manufacturing device, and inspection method | |
JP5063235B2 (en) | Tablet inspection device and PTP packaging machine | |
JP5313999B2 (en) | Tablet inspection device and PTP packaging machine | |
JP4034222B2 (en) | Appearance inspection apparatus for PTP sheet packed with tablets and PTP packaging machine | |
JP4788870B2 (en) | Defect inspection device and PTP packaging machine | |
JP2016067930A (en) | Inspection method of absorbent article | |
JP2009162728A (en) | Transparent body inspection apparatus, transparent body inspection method, and transparent body inspection system | |
US20240027340A1 (en) | Imaging Device, Inspection Device, and Imaging Method | |
JP4455348B2 (en) | Inspection device and PTP packaging machine | |
JP2008116304A (en) | Method and device for visual examination of ptp sheet | |
JP2007256132A (en) | Inspection device and ptp-sheet manufacturing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050517 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050630 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060307 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060427 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20060926 |