JP6444913B2 - Inspection device and blister packaging machine - Google Patents

Inspection device and blister packaging machine Download PDF

Info

Publication number
JP6444913B2
JP6444913B2 JP2016038600A JP2016038600A JP6444913B2 JP 6444913 B2 JP6444913 B2 JP 6444913B2 JP 2016038600 A JP2016038600 A JP 2016038600A JP 2016038600 A JP2016038600 A JP 2016038600A JP 6444913 B2 JP6444913 B2 JP 6444913B2
Authority
JP
Japan
Prior art keywords
inspection
tag
tablet
contents
light
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.)
Active
Application number
JP2016038600A
Other languages
Japanese (ja)
Other versions
JP2017156183A (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.)
CKD Corp
Original Assignee
CKD Corp
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 CKD Corp filed Critical CKD Corp
Priority to JP2016038600A priority Critical patent/JP6444913B2/en
Publication of JP2017156183A publication Critical patent/JP2017156183A/en
Application granted granted Critical
Publication of JP6444913B2 publication Critical patent/JP6444913B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Containers And Plastic Fillers For Packaging (AREA)
  • Medical Preparation Storing Or Oral Administration Devices (AREA)

Description

本発明は、ブリスタシートの製造に際し、錠剤等の内容物に埋設されたICタグの検査を行う検査装置、及び、当該検査装置を有するブリスタ包装機に関する。   The present invention relates to an inspection device for inspecting an IC tag embedded in a content such as a tablet in the production of a blister sheet, and a blister packaging machine having the inspection device.

ブリスタシートは、錠剤やカプセル等の内容物が収容されるポケット部の形成された容器フィルムと、その容器フィルムに対しポケット部の開口側を密封するように取着されるカバーフィルムとを備えている。   The blister sheet is provided with a container film in which a pocket part for storing contents such as tablets and capsules is formed, and a cover film attached to the container film so as to seal the opening side of the pocket part. Yes.

また、内容物に対し、各種情報を記憶したICタグを埋設する場合がある。近年では、ブリスタシートを製造するためのブリスタ包装機に、ICタグから情報を読み取る読取手段を設け、内容物に埋設されたICタグから情報を読み取るとともに、読み取った情報に基づき、内容物が適正であるか否かを判定する手法が提案されている(例えば、特許文献1等参照)。尚、当該手法によれば、ICタグに関し、その有無や種類に関する検査を行うことも可能である。   In some cases, an IC tag storing various information is embedded in the contents. In recent years, blister packaging machines for manufacturing blister sheets are provided with reading means for reading information from IC tags, and information is read from IC tags embedded in the contents, and the contents are appropriate based on the read information. There has been proposed a method for determining whether or not (see, for example, Patent Document 1). In addition, according to the method, it is possible to inspect the presence or type of the IC tag.

一方、内容物に対しICタグが所期の数だけ埋設されているか否かの検査については、例えば、アンチコリジョン機能を用い、内容物に対し情報の読取処理を実行し、内容物に埋設されたICタグから情報を読み取ることにより実行可能である。アンチコリジョン機能とは、所定の検索条件にて行われる前記読取処理と、前記検索条件を変更する処理とを繰り返し行い、複数のICタグから情報を個別に読取可能とする機能である。アンチコリジョン機能を利用することで、内容物内におけるICタグの数を把握することができ、ひいては把握した数に基づき、ICタグの数に関する適否を検査することができる。   On the other hand, for checking whether or not the IC tags are embedded in the desired number of contents, for example, using an anti-collision function, information is read from the contents and embedded in the contents. It can be executed by reading information from the IC tag. The anti-collision function is a function that makes it possible to individually read information from a plurality of IC tags by repeatedly performing the reading process performed under a predetermined search condition and the process of changing the search condition. By using the anti-collision function, the number of IC tags in the contents can be grasped, and accordingly, suitability for the number of IC tags can be inspected based on the grasped number.

特許第4666951号公報Japanese Patent No. 4666951

しかしながら、アンチコリジョン機能を用いる場合には、ICタグ等に、アンチコリジョン機能を実行するための機能を設ける必要があり、コストの増大を招いてしまうおそれがある。   However, when the anti-collision function is used, a function for executing the anti-collision function needs to be provided in the IC tag or the like, which may increase the cost.

さらに、ICタグから情報を読み取って検査する手法では、内容物内におけるICタグの埋設位置や姿勢、形状についての検査を行うことができない。内容物内におけるICタグの埋設位置等が正常でないと、例えば、内容物におけるICタグを覆う部分が局所的に薄くなって内容物の欠損が生じやすくなってしまったり、ICタグが内容物の外部に露見して外観品質が低下してしまったりするおそれがある。また、内容物が錠剤やカプセルなどの医薬品等である場合には、内容物が欠損しやすくなることで、内容物が溶け出すまでの時間が不安定になってしまう等の事態が生じてしまい、ひいては所期の薬効が得られなかったり、何らかの副作用が生じてしまったりすることも考えられる。   Furthermore, the method of inspecting information by reading information from an IC tag cannot inspect the embedded position, posture, and shape of the IC tag in the contents. If the embedded position of the IC tag in the content is not normal, for example, the portion of the content that covers the IC tag is locally thinned and the content is likely to be lost. There is a risk that the external appearance quality may deteriorate due to exposure to the outside. In addition, when the contents are medicines such as tablets and capsules, the contents are likely to be lost, which may cause a situation in which the time until the contents melt becomes unstable. As a result, the expected medicinal effect may not be obtained, or some side effects may occur.

本発明は、上記事情に鑑みてなされたものであり、その目的は、検査効率の向上やコストの増大抑制を図りつつ、内容物内に埋設されたICタグの埋設位置や数、姿勢、形状に関する検査を行うことができる検査装置及びブリスタ包装機を提供することにある。   The present invention has been made in view of the above circumstances, and its purpose is to improve the inspection efficiency and suppress the increase in cost, while embedment positions, number, posture, and shape of IC tags embedded in the contents. It is to provide an inspection device and a blister packaging machine capable of performing inspections related to the above.

以下、上記目的を解決するのに適した各手段につき、項分けして説明する。なお、必要に応じて対応する手段に特有の作用効果を付記する。   In the following, each means suitable for solving the above-described object will be described in terms of items. In addition, the effect specific to the means to respond | corresponds as needed is added.

手段1.ブリスタシートの製造過程にあって、搬送される帯状の容器フィルムに形成されたポケット部に対し所定のICタグの埋設された内容物が収容された後、前記ポケット部を塞ぐように前記容器フィルムに対し帯状のカバーフィルムが取着される前の段階において用いられる検査装置であって、
前記ポケット部に収容された前記内容物に対し、所定の光を照射する照明手段と、
前記容器フィルムを介して前記照明手段とは反対側に設けられ、少なくとも前記内容物を透過した前記照明手段からの光を撮像可能な撮像手段と、
当該撮像手段により得られた透過画像における、前記ICタグに対応する陰影部分を特定する陰影特定手段と、
当該陰影特定手段による特定結果に基づき検査を行う検査手段と、
当該検査手段による検査結果に基づき、前記内容物の良否を判定する良否判定手段とを備えることを特徴とする検査装置。
Means 1. In the blister sheet manufacturing process, after the contents embedded with a predetermined IC tag are accommodated in the pocket portion formed in the belt-like container film to be conveyed, the container film is closed so as to close the pocket portion. An inspection device used in a stage before the belt-like cover film is attached,
Illuminating means for irradiating the contents stored in the pocket portion with predetermined light;
An imaging means provided on the opposite side of the illumination means through the container film and capable of imaging light from the illumination means that has transmitted at least the contents;
A shadow specifying means for specifying a shadow portion corresponding to the IC tag in the transmission image obtained by the imaging means;
Inspection means for performing inspection based on the identification result by the shadow identification means;
An inspection apparatus comprising: a quality determination unit that determines quality of the contents based on an inspection result by the inspection unit.

尚、「前記ICタグに対応する陰影部分を特定する」とあるのは、内容物内にICタグが存在している場合に、その陰影部分を特定することのみならず、内容物内にICタグが存在していない場合に、その陰影部分が存在していないことを特定することも含む。   The phrase “specify the shadow portion corresponding to the IC tag” not only specifies the shadow portion when the IC tag exists in the contents, but also specifies the IC portion in the contents. It also includes specifying that the shaded portion does not exist when the tag does not exist.

上記手段1によれば、内容物内にICタグが埋設されている場合には、撮像手段により得られた透過画像にICタグに対応する陰影部分が存在することとなる。この陰影部分の位置は、ICタグの平面的な位置(X−Y平面上の位置)を示し、この陰影部分の濃淡は、ICタグの高さ方向の位置(Z軸方向の位置)を示すものとなる。例えば、陰影部分が比較的濃い場合、ICタグは撮像手段に対し比較的近い位置に存在しており、陰影部分が薄い場合、ICタグは撮像手段から比較的遠い位置に存在していることになる。従って、透過画像の陰影部分に基づき、内容物内におけるICタグの三次元的な埋設位置を把握することができ、この把握した埋設位置に基づき、ICタグの埋設位置に関する検査を行うことができる。   According to the means 1, when the IC tag is embedded in the contents, the shadow portion corresponding to the IC tag exists in the transmission image obtained by the imaging means. The position of the shaded portion indicates the planar position of the IC tag (position on the XY plane), and the shading of the shaded portion indicates the position of the IC tag in the height direction (position in the Z-axis direction). It will be a thing. For example, when the shadow portion is relatively dark, the IC tag is present at a position relatively close to the image pickup means, and when the shadow portion is thin, the IC tag is present at a position far from the image pickup means. Become. Therefore, the three-dimensional embedded position of the IC tag in the contents can be grasped based on the shaded portion of the transmission image, and the inspection regarding the buried position of the IC tag can be performed based on the grasped buried position. .

また、陰影部分の数や面積、形状は、ICタグの数や姿勢、形状によって変化する。例えば、ICタグが扁平状である場合、ICタグの姿勢が正常でないと、一般的には陰影部分の面積が正常値に対し減少する。また、埋設されているICタグの種別が正常でない場合など、ICタグの形状が適切でない場合、陰影部分の面積や形状は、正常な場合と比べて異なったものとなる。さらに、陰影部分の濃淡は、ICタグの高さ位置に加えて、ICタグの姿勢や形状によっても変化し得る。従って、陰影部分の数や面積、濃淡、形状等に基づき、ICタグの数や姿勢、形状に関する検査を行うことができる。   Further, the number, area, and shape of the shaded portion vary depending on the number, posture, and shape of the IC tag. For example, when the IC tag is flat, if the IC tag is not in a normal posture, the area of the shaded portion generally decreases with respect to the normal value. In addition, when the shape of the IC tag is not appropriate, such as when the type of the embedded IC tag is not normal, the area and shape of the shaded portion are different from those when normal. Further, the shading of the shaded part can be changed not only by the height position of the IC tag but also by the posture and shape of the IC tag. Therefore, it is possible to inspect the number, posture, and shape of the IC tag based on the number, area, shading, shape, etc. of the shadow portion.

尚、仮に内容物内にICタグが埋設されていない場合には、ICタグに対応する陰影部分が存在しないこととなる。そのため、陰影部分の有無を判定することにより、ICタグの有無についても検査することができる。   If the IC tag is not embedded in the contents, there is no shadow portion corresponding to the IC tag. Therefore, the presence / absence of an IC tag can be inspected by determining the presence / absence of a shadow portion.

さらに、上記手段1によれば、ICタグ等に対し、アンチコリジョン機能等の検査のための特別な機能を持たせる必要はない。これにより、検査効率の向上やコストの増大抑制を図ることができる。   Furthermore, according to the means 1, it is not necessary to give the IC tag or the like a special function for inspection such as an anti-collision function. As a result, it is possible to improve inspection efficiency and suppress cost increase.

手段2.前記照明手段から照射される光の光量を変更可能な光量変更手段を備え、
前記光量変更手段により前記照明手段から照射される光の光量を段階的に変更しつつ、前記撮像手段により複数の前記透過画像を得るように構成されていることを特徴とする手段1に記載の検査装置。
Mean 2. Comprising a light amount changing means capable of changing the amount of light emitted from the illumination means;
The means 1 is configured to obtain a plurality of the transmission images by the imaging means while changing the light quantity of light emitted from the illuminating means stepwise by the light quantity changing means. Inspection device.

上記手段2によれば、照明手段から照射される光の光量を段階的に変更させつつ、撮像手段によって複数の透過画像が得られる。従って、複数の透過画像に基づき、陰影部分の位置や濃淡、数などに関するより細かな情報を得ることができる。これにより、検査精度の向上を図ることができる。   According to the means 2, a plurality of transmission images can be obtained by the imaging means while changing the light amount of light emitted from the illumination means in a stepwise manner. Therefore, based on a plurality of transmission images, it is possible to obtain more detailed information regarding the position, shade, number, etc. of the shadow portion. Thereby, the inspection accuracy can be improved.

手段3.前記照明手段は、
前記ポケット部の開口側から、前記内容物に対し所定の光を照射する第一照明手段と、
前記ポケット部の突出側から、前記内容物に対し所定の光を照射する第二照明手段とを有し、
前記撮像手段は、
前記容器フィルムを介して前記第一照明手段とは反対側に設けられ、少なくとも前記内容物を透過した前記第一照明手段からの光を撮像可能な第一撮像手段と、
前記容器フィルムを介して前記第二照明手段とは反対側に設けられ、少なくとも前記内容物を透過した前記第二照明手段からの光を撮像可能な第二撮像手段とを有することを特徴とする手段1又は2に記載の検査装置。
Means 3. The illumination means includes
First illumination means for irradiating the contents with predetermined light from the opening side of the pocket portion,
From the projecting side of the pocket portion, having a second illumination means for irradiating the contents with predetermined light,
The imaging means includes
A first imaging means provided on the opposite side of the first illumination means through the container film and capable of imaging light from the first illumination means that has transmitted at least the contents;
A second imaging unit provided on the opposite side of the second illuminating unit through the container film and capable of imaging light from the second illuminating unit that has transmitted at least the contents; The inspection apparatus according to Means 1 or 2.

上記手段3によれば、内容物を表裏両面側から撮像することにより得られた複数の透過画像に基づき、ICタグに対応する陰影部分の濃淡や数などに関するより正確な情報を得ることができる。これにより、ICタグの埋設位置や数などをより精度よく把握することができ、検査精度を一層向上させることができる。   According to the means 3, it is possible to obtain more accurate information on the density and number of shadow portions corresponding to the IC tag, based on a plurality of transmission images obtained by imaging the contents from both the front and back sides. . As a result, the embedded position and number of IC tags can be grasped with higher accuracy, and the inspection accuracy can be further improved.

手段4.手段1乃至3のいずれかに記載の検査装置を備えることを特徴とするブリスタ包装機。   Means 4. A blister packaging machine comprising the inspection device according to any one of means 1 to 3.

上記手段4によれば、上記手段1等と同様の作用効果が奏されることとなる。   According to the means 4, the same effects as those of the means 1 and the like are achieved.

PTPシートの斜視図である。It is a perspective view of a PTP sheet. PTPシートの一部破断拡大正面図である。It is a partially broken enlarged front view of a PTP sheet. 錠剤の平面図である。It is a top view of a tablet. PTP包装機の概略構成を示す模式図である。It is a schematic diagram which shows schematic structure of a PTP packaging machine. ICタグ検査装置の電気的構成を示すブロック図である。It is a block diagram which shows the electrical structure of an IC tag inspection apparatus. 照明装置を模式的に示す部分断面図である。It is a fragmentary sectional view which shows an illuminating device typically. 照明装置及びカメラの配置位置を示すための模式図である。It is a schematic diagram for showing the arrangement position of an illuminating device and a camera. 検査領域ウインドウ枠の概念を説明するための模式図である。It is a schematic diagram for demonstrating the concept of a test | inspection area | region window frame. 位置判定ウインドウ枠の概念を説明するための模式図である。It is a schematic diagram for demonstrating the concept of a position determination window frame. 第一濃淡画像データの模式図である。It is a schematic diagram of 1st grayscale image data. 第二〜第四濃淡画像データの模式図である。It is a schematic diagram of 2nd-4th grayscale image data. 第二〜第四濃淡画像データにおけるICタグ部分の輝度の差異を説明するためのグラフである。It is a graph for demonstrating the difference in the brightness | luminance of the IC tag part in 2nd-4th grayscale image data. ICタグがカメラに近い位置に配置されている状態を示す模式図である。It is a schematic diagram which shows the state by which the IC tag is arrange | positioned in the position near a camera. ICタグがカメラに近い位置に配置されている状態において、得られた濃淡画像データにおけるICタグ部分の濃淡を例示する模式図である。It is a schematic diagram which illustrates the shading of the IC tag part in the obtained shading image data in the state where the IC tag is arrange | positioned in the position close | similar to a camera. ICタグがカメラに近い位置に配置されている状態において、第二〜第四濃淡画像データにおけるICタグ部分の輝度を例示するグラフである。It is a graph which illustrates the brightness | luminance of the IC tag part in the 2nd-4th gray image data in the state where the IC tag is arrange | positioned in the position close | similar to a camera. ICタグがカメラから遠い位置に配置されている状態を示す模式図である。It is a schematic diagram which shows the state by which the IC tag is arrange | positioned in the position far from a camera. ICタグがカメラから遠い位置に配置されている状態において、得られた濃淡画像データにおけるICタグ部分の濃淡を例示する模式図である。It is a schematic diagram which illustrates the shading of the IC tag part in the obtained shading image data in the state where the IC tag is arrange | positioned in the position far from a camera. ICタグがカメラから離れた位置に配置されている状態において、第二〜第四濃淡画像データにおけるICタグ部分の輝度を例示するグラフである。It is a graph which illustrates the brightness | luminance of the IC tag part in the 2nd-4th grayscale image data in the state where the IC tag is arrange | positioned in the position away from the camera. ICタグの二次元的な位置にズレがある場合における濃淡画像データの一例を示す模式図である。It is a schematic diagram which shows an example of the grayscale image data in case there exists a shift | offset | difference in the two-dimensional position of an IC tag. ICタグの個数に誤りがある場合における濃淡画像データの一例を示す模式図である。It is a schematic diagram which shows an example of the grayscale image data in case there is an error in the number of IC tags. ICタグの姿勢に異常がある場合における濃淡画像データの一例を示す模式図である。It is a schematic diagram which shows an example of the grayscale image data in case there exists abnormality in the attitude | position of an IC tag. 検査処理のフローチャートである。It is a flowchart of an inspection process. 錠剤位置特定処理のフローチャートである。It is a flowchart of a tablet position specific process.

以下に、一実施形態について図面を参照しつつ説明する。   Hereinafter, an embodiment will be described with reference to the drawings.

まず、ブリスタシートとしてのPTPシート1について説明する。図1及び図2に示すように、PTPシート1は、複数のポケット部2を備えた容器フィルム3と、ポケット部2を塞ぐようにして容器フィルム3に取着されたカバーフィルム4とを有している。   First, the PTP sheet 1 as a blister sheet will be described. As shown in FIGS. 1 and 2, the PTP sheet 1 includes a container film 3 having a plurality of pocket portions 2 and a cover film 4 attached to the container film 3 so as to close the pocket portions 2. doing.

容器フィルム3は、例えばPP(ポリプロピレン)やPVC(ポリ塩化ビニル)等の透明又は半透明な熱可塑性樹脂材料などによって形成されている。一方、カバーフィルム4は、例えばポリエステル樹脂等からなるシーラントが表面に塗布された不透明材料(例えば、アルミニウム箔等)により構成されている。   The container film 3 is formed of a transparent or translucent thermoplastic resin material such as PP (polypropylene) or PVC (polyvinyl chloride). On the other hand, the cover film 4 is made of an opaque material (for example, aluminum foil or the like) having a sealant made of, for example, a polyester resin or the like applied on the surface.

PTPシート1は、平面視略矩形状に形成されており、シート長手方向に沿って配列された5個のポケット部2からなるポケット列が、シート短手方向に2列形成されている。つまり、計10個のポケット部2が形成されている。各ポケット部2には、内容物としての錠剤5が1つずつ収容されている。   The PTP sheet 1 is formed in a substantially rectangular shape in a plan view, and two pocket rows composed of five pocket portions 2 arranged along the longitudinal direction of the sheet are formed in the lateral direction of the sheet. That is, a total of 10 pocket portions 2 are formed. Each pocket 2 stores one tablet 5 as a content.

また、図2及び図3に示すように、錠剤5には、平面視正方形状をなす扁平なICタグ6が埋設されている。本実施形態において、ICタグ6は、設計上、錠剤5の中心に1つだけ埋設されるように構成されている。すなわち、ICタグ6は、設計上、錠剤5を平面視したときに錠剤5の中心に位置し、かつ、錠剤5を側面視したときに錠剤5のその高さ方向に沿った中心に1つだけ位置するように構成されている。さらに、ICタグ6は、設計上、錠剤5を平面視したときにほぼ正方形状に見える姿勢で錠剤5に埋設されるようになっている。   As shown in FIGS. 2 and 3, a flat IC tag 6 having a square shape in plan view is embedded in the tablet 5. In this embodiment, only one IC tag 6 is configured to be embedded in the center of the tablet 5 by design. That is, by design, the IC tag 6 is located at the center of the tablet 5 when the tablet 5 is viewed in plan, and one at the center along the height direction of the tablet 5 when the tablet 5 is viewed from the side. It is configured to be located only. Furthermore, the IC tag 6 is designed to be embedded in the tablet 5 in a posture that looks almost square when the tablet 5 is viewed in plan.

ICタグ6は、情報を記憶するための集積回路と、当該集積回路に接続されたアンテナとを有している。   The IC tag 6 has an integrated circuit for storing information and an antenna connected to the integrated circuit.

集積回路には、例えば、錠剤5の固有情報と、錠剤5の製造に伴う変動情報とが記憶されている。錠剤5の固有情報の例としては、製薬会社名、医薬品名、型式、有効成分等が挙げられる。一方、錠剤5の製造に伴う変動情報の例としては、工場、ライン番号、製造日、ロット番号、有効期限、検査結果等が挙げられる。   In the integrated circuit, for example, unique information of the tablet 5 and variation information associated with the manufacture of the tablet 5 are stored. Examples of the unique information of the tablet 5 include a pharmaceutical company name, a pharmaceutical name, a model, and an active ingredient. On the other hand, examples of variation information associated with the manufacture of the tablet 5 include a factory, a line number, a manufacturing date, a lot number, an expiration date, an inspection result, and the like.

アンテナは、前記集積回路に記憶された情報の読み取り及び前記集積回路への情報の書き込みのために用いられるものであり、所定の電波を送受信するものである。アンテナによって、前記集積回路に対する情報の読み取り及び書き込みを非接触で外部から行えるようになっている。   The antenna is used for reading information stored in the integrated circuit and writing information to the integrated circuit, and transmits and receives predetermined radio waves. An antenna can read and write information to and from the integrated circuit from the outside without contact.

次に、上記PTPシート1を製造するためのブリスタ包装機としてのPTP包装機11の概略構成について図4を参照して説明する。   Next, a schematic configuration of a PTP packaging machine 11 as a blister packaging machine for producing the PTP sheet 1 will be described with reference to FIG.

PTP包装機11の最上流側では、帯状の容器フィルム3の原反がロール状に捲回されている。ロール状に捲回された容器フィルム3の引出し端側は、ガイドロール13に案内されている。容器フィルム3は、ガイドロール13の下流側において間欠送りロール14に掛装されている。間欠送りロール14は、間欠的に回転するモータに連結されており、容器フィルム3を間欠的に搬送する。   On the most upstream side of the PTP wrapping machine 11, the raw material of the strip-shaped container film 3 is wound into a roll. The drawing end side of the container film 3 wound in a roll shape is guided by a guide roll 13. The container film 3 is hooked on the intermittent feed roll 14 on the downstream side of the guide roll 13. The intermittent feed roll 14 is connected to a motor that rotates intermittently and transports the container film 3 intermittently.

ガイドロール13と間欠送りロール14との間には、容器フィルム3の搬送経路に沿って、加熱装置15及びポケット部形成装置16が順に配設されている。そして、加熱装置15によって容器フィルム3が加熱されて該容器フィルム3が比較的柔軟になった状態において、ポケット部形成装置16によって容器フィルム3の所定位置に複数のポケット部2が成形される。ポケット部2の成形は、間欠送りロール14による容器フィルム3の搬送動作間のインターバルの際に行われる。   Between the guide roll 13 and the intermittent feed roll 14, a heating device 15 and a pocket portion forming device 16 are sequentially arranged along the conveyance path of the container film 3. Then, in a state where the container film 3 is heated by the heating device 15 and the container film 3 becomes relatively flexible, the pocket portion forming device 16 forms a plurality of pocket portions 2 at predetermined positions of the container film 3. The pocket portion 2 is formed at an interval between the transport operations of the container film 3 by the intermittent feed roll 14.

間欠送りロール14から送り出された容器フィルム3は、テンションロール18、ガイドロール19及びフィルム受けロール20の順に掛装されている。フィルム受けロール20は、一定回転するモータに連結されているため、容器フィルム3を連続的に且つ一定速度で搬送する。テンションロール18は、容器フィルム3を弾性力によって緊張する側へ引っ張った状態とされており、前記間欠送りロール14とフィルム受けロール20との搬送動作の相違による容器フィルム3の弛みを防止して容器フィルム3を常時緊張状態に保持する。これにより、容器フィルム3は、テンションロール18及びフィルム受けロール20間において、停止することなく連続搬送される。   The container film 3 sent out from the intermittent feed roll 14 is hung in the order of the tension roll 18, the guide roll 19, and the film receiving roll 20. Since the film receiving roll 20 is connected to a motor that rotates at a constant speed, the container film 3 is transported continuously and at a constant speed. The tension roll 18 is in a state where the container film 3 is pulled toward the side where the container film 3 is tensioned by an elastic force, and prevents the container film 3 from slackening due to the difference in the transport operation between the intermittent feed roll 14 and the film receiving roll 20. The container film 3 is always kept in a tension state. Thereby, the container film 3 is continuously conveyed between the tension roll 18 and the film receiving roll 20 without stopping.

ガイドロール19とフィルム受けロール20との間には、容器フィルム3の搬送経路に沿って、錠剤充填装置21、シール前検査装置22、及び、検査装置としてのICタグ検査装置23がこの順序で配設されている。   Between the guide roll 19 and the film receiving roll 20, a tablet filling device 21, a pre-seal inspection device 22, and an IC tag inspection device 23 as an inspection device are arranged in this order along the conveyance path of the container film 3. It is arranged.

錠剤充填装置21は、ポケット部2に錠剤5を自動的に充填する充填手段としての機能を有する。錠剤充填装置21は、フィルム受けロール20による容器フィルム3の搬送動作と同期して、所定間隔毎にシャッタを開くことで錠剤5を落下させるものであり、このシャッタ開放動作に伴って各ポケット部2に錠剤5が充填される。尚、錠剤5は、不良品でない限り、予めICタグ6が埋設された状態となっている。   The tablet filling device 21 has a function as a filling means for automatically filling the tablet 5 in the pocket portion 2. The tablet filling device 21 is configured to drop the tablets 5 by opening the shutter at predetermined intervals in synchronization with the transport operation of the container film 3 by the film receiving roll 20, and each pocket portion is accompanied by the shutter opening operation. 2 is filled with tablets 5. The tablet 5 is in a state where the IC tag 6 is embedded in advance unless it is a defective product.

シール前検査装置22は、上流側より順に、第一検査装置T1、第二検査装置D及び第三検査装置Aを備えている。これら各検査装置T1,D,Aにより、錠剤5における割れや欠け、表面剥離の有無に関する検査、錠剤5に対する異物の付着の有無の検査、及び、錠剤5の形状や大きさが製造品種と適合しているか否かについての検査などが行われる。   The pre-seal inspection device 22 includes a first inspection device T1, a second inspection device D, and a third inspection device A in order from the upstream side. By these inspection devices T1, D, and A, the inspection on the presence or absence of cracks or chipping in the tablet 5 or the surface peeling, the inspection on the presence or absence of foreign matter on the tablet 5, and the shape and size of the tablet 5 are compatible with the production type. The inspection about whether or not is done.

ICタグ検査装置23は、上流側検査装置24及び下流側検査装置25を備えている。両検査装置24,25により、ICタグ6の埋設位置(二次元的な位置及び高さ位置)や数、形状(大きさ)、姿勢に関する良否が判定され、ひいては錠剤5が正常であるか否かが判定される。検査装置24,25の構成や検査手法については後に詳述する。   The IC tag inspection device 23 includes an upstream inspection device 24 and a downstream inspection device 25. Both inspection devices 24 and 25 determine whether the IC tag 6 is embedded (two-dimensional position and height position), number, shape (size), and posture, and whether the tablet 5 is normal. Is determined. The configuration and inspection method of the inspection devices 24 and 25 will be described in detail later.

一方、帯状に形成されたカバーフィルム4の原反は、最上流側においてロール状に捲回されている。   On the other hand, the raw material of the cover film 4 formed in a strip shape is wound in a roll shape on the most upstream side.

ロール状に捲回されたカバーフィルム4の引出し端は、ガイドロール26によって加熱ロール27の方へと案内されている。加熱ロール27は、前記フィルム受けロール20に圧接可能となっており、両ロール20,27間に容器フィルム3及びカバーフィルム4が送り込まれるようになっている。そして、容器フィルム3及びカバーフィルム4が、両ロール20,27間を加熱圧接状態で通過することにより、容器フィルム3にカバーフィルム4が貼着され、ポケット部2がカバーフィルム4で塞がれる。これにより、錠剤5が各ポケット部2に充填された帯状のPTPフィルム7が製造されるようになっている。本実施形態では、フィルム受けロール20及び加熱ロール27によって、シール手段が構成される。   The drawing end of the cover film 4 wound in a roll shape is guided toward the heating roll 27 by the guide roll 26. The heating roll 27 can be pressed against the film receiving roll 20, and the container film 3 and the cover film 4 are fed between the rolls 20 and 27. And when the container film 3 and the cover film 4 pass between both the rolls 20 and 27 in a heating-pressing state, the cover film 4 is stuck to the container film 3, and the pocket part 2 is closed by the cover film 4. . Thereby, the strip-shaped PTP film 7 in which the tablet 5 is filled in each pocket portion 2 is manufactured. In the present embodiment, the film receiving roll 20 and the heating roll 27 constitute a sealing means.

フィルム受けロール20から送り出されたPTPフィルム7は、テンションロール28及び間欠送りロール29の順に掛装されている。間欠送りロール29は、間欠的に回転するモータに連結されているため、PTPフィルム7を間欠的に搬送する。テンションロール28は、PTPフィルム7を弾性力によって緊張する側へ引っ張った状態とされており、前記フィルム受けロール20と間欠送りロール29との搬送動作の相違によるPTPフィルム7の弛みを防止してPTPフィルム7を常時緊張状態に保持する。   The PTP film 7 sent out from the film receiving roll 20 is hung in the order of the tension roll 28 and the intermittent feed roll 29. Since the intermittent feed roll 29 is connected to an intermittently rotating motor, the PTP film 7 is intermittently conveyed. The tension roll 28 is in a state in which the PTP film 7 is pulled toward the side to be tensioned by an elastic force, and prevents the PTP film 7 from slacking due to the difference in the transport operation between the film receiving roll 20 and the intermittent feed roll 29. The PTP film 7 is always kept in tension.

間欠送りロール29から送り出されたPTPフィルム7は、テンションロール31及び間欠送りロール32の順に掛装されている。間欠送りロール32は、間欠的に回転するモータに連結されているため、PTPフィルム7を間欠的に搬送する。テンションロール31は、PTPフィルム7を弾性力によって緊張する側へ引っ張った状態とされており、前記間欠送りロール29,32間でのPTPフィルム7の弛みを防止する。   The PTP film 7 sent out from the intermittent feed roll 29 is applied in the order of the tension roll 31 and the intermittent feed roll 32. Since the intermittent feed roll 32 is connected to a motor that rotates intermittently, the PTP film 7 is intermittently conveyed. The tension roll 31 is in a state in which the PTP film 7 is pulled to the side where the PTP film 7 is tensioned by an elastic force, and prevents the PTP film 7 from loosening between the intermittent feed rolls 29 and 32.

間欠送りロール29とテンションロール31との間には、PTPフィルム7の搬送経路に沿って、スリット形成装置33及び刻印装置34が順に配設されている。スリット形成装置33は、PTPフィルム7の所定位置に切離用スリットを形成する機能を有する。刻印装置34は、PTPフィルム7の所定位置(例えばタグ部)に刻印を付す機能を有する。   Between the intermittent feed roll 29 and the tension roll 31, a slit forming device 33 and a marking device 34 are sequentially arranged along the transport path of the PTP film 7. The slit forming device 33 has a function of forming a slit for separation at a predetermined position of the PTP film 7. The marking device 34 has a function of marking a predetermined position (for example, a tag portion) of the PTP film 7.

間欠送りロール32から送り出されたPTPフィルム7は、その下流側においてテンションロール35及び連続送りロール36の順に掛装されている。間欠送りロール32とテンションロール35との間には、PTPフィルム7の搬送経路に沿って、シート打抜装置37が配設されている。シート打抜装置37は、PTPフィルム7をPTPシート1単位にその外縁を打抜く打抜手段としての機能を有する。   The PTP film 7 sent out from the intermittent feed roll 32 is hooked in the order of the tension roll 35 and the continuous feed roll 36 on the downstream side. A sheet punching device 37 is disposed between the intermittent feed roll 32 and the tension roll 35 along the transport path of the PTP film 7. The sheet punching device 37 has a function as punching means for punching the outer edge of the PTP film 7 in units of one PTP sheet.

シート打抜装置37によって打抜かれたPTPシート1は、取出しコンベア38によって搬送され、完成品用ホッパ39に一旦貯留される。尚、シール前検査装置22やICタグ検査装置23によって不良判定された場合、不良判定に係るPTPシート1は、取出しコンベア38の搬送経路に沿って設けられた不良シート排出機構40によって別途排出され、図示しない不良品ホッパに移送される。   The PTP sheet 1 punched by the sheet punching device 37 is conveyed by a take-out conveyor 38 and temporarily stored in a finished product hopper 39. In addition, when a failure is determined by the pre-seal inspection device 22 or the IC tag inspection device 23, the PTP sheet 1 related to the failure determination is separately discharged by a defective sheet discharge mechanism 40 provided along the conveyance path of the take-out conveyor 38. , Transferred to a defective hopper (not shown).

前記連続送りロール36の下流側には、裁断装置41が配設されている。そして、シート打抜装置37による打抜き後に帯状に残った残材部(スクラップ部)を構成する不要フィルム部42は、前記テンションロール35及び連続送りロール36に案内された後、裁断装置41に導かれる。尚、前記連続送りロール36は従動ロールが圧接されており、前記不要フィルム部42を挟持しながら搬送動作を行う。裁断装置41は、不要フィルム部42を所定寸法に裁断しスクラップ処理する機能を有する。このスクラップはスクラップ用ホッパ43に貯留された後、別途廃棄処理される。   A cutting device 41 is disposed on the downstream side of the continuous feed roll 36. Then, the unnecessary film portion 42 constituting the remaining material portion (scrap portion) remaining in a strip shape after being punched by the sheet punching device 37 is guided to the tension roll 35 and the continuous feed roll 36 and then guided to the cutting device 41. It is burned. The continuous feed roll 36 is in pressure contact with a driven roll, and performs a conveying operation while sandwiching the unnecessary film portion 42. The cutting device 41 has a function of cutting the unnecessary film portion 42 into a predetermined size and scrapping. The scrap is stored in the scrap hopper 43 and then disposed of separately.

尚、上記各ロール14,19,20,29,31,32などは、そのロール表面とポケット部2とが対向する位置関係となっているが、各ロール14等の表面には、ポケット部2が収容される凹部が形成されているため、基本的には、ポケット部2が潰れてしまうことがない。また、ポケット部2が各ロール14等の凹部に収容されながら送り動作が行われることで、間欠送り動作や連続送り動作が確実に行われる。   Each of the rolls 14, 19, 20, 29, 31, 32 and the like has a positional relationship in which the roll surface and the pocket portion 2 face each other. Since the recessed part which accommodates is formed, the pocket part 2 is not crushed fundamentally. Further, the feeding operation is performed while the pocket portion 2 is accommodated in the recesses such as the rolls 14, so that the intermittent feeding operation and the continuous feeding operation are performed reliably.

次いで、上流側検査装置24及び下流側検査装置25について説明する。図5に示すように、上流側検査装置24は、第一照明手段としての第一照明装置51及び第一撮像手段としての第一カメラ61を備えている。下流側検査装置25は、第二照明手段としての第二照明装置52及び第二撮像手段としての第二カメラ62を備えている。また、各検査装置24,25は、処理実行装置53を共有している。尚、各検査装置24,25が、処理実行装置53を個別に有していてもよい。   Next, the upstream inspection device 24 and the downstream inspection device 25 will be described. As shown in FIG. 5, the upstream inspection device 24 includes a first illumination device 51 as a first illumination device and a first camera 61 as a first imaging device. The downstream side inspection device 25 includes a second illumination device 52 as a second illumination unit and a second camera 62 as a second imaging unit. In addition, each inspection device 24, 25 shares a process execution device 53. In addition, each inspection apparatus 24 and 25 may have the process execution apparatus 53 separately.

各照明装置51,52は、面発光可能になっており、容器フィルム3や錠剤5(特に最終的にPTPシート1となる部位)に対し所定の光(例えば近赤外光や可視光)を照射する。各照明装置51,52は、図6に示すように、容器フィルム3に対し平行に延びる拡散板91と、当該拡散板91の内部に設けられたLED実装基板92と、拡散板91の容器フィルム3側の面に取着された入射光制限フィルム93とを備えている。LED実装基板92には、LED92aが多数配列されている。   Each of the lighting devices 51 and 52 can emit light, and emits predetermined light (for example, near-infrared light or visible light) to the container film 3 or the tablet 5 (particularly, the part that finally becomes the PTP sheet 1). Irradiate. As shown in FIG. 6, each of the lighting devices 51 and 52 includes a diffusion plate 91 extending in parallel to the container film 3, an LED mounting substrate 92 provided inside the diffusion plate 91, and a container film of the diffusion plate 91. And an incident light limiting film 93 attached to the three-side surface. A large number of LEDs 92 a are arranged on the LED mounting substrate 92.

入射光制限フィルタ93は、LED92aからカメラ61,62に対する光の直接の入射を制限する。これにより、カメラ61,62に入射される光が強すぎることに伴う不具合(例えば、カメラ61,62として、後述のようにCCDカメラを用いた場合のスミア現象など)をより確実に防止することができ、ひいてはより正確な検査を実現可能となっている。   The incident light limiting filter 93 limits the direct incidence of light from the LED 92a to the cameras 61 and 62. As a result, it is possible to more reliably prevent problems associated with excessively strong light incident on the cameras 61 and 62 (for example, a smear phenomenon when a CCD camera is used as the cameras 61 and 62 as described later). As a result, more accurate inspection can be realized.

また、本実施形態において、各照明装置51,52は、照射する光の光量を変更可能に構成されている。   Moreover, in this embodiment, each illuminating device 51 and 52 is comprised so that change of the light quantity of the light to irradiate is possible.

第一カメラ61及び第二カメラ62は、照明装置51,52により光の照射された錠剤5等を撮像する。本実施形態では、カメラ61,62として、照明装置51,52から照射される光の波長領域に感度を有するCCDカメラが採用されている。これに限らず、CMOSカメラを採用してもよい。   The first camera 61 and the second camera 62 image the tablet 5 or the like irradiated with light by the illumination devices 51 and 52. In this embodiment, as the cameras 61 and 62, CCD cameras having sensitivity in the wavelength region of light emitted from the illumination devices 51 and 52 are employed. Not limited to this, a CMOS camera may be employed.

また、図7に示すように、上流側検査装置24において、第一照明装置51は容器フィルム3のポケット部2突出側に配置され、第一カメラ61は容器フィルム3のポケット部2開口側に設けられている。一方、下流側検査装置25において、第二照明装置52は容器フィルム3のポケット部2開口側に配置され、第二カメラ62は容器フィルム3のポケット部2突出側に設けられている。すなわち、カメラ61,62は、容器フィルム3を介して照明装置51,52とは反対側に設けられている。そして、カメラ61,62は、照明装置51,52から照射された光を二次元撮像する構成となっている。カメラ61,62によって撮像された画像データは、カメラ61,62内部においてデジタル信号に変換された上で、デジタル信号の形で処理実行装置53に入力されるようになっている。   Further, as shown in FIG. 7, in the upstream inspection device 24, the first illumination device 51 is arranged on the pocket film 2 projecting side of the container film 3, and the first camera 61 is on the pocket film 2 opening side of the container film 3. Is provided. On the other hand, in the downstream side inspection device 25, the second illumination device 52 is disposed on the opening side of the pocket portion 2 of the container film 3, and the second camera 62 is provided on the protruding side of the pocket portion 2 of the container film 3. That is, the cameras 61 and 62 are provided on the side opposite to the illumination devices 51 and 52 through the container film 3. The cameras 61 and 62 are configured to two-dimensionally image light emitted from the illumination devices 51 and 52. Image data captured by the cameras 61 and 62 are converted into digital signals inside the cameras 61 and 62 and then input to the processing execution device 53 in the form of digital signals.

図5に戻り、処理実行装置53は、画像メモリ54、判定用メモリ55、検査結果記憶装置56、カメラタイミング制御装置57、マスキング装置58、二値化装置59、光量変更手段としての光量変更装置60、並びに、CPU及び入出力インターフェース63などから構成され、後述するような画像データの処理や錠剤5の検査等を実施可能となっている。   Returning to FIG. 5, the process execution device 53 includes an image memory 54, a determination memory 55, an inspection result storage device 56, a camera timing control device 57, a masking device 58, a binarization device 59, and a light amount changing device as a light amount changing unit. 60, a CPU, an input / output interface 63, and the like, and can perform image data processing and tablet 5 inspection as described later.

画像メモリ54は、カメラ61,62から出力される画像データを記憶する。また、画像メモリ54には、マスキング装置58によりマスキング処理が行われた画像データや、二値化装置59により二値化処理が行われた白黒画像データも記憶される。この画像メモリ54に記憶された画像データに基づいて検査が実行される。   The image memory 54 stores image data output from the cameras 61 and 62. The image memory 54 also stores image data that has been masked by the masking device 58 and monochrome image data that has been binarized by the binarization device 59. An inspection is executed based on the image data stored in the image memory 54.

判定用メモリ55は、検査に用いられる各種データを記憶するものである。検査に用いられる各種データには、例えば錠剤5やICタグ6の二次元形状、画像データにおける錠剤5領域を特定するために用いられる錠剤5の基準面積、検査領域を画定するための検査領域ウインドウ枠IWの形状、ICタグ6の埋設位置の良否を判定するための位置判定ウインドウ枠JWの形状、二値化処理に係る閾値、面積判定に係る判定値などが含まれる。二値化処理に係る閾値としては、例えば、第一閾値σ1、第二閾値σ2、第三閾値σ3及び第四閾値σ4が記憶されている(図12等参照)。第一閾値σ1、第二閾値σ2、第三閾値σ3及び第四閾値σ4は、この順序で値が大きなものとなっている。また、面積判定に係る判定値として、正しい姿勢で配置された正常な形状のICタグ6に基づき予め求められた、最小面積閾値及び最大面積閾値が記憶されている。   The determination memory 55 stores various data used for inspection. The various data used for the inspection include, for example, the two-dimensional shape of the tablet 5 and the IC tag 6, the reference area of the tablet 5 used for specifying the tablet 5 area in the image data, and the inspection area window for defining the inspection area. The shape of the frame IW, the shape of the position determination window frame JW for determining the quality of the embedded position of the IC tag 6, the threshold value for binarization processing, the determination value for area determination, and the like are included. As threshold values related to the binarization process, for example, a first threshold value σ1, a second threshold value σ2, a third threshold value σ3, and a fourth threshold value σ4 are stored (see FIG. 12 and the like). The first threshold value σ1, the second threshold value σ2, the third threshold value σ3, and the fourth threshold value σ4 are large in this order. In addition, a minimum area threshold and a maximum area threshold, which are obtained in advance based on a normal-shaped IC tag 6 arranged in a correct posture, are stored as determination values for area determination.

検査領域ウインドウ枠IWは、ポケット部2内の領域(ポケット部領域)と、ポケット部2外のシート部の領域(シート部領域)とを区別するためのものである。検査領域ウインドウ枠IWは、図8に示すように、ポケット部2と相似形状で、かつ、ポケット部2よりも一回り大きいポケット部ウインドウ枠PWを複数備えている。ポケット部ウインドウ枠PWの配列は、PTPシート1におけるポケット部2の配列と同様である。検査に際しては、画像データに対し検査領域ウインドウ枠IWが設定され、ポケット部2外の領域(図8の網目模様を付した領域)にマスキングが施され、ポケット部2内の領域が検査対象となるように設定される。   The inspection area window frame IW is for distinguishing an area in the pocket part 2 (pocket part area) from a sheet part area outside the pocket part 2 (sheet part area). As shown in FIG. 8, the inspection area window frame IW includes a plurality of pocket portion window frames PW that are similar in shape to the pocket portion 2 and slightly larger than the pocket portion 2. The arrangement of the pocket portion window frames PW is the same as the arrangement of the pocket portions 2 in the PTP sheet 1. At the time of inspection, an inspection area window frame IW is set for the image data, the area outside the pocket portion 2 (area with the mesh pattern in FIG. 8) is masked, and the area inside the pocket portion 2 is the inspection object. Is set to be

位置判定ウインドウ枠JWは、ICタグ6の二次元的な位置の検査に用いられる。位置判定ウインドウ枠JWは、図9に示すように、錠剤5を平面視したときのその外縁形状とほぼ同じ形状をなす外縁ウインドウ枠GWと、当該外縁ウインドウ枠GWの中心に位置し、ICタグ6の対角線よりも一回り大きい直径を有する円形状のICタグウインドウ枠TWとを備えている。   The position determination window frame JW is used for inspection of the two-dimensional position of the IC tag 6. As shown in FIG. 9, the position determination window frame JW is positioned at the center of the outer edge window frame GW, the outer edge window frame GW having substantially the same shape as the outer edge shape when the tablet 5 is viewed in plan, and the IC tag And a circular IC tag window frame TW having a diameter that is slightly larger than 6 diagonals.

図5に戻り、検査結果記憶装置56は、画像データに関する座標等のデータ、検査結果データ、及び、該検査結果データを確率統計的に処理した統計データなどを記憶するものである。これらの検査結果データや統計データは、CPU及び入出力インターフェース63の制御に基づき、例えばディスプレイなどの表示手段(図示せず)に適宜表示させることができる。また、これらの検査結果データや統計データに基づいてCPU及び入出力インターフェース63がPTP包装機11に制御信号を送出することも可能となっている。   Returning to FIG. 5, the inspection result storage device 56 stores data such as coordinates relating to image data, inspection result data, statistical data obtained by probabilistically processing the inspection result data, and the like. These inspection result data and statistical data can be appropriately displayed on a display means (not shown) such as a display based on the control of the CPU and the input / output interface 63. Further, the CPU and the input / output interface 63 can send a control signal to the PTP packaging machine 11 based on these inspection result data and statistical data.

カメラタイミング制御装置57は、カメラ61,62による撮像のタイミングを制御するものである。撮像のタイミングはPTP包装機11に設けられた図示しないエンコーダからの信号に基づいて制御され、容器フィルム3を所定量送るごとに、カメラ61,62によって、シート単位(例えば打ち抜かれるPTPシート単位)で撮像が行われる。本実施形態では、照明装置51,52からの光量を四段階に変更させつつ、各カメラ61,62により各光量で撮像が行われるため、結果的に、1シート毎に少なくとも8つの濃淡画像データ(輝度画像データ)が得られるようになっている。   The camera timing control device 57 controls the timing of image capturing by the cameras 61 and 62. The timing of imaging is controlled based on a signal from an encoder (not shown) provided in the PTP packaging machine 11, and every time the container film 3 is fed by a predetermined amount, the camera 61 or 62 is used to make a sheet unit (for example, PTP sheet unit to be punched) Imaging is performed at. In the present embodiment, the amount of light from the illuminating devices 51 and 52 is changed in four stages, and imaging is performed with each light amount by the cameras 61 and 62. As a result, at least eight grayscale image data for each sheet are obtained. (Luminance image data) can be obtained.

マスキング装置58は、画像データにマスキング処理を施すものであり、本実施形態では、前記検査領域ウインドウ枠IWを用いて、画像データにおける、ポケット部2外の領域にマスキングを施す。これにより、ポケット部2内の領域が検査対象となるように設定される。   The masking device 58 performs a masking process on the image data. In this embodiment, the masking device 58 masks an area outside the pocket portion 2 in the image data using the inspection area window frame IW. Thereby, it sets so that the area | region in the pocket part 2 may become inspection object.

二値化装置59は、判定用メモリ55に記憶された閾値に基づいて画像データに対し二値化処理を施し、二値化画像を得るものである。本実施形態では、錠剤5の位置を特定したり、ICタグ6の二次元的な位置を特定したりするために二値化処理が行われる。   The binarization device 59 performs binarization processing on the image data based on the threshold value stored in the determination memory 55 to obtain a binarized image. In the present embodiment, binarization processing is performed in order to specify the position of the tablet 5 or to specify the two-dimensional position of the IC tag 6.

光量変更装置60は、照明装置51,52から照射される光の光量を制御するものである。光量変更装置60は、カメラタイミング制御装置57からの信号に基づき、カメラ61,62による撮像タイミングに合わせて、照明装置51,52から照射される光の光量を段階的に変化させる。本実施形態において、照明装置51,52から照射される光の光量は、第一光量、第二光量、第三光量及び第四光量の四段階に変更される。第一光量、第二光量、第三光量及び第四光量は、この順に光量が大きなものとなり、少なくとも第二光量、第三光量及び第四光量は、錠剤5を十分に透過可能な程度の光量となっている。   The light amount changing device 60 controls the amount of light emitted from the lighting devices 51 and 52. The light amount changing device 60 changes the light amount of light emitted from the illumination devices 51 and 52 in a stepwise manner in accordance with the imaging timing by the cameras 61 and 62 based on the signal from the camera timing control device 57. In the present embodiment, the amount of light emitted from the illuminating devices 51 and 52 is changed in four stages: a first light amount, a second light amount, a third light amount, and a fourth light amount. The first light amount, the second light amount, the third light amount, and the fourth light amount increase in this order, and at least the second light amount, the third light amount, and the fourth light amount are light amounts that can sufficiently pass through the tablet 5. It has become.

CPU及び入出力インターフェース63は、錠剤5に対する検査処理などの各種処理プログラムを判定用メモリ55の記憶内容などを使用しつつ実行するとともに、PTP包装機11に制御信号を送出し又はPTP包装機11から動作信号などの各種信号を送受信するためのものである。これによって、例えば、PTP包装機11の不良シート排出機構40などを制御することができるようになっている。   The CPU and input / output interface 63 executes various processing programs such as an inspection process for the tablet 5 while using the stored contents of the determination memory 55 and the like, and sends a control signal to the PTP packaging machine 11 or the PTP packaging machine 11. For transmitting and receiving various signals such as operation signals. Thereby, for example, the defective sheet discharge mechanism 40 of the PTP packaging machine 11 can be controlled.

尚、錠剤5に対する検査処理としては、カメラ61,62により得られた濃淡画像データに対する二値化処理、二値化処理により得られた二値化画像に対する塊処理、塊処理により得られた塊部分の数や面積、位置などの良否を判定する処理、塊部分の良否判定結果に基づき錠剤5の良否を判定する処理などが挙げられる。本実施形態では、ICタグ検査装置23における二値化処理や塊処理を行う際に用いられる装置(例えば、CPU及び入出力インターフェース63、判定用メモリ55、二値化装置59等)が陰影特定手段に相当する。また、ICタグ検査装置23における塊部分に関する良否を判定する際に用いられる装置(例えば、CPU及び入出力インターフェース63及び判定用メモリ55等)が検査手段に相当する。さらに、ICタグ検査装置23における錠剤5の良否を判定する際に用いられる装置(例えば、CPU及び入出力インターフェース63等)が良否判定手段に相当する。   The inspection process for the tablet 5 includes binarization processing for the grayscale image data obtained by the cameras 61 and 62, chunk processing for the binarized image obtained by the binarization processing, and chunk obtained by the chunk processing. Examples include a process for determining the quality of the number, area, and position of the part, a process for determining the quality of the tablet 5 based on the quality determination result of the lump portion, and the like. In the present embodiment, devices used when performing binarization processing and block processing in the IC tag inspection device 23 (for example, the CPU and input / output interface 63, the determination memory 55, the binarization device 59, etc.) are specified as shadows. Corresponds to means. In addition, devices (for example, a CPU and an input / output interface 63, a determination memory 55, and the like) used when determining the quality of the lump portion in the IC tag inspection device 23 correspond to the inspection unit. Furthermore, an apparatus (for example, CPU and input / output interface 63) used when determining the quality of the tablet 5 in the IC tag inspection apparatus 23 corresponds to the quality determination means.

また、CPU及び入出力インターフェース63は、ディスプレイ等の所定の表示手段(図示せず)に各種データを送出する機能をも有する。かかる機能により、二値あるいは濃淡の画像データや検査結果などを表示手段に表示させることができるようになっている。   The CPU and input / output interface 63 also has a function of sending various data to a predetermined display means (not shown) such as a display. With this function, binary or shaded image data, inspection results, and the like can be displayed on the display means.

尚、本実施形態では、照明装置51,52から照射される光量を第一〜第四光量の各光量に変更させつつ、各光量にて撮像が行われ、各検査装置24,25においてそれぞれ四種類の濃淡画像データが取得される。以下においては、第一光量にて取得された濃淡画像データを第一濃淡画像データと称し、第二光量にて取得された濃淡画像データを第二濃淡画像データと称し、第三光量にて取得された濃淡画像データを第三濃淡画像データと称し、第四光量にて取得された濃淡画像データを第四濃淡画像データと称す。   In the present embodiment, imaging is performed at each light amount while changing the light amounts irradiated from the illumination devices 51 and 52 to the first to fourth light amounts, and each of the inspection devices 24 and 25 has four images. Different types of grayscale image data are acquired. In the following, the grayscale image data acquired with the first light quantity is referred to as first grayscale image data, the grayscale image data acquired with the second light quantity is referred to as second grayscale image data, and is acquired with the third light quantity. The gray image data thus obtained is referred to as third gray image data, and the gray image data acquired with the fourth light amount is referred to as fourth gray image data.

第一濃淡画像データにおいては、例えば、図10に示すように、錠剤5に対応する部分が暗く表示された状態となる。一方、第二〜第四濃淡画像データにおいては、例えば、図11に示すように、錠剤5を光が透過し、ICタグ6に対応する部分が特に暗く表示された状態となる。そして、錠剤5内におけるICタグ6の埋設位置を一定とすると、図12に示すように、通常、第二濃淡画像データP2におけるICタグ6に対応する陰影部分の各部の輝度が最も低くなり、第四濃淡画像データP4におけるICタグ6に対応する陰影部分の各部の輝度が最も高くなる。また、第三濃淡画像データP3におけるICタグ6に対応する陰影部分の各部の輝度は、第二、第四濃淡画像データP2,P4におけるICタグ6部分に対応する各部の輝度のほぼ中間程度となる。本実施形態では、第二〜第四濃淡画像データが、「透過画像」に相当する。   In the first grayscale image data, for example, as shown in FIG. 10, a portion corresponding to the tablet 5 is darkly displayed. On the other hand, in the second to fourth gray image data, for example, as shown in FIG. 11, light is transmitted through the tablet 5 and the portion corresponding to the IC tag 6 is displayed in a particularly dark state. If the embedded position of the IC tag 6 in the tablet 5 is constant, as shown in FIG. 12, the brightness of each part of the shadow portion corresponding to the IC tag 6 in the second grayscale image data P2 is usually the lowest, The luminance of each part of the shaded part corresponding to the IC tag 6 in the fourth gray image data P4 is the highest. In addition, the luminance of each portion of the shaded portion corresponding to the IC tag 6 in the third gray image data P3 is about the middle of the luminance of each portion corresponding to the IC tag 6 portion in the second and fourth gray image data P2 and P4. Become. In the present embodiment, the second to fourth gray image data corresponds to a “transparent image”.

さらに、錠剤5の高さ方向に沿ってICタグ6の位置にズレがある場合であって、例えば、図13に示すように、ICタグ6がカメラ61,62側により接近している場合には、図14及び図15に示すように、各濃淡画像データP2〜P4においてICタグ6に対応する陰影部分が比較的暗く表示された状態となり、陰影部分の各部の輝度は比較的低くなる。一方、例えば、図16に示すように、ICタグ6がカメラ61,62からより離れている場合には、図17及び図18に示すように、濃淡画像データP2〜P4においてICタグ6に対応する陰影部分が比較的明るく表示された状態となり、陰影部分の各部の輝度は比較的高くなる。   Furthermore, when the position of the IC tag 6 is shifted along the height direction of the tablet 5, for example, when the IC tag 6 is closer to the cameras 61 and 62 as shown in FIG. As shown in FIGS. 14 and 15, in each of the grayscale image data P2 to P4, the shaded portion corresponding to the IC tag 6 is displayed relatively dark, and the luminance of each portion of the shaded portion is relatively low. On the other hand, for example, as shown in FIG. 16, when the IC tag 6 is further away from the cameras 61 and 62, the gray image data P2 to P4 correspond to the IC tag 6 as shown in FIGS. The shaded part is displayed relatively brightly, and the brightness of each part of the shaded part is relatively high.

さらに、ICタグ6の二次元的な位置にズレがある場合、例えば、図19に示すように、濃淡画像データP2〜P4において、ICタグ6に対応する陰影部分についても二次元的な位置にズレがある状態で表れる。また、1つの錠剤5にICタグ6が複数存在している場合、例えば、図20に示すように、通常、濃淡画像データP2〜P4において、ICタグ6に対応する陰影部分が複数存在した状態で表示される。尚、ICタグ6が複数存在している場合には、複数のICタグ6が錠剤5の高さ方向に重なることで、濃淡画像データP2〜P4において、ICタグ6に対応する陰影部分が通常よりも面積の大きい状態で表示されることもある。   Further, when there is a deviation in the two-dimensional position of the IC tag 6, for example, as shown in FIG. 19, in the grayscale image data P2 to P4, the shaded portion corresponding to the IC tag 6 is also in the two-dimensional position. Appears in a state of misalignment. Further, when there are a plurality of IC tags 6 in one tablet 5, for example, as shown in FIG. 20, normally, in the grayscale image data P2 to P4, there are a plurality of shaded portions corresponding to the IC tag 6 Is displayed. When a plurality of IC tags 6 are present, the plurality of IC tags 6 are overlapped in the height direction of the tablet 5 so that the shaded portion corresponding to the IC tag 6 is usually present in the grayscale image data P2 to P4. It may be displayed in a state where the area is larger than that.

加えて、ICタグ6の姿勢に異常がある場合、例えば、ICタグ6が正常時よりも斜めになった状態で配置されている場合には、図21に示すように、濃淡画像データP2〜P4において、ICタグ6に対応する陰影部分の面積が通常よりも小さい状態で表示される。   In addition, when there is an abnormality in the posture of the IC tag 6, for example, when the IC tag 6 is arranged in an inclined state as compared with the normal time, as shown in FIG. In P4, the area of the shadow portion corresponding to the IC tag 6 is displayed in a state smaller than usual.

次いで、ICタグ6に関する錠剤5の検査処理について説明する。尚、当該検査処理は、上流側検査装置24及び下流側検査装置25のそれぞれにおいて個別に実行される。各検査装置24,25にて実行される検査処理は同様であるため、以下においては、上流側検査装置24にて実行される検査処理のみについて説明する。   Next, the inspection process of the tablet 5 related to the IC tag 6 will be described. The inspection process is individually executed in each of the upstream inspection device 24 and the downstream inspection device 25. Since the inspection processes executed by the inspection apparatuses 24 and 25 are the same, only the inspection process executed by the upstream inspection apparatus 24 will be described below.

図22に示すように、検査処理では、まずステップS11において、検査対象となる1のシート部分における第一〜第四濃淡画像データがそれぞれ取得されたか否かを当該条件を満たすまで繰り返し判定する。つまり、検査処理の実行タイミングに到達したか否かを繰り返し判定する。   As shown in FIG. 22, in the inspection process, first, in step S <b> 11, whether or not the first to fourth gray image data in one sheet portion to be inspected has been acquired is repeatedly determined until the condition is satisfied. That is, it is repeatedly determined whether or not the execution timing of the inspection process has been reached.

1のシート部分における第一〜第四濃淡画像データが取得された場合(ステップS11:YES)、ステップS12に移行し、第一濃淡画像データに基づき、錠剤5の位置(錠剤5の占める範囲)を特定するための処理(錠剤位置特定処理)を実行する。   When the first to fourth gray image data in one sheet portion is acquired (step S11: YES), the process proceeds to step S12, and the position of the tablet 5 (the range occupied by the tablet 5) based on the first gray image data. A process for specifying (tablet position specifying process) is executed.

錠剤位置特定処理では、図23に示すように、まず、ステップS121において、第一濃淡画像データに対し所定の閾値を用いて二値化処理を施し、第一白黒画像データを取得する。次いで、ステップS122において、第一白黒画像データに対し、前記検査領域ウインドウ枠IWを用いて、マスキング処理を施す。これにより、第一白黒画像データにおける、ポケット部2外の領域にマスキングが施され、ポケット部2内の領域が検査対象に設定される。   In the tablet position specifying process, as shown in FIG. 23, first, in step S121, the first grayscale image data is subjected to a binarization process using a predetermined threshold value to obtain first black and white image data. Next, in step S122, a masking process is performed on the first black and white image data using the inspection area window frame IW. As a result, the area outside the pocket part 2 in the first black and white image data is masked, and the area inside the pocket part 2 is set as the inspection target.

続くステップS123では、各ポケット部2領域において、面積値が錠剤5の基準面積以上となっている塊を抽出し、ステップS124へ移行する。   In the following step S123, a lump whose area value is equal to or larger than the reference area of the tablet 5 in each pocket 2 region is extracted, and the process proceeds to step S124.

続くステップS124では、各ポケット部2領域における塊の個数が「1」であるか否かを判定する。各ポケット部2領域において塊の個数が「1」である場合には(ステップS124:YES)、ステップS125に移行する。   In a succeeding step S124, it is determined whether or not the number of lumps in each pocket portion 2 region is “1”. When the number of lumps is “1” in each pocket 2 region (step S124: YES), the process proceeds to step S125.

ステップS125では、錠剤5の位置情報として、塊部分の占める範囲を示す座標データを取得し、本処理を終了する。尚、錠剤5の位置情報は、ポケット部2領域毎に取得される。   In step S125, coordinate data indicating the range occupied by the lump portion is acquired as the position information of the tablet 5, and this process is terminated. In addition, the positional information on the tablet 5 is acquired for every pocket part 2 area | region.

一方、各ポケット部2領域の少なくとも1つにおいて塊の個数が「1」以外である場合(ステップS124:NO)、ステップS126に移行し、不良判定処理を実行し、本処理を終了する。不良判定処理では、シート部分が不良であると判定するとともに、異常の発見された錠剤5を特定するための情報と、シート部分が不良である旨の情報とを検査結果記憶装置56に記憶する。また、不良判定処理では、不良フラグをセットする。不良フラグは、検査処理における錠剤位置特定処理S12以降の処理を実行するか否かを判断するために用いられる。   On the other hand, when the number of lumps is other than “1” in at least one of the pocket portion 2 regions (step S124: NO), the process proceeds to step S126, the defect determination process is executed, and this process is terminated. In the defect determination process, it is determined that the sheet part is defective, and information for specifying the tablet 5 in which an abnormality is found and information that the sheet part is defective are stored in the inspection result storage device 56. . In the defect determination process, a defect flag is set. The defect flag is used to determine whether or not to execute the process after the tablet position specifying process S12 in the inspection process.

図22に戻り、錠剤位置特定処理S12に続くステップS13では、不良フラグがオンであるか否かが判定される。不良フラグがオンである場合(ステップS13:YES)、不良フラグをオフとした上で、検査処理を終了する。つまり、錠剤5自体に異常がある場合には、これ以降の処理をスキップする。   Returning to FIG. 22, in step S13 following the tablet position specifying process S12, it is determined whether or not the defect flag is ON. If the defect flag is on (step S13: YES), the defect flag is turned off and the inspection process is terminated. That is, when there is an abnormality in the tablet 5 itself, the subsequent processing is skipped.

一方、不良フラグがオフである場合(ステップS13:NO)、ステップS14に移行し、ステップS12の錠剤位置特定処理にて取得された錠剤5の位置情報に基づき、第二〜第四濃淡画像データP2〜P4における錠剤5領域を特定し、この部分を検査対象として設定する。   On the other hand, when the defect flag is OFF (step S13: NO), the process proceeds to step S14, and the second to fourth gray image data is based on the position information of the tablet 5 acquired in the tablet position specifying process of step S12. The tablet 5 area | region in P2-P4 is specified, and this part is set as a test object.

続くステップS15では、各濃淡画像データP2〜P4の検査対象に対し二値化処理を行い、二値化画像データを得る。   In the subsequent step S15, binarization processing is performed on the inspection objects of the respective grayscale image data P2 to P4 to obtain binarized image data.

第二濃淡画像データP2の検査対象に対する二値化処理では、第一閾値σ1及び第二閾値σ2を用いて、第二濃淡画像データP2の検査対象(錠剤5領域)から輝度値が第一閾値σ1以上第二閾値σ2未満である部分を抽出した二値化画像を得る。   In the binarization process for the inspection target of the second grayscale image data P2, the luminance value is changed from the inspection target (tablet 5 region) of the second grayscale image data P2 using the first threshold σ1 and the second threshold σ2. A binarized image is obtained by extracting a portion that is greater than or equal to σ1 and less than the second threshold σ2.

第三濃淡画像データP3の検査対象に対する二値化処理では、第二閾値σ2及び第三閾値σ3を用いて、第三濃淡画像データP3の検査対象(錠剤5領域)から輝度値が第二閾値σ2以上第三閾値σ3未満である部分を抽出した二値化画像をえる。   In the binarization process for the inspection target of the third grayscale image data P3, the luminance value from the inspection target (tablet 5 region) of the third grayscale image data P3 is set to the second threshold using the second threshold σ2 and the third threshold σ3. A binarized image obtained by extracting a portion that is greater than or equal to σ2 and less than the third threshold σ3 is obtained.

第四濃淡画像データP3の検査対象に対する二値化処理では、第三閾値σ3及び第四閾値σ4を用いて、第四濃淡画像データP4の検査対象(錠剤5領域)から輝度値が第三閾値σ3以上第四閾値σ4未満である部分を抽出した二値化画像を得る。   In the binarization process for the inspection target of the fourth gray image data P3, the luminance value is set to the third threshold value from the inspection target (tablet 5 region) of the fourth gray image data P4 using the third threshold σ3 and the fourth threshold σ4. A binarized image is obtained by extracting a portion that is greater than or equal to σ3 and less than the fourth threshold σ4.

尚、二値化処理で用いる閾値は適宜変更可能である。また、錠剤5の高さ方向に沿ったICタグ6の位置に比較的大きなズレが存在しているような場合(例えば、図13や図16にて示すような場合)、得られた二値化画像においては、ICタグ6に相当する部分が存在していなかったり、ICタグ6に相当する部分の面積が比較的小さなものとなったりすることがある。   Note that the threshold used in the binarization process can be changed as appropriate. Further, when there is a relatively large shift in the position of the IC tag 6 along the height direction of the tablet 5 (for example, as shown in FIGS. 13 and 16), the obtained binary value In the converted image, there is a case where a portion corresponding to the IC tag 6 does not exist, or an area of the portion corresponding to the IC tag 6 is relatively small.

次いで、ステップS16において各二値化画像に対し塊処理を行う。二値化処理及び塊処理により、ICタグ6に対応する陰影部分が特定される。つまり、陰影部分が存在するか否かが特定されるとともに、陰影部分が存在する場合には、その位置及び占める範囲(面積)が特定される。   Next, a block process is performed on each binarized image in step S16. A shadow portion corresponding to the IC tag 6 is specified by binarization processing and block processing. That is, it is specified whether or not there is a shadow portion, and when there is a shadow portion, the position and the range (area) occupied are specified.

その上で、ステップS17にて、各二値化画像に対し、各錠剤5領域における塊部分の個数が「1」であるか否かを判定する。つまり、錠剤5の高さ方向に沿った所定範囲内に、ICタグ6が1つのみ存在しているか否かを判定する。   Then, in step S17, it is determined whether or not the number of lump portions in each tablet 5 region is “1” for each binarized image. That is, it is determined whether or not only one IC tag 6 exists within a predetermined range along the height direction of the tablet 5.

各二値化画像において、各錠剤5領域における塊部分の個数が「1」となっていた場合(ステップS17:YES)、つまり、各錠剤5において、錠剤5の高さ方向に沿った所定範囲内にICタグ6が1つのみ埋設されている場合には、ステップS18に移行する。   In each binarized image, when the number of lump portions in each tablet 5 region is “1” (step S17: YES), that is, in each tablet 5, a predetermined range along the height direction of the tablet 5 If only one IC tag 6 is embedded therein, the process proceeds to step S18.

一方、各二値化画像の少なくとも1つにおいて、塊部分の個数が「1」となっていない錠剤5領域が存在していた場合(ステップS17:NO)、ステップS19へ移行する。ステップS19では、ICタグ6の埋設個数及びICタグ6の高さ位置の少なくとも一方に異常があるとして錠剤5を不良判定するとともに、異常内容などを検査結果記憶装置56に記憶した上で、検査処理を終了する。尚、本実施形態では、錠剤5の高さ方向に沿った所定範囲外にICタグ6が存在している場合やICタグ6が埋設されていない場合に、塊部分の個数が「0」となり、錠剤5が不良と判定される。また、ICタグ6が2つ以上埋設されていると、塊部分の個数が「2」以上となる場合があり、この場合にも、錠剤5が不良と判定される。   On the other hand, if at least one of the binarized images includes a tablet 5 area where the number of lump portions is not “1” (step S17: NO), the process proceeds to step S19. In step S19, the tablet 5 is determined to be defective because there is an abnormality in at least one of the number of embedded IC tags 6 and the height position of the IC tag 6, and the abnormality content is stored in the inspection result storage device 56 and then inspected. End the process. In the present embodiment, when the IC tag 6 exists outside the predetermined range along the height direction of the tablet 5 or when the IC tag 6 is not embedded, the number of lump portions is “0”. The tablet 5 is determined to be defective. When two or more IC tags 6 are embedded, the number of lump portions may be “2” or more. In this case, the tablet 5 is determined to be defective.

ステップS18では、前記位置判定ウインドウ枠JWを用いて、ICタグ6の二次元的な位置が適正であるか否かを判定する。具体的には、錠剤5領域の重心に対し外縁ウインドウ枠GWの中心が重なるように位置判定ウインドウ枠JWを配置し、ICタグウインドウ枠TWから塊部分の外形線が逸脱していないか否かを判定する。   In step S18, it is determined whether or not the two-dimensional position of the IC tag 6 is appropriate using the position determination window frame JW. Specifically, the position determination window frame JW is arranged so that the center of the outer edge window frame GW overlaps the center of gravity of the tablet 5 region, and whether or not the outline of the lump portion has deviated from the IC tag window frame TW. Determine.

ICタグウインドウ枠TWから塊部分の外形線が逸脱していない場合(ステップS18:YES)、つまり、ICタグ6の二次元的な位置に問題がない場合、ステップS20へと移行する。   If the outline of the lump portion has not deviated from the IC tag window frame TW (step S18: YES), that is, if there is no problem in the two-dimensional position of the IC tag 6, the process proceeds to step S20.

一方、ICタグウインドウ枠TWから塊部分の外形線の少なくとも一部が逸脱している場合(ステップS18:NO)、ステップS21に移行する。ステップS21では、ICタグ6の二次元的な位置に異常があるとして錠剤5を不良判定するとともに、異常内容などを検査結果記憶装置56に記憶した上で、検査処理を終了する。   On the other hand, when at least a part of the outline of the lump portion deviates from the IC tag window frame TW (step S18: NO), the process proceeds to step S21. In step S21, the tablet 5 is determined to be defective because there is an abnormality in the two-dimensional position of the IC tag 6, and the abnormality content is stored in the inspection result storage device 56, and then the inspection process is terminated.

ステップS20では、塊部分の面積(画素数)が、前記最小面積閾値以上前記最大面積閾値以下であるか否かを判定する。塊部分の面積が最小面積閾値以上最大面積閾値以下である場合(ステップS20:YES)、ステップS22にて錠剤5を良品判定し、本処理を終了する。   In step S20, it is determined whether or not the area (number of pixels) of the lump portion is not less than the minimum area threshold and not more than the maximum area threshold. When the area of the lump portion is not less than the minimum area threshold and not more than the maximum area threshold (step S20: YES), the non-defective tablet 5 is determined in step S22, and this process is terminated.

一方、塊部分の面積が最小面積閾値未満である場合、又は、塊部分の面積が最大面積閾値を超える場合(ステップS20:NO)、つまり、ICタグ6の形状(大きさ)や姿勢に異常があると想定される場合、ステップS23に移行する。ステップS23では、ICタグ6の姿勢及び形状(大きさ)の少なくとも1つに不良があるとして錠剤5を不良判定するとともに、異常内容などを検査結果記憶装置56に記憶した上で、本処理を終了する。尚、ICタグ6の埋設個数が複数であるときに、錠剤5の高さ方向にICタグ6の一部が重なっていると、塊部分の面積が最大面積閾値よりも大きくなる場合があり、この場合にも、錠剤5が不良と判定される。   On the other hand, when the area of the lump portion is less than the minimum area threshold value, or when the area of the lump portion exceeds the maximum area threshold value (step S20: NO), that is, the shape (size) or posture of the IC tag 6 is abnormal. When it is assumed that there is, the process proceeds to step S23. In step S23, the tablet 5 is determined to be defective because at least one of the posture and shape (size) of the IC tag 6 is defective, and the abnormality content is stored in the inspection result storage device 56, and then this process is performed. finish. In addition, when the number of embedded IC tags 6 is plural and the IC tag 6 is partially overlapped in the height direction of the tablet 5, the area of the lump portion may be larger than the maximum area threshold, Also in this case, it is determined that the tablet 5 is defective.

以上詳述したように、本実施形態によれば、濃淡画像データP2〜P4における陰影部分に基づき、錠剤5内におけるICタグ6の三次元的な埋設位置、ICタグ6の個数や形状、姿勢に関する検査を行うことができる。また、検査を行うにあたって、ICタグ6等に対して検査のための特別な機能を持たせる必要はなく、検査効率の向上やコストの増大抑制を図ることができる。   As described above in detail, according to the present embodiment, the three-dimensional embedding position of the IC tag 6 in the tablet 5, the number, shape, and orientation of the IC tag 6 based on the shaded portions in the grayscale image data P <b> 2 to P <b> 4. Can be inspected. Further, when performing the inspection, the IC tag 6 or the like need not have a special function for the inspection, and the inspection efficiency can be improved and the increase in cost can be suppressed.

さらに、光量を変更して得られた複数の濃淡画像データP2〜P4に基づき、ICタグ6に対応する陰影部分の位置や濃淡、数などに関するより細かな情報を得ることができる。これにより、検査精度の向上を図ることができる。   Furthermore, based on the plurality of grayscale image data P <b> 2 to P <b> 4 obtained by changing the light amount, finer information regarding the position, grayscale, number, etc. of the shaded portion corresponding to the IC tag 6 can be obtained. Thereby, the inspection accuracy can be improved.

加えて、錠剤5を表裏両面から撮像することで得られた濃淡画像データに基づき、ICタグ6に対応する陰影部分の濃淡や数などに関するより正確な情報を得ることができる。これにより、ICタグ6の埋設位置や数などをより精度よく把握することができ、検査精度を一層向上させることができる。   In addition, it is possible to obtain more accurate information on the shade and the number of shaded portions corresponding to the IC tag 6 based on the shade image data obtained by imaging the tablet 5 from both the front and back sides. Thereby, the embedment position and the number of the IC tags 6 can be grasped with higher accuracy, and the inspection accuracy can be further improved.

尚、上記実施形態の記載内容に限定されず、例えば次のように実施してもよい。勿論、以下において例示しない他の応用例、変更例も当然可能である。   In addition, it is not limited to the description content of the said embodiment, For example, you may implement as follows. Of course, other application examples and modification examples not illustrated below are also possible.

(a)上記実施形態では、第一濃淡画像データに基づき取得された錠剤5の位置情報に基づき、第二〜第四濃淡画像データP2〜P4における錠剤5領域を特定し、この領域を検査対象として設定するように構成されている。これに対し、第二〜第四濃淡画像データなど、ICタグ6の検査に用いられる画像データに基づき、錠剤5領域を特定してもよい。   (A) In the above embodiment, the tablet 5 region in the second to fourth gray image data P2 to P4 is specified based on the position information of the tablet 5 acquired based on the first gray image data, and this region is the inspection object. Is configured to set as On the other hand, the tablet 5 region may be specified based on image data used for the inspection of the IC tag 6 such as second to fourth gray image data.

また、例えば、ポケット部2内において錠剤5の位置がほぼ一定となるような場合には、錠剤5領域を検査対象とせずに、ポケット部2領域を検査対象としてもよい。この場合、例えば、位置判定ウインドウ枠は、ポケット部2の外縁に対応する外縁ウインドウ枠と、当該外縁ウインドウ枠の内側に位置するICタグウインドウ枠とを備えたものとされる。そして、ポケット部2領域の重心に対し前記外縁ウインドウの中心が重なるように位置判定ウインドウ枠を配置し、前記ICタグウインドウ枠からICタグ6に相当する塊部分の外形線が逸脱していないか否かを判定することで、ICタグ6の二次元的な位置の良否が判定される。このように構成することで、錠剤5領域の特定に係る各種処理(例えば、第一濃淡画像データの取得処理など)を行う必要がなくなる。これにより、検査の効率化を図ることができ、より高速な検査を実現することができる。   Further, for example, when the position of the tablet 5 is almost constant in the pocket portion 2, the pocket portion 2 region may be set as the inspection target without setting the tablet 5 region as the inspection target. In this case, for example, the position determination window frame includes an outer edge window frame corresponding to the outer edge of the pocket portion 2 and an IC tag window frame positioned inside the outer edge window frame. Then, a position determination window frame is arranged so that the center of the outer edge window overlaps the center of gravity of the pocket 2 region, and the outline of the lump portion corresponding to the IC tag 6 does not deviate from the IC tag window frame. By determining whether or not, the quality of the two-dimensional position of the IC tag 6 is determined. With this configuration, it is not necessary to perform various processes related to the specification of the tablet 5 area (for example, the first grayscale image data acquisition process). As a result, the efficiency of the inspection can be improved, and a higher-speed inspection can be realized.

(b)上記実施形態では、1つの錠剤5に対し1つのICタグ6が埋設されるように構成されているが、ICタグ6の埋設個数は特に限定されるものではない。従って、1つの錠剤5に対し複数のICタグ6が埋設されていてもよい。   (B) In the above embodiment, one IC tag 6 is embedded in one tablet 5, but the number of embedded IC tags 6 is not particularly limited. Therefore, a plurality of IC tags 6 may be embedded in one tablet 5.

(c)上記実施形態では、内容物が錠剤5である場合について具体化しているが、内容物の種別、形状等については特に限定されるものではなく、例えばカプセルや食品など、内容物が錠剤5とは異なるものであってもよい。   (C) In the above embodiment, the case where the content is the tablet 5 is embodied, but the type and shape of the content are not particularly limited, and the content is a tablet, for example, a capsule or food. It may be different from 5.

(d)上記実施形態では、容器フィルム3がPPやPVC等の熱可塑性樹脂材料により形成され、カバーフィルム4がアルミニウム箔等を基材として形成されているが、各フィルム3,4の材料は、これらに限定されるものではなく、他の材質のものを採用してもよい。   (D) In the above embodiment, the container film 3 is formed of a thermoplastic resin material such as PP or PVC, and the cover film 4 is formed using an aluminum foil or the like as a base material. However, the present invention is not limited to these, and other materials may be adopted.

1…PTPシート(ブリスタシート)、2…ポケット部、3…容器フィルム、4…カバーフィルム、5…錠剤(内容物)、6…ICタグ、11…PTP包装機(ブリスタ包装機)、23…ICタグ検査装置(検査装置)、51…第一照明装置(第一照明手段、照明手段)、52…第二照明装置(第二照明手段、照明手段)、55…判定用メモリ、59…二値化装置、60…光量変更装置(光量変更手段)、61…第一カメラ(第一撮像手段、撮像手段)、62…第二カメラ(第二撮像手段、撮像手段)、63…CPU及び入出力インターフェース。   DESCRIPTION OF SYMBOLS 1 ... PTP sheet (blister sheet), 2 ... Pocket part, 3 ... Container film, 4 ... Cover film, 5 ... Tablet (contents), 6 ... IC tag, 11 ... PTP packaging machine (blister packaging machine), 23 ... IC tag inspection device (inspection device), 51... First illumination device (first illumination means, illumination means), 52... Second illumination device (second illumination means, illumination means), 55. Quantifying device, 60 ... light quantity changing device (light quantity changing means), 61 ... first camera (first imaging means, imaging means), 62 ... second camera (second imaging means, imaging means), 63 ... CPU and input Output interface.

Claims (4)

ブリスタシートの製造過程にあって、搬送される帯状の容器フィルムに形成されたポケット部に対し所定のICタグの埋設された内容物が収容された後、前記ポケット部を塞ぐように前記容器フィルムに対し帯状のカバーフィルムが取着される前の段階において用いられる検査装置であって、
前記ポケット部に収容された前記内容物に対し、所定の光を照射する照明手段と、
前記容器フィルムを介して前記照明手段とは反対側に設けられ、少なくとも前記内容物を透過した前記照明手段からの光を撮像可能な撮像手段と、
当該撮像手段により得られた透過画像における、前記ICタグに対応する陰影部分を特定する陰影特定手段と、
当該陰影特定手段による特定結果に基づき検査を行う検査手段と、
当該検査手段による検査結果に基づき、前記内容物の良否を判定する良否判定手段とを備えることを特徴とする検査装置。
In the blister sheet manufacturing process, after the contents embedded with a predetermined IC tag are accommodated in the pocket portion formed in the belt-like container film to be conveyed, the container film is closed so as to close the pocket portion. An inspection device used in a stage before the belt-like cover film is attached,
Illuminating means for irradiating the contents stored in the pocket portion with predetermined light;
An imaging means provided on the opposite side of the illumination means through the container film and capable of imaging light from the illumination means that has transmitted at least the contents;
A shadow specifying means for specifying a shadow portion corresponding to the IC tag in the transmission image obtained by the imaging means;
Inspection means for performing inspection based on the identification result by the shadow identification means;
An inspection apparatus comprising: a quality determination unit that determines quality of the contents based on an inspection result by the inspection unit.
前記照明手段から照射される光の光量を変更可能な光量変更手段を備え、
前記光量変更手段により前記照明手段から照射される光の光量を段階的に変更しつつ、前記撮像手段により複数の前記透過画像を得るように構成されていることを特徴とする請求項1に記載の検査装置。
Comprising a light amount changing means capable of changing the amount of light emitted from the illumination means;
2. The apparatus according to claim 1, wherein the plurality of transmission images are obtained by the imaging unit while the light amount of the light emitted from the illumination unit is changed stepwise by the light amount changing unit. Inspection equipment.
前記照明手段は、
前記ポケット部の開口側から、前記内容物に対し所定の光を照射する第一照明手段と、
前記ポケット部の突出側から、前記内容物に対し所定の光を照射する第二照明手段とを有し、
前記撮像手段は、
前記容器フィルムを介して前記第一照明手段とは反対側に設けられ、少なくとも前記内容物を透過した前記第一照明手段からの光を撮像可能な第一撮像手段と、
前記容器フィルムを介して前記第二照明手段とは反対側に設けられ、少なくとも前記内容物を透過した前記第二照明手段からの光を撮像可能な第二撮像手段とを有することを特徴とする請求項1又は2に記載の検査装置。
The illumination means includes
First illumination means for irradiating the contents with predetermined light from the opening side of the pocket portion,
From the projecting side of the pocket portion, having a second illumination means for irradiating the contents with predetermined light,
The imaging means includes
A first imaging means provided on the opposite side of the first illumination means through the container film and capable of imaging light from the first illumination means that has transmitted at least the contents;
A second imaging unit provided on the opposite side of the second illuminating unit through the container film and capable of imaging light from the second illuminating unit that has transmitted at least the contents; The inspection apparatus according to claim 1 or 2.
請求項1乃至3のいずれか1項に記載の検査装置を備えることを特徴とするブリスタ包装機。   A blister packaging machine comprising the inspection device according to any one of claims 1 to 3.
JP2016038600A 2016-03-01 2016-03-01 Inspection device and blister packaging machine Active JP6444913B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016038600A JP6444913B2 (en) 2016-03-01 2016-03-01 Inspection device and blister packaging machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016038600A JP6444913B2 (en) 2016-03-01 2016-03-01 Inspection device and blister packaging machine

Publications (2)

Publication Number Publication Date
JP2017156183A JP2017156183A (en) 2017-09-07
JP6444913B2 true JP6444913B2 (en) 2018-12-26

Family

ID=59808549

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016038600A Active JP6444913B2 (en) 2016-03-01 2016-03-01 Inspection device and blister packaging machine

Country Status (1)

Country Link
JP (1) JP6444913B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6861678B2 (en) * 2018-10-18 2021-04-21 Ckd株式会社 Quality confirmation system and blister packaging system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070296963A1 (en) * 2004-05-20 2007-12-27 Sepha Limited Methods and Apparatus for Inspecting the Sealing and Integrity of Blister Packages
JP4666951B2 (en) * 2004-06-03 2011-04-06 シーケーディ株式会社 Blister packaging machine and pharmaceutical solid preparation
JP4793182B2 (en) * 2006-09-04 2011-10-12 富士ゼロックス株式会社 Image processing apparatus, inspection apparatus, and program
JP5352615B2 (en) * 2011-04-01 2013-11-27 Ckd株式会社 Tablet inspection device and PTP packaging machine
JP2014041048A (en) * 2012-08-22 2014-03-06 Sinfonia Technology Co Ltd Detection method and ic tag manufacturing apparatus

Also Published As

Publication number Publication date
JP2017156183A (en) 2017-09-07

Similar Documents

Publication Publication Date Title
US10926907B2 (en) PTP packaging machine
US10829251B2 (en) Inspection device and PTP packaging machine
JP6411599B1 (en) Blister packing machine
JP6298033B2 (en) Appearance inspection device
JP6450815B1 (en) Appearance inspection device and blister packaging machine
JP6613353B2 (en) Appearance inspection device and blister packaging machine
JP5697168B2 (en) Inspection device and PTP packaging machine
JP6062102B1 (en) Inspection device and PTP packaging machine
JP6046585B2 (en) Inspection device and PTP packaging machine
JP5993358B2 (en) Inspection device and PTP packaging machine
JP6453794B2 (en) Inspection device, blister packaging machine, PTP sheet manufacturing method and tablet
JP6444913B2 (en) Inspection device and blister packaging machine
JP4684172B2 (en) Appearance inspection apparatus and PTP sheet manufacturing apparatus
WO2021161619A1 (en) Inspection device, packaging sheet manufacturing device, and inspection method
JP4368813B2 (en) Inspection device and PTP packaging machine
JP2006208209A (en) Inspection device and ptp packing machine
WO2020230446A1 (en) Inspection device, packaging machine, and package inspection method
JP2019174172A (en) Inspection system and method for inspection

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170919

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180418

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180508

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: 20181127

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181128

R150 Certificate of patent or registration of utility model

Ref document number: 6444913

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150