JP3580319B2 - Capsule band seal detection method and band seal detection device - Google Patents

Capsule band seal detection method and band seal detection device Download PDF

Info

Publication number
JP3580319B2
JP3580319B2 JP18896294A JP18896294A JP3580319B2 JP 3580319 B2 JP3580319 B2 JP 3580319B2 JP 18896294 A JP18896294 A JP 18896294A JP 18896294 A JP18896294 A JP 18896294A JP 3580319 B2 JP3580319 B2 JP 3580319B2
Authority
JP
Japan
Prior art keywords
capsule
band seal
window
inspection
detecting
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 - Lifetime
Application number
JP18896294A
Other languages
Japanese (ja)
Other versions
JPH0826229A (en
Inventor
速男 井上
泰明 秋本
将雄 榎本
喜弘 古家
泰一 水田
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.)
Shionogi and Co Ltd
Original Assignee
Shionogi and 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 Shionogi and Co Ltd filed Critical Shionogi and Co Ltd
Priority to JP18896294A priority Critical patent/JP3580319B2/en
Publication of JPH0826229A publication Critical patent/JPH0826229A/en
Application granted granted Critical
Publication of JP3580319B2 publication Critical patent/JP3580319B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【産業上の利用分野】
本発明は、カプセルのボディーとキャップとの間をバンドシールしたカプセル剤のバンドシールを自動的に検出する方法及び装置に関し、更に詳述すると、バンドシールの有無、幅、位置ずれ等を検出してバンドシールの不良検査を行うことができ、しかも非常に精度の高い検査を自動的に行うことができるカプセル剤のバンドシール検出方法及びカプセル剤のバンドシール検出装置に関する。
【従来の技術】
【0002】
従来より、液状薬剤や酸化分解性の薬剤などをカプセルに充填してカプセル剤とする際、カプセルのボディーとキャップとの間を帯状にシールする所謂バンドシールを施すことが行われている。
【0003】
このようなカプセル剤、例えば主剤が酸化分解性物質であるカプセル剤において、バンドシールの欠落,欠け,位置ずれ等の不良は充填薬剤の変質を招き、致命的欠陥となる。このため、このようなバンドシールを施したカプセル剤については、通常の検査の他にバンドシールの不良を検査することが行われている。
【0004】
従来、バンドシールの検査は、バンドシール機からバンドシールが施されて排出されてきたカプセル剤を検査員が目視により検査しているのが現状である。即ち、通常のバンドシール機はバンドシール済みのカプセル剤を整列させた状態でコンベア状の搬送機構により排出するが、この整列状態で排出されてくるカプセル剤のバンドシールを検査員が目視により検査している。
【0005】
【発明が解決しようとする課題】
しかしながら、このような目視による検査は、検査員にとって過酷な作業を課すものであり、このため数人の検査員が交替制で検査を行うこととなり、多大な人件費を要する。また、バンドシールの有無を検査するのが精一杯で、バンドシールの欠けや位置ずれなどの不良を検査をすることはほとんど不可能であるばかりでなく、バンドシールの有無についても必ずしも十分な信頼性が得られないものである。
【0006】
本発明は、上記事情に鑑みなされたもので、カプセル剤のバンドシール検査を自動的に行うことができ、かつ高い信頼性が得られると共に、バンドシールの有無だけでなく欠けや位置ずれ等の不良をも良好に検出することが可能なカプセル剤のバンドシール検出方法及びカプセル剤のバンドシール検出装置を提供することを目的とする。
【0007】
【課題を解決するための手段及び作用】
本発明は、上記目的を達成するため、カプセルのボディーとキャップとの間をバンドシールしたカプセル剤の上記バンドシールを検出するバンドシール検出方法であって、多数のカプセル剤をその径方向に沿って連続的に搬送し、所定の搬送位置でこのカプセル剤に所定光度の光を照射すると共に、該カプセル剤をその長手方向に沿って1次元カメラにより撮影し、その像を電圧信号に変換してカプセル剤の長手方向に沿った明度変化を示す電圧波形を得、該波形のバンドシール部分を含む所定範囲をウィンドウとして切り出すと共に、該ウィンドウ内に検査しきい値を設定して、ウィンドウ内の電圧波形とこのしきい値との関係からバンドシールを検出することを特徴とするカプセル剤のバンドシール検出方法を提供する。
【0008】
即ち、上記本発明のバンドシール検出方法は、まずカプセルシール機によりバンドシールを施した多数のカプセル剤をその径方向に沿って連続的に搬送し、所定の搬送位置でこのカプセル剤に所定光度の光を照射すると共に、該カプセル剤をその長手方向に沿って1次元カメラで撮影し、該カプセル剤の像を電圧信号に変換してカプセル剤の長手方向に沿った明度変化を示す電圧波形を得る。
【0009】
この場合、バンドシールを施したカプセル剤は、通常バンドシールの有無を目視によっても容易に識別し得るようにカプセルのボディー及びキャップとバンドシールとでその色調を変えることが行われており、例えばカプセルのボディーを白、キャップを水色等の淡色とし、バンドシールを紺や黒の濃色とすることが行われている。従って、このようなカプセル剤を上記のように1次元カメラで撮影し、その像を電圧信号に変換してカプセル剤の長手方向に沿った明度変化を示す電圧波形を得ると、淡色のカプセルボディー及びキャップ部分は明度が高いので高電圧値を示すと共に、濃色のバンドシール部分は明度が低いので低電圧値を示し、バンドシール部分が負のピークとして現れる。なお、通常このような組み合わせは行われないが、逆に濃色のボディー及びキャップのカプセルに淡色のバンドシールを施した場合には、明度が低い濃色のカプセルボディー及びキャップ部分は電圧値が低く、明度が高い淡色のバンドシール部分は電圧値が高くなり、バンドシール部分が正のピークとして現れる。
【0010】
次いで、このようにして得られた電圧波形のバンドシール部分(上記正又は負のピーク部分)を含む所定範囲をウィンドウとして切り出し、このウィンドウ内に設定した検査しきい値とこのウィンドウ内の電圧波形との関係からバンドシールを検出する。即ち、ウィンドウ内にカプセルボディー及びキャップの電圧値とバンドシールの電圧値との間に検査しきい値を設定し、電圧波形がこの検査しきい値を横切るか否かによりバンドシールの有無を検出するものである。またこの場合、バンドシールを表すピーク波形が検査しきい値を横切る幅によりバンドシールの幅を検出してバンドシールの欠け等を検査することができ、更にこのピーク波形が検査しきい値を横切る位置によりバンドシールの位置ずれも検出することができるものである。なお、上記ウィンドウの設定は、カプセル両端部などの陰影等により本来の明度が得られない部分やカプセルボディー及びキャップに記載されたマーク,記号などを検査対象から除くためのものであり、これにより誤検出の発生を確実に防止することができるものである。
【0011】
このように、本発明のバンドシール検出方法によれば、多数のカプセル剤を搬送しながら自動的に信頼性の高いバンドシールの検査を行うことができ、しかもバンドシールの有無だけではなく、バンドシールの欠けや位置ずれ等の不良をも検出することが可能なものである。
【0012】
また、本発明は、上記検出方法によりバンドシールの検出を行う装置として、カプセルのボディーとキャップとの間をバンドシールしたカプセル剤の上記バンドシールを検出するバンドシール検出装置であって、カプセル剤をカプセルポケット内に収容して該カプセル剤の径方向に沿って搬送する搬送手段と、所定搬送位置にあるカプセル剤に光を照射する照明装置と、上記所定搬送位置にあるカプセル剤を該カプセル剤の長手方向に沿って撮影し、カプセル剤の像を電圧信号として取り出す1次元カメラと、該1次元カメラにより取り出した電圧信号をカプセル剤の長手方向に沿った明度変化を示す電圧波形に変換する波形変換手段と、得られた波形のバンドシール部分を含む所定範囲をウィンドウとして切り出すウィンドウ設定手段と、上記ウィンドウ内に検査しきい値を設定する検査しきい値設定手段と、ウィンドウ内の電圧波形と上記検査しきい値との関係からバンドシールの検出判定を行う判定手段とを具備してなることを特徴とするカプセル剤のバンドシール検出装置を提供する。
【0013】
即ち、上記本発明のカプセル剤のバンドシール検出装置は、上記本発明のバンドシール検出方法に従ってカプセル剤のバンドシールを検出するもので、カプセル剤を搬送手段のカプセルポケット内に収容して該カプセル剤を一定姿勢に保持すると共に、この状態で該カプセル剤をその径方向に沿って搬送し、このカプセル剤が所定の搬送位置に搬送されてきた際に、上記照明装置により該カプセル剤に所定光度の光を照射すると共に、該カプセル剤をその長手方向に沿って上記1次元カメラで撮影してカプセル剤の像を電圧信号として取り出し、上記波形変換手段によりこの電圧信号をカプセル剤の長手方向に沿った明度変化を示す電圧波形に変換し、得られた電圧波形のバンドシール部分を含む所定範囲を上記ウィンドウ設定手段によりウィンドウとして切り出すと共に、上記検査しきい値設定手段より該ウィンドウ内に検査しきい値を設定し、上記判定手段によりウィンドウ内の電圧波形と検査しきい値との関係からバンドシールの有無、欠け、位置ずれ等のシール不良を判定するものである。なお、上記波形変換手段、ウィンドウ設定手段、検査しきい値設定手段及び判定手段は、コンピュータ内にコンピュータプログラムとして構成し、上記1次元カメラからの電圧信号を該コンピュータに入力して、これら手段による処理を行うようにすることができる。
【0014】
このように、本発明のカプセル剤のバンドシール検出装置によれば、上記本発明のバンドシール検出方法に従って、多数のカプセル剤を搬送機構で搬送しながら、自動的に信頼性の高いバンドシールの検査を行うことができ、しかもバンドシールの有無だけではなく、バンドシールの欠けや位置ずれ等の不良をも検出することが可能なものである。
【0015】
以下、本発明につき図面を参照して更に詳しく説明する。
本発明のバンドシール検出方法の検査対象となるカプセル剤は、図5に示したように、ボディー1aとキャップ1bとからなるカプセルに薬剤を充填し、ボディー1aとキャップ1bとの間をバンドシール2により帯状にシールしたものであり、通常はカプセルのボディー1a及びキャップ1bが白や水色等の淡色でバンドシール2が紺や黒等の濃色になっているものが用いられるが、これとは逆にボディー1a及びキャップ1bが濃色でバンドシール2が淡色になっていてもよく、要するにボディー1a及びキャップ1bの色彩とバンドシール2の色彩との間に明確な明度の差があればよい。また、カプセル剤1には、カプセルのボディー1a及びキャップ1bにマーク1cや識別記号1dが記載されたものもあるが、このようなカプセル剤も検査対象とすることができる。なお、説明の便宜上、以下の説明においては特に説明のない限り、白地に水色の数字1dが記されているボディー1aと、水色又は白色の地に少し濃いめの水色でマーク1cが記されキャップ1bとからなるカプセルに紺色のバンドシール2を施したカプセル剤、即ち淡色のボディー1a及びキャップ1bに濃色のバンドシール2を施したカプセル剤を検査対象として説明する。
【0016】
本発明のカプセル剤のバンドシール検出方法は、上記バンドシール2を施したカプセル剤1のバンドシール2を自動的に検出するもので、まずバンドシール機によりバンドシール2を施した多数の上記カプセル剤1をその径方向に沿って連続的に搬送し、所定の搬送位置でこのカプセル剤1に所定光度の光を照射すると共に、該カプセル剤1をその長手方向に沿って1次元カメラで撮影し、該カプセル剤1の像を電圧信号に変換してカプセル剤1の長手方向に沿った明度変化を示す電圧波形を得る。
【0017】
具体的には、例えば図1に示した装置を構成し、多数のカプセル剤1を搬送しながら、1次元カメラ3でこのカプセル剤1を撮影し、電圧波形を得ることができる。即ち、図1は本発明のバンドシール検出方法を実施するための装置の一例を示すもので、基台4上をコンベアベルトのように移動する多数の長板状スラット5に図2に示したように凹状のカプセルポケット6を形成し、該カプセルポケット6内に上記カプセル剤1が収容され、スラット5が基台4上を移動することにより、カプセル剤1が一定姿勢を保持したままその径方向に沿って搬送されるようになっている。そして、所定の搬送位置において、搬送中のカプセル剤1にその上方に配設された照明装置7から所定光度の光が照射されると共に、上方に配設された1次元カメラ3で該カプセル剤1を撮影し、その像を電圧信号として取り出す。
【0018】
ここで、カプセル剤1は図2に示したように、複数個(図では8個)のカプセル剤1をその長手方向に沿って1列に並べ、各カプセル列ごとにカプセル剤1の径方向に沿って搬送することができ、これにより一度に複数個(図では8個)ずつバンドシールの検出を行うことができる。即ち、図では上記長板状スラット5の長さ方向に沿って8個のカプセルポケット6を連設してこれらカプセルポケット6内にカプセル剤1を収容し、スラット5がその幅方向に沿って図2中矢印10方向に移動することにより、8個のカプセル剤1からなるカプセル列がカプセル剤1の径方向に沿って搬送されるようになっている。
【0019】
また、特に制限されるものではないが、搬送中のカプセル剤1を少なくとも検査位置においてカプセル剤1の周方向に沿って回転させることが好ましく、これによりカプセル剤1の全周に亘ってバンドシール2の検出を行うことができる。カプセル剤1を回転させる方法としては、図3に示したように、上記カプセルポケット6をスラット5を貫通する貫通穴状に形成し、スラット5が移動することにより、カプセルポケット6内に保持されたカプセル剤1が基台4上を転がりながら搬送されるようにすることができ、これにより1次元カメラ3による撮影ライン8aをカプセル剤1が移動することによりカプセル剤1の径方向に移動させると共に、カプセル剤1が回転することにより該カプセル剤1を一周させることができる。
【0020】
ここで、上記スラット5に形成された全カプセルポケット6は、図2に示されているように、カプセル剤1に相応した略長楕円形状に形成されているが、その軸線9aをスラット5の進行方向10と直交する線9bから一方向に少し傾けて形成されており、これにより基台4上を転がりながら移動する全てのカプセル剤1がカプセルポケット1の一端側(図では上側)に接した状態で移動するようになっている。これにより、検査位置に搬送されてくる全てのカプセル剤1はそれぞれスラット5の端部から所定の距離を保った状態となる。なお、各カプセルポケット6には、その長さ方向中間部の両側部に外側に膨らんだ膨出部6a,6aを有しており、この膨出部6a,6aに指を差し込んでカプセル剤1を取り出すことができるようになっている。
【0021】
このようにして、搬送されてきたカプセル剤1を1次元カメラ3で該カプセル剤1の長手方向に沿って撮影するが、このとき照明装置7から該カプセル剤1に所定光度の光を照射してカプセルボディー1a及びキャップ1bとバンドシール2との間に明確な明度差が得られるようにする。この場合、カプセル剤1の表面や背景に鏡明反射が生じることがあり、このような鏡明部はその明度が実際のカプセル剤1及び背景の明度よりも著しく高いためノイズとなり誤検査の要因となり得る。そこで、図1に示したように、照明装置7の光源部と1次元カメラ3のレンズ3aとにそれぞれ偏光フィルタ10a,10bを配設し、カプセル剤1に該偏光フィルタ10aを通した光を照射すると共に、このカプセル剤1を偏光フィルタ10bを通して1次元カメラ3で撮影することが好ましく、これにより鏡明反射を除去することができる。即ち、光源から照射される光にはもともと偏光性はないが、偏光フィルタ10aを一枚通ることによりその光は直線偏光を施された光となり、この光がカプセル剤の表面に照射されると鏡面反射以外の光は偏光のない(少ない)光となって反射される。そして、偏光の向きを照明の偏光の向きと一致させた偏光フィルタ10bを通してこのカプセル剤を1次元カメラ3で撮影すると、偏光の向きが一致している光は偏光フィルタ10bを通らないので、その結果鏡明部が除去されることになる。
【0022】
また、上記1次元カメラ3は、カプセル剤1の長手方向に沿って該カプセル剤1を撮影するように設置され、図1のように複数(図では8個)のカプセル剤1をその長手方向に沿って1列に並べた場合には、このカプセル列の長さ方向に沿ってカプセル列の全てのカプセル剤1を撮影するようにする。具体的には、図2に示したように、スラット5及び基台4(より具体的には、スラット5を駆動するチェーンのカバー)にカメラ位置決めマーク11,11,11を設け、これらのマーク11がカメラ3の撮影ラインと一致するようにカメラ3を設置することにより、カプセル列の全てのカプセル剤1を一度に撮影することができる。
【0023】
更に、カプセル剤1を撮影する1次元カメラ3は、図1のように1台でもよいが2台又はそれ以上のカメラを設置してカプセル剤1を時間差で撮影してもよい。即ち、上述したように、カプセル剤1を回転させながら撮影することにより、カプセル剤1の全周に亘ってバンドシール検査を行うことができるが、この場合1台の1次元カメラでカプセル剤1の全周を撮影することが困難な場合には、第2の1次元カメラを設置し、図3に示されているように、この第2の1次元カメラの撮影ライン8bを第1の1次元カメラの撮影ライン8aよりも後方に設定して、カプセル剤1が撮影ライン8aを通過した後に第2の撮影ライン8bを通過することにより、撮影ライン8aで撮影できなかった箇所をこの第2の撮影ライン8bで撮影するようにすることができる。
【0024】
このようにして、カプセル剤1を1次元カメラ3で撮影することにより、カプセル剤1の長手方向に沿った線上の像が電圧信号として取り出される。この場合、複数個のカプセル剤1を1列に並べたカプセル列を撮影した場合には、カプセル列の長さ方向に沿った線上の像が電圧信号として取り出されるものである。
【0025】
そして、このようにして得られた電圧信号を波形に変換してカプセル剤1の長手方向に沿った明度変化を示す電圧波形を得る。この場合、上記カプセル列を撮影して得られた電圧信号からは、該カプセル列の長さ方向に沿った明度変化を示す電圧波形が得られる。得られた電圧波形は、図6に示したように、カプセル剤の淡色のカプセルボディー1a及びキャップ1b部分は明度が高いので高電圧値を示すと共に、濃色のバンドシール2部分は明度が低いので低電圧値を示し、バンドシール部分が負のピークとして現れる。
【0026】
即ち、図6は8個のカプセル剤1を白色紙上にカプセル剤1の長手方向に沿って1列に並べ、そのカプセル列を該列の長さ方向に沿って1次元カメラで撮影し、その像から得られた電圧波形をカプセル列と対比させて示したもので、各カプセル剤1に対応した位置にカプセルボディー1a(水色)、キャップ1b(白色)及びバンドシール2(紺色)の明度を表す電圧波形が現れ、バンドシール2部分が負のピークとして現れていることが分かる。ここで、この図6に示した波形は、白色紙上にカプセル剤を並べたものであるが、上記図1の装置では金属製の上記スラット5上にカプセル剤1が並べられるので背景が金属であり、フィルタ処理することによりこの背景が黒色となり、カプセル剤を示す波形がより明確に現れる。つまり、図6の波形は最悪の条件での波形であり、このような条件でも良好な波形が得られるものである。なお、上記カプセル剤1とは逆に濃色のボディー及びキャップのカプセルに淡色のバンドシールを施した場合には、明度が低い濃色のカプセルボディー及びキャップ部分は電圧値が低く、明度が高い淡色のバンドシール部分は電圧値が高くなり、バンドシール部分が正のピークとして現れる。
【0027】
次に、本発明のバンドシール検出方法は、このようにして得られた電圧波形のバンドシール部分を含む所定範囲をウィンドウとして切り出し、このウィンドウ内に設定した検査しきい値とこのウィンドウ内の電圧波形との関係からバンドシールの検出を行う。即ち、図7に示したように、電圧波形のバンドシール部分を含む所定範囲にウィンドウ12を設定すると共に、該ウィンドウ12内に検査しきい値13を設け、該検査しきい値13とウィンドウ12内の電圧波形との関係からバンドシールの検出を行う。具体的には、上記ウィンドウ12内で電圧波形が上記検査しきい値13を横切るか否かによりバンドシールの有無を検出する(横切ればバンドシール有り、横切らなければバンドシール無し)。また、図7に示したように、検査しきい値13を横切るバンドシールのピーク波形を2値化し、その幅によりバンドシールの幅を検出してバンドシールの欠け等を検査することができ、更にこのピーク波形が検査しきい値13を横切る位置によりバンドシールの位置ずれを検出することもできる。この場合、上記ウィンドウ12の設定により、陰影等により本来の明度が得られないカプセル両端部などの部分やカプセルボディー1a,キャップ1bに記載されたマーク1c,記号1dなどが検査対象から除かれ、これにより誤検出の発生が確実に防止される。なお、図7には特に図示していないが、ウィンドウ12及び検査しきい値13はカプセル列の全カプセル剤に対してそれぞれ設定されるものである。
【0028】
ここで、上記ウィンドウ12の設定は次のように行なうことができる。即ち、図1の装置の場合、カプセル剤1が全て方向規制され、キャップ1bとボディー1dの向きが全て一定であると共に(通常バンドシール機から排出されたカプセル剤は、このように方向規制されている)、上述したように全てのカプセル剤1はそれぞれスラット5の端部から所定の距離を保った状態となるので、各カプセル剤1のスラット端部からの距離に応じて、バンドシール2部分に相応した位置にウィンドウ12を設定すればよい。また、カプセル剤1の向きがアトランダムな場合には、検査位置に搬送されてきたカプセル剤ごとに得られた電圧波形からカプセル剤の両端部を導きだし、その端部からの距離によりバンドシール部分にウィンドウを自動設定するようにすればよい。
【0029】
また、上記ウィンドウ12の幅は、電圧波形に現れる正常なバンドシール2のピーク幅より広く、かつカプセル剤1の両端部やマーク1c及び記号1dを除去し得る幅であればよく、バンドシールの幅等により適宜設定することができる。更に詳述すれば、バンドシールの有無を検出するだけであれば、上記カプセル剤1の両端部及びマーク1c,記号1dを除去し得る限り、カプセルポケット6内におけるカプセル剤1のばらつき等を許容するように、比較的幅広くすることが好ましい。一方、ウィンドウ12の幅をバンドシール2の幅ぎりぎりに設定して、このウィンドウ12内でバンドシール2のピークが検査しきい値13を横切るか否かを厳格に検出することにより、バンドシールの有無検査と同時にバンドシールの幅及び位置を検査することもできる。
【0030】
次に、上記検査しきい値13は、カプセルボディー1a及びキャップ1bの電圧値とバンドシール2の電圧値との間に設定される。この場合、検査しきい値13の設定は、予め所定の電圧値を検査しきい値13としてウィンドウ12内に設定しておくこともできるが、カプセル列の各カプセル剤ごと、及び検査位置に搬送されてきた各カプセル剤ごとにそれぞれ自動設定することが好ましい。即ち、上記照明装置7の光源はスラット5の中央部上方からスラット5上のカプセル列に光を照射するので、スラット5の中央部が明るく両端部が比較的暗くなる。このため、図6に示されているように、得られる電圧波形は中央部の電圧値が高く両端部が低くなり、単一の検査しきい値では誤検査が生じるおそれがある。また、搬送されてくるカプセル剤によっても得られる電圧値が異なる場合があり、更には光源の劣化等により照射される光の光度が低下して電圧値が変動することもあり、この点からも単一の検査しきい値では誤検査が生じるおそれがある。従って、上述のように、カプセル列の各カプセル剤ごと、及び検査位置に搬送されてきた各カプセル剤ごとにそれぞれ適切な検査しきい値を自動設定することが好ましい。
【0031】
上記検査しきい値13を自動設定する方法としては、検査位置に搬送されてきたカプセル剤1ごとに、またカプセル列の各カプセル剤1ごとに得られた電圧波形の上記ウィンドウ12内における最高電圧値(カプセルボディー及びキャップが淡色でバンドシールが濃色の場合)又は最小電圧値(カプセルボディー及びキャップが濃色でバンドシールが淡色の場合)に対する所定パーセントの電圧値を検査しきい値13として自動的に設定する方法が好適に用いられる。即ち、例えばカプセルボディー1a及びキャップ1bが淡色でバンドシール2が濃色のカプセル剤1の場合、ウィンドウ12内の最高電圧値は明度が最も高いカプセルのボディー1a又はキャップ1b部分となり、この最高電圧値に対するバンドシール2部分の電圧低下割合は、カプセルボディー1a又はキャップ1bとバンドシール2の色調が一定である限り、カプセル剤1に照射される光が変化しても一定である。よって、図7に示したように、このウィンドウ12内の最大電圧値(最大明度)に対する所定パーセント(以下、THRという)を検査しきい値とすることにより、カプセル列の各カプセル剤ごと、及び検査位置に搬送されてきた各カプセル剤ごとにそれぞれ適切な検査しきい値13を自動設定することができる。なお、カプセルボディー1a及びキャップ1bが濃色でバンドシール2が淡色である場合には、バンドシール3は正のピークとなりカプセルボディー1a又はキャップ1b部分はウィンドウ12内の最小電圧値として現れる。従ってこの場合には、上記THRは最小電圧値(最小明度)に対する所定パーセント(100%を超える値)となる。
【0032】
上記のように、ウィンドウ12を設定し、該ウィンドウ12内に検査しきい値13を設定して該検査しきい値13とウィンドウ12内の波形との関係からバンドシールの検出を行うが、この場合カプセル剤1は連続的に検査位置に搬送され、多数のカプセル剤(又は多数のカプセル列)に対して連続的に検査が行われるものである。このとき、一のカプセル剤(又はカプセル列)の検査を行った後、次のカプセル剤(又は次のカプセル列)の検査を行う前に、検査位置を上記スラット5の上面や縁部が通過し、これらが1次元カメラ3により撮影され、カプセル剤と同様に検査されると、これが不良カプセルと判断されてしまう。このため、これらの部分を検査対象から除外する必要があり、その方法としては、適宜なセンサーでカプセル剤が検査位置に搬送されたことを検知し、カプセル剤が検査位置にあるときのみ検査が行われるようにする方法が好適に採用される。具体的には、図1に示したように光電スイッチ14を設置し、この光電スイッチ14によりスラット5に設けたマークやスラット5の端部を検知してトリガ信号を発信させ、該トリガ信号により検査の開始及び停止を行えばよい。
【0033】
また、通常はスラット5のカプセルポケット6に抜けが生じて空のカプセルポケット6が検査位置に来ることは考えにくいが、何らかの理由により空のカプセルポケット6が検査位置を通過する場合もあり、この場合にも不良カプセル剤として検出され誤検査となってしまう。従って、このような空のカプセルポケットも検査対象から除去することが好ましく、その方法としては図7に示したように、上記ウィンドウ12内に上記検査しきい値13とは別にカプセル抜けを検出するためのカプセル抜けしきい値15を設定し、このカプセル抜けしきい値15とウィンドウ12内の波形との関係からカプセル剤の搬送不良(具体的には空のカプセルポケット6)を検知して検査対象から除外する方法が好適に採用される。
【0034】
上記カプセル抜けの検出方法について更に詳述すると、金属製のスラット5はフィルタを介することにより、ほとんど黒色として認識され、カプセル剤1の波形に比べて得られる電圧値が遥かに低く、ウィンドウ12内におけるカプセル剤1の高電圧値部分とこの空のカプセルポケットの低電圧値との間にカプセル抜けしきい値15を設定し、ウィンドウ12内の波形に該カプセル抜けしきい値15より高い電圧値が存在すればカプセル剤有り、存在しなければカプセル剤無しと識別する。
【0035】
即ち、図8はカプセルポケット6にカプセル剤1が収容されていないスラット5の電圧波形(実線)とカプセル剤1が収容されたスラット5の電圧波形(破線)とを重ねて示したものであるが、このようにカプセル剤1が収容された場合と、収容されていない場合とで得られる波形の電圧値が大きく異なる。そこで、図9に示したように、ウィンドウ12内におけるカプセル有り波形(破線)の最高電圧値とカプセル無し波形(実線)の最高電圧値との間にカプセル抜けしきい値15を設定し、ウィンドウ12内の波形にこのカプセル抜けしきい値15より高い電圧値が存在するか否かによりカプセル抜けを検知し、空のカプセルポケットを検査対象から除外するものである。
【0036】
なお、カプセル剤の抜けが、極まれにしか発生しない場合には、必ずしもカプセル抜けの検出を行う必要はない。即ち、バンドシール不良が検出された場合には、後述するように、搬送装置を停止してそのカプセル剤を除くか、又は自動的にカプセルポケット5から不良のカプセル剤を取り除く処置が採られるが、たとえ搬送装置を停止する手段を採用し、カプセル抜けが生じてそれが不良カプセル剤と判断され、装置が停止されたとしても、それが極まれであれば検査効率上さしたる問題となることはない。
【0037】
また、本発明のバンドシール検出方法は、上述した方法により、上記検査しきい値13をカプセル剤ごとに自動設定する方法を採ることにより、カプセル剤に照射される光の照度の変化には良好に対応することができるが、上記照明装置7の光源や偏光フィルタ10aが劣化してその照度が大幅に低下した場合には、バンドシールの検出が困難になる場合がある。そこで、光源や偏光フィルタの劣化状況を検知する手段を設け、正常なバンドシール検出が困難になった場合に検査を停止することが好ましい。光源の劣化を検出する方法としては、特に制限されるものではないが、カプセル剤1と共に1次元カメラにより撮影される検査位置の固定部(例えば、スラット5を駆動するチェーンのカバー等)にマークなどを設け、この部分にカプセル剤1と同様にウィンドウを設定してその明度を電圧値として得ると共に、該ウィンドウ内に光源劣化しきい値を設けて、その電圧値(明度)が光源劣化しきい値よりも低下した場合に、光源劣化と判断するようにすることができる。
【0038】
ここで、上記1次元カメラ3で取り出した電圧信号を電圧波形に変換する手段、該波形の検査部分にウィンドウ12を設定する手段、ウィンドウ12内に検査しきい値13を設定する手段、光電スイッチ14からのトリガ信号により検査の開始,停止を制御する手段、ウィンドウ12内の電圧波形と検査しきい値13とからバンドシールの検出を行う手段、ウィンドウ12内にカプセル抜けしきい値15を設定する手段、ウィンドウ12内の電圧波形とカプセル抜けしきい値15とからカプセル抜けを検出する手段及び光源劣化を検知するためのウィンドウ,光源劣化しきい値の設定,光源劣化の判断を行う手段等は、コンピュータを用いて該コンピュータ内にコンピュータプログラムとして設定することができる。またこの場合、コンピュータにより判定したバンドシールの検出結果は電気信号として出力することができ、バンドシールの不良を検出した場合には、この信号によりシーケンサ等の制御装置を介して搬送装置及びバンドシール機を停止し、不良カプセルを手作業により除去したり、不良カプセル剤の除去装置を構成して該除去装置にコンピュータから信号を発信し、自動的に不良カプセル剤を除去するようにすることもできる。
【0039】
上記図1の装置によりコンピュータを用いてバンドシール検出を行う場合のブロック図を示すと図4の通りである。即ち、1次元カメラ3によりカプセル剤(又はカプセル列)を撮影して取り出した電圧信号が1次元カメラ入力用ボード16を介してコンピュータ17に入力され、該電圧信号がカプセル剤の長手方向に沿った明度変化を示す電圧波形に変換されると共に、光電スイッチ14からのトリガ信号がI/Oボードを介してコンピュータ17に入力され、このトリガ信号によりバンドシール検出がスタートする。検出がスタートすると、コンピュータ17により電圧波形のバンドシール部分を含む所定の範囲がウィンドウ12として切り出されると共に、該ウィンドウ12内に検査しきい値13が自動的に設定され、バンドシールの検出が行われる。また、これと同時にカプセル抜けしきい値15が設定され、カプセル抜けの検出が行われ、カプセル抜けが生じていたらそのカプセルポケットについての検査をキャンセルする。そして、検査結果をコンピュータ17のディスプレイに表示すると共に、バンドシール不良を検出した場合には、それを電気信号としてI/Oボード18を介して発信し、この信号により搬送装置及びバンドシール機を停止して不良カプセルを手作業で除去するか、又は不良カプセル除去装置により不良カプセル剤を自動除去するものである。なお、不良カプセル除去装置としては、検査位置よりも後方において、吸引パイプをスラット5の上方に配設し、該吸引パイプでカプセルポケット6から不良カプセル剤を吸引除去する方法が好適に採用される。
【0040】
【実施例】
以下、実施例を示し本発明をより具体的に説明する。
図10に示したバンドシール検出装置を構成し、カプセル剤のバンドシールの有無検査を行った。図10に示した装置は、2台の1次元カメラ3a,3b及び該カメラ3a,3bに対応した2個の光電スイッチ14a,14bを用いて、それぞれのカメラ3a,3bで回転しながら搬送されてくるカプセル剤1を周方向に沿って半周ずつ撮影するように構成したもので、その他は上述した図1の装置と同一である。また、この装置は搬送機構としてバンドシール機のカプセル剤搬送機構をそのまま使用しており、各スラット5がカプセル剤1を保持した状態でバンドシール機から排出された後、上記2台の1次元カメラ3a,3bの下を通過するようになっている。なお、図中参照符号19,19は、カプセル剤1がスラット5のカプセルポケット6から浮き出していることを検出する浮き検出用光電スイッチであり、カプセル剤1がカプセルポケット6から浮き出していると、バンドシール機の構造上バンドシール不良となることが分かっており、この浮き検出用光電スイッチ19,19は、このバンドシール不良を検出するものである。
【0041】
このバンドシール検出装置のブロック図を示すと、図11の通りである。即ち、2台のコンピュータ17a,17bを用い、一方の1次元カメラ3aからの電圧信号を1次元カメラ用入力ボード16aを介して第1コンピュータ17aに入力し、他方の1次元カメラ3bからの電圧信号を1次元カメラ用入力ボード16bを介して第2コンピュータ17bに入力すると共に、それぞれのカメラ3a,3bによる検査位置に対応した光電スイッチ14a,14bからのトリガ信号がそれぞれI/Oボード18a,18bを介して第1コンピュータ17a,第2コンピュータ17bに入力されるようになっている。また、一方の1次元カメラ3aの電圧信号に対する第1コンピュータ17aによる検出結果はI/Oボード18a,18bを介して第2コンピュータ17bに入力され、第2コンピュータ17bでは他方の1次元カメラ3bの電圧信号に対する検査判定を行うと共に、その検査結果と上記第1コンピュータ17aからの検査結果とから総合判定を行い、その結果をI/Oボード18bを介してプログラマブルコントローラ20に入力し、その判定結果に応じて該プログラマブルコントローラ20が停止信号をバンドシールシーケンサ21に発信し、バンドシールシーケンサ21がバンドシール機を停止させる(これにより、スラットの移動も停止する)。また、上記浮き検出用光電スイッチ19,19からの信号が直接プログラマブルコントローラ20に入力されると共に、上記光電スイッチ14a,14bからのトリガ信号も直接プログラマブルコントローラ20に入力され、このトリガ信号ごとにカプセル剤の浮き出し検査が行われ、カプセル剤の浮き出しが検出された場合、上記第2コンピュータ17bからの総合判断結果に拘らず、プログラマブルコントローラ20が停止信号をバンドシールシーケンサ21に発信し、バンドシールシーケンサ21がバンドシール機を停止させるようになっている。
【0042】
上記第1コンピュータ17a、第2コンピュータ17b及びプログラマブルコントローラ20における検査アルゴリズムは、図12に示した通りである。即ち、第1コンピュータ17aでは、光電スイッチ14aからのトリガ信号によりトリガ判定を行い該トリガ判定後、検査を開始すると、一方の1次元カメラ3aからの電圧信号が入力され、該電圧信号を信号処理(波形変換、ウィンドウ設定、検査しきい値設定、バンドシール検出)してバンドシールの検出を行い、その結果を第2コンピュータ17bに出力する。一方、第2コンピュータ17bでも同様に、光電スイッチ14bからのトリガ信号入力、トリガ判定、他方の1次元カメラ3bから電圧信号入力、信号処理によるバンドシール検出を順次行い、その結果と上記第1コンピュータ17bの判定結果とから総合判定を行い、総合判定結果をプログラマブルコントローラ20に出力すると共に、CTR(ディスプレイ)に表示する。そして、プログラマブルコントローラ20では、カプセル浮き検出用光電スイッチ19,19からの信号と、上記第2コンピュータ17bから入力された総合判定結果とから、光電スイッチ14a及び14bからのトリガ信号ごとにバンドシール機停止判定を行い、上記総合判定及び浮き検出信号のいずれかに不良が有った場合、ディレイを介してタイミングを遅らせた後、バンドシール機停止信号をバンドシール機シーケンサ21に出力するようになっている。
【0043】
なお、図12の検査アルゴリズムには、特に図示していないが、この検査システムでは、上述した方法により、検査しきい値の自動設定、カプセル抜けの検出、及び光源劣化の検出を行うようになっている。
【0044】
このバンドシール検出装置を用い、白色ボディーと白色又は青色のキャップとからなるカプセルに紺色のバンドシールを施したカプセル剤について下記の実験を行い、検査しきい値、カプセル抜けしきい値、光源劣化しきい値の設定値を求めた。
【0045】
カプセル抜けしきい値の設定
図9に示した波形からカプセル抜けの波形の電圧値は、カプセル有りの場合の約30%程度であることが分かる。そこで、カプセル有りを100%、カプセル無しを30%としてカプセル抜けしきい値15をその中間の65%に設定し、空運転(カプセル無し)、良品カプセル(白キャップ)のみでの運転、バンドシール不良カプセル(白キャップ)のみでの運転及びバンドシール不良カプセル(青キャップ)のみでの運転を行い、バンドシールの検出実験(バンドシールの有無検査)を行った。なおこの場合、図7に示したウィンドウ12の幅はバンドシール幅の約2倍に設定すると共に、検査しきい値13は電圧波形上のカプセルキャップ1bに記載されたマーク1c(図5参照)の電圧値とバンドシール2(図5参照)の電圧値との間に設定した。結果を表1に示す。
【0046】
【表1】

Figure 0003580319
【0047】
表1の結果から明らかなように、空運転においてバンドシール不良として検出されたものはなく、空のカプセルポケットは全て検査対象から除外されたことが分かる。よって、カプセル抜けしきい値をカプセル有り時の電圧値の65%に設定することにより、確実にカプセル抜けを検出できることが確認された。従って、カプセル抜けしきい値は、ウィンドウ内におけるカプセル有り時の最高電圧値に対して65%の電圧値に設定した。
【0048】
検査しきい値の設定
上記カプセル抜けしきい値の設定時と同様の条件で、バンドシールの有無検査について大量実験を行ったところ、無駄ばね(良品を不良と判定)が生じたため、検査しきい値を変えて更に大量実験を行った。即ち、図7におけるウィンドウ12内の最大電圧値(最大明度)に対する40%,45%,50%(THR)の電圧値を検査しきい値13として自動設定するようにコンピュータにプログラムし、バンドシールの検出を行った。結果を表2に示す。
【0049】
【表2】
Figure 0003580319
【0050】
表2の結果から、THRを50%として検査しきい値を自動設定することにより、無駄ばね率0%,検出率100%の検査が可能であることが確認された。従って、検査しきい値のTHRは、50%に設定した。
【0051】
光源劣化しきい値の設定
スラット5を駆動するためのチェーンのカバー上に光源劣化検出用のマーク(白色)を貼り付け、このマーク上の明度が89/256階調となるように照明装置を設定し、THR50%の検査しきい値で上記と同様の条件によりバンドシール検出を行った。次に、マーク上の明度を56/256階調に落として明度が63%に劣化した条件で同様に実験を行った。結果を表3に示す。なお、両実験時の各ウィンドウ内における最大明度(白色の標準片をおいて測定)を表3に併記する。
【0052】
【表3】
Figure 0003580319
【0053】
表3の結果から、マーク上における明度が89/256階調から56/256階調に63%劣化しても検査精度は変化しないことが確認された。よって、光源劣化しきい値を63%設定した。
【0054】
上記各実験により得られた結果から設定した各設定値をまとめると下記表4の通りである。なお、表4中XS,XLは各ウィンドウ及び光源劣化検出用マークの両端部のポイント数(1次元カメラによる撮影範囲の端部からの距離)を表し、MAX及びMINはそれぞれシール幅の最大画素及び最小画素である。
【0055】
【表4】
Figure 0003580319
【0056】
白色ボディーと白色又は青色のキャップとからなるカプセルに紺色のバンドシールを施したカプセル剤を製造するに当たり、その製造ラインにおけるバンドシール機の搬送ラインに上記図10のバンドシール検出装置を構成し、表4に示した設定値で6日間に亘ってバンドシールの有無検査を行った。その結果、無駄ばね率0.008%,不良検出率100%の結果が得られた。また不良発生時には、バンドシール機が確実に停止し、停止したバンドシール機のスラット5から手作業により不良カプセル剤を取り除くことができた。更に、再びラインを稼働させることにより、良好にカプセル剤の製造及びバンドシール検査を再開させることができた。なお、6日間でのカプセル剤の検査数は白キャップのカプセル剤が20万個、水色キャップのカプセル剤が200万個で、不良カプセル剤の検出数は、白キャップのカプセル剤が2個、水色キャップのカプセル剤が2個であった。
【0057】
【発明の効果】
以上説明したように、本発明のカプセル剤のバンドシール検出方法によれば、多数のカプセル剤を搬送しながら自動的に信頼性の高いバンドシールの検査を行うことができ、しかもバンドシールの有無だけではなく、バンドシールの欠けや位置ずれ等の不良をも検出することが可能なものである。
【図面の簡単な説明】
【図1】本発明のカプセル剤のバンドシール検出方法を実施するための装置の一例を示す概略斜視図である。
【図2】同装置を構成するスラットを示す部分平面図である。
【図3】同装置のカプセル剤搬送機構を示す概略断面図であり、カプセル剤が(A)〜(C)に順次搬送されていく様子を示すものである。
【図4】同装置によるバンドシール検出システムを示す概略ブロック図である。
【図5】バンドシールを施したカプセル剤の一例を示す平面図である。
【図6】8個のカプセル剤を白色紙上にカプセル剤の長手方向に沿って1列に並べたカプセル列を該列の長さ方向に沿って1次元カメラで撮影し、その像から得られた電圧波形を示すグラフとカプセル列とを対比させて示した説明図である。
【図7】本発明のバンドシール検出方法において、得られた電圧波形に設定されたウィンドウ及び検査しきい値を説明する説明図である。
【図8】カプセルポケットにカプセルがある場合の電圧波形と、ない場合の電圧波形とを併記したグラフである。
【図9】本発明のバンドシール検出方法において、得られた電圧波形に設定されたカプセル抜けしきい値を説明する説明図である。
【図10】実施例において、本発明のバンドシール検出方法を実施するために構成したバンドシール検出装置を示す概略斜視図である。
【図11】同検出装置によるバンドシール検出システムを示すブロック図である。
【図12】同検出装置によるバンドシール検出のアルゴリズムを示すフローチャートである。
【符号の説明】
1 カプセル剤
2 バンドシール
3 1次元カメラ
4 基台
5 スラット
6 カプセルポケット
7 照明装置
10a,10b 偏光レンズ
12 ウィンドウ
13 検査しきい値
14 光電スイッチ
15 カプセル抜けしきい値[0001]
[Industrial applications]
The present invention relates to a method and an apparatus for automatically detecting a band seal of a capsule in which a band is sealed between a body of a capsule and a cap. More specifically, the present invention detects the presence / absence, width, displacement, etc. of a band seal. The present invention relates to a method for detecting a band seal of a capsule agent and a device for detecting a band seal of a capsule agent, wherein a defect inspection of a band seal can be performed by using the method, and a highly accurate inspection can be automatically performed.
[Prior art]
[0002]
2. Description of the Related Art Conventionally, when a capsule is filled with a liquid drug, an oxidatively decomposable drug, or the like, a so-called band seal that seals a gap between a body of the capsule and a cap has been performed.
[0003]
In such capsules, for example, capsules in which the main component is an oxidatively decomposable substance, defects such as missing, missing, or misaligned band seals cause deterioration of the filling agent and become fatal defects. For this reason, with respect to the capsules provided with such a band seal, in addition to the usual inspection, inspection for a defect of the band seal is performed.
[0004]
Conventionally, in the inspection of a band seal, at present, an inspector visually inspects a capsule agent which has been subjected to band sealing from a band sealing machine and discharged. In other words, in a normal band sealing machine, the capsules having been band-sealed are discharged by a conveyor-like transport mechanism in a state where they are aligned, and the inspector visually inspects the band seals of the capsules discharged in this aligned state. are doing.
[0005]
[Problems to be solved by the invention]
However, such a visual inspection imposes a severe task on the inspector, so that several inspectors perform the inspection on a rotating basis, which requires a large labor cost. In addition, it is very difficult to inspect for the presence or absence of a band seal, and it is almost impossible to inspect for defects such as chipping or misalignment of the band seal. The property cannot be obtained.
[0006]
The present invention has been made in view of the above circumstances, and it is possible to automatically perform a band seal inspection of capsules, and obtain high reliability, and not only the presence or absence of a band seal but also chipping and displacement. It is an object of the present invention to provide a method for detecting a band seal of a capsule agent and a device for detecting a band seal of a capsule agent capable of detecting a defect well.
[0007]
Means and Action for Solving the Problems
The present invention provides a band seal detecting method for detecting the above-mentioned band seal of a capsule in which a band is sealed between a body of a capsule and a cap, in order to achieve the above object. The capsule is irradiated with light of a predetermined luminous intensity at a predetermined transport position, and the capsule is photographed by a one-dimensional camera along its longitudinal direction, and the image is converted into a voltage signal. A voltage waveform indicating a change in brightness along the longitudinal direction of the capsule is obtained, a predetermined range including the band seal portion of the waveform is cut out as a window, and an inspection threshold value is set in the window, and Provided is a method for detecting a band seal of a capsule, comprising detecting a band seal from a relationship between a voltage waveform and the threshold value.
[0008]
That is, in the band seal detecting method of the present invention, first, a large number of capsules that have been band-sealed by a capsule sealing machine are continuously conveyed along the radial direction, and a predetermined luminous intensity is applied to the capsules at a predetermined conveyance position. And a voltage waveform showing a change in brightness along the longitudinal direction of the capsule by converting the image of the capsule into a voltage signal by taking an image of the capsule with a one-dimensional camera along the longitudinal direction. Get.
[0009]
In this case, the color of the capsule with the band seal is usually changed between the body and the cap of the capsule and the band seal so that the presence or absence of the band seal can be easily visually identified. It has been practiced to make the body of the capsule white, the cap light blue or the like, and the band seal dark blue or black. Therefore, when such a capsule is photographed by a one-dimensional camera as described above, and the image is converted into a voltage signal to obtain a voltage waveform indicating a change in brightness along the longitudinal direction of the capsule, a light-colored capsule body is obtained. In addition, the cap portion has a high voltage value because of high brightness, and the dark band seal portion has a low voltage value because of low brightness, and the band seal portion appears as a negative peak. Normally, such a combination is not performed, but when a dark band seal is applied to a capsule of a dark body and a cap, a voltage value is applied to a dark capsule body and a cap portion having low brightness. The voltage value of the light-colored band seal portion having a low brightness and a high value becomes high, and the band seal portion appears as a positive peak.
[0010]
Next, a predetermined range including the band seal portion (the above positive or negative peak portion) of the voltage waveform thus obtained is cut out as a window, and the inspection threshold value set in this window and the voltage waveform in this window are cut out. The band seal is detected from the relationship with That is, an inspection threshold is set between the voltage values of the capsule body and the cap and the voltage value of the band seal in the window, and the presence or absence of the band seal is detected based on whether or not the voltage waveform crosses the inspection threshold. Is what you do. Also, in this case, the width of the band seal can be detected by detecting the width of the band seal based on the width of the peak waveform representing the band seal crossing the inspection threshold, and further, this peak waveform crosses the inspection threshold. The position deviation of the band seal can be detected depending on the position. The setting of the window is for excluding, from the inspection target, a portion where the original brightness cannot be obtained due to a shadow or the like at both ends of the capsule, a mark or a symbol written on the capsule body and the cap, and the like. It is possible to reliably prevent the occurrence of erroneous detection.
[0011]
As described above, according to the band seal detection method of the present invention, a highly reliable band seal can be automatically inspected while a large number of capsules are being conveyed. It is also possible to detect defects such as chipping or displacement of the seal.
[0012]
Further, the present invention is a band seal detecting device for detecting the band seal of a capsule obtained by band sealing between a body of a capsule and a cap, as a device for detecting a band seal by the detection method, For transporting the capsule in a radial direction of the capsule by storing the capsule in a capsule pocket, an illuminating device for irradiating the capsule at a predetermined transport position with light, and the capsule at the predetermined transport position. A one-dimensional camera that takes an image of the capsule as a voltage signal by taking an image of the capsule as a voltage signal, and converts the voltage signal extracted by the one-dimensional camera into a voltage waveform indicating a change in brightness along the length of the capsule Waveform converting means, and a window setting means for cutting out a predetermined range including a band seal portion of the obtained waveform as a window, Inspection threshold setting means for setting an inspection threshold value in the window; and determination means for performing band seal detection determination based on a relationship between the voltage waveform in the window and the inspection threshold value. The present invention provides an apparatus for detecting a band seal of a capsule.
[0013]
That is, the device for detecting a band seal of a capsule according to the present invention detects a band seal of a capsule according to the method for detecting a band seal of the present invention, and stores the capsule in a capsule pocket of a conveying means. While keeping the capsule in a fixed posture, the capsule is transported along the radial direction in this state, and when the capsule is transported to a predetermined transport position, the capsule is applied to the capsule by the illumination device. While irradiating light of luminous intensity, the capsule is photographed along the longitudinal direction with the one-dimensional camera, and an image of the capsule is taken out as a voltage signal, and the voltage signal is converted by the waveform converting means into the longitudinal direction of the capsule. Is converted into a voltage waveform indicating a change in brightness along the line, and a predetermined range including a band seal portion of the obtained voltage waveform is set by the window setting means. In addition to cutting out the window, the inspection threshold is set in the window by the inspection threshold setting means, and the presence / absence of a band seal, lack, This is for determining a seal failure such as a position shift. The waveform converting means, the window setting means, the inspection threshold value setting means, and the judging means are configured as a computer program in a computer, input a voltage signal from the one-dimensional camera to the computer, and Processing can be performed.
[0014]
As described above, according to the band seal detecting device for capsules of the present invention, according to the band seal detecting method of the present invention, while a large number of capsules are transported by the transport mechanism, a highly reliable band seal is automatically detected. Inspection can be performed, and it is possible to detect not only the presence or absence of the band seal, but also a defect such as chipping or displacement of the band seal.
[0015]
Hereinafter, the present invention will be described in more detail with reference to the drawings.
As shown in FIG. 5, a capsule to be inspected by the band seal detecting method of the present invention is a capsule formed of a body 1a and a cap 1b, which is filled with a drug, and a band seal is formed between the body 1a and the cap 1b. 2, the capsule body 1a and the cap 1b are usually made of a light color such as white or light blue and the band seal 2 is made of a dark color such as dark blue or black. Conversely, the body 1a and the cap 1b may be dark and the band seal 2 may be light. In short, if there is a clear lightness difference between the colors of the body 1a and the cap 1b and the color of the band seal 2 Good. Some capsules 1 have a mark 1c or an identification mark 1d on the body 1a and cap 1b of the capsule, but such capsules can also be inspected. For the sake of convenience, in the following description, unless otherwise specified, a body 1a having a light blue numeral 1d on a white background and a cap 1b having a slightly darker blue color on a light blue or white background. A capsule in which a dark blue band seal 2 is applied to a capsule composed of the following, that is, a capsule in which a dark band seal 2 is applied to a light-colored body 1a and a cap 1b will be described as an inspection target.
[0016]
The method for detecting a band seal of a capsule of the present invention automatically detects the band seal 2 of the capsule 1 on which the band seal 2 is applied. First, a large number of the capsules on which the band seal 2 is applied by a band seal machine. The agent 1 is continuously conveyed along its radial direction, the capsule agent 1 is irradiated with light of a predetermined luminous intensity at a predetermined conveying position, and the capsule agent 1 is photographed by a one-dimensional camera along its longitudinal direction. Then, the image of the capsule 1 is converted into a voltage signal to obtain a voltage waveform indicating a brightness change along the longitudinal direction of the capsule 1.
[0017]
Specifically, for example, the apparatus shown in FIG. 1 is configured so that a one-dimensional camera 3 can photograph the capsule 1 while conveying a large number of capsules 1 to obtain a voltage waveform. That is, FIG. 1 shows an example of an apparatus for carrying out the band seal detection method of the present invention. FIG. 2 shows a plurality of long plate-like slats 5 moving like a conveyor belt on a base 4. The capsule 1 is accommodated in the capsule pocket 6 as described above, and the capsule 1 is accommodated in the capsule pocket 6, and the slat 5 moves on the base 4, so that the diameter of the capsule 1 is maintained while maintaining a constant posture. It is conveyed along the direction. Then, at a predetermined transport position, the capsule device 1 being transported is irradiated with light of a predetermined luminous intensity from an illuminating device 7 disposed above the capsule device 1, and the capsule agent 1 is disposed by the one-dimensional camera 3 disposed above. 1, and an image thereof is taken out as a voltage signal.
[0018]
Here, as shown in FIG. 2, a plurality of (eight in the figure) capsules 1 are arranged in one row along the longitudinal direction, and the capsule 1 is arranged in a radial direction of each capsule row. , So that a plurality (eight in the figure) of band seals can be detected at a time. That is, in the figure, eight capsule pockets 6 are connected in a row along the length direction of the long plate-shaped slat 5, and the capsule 1 is accommodated in these capsule pockets 6, and the slat 5 is moved along the width direction thereof. By moving in the direction of arrow 10 in FIG. 2, a capsule row composed of eight capsules 1 is conveyed along the radial direction of the capsules 1.
[0019]
Further, although not particularly limited, it is preferable that the capsule 1 being conveyed is rotated at least at the inspection position along the circumferential direction of the capsule 1, whereby a band seal is formed over the entire periphery of the capsule 1. 2 detections can be performed. As a method of rotating the capsule 1, as shown in FIG. 3, the capsule pocket 6 is formed in a through hole shape penetrating the slat 5, and the slat 5 is moved to be held in the capsule pocket 6. The capsule 1 can be transported while rolling on the base 4, whereby the imaging line 8 a by the one-dimensional camera 3 is moved in the radial direction of the capsule 1 by moving the capsule 1. At the same time, the capsule 1 can be caused to make one revolution by rotating the capsule.
[0020]
Here, all the capsule pockets 6 formed in the slat 5 are formed in a substantially elliptical shape corresponding to the capsule 1 as shown in FIG. The capsule 9 is formed so as to be slightly inclined in one direction from a line 9 b orthogonal to the traveling direction 10, so that all capsules 1 moving while rolling on the base 4 are in contact with one end side (upper side in the figure) of the capsule pocket 1. It is designed to move in a state where it is done. Thereby, all the capsules 1 conveyed to the inspection position are kept at a predetermined distance from the end of the slat 5, respectively. Each of the capsule pockets 6 has bulging portions 6a, 6a bulging outward on both sides of a middle portion in the longitudinal direction, and a finger is inserted into the bulging portions 6a, 6a to insert the capsule 1 into the capsule. Can be taken out.
[0021]
In this way, the conveyed capsule 1 is photographed by the one-dimensional camera 3 along the longitudinal direction of the capsule 1, and at this time, the illumination device 7 irradiates the capsule 1 with light having a predetermined luminous intensity. Thus, a clear brightness difference is obtained between the capsule body 1a and the cap 1b and the band seal 2. In this case, specular reflection may occur on the surface or the background of the capsule 1, and the brightness of such a mirrored portion is significantly higher than the actual brightness of the capsule 1 and the background, resulting in noise and a factor of erroneous inspection. Can be Therefore, as shown in FIG. 1, polarizing filters 10 a and 10 b are provided in the light source unit of the illumination device 7 and the lens 3 a of the one-dimensional camera 3, respectively, and light passing through the polarizing filter 10 a is passed through the capsule 1. In addition to the irradiation, it is preferable that the capsule agent 1 be photographed by the one-dimensional camera 3 through the polarizing filter 10b, whereby the specular reflection can be removed. That is, although the light emitted from the light source does not originally have polarization, the light becomes linearly polarized light by passing through a single polarizing filter 10a, and this light is irradiated on the surface of the capsule. Light other than specular reflection is reflected as light (less) without polarization. Then, when the capsule agent is photographed by the one-dimensional camera 3 through the polarizing filter 10b whose polarization direction matches the polarization direction of the illumination, light whose polarization direction matches does not pass through the polarization filter 10b. The result is that the mirror is removed.
[0022]
In addition, the one-dimensional camera 3 is installed so as to photograph the capsule 1 along the longitudinal direction of the capsule 1, and as shown in FIG. When all the capsules 1 in the capsule row are photographed along the length direction of the capsule row, when the capsules 1 are arranged in one row along. Specifically, as shown in FIG. 2, camera positioning marks 11, 11, 11 are provided on the slat 5 and the base 4 (more specifically, a cover of a chain for driving the slat 5), and these marks are provided. By installing the camera 3 so that 11 coincides with the photographing line of the camera 3, all capsules 1 in the capsule row can be photographed at a time.
[0023]
Further, the number of the one-dimensional camera 3 for photographing the capsule 1 may be one as shown in FIG. 1, but two or more cameras may be provided to photograph the capsule 1 with a time difference. That is, as described above, by taking an image while rotating the capsule 1, the band seal inspection can be performed over the entire circumference of the capsule 1, but in this case, the capsule 1 is captured by one one-dimensional camera. If it is difficult to photograph the entire circumference of the camera, a second one-dimensional camera is installed, and as shown in FIG. 3, the photographing line 8b of the second one-dimensional camera is moved to the first one. By setting the capsule agent 1 behind the imaging line 8a of the three-dimensional camera and passing the capsule 1 through the second imaging line 8b after passing through the imaging line 8a, the portion that could not be imaged with the imaging line 8a is set in the second line. Can be taken on the shooting line 8b.
[0024]
In this manner, by capturing the capsule 1 with the one-dimensional camera 3, an image on a line along the longitudinal direction of the capsule 1 is extracted as a voltage signal. In this case, when a capsule row in which a plurality of capsules 1 are arranged in one row is photographed, an image on a line along the length direction of the capsule row is taken out as a voltage signal.
[0025]
Then, the voltage signal thus obtained is converted into a waveform to obtain a voltage waveform indicating a change in brightness along the longitudinal direction of the capsule 1. In this case, a voltage waveform indicating a change in brightness along the length direction of the capsule row is obtained from the voltage signal obtained by photographing the capsule row. As shown in FIG. 6, the obtained voltage waveform shows a high voltage value because the light-colored portions of the capsule body 1a and the cap 1b of the capsule have a high lightness, and the dark-colored band seal 2 has a low lightness. Therefore, a low voltage value is shown, and the band seal portion appears as a negative peak.
[0026]
That is, FIG. 6 shows that eight capsules 1 are arranged in a line on a white paper along the longitudinal direction of the capsules 1, and the capsule line is photographed by a one-dimensional camera along the length of the line. The voltage waveform obtained from the image is shown in comparison with the capsule row, and the brightness of the capsule body 1a (light blue), the cap 1b (white), and the band seal 2 (dark blue) are shown at positions corresponding to the respective capsules 1. It can be seen that a voltage waveform appears, and the band seal 2 portion appears as a negative peak. Here, the waveform shown in FIG. 6 is obtained by arranging capsules on white paper. In the apparatus shown in FIG. 1, the capsules 1 are arranged on the slats 5 made of metal. Yes, the background becomes black by filtering, and the waveform indicating the capsule appears more clearly. That is, the waveform in FIG. 6 is a waveform under the worst condition, and a good waveform can be obtained even under such a condition. When a dark band seal is applied to the capsule of the dark body and the cap, contrary to the capsule 1, the dark capsule body and the cap having a low brightness have a low voltage value and a high brightness. The lighter band seal portion has a higher voltage value, and the band seal portion appears as a positive peak.
[0027]
Next, the band seal detection method of the present invention cuts out a predetermined range including the band seal portion of the voltage waveform thus obtained as a window, sets the inspection threshold value set in this window and the voltage in this window. The band seal is detected from the relationship with the waveform. That is, as shown in FIG. 7, the window 12 is set in a predetermined range including the band seal portion of the voltage waveform, the inspection threshold 13 is provided in the window 12, and the inspection threshold 13 and the window 12 are set. The band seal is detected from the relationship with the voltage waveform inside. Specifically, the presence or absence of a band seal is detected based on whether or not the voltage waveform crosses the inspection threshold value 13 in the window 12 (the band seal is present when the voltage crosses, and the band seal is not present when the voltage does not cross). Also, as shown in FIG. 7, the peak waveform of the band seal that crosses the inspection threshold 13 is binarized, and the width of the band seal is detected based on the binarized width, so that the band seal can be inspected for chipping or the like. Further, the position of the band seal can be detected based on the position where this peak waveform crosses the inspection threshold value 13. In this case, the setting of the window 12 removes the portions such as the both ends of the capsule where the original brightness cannot be obtained due to shading or the like, the marks 1c and the symbols 1d written on the capsule body 1a and the cap 1b, and the like, from the inspection target. This reliably prevents the occurrence of erroneous detection. Although not shown in FIG. 7, the window 12 and the inspection threshold value 13 are set for all capsules in the capsule row.
[0028]
Here, the setting of the window 12 can be performed as follows. That is, in the case of the apparatus shown in FIG. 1, the direction of the capsule 1 is all restricted, the directions of the cap 1b and the body 1d are all constant, and the direction of the capsule discharged from the normal band sealer is regulated. As described above, all the capsules 1 are kept at a predetermined distance from the ends of the slats 5, respectively. The window 12 may be set at a position corresponding to the portion. If the direction of the capsule 1 is at random, the both ends of the capsule are derived from the voltage waveform obtained for each capsule conveyed to the inspection position, and the band seal is determined based on the distance from the end. What is necessary is just to set a window to a part automatically.
[0029]
Further, the width of the window 12 may be wider than the peak width of the normal band seal 2 appearing in the voltage waveform and can remove both ends of the capsule 1 and the marks 1c and 1d. It can be set appropriately depending on the width and the like. More specifically, if only the presence or absence of the band seal is detected, as long as the both ends of the capsule 1 and the marks 1c and 1d can be removed, variations in the capsule 1 in the capsule pocket 6 are allowed. Therefore, it is preferable to make the width relatively wide. On the other hand, by setting the width of the window 12 to be almost the width of the band seal 2 and strictly detecting whether or not the peak of the band seal 2 crosses the inspection threshold 13 in the window 12, the band seal 2 At the same time as the presence / absence inspection, the width and position of the band seal can be inspected.
[0030]
Next, the inspection threshold value 13 is set between the voltage values of the capsule body 1 a and the cap 1 b and the voltage value of the band seal 2. In this case, the inspection threshold 13 can be set in advance in the window 12 by setting a predetermined voltage value as the inspection threshold 13 in the window 12. It is preferable to automatically set each of the prepared capsules. That is, since the light source of the illumination device 7 irradiates the capsule row on the slat 5 from above the central part of the slat 5, the central part of the slat 5 is bright and both ends are relatively dark. For this reason, as shown in FIG. 6, the obtained voltage waveform has a high voltage value at the center and low at both ends, and there is a possibility that an erroneous inspection may occur with a single inspection threshold. In addition, the obtained voltage value may be different depending on the capsule agent to be conveyed, and furthermore, the luminous intensity of the irradiated light may be reduced due to the deterioration of the light source or the like, and the voltage value may fluctuate. A single test threshold can cause erroneous tests. Therefore, as described above, it is preferable to automatically set an appropriate inspection threshold for each capsule in the capsule row and for each capsule transported to the inspection position.
[0031]
As a method of automatically setting the inspection threshold 13, the highest voltage in the window 12 of the voltage waveform obtained for each capsule 1 conveyed to the inspection position and for each capsule 1 in the capsule row A predetermined percentage of the voltage value (when the capsule body and the cap are light and the band seal is dark) or the minimum voltage value (when the capsule body and the cap are dark and the band seal is light) is set as the inspection threshold 13. A method of automatically setting is suitably used. That is, for example, when the capsule body 1a and the cap 1b are light-colored and the band seal 2 is the dark-colored capsule 1, the highest voltage value in the window 12 is the portion of the body 1a or the cap 1b of the capsule having the highest lightness. The voltage drop ratio of the band seal 2 to the value is constant even if the light applied to the capsule 1 changes, as long as the color tone of the capsule body 1a or the cap 1b and the band seal 2 is constant. Therefore, as shown in FIG. 7, a predetermined percentage (hereinafter, referred to as THR) with respect to the maximum voltage value (maximum brightness) in the window 12 is set as the inspection threshold value, so that each capsule in the capsule row and An appropriate inspection threshold value 13 can be automatically set for each capsule delivered to the inspection position. When the capsule body 1a and the cap 1b are dark and the band seal 2 is light, the band seal 3 has a positive peak and the capsule body 1a or the cap 1b appears as the minimum voltage value in the window 12. Therefore, in this case, the THR is a predetermined percentage (a value exceeding 100%) with respect to the minimum voltage value (minimum brightness).
[0032]
As described above, the window 12 is set, the inspection threshold 13 is set in the window 12, and the band seal is detected from the relationship between the inspection threshold 13 and the waveform in the window 12. In this case, the capsule 1 is continuously transported to the inspection position, and the inspection is continuously performed on a large number of capsules (or a large number of capsule rows). At this time, after inspecting one capsule (or capsule row), before inspecting the next capsule (or next capsule row), the upper surface or the edge of the slat 5 passes through the inspection position. However, if these are photographed by the one-dimensional camera 3 and inspected in the same manner as the capsule, this is determined to be a defective capsule. For this reason, it is necessary to exclude these parts from the inspection target, and as a method, an appropriate sensor detects that the capsule is transported to the inspection position, and the inspection is performed only when the capsule is at the inspection position. The method that is performed is preferably adopted. Specifically, as shown in FIG. 1, a photoelectric switch 14 is installed, a mark provided on the slat 5 or an end of the slat 5 is detected by the photoelectric switch 14, and a trigger signal is transmitted. The inspection may be started and stopped.
[0033]
Also, it is generally unlikely that the capsule pocket 6 of the slat 5 will come off and the empty capsule pocket 6 comes to the inspection position. However, the empty capsule pocket 6 may pass through the inspection position for some reason. In such a case, the capsule is detected as a defective capsule, resulting in an erroneous inspection. Therefore, it is preferable that such empty capsule pockets are also removed from the inspection target. As shown in FIG. 7, a capsule missing is detected in the window 12 separately from the inspection threshold 13 as shown in FIG. For detecting the capsule delivery failure (specifically, empty capsule pocket 6) from the relationship between the capsule removal threshold 15 and the waveform in the window 12. A method of excluding from the target is suitably adopted.
[0034]
The detection method of the capsule detachment will be described in more detail. The metal slat 5 is recognized as almost black by passing through the filter, and the voltage value obtained is much lower than the waveform of the capsule agent 1. And a low voltage value of the empty capsule pocket is set between the high voltage value portion of the capsule agent 1 and the low voltage value of the empty capsule pocket. If there is a capsule, it is determined that there is a capsule;
[0035]
That is, FIG. 8 shows a voltage waveform (solid line) of the slat 5 in which the capsule 1 is not contained in the capsule pocket 6 and a voltage waveform (dashed line) of the slat 5 in which the capsule 1 is contained. However, the voltage values of the waveforms obtained when the capsule 1 is stored and the case where the capsule 1 is not stored are greatly different. Therefore, as shown in FIG. 9, the decapsulation threshold 15 is set between the highest voltage value of the waveform with a capsule (broken line) and the highest voltage value of the waveform without a capsule (solid line) in the window 12, and Capsule detachment is detected based on whether a voltage value higher than the capsule detachment threshold value 15 exists in the waveform in 12, and an empty capsule pocket is excluded from the inspection target.
[0036]
In the case where the detachment of the capsule agent occurs very rarely, it is not always necessary to detect the detachment of the capsule. That is, when a band seal defect is detected, as described later, a treatment is taken to stop the transport device and remove the capsule, or to automatically remove the defective capsule from the capsule pocket 5. Even if a means for stopping the transfer device is adopted, and the capsule is removed and it is determined that the capsule is defective, and even if the device is stopped, there is no problem that the inspection efficiency is improved if it is extremely small. .
[0037]
Further, the band seal detection method of the present invention adopts a method of automatically setting the inspection threshold value 13 for each capsule according to the above-described method, so that the change in the illuminance of light applied to the capsule is good. However, when the light source of the illumination device 7 or the polarizing filter 10a is deteriorated and the illuminance is significantly reduced, it may be difficult to detect the band seal. Therefore, it is preferable to provide a means for detecting the state of deterioration of the light source or the polarizing filter, and to stop the inspection when it becomes difficult to detect a normal band seal. The method of detecting the deterioration of the light source is not particularly limited, but a mark is provided on a fixed portion of the inspection position (for example, a cover of a chain driving the slat 5) photographed by the one-dimensional camera together with the capsule agent 1. A window is set in this part in the same manner as the capsule 1, and its brightness is obtained as a voltage value. A light source deterioration threshold value is provided in the window, and the voltage value (brightness) deteriorates the light source. When the light source voltage falls below the threshold value, it can be determined that the light source has deteriorated.
[0038]
Here, means for converting the voltage signal extracted by the one-dimensional camera 3 into a voltage waveform, means for setting a window 12 in an inspection portion of the waveform, means for setting an inspection threshold 13 in the window 12, and a photoelectric switch Means for controlling the start and stop of the inspection by a trigger signal from 14, a means for detecting a band seal from the voltage waveform in the window 12 and the inspection threshold 13, and a threshold 15 for decapsulation in the window 12 Means for detecting encapsulation from the voltage waveform in the window 12 and the encapsulation threshold 15, and a window for detecting light source deterioration, setting of the light source deterioration threshold, means for determining light source deterioration, etc. Can be set as a computer program in the computer using the computer. In this case, the detection result of the band seal determined by the computer can be output as an electric signal. When a defect of the band seal is detected, the signal and the transfer device and the band seal are transmitted by a signal through a control device such as a sequencer. It is also possible to stop the machine and manually remove defective capsules, or configure a device for removing defective capsules and send a signal from the computer to the removing device to automatically remove defective capsules. it can.
[0039]
FIG. 4 is a block diagram showing a case where band seal detection is performed using a computer by the apparatus shown in FIG. That is, a voltage signal obtained by taking an image of the capsule (or capsule row) with the one-dimensional camera 3 is input to the computer 17 via the one-dimensional camera input board 16, and the voltage signal is transmitted along the longitudinal direction of the capsule. Is converted into a voltage waveform indicating a change in brightness, and a trigger signal from the photoelectric switch 14 is input to the computer 17 via the I / O board, and the band seal detection is started by the trigger signal. When the detection starts, a predetermined range including the band seal portion of the voltage waveform is cut out by the computer 17 as the window 12, and the inspection threshold value 13 is automatically set in the window 12, and the band seal is detected. Be done. At the same time, the capsule detachment threshold 15 is set, the detection of the capsule detachment is performed, and if the capsule detachment has occurred, the inspection on the capsule pocket is canceled. Then, the inspection result is displayed on the display of the computer 17, and when a band seal defect is detected, it is transmitted as an electric signal via the I / O board 18, and the conveying device and the band seal machine are transmitted by this signal. The operation is stopped and the defective capsule is manually removed, or the defective capsule agent is automatically removed by a defective capsule removing device. In addition, as the defective capsule removing device, a method of arranging a suction pipe above the slat 5 behind the inspection position and suctioning and removing the defective capsule agent from the capsule pocket 6 with the suction pipe is suitably adopted. .
[0040]
【Example】
Hereinafter, the present invention will be described more specifically with reference to examples.
The band seal detecting device shown in FIG. 10 was configured, and the presence or absence of the band seal of the capsule was inspected. The apparatus shown in FIG. 10 uses two one-dimensional cameras 3a, 3b and two photoelectric switches 14a, 14b corresponding to the cameras 3a, 3b to be conveyed while being rotated by the respective cameras 3a, 3b. The apparatus is configured to take an image of the capsule 1 that is to be taken in a half-circumference along the circumferential direction, and the other parts are the same as those of the apparatus of FIG. 1 described above. Further, this apparatus uses the capsule material transport mechanism of the band seal machine as it is as a transport mechanism, and after each slat 5 is discharged from the band seal machine while holding the capsule material 1, the two one-dimensional It passes under the cameras 3a and 3b. Reference numerals 19 and 19 in the figure are floating detection photoelectric switches for detecting that the capsule 1 is raised from the capsule pocket 6 of the slat 5. When the capsule 1 is raised from the capsule pocket 6, It has been known that a band seal failure occurs due to the structure of the band sealing machine, and the floating detection photoelectric switches 19 and 19 detect the band seal failure.
[0041]
FIG. 11 shows a block diagram of the band seal detecting device. That is, using two computers 17a and 17b, a voltage signal from one one-dimensional camera 3a is input to the first computer 17a via the one-dimensional camera input board 16a, and a voltage signal from the other one-dimensional camera 3b is input. The signals are input to the second computer 17b via the one-dimensional camera input board 16b, and the trigger signals from the photoelectric switches 14a, 14b corresponding to the inspection positions of the respective cameras 3a, 3b are output from the I / O boards 18a, 18b, respectively. The data is input to the first computer 17a and the second computer 17b via the interface 18b. The detection result of the voltage signal of one one-dimensional camera 3a by the first computer 17a is input to the second computer 17b via the I / O boards 18a and 18b, and the second computer 17b outputs the detection result of the other one-dimensional camera 3b. In addition to performing an inspection determination on the voltage signal, a comprehensive determination is made from the inspection result and the inspection result from the first computer 17a, and the result is input to the programmable controller 20 via the I / O board 18b, and the determination result is obtained. , The programmable controller 20 transmits a stop signal to the band seal sequencer 21 and the band seal sequencer 21 stops the band sealing machine (this stops the movement of the slat). Further, signals from the floating detection photoelectric switches 19, 19 are directly input to the programmable controller 20, and trigger signals from the photoelectric switches 14a, 14b are also directly input to the programmable controller 20, and a capsule is provided for each trigger signal. When the embossing test is performed and the embossing of the capsule is detected, the programmable controller 20 transmits a stop signal to the band seal sequencer 21 regardless of the comprehensive judgment result from the second computer 17b, and the band seal sequencer Numeral 21 stops the band sealing machine.
[0042]
The inspection algorithm in the first computer 17a, the second computer 17b, and the programmable controller 20 is as shown in FIG. That is, in the first computer 17a, a trigger is determined by a trigger signal from the photoelectric switch 14a, and after the trigger is determined, when an inspection is started, a voltage signal from one of the one-dimensional cameras 3a is input, and the voltage signal is subjected to signal processing. (Waveform conversion, window setting, inspection threshold setting, band seal detection) to detect the band seal, and output the result to the second computer 17b. On the other hand, similarly, the second computer 17b sequentially performs a trigger signal input from the photoelectric switch 14b, a trigger determination, a voltage signal input from the other one-dimensional camera 3b, and band seal detection by signal processing. Comprehensive determination is performed from the determination result of 17b, and the comprehensive determination result is output to the programmable controller 20 and displayed on a CTR (display). Then, the programmable controller 20 uses the signals from the capsule floating detection photoelectric switches 19, 19 and the comprehensive judgment result input from the second computer 17b to generate a band sealer for each trigger signal from the photoelectric switches 14a and 14b. When the stop determination is performed and there is a defect in either of the overall determination and the floating detection signal, the timing is delayed through a delay, and then the band sealer stop signal is output to the band sealer sequencer 21. ing.
[0043]
Although not particularly shown in the inspection algorithm of FIG. 12, this inspection system performs automatic setting of the inspection threshold value, detection of capsule omission, and detection of light source deterioration by the above-described method. ing.
[0044]
Using this band seal detection device, the following experiment was conducted on capsules in which a dark blue band seal was applied to a capsule consisting of a white body and a white or blue cap. The set value of the threshold was determined.
[0045]
Setting of the capsule missing threshold
From the waveform shown in FIG. 9, it can be seen that the voltage value of the waveform without the capsule is about 30% of the case with the capsule. Therefore, the capsule detachment threshold value 15 is set to 65% in the middle, with the capsule presence being 100% and the capsule absence being 30%, and the idle operation (no capsule), the operation with only the good capsule (white cap), the band seal The operation with only the defective capsule (white cap) and the operation with only the band seal defective capsule (blue cap) were performed, and the band seal detection experiment (inspection of the presence or absence of the band seal) was performed. In this case, the width of the window 12 shown in FIG. 7 is set to be about twice the width of the band seal, and the inspection threshold value 13 is a mark 1c written on the capsule cap 1b on the voltage waveform (see FIG. 5). And the voltage value of the band seal 2 (see FIG. 5). Table 1 shows the results.
[0046]
[Table 1]
Figure 0003580319
[0047]
As is clear from the results in Table 1, no band seal failure was detected in the idle operation, and all empty capsule pockets were excluded from the inspection target. Therefore, it was confirmed that by setting the capsule detachment threshold to 65% of the voltage value when the capsule is present, it is possible to reliably detect the capsule detachment. Therefore, the capsule detachment threshold value was set to a voltage value of 65% of the maximum voltage value when the capsule was present in the window.
[0048]
Setting inspection thresholds
A mass experiment was conducted on the presence or absence of a band seal under the same conditions as when setting the capsule detachment threshold. As a result, wasteful springs (defective products were determined to be defective) occurred. An experiment was performed. That is, the computer is programmed to automatically set the voltage values of 40%, 45%, 50% (THR) with respect to the maximum voltage value (maximum brightness) in the window 12 in FIG. Was detected. Table 2 shows the results.
[0049]
[Table 2]
Figure 0003580319
[0050]
From the results in Table 2, it was confirmed that by automatically setting the inspection threshold value with THR being 50%, it was possible to perform an inspection with a useless spring rate of 0% and a detection rate of 100%. Therefore, the inspection threshold THR was set to 50%.
[0051]
Setting of light source deterioration threshold
A mark (white) for light source deterioration detection is pasted on the cover of the chain for driving the slat 5, and the illuminating device is set so that the brightness on the mark is 89/256 gradations, and the THR 50% inspection is performed. Band seal detection was performed at the threshold value under the same conditions as above. Next, an experiment was similarly performed under the condition that the lightness on the mark was reduced to 56/256 gradations and the lightness was degraded to 63%. Table 3 shows the results. Table 3 also shows the maximum brightness (measured with a white standard piece) in each window during both experiments.
[0052]
[Table 3]
Figure 0003580319
[0053]
From the results in Table 3, it was confirmed that the inspection accuracy did not change even if the lightness on the mark was reduced by 63% from 89/256 to 56/256 tones. Therefore, the light source deterioration threshold was set to 63%.
[0054]
Table 4 below summarizes the set values set from the results obtained in the above experiments. In Table 4, XS and XL represent the number of points at both ends of each window and the mark for detecting light source deterioration (the distance from the end of the shooting range of the one-dimensional camera), and MAX and MIN represent the maximum pixels of the seal width, respectively. And the minimum pixel.
[0055]
[Table 4]
Figure 0003580319
[0056]
In producing a capsule in which a dark blue band seal is applied to a capsule composed of a white body and a white or blue cap, the band seal detecting device of FIG. 10 is configured on a transport line of a band seal machine in the production line, Inspection for the presence or absence of a band seal was performed at the set values shown in Table 4 for 6 days. As a result, a result of a useless spring rate of 0.008% and a defect detection rate of 100% was obtained. When a defect occurred, the band sealing machine stopped without fail, and the defective capsule agent could be manually removed from the slat 5 of the stopped band sealing machine. Further, by operating the line again, it was possible to satisfactorily resume the production of the capsule and the inspection of the band seal. In addition, the number of capsules inspected in 6 days was 200,000 capsules in white cap, 2 million capsules in light blue cap, and the number of defective capsules detected was 2 capsules in white cap, There were two capsules with a light blue cap.
[0057]
【The invention's effect】
As described above, according to the method for detecting a band seal of a capsule of the present invention, a highly reliable band seal can be automatically inspected while a large number of capsules are conveyed. Not only that, it is also possible to detect defects such as chipping and displacement of the band seal.
[Brief description of the drawings]
FIG. 1 is a schematic perspective view showing an example of an apparatus for implementing a method for detecting a band seal of a capsule agent of the present invention.
FIG. 2 is a partial plan view showing a slat constituting the device.
FIG. 3 is a schematic cross-sectional view showing a capsule agent transport mechanism of the same device, and shows how the capsule agent is sequentially transported in (A) to (C).
FIG. 4 is a schematic block diagram showing a band seal detection system using the same device.
FIG. 5 is a plan view showing an example of a capsule having a band seal.
FIG. 6 shows a capsule row in which eight capsules are arranged on a white paper along the longitudinal direction of the capsules by a one-dimensional camera along the length direction of the rows, and obtained from the image. FIG. 7 is an explanatory diagram showing a graph showing a voltage waveform and a capsule row in comparison.
FIG. 7 is an explanatory diagram illustrating a window and an inspection threshold set in an obtained voltage waveform in the band seal detection method of the present invention.
FIG. 8 is a graph showing a voltage waveform when a capsule is present in a capsule pocket and a voltage waveform when a capsule is not present.
FIG. 9 is an explanatory diagram illustrating a capsule detachment threshold value set in an obtained voltage waveform in the band seal detection method of the present invention.
FIG. 10 is a schematic perspective view showing a band seal detecting device configured to carry out the band seal detecting method of the present invention in the embodiment.
FIG. 11 is a block diagram showing a band seal detection system using the detection device.
FIG. 12 is a flowchart showing an algorithm of band seal detection by the detection device.
[Explanation of symbols]
1 capsule
2 band seal
3 One-dimensional camera
4 bases
5 slats
6 capsule pockets
7 Lighting equipment
10a, 10b Polarized lens
12 windows
13 Inspection threshold
14 Photoelectric switch
15 Capsule missing threshold

Claims (11)

カプセルのボディーとキャップとの間をバンドシールしたカプセル剤の上記バンドシールを検出するバンドシール検出方法であって、
多数のカプセル剤をその径方向に沿って連続的に搬送し、所定の搬送位置でこのカプセル剤に所定光度の光を照射すると共に、該カプセル剤をその長手方向に沿って1次元カメラにより撮影し、その像を電圧信号に変換してカプセル剤の長手方向に沿った明度変化を示す電圧波形を得、該波形のバンドシール部分を含む所定範囲をウィンドウとして切り出すと共に、該ウィンドウ内に検査しきい値を設定して、ウィンドウ内の電圧波形とこのしきい値との関係からバンドシールを検出することを特徴とするカプセル剤のバンドシール検出方法。
A band seal detection method for detecting the band seal of the capsule, which is a band sealed between the body and the cap of the capsule,
A large number of capsules are continuously conveyed along the radial direction, and at a predetermined conveyance position, the capsules are irradiated with light of a predetermined luminous intensity, and the capsules are photographed by a one-dimensional camera along the longitudinal direction. Then, the image is converted into a voltage signal to obtain a voltage waveform indicating a change in brightness along the longitudinal direction of the capsule, and a predetermined range including the band seal portion of the waveform is cut out as a window and inspected in the window. A band seal detecting method for a capsule agent, comprising setting a threshold value and detecting a band seal from a relationship between a voltage waveform in a window and the threshold value.
複数のカプセル剤を該カプセル剤の長手方向に沿って1列に並べ、該カプセル列をカプセル剤の径方向に沿って搬送すると共に、検査位置に搬送されてきたカプセル列の全カプセル剤を1次元カメラにより一度に撮影してカプセル列全体の長さ方向に沿った明度変化を示す電圧波形を得、得られた電圧波形に対して各カプセル剤ごとにウィンドウを設定する請求項1記載のカプセル剤のバンドシール検出方法。A plurality of capsules are arranged in a row along the longitudinal direction of the capsule, the capsule row is conveyed along the radial direction of the capsule, and all capsules in the capsule row conveyed to the inspection position are counted as one. 2. The capsule according to claim 1, wherein a voltage waveform showing a change in brightness along the length direction of the entire capsule row is obtained by photographing at a time with a two-dimensional camera, and a window is set for each capsule in the obtained voltage waveform. Method of detecting band seal of agent. 検査位置に搬送されてきた各カプセル剤ごとにウィンドウ内の最大又は最小電圧値に対する所定パーセントの電圧値を検査しきい値として自動設定する請求項1又は2記載のカプセル剤のバンドシール検出方法。3. The method for detecting a band seal of a capsule according to claim 1, wherein a voltage value of a predetermined percentage with respect to the maximum or minimum voltage value in the window is automatically set as an inspection threshold for each capsule transported to the inspection position. カプセル剤を周方向に沿って回転させながら搬送し、カプセル剤の全周に亘ってバンドシールの検出を行う請求項1乃至3のいずれか1項に記載のカプセル剤のバンドシール検出方法。The method for detecting a band seal of a capsule according to any one of claims 1 to 3, wherein the capsule is conveyed while being rotated along the circumferential direction, and the band seal is detected over the entire circumference of the capsule. ウィンドウ内の電圧波形が検査しきい値を横切るか否かによりバンドシールの有無を検出すると共に、検査しきい値を横切る正又は負のピーク幅によりバンドシールの幅を検出し、かつ該ピークが検査しきい値を横切る位置によりバンドシールのずれを検出する請求項1乃至4のいずれか1項に記載のカプセル剤のバンドシール検出方法。The presence or absence of a band seal is detected based on whether or not the voltage waveform in the window crosses the inspection threshold, and the width of the band seal is detected based on the positive or negative peak width that crosses the inspection threshold. The method for detecting a band seal of a capsule according to any one of claims 1 to 4, wherein a shift of the band seal is detected based on a position crossing the inspection threshold. ウィンドウ内に検査しきい値とは別にカプセル抜けしきい値を設定し、このカプセル抜けしきい値とウィンドウ内の電圧波形との関係からカプセル剤の搬送不良を認識して検査対象から除外する請求項1乃至5のいずれか1項に記載のカプセル剤のバンドシール検出方法。A request for setting a capsule detachment threshold in the window separately from the inspection threshold, recognizing a capsule material transport failure from the relationship between the capsule detachment threshold and the voltage waveform in the window and excluding the capsule from the inspection target. Item 6. The method for detecting a band seal of a capsule according to any one of Items 1 to 5. カプセル剤に偏光フィルタを通した光を照射すると共に、このカプセル剤を偏光フィルタを介して1次元カメラで撮影することにより、カプセル表面及び背景の鏡明反射を除去するようにした請求項1乃至6のいずれか1項に記載のカプセル剤のバンドシール検出方法。4. The method according to claim 1, wherein the capsule is irradiated with light having passed through a polarizing filter, and the capsule is photographed with a one-dimensional camera through the polarizing filter to remove specular reflection on the capsule surface and the background. 7. The method for detecting a band seal of a capsule according to any one of 6. カプセルのボディーとキャップとの間をバンドシールしたカプセル剤の上記バンドシールを検出するバンドシール検出装置であって、
カプセル剤をカプセルポケット内に収容して該カプセル剤の径方向に沿って搬送する搬送手段と、
所定搬送位置にあるカプセル剤に光を照射する照明装置と、
上記所定搬送位置にあるカプセル剤を該カプセル剤の長手方向に沿って撮影し、カプセル剤の像を電圧信号として取り出す1次元カメラと、
該1次元カメラにより取り出した電圧信号をカプセル剤の長手方向に沿った明度変化を示す電圧波形に変換する波形変換手段と、
得られた波形のバンドシール部分を含む所定範囲をウィンドウとして切り出すウィンドウ設定手段と、
上記ウィンドウ内に検査しきい値を設定する検査しきい値設定手段と、
ウィンドウ内の電圧波形と上記検査しきい値との関係からバンドシールの検出判定を行う判定手段とを具備してなることを特徴とするカプセル剤のバンドシール検出装置。
A band seal detecting device for detecting the band seal of the capsule agent that is band-sealed between the body of the capsule and the cap,
Conveying means for housing the capsule in a capsule pocket and conveying the capsule along the radial direction of the capsule,
An illuminating device for irradiating the capsule agent at a predetermined transport position with light,
A one-dimensional camera that photographs the capsule at the predetermined transport position along the longitudinal direction of the capsule, and extracts an image of the capsule as a voltage signal;
Waveform converting means for converting a voltage signal extracted by the one-dimensional camera into a voltage waveform indicating a change in brightness along the longitudinal direction of the capsule;
Window setting means for cutting out a predetermined range including a band seal portion of the obtained waveform as a window,
Inspection threshold setting means for setting an inspection threshold in the window,
A band seal detecting device for capsules, comprising: a determination unit for performing band seal detection determination based on a relationship between a voltage waveform in a window and the inspection threshold.
ウィンドウ内に検査しきい値とは別にカプセル抜けしきい値を設定するカプセル抜けしきい値設定手段と、
上記カプセル抜けしきい値とウィンドウ内の電圧波形との関係から空のカプセルポケットを認識して検査対象から除外するカプセル抜け判定手段とを具備した請求項8記載のカプセル剤のバンドシール検出装置。
A decapsulation threshold setting means for setting a decapsulation threshold separately from the inspection threshold in the window,
The capsule seal band seal detecting device according to claim 8, further comprising: a capsule detachment determining means for recognizing an empty capsule pocket from the relationship between the capsule detachment threshold value and the voltage waveform in the window and excluding the capsule pocket from the inspection target.
搬送手段が、基台上を一方向にスライド移動する多数の板状スラットに貫通穴状のカプセルポケットを形成してなり、該カプセルポケット内にカプセル剤を収容した状態でスラットが移動することにより、カプセル剤が基台上を転がりながら一方向に搬送されるものである請求項8又は9記載のカプセル剤のバンドシール検出装置。The conveying means forms a through-hole-shaped capsule pocket in a large number of plate-like slats sliding in one direction on the base, and the slat moves while the capsule agent is accommodated in the capsule pocket. 10. The device according to claim 8, wherein the capsule is conveyed in one direction while rolling on the base. 照明装置の光源に偏光フィルタを設置し、該偏光フィルタを通した光をカプセル剤に照射すると共に、1次元カメラにも偏光フィルタを設置し、該偏光フィルタを介してカプセル剤を撮影することにより、カプセル表面及び背景の鏡明反射を除去するようにした請求項8乃至10のいずれか1項に記載のカプセル剤のバンドシール検出装置。By installing a polarizing filter in the light source of the lighting device, irradiating the capsule with the light passing through the polarizing filter, and installing a polarizing filter also in the one-dimensional camera, and photographing the capsule through the polarizing filter. 11. The device for detecting a band seal of a capsule according to any one of claims 8 to 10, wherein a specular reflection on a surface and a background of the capsule is removed.
JP18896294A 1994-07-19 1994-07-19 Capsule band seal detection method and band seal detection device Expired - Lifetime JP3580319B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18896294A JP3580319B2 (en) 1994-07-19 1994-07-19 Capsule band seal detection method and band seal detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18896294A JP3580319B2 (en) 1994-07-19 1994-07-19 Capsule band seal detection method and band seal detection device

Publications (2)

Publication Number Publication Date
JPH0826229A JPH0826229A (en) 1996-01-30
JP3580319B2 true JP3580319B2 (en) 2004-10-20

Family

ID=16232984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18896294A Expired - Lifetime JP3580319B2 (en) 1994-07-19 1994-07-19 Capsule band seal detection method and band seal detection device

Country Status (1)

Country Link
JP (1) JP3580319B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19651954A1 (en) * 1996-12-13 1998-06-18 Bayer Bitterfeld Gmbh Device for cutting a strip packaging
EP2498743B1 (en) * 2009-11-13 2017-03-01 Capsugel Belgium NV Determination of the quality of the seal of sealed capsules using a microwave resonator
CN109533507B (en) * 2017-09-21 2021-01-26 奥克斯空调股份有限公司 Automatic detection method of automatic packing machine
JP7330328B1 (en) * 2022-05-17 2023-08-21 Ckd株式会社 Visual inspection auxiliary device

Also Published As

Publication number Publication date
JPH0826229A (en) 1996-01-30

Similar Documents

Publication Publication Date Title
JP3669698B2 (en) Inspection method and inspection apparatus for printed matter
JP3640247B2 (en) Tablet appearance inspection device and PTP packaging machine
JP5697168B2 (en) Inspection device and PTP packaging machine
WO2011064857A1 (en) Cigarette inspection device
JP3580319B2 (en) Capsule band seal detection method and band seal detection device
JP2001033390A (en) Visual examination apparatus of tablet and ptp packaging machine
JP2005291939A (en) Apparatus and method for inspecting ptp sheet
JPH07204253A (en) Tablet inspection system
JPH0821805A (en) Appearance inspecting method and device thereof
JP3730082B2 (en) Cigarette inspection device
JP4304690B2 (en) Tape member inspection device
JP2003291929A (en) Inspection method and apparatus for single-dose package sheet
JP2002139444A (en) Visual inspection apparatus for tablet and ptp packaging machine
JP2010151457A (en) Container label inspecting device
JP2004101339A (en) Visual inspection apparatus of round rod body
JP2000065546A (en) Film packaging inspection method and device
JPH11287763A (en) Automatic inspection method of egg, transfer-controlling device of egg suited for it, and automatic inspection device of egg
JP3494561B2 (en) Tablet appearance inspection method and tablet appearance inspection device
JPH1172440A (en) Method and apparatus for visual inspection of stamped tablet
JP3761313B2 (en) Tablet appearance inspection method, tablet appearance inspection device and blister sheet packaging machine
JP2000266514A (en) Method and device for inspecting metallic sheet
JP4173257B2 (en) Sheet visual inspection device and PTP packaging machine
JP7189417B2 (en) Article inspection device
JP4034222B2 (en) Appearance inspection apparatus for PTP sheet packed with tablets and PTP packaging machine
JP4266887B2 (en) Fruit and vegetable inspection equipment

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040630

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040713

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090730

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090730

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100730

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100730

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110730

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110730

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120730

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120730

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130730

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term